@rotki/ui-library 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.es.js +74 -74
- package/dist/icons/icons_1.d.ts +2 -2
- package/dist/icons/icons_1.es.js +953 -953
- package/dist/icons/icons_2.d.ts +2 -2
- package/dist/icons/icons_2.es.js +985 -985
- package/dist/icons/icons_3.d.ts +2 -2
- package/dist/icons/icons_3.es.js +1003 -1003
- package/dist/icons/icons_4.d.ts +2 -0
- package/dist/icons/icons_4.es.js +301 -293
- package/dist/icons/index.d.ts +1 -1
- package/dist/icons/index.es.js +1164 -1162
- package/dist/index.es.js +1163 -1161
- package/dist/style.css +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as re, computed as R, createElementBlock as g, openBlock as o, normalizeClass as _, Fragment as ke, renderList as Se, unref as e, createBlock as X, resolveDynamicComponent as Vt, mergeProps as oe, useCssVars as yt, ref as N, createCommentVNode as D, createElementVNode as z, createVNode as q, renderSlot as F, toRefs as Ce, useSlots as ht, watch as ve, normalizeProps as
|
|
1
|
+
import { defineComponent as re, computed as R, createElementBlock as g, openBlock as o, normalizeClass as _, Fragment as ke, renderList as Se, unref as e, createBlock as X, resolveDynamicComponent as Vt, mergeProps as oe, useCssVars as yt, ref as N, createCommentVNode as D, createElementVNode as z, createVNode as q, renderSlot as F, toRefs as Ce, useSlots as ht, watch as ve, normalizeProps as ze, guardReactiveProps as Re, toDisplayString as le, withCtx as ee, createTextVNode as qe, useCssModule as is, isVNode as Jt, mergeModels as Ne, useModel as we, inject as ds, withModifiers as Ve, TransitionGroup as cs, withKeys as Ze, Teleport as Nt, provide as Hs, createSlots as pt, onUnmounted as js, reactive as us, getCurrentInstance as ks, onMounted as kt, normalizeStyle as xe, toRef as lt, nextTick as ot, isRef as Ue, useTemplateRef as Ls, readonly as fs, withDirectives as Qt, vModelCheckbox as Ns, vModelSelect as Os, vModelText as ws, watchEffect as Ys, useSSRContext as Us, onServerPrefetch as qs, Transition as St, resolveComponent as Fs } from "vue";
|
|
2
2
|
import { isRuiIcon as Gs } from "../icons/index.es.js";
|
|
3
3
|
import { useElementSize as Ht, get as ce, isDefined as ne, set as $e, onClickOutside as As, whenever as ps, useClipboard as Ws, useElementBounding as Ms, useResizeObserver as jt, useFocus as Dt, refDebounced as Cs, useDebounceFn as os, useFocusWithin as Ft, syncRef as Ks, watchIgnorable as Js, useFetch as Qs, watchImmediate as $t, useScroll as Xs, watchTriggerable as ms } from "@vueuse/core";
|
|
4
4
|
import { get as t, set as v, objectOmit as Zs, clamp as Rt, objectPick as Ss, isClient as xs, throttleFilter as _s } from "@vueuse/shared";
|
|
@@ -160,7 +160,7 @@ const ma = ["height", "width"], _a = /* @__PURE__ */ re({
|
|
|
160
160
|
return ve([m, f], ([d, a]) => {
|
|
161
161
|
let h = d;
|
|
162
162
|
a && !Array.isArray(h) ? h = h === -1 ? [] : [h] : !a && Array.isArray(h) && (h = h[0] ?? -1), v(u, h);
|
|
163
|
-
}, { immediate: !0 }), (d, a) => (o(), g("div",
|
|
163
|
+
}, { immediate: !0 }), (d, a) => (o(), g("div", ze(Re(d.$attrs)), [
|
|
164
164
|
(o(!0), g(ke, null, Se(e(y), (h, A) => (o(), X(Vt(h), {
|
|
165
165
|
key: A,
|
|
166
166
|
onClick: (c) => l(A)
|
|
@@ -681,7 +681,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
681
681
|
}
|
|
682
682
|
]]),
|
|
683
683
|
disabled: !M.isInRange,
|
|
684
|
-
onClick:
|
|
684
|
+
onClick: Ve((B) => A(M), ["stop"])
|
|
685
685
|
}, le(M.dayNumber), 11, io))), 128))
|
|
686
686
|
])
|
|
687
687
|
]));
|
|
@@ -806,7 +806,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
806
806
|
return (Q, S) => {
|
|
807
807
|
var L;
|
|
808
808
|
return o(), g("div", {
|
|
809
|
-
onKeydown: S[4] || (S[4] = Ze(
|
|
809
|
+
onKeydown: S[4] || (S[4] = Ze(Ve((K) => j(), ["stop"]), ["esc"]))
|
|
810
810
|
}, [
|
|
811
811
|
z("div", {
|
|
812
812
|
ref_key: "activator",
|
|
@@ -814,7 +814,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
814
814
|
class: _([Q.$style.wrapper, Q.wrapperClass, { "w-full": Q.fullWidth }]),
|
|
815
815
|
"data-menu-disabled": e(y)
|
|
816
816
|
}, [
|
|
817
|
-
F(Q.$slots, "activator",
|
|
817
|
+
F(Q.$slots, "activator", ze(Re({ attrs: e(I), open: e(B), disabled: e(y), hasError: e(O), hasSuccess: e(x) })))
|
|
818
818
|
], 10, _o),
|
|
819
819
|
e(y) ? D("", !0) : (o(), X(Nt, {
|
|
820
820
|
key: 0,
|
|
@@ -849,7 +849,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
849
849
|
class: Q.$style.base,
|
|
850
850
|
role: "menu-content"
|
|
851
851
|
}, e(J)), [
|
|
852
|
-
F(Q.$slots, "default",
|
|
852
|
+
F(Q.$slots, "default", ze(Re({ width: e(U) })))
|
|
853
853
|
], 16)) : D("", !0)
|
|
854
854
|
]),
|
|
855
855
|
_: 3
|
|
@@ -992,7 +992,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
992
992
|
icon: "",
|
|
993
993
|
disabled: !e(ce)(c.value),
|
|
994
994
|
variant: "text",
|
|
995
|
-
onClick: $[0] || ($[0] =
|
|
995
|
+
onClick: $[0] || ($[0] = Ve((j) => ie(), ["stop"]))
|
|
996
996
|
}, {
|
|
997
997
|
default: ee(() => [
|
|
998
998
|
q(ue, {
|
|
@@ -1004,7 +1004,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
1004
1004
|
}, 8, ["disabled"]),
|
|
1005
1005
|
z("div", {
|
|
1006
1006
|
class: "flex-1 text-center cursor-pointer",
|
|
1007
|
-
onClick: $[1] || ($[1] =
|
|
1007
|
+
onClick: $[1] || ($[1] = Ve((j) => te(), ["stop"]))
|
|
1008
1008
|
}, le(e(ce)(h.value)), 1),
|
|
1009
1009
|
q(Me, {
|
|
1010
1010
|
type: "button",
|
|
@@ -1012,7 +1012,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
1012
1012
|
icon: "",
|
|
1013
1013
|
disabled: !e(ce)(A.value),
|
|
1014
1014
|
variant: "text",
|
|
1015
|
-
onClick: $[2] || ($[2] =
|
|
1015
|
+
onClick: $[2] || ($[2] = Ve((j) => T(), ["stop"]))
|
|
1016
1016
|
}, {
|
|
1017
1017
|
default: ee(() => [
|
|
1018
1018
|
q(ue, {
|
|
@@ -1036,7 +1036,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
1036
1036
|
}
|
|
1037
1037
|
]]),
|
|
1038
1038
|
disabled: !e(ce)(d.value)[V],
|
|
1039
|
-
onClick:
|
|
1039
|
+
onClick: Ve((J) => E(V), ["stop"])
|
|
1040
1040
|
}, le(j.substring(0, 3)), 11, So))), 128))
|
|
1041
1041
|
])) : f.value === "years" ? (o(), g("div", Vo, [
|
|
1042
1042
|
(o(!0), g(ke, null, Se(l.value, (j, V) => (o(), g("button", {
|
|
@@ -1051,7 +1051,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
1051
1051
|
}
|
|
1052
1052
|
]]),
|
|
1053
1053
|
disabled: !e(ce)(a.value)[V],
|
|
1054
|
-
onClick:
|
|
1054
|
+
onClick: Ve((J) => Z(j), ["stop"])
|
|
1055
1055
|
}, le(j), 11, zo))), 128))
|
|
1056
1056
|
])) : D("", !0)
|
|
1057
1057
|
])
|
|
@@ -1093,7 +1093,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
1093
1093
|
icon: "",
|
|
1094
1094
|
disabled: !y.value,
|
|
1095
1095
|
variant: "text",
|
|
1096
|
-
onClick: h[0] || (h[0] =
|
|
1096
|
+
onClick: h[0] || (h[0] = Ve((A) => m("prev-month"), ["stop"]))
|
|
1097
1097
|
}, {
|
|
1098
1098
|
default: ee(() => [
|
|
1099
1099
|
q(ue, {
|
|
@@ -1105,7 +1105,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
1105
1105
|
}, 8, ["disabled"]),
|
|
1106
1106
|
z("h3", {
|
|
1107
1107
|
class: "header-title",
|
|
1108
|
-
onClick: h[1] || (h[1] =
|
|
1108
|
+
onClick: h[1] || (h[1] = Ve((A) => l(A), ["stop"]))
|
|
1109
1109
|
}, [
|
|
1110
1110
|
qe(le(a.title) + " ", 1),
|
|
1111
1111
|
q(ue, {
|
|
@@ -1128,7 +1128,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
1128
1128
|
variant: "text",
|
|
1129
1129
|
icon: "",
|
|
1130
1130
|
disabled: !p.value,
|
|
1131
|
-
onClick: h[4] || (h[4] =
|
|
1131
|
+
onClick: h[4] || (h[4] = Ve((A) => m("next-month"), ["stop"]))
|
|
1132
1132
|
}, {
|
|
1133
1133
|
default: ee(() => [
|
|
1134
1134
|
q(ue, {
|
|
@@ -1413,7 +1413,7 @@ const oo = { class: "calendar-grid" }, lo = { class: "calendar-weekdays" }, ro =
|
|
|
1413
1413
|
class: _(d.$style.chip__close),
|
|
1414
1414
|
disabled: e(f),
|
|
1415
1415
|
type: "button",
|
|
1416
|
-
onClick: a[0] || (a[0] =
|
|
1416
|
+
onClick: a[0] || (a[0] = Ve((h) => r("click:close"), ["stop"]))
|
|
1417
1417
|
}, [
|
|
1418
1418
|
q(ue, {
|
|
1419
1419
|
class: _(d.$style.chip__close_icon),
|
|
@@ -1930,7 +1930,7 @@ const jl = /* @__PURE__ */ re({
|
|
|
1930
1930
|
return (V = t(B)) == null ? void 0 : V.focus();
|
|
1931
1931
|
},
|
|
1932
1932
|
element: B
|
|
1933
|
-
}), (V, J) => (o(), g("div",
|
|
1933
|
+
}), (V, J) => (o(), g("div", ze(Re(e(ft)(V.$attrs))), [
|
|
1934
1934
|
z("div", {
|
|
1935
1935
|
class: _([
|
|
1936
1936
|
V.$style.wrapper,
|
|
@@ -2009,7 +2009,7 @@ const jl = /* @__PURE__ */ re({
|
|
|
2009
2009
|
icon: "",
|
|
2010
2010
|
color: "error",
|
|
2011
2011
|
tabindex: "-1",
|
|
2012
|
-
onClick: J[4] || (J[4] =
|
|
2012
|
+
onClick: J[4] || (J[4] = Ve((I) => j(), ["stop"]))
|
|
2013
2013
|
}, {
|
|
2014
2014
|
default: ee(() => [
|
|
2015
2015
|
q(ue, {
|
|
@@ -2873,7 +2873,7 @@ const jl = /* @__PURE__ */ re({
|
|
|
2873
2873
|
emits: ["update:modelValue", "update:searchInput"],
|
|
2874
2874
|
setup(b, { expose: n }) {
|
|
2875
2875
|
yt((H) => ({
|
|
2876
|
-
"
|
|
2876
|
+
"20b9ced9": e(dt)
|
|
2877
2877
|
}));
|
|
2878
2878
|
const s = we(b, "modelValue"), r = we(b, "searchInput"), m = b, f = ht(), { dense: u, disabled: p, options: y } = Ce(m), { getText: l, getIdentifier: d } = ta({
|
|
2879
2879
|
keyAttr: m.keyAttr,
|
|
@@ -2924,7 +2924,7 @@ const jl = /* @__PURE__ */ re({
|
|
|
2924
2924
|
isActiveItem: L,
|
|
2925
2925
|
itemIndexInValue: K,
|
|
2926
2926
|
highlightedIndex: _e,
|
|
2927
|
-
moveHighlight:
|
|
2927
|
+
moveHighlight: De,
|
|
2928
2928
|
applyHighlighted: Be,
|
|
2929
2929
|
optionsWithSelectedHidden: Ee
|
|
2930
2930
|
} = Rs({
|
|
@@ -3094,7 +3094,7 @@ const jl = /* @__PURE__ */ re({
|
|
|
3094
3094
|
disabled: e(p)
|
|
3095
3095
|
}), {
|
|
3096
3096
|
activator: ee(({ attrs: Ye, open: Te, hasError: Qe, hasSuccess: mt }) => [
|
|
3097
|
-
F(H.$slots, "activator",
|
|
3097
|
+
F(H.$slots, "activator", ze(Re({ disabled: e(p), value: e(V), variant: H.variant, readOnly: H.readOnly, attrs: Ye, open: Te, hasError: Qe, hasSuccess: mt })), () => [
|
|
3098
3098
|
z("div", oe(
|
|
3099
3099
|
{
|
|
3100
3100
|
ref_key: "activator",
|
|
@@ -3129,8 +3129,8 @@ const jl = /* @__PURE__ */ re({
|
|
|
3129
3129
|
se[8] || (se[8] = Ze((i) => e(ge)(i), ["tab"])),
|
|
3130
3130
|
se[9] || (se[9] = Ze((i) => e(He)(i, !1), ["left"])),
|
|
3131
3131
|
se[10] || (se[10] = Ze((i) => e(He)(i, !0), ["right"])),
|
|
3132
|
-
se[11] || (se[11] = Ze(
|
|
3133
|
-
se[12] || (se[12] = Ze(
|
|
3132
|
+
se[11] || (se[11] = Ze(Ve((i) => e(De)(!0), ["prevent"]), ["up"])),
|
|
3133
|
+
se[12] || (se[12] = Ze(Ve((i) => e(De)(!1), ["prevent"]), ["down"]))
|
|
3134
3134
|
]
|
|
3135
3135
|
}
|
|
3136
3136
|
), [
|
|
@@ -3144,7 +3144,7 @@ const jl = /* @__PURE__ */ re({
|
|
|
3144
3144
|
}
|
|
3145
3145
|
])
|
|
3146
3146
|
}, [
|
|
3147
|
-
F(H.$slots, "activator.label",
|
|
3147
|
+
F(H.$slots, "activator.label", ze(Re({ value: e(V) })), () => [
|
|
3148
3148
|
qe(le(H.label), 1)
|
|
3149
3149
|
])
|
|
3150
3150
|
], 2)) : D("", !0),
|
|
@@ -3190,7 +3190,7 @@ const jl = /* @__PURE__ */ re({
|
|
|
3190
3190
|
type: "text",
|
|
3191
3191
|
placeholder: H.placeholder,
|
|
3192
3192
|
onKeydown: se[0] || (se[0] = Ze((i) => e(pe)(), ["delete"])),
|
|
3193
|
-
onInput: se[1] || (se[1] = (i) => It(i)),
|
|
3193
|
+
onInput: se[1] || (se[1] = Ve((i) => It(i), ["stop"])),
|
|
3194
3194
|
onFocus: se[2] || (se[2] = (i) => e(Fe)())
|
|
3195
3195
|
}, null, 42, Qr)
|
|
3196
3196
|
], 2),
|
|
@@ -3204,7 +3204,7 @@ const jl = /* @__PURE__ */ re({
|
|
|
3204
3204
|
class: _(["group-hover:!visible", [H.$style.clear, e(Ae) && "!visible", {
|
|
3205
3205
|
"mr-2": !e(u)
|
|
3206
3206
|
}]]),
|
|
3207
|
-
onClick: se[3] || (se[3] =
|
|
3207
|
+
onClick: se[3] || (se[3] = Ve((i) => G(), ["stop", "prevent"]))
|
|
3208
3208
|
}, {
|
|
3209
3209
|
default: ee(() => [
|
|
3210
3210
|
q(ue, {
|
|
@@ -3255,8 +3255,8 @@ const jl = /* @__PURE__ */ re({
|
|
|
3255
3255
|
onScroll: se[13] || (se[13] = //@ts-ignore
|
|
3256
3256
|
(...Te) => e(I).onScroll && e(I).onScroll(...Te)),
|
|
3257
3257
|
onKeydown: [
|
|
3258
|
-
se[14] || (se[14] = Ze(
|
|
3259
|
-
se[15] || (se[15] = Ze(
|
|
3258
|
+
se[14] || (se[14] = Ze(Ve((Te) => e(De)(!0), ["prevent"]), ["up"])),
|
|
3259
|
+
se[15] || (se[15] = Ze(Ve((Te) => e(De)(!1), ["prevent"]), ["down"]))
|
|
3260
3260
|
]
|
|
3261
3261
|
}), [
|
|
3262
3262
|
z("div", oe(e(O), {
|
|
@@ -3407,10 +3407,10 @@ const jl = /* @__PURE__ */ re({
|
|
|
3407
3407
|
}), te = R(() => {
|
|
3408
3408
|
if (!ne(M))
|
|
3409
3409
|
return {};
|
|
3410
|
-
const S = "38%", L = t(M), K = y[t(u)],
|
|
3410
|
+
const S = "38%", L = t(M), K = y[t(u)], De = L * (Pt / K) * Math.PI / 180, Be = 50 + parseFloat(S) * Math.cos(De - Math.PI / 2);
|
|
3411
3411
|
return {
|
|
3412
3412
|
position: "absolute",
|
|
3413
|
-
top: `${50 + parseFloat(S) * Math.sin(
|
|
3413
|
+
top: `${50 + parseFloat(S) * Math.sin(De - Math.PI / 2)}%`,
|
|
3414
3414
|
left: `${Be}%`,
|
|
3415
3415
|
width: "10px",
|
|
3416
3416
|
height: "10px",
|
|
@@ -3444,9 +3444,9 @@ const jl = /* @__PURE__ */ re({
|
|
|
3444
3444
|
return S !== void 0 ? S.toString().padStart(L, "0") : "-".repeat(L);
|
|
3445
3445
|
}
|
|
3446
3446
|
function V(S) {
|
|
3447
|
-
const L = "38%", K = y[t(u)],
|
|
3447
|
+
const L = "38%", K = y[t(u)], De = (S * (Pt / K) - 90) * Math.PI / 180, Be = 50 + parseFloat(L) * Math.cos(De);
|
|
3448
3448
|
return {
|
|
3449
|
-
top: `${50 + parseFloat(L) * Math.sin(
|
|
3449
|
+
top: `${50 + parseFloat(L) * Math.sin(De)}%`,
|
|
3450
3450
|
left: `${Be}%`,
|
|
3451
3451
|
transform: "translate(-50%, -50%)"
|
|
3452
3452
|
};
|
|
@@ -3470,7 +3470,7 @@ const jl = /* @__PURE__ */ re({
|
|
|
3470
3470
|
const L = (_e) => {
|
|
3471
3471
|
if (!t(d) || !ne(a))
|
|
3472
3472
|
return;
|
|
3473
|
-
const
|
|
3473
|
+
const De = t(a).getBoundingClientRect(), Be = De.left + De.width / 2, Ee = De.top + De.height / 2;
|
|
3474
3474
|
let Ie, He;
|
|
3475
3475
|
"touches" in _e ? (Ie = _e.touches[0].clientX, He = _e.touches[0].clientY) : (Ie = _e.clientX, He = _e.clientY);
|
|
3476
3476
|
const de = Ie - Be, pe = He - Ee;
|
|
@@ -3836,7 +3836,7 @@ function ji(b) {
|
|
|
3836
3836
|
YYYY: { maxValue: 9999 }
|
|
3837
3837
|
}, K = Q.type;
|
|
3838
3838
|
if (gs(K)) {
|
|
3839
|
-
const _e = L[K],
|
|
3839
|
+
const _e = L[K], De = t(s) ?? "", Be = parseInt(`${De}${O}`), Ee = parseInt(`${De}${O}0`), Ie = K.length, He = K === "MM" ? Be - 1 : Be;
|
|
3840
3840
|
He <= _e.maxValue && (l(K, Be), c(Q));
|
|
3841
3841
|
const de = Ee > _e.maxValue, pe = He.toString().length >= Ie;
|
|
3842
3842
|
(de || pe) && C("ArrowRight");
|
|
@@ -3975,7 +3975,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
3975
3975
|
handleInputSelection: L,
|
|
3976
3976
|
handleKeyDown: K,
|
|
3977
3977
|
handlePaste: _e,
|
|
3978
|
-
setSegment:
|
|
3978
|
+
setSegment: De
|
|
3979
3979
|
} = ji({
|
|
3980
3980
|
currentValue: w,
|
|
3981
3981
|
cursorPosition: f,
|
|
@@ -4034,7 +4034,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
4034
4034
|
},
|
|
4035
4035
|
set(k) {
|
|
4036
4036
|
let G = "HH";
|
|
4037
|
-
k === "minute" ? G = "mm" : k === "second" ? G = "ss" : k === "millisecond" && (G = "SSS"),
|
|
4037
|
+
k === "minute" ? G = "mm" : k === "second" ? G = "ss" : k === "millisecond" && (G = "SSS"), De(G);
|
|
4038
4038
|
}
|
|
4039
4039
|
}), be = Ot(Bt(m, de, T), ge), Ke = R(() => {
|
|
4040
4040
|
let k;
|
|
@@ -4220,7 +4220,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
4220
4220
|
class: _(["group-hover:!visible", [k.$style.clear, e(Ee) && "!visible", {
|
|
4221
4221
|
"mr-2": !k.dense
|
|
4222
4222
|
}]]),
|
|
4223
|
-
onClick: G[6] || (G[6] =
|
|
4223
|
+
onClick: G[6] || (G[6] = Ve((se) => e(I)(), ["stop", "prevent"]))
|
|
4224
4224
|
}, {
|
|
4225
4225
|
default: ee(() => [
|
|
4226
4226
|
q(ue, {
|
|
@@ -4359,7 +4359,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
4359
4359
|
}), ve(d, (c) => {
|
|
4360
4360
|
const w = t(l);
|
|
4361
4361
|
w && w.checked !== c && (w.checked = c);
|
|
4362
|
-
}), (c, w) => (o(), g("div",
|
|
4362
|
+
}), (c, w) => (o(), g("div", ze(Re(e(ft)(c.$attrs))), [
|
|
4363
4363
|
z("label", oe({
|
|
4364
4364
|
class: [
|
|
4365
4365
|
c.$style.wrapper,
|
|
@@ -4478,7 +4478,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
4478
4478
|
const f = ((u = r.default) == null ? void 0 : u.call(r)) ?? [];
|
|
4479
4479
|
return f.length === 1 && f[0].type === ke ? Array.isArray(f[0].children) ? f[0].children.filter(Jt) : [] : f;
|
|
4480
4480
|
});
|
|
4481
|
-
return (f, u) => (o(), g("div",
|
|
4481
|
+
return (f, u) => (o(), g("div", ze(Re(f.$attrs)), [
|
|
4482
4482
|
f.label ? (o(), g("div", Sd, le(f.label), 1)) : D("", !0),
|
|
4483
4483
|
z("div", {
|
|
4484
4484
|
class: _([f.$style.wrapper, { [f.$style.wrapper__inline]: f.inline }])
|
|
@@ -4534,7 +4534,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
4534
4534
|
f,
|
|
4535
4535
|
m
|
|
4536
4536
|
);
|
|
4537
|
-
return (a, h) => (o(), g("div",
|
|
4537
|
+
return (a, h) => (o(), g("div", ze(Re(e(ft)(a.$attrs))), [
|
|
4538
4538
|
z("label", {
|
|
4539
4539
|
class: _([
|
|
4540
4540
|
a.$style.wrapper,
|
|
@@ -4778,7 +4778,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
4778
4778
|
disabled: $.disabled
|
|
4779
4779
|
}), {
|
|
4780
4780
|
activator: ee(({ attrs: V, open: J, hasError: I, hasSuccess: O }) => [
|
|
4781
|
-
F($.$slots, "activator",
|
|
4781
|
+
F($.$slots, "activator", ze(Re({ disabled: $.disabled, value: e(y), variant: $.variant, readOnly: $.readOnly, attrs: V, open: J, hasError: I, hasSuccess: O })), () => [
|
|
4782
4782
|
z("button", oe({
|
|
4783
4783
|
ref_key: "activator",
|
|
4784
4784
|
ref: u,
|
|
@@ -4804,8 +4804,8 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
4804
4804
|
}, { ...("getNonRootAttrs" in $ ? $.getNonRootAttrs : e(gt))($.$attrs), ...$.readOnly ? {} : V }, {
|
|
4805
4805
|
"data-id": "activator",
|
|
4806
4806
|
onKeydown: [
|
|
4807
|
-
j[1] || (j[1] = Ze(
|
|
4808
|
-
j[2] || (j[2] = Ze(
|
|
4807
|
+
j[1] || (j[1] = Ze(Ve((x) => e(W)(!0), ["prevent"]), ["up"])),
|
|
4808
|
+
j[2] || (j[2] = Ze(Ve((x) => e(W)(!1), ["prevent"]), ["down"]))
|
|
4809
4809
|
]
|
|
4810
4810
|
}), [
|
|
4811
4811
|
e(E) || !e(y) ? (o(), g("span", {
|
|
@@ -4818,7 +4818,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
4818
4818
|
}
|
|
4819
4819
|
])
|
|
4820
4820
|
}, [
|
|
4821
|
-
F($.$slots, "activator.label",
|
|
4821
|
+
F($.$slots, "activator.label", ze(Re({ value: e(y) })), () => [
|
|
4822
4822
|
qe(le($.label), 1)
|
|
4823
4823
|
])
|
|
4824
4824
|
], 2)) : D("", !0),
|
|
@@ -4826,15 +4826,15 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
4826
4826
|
key: 1,
|
|
4827
4827
|
class: _(["w-full", $.$style.value])
|
|
4828
4828
|
}, [
|
|
4829
|
-
F($.$slots, "selection.prepend",
|
|
4830
|
-
F($.$slots, "selection",
|
|
4829
|
+
F($.$slots, "selection.prepend", ze(Re({ item: e(y) }))),
|
|
4830
|
+
F($.$slots, "selection", ze(Re({ item: e(y) })), () => [
|
|
4831
4831
|
qe(le(e(w)(e(y))), 1)
|
|
4832
4832
|
])
|
|
4833
4833
|
], 2)) : D("", !0),
|
|
4834
4834
|
$.clearable && e(y) && !$.disabled ? (o(), g("span", {
|
|
4835
4835
|
key: 2,
|
|
4836
4836
|
class: _(["group-hover:!visible", [$.$style.clear, e(p) && "!visible"]]),
|
|
4837
|
-
onClick: j[0] || (j[0] =
|
|
4837
|
+
onClick: j[0] || (j[0] = Ve((x) => U(), ["stop", "prevent"]))
|
|
4838
4838
|
}, [
|
|
4839
4839
|
q(ue, {
|
|
4840
4840
|
color: "error",
|
|
@@ -4883,8 +4883,8 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
4883
4883
|
onScroll: j[3] || (j[3] = //@ts-ignore
|
|
4884
4884
|
(...J) => e(d).onScroll && e(d).onScroll(...J)),
|
|
4885
4885
|
onKeydown: [
|
|
4886
|
-
j[4] || (j[4] = Ze(
|
|
4887
|
-
j[5] || (j[5] = Ze(
|
|
4886
|
+
j[4] || (j[4] = Ze(Ve((J) => e(W)(!0), ["prevent"]), ["up"])),
|
|
4887
|
+
j[5] || (j[5] = Ze(Ve((J) => e(W)(!1), ["prevent"]), ["down"]))
|
|
4888
4888
|
]
|
|
4889
4889
|
}), [
|
|
4890
4890
|
z("div", oe(e(a), {
|
|
@@ -5059,7 +5059,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5059
5059
|
y,
|
|
5060
5060
|
l
|
|
5061
5061
|
), B = N(), { width: C, height: W } = Ms(B), te = R(() => `${t(C)}px`), E = R(() => `${t(W)}px`), Z = R(() => `${t(a)}px`);
|
|
5062
|
-
return (T, ie) => (o(), g("div",
|
|
5062
|
+
return (T, ie) => (o(), g("div", ze(Re(e(ft)(T.$attrs))), [
|
|
5063
5063
|
z("label", {
|
|
5064
5064
|
class: _([
|
|
5065
5065
|
T.$style.wrapper,
|
|
@@ -5202,7 +5202,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5202
5202
|
u,
|
|
5203
5203
|
p
|
|
5204
5204
|
);
|
|
5205
|
-
return (a, h) => (o(), g("div",
|
|
5205
|
+
return (a, h) => (o(), g("div", ze(Re(e(ft)(a.$attrs))), [
|
|
5206
5206
|
z("label", {
|
|
5207
5207
|
class: _([
|
|
5208
5208
|
a.$style.wrapper,
|
|
@@ -5348,16 +5348,16 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5348
5348
|
function O(S, L) {
|
|
5349
5349
|
if (!t(u))
|
|
5350
5350
|
return;
|
|
5351
|
-
const K = t(C), _e = S ?? t(s),
|
|
5352
|
-
K &&
|
|
5351
|
+
const K = t(C), _e = S ?? t(s), De = t(W);
|
|
5352
|
+
K && De && ot(() => {
|
|
5353
5353
|
K.style.minHeight = t(Z).minHeight;
|
|
5354
|
-
const Be =
|
|
5354
|
+
const Be = De.scrollHeight, Ee = K.scrollHeight;
|
|
5355
5355
|
let Ie = `${Math.max(Be, Ee) / 16}rem`;
|
|
5356
5356
|
L && L.length > _e.length && (Ie = `${Math.min(Be, Ee) / 16}rem`), K.style.height = Ie;
|
|
5357
5357
|
});
|
|
5358
5358
|
}
|
|
5359
5359
|
const { focused: x } = Dt(C), Q = Cs(x, 500);
|
|
5360
|
-
return ve(s, O), kt(O), (S, L) => (o(), g("div",
|
|
5360
|
+
return ve(s, O), kt(O), (S, L) => (o(), g("div", ze(Re(("getRootAttrs" in S ? S.getRootAttrs : e(ft))(S.$attrs))), [
|
|
5361
5361
|
z("div", {
|
|
5362
5362
|
class: _([
|
|
5363
5363
|
e(te).wrapper,
|
|
@@ -5436,7 +5436,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5436
5436
|
icon: "",
|
|
5437
5437
|
color: "error",
|
|
5438
5438
|
tabindex: "-1",
|
|
5439
|
-
onClick: L[1] || (L[1] =
|
|
5439
|
+
onClick: L[1] || (L[1] = Ve((K) => I(), ["stop"]))
|
|
5440
5440
|
}, {
|
|
5441
5441
|
default: ee(() => [
|
|
5442
5442
|
q(ue, {
|
|
@@ -5835,8 +5835,8 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5835
5835
|
function B() {
|
|
5836
5836
|
s.persistent || a(), r("click:outside");
|
|
5837
5837
|
}
|
|
5838
|
-
return (C, W) => (o(), g("div",
|
|
5839
|
-
F(C.$slots, "activator",
|
|
5838
|
+
return (C, W) => (o(), g("div", ze(Re(("getRootAttrs" in C ? C.getRootAttrs : e(ft))(C.$attrs))), [
|
|
5839
|
+
F(C.$slots, "activator", ze(Re({ attrs: e(c), isOpen: e(l) }))),
|
|
5840
5840
|
(o(), X(Nt, { to: "body" }, [
|
|
5841
5841
|
e(l) || e(y) ? (o(), g("div", oe({
|
|
5842
5842
|
key: 0,
|
|
@@ -5845,7 +5845,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5845
5845
|
role: "dialog",
|
|
5846
5846
|
tabindex: "0"
|
|
5847
5847
|
}, ("getNonRootAttrs" in C ? C.getNonRootAttrs : e(gt))(C.$attrs), {
|
|
5848
|
-
onKeydown: W[1] || (W[1] = Ze(
|
|
5848
|
+
onKeydown: W[1] || (W[1] = Ze(Ve((te) => M(), ["stop"]), ["esc"]))
|
|
5849
5849
|
}), [
|
|
5850
5850
|
q(St, {
|
|
5851
5851
|
"enter-from-class": "opacity-0",
|
|
@@ -5859,12 +5859,12 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5859
5859
|
e(l) && e(y) ? (o(), g("div", {
|
|
5860
5860
|
key: 0,
|
|
5861
5861
|
class: _(C.$style.overlay),
|
|
5862
|
-
onClick: W[0] || (W[0] =
|
|
5862
|
+
onClick: W[0] || (W[0] = Ve((te) => B(), ["stop"]))
|
|
5863
5863
|
}, null, 2)) : D("", !0)
|
|
5864
5864
|
]),
|
|
5865
5865
|
_: 1
|
|
5866
5866
|
}),
|
|
5867
|
-
q(St,
|
|
5867
|
+
q(St, ze(Re(e(w))), {
|
|
5868
5868
|
default: ee(() => [
|
|
5869
5869
|
e(l) && e(y) ? (o(), g("div", {
|
|
5870
5870
|
key: 0,
|
|
@@ -5874,7 +5874,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5874
5874
|
tabindex: "0",
|
|
5875
5875
|
class: _([C.$style.content, C.contentClass, { [C.$style.center]: !e(p) }])
|
|
5876
5876
|
}, [
|
|
5877
|
-
F(C.$slots, "default",
|
|
5877
|
+
F(C.$slots, "default", ze(Re({ isOpen: e(l), close: a })))
|
|
5878
5878
|
], 6)) : D("", !0)
|
|
5879
5879
|
]),
|
|
5880
5880
|
_: 3
|
|
@@ -5906,7 +5906,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5906
5906
|
Se(Object.keys(s.$slots), (m) => ({
|
|
5907
5907
|
name: m,
|
|
5908
5908
|
fn: ee((f) => [
|
|
5909
|
-
F(s.$slots, m,
|
|
5909
|
+
F(s.$slots, m, ze(Re(f)))
|
|
5910
5910
|
])
|
|
5911
5911
|
}))
|
|
5912
5912
|
]), 1040));
|
|
@@ -5960,7 +5960,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5960
5960
|
}
|
|
5961
5961
|
}));
|
|
5962
5962
|
return (c, w) => (o(), g("div", null, [
|
|
5963
|
-
F(c.$slots, "activator",
|
|
5963
|
+
F(c.$slots, "activator", ze(Re({ open: l.value, attrs: e(A) }))),
|
|
5964
5964
|
(o(), X(Nt, { to: "body" }, [
|
|
5965
5965
|
c.overlay ? (o(), X(St, {
|
|
5966
5966
|
key: 0,
|
|
@@ -5975,7 +5975,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5975
5975
|
l.value ? (o(), g("div", {
|
|
5976
5976
|
key: 0,
|
|
5977
5977
|
class: _(c.$style.overlay),
|
|
5978
|
-
onClick: w[0] || (w[0] =
|
|
5978
|
+
onClick: w[0] || (w[0] = Ve((M) => d(), ["stop"]))
|
|
5979
5979
|
}, null, 2)) : D("", !0)
|
|
5980
5980
|
]),
|
|
5981
5981
|
_: 1
|
|
@@ -5996,7 +5996,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
5996
5996
|
}
|
|
5997
5997
|
]
|
|
5998
5998
|
}, e(ft)(c.$attrs)), [
|
|
5999
|
-
F(c.$slots, "default",
|
|
5999
|
+
F(c.$slots, "default", ze(Re({ attrs: e(A), close: d })))
|
|
6000
6000
|
], 16)
|
|
6001
6001
|
]))
|
|
6002
6002
|
]));
|
|
@@ -6965,12 +6965,12 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
6965
6965
|
}
|
|
6966
6966
|
]), ae[ye].push(Y), ae;
|
|
6967
6967
|
}, {});
|
|
6968
|
-
}),
|
|
6968
|
+
}), De = R(() => {
|
|
6969
6969
|
const i = t(K);
|
|
6970
6970
|
return t(Z) ? Object.values(t(_e)).flatMap((ae) => ae) : i;
|
|
6971
6971
|
}), Be = R(() => {
|
|
6972
6972
|
var Y;
|
|
6973
|
-
const i = t(
|
|
6973
|
+
const i = t(De), P = t(x), ae = P.limit;
|
|
6974
6974
|
if (P && !((Y = s.paginationModifiers) != null && Y.external)) {
|
|
6975
6975
|
const he = (P.page - 1) * ae, ye = he + ae, Xe = i.slice(0, he + 1).filter((We) => !h(We)), Ct = i.slice(he + 1, ye + Xe.length).filter((We) => !h(We)), nt = i.slice(he + Xe.length, ye + Xe.length + Ct.length), ut = Xe.at(-1);
|
|
6976
6976
|
if (nt.length > 0) {
|
|
@@ -7227,7 +7227,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
7227
7227
|
Se(e(C), (Y) => ({
|
|
7228
7228
|
name: Y,
|
|
7229
7229
|
fn: ee((he) => [
|
|
7230
|
-
F(i.$slots, Y,
|
|
7230
|
+
F(i.$slots, Y, ze(Re(he)))
|
|
7231
7231
|
])
|
|
7232
7232
|
}))
|
|
7233
7233
|
]), 1032, ["loading", "indeterminate", "capitalize-headers", "colspan", "column-attr", "columns", "dense", "disable-check-all", "is-all-selected", "no-data", "selectable", "sort-data", "sorted-map", "stick", "sticky-header"]),
|
|
@@ -7249,7 +7249,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
7249
7249
|
Se(e(C), (Y) => ({
|
|
7250
7250
|
name: Y,
|
|
7251
7251
|
fn: ee((he) => [
|
|
7252
|
-
F(i.$slots, Y,
|
|
7252
|
+
F(i.$slots, Y, ze(Re(he)))
|
|
7253
7253
|
])
|
|
7254
7254
|
}))
|
|
7255
7255
|
]), 1032, ["loading", "capitalize-headers", "colspan", "column-attr", "columns", "dense", "no-data", "selectable", "sort-data", "sorted-map"])) : D("", !0),
|
|
@@ -7669,7 +7669,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
7669
7669
|
Se(m, (E, Z) => ({
|
|
7670
7670
|
name: Z,
|
|
7671
7671
|
fn: ee((T) => [
|
|
7672
|
-
F(C.$slots, Z,
|
|
7672
|
+
F(C.$slots, Z, ze(Re(T)))
|
|
7673
7673
|
])
|
|
7674
7674
|
}))
|
|
7675
7675
|
]), 1040, ["class"])) : C.link ? (o(), X(te, {
|
|
@@ -7701,7 +7701,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
7701
7701
|
Se(m, (U, $) => ({
|
|
7702
7702
|
name: $,
|
|
7703
7703
|
fn: ee((j) => [
|
|
7704
|
-
F(C.$slots, $,
|
|
7704
|
+
F(C.$slots, $, ze(Re(j)))
|
|
7705
7705
|
])
|
|
7706
7706
|
}))
|
|
7707
7707
|
]), 1040, ["class", "color", "href", "target", "onClick"])
|
|
@@ -7719,7 +7719,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
7719
7719
|
Se(m, (E, Z) => ({
|
|
7720
7720
|
name: Z,
|
|
7721
7721
|
fn: ee((T) => [
|
|
7722
|
-
F(C.$slots, Z,
|
|
7722
|
+
F(C.$slots, Z, ze(Re(T)))
|
|
7723
7723
|
])
|
|
7724
7724
|
}))
|
|
7725
7725
|
]), 1040, ["class", "color"]));
|
|
@@ -7843,7 +7843,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
7843
7843
|
{
|
|
7844
7844
|
eventFilter: _s(50)
|
|
7845
7845
|
}
|
|
7846
|
-
), { trigger: _e, stop:
|
|
7846
|
+
), { trigger: _e, stop: De } = ms(
|
|
7847
7847
|
[j, U],
|
|
7848
7848
|
([de, pe]) => {
|
|
7849
7849
|
pe > 0 && v(c, de > pe);
|
|
@@ -7853,7 +7853,7 @@ const Li = ["tabindex"], Ni = ["disabled", "value", "placeholder", "readonly"],
|
|
|
7853
7853
|
}
|
|
7854
7854
|
);
|
|
7855
7855
|
$t(y, (de) => {
|
|
7856
|
-
de ? (_e(), K()) : (L(),
|
|
7856
|
+
de ? (_e(), K()) : (L(), De());
|
|
7857
7857
|
});
|
|
7858
7858
|
const Be = R(() => t(y) ? t(O) : t(Q)), Ee = R(() => t(y) ? t(x) : t(S));
|
|
7859
7859
|
function Ie() {
|
package/dist/icons/icons_1.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export declare const LuDropletTrendingDown: GeneratedIcon;
|
|
|
26
26
|
export declare const LuEvmAccounts: GeneratedIcon;
|
|
27
27
|
export declare const LuExport: GeneratedIcon;
|
|
28
28
|
export declare const LuEyeSemiOff: GeneratedIcon;
|
|
29
|
+
export declare const LuFolderShrink1: GeneratedIcon;
|
|
30
|
+
export declare const LuFolderShrink2: GeneratedIcon;
|
|
29
31
|
export declare const LuHistoricPrices: GeneratedIcon;
|
|
30
32
|
export declare const LuHistoryEventsFill: GeneratedIcon;
|
|
31
33
|
export declare const LuLatestPrices: GeneratedIcon;
|
|
@@ -497,5 +499,3 @@ export declare const LuCompass: GeneratedIcon;
|
|
|
497
499
|
export declare const LuComponent: GeneratedIcon;
|
|
498
500
|
export declare const LuComputer: GeneratedIcon;
|
|
499
501
|
export declare const LuConciergeBell: GeneratedIcon;
|
|
500
|
-
export declare const LuCone: GeneratedIcon;
|
|
501
|
-
export declare const LuConstruction: GeneratedIcon;
|