@v1nt1248/3nclient-lib 0.0.18 → 0.0.20

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.
Files changed (60) hide show
  1. package/dist/components/index.d.ts +26 -0
  2. package/dist/components/ui3n-button.vue.d.ts +82 -0
  3. package/dist/components/ui3n-dialog.vue.d.ts +73 -0
  4. package/dist/components/ui3n-drop-files.vue.d.ts +41 -0
  5. package/dist/components/ui3n-emoji.vue.d.ts +43 -0
  6. package/dist/components/ui3n-icon.vue.d.ts +92 -0
  7. package/dist/components/ui3n-input.vue.d.ts +96 -0
  8. package/dist/components/ui3n-list.vue.d.ts +45 -0
  9. package/dist/components/ui3n-menu.vue.d.ts +85 -0
  10. package/dist/components/ui3n-notification.vue.d.ts +72 -0
  11. package/dist/components/ui3n-table-sort-icon.vue.d.ts +29 -0
  12. package/dist/components/ui3n-table.vue.d.ts +42 -0
  13. package/dist/components/ui3n-text.vue.d.ts +79 -0
  14. package/dist/components/ui3n-virtual-scroll.vue.d.ts +34 -0
  15. package/dist/constants/emoticons.d.ts +4 -0
  16. package/dist/constants/general.d.ts +2 -0
  17. package/dist/constants/index.d.ts +3 -0
  18. package/dist/constants/types.d.ts +31 -0
  19. package/dist/directives/index.d.ts +2 -0
  20. package/dist/directives/ui3n-click-outside.d.ts +10 -0
  21. package/dist/directives/ui3n-html.d.ts +6 -0
  22. package/dist/index.d.ts +37 -0
  23. package/dist/libs/index.d.ts +4 -0
  24. package/dist/libs/ipc-service-caller.d.ts +12 -0
  25. package/dist/libs/ipc-service.d.ts +60 -0
  26. package/dist/libs/serialization-for-ipc/copy-json.d.ts +8 -0
  27. package/dist/libs/serialization-for-ipc/json-n-binary.d.ts +5 -0
  28. package/dist/libs/serialization-for-ipc/protobuf-type.d.ts +10 -0
  29. package/dist/libs/serialization-for-ipc/types.d.ts +3 -0
  30. package/dist/libs/sqlite-on-3nstorage/deferred.d.ts +6 -0
  31. package/dist/libs/sqlite-on-3nstorage/index.d.ts +49 -0
  32. package/dist/libs/sqlite-on-3nstorage/synced.d.ts +73 -0
  33. package/dist/libs/sqlite-on-3nstorage/types.d.ts +242 -0
  34. package/dist/plugins/dialogs.d.ts +17 -0
  35. package/dist/plugins/i18n.d.ts +20 -0
  36. package/dist/plugins/icons.d.ts +2 -0
  37. package/dist/plugins/index.d.ts +14 -0
  38. package/dist/plugins/notifications.d.ts +13 -0
  39. package/dist/plugins/store-dialogs.d.ts +4 -0
  40. package/dist/plugins/store-i18n.d.ts +7 -0
  41. package/dist/plugins/store-notifications.d.ts +4 -0
  42. package/dist/plugins/store-vue-bus.d.ts +4 -0
  43. package/dist/plugins/vue-bus.d.ts +19 -0
  44. package/dist/stories/Ui3nButton.stories.d.ts +203 -0
  45. package/dist/stories/Ui3nDialog.stories.d.ts +41 -0
  46. package/dist/stories/Ui3nDropFiles.stories.d.ts +140 -0
  47. package/dist/stories/Ui3nEmoji.stories.d.ts +39 -0
  48. package/dist/stories/Ui3nIcon.stories.d.ts +80 -0
  49. package/dist/stories/Ui3nInput.stories.d.ts +456 -0
  50. package/dist/stories/Ui3nList.stories.d.ts +29 -0
  51. package/dist/stories/data/data-to-list.d.ts +8 -0
  52. package/dist/stories/data/icons.d.ts +1 -0
  53. package/dist/style.css +1 -0
  54. package/dist/tools/common.helpers.d.ts +3 -0
  55. package/dist/tools/index.d.ts +3 -0
  56. package/dist/tools/textarea-max-rows.d.ts +3 -0
  57. package/dist/tools/ui.helpers.d.ts +13 -0
  58. package/dist/ui-3n-lib.js +15643 -0
  59. package/package.json +1 -1
  60. package/src/components/ui3n-button.vue +1 -0
