@toife/vue 1.0.0
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/t-action.vue.d.ts +13 -0
- package/dist/components/t-alert.vue.d.ts +34 -0
- package/dist/components/t-app.vue.d.ts +17 -0
- package/dist/components/t-avatar.vue.d.ts +24 -0
- package/dist/components/t-back-button.vue.d.ts +20 -0
- package/dist/components/t-button.vue.d.ts +36 -0
- package/dist/components/t-cable.vue.d.ts +24 -0
- package/dist/components/t-card.vue.d.ts +22 -0
- package/dist/components/t-collapse.vue.d.ts +32 -0
- package/dist/components/t-content.vue.d.ts +17 -0
- package/dist/components/t-divider.vue.d.ts +7 -0
- package/dist/components/t-grid-item.vue.d.ts +2 -0
- package/dist/components/t-grid.vue.d.ts +2 -0
- package/dist/components/t-input.vue.d.ts +41 -0
- package/dist/components/t-loading-icon.vue.d.ts +23 -0
- package/dist/components/t-loading.vue.d.ts +33 -0
- package/dist/components/t-present.vue.d.ts +42 -0
- package/dist/components/t-pull-signal.vue.d.ts +7 -0
- package/dist/components/t-refresher.vue.d.ts +8 -0
- package/dist/components/t-rich-text.vue.d.ts +2 -0
- package/dist/components/t-screen.vue.d.ts +17 -0
- package/dist/components/t-sheet.vue.d.ts +219 -0
- package/dist/components/t-swipe-screen.vue.d.ts +6 -0
- package/dist/components/t-text.vue.d.ts +24 -0
- package/dist/components/t-textarea.vue.d.ts +2 -0
- package/dist/components/t-toogle-password.vue.d.ts +31 -0
- package/dist/components/t-toolbar.vue.d.ts +24 -0
- package/dist/controllers/action.d.ts +4 -0
- package/dist/controllers/alert.d.ts +4 -0
- package/dist/controllers/index.d.ts +6 -0
- package/dist/controllers/loading.d.ts +5 -0
- package/dist/controllers/present.d.ts +4 -0
- package/dist/controllers/screen.d.ts +9 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +785 -0
- package/dist/index.umd.js +1 -0
- package/dist/utils/defaultEvent.d.ts +2 -0
- package/dist/utils/element.d.ts +2 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/vue.css +1 -0
- package/package.json +38 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
background?: string;
|
|
3
|
+
visible?: boolean;
|
|
4
|
+
gesture?: boolean;
|
|
5
|
+
fullscreen?: boolean;
|
|
6
|
+
placement?: string;
|
|
7
|
+
keepalive?: boolean;
|
|
8
|
+
backdrop?: boolean;
|
|
9
|
+
rounded?: boolean;
|
|
10
|
+
closeButton?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
'close-icon'?(_: {}): any;
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {
|
|
19
|
+
present: ({
|
|
20
|
+
$: import('vue').ComponentInternalInstance;
|
|
21
|
+
$data: {};
|
|
22
|
+
$props: {
|
|
23
|
+
readonly keepalive?: boolean | undefined;
|
|
24
|
+
readonly visible?: boolean | undefined;
|
|
25
|
+
readonly backdrop?: boolean | undefined;
|
|
26
|
+
readonly placement?: string | undefined;
|
|
27
|
+
readonly onDismiss?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
29
|
+
$attrs: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
$refs: {
|
|
33
|
+
[x: string]: unknown;
|
|
34
|
+
} & {
|
|
35
|
+
present: HTMLDivElement;
|
|
36
|
+
backdrop: HTMLDivElement;
|
|
37
|
+
};
|
|
38
|
+
$slots: Readonly<{
|
|
39
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
42
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
43
|
+
$host: Element | null;
|
|
44
|
+
$emit: (event: "dismiss", ...args: any[]) => void;
|
|
45
|
+
$el: any;
|
|
46
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
47
|
+
keepalive?: boolean;
|
|
48
|
+
visible?: boolean;
|
|
49
|
+
backdrop?: boolean;
|
|
50
|
+
placement?: string;
|
|
51
|
+
}> & Readonly<{
|
|
52
|
+
onDismiss?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
render: (value: any) => void;
|
|
55
|
+
open: () => void;
|
|
56
|
+
close: () => void;
|
|
57
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
dismiss: (...args: any[]) => void;
|
|
59
|
+
}, string, {
|
|
60
|
+
placement: string;
|
|
61
|
+
keepalive: boolean;
|
|
62
|
+
visible: boolean;
|
|
63
|
+
backdrop: boolean;
|
|
64
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
65
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
66
|
+
created?: (() => void) | (() => void)[];
|
|
67
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
68
|
+
mounted?: (() => void) | (() => void)[];
|
|
69
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
70
|
+
updated?: (() => void) | (() => void)[];
|
|
71
|
+
activated?: (() => void) | (() => void)[];
|
|
72
|
+
deactivated?: (() => void) | (() => void)[];
|
|
73
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
74
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
75
|
+
destroyed?: (() => void) | (() => void)[];
|
|
76
|
+
unmounted?: (() => void) | (() => void)[];
|
|
77
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
78
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
79
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
80
|
+
};
|
|
81
|
+
$forceUpdate: () => void;
|
|
82
|
+
$nextTick: typeof import('vue').nextTick;
|
|
83
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
84
|
+
} & Readonly<{
|
|
85
|
+
placement: string;
|
|
86
|
+
keepalive: boolean;
|
|
87
|
+
visible: boolean;
|
|
88
|
+
backdrop: boolean;
|
|
89
|
+
}> & Omit<Readonly<{
|
|
90
|
+
keepalive?: boolean;
|
|
91
|
+
visible?: boolean;
|
|
92
|
+
backdrop?: boolean;
|
|
93
|
+
placement?: string;
|
|
94
|
+
}> & Readonly<{
|
|
95
|
+
onDismiss?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
}>, "close" | "render" | "open" | ("placement" | "keepalive" | "visible" | "backdrop")> & import('vue').ShallowUnwrapRef<{
|
|
97
|
+
render: (value: any) => void;
|
|
98
|
+
open: () => void;
|
|
99
|
+
close: () => void;
|
|
100
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
101
|
+
$slots: {
|
|
102
|
+
default?(_: {}): any;
|
|
103
|
+
};
|
|
104
|
+
}) | null;
|
|
105
|
+
sheet: HTMLDivElement;
|
|
106
|
+
};
|
|
107
|
+
rootEl: any;
|
|
108
|
+
};
|
|
109
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
110
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
111
|
+
dismiss: (...args: any[]) => void;
|
|
112
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
113
|
+
onDismiss?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
}>, {
|
|
115
|
+
placement: string;
|
|
116
|
+
rounded: boolean;
|
|
117
|
+
keepalive: boolean;
|
|
118
|
+
visible: boolean;
|
|
119
|
+
backdrop: boolean;
|
|
120
|
+
background: string;
|
|
121
|
+
gesture: boolean;
|
|
122
|
+
fullscreen: boolean;
|
|
123
|
+
closeButton: boolean;
|
|
124
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
125
|
+
present: ({
|
|
126
|
+
$: import('vue').ComponentInternalInstance;
|
|
127
|
+
$data: {};
|
|
128
|
+
$props: {
|
|
129
|
+
readonly keepalive?: boolean | undefined;
|
|
130
|
+
readonly visible?: boolean | undefined;
|
|
131
|
+
readonly backdrop?: boolean | undefined;
|
|
132
|
+
readonly placement?: string | undefined;
|
|
133
|
+
readonly onDismiss?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
135
|
+
$attrs: {
|
|
136
|
+
[x: string]: unknown;
|
|
137
|
+
};
|
|
138
|
+
$refs: {
|
|
139
|
+
[x: string]: unknown;
|
|
140
|
+
} & {
|
|
141
|
+
present: HTMLDivElement;
|
|
142
|
+
backdrop: HTMLDivElement;
|
|
143
|
+
};
|
|
144
|
+
$slots: Readonly<{
|
|
145
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
146
|
+
}>;
|
|
147
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
148
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
149
|
+
$host: Element | null;
|
|
150
|
+
$emit: (event: "dismiss", ...args: any[]) => void;
|
|
151
|
+
$el: any;
|
|
152
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
153
|
+
keepalive?: boolean;
|
|
154
|
+
visible?: boolean;
|
|
155
|
+
backdrop?: boolean;
|
|
156
|
+
placement?: string;
|
|
157
|
+
}> & Readonly<{
|
|
158
|
+
onDismiss?: ((...args: any[]) => any) | undefined;
|
|
159
|
+
}>, {
|
|
160
|
+
render: (value: any) => void;
|
|
161
|
+
open: () => void;
|
|
162
|
+
close: () => void;
|
|
163
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
164
|
+
dismiss: (...args: any[]) => void;
|
|
165
|
+
}, string, {
|
|
166
|
+
placement: string;
|
|
167
|
+
keepalive: boolean;
|
|
168
|
+
visible: boolean;
|
|
169
|
+
backdrop: boolean;
|
|
170
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
171
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
172
|
+
created?: (() => void) | (() => void)[];
|
|
173
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
174
|
+
mounted?: (() => void) | (() => void)[];
|
|
175
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
176
|
+
updated?: (() => void) | (() => void)[];
|
|
177
|
+
activated?: (() => void) | (() => void)[];
|
|
178
|
+
deactivated?: (() => void) | (() => void)[];
|
|
179
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
180
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
181
|
+
destroyed?: (() => void) | (() => void)[];
|
|
182
|
+
unmounted?: (() => void) | (() => void)[];
|
|
183
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
184
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
185
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
186
|
+
};
|
|
187
|
+
$forceUpdate: () => void;
|
|
188
|
+
$nextTick: typeof import('vue').nextTick;
|
|
189
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
190
|
+
} & Readonly<{
|
|
191
|
+
placement: string;
|
|
192
|
+
keepalive: boolean;
|
|
193
|
+
visible: boolean;
|
|
194
|
+
backdrop: boolean;
|
|
195
|
+
}> & Omit<Readonly<{
|
|
196
|
+
keepalive?: boolean;
|
|
197
|
+
visible?: boolean;
|
|
198
|
+
backdrop?: boolean;
|
|
199
|
+
placement?: string;
|
|
200
|
+
}> & Readonly<{
|
|
201
|
+
onDismiss?: ((...args: any[]) => any) | undefined;
|
|
202
|
+
}>, "close" | "render" | "open" | ("placement" | "keepalive" | "visible" | "backdrop")> & import('vue').ShallowUnwrapRef<{
|
|
203
|
+
render: (value: any) => void;
|
|
204
|
+
open: () => void;
|
|
205
|
+
close: () => void;
|
|
206
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
207
|
+
$slots: {
|
|
208
|
+
default?(_: {}): any;
|
|
209
|
+
};
|
|
210
|
+
}) | null;
|
|
211
|
+
sheet: HTMLDivElement;
|
|
212
|
+
}, any>;
|
|
213
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
214
|
+
export default _default;
|
|
215
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
216
|
+
new (): {
|
|
217
|
+
$slots: S;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
change: (...args: any[]) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
color?: any;
|
|
3
|
+
size?: any;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLSpanElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
+
size: any;
|
|
16
|
+
color: any;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTextAreaElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
color?: any;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
on?(_: {}): any;
|
|
8
|
+
off?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
toogle: HTMLButtonElement;
|
|
12
|
+
};
|
|
13
|
+
rootEl: HTMLButtonElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
change: (...args: any[]) => void;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
color: any;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
|
+
toogle: HTMLButtonElement;
|
|
24
|
+
}, HTMLButtonElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
placement?: any;
|
|
3
|
+
size?: any;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
+
placement: any;
|
|
16
|
+
size: any;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as createAlert } from './alert';
|
|
2
|
+
import { default as createAction } from './action';
|
|
3
|
+
import { default as createLoading } from './loading';
|
|
4
|
+
import { default as presentController } from './present';
|
|
5
|
+
import { default as screenController } from './screen';
|
|
6
|
+
export { createAction, createAlert, presentController, screenController, createLoading };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
screens: any;
|
|
3
|
+
addScreen: (screen: any) => void;
|
|
4
|
+
removeScreen: (index?: any) => void;
|
|
5
|
+
hasPrevious: import('vue').ComputedRef<boolean>;
|
|
6
|
+
currentScreen: import('vue').ComputedRef<any>;
|
|
7
|
+
lastScreen: import('vue').ComputedRef<any>;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
package/dist/index.d.ts
ADDED