apptify 0.2.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/LICENSE +25 -0
- package/README.md +294 -0
- package/dist/apptify.css +1 -0
- package/dist/apptify.js +5863 -0
- package/dist/components/button.d.ts +67 -0
- package/dist/components/content.d.ts +3038 -0
- package/dist/components/date-picker.d.ts +136 -0
- package/dist/components/forms.d.ts +2998 -0
- package/dist/components/foundation.d.ts +843 -0
- package/dist/components/motion.d.ts +131 -0
- package/dist/components/navibar.d.ts +184 -0
- package/dist/components/overlays.d.ts +1771 -0
- package/dist/core/context.d.ts +100 -0
- package/dist/core/motion.d.ts +10 -0
- package/dist/index.d.ts +4621 -0
- package/docs/COMPONENTS.md +204 -0
- package/docs/VALIDATION.md +36 -0
- package/package.json +55 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
export declare const AppleAutoSize: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
axis: {
|
|
4
|
+
type: PropType<"height" | "both">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
motion: {
|
|
8
|
+
type: PropType<import("..").ComponentMotion>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {
|
|
12
|
+
motionMode(): "full" | "reduced" | "none";
|
|
13
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
axis: {
|
|
15
|
+
type: PropType<"height" | "both">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
motion: {
|
|
19
|
+
type: PropType<import("..").ComponentMotion>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {
|
|
23
|
+
motion: import("..").ComponentMotion;
|
|
24
|
+
axis: "height" | "both";
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export declare const AppleTransition: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
27
|
+
name: {
|
|
28
|
+
type: PropType<"page" | "slide-x" | "slide-y" | "fade">;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
mode: {
|
|
32
|
+
type: PropType<"out-in" | "in-out" | "default">;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
appear: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
motion: {
|
|
40
|
+
type: PropType<import("..").ComponentMotion>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
name: {
|
|
45
|
+
type: PropType<"page" | "slide-x" | "slide-y" | "fade">;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
mode: {
|
|
49
|
+
type: PropType<"out-in" | "in-out" | "default">;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
appear: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
motion: {
|
|
57
|
+
type: PropType<import("..").ComponentMotion>;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{}>, {
|
|
61
|
+
name: "page" | "slide-x" | "slide-y" | "fade";
|
|
62
|
+
mode: "in-out" | "out-in" | "default";
|
|
63
|
+
motion: import("..").ComponentMotion;
|
|
64
|
+
appear: boolean;
|
|
65
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
66
|
+
export declare const motionComponents: {
|
|
67
|
+
AppleAutoSize: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
68
|
+
axis: {
|
|
69
|
+
type: PropType<"height" | "both">;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
motion: {
|
|
73
|
+
type: PropType<import("..").ComponentMotion>;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
}>, {}, {}, {
|
|
77
|
+
motionMode(): "full" | "reduced" | "none";
|
|
78
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
axis: {
|
|
80
|
+
type: PropType<"height" | "both">;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
motion: {
|
|
84
|
+
type: PropType<import("..").ComponentMotion>;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
}>> & Readonly<{}>, {
|
|
88
|
+
motion: import("..").ComponentMotion;
|
|
89
|
+
axis: "height" | "both";
|
|
90
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
91
|
+
AppleTransition: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
92
|
+
name: {
|
|
93
|
+
type: PropType<"page" | "slide-x" | "slide-y" | "fade">;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
mode: {
|
|
97
|
+
type: PropType<"out-in" | "in-out" | "default">;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
appear: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
motion: {
|
|
105
|
+
type: PropType<import("..").ComponentMotion>;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
+
name: {
|
|
110
|
+
type: PropType<"page" | "slide-x" | "slide-y" | "fade">;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
mode: {
|
|
114
|
+
type: PropType<"out-in" | "in-out" | "default">;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
appear: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
motion: {
|
|
122
|
+
type: PropType<import("..").ComponentMotion>;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
}>> & Readonly<{}>, {
|
|
126
|
+
name: "page" | "slide-x" | "slide-y" | "fade";
|
|
127
|
+
mode: "in-out" | "out-in" | "default";
|
|
128
|
+
motion: import("..").ComponentMotion;
|
|
129
|
+
appear: boolean;
|
|
130
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
131
|
+
};
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { AppleItem, AppleValue } from './content';
|
|
3
|
+
export declare const AppleNavibar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
items: {
|
|
5
|
+
type: PropType<AppleItem[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
modelValue: PropType<AppleValue>;
|
|
9
|
+
brand: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
brandHref: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
label: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
fixed: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
breakpoint: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
motion: {
|
|
30
|
+
type: PropType<import("..").ComponentMotion>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
}>, {
|
|
34
|
+
uid: string;
|
|
35
|
+
}, {
|
|
36
|
+
collapsed: boolean;
|
|
37
|
+
open: boolean;
|
|
38
|
+
localValue: AppleValue | undefined;
|
|
39
|
+
observer: ResizeObserver | null;
|
|
40
|
+
}, {
|
|
41
|
+
activeValue(): AppleValue | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
measure(): void;
|
|
44
|
+
setOpen(value: boolean): void;
|
|
45
|
+
close(restore?: boolean): void;
|
|
46
|
+
focusFirst(): void;
|
|
47
|
+
outside(event: PointerEvent): void;
|
|
48
|
+
escape(event: KeyboardEvent): void;
|
|
49
|
+
select(item: AppleItem, event: MouseEvent): void;
|
|
50
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "update:modelValue")[], "change" | "toggle" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
items: {
|
|
52
|
+
type: PropType<AppleItem[]>;
|
|
53
|
+
default: () => never[];
|
|
54
|
+
};
|
|
55
|
+
modelValue: PropType<AppleValue>;
|
|
56
|
+
brand: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
brandHref: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
label: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
fixed: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
breakpoint: {
|
|
73
|
+
type: NumberConstructor;
|
|
74
|
+
default: number;
|
|
75
|
+
};
|
|
76
|
+
motion: {
|
|
77
|
+
type: PropType<import("..").ComponentMotion>;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{
|
|
81
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onToggle?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
}>, {
|
|
85
|
+
fixed: boolean;
|
|
86
|
+
label: string;
|
|
87
|
+
motion: import("..").ComponentMotion;
|
|
88
|
+
items: AppleItem[];
|
|
89
|
+
brand: string;
|
|
90
|
+
brandHref: string;
|
|
91
|
+
breakpoint: number;
|
|
92
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
93
|
+
export declare const navigationComponents: {
|
|
94
|
+
AppleNavibar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
95
|
+
items: {
|
|
96
|
+
type: PropType<AppleItem[]>;
|
|
97
|
+
default: () => never[];
|
|
98
|
+
};
|
|
99
|
+
modelValue: PropType<AppleValue>;
|
|
100
|
+
brand: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
brandHref: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
label: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
fixed: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
breakpoint: {
|
|
117
|
+
type: NumberConstructor;
|
|
118
|
+
default: number;
|
|
119
|
+
};
|
|
120
|
+
motion: {
|
|
121
|
+
type: PropType<import("..").ComponentMotion>;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
}>, {
|
|
125
|
+
uid: string;
|
|
126
|
+
}, {
|
|
127
|
+
collapsed: boolean;
|
|
128
|
+
open: boolean;
|
|
129
|
+
localValue: AppleValue | undefined;
|
|
130
|
+
observer: ResizeObserver | null;
|
|
131
|
+
}, {
|
|
132
|
+
activeValue(): AppleValue | undefined;
|
|
133
|
+
}, {
|
|
134
|
+
measure(): void;
|
|
135
|
+
setOpen(value: boolean): void;
|
|
136
|
+
close(restore?: boolean): void;
|
|
137
|
+
focusFirst(): void;
|
|
138
|
+
outside(event: PointerEvent): void;
|
|
139
|
+
escape(event: KeyboardEvent): void;
|
|
140
|
+
select(item: AppleItem, event: MouseEvent): void;
|
|
141
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "update:modelValue")[], "change" | "toggle" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
142
|
+
items: {
|
|
143
|
+
type: PropType<AppleItem[]>;
|
|
144
|
+
default: () => never[];
|
|
145
|
+
};
|
|
146
|
+
modelValue: PropType<AppleValue>;
|
|
147
|
+
brand: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
brandHref: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
label: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
fixed: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
breakpoint: {
|
|
164
|
+
type: NumberConstructor;
|
|
165
|
+
default: number;
|
|
166
|
+
};
|
|
167
|
+
motion: {
|
|
168
|
+
type: PropType<import("..").ComponentMotion>;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
}>> & Readonly<{
|
|
172
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
173
|
+
onToggle?: ((...args: any[]) => any) | undefined;
|
|
174
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
175
|
+
}>, {
|
|
176
|
+
fixed: boolean;
|
|
177
|
+
label: string;
|
|
178
|
+
motion: import("..").ComponentMotion;
|
|
179
|
+
items: AppleItem[];
|
|
180
|
+
brand: string;
|
|
181
|
+
brandHref: string;
|
|
182
|
+
breakpoint: number;
|
|
183
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
184
|
+
};
|