@v1nt1248/3nclient-lib 0.0.16 → 0.0.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 +44 -4
- package/package.json +24 -7
- package/src/components/ui3n-button.vue +20 -4
- package/src/components/ui3n-drop-files.vue +34 -11
- package/src/components/ui3n-emoji.vue +34 -14
- package/src/components/ui3n-input.vue +3 -2
- package/src/components/ui3n-list.vue +1 -1
- package/dist/components/index.d.ts +0 -26
- package/dist/components/ui3n-button.vue.d.ts +0 -82
- package/dist/components/ui3n-dialog.vue.d.ts +0 -73
- package/dist/components/ui3n-drop-files.vue.d.ts +0 -41
- package/dist/components/ui3n-emoji.vue.d.ts +0 -36
- package/dist/components/ui3n-icon.vue.d.ts +0 -92
- package/dist/components/ui3n-input.vue.d.ts +0 -96
- package/dist/components/ui3n-list.vue.d.ts +0 -45
- package/dist/components/ui3n-menu.vue.d.ts +0 -85
- package/dist/components/ui3n-notification.vue.d.ts +0 -72
- package/dist/components/ui3n-table-sort-icon.vue.d.ts +0 -29
- package/dist/components/ui3n-table.vue.d.ts +0 -42
- package/dist/components/ui3n-text.vue.d.ts +0 -79
- package/dist/components/ui3n-virtual-scroll.vue.d.ts +0 -34
- package/dist/constants/emoticons.d.ts +0 -649
- package/dist/constants/general.d.ts +0 -2
- package/dist/constants/index.d.ts +0 -3
- package/dist/constants/types.d.ts +0 -31
- package/dist/directives/index.d.ts +0 -2
- package/dist/directives/ui3n-click-outside.d.ts +0 -10
- package/dist/directives/ui3n-html.d.ts +0 -6
- package/dist/index.d.ts +0 -37
- package/dist/libs/index.d.ts +0 -3
- package/dist/libs/ipc-service-caller.d.ts +0 -12
- package/dist/libs/ipc-service.d.ts +0 -60
- package/dist/libs/serialization-for-ipc/copy-json.d.ts +0 -8
- package/dist/libs/serialization-for-ipc/json-n-binary.d.ts +0 -5
- package/dist/libs/serialization-for-ipc/protobuf-type.d.ts +0 -10
- package/dist/libs/sqlite-on-3nstorage/deferred.d.ts +0 -6
- package/dist/libs/sqlite-on-3nstorage/index.d.ts +0 -49
- package/dist/libs/sqlite-on-3nstorage/synced.d.ts +0 -73
- package/dist/libs/sqlite-on-3nstorage/types.d.ts +0 -243
- package/dist/plugins/dialogs.d.ts +0 -17
- package/dist/plugins/i18n.d.ts +0 -20
- package/dist/plugins/icons.d.ts +0 -2
- package/dist/plugins/index.d.ts +0 -14
- package/dist/plugins/notifications.d.ts +0 -13
- package/dist/plugins/store-dialogs.d.ts +0 -4
- package/dist/plugins/store-i18n.d.ts +0 -7
- package/dist/plugins/store-notifications.d.ts +0 -4
- package/dist/plugins/store-vue-bus.d.ts +0 -4
- package/dist/plugins/vue-bus.d.ts +0 -19
- package/dist/style.css +0 -1
- package/dist/tools/common.helpers.d.ts +0 -3
- package/dist/tools/index.d.ts +0 -3
- package/dist/tools/textarea-max-rows.d.ts +0 -3
- package/dist/tools/ui.helpers.d.ts +0 -13
- package/dist/ui-3n-lib.js +0 -16529
- package/src/libs/index.ts +0 -11
- package/src/libs/ipc-service-caller.ts +0 -121
- package/src/libs/ipc-service.ts +0 -422
- package/src/libs/serialization-for-ipc/copy-json.ts +0 -55
- package/src/libs/serialization-for-ipc/json-ipc.proto.d.ts +0 -432
- package/src/libs/serialization-for-ipc/json-ipc.proto.js +0 -1093
- package/src/libs/serialization-for-ipc/json-n-binary.ts +0 -275
- package/src/libs/serialization-for-ipc/protobuf-type.ts +0 -61
- package/src/libs/sqlite-on-3nstorage/deferred.ts +0 -32
- package/src/libs/sqlite-on-3nstorage/index.ts +0 -292
- package/src/libs/sqlite-on-3nstorage/sqljs.js +0 -225
- package/src/libs/sqlite-on-3nstorage/synced.ts +0 -194
- package/src/libs/sqlite-on-3nstorage/types.ts +0 -279
|
@@ -1,92 +0,0 @@
|
|
|
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;
|
|
@@ -1,96 +0,0 @@
|
|
|
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;
|
|
@@ -1,45 +0,0 @@
|
|
|
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
|
-
}, "slots" | "emit" | "attrs"> | 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;
|
|
@@ -1,85 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
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;
|
|
@@ -1,29 +0,0 @@
|
|
|
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;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { ListingEntryTypeExtended, EntityAction } from '../constants';
|
|
2
|
-
export interface Ui3nTableProps {
|
|
3
|
-
items: ListingEntryTypeExtended[];
|
|
4
|
-
textIfEmpty?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface Ui3nTableEmits {
|
|
7
|
-
(ev: 'go', name: string): void;
|
|
8
|
-
(ev: 'action', value: {
|
|
9
|
-
action: EntityAction;
|
|
10
|
-
entity: ListingEntryTypeExtended;
|
|
11
|
-
}): void;
|
|
12
|
-
}
|
|
13
|
-
declare const _default: import("vue").DefineComponent<{
|
|
14
|
-
items: {
|
|
15
|
-
type: import("vue").PropType<ListingEntryTypeExtended[]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
textIfEmpty: {
|
|
19
|
-
type: import("vue").PropType<string>;
|
|
20
|
-
};
|
|
21
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
-
go: (name: string) => void;
|
|
23
|
-
action: (value: {
|
|
24
|
-
action: EntityAction;
|
|
25
|
-
entity: ListingEntryTypeExtended;
|
|
26
|
-
}) => void;
|
|
27
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
items: {
|
|
29
|
-
type: import("vue").PropType<ListingEntryTypeExtended[]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
textIfEmpty: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
};
|
|
35
|
-
}>> & {
|
|
36
|
-
onGo?: ((name: string) => any) | undefined;
|
|
37
|
-
onAction?: ((value: {
|
|
38
|
-
action: EntityAction;
|
|
39
|
-
entity: ListingEntryTypeExtended;
|
|
40
|
-
}) => any) | undefined;
|
|
41
|
-
}, {}, {}>;
|
|
42
|
-
export default _default;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
export interface Ui3nTextProps {
|
|
2
|
-
text: string;
|
|
3
|
-
rows?: number;
|
|
4
|
-
maxRows?: number;
|
|
5
|
-
label?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
rules?: Array<(v: string) => any>;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface Ui3nTextEmits {
|
|
11
|
-
(ev: 'init', value: HTMLTextAreaElement): void;
|
|
12
|
-
(ev: 'input', value: string): void;
|
|
13
|
-
(ev: 'focus', value: Event): void;
|
|
14
|
-
(ev: 'blur', value: Event): void;
|
|
15
|
-
(ev: 'update:text', value: string): void;
|
|
16
|
-
(ev: 'update:valid', value: boolean): void;
|
|
17
|
-
}
|
|
18
|
-
declare const _default: import("vue").DefineComponent<{
|
|
19
|
-
text: {
|
|
20
|
-
type: import("vue").PropType<string>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
rows: {
|
|
24
|
-
type: import("vue").PropType<number>;
|
|
25
|
-
};
|
|
26
|
-
maxRows: {
|
|
27
|
-
type: import("vue").PropType<number>;
|
|
28
|
-
};
|
|
29
|
-
label: {
|
|
30
|
-
type: import("vue").PropType<string>;
|
|
31
|
-
};
|
|
32
|
-
placeholder: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
};
|
|
35
|
-
rules: {
|
|
36
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
37
|
-
};
|
|
38
|
-
disabled: {
|
|
39
|
-
type: import("vue").PropType<boolean>;
|
|
40
|
-
};
|
|
41
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
-
init: (value: HTMLTextAreaElement) => void;
|
|
43
|
-
input: (value: string) => void;
|
|
44
|
-
focus: (value: Event) => void;
|
|
45
|
-
blur: (value: Event) => void;
|
|
46
|
-
"update:text": (value: string) => void;
|
|
47
|
-
"update:valid": (value: boolean) => void;
|
|
48
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
-
text: {
|
|
50
|
-
type: import("vue").PropType<string>;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
rows: {
|
|
54
|
-
type: import("vue").PropType<number>;
|
|
55
|
-
};
|
|
56
|
-
maxRows: {
|
|
57
|
-
type: import("vue").PropType<number>;
|
|
58
|
-
};
|
|
59
|
-
label: {
|
|
60
|
-
type: import("vue").PropType<string>;
|
|
61
|
-
};
|
|
62
|
-
placeholder: {
|
|
63
|
-
type: import("vue").PropType<string>;
|
|
64
|
-
};
|
|
65
|
-
rules: {
|
|
66
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
67
|
-
};
|
|
68
|
-
disabled: {
|
|
69
|
-
type: import("vue").PropType<boolean>;
|
|
70
|
-
};
|
|
71
|
-
}>> & {
|
|
72
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
73
|
-
onBlur?: ((value: Event) => any) | undefined;
|
|
74
|
-
onInput?: ((value: string) => any) | undefined;
|
|
75
|
-
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
76
|
-
onInit?: ((value: HTMLTextAreaElement) => any) | undefined;
|
|
77
|
-
"onUpdate:text"?: ((value: string) => any) | undefined;
|
|
78
|
-
}, {}, {}>;
|
|
79
|
-
export default _default;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export interface Ui3nVirtualScrollProps<T> {
|
|
2
|
-
items: T[];
|
|
3
|
-
minChildHeight: number;
|
|
4
|
-
renderAhread?: number;
|
|
5
|
-
}
|
|
6
|
-
export interface Ui3nVirtualScrollSlots<T> {
|
|
7
|
-
item: (item: T, index: number) => any;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: <T extends {
|
|
10
|
-
id?: string | undefined;
|
|
11
|
-
}>(__VLS_props: Ui3nVirtualScrollProps<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
12
|
-
props: Ui3nVirtualScrollProps<T>;
|
|
13
|
-
expose(exposed: {}): void;
|
|
14
|
-
attrs: any;
|
|
15
|
-
slots: Ui3nVirtualScrollSlots<T>;
|
|
16
|
-
emit: any;
|
|
17
|
-
}, "slots" | "emit" | "attrs"> | undefined, __VLS_setup?: Promise<{
|
|
18
|
-
props: Ui3nVirtualScrollProps<T>;
|
|
19
|
-
expose(exposed: {}): void;
|
|
20
|
-
attrs: any;
|
|
21
|
-
slots: Ui3nVirtualScrollSlots<T>;
|
|
22
|
-
emit: any;
|
|
23
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
}> & {
|
|
26
|
-
__ctx?: {
|
|
27
|
-
props: Ui3nVirtualScrollProps<T>;
|
|
28
|
-
expose(exposed: {}): void;
|
|
29
|
-
attrs: any;
|
|
30
|
-
slots: Ui3nVirtualScrollSlots<T>;
|
|
31
|
-
emit: any;
|
|
32
|
-
} | undefined;
|
|
33
|
-
};
|
|
34
|
-
export default _default;
|