@idds/vue 1.0.52
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 +313 -0
- package/dist/components/Accordion.vue.d.ts +85 -0
- package/dist/components/Accordion.vue.d.ts.map +1 -0
- package/dist/components/AccordionCard.vue.d.ts +66 -0
- package/dist/components/AccordionCard.vue.d.ts.map +1 -0
- package/dist/components/AccordionGroup.vue.d.ts +64 -0
- package/dist/components/AccordionGroup.vue.d.ts.map +1 -0
- package/dist/components/ActionDropdown.vue.d.ts +58 -0
- package/dist/components/ActionDropdown.vue.d.ts.map +1 -0
- package/dist/components/Alert.vue.d.ts +80 -0
- package/dist/components/Alert.vue.d.ts.map +1 -0
- package/dist/components/Avatar.vue.d.ts +70 -0
- package/dist/components/Avatar.vue.d.ts.map +1 -0
- package/dist/components/Badge.vue.d.ts +104 -0
- package/dist/components/Badge.vue.d.ts.map +1 -0
- package/dist/components/BottomSheet.vue.d.ts +48 -0
- package/dist/components/BottomSheet.vue.d.ts.map +1 -0
- package/dist/components/Breadcrumb.vue.d.ts +62 -0
- package/dist/components/Breadcrumb.vue.d.ts.map +1 -0
- package/dist/components/Button.vue.d.ts +102 -0
- package/dist/components/Button.vue.d.ts.map +1 -0
- package/dist/components/ButtonGroup.vue.d.ts +66 -0
- package/dist/components/ButtonGroup.vue.d.ts.map +1 -0
- package/dist/components/Card.vue.d.ts +115 -0
- package/dist/components/Card.vue.d.ts.map +1 -0
- package/dist/components/Checkbox.vue.d.ts +73 -0
- package/dist/components/Checkbox.vue.d.ts.map +1 -0
- package/dist/components/Chip.vue.d.ts +76 -0
- package/dist/components/Chip.vue.d.ts.map +1 -0
- package/dist/components/Collapse.vue.d.ts +60 -0
- package/dist/components/Collapse.vue.d.ts.map +1 -0
- package/dist/components/DatePicker.vue.d.ts +109 -0
- package/dist/components/DatePicker.vue.d.ts.map +1 -0
- package/dist/components/Divider.vue.d.ts +43 -0
- package/dist/components/Divider.vue.d.ts.map +1 -0
- package/dist/components/Drawer.vue.d.ts +91 -0
- package/dist/components/Drawer.vue.d.ts.map +1 -0
- package/dist/components/Dropdown.vue.d.ts +72 -0
- package/dist/components/Dropdown.vue.d.ts.map +1 -0
- package/dist/components/FieldInputTable.vue.d.ts +52 -0
- package/dist/components/FieldInputTable.vue.d.ts.map +1 -0
- package/dist/components/FileUpload.vue.d.ts +131 -0
- package/dist/components/FileUpload.vue.d.ts.map +1 -0
- package/dist/components/InputSearch.vue.d.ts +76 -0
- package/dist/components/InputSearch.vue.d.ts.map +1 -0
- package/dist/components/LinearProgressIndicator.vue.d.ts +47 -0
- package/dist/components/LinearProgressIndicator.vue.d.ts.map +1 -0
- package/dist/components/Modal.vue.d.ts +87 -0
- package/dist/components/Modal.vue.d.ts.map +1 -0
- package/dist/components/MonthPicker.vue.d.ts +69 -0
- package/dist/components/MonthPicker.vue.d.ts.map +1 -0
- package/dist/components/MultipleChoiceGrid.vue.d.ts +61 -0
- package/dist/components/MultipleChoiceGrid.vue.d.ts.map +1 -0
- package/dist/components/Pagination.vue.d.ts +99 -0
- package/dist/components/Pagination.vue.d.ts.map +1 -0
- package/dist/components/PasswordInput.vue.d.ts +68 -0
- package/dist/components/PasswordInput.vue.d.ts.map +1 -0
- package/dist/components/PhoneInput.vue.d.ts +89 -0
- package/dist/components/PhoneInput.vue.d.ts.map +1 -0
- package/dist/components/ProgressBar.vue.d.ts +75 -0
- package/dist/components/ProgressBar.vue.d.ts.map +1 -0
- package/dist/components/RadioInput.vue.d.ts +65 -0
- package/dist/components/RadioInput.vue.d.ts.map +1 -0
- package/dist/components/SelectDropdown.vue.d.ts +127 -0
- package/dist/components/SelectDropdown.vue.d.ts.map +1 -0
- package/dist/components/Skeleton.vue.d.ts +46 -0
- package/dist/components/Skeleton.vue.d.ts.map +1 -0
- package/dist/components/Spinner.vue.d.ts +58 -0
- package/dist/components/Spinner.vue.d.ts.map +1 -0
- package/dist/components/Stepper.vue.d.ts +49 -0
- package/dist/components/Stepper.vue.d.ts.map +1 -0
- package/dist/components/TabHorizontal.vue.d.ts +84 -0
- package/dist/components/TabHorizontal.vue.d.ts.map +1 -0
- package/dist/components/TabVertical.vue.d.ts +84 -0
- package/dist/components/TabVertical.vue.d.ts.map +1 -0
- package/dist/components/Table.vue.d.ts +160 -0
- package/dist/components/Table.vue.d.ts.map +1 -0
- package/dist/components/TableProgressBar.vue.d.ts +54 -0
- package/dist/components/TableProgressBar.vue.d.ts.map +1 -0
- package/dist/components/TextArea.vue.d.ts +121 -0
- package/dist/components/TextArea.vue.d.ts.map +1 -0
- package/dist/components/TextField.vue.d.ts +129 -0
- package/dist/components/TextField.vue.d.ts.map +1 -0
- package/dist/components/ThemeToggle.vue.d.ts +38 -0
- package/dist/components/ThemeToggle.vue.d.ts.map +1 -0
- package/dist/components/TimePicker.vue.d.ts +132 -0
- package/dist/components/TimePicker.vue.d.ts.map +1 -0
- package/dist/components/Toast.vue.d.ts +52 -0
- package/dist/components/Toast.vue.d.ts.map +1 -0
- package/dist/components/ToastProvider.vue.d.ts +12 -0
- package/dist/components/ToastProvider.vue.d.ts.map +1 -0
- package/dist/components/Toggle.vue.d.ts +71 -0
- package/dist/components/Toggle.vue.d.ts.map +1 -0
- package/dist/components/Tooltip.vue.d.ts +118 -0
- package/dist/components/Tooltip.vue.d.ts.map +1 -0
- package/dist/components/YearPicker.vue.d.ts +81 -0
- package/dist/components/YearPicker.vue.d.ts.map +1 -0
- package/dist/components/types.d.ts +5 -0
- package/dist/components/types.d.ts.map +1 -0
- package/dist/composables/useToast.d.ts +9 -0
- package/dist/composables/useToast.d.ts.map +1 -0
- package/dist/index.cjs.js +27 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +6239 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +10403 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +27 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/themes/index.d.ts +41 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/utils/fileValidation.d.ts +57 -0
- package/dist/utils/fileValidation.d.ts.map +1 -0
- package/dist/utils/security.d.ts +61 -0
- package/dist/utils/security.d.ts.map +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
export interface ThemeToggleProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
size?: 'sm' | 'md' | 'lg';
|
|
5
|
+
showLabel?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ThemeToggleProps>, {
|
|
8
|
+
className: string;
|
|
9
|
+
size: string;
|
|
10
|
+
showLabel: boolean;
|
|
11
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ThemeToggleProps>, {
|
|
12
|
+
className: string;
|
|
13
|
+
size: string;
|
|
14
|
+
showLabel: boolean;
|
|
15
|
+
}>>> & Readonly<{}>, {
|
|
16
|
+
size: "sm" | "md" | "lg";
|
|
17
|
+
className: string;
|
|
18
|
+
showLabel: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
38
|
+
//# sourceMappingURL=ThemeToggle.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeToggle.vue.d.ts","sourceRoot":"","sources":["../../src/components/ThemeToggle.vue"],"names":[],"mappings":"AAyBA;AAIA,OAAO,0CAA0C,CAAC;AAElD,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;;;;;;;;;;UAFQ,IAAI,GAAG,IAAI,GAAG,IAAI;eADb,MAAM;eAEN,OAAO;;AAkMrB,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
|
|
2
|
+
export type TimeFormat = 'HH:mm:ss' | 'HH:mm' | 'h:mm:ss a' | 'h:mm a' | string;
|
|
3
|
+
export type TimePickerSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export interface TimePickerProps {
|
|
5
|
+
/** Set default time */
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
/** Determine whether the TimePicker is disabled */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
/** To set the time format */
|
|
10
|
+
format?: TimeFormat;
|
|
11
|
+
/** Hour step interval */
|
|
12
|
+
hourStep?: number;
|
|
13
|
+
/** Minute step interval */
|
|
14
|
+
minuteStep?: number;
|
|
15
|
+
/** Second step interval */
|
|
16
|
+
secondStep?: number;
|
|
17
|
+
/** Placeholder text */
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
/** Size variant */
|
|
20
|
+
size?: TimePickerSize;
|
|
21
|
+
/** Status variant */
|
|
22
|
+
status?: 'neutral' | 'error' | 'warning' | 'success';
|
|
23
|
+
/** Current value */
|
|
24
|
+
modelValue?: string;
|
|
25
|
+
/** Callback when time changes */
|
|
26
|
+
onChange?: (time: string) => void;
|
|
27
|
+
/** Callback when picker open/close */
|
|
28
|
+
onOpenChange?: (open: boolean) => void;
|
|
29
|
+
/** Custom className */
|
|
30
|
+
className?: string;
|
|
31
|
+
/** Whether to use 12-hour format */
|
|
32
|
+
use12Hours?: boolean;
|
|
33
|
+
/** Show seconds column */
|
|
34
|
+
showSecond?: boolean;
|
|
35
|
+
/** Allow clear */
|
|
36
|
+
allowClear?: boolean;
|
|
37
|
+
/** Prefix icon */
|
|
38
|
+
prefixIcon?: any;
|
|
39
|
+
/** Suffix icon */
|
|
40
|
+
suffixIcon?: any;
|
|
41
|
+
/** Disable times before current time */
|
|
42
|
+
disabledBackTime?: boolean;
|
|
43
|
+
/** Disable times before this specific time (format: same as format prop) */
|
|
44
|
+
disabledTimeBefore?: string;
|
|
45
|
+
/** Disable times after this specific time (format: same as format prop) */
|
|
46
|
+
disabledTimeAfter?: string;
|
|
47
|
+
/** Show "Now" button to set current time */
|
|
48
|
+
showNowButton?: boolean;
|
|
49
|
+
}
|
|
50
|
+
declare function __VLS_template(): {
|
|
51
|
+
prefixIcon?(_: {}): any;
|
|
52
|
+
suffixIcon?(_: {}): any;
|
|
53
|
+
};
|
|
54
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TimePickerProps>, {
|
|
55
|
+
defaultValue: string;
|
|
56
|
+
disabled: boolean;
|
|
57
|
+
format: string;
|
|
58
|
+
hourStep: number;
|
|
59
|
+
minuteStep: number;
|
|
60
|
+
secondStep: number;
|
|
61
|
+
placeholder: string;
|
|
62
|
+
size: string;
|
|
63
|
+
status: string;
|
|
64
|
+
use12Hours: boolean;
|
|
65
|
+
showSecond: boolean;
|
|
66
|
+
allowClear: boolean;
|
|
67
|
+
disabledBackTime: boolean;
|
|
68
|
+
showNowButton: boolean;
|
|
69
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
70
|
+
change: (value: string) => void;
|
|
71
|
+
"update:modelValue": (value: string) => void;
|
|
72
|
+
"open-change": (open: boolean) => void;
|
|
73
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TimePickerProps>, {
|
|
74
|
+
defaultValue: string;
|
|
75
|
+
disabled: boolean;
|
|
76
|
+
format: string;
|
|
77
|
+
hourStep: number;
|
|
78
|
+
minuteStep: number;
|
|
79
|
+
secondStep: number;
|
|
80
|
+
placeholder: string;
|
|
81
|
+
size: string;
|
|
82
|
+
status: string;
|
|
83
|
+
use12Hours: boolean;
|
|
84
|
+
showSecond: boolean;
|
|
85
|
+
allowClear: boolean;
|
|
86
|
+
disabledBackTime: boolean;
|
|
87
|
+
showNowButton: boolean;
|
|
88
|
+
}>>> & Readonly<{
|
|
89
|
+
onChange?: (value: string) => any;
|
|
90
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
91
|
+
"onOpen-change"?: (open: boolean) => any;
|
|
92
|
+
}>, {
|
|
93
|
+
size: TimePickerSize;
|
|
94
|
+
disabled: boolean;
|
|
95
|
+
placeholder: string;
|
|
96
|
+
format: TimeFormat;
|
|
97
|
+
status: "neutral" | "error" | "warning" | "success";
|
|
98
|
+
defaultValue: string;
|
|
99
|
+
hourStep: number;
|
|
100
|
+
minuteStep: number;
|
|
101
|
+
secondStep: number;
|
|
102
|
+
use12Hours: boolean;
|
|
103
|
+
showSecond: boolean;
|
|
104
|
+
allowClear: boolean;
|
|
105
|
+
disabledBackTime: boolean;
|
|
106
|
+
showNowButton: boolean;
|
|
107
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
108
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
109
|
+
export default _default;
|
|
110
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
111
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
112
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
113
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
114
|
+
} : {
|
|
115
|
+
type: import('vue').PropType<T[K]>;
|
|
116
|
+
required: true;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
type __VLS_WithDefaults<P, D> = {
|
|
120
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
121
|
+
default: D[K];
|
|
122
|
+
}> : P[K];
|
|
123
|
+
};
|
|
124
|
+
type __VLS_Prettify<T> = {
|
|
125
|
+
[K in keyof T]: T[K];
|
|
126
|
+
} & {};
|
|
127
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
128
|
+
new (): {
|
|
129
|
+
$slots: S;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
//# sourceMappingURL=TimePicker.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimePicker.vue.d.ts","sourceRoot":"","sources":["../../src/components/TimePicker.vue"],"names":[],"mappings":"AAkMA;AAIA,OAAO,yCAAyC,CAAC;AAEjD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;AAChF,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD,MAAM,WAAW,eAAe;IAC9B,uBAAuB;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6BAA6B;IAC7B,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,qBAAqB;IACrB,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,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AAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Component, VNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface ToastProps {
|
|
4
|
+
show: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
title: string | VNode;
|
|
7
|
+
description?: string | VNode;
|
|
8
|
+
actionNode?: Component | VNode;
|
|
9
|
+
variant?: 'neutral' | 'positive' | 'warning' | 'info' | 'negative';
|
|
10
|
+
style?: 'outline' | 'solid';
|
|
11
|
+
duration?: number;
|
|
12
|
+
position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-middle' | 'bottom-middle' | 'left-middle' | 'right-middle';
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToastProps>, {
|
|
16
|
+
variant: string;
|
|
17
|
+
style: string;
|
|
18
|
+
duration: number;
|
|
19
|
+
position: string;
|
|
20
|
+
className: string;
|
|
21
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToastProps>, {
|
|
22
|
+
variant: string;
|
|
23
|
+
style: string;
|
|
24
|
+
duration: number;
|
|
25
|
+
position: string;
|
|
26
|
+
className: string;
|
|
27
|
+
}>>> & Readonly<{}>, {
|
|
28
|
+
duration: number;
|
|
29
|
+
style: "outline" | "solid";
|
|
30
|
+
className: string;
|
|
31
|
+
variant: "neutral" | "positive" | "warning" | "info" | "negative";
|
|
32
|
+
position: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-middle" | "bottom-middle" | "left-middle" | "right-middle";
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('vue').PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
+
default: D[K];
|
|
47
|
+
}> : P[K];
|
|
48
|
+
};
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
52
|
+
//# sourceMappingURL=Toast.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.vue.d.ts","sourceRoot":"","sources":["../../src/components/Toast.vue"],"names":[],"mappings":"AA2BA;AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAS5C,OAAO,mCAAmC,CAAC;AAG3C,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B,UAAU,CAAC,EAAE,SAAS,GAAG,KAAK,CAAC;IAC/B,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,CAAC;IACnE,KAAK,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EACL,UAAU,GACV,WAAW,GACX,aAAa,GACb,cAAc,GACd,YAAY,GACZ,eAAe,GACf,aAAa,GACb,cAAc,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;;;;;;;;;;;;;cAXY,MAAM;WADT,SAAS,GAAG,OAAO;eAWf,MAAM;aAZR,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU;cAI9D,UAAU,GACV,WAAW,GACX,aAAa,GACb,cAAc,GACd,YAAY,GACZ,eAAe,GACf,aAAa,GACb,cAAc;;AAsTpB,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=ToastProvider.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastProvider.vue.d.ts","sourceRoot":"","sources":["../../src/components/ToastProvider.vue"],"names":[],"mappings":"AAmBA;AAyCA,iBAAS,cAAc;qBAqDM,GAAG;EAG/B;AAUD,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
|
|
2
|
+
export interface ToggleProps {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
label?: string;
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
variant?: 'default' | 'primary' | 'success' | 'warning' | 'error';
|
|
7
|
+
status?: 'neutral' | 'success' | 'error' | 'warning';
|
|
8
|
+
statusMessage?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToggleProps>, {
|
|
16
|
+
modelValue: boolean;
|
|
17
|
+
size: string;
|
|
18
|
+
variant: string;
|
|
19
|
+
status: string;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
readonly: boolean;
|
|
22
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
change: (value: boolean) => void;
|
|
24
|
+
blur: (event: FocusEvent) => void;
|
|
25
|
+
focus: (event: FocusEvent) => void;
|
|
26
|
+
"update:modelValue": (value: boolean) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ToggleProps>, {
|
|
28
|
+
modelValue: boolean;
|
|
29
|
+
size: string;
|
|
30
|
+
variant: string;
|
|
31
|
+
status: string;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
readonly: boolean;
|
|
34
|
+
}>>> & Readonly<{
|
|
35
|
+
onChange?: (value: boolean) => any;
|
|
36
|
+
onBlur?: (event: FocusEvent) => any;
|
|
37
|
+
onFocus?: (event: FocusEvent) => any;
|
|
38
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
39
|
+
}>, {
|
|
40
|
+
size: "sm" | "md" | "lg";
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
variant: "default" | "primary" | "success" | "warning" | "error";
|
|
43
|
+
modelValue: boolean;
|
|
44
|
+
status: "neutral" | "success" | "error" | "warning";
|
|
45
|
+
readonly: boolean;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
+
} : {
|
|
54
|
+
type: import('vue').PropType<T[K]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
type __VLS_WithDefaults<P, D> = {
|
|
59
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
+
default: D[K];
|
|
61
|
+
}> : P[K];
|
|
62
|
+
};
|
|
63
|
+
type __VLS_Prettify<T> = {
|
|
64
|
+
[K in keyof T]: T[K];
|
|
65
|
+
} & {};
|
|
66
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=Toggle.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toggle.vue.d.ts","sourceRoot":"","sources":["../../src/components/Toggle.vue"],"names":[],"mappings":"AA+BA;AAGA,OAAO,oCAAoC,CAAC;AAE5C,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAClE,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACrD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA4HD,iBAAS,cAAc;qBA+GO,GAAG;EAGhC;AAmBD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;UAvQZ,IAAI,GAAG,IAAI,GAAG,IAAI;cAId,OAAO;aAHR,SAAS,GAAG,SAAS,GAAG,S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AC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
|
|
2
|
+
export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
3
|
+
export type TooltipVariant = 'basic' | 'light' | 'dark' | 'media' | 'custom';
|
|
4
|
+
export interface TooltipPagination {
|
|
5
|
+
current: number;
|
|
6
|
+
total: number;
|
|
7
|
+
}
|
|
8
|
+
export interface TooltipProps {
|
|
9
|
+
/**
|
|
10
|
+
* Judul tooltip (untuk basic/light/dark/media variant).
|
|
11
|
+
*/
|
|
12
|
+
title?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Deskripsi tooltip (untuk light/dark/media variant).
|
|
15
|
+
*/
|
|
16
|
+
description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Image/thumbnail untuk media variant.
|
|
19
|
+
*/
|
|
20
|
+
image?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Pagination dots { current: number, total: number }.
|
|
23
|
+
*/
|
|
24
|
+
pagination?: TooltipPagination;
|
|
25
|
+
/**
|
|
26
|
+
* Variant tooltip: basic, light, dark, media, custom.
|
|
27
|
+
*/
|
|
28
|
+
variant?: TooltipVariant;
|
|
29
|
+
/**
|
|
30
|
+
* Posisi tooltip relatif terhadap trigger element.
|
|
31
|
+
*/
|
|
32
|
+
placement?: TooltipPlacement;
|
|
33
|
+
/**
|
|
34
|
+
* Apakah menampilkan arrow.
|
|
35
|
+
*/
|
|
36
|
+
showArrow?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Delay sebelum show (ms).
|
|
39
|
+
*/
|
|
40
|
+
delay?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Disabled state.
|
|
43
|
+
*/
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Trigger type: hover, focus, click.
|
|
47
|
+
*/
|
|
48
|
+
trigger?: 'hover' | 'focus' | 'click';
|
|
49
|
+
}
|
|
50
|
+
declare function __VLS_template(): {
|
|
51
|
+
default?(_: {}): any;
|
|
52
|
+
content?(_: {}): any;
|
|
53
|
+
title?(_: {}): any;
|
|
54
|
+
image?(_: {}): any;
|
|
55
|
+
description?(_: {}): any;
|
|
56
|
+
actions?(_: {}): any;
|
|
57
|
+
};
|
|
58
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TooltipProps>, {
|
|
59
|
+
title: string;
|
|
60
|
+
description: string;
|
|
61
|
+
variant: string;
|
|
62
|
+
placement: string;
|
|
63
|
+
showArrow: boolean;
|
|
64
|
+
delay: number;
|
|
65
|
+
disabled: boolean;
|
|
66
|
+
trigger: string;
|
|
67
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
68
|
+
close: () => void;
|
|
69
|
+
show: () => void;
|
|
70
|
+
hide: () => void;
|
|
71
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TooltipProps>, {
|
|
72
|
+
title: string;
|
|
73
|
+
description: string;
|
|
74
|
+
variant: string;
|
|
75
|
+
placement: string;
|
|
76
|
+
showArrow: boolean;
|
|
77
|
+
delay: number;
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
trigger: string;
|
|
80
|
+
}>>> & Readonly<{
|
|
81
|
+
onClose?: () => any;
|
|
82
|
+
onShow?: () => any;
|
|
83
|
+
onHide?: () => any;
|
|
84
|
+
}>, {
|
|
85
|
+
disabled: boolean;
|
|
86
|
+
title: string;
|
|
87
|
+
variant: TooltipVariant;
|
|
88
|
+
placement: TooltipPlacement;
|
|
89
|
+
description: string;
|
|
90
|
+
trigger: "hover" | "focus" | "click";
|
|
91
|
+
showArrow: boolean;
|
|
92
|
+
delay: number;
|
|
93
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
94
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
95
|
+
export default _default;
|
|
96
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
97
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
98
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
99
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
100
|
+
} : {
|
|
101
|
+
type: import('vue').PropType<T[K]>;
|
|
102
|
+
required: true;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
type __VLS_WithDefaults<P, D> = {
|
|
106
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
107
|
+
default: D[K];
|
|
108
|
+
}> : P[K];
|
|
109
|
+
};
|
|
110
|
+
type __VLS_Prettify<T> = {
|
|
111
|
+
[K in keyof T]: T[K];
|
|
112
|
+
} & {};
|
|
113
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
114
|
+
new (): {
|
|
115
|
+
$slots: S;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
//# sourceMappingURL=Tooltip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.vue.d.ts","sourceRoot":"","sources":["../../src/components/Tooltip.vue"],"names":[],"mappings":"AAsHA;AAGA,OAAO,qCAAqC,CAAC;AAE7C,MAAM,MAAM,gBAAgB,GACxB,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,UAAU,GACV,aAAa,GACb,WAAW,CAAC;AAEhB,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE7E,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE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,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
|
|
2
|
+
export interface YearPickerProps {
|
|
3
|
+
modelValue?: number;
|
|
4
|
+
label?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
size?: 'sm' | 'md';
|
|
7
|
+
status?: 'neutral' | 'success' | 'error' | 'warning';
|
|
8
|
+
statusMessage?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
minYear?: number;
|
|
13
|
+
maxYear?: number;
|
|
14
|
+
decadeSize?: number;
|
|
15
|
+
showIcon?: boolean;
|
|
16
|
+
showClearButton?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<YearPickerProps>, {
|
|
19
|
+
modelValue: any;
|
|
20
|
+
size: string;
|
|
21
|
+
status: string;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
readonly: boolean;
|
|
24
|
+
required: boolean;
|
|
25
|
+
minYear: number;
|
|
26
|
+
maxYear: number;
|
|
27
|
+
decadeSize: number;
|
|
28
|
+
showIcon: boolean;
|
|
29
|
+
showClearButton: boolean;
|
|
30
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
clear: () => void;
|
|
32
|
+
change: (value: number) => void;
|
|
33
|
+
"update:modelValue": (value: number) => void;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<YearPickerProps>, {
|
|
35
|
+
modelValue: any;
|
|
36
|
+
size: string;
|
|
37
|
+
status: string;
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
readonly: boolean;
|
|
40
|
+
required: boolean;
|
|
41
|
+
minYear: number;
|
|
42
|
+
maxYear: number;
|
|
43
|
+
decadeSize: number;
|
|
44
|
+
showIcon: boolean;
|
|
45
|
+
showClearButton: boolean;
|
|
46
|
+
}>>> & Readonly<{
|
|
47
|
+
onClear?: () => any;
|
|
48
|
+
onChange?: (value: number) => any;
|
|
49
|
+
"onUpdate:modelValue"?: (value: number) => any;
|
|
50
|
+
}>, {
|
|
51
|
+
size: "sm" | "md";
|
|
52
|
+
required: boolean;
|
|
53
|
+
disabled: boolean;
|
|
54
|
+
modelValue: number;
|
|
55
|
+
status: "neutral" | "success" | "error" | "warning";
|
|
56
|
+
readonly: boolean;
|
|
57
|
+
showClearButton: boolean;
|
|
58
|
+
showIcon: boolean;
|
|
59
|
+
minYear: number;
|
|
60
|
+
maxYear: number;
|
|
61
|
+
decadeSize: number;
|
|
62
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
63
|
+
export default _default;
|
|
64
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
65
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
66
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
68
|
+
} : {
|
|
69
|
+
type: import('vue').PropType<T[K]>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
type __VLS_WithDefaults<P, D> = {
|
|
74
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
75
|
+
default: D[K];
|
|
76
|
+
}> : P[K];
|
|
77
|
+
};
|
|
78
|
+
type __VLS_Prettify<T> = {
|
|
79
|
+
[K in keyof T]: T[K];
|
|
80
|
+
} & {};
|
|
81
|
+
//# sourceMappingURL=YearPicker.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YearPicker.vue.d.ts","sourceRoot":"","sources":["../../src/components/YearPicker.vue"],"names":[],"mappings":"AAmLA;AAKA,OAAO,yCAAyC,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACrD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAA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AC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/components/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ToastProps } from '../components/Toast.vue';
|
|
2
|
+
|
|
3
|
+
export type ToastOptions = Omit<ToastProps, 'show' | 'onClose'>;
|
|
4
|
+
export interface ToastContextValue {
|
|
5
|
+
toast: (opts: ToastOptions) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const ToastContextKey: unique symbol;
|
|
8
|
+
export declare function useToast(): ToastContextValue;
|
|
9
|
+
//# sourceMappingURL=useToast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../src/composables/useToast.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAEhE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;CACrC;AAED,eAAO,MAAM,eAAe,eAAyB,CAAC;AAEtD,wBAAgB,QAAQ,IAAI,iBAAiB,CAY5C"}
|