@v1nt1248/3nclient-lib 0.0.6 → 0.0.7
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.d.ts +5 -0
- package/dist/components/ui3n-icon.vue.d.ts +16 -0
- package/dist/constants/index.d.ts +3 -0
- package/dist/constants/types.d.ts +31 -0
- package/dist/directives/index.d.ts +1 -0
- package/dist/index.d.ts +5 -18
- package/dist/plugins/index.d.ts +10 -0
- package/dist/plugins/notifications.d.ts +4 -0
- package/dist/plugins/store-vue-bus.d.ts +2 -9
- package/dist/plugins/vue-bus.d.ts +8 -4
- package/dist/style.css +1 -1
- package/dist/tools/index.d.ts +3 -0
- package/dist/ui-3n-lib.js +1101 -11629
- package/package.json +10 -10
- package/src/components/index.ts +13 -0
- package/src/components/ui3n-button.vue +156 -0
- package/src/components/ui3n-drop-files.vue +171 -0
- package/src/components/ui3n-emoji.vue +64 -0
- package/src/components/ui3n-icon.vue +51 -0
- package/src/components/ui3n-input.vue +282 -0
- package/src/components/ui3n-notification.vue +144 -0
- package/src/components/ui3n-table-sort-icon.vue +23 -0
- package/src/components/ui3n-table.vue +318 -0
- package/src/components/ui3n-text.vue +181 -0
- package/dist/components/ui3n-drop-files.vue.d.ts +0 -33
- package/dist/components/ui3n-emoji.vue.d.ts +0 -28
- package/dist/components/ui3n-input.vue.d.ts +0 -96
- package/dist/components/ui3n-notification.vue.d.ts +0 -72
- package/dist/components/ui3n-table-sort-icon.vue.d.ts +0 -24
- package/dist/components/ui3n-table.vue.d.ts +0 -30
- package/dist/components/ui3n-text.vue.d.ts +0 -62
- package/dist/types.d.ts +0 -63
- package/dist/ui-3n-lib.umd.cjs +0 -72
- /package/dist/{helpers → tools}/common.helpers.d.ts +0 -0
- /package/dist/{helpers → tools}/textarea-max-rows.d.ts +0 -0
- /package/dist/{helpers → tools}/ui.helpers.d.ts +0 -0
|
@@ -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<"success" | "warning" | "info" | "error">;
|
|
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<"left" | "center" | "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<"success" | "warning" | "info" | "error">;
|
|
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<"left" | "center" | "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,24 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
size: {
|
|
3
|
-
type: import("vue").PropType<string | number>;
|
|
4
|
-
};
|
|
5
|
-
color: {
|
|
6
|
-
type: import("vue").PropType<string>;
|
|
7
|
-
};
|
|
8
|
-
value: {
|
|
9
|
-
type: import("vue").PropType<"desc" | "asc">;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
size: {
|
|
14
|
-
type: import("vue").PropType<string | number>;
|
|
15
|
-
};
|
|
16
|
-
color: {
|
|
17
|
-
type: import("vue").PropType<string>;
|
|
18
|
-
};
|
|
19
|
-
value: {
|
|
20
|
-
type: import("vue").PropType<"desc" | "asc">;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
}>>, {}, {}>;
|
|
24
|
-
export default _default;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
items: {
|
|
3
|
-
type: import("vue").PropType<ListingEntryTypeExtended[]>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
textIfEmpty: {
|
|
7
|
-
type: import("vue").PropType<string>;
|
|
8
|
-
};
|
|
9
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
go: (name: string) => void;
|
|
11
|
-
action: (value: {
|
|
12
|
-
action: EntityAction;
|
|
13
|
-
entity: ListingEntryTypeExtended;
|
|
14
|
-
}) => void;
|
|
15
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
items: {
|
|
17
|
-
type: import("vue").PropType<ListingEntryTypeExtended[]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
textIfEmpty: {
|
|
21
|
-
type: import("vue").PropType<string>;
|
|
22
|
-
};
|
|
23
|
-
}>> & {
|
|
24
|
-
onGo?: ((name: string) => any) | undefined;
|
|
25
|
-
onAction?: ((value: {
|
|
26
|
-
action: EntityAction;
|
|
27
|
-
entity: ListingEntryTypeExtended;
|
|
28
|
-
}) => any) | undefined;
|
|
29
|
-
}, {}, {}>;
|
|
30
|
-
export default _default;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
text: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
rows: {
|
|
7
|
-
type: import("vue").PropType<number>;
|
|
8
|
-
};
|
|
9
|
-
maxRows: {
|
|
10
|
-
type: import("vue").PropType<number>;
|
|
11
|
-
};
|
|
12
|
-
label: {
|
|
13
|
-
type: import("vue").PropType<string>;
|
|
14
|
-
};
|
|
15
|
-
placeholder: {
|
|
16
|
-
type: import("vue").PropType<string>;
|
|
17
|
-
};
|
|
18
|
-
rules: {
|
|
19
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
20
|
-
};
|
|
21
|
-
disabled: {
|
|
22
|
-
type: import("vue").PropType<boolean>;
|
|
23
|
-
};
|
|
24
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
-
init: (value: HTMLTextAreaElement) => void;
|
|
26
|
-
input: (value: string) => void;
|
|
27
|
-
focus: (value: Event) => void;
|
|
28
|
-
blur: (value: Event) => void;
|
|
29
|
-
"update:text": (value: string) => void;
|
|
30
|
-
"update:valid": (value: boolean) => void;
|
|
31
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
text: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
rows: {
|
|
37
|
-
type: import("vue").PropType<number>;
|
|
38
|
-
};
|
|
39
|
-
maxRows: {
|
|
40
|
-
type: import("vue").PropType<number>;
|
|
41
|
-
};
|
|
42
|
-
label: {
|
|
43
|
-
type: import("vue").PropType<string>;
|
|
44
|
-
};
|
|
45
|
-
placeholder: {
|
|
46
|
-
type: import("vue").PropType<string>;
|
|
47
|
-
};
|
|
48
|
-
rules: {
|
|
49
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
50
|
-
};
|
|
51
|
-
disabled: {
|
|
52
|
-
type: import("vue").PropType<boolean>;
|
|
53
|
-
};
|
|
54
|
-
}>> & {
|
|
55
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
56
|
-
onBlur?: ((value: Event) => any) | undefined;
|
|
57
|
-
onInput?: ((value: string) => any) | undefined;
|
|
58
|
-
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
59
|
-
onInit?: ((value: HTMLTextAreaElement) => any) | undefined;
|
|
60
|
-
"onUpdate:text"?: ((value: string) => any) | undefined;
|
|
61
|
-
}, {}, {}>;
|
|
62
|
-
export default _default;
|
package/dist/types.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import 'pinia';
|
|
2
|
-
import type Ui3nIcon from './components/ui3n-icon.vue';
|
|
3
|
-
import { Ui3nButtonProps, Ui3nButtonEmits } from './components/ui3n-button.vue';
|
|
4
|
-
import type Ui3nEmoji from './components/ui3n-emoji.vue';
|
|
5
|
-
import type Ui3nDropFiles from './components/ui3n-drop-files.vue';
|
|
6
|
-
import { Ui3nInputProps, Ui3nInputEmits } from './components/ui3n-input.vue';
|
|
7
|
-
import type Ui3nText from './components/ui3n-text.vue';
|
|
8
|
-
import type Ui3nNotification from './components/ui3n-notification.vue';
|
|
9
|
-
import type Ui3nTableSortIcon from './components/ui3n-table-sort-icon.vue';
|
|
10
|
-
import type Ui3nTable from './components/ui3n-table.vue';
|
|
11
|
-
import type Ui3nHtml from './directives/ui3n-html';
|
|
12
|
-
export * from "./index";
|
|
13
|
-
declare module 'vue' {
|
|
14
|
-
interface GlobalComponents {
|
|
15
|
-
Ui3nIcon: typeof Ui3nIcon;
|
|
16
|
-
Ui3nButton: {
|
|
17
|
-
$props: Ui3nButtonProps;
|
|
18
|
-
$emits: Ui3nButtonEmits;
|
|
19
|
-
};
|
|
20
|
-
Ui3nEmoji: typeof Ui3nEmoji;
|
|
21
|
-
Ui3nDropFiles: typeof Ui3nDropFiles;
|
|
22
|
-
Ui3nInput: {
|
|
23
|
-
$props: Ui3nInputProps;
|
|
24
|
-
$emits: Ui3nInputEmits;
|
|
25
|
-
};
|
|
26
|
-
Ui3nText: typeof Ui3nText;
|
|
27
|
-
Ui3nNotification: typeof Ui3nNotification;
|
|
28
|
-
Ui3nTableSortIcon: typeof Ui3nTableSortIcon;
|
|
29
|
-
Ui3nTable: typeof Ui3nTable;
|
|
30
|
-
}
|
|
31
|
-
interface GlobalDirectives {
|
|
32
|
-
Ui3nHtml: typeof Ui3nHtml;
|
|
33
|
-
}
|
|
34
|
-
interface ComponentCustomProperties {
|
|
35
|
-
$createNotice: (params: Ui3nNotificationProps) => void;
|
|
36
|
-
$locale: string;
|
|
37
|
-
$tr: (key: string, placeholders?: Record<string, string>) => string;
|
|
38
|
-
$changeLocale: (lang: string) => void;
|
|
39
|
-
$emitter: {
|
|
40
|
-
on: (type: string | symbol, handler: Function) => void;
|
|
41
|
-
off: (type: string | symbol, handler?: Function) => void;
|
|
42
|
-
emit: (type: string | symbol, arguments?: any) => void;
|
|
43
|
-
once: (type: string | symbol, handler: Function) => void;
|
|
44
|
-
clear: () => void;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
declare module 'pinia' {
|
|
49
|
-
interface PiniaCustomProperties {
|
|
50
|
-
$emitter: {
|
|
51
|
-
on: (type: string | symbol, handler: Function) => void;
|
|
52
|
-
off: (type: string | symbol, handler?: Function) => void;
|
|
53
|
-
emit: (type: string | symbol, arguments?: any) => void;
|
|
54
|
-
once: (type: string | symbol, handler: Function) => void;
|
|
55
|
-
clear: () => void;
|
|
56
|
-
};
|
|
57
|
-
$i18n: {
|
|
58
|
-
locale: string;
|
|
59
|
-
changeLocale: (lang: string) => void;
|
|
60
|
-
tr: (key: string, placeholders?: Record<string, string>) => string;
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
}
|