@@ -0,0 +1,26 @@
1
+ import Ui3nIcon from './ui3n-icon.vue';
2
+ import type { Ui3nIconProps, Ui3nIconEmits } from './ui3n-icon.vue';
3
+ import Ui3nButton from './ui3n-button.vue';
4
+ import type { Ui3nButtonProps, Ui3nButtonEmits } from './ui3n-button.vue';
5
+ import Ui3nDropFiles from './ui3n-drop-files.vue';
6
+ import type { Ui3nDropFilesProps, Ui3nDropFilesEmits } from './ui3n-drop-files.vue';
7
+ import Ui3nEmoji from './ui3n-emoji.vue';
8
+ import type { Ui3nEmojiProps, Ui3nEmojiEmits } from './ui3n-emoji.vue';
9
+ import Ui3nInput from './ui3n-input.vue';
10
+ import type { Ui3nInputProps, Ui3nInputEmits } from './ui3n-input.vue';
11
+ import Ui3nText from './ui3n-text.vue';
12
+ import type { Ui3nTextProps, Ui3nTextEmits } from './ui3n-text.vue';
13
+ import Ui3nNotification from './ui3n-notification.vue';
14
+ import Ui3nTableSortIcon from './ui3n-table-sort-icon.vue';
15
+ import type { Ui3nTableSortIconProps } from './ui3n-table-sort-icon.vue';
16
+ import Ui3nTable from './ui3n-table.vue';
17
+ import type { Ui3nTableProps, Ui3nTableEmits } from './ui3n-table.vue';
18
+ import Ui3nDialog from './ui3n-dialog.vue';
19
+ import type { Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent } from './ui3n-dialog.vue';
20
+ import Ui3nMenu from './ui3n-menu.vue';
21
+ import type { Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots } from './ui3n-menu.vue';
22
+ import Ui3nList from './ui3n-list.vue';
23
+ import type { Ui3nListProps, Ui3nListEmits, Ui3nListSlots } from './ui3n-list.vue';
24
+ import Ui3nVirtualScroll from './ui3n-virtual-scroll.vue';
25
+ import type { Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots } from './ui3n-virtual-scroll.vue';
26
+ export { Ui3nIcon, Ui3nIconProps, Ui3nIconEmits, Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits, Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits, Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits, Ui3nInput, Ui3nInputProps, Ui3nInputEmits, Ui3nText, Ui3nTextProps, Ui3nTextEmits, Ui3nNotification, Ui3nTableSortIcon, Ui3nTableSortIconProps, Ui3nTable, Ui3nTableProps, Ui3nTableEmits, Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent, Ui3nMenu, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots, Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots, };
@@ -0,0 +1,82 @@
1
+ export interface Ui3nButtonProps {
2
+ textColor?: string;
3
+ color?: string;
4
+ round?: boolean;
5
+ elevation?: boolean;
6
+ icon?: string;
7
+ iconSize?: string | number;
8
+ iconColor?: string;
9
+ disabled?: boolean;
10
+ }
11
+ export interface Ui3nButtonEmits {
12
+ (ev: 'click', value: Event): void;
13
+ (ev: 'focus', value: Event): void;
14
+ (ev: 'blur', value: Event): void;
15
+ }
16
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
+ textColor: {
18
+ type: import("vue").PropType<string>;
19
+ };
20
+ color: {
21
+ type: import("vue").PropType<string>;
22
+ };
23
+ round: {
24
+ type: import("vue").PropType<boolean>;
25
+ };
26
+ elevation: {
27
+ type: import("vue").PropType<boolean>;
28
+ };
29
+ icon: {
30
+ type: import("vue").PropType<string>;
31
+ };
32
+ iconSize: {
33
+ type: import("vue").PropType<string | number>;
34
+ };
35
+ iconColor: {
36
+ type: import("vue").PropType<string>;
37
+ };
38
+ disabled: {
39
+ type: import("vue").PropType<boolean>;
40
+ };
41
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
+ click: (value: Event) => void;
43
+ focus: (value: Event) => void;
44
+ blur: (value: Event) => void;
45
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
+ textColor: {
47
+ type: import("vue").PropType<string>;
48
+ };
49
+ color: {
50
+ type: import("vue").PropType<string>;
51
+ };
52
+ round: {
53
+ type: import("vue").PropType<boolean>;
54
+ };
55
+ elevation: {
56
+ type: import("vue").PropType<boolean>;
57
+ };
58
+ icon: {
59
+ type: import("vue").PropType<string>;
60
+ };
61
+ iconSize: {
62
+ type: import("vue").PropType<string | number>;
63
+ };
64
+ iconColor: {
65
+ type: import("vue").PropType<string>;
66
+ };
67
+ disabled: {
68
+ type: import("vue").PropType<boolean>;
69
+ };
70
+ }>> & {
71
+ onClick?: ((value: Event) => any) | undefined;
72
+ onFocus?: ((value: Event) => any) | undefined;
73
+ onBlur?: ((value: Event) => any) | undefined;
74
+ }, {}, {}>, {
75
+ default?(_: {}): any;
76
+ }>;
77
+ export default _default;
78
+ type __VLS_WithTemplateSlots<T, S> = T & {
79
+ new (): {
80
+ $slots: S;
81
+ };
82
+ };
@@ -0,0 +1,73 @@
1
+ import type { Component } from 'vue';
2
+ export type Ui3nDialogEvent = 'open' | 'before-close' | 'close' | 'confirm' | 'cancel' | 'click-overlay';
3
+ export interface Ui3nDialogProps {
4
+ teleport?: string;
5
+ title?: string;
6
+ width?: string | number;
7
+ cssClass?: string;
8
+ cssStyle?: Record<string, string>;
9
+ contentCssClass?: string;
10
+ contentCssStyle?: Record<string, string>;
11
+ confirmButton?: boolean;
12
+ cancelButton?: boolean;
13
+ onConfirm?: (data: any) => void;
14
+ onCancel?: (data: any) => void;
15
+ confirmButtonText?: string;
16
+ cancelButtonText?: string;
17
+ confirmButtonColor?: string;
18
+ cancelButtonColor?: string;
19
+ confirmButtonBackground?: string;
20
+ cancelButtonBackground?: string;
21
+ closeOnClickOverlay?: boolean;
22
+ }
23
+ export interface Ui3nDialogComponentProps {
24
+ component: Component;
25
+ componentProps?: Record<string, any>;
26
+ dialogProps?: Ui3nDialogProps;
27
+ }
28
+ export interface Ui3nDialogComponentEmits {
29
+ (ev: 'open', value?: any): void;
30
+ (ev: 'before-close', value?: any): void;
31
+ (ev: 'close', value?: any): void;
32
+ (ev: 'confirm', value?: any): void;
33
+ (ev: 'cancel', value?: any): void;
34
+ (ev: 'click-overlay', value?: any): void;
35
+ }
36
+ declare const _default: import("vue").DefineComponent<{
37
+ component: {
38
+ type: import("vue").PropType<Component>;
39
+ required: true;
40
+ };
41
+ componentProps: {
42
+ type: import("vue").PropType<Record<string, any>>;
43
+ };
44
+ dialogProps: {
45
+ type: import("vue").PropType<Ui3nDialogProps>;
46
+ };
47
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
+ open: (value?: any) => void;
49
+ "before-close": (value?: any) => void;
50
+ close: (value?: any) => void;
51
+ confirm: (value?: any) => void;
52
+ cancel: (value?: any) => void;
53
+ "click-overlay": (value?: any) => void;
54
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
55
+ component: {
56
+ type: import("vue").PropType<Component>;
57
+ required: true;
58
+ };
59
+ componentProps: {
60
+ type: import("vue").PropType<Record<string, any>>;
61
+ };
62
+ dialogProps: {
63
+ type: import("vue").PropType<Ui3nDialogProps>;
64
+ };
65
+ }>> & {
66
+ onCancel?: ((value?: any) => any) | undefined;
67
+ onClose?: ((value?: any) => any) | undefined;
68
+ onOpen?: ((value?: any) => any) | undefined;
69
+ "onBefore-close"?: ((value?: any) => any) | undefined;
70
+ onConfirm?: ((value?: any) => any) | undefined;
71
+ "onClick-overlay"?: ((value?: any) => any) | undefined;
72
+ }, {}, {}>;
73
+ export default _default;
@@ -0,0 +1,41 @@
1
+ export interface Ui3nDropFilesProps {
2
+ title?: string;
3
+ text?: string;
4
+ additionalText?: string;
5
+ }
6
+ export interface Ui3nDropFilesEmits {
7
+ (e: 'select', fileList: FileList): void;
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
10
+ title: {
11
+ type: import("vue").PropType<string>;
12
+ };
13
+ text: {
14
+ type: import("vue").PropType<string>;
15
+ };
16
+ additionalText: {
17
+ type: import("vue").PropType<string>;
18
+ };
19
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ select: (fileList: FileList) => void;
21
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ title: {
23
+ type: import("vue").PropType<string>;
24
+ };
25
+ text: {
26
+ type: import("vue").PropType<string>;
27
+ };
28
+ additionalText: {
29
+ type: import("vue").PropType<string>;
30
+ };
31
+ }>> & {
32
+ onSelect?: ((fileList: FileList) => any) | undefined;
33
+ }, {}, {}>, {
34
+ default?(_: {}): any;
35
+ }>;
36
+ export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,43 @@
1
+ export interface Ui3nEmojiProps {
2
+ emoji: string;
3
+ size?: string | number;
4
+ readonly?: boolean;
5
+ }
6
+ export interface Ui3nEmojiEmits {
7
+ (ev: 'click', value: Event): void;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<{
10
+ emoji: {
11
+ type: import("vue").PropType<string>;
12
+ required: true;
13
+ };
14
+ size: {
15
+ type: import("vue").PropType<string | number>;
16
+ default: number;
17
+ };
18
+ readonly: {
19
+ type: import("vue").PropType<boolean>;
20
+ default: boolean;
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ click: (value: Event) => void;
24
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ emoji: {
26
+ type: import("vue").PropType<string>;
27
+ required: true;
28
+ };
29
+ size: {
30
+ type: import("vue").PropType<string | number>;
31
+ default: number;
32
+ };
33
+ readonly: {
34
+ type: import("vue").PropType<boolean>;
35
+ default: boolean;
36
+ };
37
+ }>> & {
38
+ onClick?: ((value: Event) => any) | undefined;
39
+ }, {
40
+ size: string | number;
41
+ readonly: boolean;
42
+ }, {}>;
43
+ export default _default;
@@ -0,0 +1,92 @@
1
+ export interface Ui3nIconProps {
2
+ icon: string;
3
+ title?: string;
4
+ inline?: boolean;
5
+ width?: string | number;
6
+ height?: string | number;
7
+ horizontalFlip?: boolean;
8
+ verticalFlip?: boolean;
9
+ flip?: string;
10
+ rotate?: number;
11
+ color?: string;
12
+ onLoad?: Function;
13
+ }
14
+ export interface Ui3nIconEmits {
15
+ (ev: 'click', value: Event): void;
16
+ }
17
+ declare const _default: import("vue").DefineComponent<{
18
+ icon: {
19
+ type: import("vue").PropType<string>;
20
+ required: true;
21
+ };
22
+ title: {
23
+ type: import("vue").PropType<string>;
24
+ };
25
+ inline: {
26
+ type: import("vue").PropType<boolean>;
27
+ };
28
+ width: {
29
+ type: import("vue").PropType<string | number>;
30
+ };
31
+ height: {
32
+ type: import("vue").PropType<string | number>;
33
+ };
34
+ horizontalFlip: {
35
+ type: import("vue").PropType<boolean>;
36
+ };
37
+ verticalFlip: {
38
+ type: import("vue").PropType<boolean>;
39
+ };
40
+ flip: {
41
+ type: import("vue").PropType<string>;
42
+ };
43
+ rotate: {
44
+ type: import("vue").PropType<number>;
45
+ };
46
+ color: {
47
+ type: import("vue").PropType<string>;
48
+ };
49
+ onLoad: {
50
+ type: import("vue").PropType<Function>;
51
+ };
52
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
+ click: (value: Event) => void;
54
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
55
+ icon: {
56
+ type: import("vue").PropType<string>;
57
+ required: true;
58
+ };
59
+ title: {
60
+ type: import("vue").PropType<string>;
61
+ };
62
+ inline: {
63
+ type: import("vue").PropType<boolean>;
64
+ };
65
+ width: {
66
+ type: import("vue").PropType<string | number>;
67
+ };
68
+ height: {
69
+ type: import("vue").PropType<string | number>;
70
+ };
71
+ horizontalFlip: {
72
+ type: import("vue").PropType<boolean>;
73
+ };
74
+ verticalFlip: {
75
+ type: import("vue").PropType<boolean>;
76
+ };
77
+ flip: {
78
+ type: import("vue").PropType<string>;
79
+ };
80
+ rotate: {
81
+ type: import("vue").PropType<number>;
82
+ };
83
+ color: {
84
+ type: import("vue").PropType<string>;
85
+ };
86
+ onLoad: {
87
+ type: import("vue").PropType<Function>;
88
+ };
89
+ }>> & {
90
+ onClick?: ((value: Event) => any) | undefined;
91
+ }, {}, {}>;
92
+ export default _default;
@@ -0,0 +1,96 @@
1
+ export interface Ui3nInputProps {
2
+ value: string;
3
+ label?: string;
4
+ placeholder?: string;
5
+ clearable?: boolean;
6
+ autofocus?: boolean;
7
+ rules?: Array<(v: string) => any>;
8
+ disabled?: boolean;
9
+ icon?: string;
10
+ iconColor?: string;
11
+ }
12
+ export interface Ui3nInputEmits {
13
+ (ev: 'input', value: string): void;
14
+ (ev: 'focus', value: Event): void;
15
+ (ev: 'blur', value: Event): void;
16
+ (ev: 'clear', value: string): void;
17
+ (ev: 'change', value: string): void;
18
+ (ev: 'update:value', value: string): void;
19
+ (ev: 'update:valid', value: boolean): void;
20
+ }
21
+ declare const _default: import("vue").DefineComponent<{
22
+ value: {
23
+ type: import("vue").PropType<string>;
24
+ required: true;
25
+ };
26
+ label: {
27
+ type: import("vue").PropType<string>;
28
+ };
29
+ placeholder: {
30
+ type: import("vue").PropType<string>;
31
+ };
32
+ clearable: {
33
+ type: import("vue").PropType<boolean>;
34
+ };
35
+ autofocus: {
36
+ type: import("vue").PropType<boolean>;
37
+ };
38
+ rules: {
39
+ type: import("vue").PropType<((v: string) => any)[]>;
40
+ };
41
+ disabled: {
42
+ type: import("vue").PropType<boolean>;
43
+ };
44
+ icon: {
45
+ type: import("vue").PropType<string>;
46
+ };
47
+ iconColor: {
48
+ type: import("vue").PropType<string>;
49
+ };
50
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
+ input: (value: string) => void;
52
+ focus: (value: Event) => void;
53
+ blur: (value: Event) => void;
54
+ clear: (value: string) => void;
55
+ change: (value: string) => void;
56
+ "update:value": (value: string) => void;
57
+ "update:valid": (value: boolean) => void;
58
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
+ value: {
60
+ type: import("vue").PropType<string>;
61
+ required: true;
62
+ };
63
+ label: {
64
+ type: import("vue").PropType<string>;
65
+ };
66
+ placeholder: {
67
+ type: import("vue").PropType<string>;
68
+ };
69
+ clearable: {
70
+ type: import("vue").PropType<boolean>;
71
+ };
72
+ autofocus: {
73
+ type: import("vue").PropType<boolean>;
74
+ };
75
+ rules: {
76
+ type: import("vue").PropType<((v: string) => any)[]>;
77
+ };
78
+ disabled: {
79
+ type: import("vue").PropType<boolean>;
80
+ };
81
+ icon: {
82
+ type: import("vue").PropType<string>;
83
+ };
84
+ iconColor: {
85
+ type: import("vue").PropType<string>;
86
+ };
87
+ }>> & {
88
+ onFocus?: ((value: Event) => any) | undefined;
89
+ onBlur?: ((value: Event) => any) | undefined;
90
+ onChange?: ((value: string) => any) | undefined;
91
+ onInput?: ((value: string) => any) | undefined;
92
+ onClear?: ((value: string) => any) | undefined;
93
+ "onUpdate:value"?: ((value: string) => any) | undefined;
94
+ "onUpdate:valid"?: ((value: boolean) => any) | undefined;
95
+ }, {}, {}>;
96
+ export default _default;
@@ -0,0 +1,45 @@
1
+ export interface Ui3nListProps<T> {
2
+ title?: string;
3
+ sticky?: boolean;
4
+ items: T[];
5
+ disabled?: boolean;
6
+ }
7
+ export interface Ui3nListEmits<T> {
8
+ (ev: 'select', value: {
9
+ value: T;
10
+ index: number;
11
+ }): void;
12
+ }
13
+ export interface Ui3nListSlots<T> {
14
+ title?: () => any;
15
+ item?: ({ item, index }: {
16
+ item: T;
17
+ index: number;
18
+ }) => any;
19
+ }
20
+ declare const _default: <T extends {
21
+ id?: string | undefined;
22
+ }>(__VLS_props: Ui3nListProps<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
23
+ props: Ui3nListProps<T>;
24
+ expose(exposed: {}): void;
25
+ attrs: any;
26
+ slots: Ui3nListSlots<T>;
27
+ emit: Ui3nListEmits<T>;
28
+ }, "attrs" | "slots" | "emit"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
29
+ props: Ui3nListProps<T>;
30
+ expose(exposed: {}): void;
31
+ attrs: any;
32
+ slots: Ui3nListSlots<T>;
33
+ emit: Ui3nListEmits<T>;
34
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
+ [key: string]: any;
36
+ }> & {
37
+ __ctx?: {
38
+ props: Ui3nListProps<T>;
39
+ expose(exposed: {}): void;
40
+ attrs: any;
41
+ slots: Ui3nListSlots<T>;
42
+ emit: Ui3nListEmits<T>;
43
+ } | undefined;
44
+ };
45
+ export default _default;
@@ -0,0 +1,85 @@
1
+ export interface Ui3nMenuProps {
2
+ offsetX?: number;
3
+ offsetY?: number;
4
+ closeOnClick?: boolean;
5
+ closeOnClickOutside?: boolean;
6
+ disabled?: boolean;
7
+ }
8
+ export interface Ui3nMenuEmits {
9
+ (ev: 'open'): void;
10
+ (ev: 'opened'): void;
11
+ (ev: 'close'): void;
12
+ (ev: 'closed'): void;
13
+ (ev: 'click-outside'): void;
14
+ }
15
+ export interface Ui3nMenuSlots {
16
+ default: () => any;
17
+ menu?: () => any;
18
+ }
19
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
20
+ disabled: {
21
+ type: import("vue").PropType<boolean>;
22
+ default: boolean;
23
+ };
24
+ offsetX: {
25
+ type: import("vue").PropType<number>;
26
+ default: number;
27
+ };
28
+ offsetY: {
29
+ type: import("vue").PropType<number>;
30
+ default: number;
31
+ };
32
+ closeOnClick: {
33
+ type: import("vue").PropType<boolean>;
34
+ default: boolean;
35
+ };
36
+ closeOnClickOutside: {
37
+ type: import("vue").PropType<boolean>;
38
+ default: boolean;
39
+ };
40
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ open: () => void;
42
+ opened: () => void;
43
+ close: () => void;
44
+ closed: () => void;
45
+ "click-outside": () => void;
46
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
+ disabled: {
48
+ type: import("vue").PropType<boolean>;
49
+ default: boolean;
50
+ };
51
+ offsetX: {
52
+ type: import("vue").PropType<number>;
53
+ default: number;
54
+ };
55
+ offsetY: {
56
+ type: import("vue").PropType<number>;
57
+ default: number;
58
+ };
59
+ closeOnClick: {
60
+ type: import("vue").PropType<boolean>;
61
+ default: boolean;
62
+ };
63
+ closeOnClickOutside: {
64
+ type: import("vue").PropType<boolean>;
65
+ default: boolean;
66
+ };
67
+ }>> & {
68
+ onClose?: (() => any) | undefined;
69
+ onOpen?: (() => any) | undefined;
70
+ onOpened?: (() => any) | undefined;
71
+ onClosed?: (() => any) | undefined;
72
+ "onClick-outside"?: (() => any) | undefined;
73
+ }, {
74
+ disabled: boolean;
75
+ offsetX: number;
76
+ offsetY: number;
77
+ closeOnClick: boolean;
78
+ closeOnClickOutside: boolean;
79
+ }, {}>, Ui3nMenuSlots>;
80
+ export default _default;
81
+ type __VLS_WithTemplateSlots<T, S> = T & {
82
+ new (): {
83
+ $slots: S;
84
+ };
85
+ };
@@ -0,0 +1,72 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ id: {
3
+ type: import("vue").PropType<string>;
4
+ };
5
+ type: {
6
+ type: import("vue").PropType<"error" | "success" | "warning" | "info">;
7
+ };
8
+ content: {
9
+ type: import("vue").PropType<string>;
10
+ required: true;
11
+ };
12
+ icon: {
13
+ type: import("vue").PropType<string>;
14
+ };
15
+ iconSize: {
16
+ type: import("vue").PropType<string | number>;
17
+ };
18
+ iconColor: {
19
+ type: import("vue").PropType<string>;
20
+ };
21
+ position: {
22
+ type: import("vue").PropType<"center" | "left" | "right">;
23
+ };
24
+ duration: {
25
+ type: import("vue").PropType<number>;
26
+ };
27
+ teleport: {
28
+ type: import("vue").PropType<string>;
29
+ };
30
+ onOpen: {
31
+ type: import("vue").PropType<() => void>;
32
+ };
33
+ onClose: {
34
+ type: import("vue").PropType<() => void>;
35
+ };
36
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ id: {
38
+ type: import("vue").PropType<string>;
39
+ };
40
+ type: {
41
+ type: import("vue").PropType<"error" | "success" | "warning" | "info">;
42
+ };
43
+ content: {
44
+ type: import("vue").PropType<string>;
45
+ required: true;
46
+ };
47
+ icon: {
48
+ type: import("vue").PropType<string>;
49
+ };
50
+ iconSize: {
51
+ type: import("vue").PropType<string | number>;
52
+ };
53
+ iconColor: {
54
+ type: import("vue").PropType<string>;
55
+ };
56
+ position: {
57
+ type: import("vue").PropType<"center" | "left" | "right">;
58
+ };
59
+ duration: {
60
+ type: import("vue").PropType<number>;
61
+ };
62
+ teleport: {
63
+ type: import("vue").PropType<string>;
64
+ };
65
+ onOpen: {
66
+ type: import("vue").PropType<() => void>;
67
+ };
68
+ onClose: {
69
+ type: import("vue").PropType<() => void>;
70
+ };
71
+ }>>, {}, {}>;
72
+ export default _default;
@@ -0,0 +1,29 @@
1
+ export interface Ui3nTableSortIconProps {
2
+ size?: string | number;
3
+ color?: string;
4
+ value: 'asc' | 'desc';
5
+ }
6
+ declare const _default: import("vue").DefineComponent<{
7
+ size: {
8
+ type: import("vue").PropType<string | number>;
9
+ };
10
+ color: {
11
+ type: import("vue").PropType<string>;
12
+ };
13
+ value: {
14
+ type: import("vue").PropType<"desc" | "asc">;
15
+ required: true;
16
+ };
17
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ size: {
19
+ type: import("vue").PropType<string | number>;
20
+ };
21
+ color: {
22
+ type: import("vue").PropType<string>;
23
+ };
24
+ value: {
25
+ type: import("vue").PropType<"desc" | "asc">;
26
+ required: true;
27
+ };
28
+ }>>, {}, {}>;
29
+ export default _default;