@rotki/ui-library 1.0.0-beta.3 → 1.0.0-beta.4

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.
@@ -1,4 +1,4 @@
1
- import { I as u, H as s, R as e, a as R, b as o, J as t, c as r, d as l, u as d, v as n, e as p, f as c, K as T, r as b, t as S, D as g, g as m, h as x, _ as C, q as A, F as h, L as B, M as D, i as k, j as v, k as w, l as F, s as I, B as f, G, m as L, n as M, x as P, z as E, y as H, A as N, E as j, w as q, C as y, o as z, p as J } from "../RuiNavigationDrawer-CHxU4UGM.js";
1
+ import { I as u, H as s, R as e, a as R, b as o, J as t, c as r, d as l, u as d, v as n, e as p, f as c, K as T, r as b, t as S, D as g, g as m, h as x, _ as C, q as A, F as h, L as B, M as D, i as k, j as v, k as w, l as F, s as I, B as f, G, m as L, n as M, x as P, z as E, y as H, A as N, E as j, w as q, C as y, o as z, p as J } from "../RuiNavigationDrawer-DdMiKI77.js";
2
2
  export {
3
3
  u as RuiAccordion,
4
4
  s as RuiAccordions,
@@ -1,28 +1,37 @@
1
- export interface Props {
2
- modelValue?: number | string;
1
+ export interface Props<T> {
2
+ modelValue?: T;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
5
- modelValue: undefined;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
- modelValue: undefined;
8
- }>>>, {
9
- modelValue: string | number;
10
- }, {}>;
11
- export default _default;
12
- type __VLS_WithDefaults<P, D> = {
13
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
14
- default: D[K];
15
- }> : P[K];
4
+ declare const _default: <T extends string | number>(__VLS_props: {
5
+ "onUpdate:modelValue"?: ((modelValue: T | undefined) => any) | undefined;
6
+ modelValue?: Props<T>['modelValue'];
7
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
8
+ attrs: any;
9
+ emit: (evt: "update:modelValue", modelValue: T | undefined) => void;
10
+ slots: {};
11
+ } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
12
+ props: {
13
+ "onUpdate:modelValue"?: ((modelValue: T | undefined) => any) | undefined;
14
+ modelValue?: Props<T>['modelValue'];
15
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
16
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
17
+ attrs: any;
18
+ slots: {};
19
+ emit: (evt: "update:modelValue", modelValue: T | undefined) => void;
20
+ }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
+ [key: string]: any;
22
+ }> & {
23
+ __ctx?: {
24
+ props: {
25
+ "onUpdate:modelValue"?: ((modelValue: T | undefined) => any) | undefined;
26
+ modelValue?: Props<T>['modelValue'];
27
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
28
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
29
+ attrs: any;
30
+ slots: {};
31
+ emit: (evt: "update:modelValue", modelValue: T | undefined) => void;
32
+ } | undefined;
16
33
  };
34
+ export default _default;
17
35
  type __VLS_Prettify<T> = {
18
36
  [K in keyof T]: T[K];
19
37
  } & {};
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToOption<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { u as a, a as r } from "./index-NNlkUY_M.js";
2
2
  import { T as C } from "./index-NNlkUY_M.js";
3
- import { N as F, T as L } from "./RuiNavigationDrawer-CHxU4UGM.js";
4
- import { I as S, H as g, R as m, a as k, b as B, J as w, c as f, d as P, u as y, v as D, e as M, f as b, K as A, r as T, t as x, D as H, g as U, h as E, _ as v, q as G, F as I, L as W, M as V, i as O, j as N, k as z, l as K, s as q, B as Q, G as j, m as Z, n as X, x as J, z as Y, y as _, A as $, E as ii, w as li, C as ei, o as Ri, p as ni, S as oi } from "./RuiNavigationDrawer-CHxU4UGM.js";
3
+ import { N as F, T as L } from "./RuiNavigationDrawer-DdMiKI77.js";
4
+ import { I as S, H as g, R as m, a as k, b as B, J as w, c as f, d as P, u as y, v as D, e as M, f as b, K as A, r as T, t as x, D as H, g as U, h as E, _ as v, q as G, F as I, L as W, M as V, i as O, j as N, k as z, l as K, s as q, B as Q, G as j, m as Z, n as X, x as J, z as Y, y as _, A as $, E as ii, w as li, C as ei, o as Ri, p as ni, S as oi } from "./RuiNavigationDrawer-DdMiKI77.js";
5
5
  import { u as ri } from "./breakpoint-OTAceaTK.js";
6
6
  import { RuiIcons as Li, isRuiIcon as ti } from "./icons/index.es.js";
7
7
  import { c as di } from "./colors-D563Ic3q.js";