@v1nt1248/3nclient-lib 0.1.17 → 0.1.18
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/README.md +22 -6
- package/dist/components/ui3n-badge/ui3n-badge-simple.vue.d.ts +5 -32
- package/dist/components/ui3n-badge/ui3n-badge.vue.d.ts +2 -31
- package/dist/components/ui3n-breadcrumbs/ui3n-breadcrumb.vue.d.ts +5 -30
- package/dist/components/ui3n-breadcrumbs/ui3n-breadcrumbs.vue.d.ts +2 -25
- package/dist/components/ui3n-button/ui3n-button.vue.d.ts +10 -37
- package/dist/components/ui3n-checkbox/ui3n-checkbox.vue.d.ts +6 -39
- package/dist/components/ui3n-chip/ui3n-chip.vue.d.ts +5 -40
- package/dist/components/ui3n-dialog/ui3n-dialog.vue.d.ts +8 -8
- package/dist/components/ui3n-drop-files/ui3n-drop-files.vue.d.ts +5 -30
- package/dist/components/ui3n-emoji/ui3n-emoji.vue.d.ts +5 -28
- package/dist/components/ui3n-icon/types.d.ts +1 -4
- package/dist/components/ui3n-icon/ui3n-icon.vue.d.ts +6 -35
- package/dist/components/ui3n-input/ui3n-input.vue.d.ts +13 -22
- package/dist/components/ui3n-list/ui3n-list.vue.d.ts +3 -3
- package/dist/components/ui3n-menu/ui3n-menu.vue.d.ts +9 -40
- package/dist/components/ui3n-notification/ui3n-notification.vue.d.ts +2 -33
- package/dist/components/ui3n-progress/ui3n-progress-circular.vue.d.ts +2 -29
- package/dist/components/ui3n-progress/ui3n-progress-linear.vue.d.ts +2 -29
- package/dist/components/ui3n-radio-group/ui3n-radio.vue.d.ts +8 -39
- package/dist/components/ui3n-step-line-bar/ui3n-step-line-bar.vue.d.ts +2 -23
- package/dist/components/ui3n-switch/ui3n-switch.vue.d.ts +6 -31
- package/dist/components/ui3n-table/composables/useTable.d.ts +10 -4
- package/dist/components/ui3n-table/ui3n-table-sort-icon.vue.d.ts +1 -10
- package/dist/components/ui3n-table/ui3n-table.vue.d.ts +4 -4
- package/dist/components/ui3n-tabs/ui3n-tabs.vue.d.ts +5 -38
- package/dist/components/ui3n-text/ui3n-text.vue.d.ts +13 -42
- package/dist/components/ui3n-tooltip/ui3n-tooltip.vue.d.ts +9 -42
- package/dist/components/ui3n-virtual-scroll/ui3n-virtual-scroll.vue.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/ui3n-components.js +9400 -10643
- package/dist/ui3n-plugins.js +4084 -5327
- package/dist/variables.css +1 -1
- package/package.json +7 -8
- package/src/components/index.ts +1 -0
- package/src/components/ui3n-chip/ui3n-chip.vue +1 -1
- package/src/components/ui3n-dialog/ui3n-dialog.vue +1 -1
- package/src/components/ui3n-icon/types.ts +1 -4
- package/src/components/ui3n-icon/ui3n-icon.vue +21 -21
- package/src/components/ui3n-input/ui3n-input.vue +3 -2
- package/src/components/ui3n-notification/ui3n-notification.vue +3 -3
- package/src/components/ui3n-table/ui3n-table-sort-icon.vue +2 -2
- package/src/components/ui3n-tabs/ui3n-tabs.vue +12 -12
- package/src/components/ui3n-text/ui3n-text.vue +1 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Components, directives and plugins for Vue3 projects and some helpers methods (u
|
|
|
5
5
|
|
|
6
6
|
You can run the project as `pnpm dev` or `npm run dev`.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
### Components
|
|
9
9
|
- Ui3nBadge,
|
|
10
10
|
- Ui3nBreadcrumb
|
|
11
11
|
- Ui3nBreadcrumbs
|
|
@@ -32,27 +32,43 @@ You can run the project as `pnpm dev` or `npm run dev`.
|
|
|
32
32
|
- Ui3nTooltip
|
|
33
33
|
- Ui3nVirtualScroll
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
### Directives
|
|
36
36
|
- Ui3nHtml
|
|
37
37
|
- Ui3nClickOutside
|
|
38
38
|
- Ui3nResize
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
### Plugins
|
|
41
41
|
- i18n
|
|
42
42
|
- dialogs
|
|
43
43
|
- notifications
|
|
44
44
|
- vue-bus
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
### Store plugins
|
|
47
47
|
- store-i18n
|
|
48
48
|
- store-dialogs
|
|
49
49
|
- store-notifications
|
|
50
50
|
- store-vue-bus
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
### Constants
|
|
53
53
|
- emoticons
|
|
54
54
|
- mailReg
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
### Utils
|
|
57
57
|
- sqlite-on-3nstorage
|
|
58
58
|
- ...
|
|
59
|
+
|
|
60
|
+
## Installation
|
|
61
|
+
|
|
62
|
+
### npm
|
|
63
|
+
`npm i @v1nt1248/3nclient-lib`
|
|
64
|
+
### yarn
|
|
65
|
+
`yarn add @v1nt1248/3nclient-lib`
|
|
66
|
+
### pnpm
|
|
67
|
+
`pnpm add @v1nt1248/3nclient-lib`
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
You also need to import the required CSS files into your `main.ts`:
|
|
71
|
+
```ts
|
|
72
|
+
import '@v1nt1248/3nclient-lib/variables.css';
|
|
73
|
+
import '@v1nt1248/3nclient-lib/style.css';
|
|
74
|
+
```
|
|
@@ -1,45 +1,18 @@
|
|
|
1
1
|
import { Ui3nBadgeSimpleProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
dot: boolean;
|
|
4
|
-
value: string;
|
|
5
|
-
color: string;
|
|
6
|
-
textColor: string;
|
|
7
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Ui3nBadgeSimpleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
3
|
"change:size": (val: {
|
|
9
4
|
width: number;
|
|
10
5
|
height: number;
|
|
11
|
-
}) =>
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
13
|
-
dot: boolean;
|
|
14
|
-
value: string;
|
|
15
|
-
color: string;
|
|
16
|
-
textColor: string;
|
|
17
|
-
}>>> & {
|
|
6
|
+
}) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nBadgeSimpleProps> & Readonly<{
|
|
18
8
|
"onChange:size"?: ((val: {
|
|
19
9
|
width: number;
|
|
20
10
|
height: number;
|
|
21
11
|
}) => any) | undefined;
|
|
22
|
-
}
|
|
12
|
+
}>, {
|
|
23
13
|
color: string;
|
|
24
14
|
textColor: string;
|
|
25
15
|
value: string | number;
|
|
26
16
|
dot: boolean;
|
|
27
|
-
}, {}>;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
18
|
export default _default;
|
|
29
|
-
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
-
default: D[K];
|
|
32
|
-
}> : P[K];
|
|
33
|
-
};
|
|
34
|
-
type __VLS_Prettify<T> = {
|
|
35
|
-
[K in keyof T]: T[K];
|
|
36
|
-
} & {};
|
|
37
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
-
type __VLS_TypePropsToOption<T> = {
|
|
39
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
-
} : {
|
|
42
|
-
type: import('vue').PropType<T[K]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
@@ -2,46 +2,17 @@ import { Ui3nBadgeProps } from './types';
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
6
|
-
dot: boolean;
|
|
7
|
-
value: string;
|
|
8
|
-
color: string;
|
|
9
|
-
textColor: string;
|
|
10
|
-
position: string;
|
|
11
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nBadgeProps>, {
|
|
12
|
-
dot: boolean;
|
|
13
|
-
value: string;
|
|
14
|
-
color: string;
|
|
15
|
-
textColor: string;
|
|
16
|
-
position: string;
|
|
17
|
-
}>>>, {
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nBadgeProps> & Readonly<{}>, {
|
|
18
6
|
color: string;
|
|
19
7
|
textColor: string;
|
|
20
8
|
value: string | number;
|
|
21
9
|
position: "right-top" | "right-bottom" | "left-top" | "left-bottom";
|
|
22
10
|
dot: boolean;
|
|
23
|
-
}, {}>;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
13
|
export default _default;
|
|
26
|
-
type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
-
default: D[K];
|
|
29
|
-
}> : P[K];
|
|
30
|
-
};
|
|
31
|
-
type __VLS_Prettify<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
34
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
15
|
new (): {
|
|
36
16
|
$slots: S;
|
|
37
17
|
};
|
|
38
18
|
};
|
|
39
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
-
type __VLS_TypePropsToOption<T> = {
|
|
41
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
-
} : {
|
|
44
|
-
type: import('vue').PropType<T[K]>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -1,43 +1,18 @@
|
|
|
1
1
|
import { Ui3nBreadcrumbProps, Ui3nBreadcrumbSlots } from './types';
|
|
2
2
|
declare function __VLS_template(): Readonly<Ui3nBreadcrumbSlots> & Ui3nBreadcrumbSlots;
|
|
3
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
-
click: (value: Event) => void;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nBreadcrumbProps>, {
|
|
10
|
-
separator: undefined;
|
|
11
|
-
isActive: boolean;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
}>>> & {
|
|
3
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nBreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
click: (value: Event) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nBreadcrumbProps> & Readonly<{
|
|
14
6
|
onClick?: ((value: Event) => any) | undefined;
|
|
15
|
-
}
|
|
7
|
+
}>, {
|
|
16
8
|
disabled: boolean;
|
|
17
9
|
separator: string;
|
|
18
10
|
isActive: boolean;
|
|
19
|
-
}, {}>;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
13
|
export default _default;
|
|
22
|
-
type __VLS_WithDefaults<P, D> = {
|
|
23
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
-
default: D[K];
|
|
25
|
-
}> : P[K];
|
|
26
|
-
};
|
|
27
|
-
type __VLS_Prettify<T> = {
|
|
28
|
-
[K in keyof T]: T[K];
|
|
29
|
-
} & {};
|
|
30
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
15
|
new (): {
|
|
32
16
|
$slots: S;
|
|
33
17
|
};
|
|
34
18
|
};
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -2,37 +2,14 @@ import { Ui3nBreadcrumbsProps } from './types';
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
6
|
-
separator: string;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nBreadcrumbsProps>, {
|
|
9
|
-
separator: string;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
}>>>, {
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nBreadcrumbsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nBreadcrumbsProps> & Readonly<{}>, {
|
|
12
6
|
disabled: boolean;
|
|
13
7
|
separator: string;
|
|
14
|
-
}, {}>;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
9
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
10
|
export default _default;
|
|
17
|
-
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
-
default: D[K];
|
|
20
|
-
}> : P[K];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
23
|
-
[K in keyof T]: T[K];
|
|
24
|
-
} & {};
|
|
25
11
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
12
|
new (): {
|
|
27
13
|
$slots: S;
|
|
28
14
|
};
|
|
29
15
|
};
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToOption<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -2,54 +2,27 @@ import { Ui3nButtonProps } from './types';
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
init: (value: HTMLButtonElement) => void;
|
|
12
|
-
click: (value: Event) => void;
|
|
13
|
-
focus: (value: Event) => void;
|
|
14
|
-
blur: (value: Event) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nButtonProps>, {
|
|
16
|
-
type: string;
|
|
17
|
-
size: string;
|
|
18
|
-
iconPosition: string;
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
}>>> & {
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
click: (value: Event) => any;
|
|
7
|
+
blur: (value: Event) => any;
|
|
8
|
+
focus: (value: Event) => any;
|
|
9
|
+
init: (value: HTMLButtonElement) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nButtonProps> & Readonly<{
|
|
21
11
|
onClick?: ((value: Event) => any) | undefined;
|
|
22
|
-
onInit?: ((value: HTMLButtonElement) => any) | undefined;
|
|
23
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
24
12
|
onBlur?: ((value: Event) => any) | undefined;
|
|
25
|
-
|
|
13
|
+
onFocus?: ((value: Event) => any) | undefined;
|
|
14
|
+
onInit?: ((value: HTMLButtonElement) => any) | undefined;
|
|
15
|
+
}>, {
|
|
26
16
|
type: "primary" | "secondary" | "tertiary" | "icon" | "custom";
|
|
27
17
|
size: "regular" | "small";
|
|
28
18
|
iconPosition: "left" | "right";
|
|
29
19
|
disabled: boolean;
|
|
30
|
-
}, {}>;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
32
22
|
export default _default;
|
|
33
23
|
|
|
34
|
-
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
42
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
25
|
new (): {
|
|
44
26
|
$slots: S;
|
|
45
27
|
};
|
|
46
28
|
};
|
|
47
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
-
type __VLS_TypePropsToOption<T> = {
|
|
49
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
-
} : {
|
|
52
|
-
type: import('vue').PropType<T[K]>;
|
|
53
|
-
required: true;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
@@ -1,28 +1,12 @@
|
|
|
1
1
|
import { Ui3nCheckboxProps, Ui3nCheckboxSlots, Ui3nCheckboxValue } from './types';
|
|
2
2
|
declare function __VLS_template(): Readonly<Ui3nCheckboxSlots> & Ui3nCheckboxSlots;
|
|
3
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
size: string;
|
|
8
|
-
color: string;
|
|
9
|
-
indeterminate: boolean;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
change: (value: Ui3nCheckboxValue) => void;
|
|
13
|
-
"update:modelValue": (value: Ui3nCheckboxValue) => void;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nCheckboxProps>, {
|
|
15
|
-
modelValue: boolean;
|
|
16
|
-
checkedValue: boolean;
|
|
17
|
-
uncheckedValue: boolean;
|
|
18
|
-
size: string;
|
|
19
|
-
color: string;
|
|
20
|
-
indeterminate: boolean;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
}>>> & {
|
|
3
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nCheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
change: (value: Ui3nCheckboxValue) => any;
|
|
5
|
+
"update:modelValue": (value: Ui3nCheckboxValue) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nCheckboxProps> & Readonly<{
|
|
23
7
|
onChange?: ((value: Ui3nCheckboxValue) => any) | undefined;
|
|
24
8
|
"onUpdate:modelValue"?: ((value: Ui3nCheckboxValue) => any) | undefined;
|
|
25
|
-
}
|
|
9
|
+
}>, {
|
|
26
10
|
color: string;
|
|
27
11
|
size: number | string;
|
|
28
12
|
disabled: boolean;
|
|
@@ -30,28 +14,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
30
14
|
checkedValue: Ui3nCheckboxValue;
|
|
31
15
|
uncheckedValue: Ui3nCheckboxValue;
|
|
32
16
|
indeterminate: boolean;
|
|
33
|
-
}, {}>;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
35
19
|
export default _default;
|
|
36
|
-
type __VLS_WithDefaults<P, D> = {
|
|
37
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
|
-
default: D[K];
|
|
39
|
-
}> : P[K];
|
|
40
|
-
};
|
|
41
|
-
type __VLS_Prettify<T> = {
|
|
42
|
-
[K in keyof T]: T[K];
|
|
43
|
-
} & {};
|
|
44
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
21
|
new (): {
|
|
46
22
|
$slots: S;
|
|
47
23
|
};
|
|
48
24
|
};
|
|
49
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
-
type __VLS_TypePropsToOption<T> = {
|
|
51
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
-
} : {
|
|
54
|
-
type: import('vue').PropType<T[K]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
@@ -1,28 +1,10 @@
|
|
|
1
1
|
import { Ui3nChipProps, Ui3nChipSlots } from './types';
|
|
2
2
|
declare function __VLS_template(): Readonly<Ui3nChipSlots> & Ui3nChipSlots;
|
|
3
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
plain: boolean;
|
|
7
|
-
round: boolean;
|
|
8
|
-
closeable: boolean;
|
|
9
|
-
color: string;
|
|
10
|
-
textSize: number;
|
|
11
|
-
textColor: string;
|
|
12
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
close: () => void;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nChipProps>, {
|
|
15
|
-
height: number;
|
|
16
|
-
maxWidth: number;
|
|
17
|
-
plain: boolean;
|
|
18
|
-
round: boolean;
|
|
19
|
-
closeable: boolean;
|
|
20
|
-
color: string;
|
|
21
|
-
textSize: number;
|
|
22
|
-
textColor: string;
|
|
23
|
-
}>>> & {
|
|
3
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nChipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
close: () => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nChipProps> & Readonly<{
|
|
24
6
|
onClose?: (() => any) | undefined;
|
|
25
|
-
}
|
|
7
|
+
}>, {
|
|
26
8
|
height: number | string;
|
|
27
9
|
color: string;
|
|
28
10
|
textColor: string;
|
|
@@ -31,28 +13,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
31
13
|
round: boolean;
|
|
32
14
|
closeable: boolean;
|
|
33
15
|
textSize: number | string;
|
|
34
|
-
}, {}>;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
36
18
|
export default _default;
|
|
37
|
-
type __VLS_WithDefaults<P, D> = {
|
|
38
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
-
default: D[K];
|
|
40
|
-
}> : P[K];
|
|
41
|
-
};
|
|
42
|
-
type __VLS_Prettify<T> = {
|
|
43
|
-
[K in keyof T]: T[K];
|
|
44
|
-
} & {};
|
|
45
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
20
|
new (): {
|
|
47
21
|
$slots: S;
|
|
48
22
|
};
|
|
49
23
|
};
|
|
50
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
-
type __VLS_TypePropsToOption<T> = {
|
|
52
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
-
} : {
|
|
55
|
-
type: import('vue').PropType<T[K]>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
@@ -2,20 +2,20 @@ import { Component } from 'vue';
|
|
|
2
2
|
import { Ui3nDialogComponentProps, Ui3nDialogComponentEmits } from './types';
|
|
3
3
|
declare const _default: <T extends Component, P extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
readonly onCancel?: ((value?: any) => any) | undefined;
|
|
6
|
+
readonly onClose?: ((value?: any) => any) | undefined;
|
|
7
|
+
readonly onOpen?: ((value?: any) => any) | undefined;
|
|
8
|
+
readonly "onBefore-close"?: ((value?: any) => any) | undefined;
|
|
9
|
+
readonly onConfirm?: ((value?: any) => any) | undefined;
|
|
10
|
+
readonly "onClick-overlay"?: ((value?: any) => any) | undefined;
|
|
11
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
|
|
9
12
|
onCancel?: ((value?: any) => any) | undefined;
|
|
10
|
-
"onClick-overlay"?: ((value?: any) => any) | undefined;
|
|
11
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
12
13
|
onClose?: ((value?: any) => any) | undefined;
|
|
13
14
|
onOpen?: ((value?: any) => any) | undefined;
|
|
14
15
|
"onBefore-close"?: ((value?: any) => any) | undefined;
|
|
15
16
|
onConfirm?: ((value?: any) => any) | undefined;
|
|
16
|
-
onCancel?: ((value?: any) => any) | undefined;
|
|
17
17
|
"onClick-overlay"?: ((value?: any) => any) | undefined;
|
|
18
|
-
}
|
|
18
|
+
}>, never>, "onClose" | "onCancel" | "onOpen" | "onBefore-close" | "onConfirm" | "onClick-overlay"> & Ui3nDialogComponentProps<T, P>> & import('vue').PublicProps;
|
|
19
19
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
20
20
|
attrs: any;
|
|
21
21
|
slots: ReturnType<() => {}>;
|
|
@@ -1,43 +1,18 @@
|
|
|
1
1
|
import { Ui3nDropFilesProps, Ui3nDropFilesSlots } from './types';
|
|
2
2
|
declare function __VLS_template(): Readonly<Ui3nDropFilesSlots> & Ui3nDropFilesSlots;
|
|
3
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
additionalText: string;
|
|
7
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
-
select: (fileList: FileList) => void;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nDropFilesProps>, {
|
|
10
|
-
title: string;
|
|
11
|
-
text: string;
|
|
12
|
-
additionalText: string;
|
|
13
|
-
}>>> & {
|
|
3
|
+
declare const __VLS_component: import('vue').DefineComponent<Ui3nDropFilesProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
select: (fileList: FileList) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nDropFilesProps> & Readonly<{
|
|
14
6
|
onSelect?: ((fileList: FileList) => any) | undefined;
|
|
15
|
-
}
|
|
7
|
+
}>, {
|
|
16
8
|
title: string;
|
|
17
9
|
text: string;
|
|
18
10
|
additionalText: string;
|
|
19
|
-
}, {}>;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
13
|
export default _default;
|
|
22
|
-
type __VLS_WithDefaults<P, D> = {
|
|
23
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
-
default: D[K];
|
|
25
|
-
}> : P[K];
|
|
26
|
-
};
|
|
27
|
-
type __VLS_Prettify<T> = {
|
|
28
|
-
[K in keyof T]: T[K];
|
|
29
|
-
} & {};
|
|
30
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
15
|
new (): {
|
|
32
16
|
$slots: S;
|
|
33
17
|
};
|
|
34
18
|
};
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1,33 +1,10 @@
|
|
|
1
1
|
import { Ui3nEmojiProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
-
click: (value: Event) => void;
|
|
7
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nEmojiProps>, {
|
|
8
|
-
size: number;
|
|
9
|
-
readonly: boolean;
|
|
10
|
-
}>>> & {
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Ui3nEmojiProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
click: (value: Event) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nEmojiProps> & Readonly<{
|
|
11
5
|
onClick?: ((value: Event) => any) | undefined;
|
|
12
|
-
}
|
|
6
|
+
}>, {
|
|
13
7
|
size: string | number;
|
|
14
8
|
readonly: boolean;
|
|
15
|
-
}, {}>;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
10
|
export default _default;
|
|
17
|
-
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
-
default: D[K];
|
|
20
|
-
}> : P[K];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
23
|
-
[K in keyof T]: T[K];
|
|
24
|
-
} & {};
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToOption<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
export interface Ui3nIconProps {
|
|
2
2
|
icon: string;
|
|
3
3
|
title?: string;
|
|
4
|
-
inline?: boolean;
|
|
5
4
|
width?: string | number;
|
|
6
5
|
height?: string | number;
|
|
6
|
+
color?: string;
|
|
7
7
|
horizontalFlip?: boolean;
|
|
8
8
|
verticalFlip?: boolean;
|
|
9
|
-
flip?: string;
|
|
10
9
|
rotate?: number;
|
|
11
|
-
color?: string;
|
|
12
|
-
onLoad?: Function;
|
|
13
10
|
}
|
|
14
11
|
export interface Ui3nIconEmits {
|
|
15
12
|
(ev: 'click', value: Event): void;
|
|
@@ -1,42 +1,13 @@
|
|
|
1
1
|
import { Ui3nIconProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
height: number;
|
|
6
|
-
rotate: number;
|
|
7
|
-
color: string;
|
|
8
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
click: (value: Event) => void;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Ui3nIconProps>, {
|
|
11
|
-
title: string;
|
|
12
|
-
width: number;
|
|
13
|
-
height: number;
|
|
14
|
-
rotate: number;
|
|
15
|
-
color: string;
|
|
16
|
-
}>>> & {
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Ui3nIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
click: (value: Event) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<Ui3nIconProps> & Readonly<{
|
|
17
5
|
onClick?: ((value: Event) => any) | undefined;
|
|
18
|
-
}
|
|
6
|
+
}>, {
|
|
19
7
|
title: string;
|
|
20
8
|
width: string | number;
|
|
21
9
|
height: string | number;
|
|
22
|
-
rotate: number;
|
|
23
10
|
color: string;
|
|
24
|
-
|
|
11
|
+
rotate: number;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
13
|
export default _default;
|
|
26
|
-
type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
-
default: D[K];
|
|
29
|
-
}> : P[K];
|
|
30
|
-
};
|
|
31
|
-
type __VLS_Prettify<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToOption<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|