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,136 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
type Part = 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second';
|
|
3
|
+
type Parts = Record<Part, string>;
|
|
4
|
+
type Segment = {
|
|
5
|
+
part: Part;
|
|
6
|
+
separator: string;
|
|
7
|
+
width: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const AppleDatePicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
label: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
hint: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
error: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
disabled: BooleanConstructor;
|
|
27
|
+
loading: BooleanConstructor;
|
|
28
|
+
required: BooleanConstructor;
|
|
29
|
+
min: StringConstructor;
|
|
30
|
+
max: StringConstructor;
|
|
31
|
+
format: StringConstructor;
|
|
32
|
+
granularity: StringConstructor;
|
|
33
|
+
type: {
|
|
34
|
+
type: PropType<"date" | "month" | "datetime-local" | "time">;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
motion: {
|
|
38
|
+
type: PropType<"inherit" | "auto" | "full" | "reduced" | "none">;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
}>, {}, {
|
|
42
|
+
inputId: string;
|
|
43
|
+
now: Date;
|
|
44
|
+
draft: Parts;
|
|
45
|
+
opened: boolean;
|
|
46
|
+
tab: string;
|
|
47
|
+
view: string;
|
|
48
|
+
cursor: Date;
|
|
49
|
+
focusedDate: string;
|
|
50
|
+
direction: number;
|
|
51
|
+
lastEmitted: string | null;
|
|
52
|
+
outside: ((event: PointerEvent) => void) | null;
|
|
53
|
+
}, {
|
|
54
|
+
pattern(): string;
|
|
55
|
+
segments(): Segment[];
|
|
56
|
+
hasDate(): boolean;
|
|
57
|
+
hasTime(): boolean;
|
|
58
|
+
placeholderParts(): Parts;
|
|
59
|
+
selectedDate(): string;
|
|
60
|
+
dates(): Date[];
|
|
61
|
+
years(): number[];
|
|
62
|
+
id(): string;
|
|
63
|
+
validity(): string;
|
|
64
|
+
}, {
|
|
65
|
+
lower(part: Part): number;
|
|
66
|
+
upper(part: Part): number;
|
|
67
|
+
normalizeBound(value: string): string;
|
|
68
|
+
sync(): void;
|
|
69
|
+
syncValidity(): void;
|
|
70
|
+
focus(part?: Part): void;
|
|
71
|
+
emitValue(commit?: boolean): void;
|
|
72
|
+
input(part: Part, event: Event): void;
|
|
73
|
+
commitPart(part: Part): void;
|
|
74
|
+
inputKey(part: Part, event: KeyboardEvent): void;
|
|
75
|
+
open(): void;
|
|
76
|
+
close(): void;
|
|
77
|
+
fillDefaults(): void;
|
|
78
|
+
dateDisabled(date: Date): boolean;
|
|
79
|
+
chooseDate(date: Date): void;
|
|
80
|
+
chooseMonth(month: number): void;
|
|
81
|
+
chooseYear(year: number): void;
|
|
82
|
+
move(direction: number): void;
|
|
83
|
+
calendarKey(date: Date, event: KeyboardEvent): void;
|
|
84
|
+
renderCalendar(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
}>;
|
|
87
|
+
renderTime(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
}>;
|
|
90
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
+
modelValue: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
label: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
hint: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
error: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
disabled: BooleanConstructor;
|
|
108
|
+
loading: BooleanConstructor;
|
|
109
|
+
required: BooleanConstructor;
|
|
110
|
+
min: StringConstructor;
|
|
111
|
+
max: StringConstructor;
|
|
112
|
+
format: StringConstructor;
|
|
113
|
+
granularity: StringConstructor;
|
|
114
|
+
type: {
|
|
115
|
+
type: PropType<"date" | "month" | "datetime-local" | "time">;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
motion: {
|
|
119
|
+
type: PropType<"inherit" | "auto" | "full" | "reduced" | "none">;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
}>> & Readonly<{
|
|
123
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
}>, {
|
|
126
|
+
error: string;
|
|
127
|
+
label: string;
|
|
128
|
+
disabled: boolean;
|
|
129
|
+
loading: boolean;
|
|
130
|
+
type: "time" | "date" | "month" | "datetime-local";
|
|
131
|
+
motion: "auto" | "full" | "reduced" | "none" | "inherit";
|
|
132
|
+
modelValue: string;
|
|
133
|
+
required: boolean;
|
|
134
|
+
hint: string;
|
|
135
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
136
|
+
export {};
|