@gspa/ui 0.1.4 → 0.3.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/README.md +34 -1
- package/dist/Button.vue_vue_type_script_setup_true_lang-B3TkBTvG.js +205 -0
- package/dist/Button.vue_vue_type_script_setup_true_lang-DZxttvYH.cjs +1 -0
- package/dist/DataTable.css +1 -0
- package/dist/DataTableToolBar.css +1 -0
- package/dist/DatePicker.vue_vue_type_script_setup_true_lang-CIKiZaO1.cjs +1 -0
- package/dist/DatePicker.vue_vue_type_script_setup_true_lang-Dx_9f8DO.js +557 -0
- package/dist/FormField.vue_vue_type_script_setup_true_lang-BljDj5YZ.js +205 -0
- package/dist/FormField.vue_vue_type_script_setup_true_lang-FWitIR3U.cjs +1 -0
- package/dist/Header.css +1 -0
- package/dist/Input.vue_vue_type_script_setup_true_lang-C1OQn24h.cjs +1 -0
- package/dist/Input.vue_vue_type_script_setup_true_lang-CpBoY97r.js +137 -0
- package/dist/Loader.css +1 -0
- package/dist/ReminderConfig.css +1 -0
- package/dist/ReusableForm.css +1 -0
- package/dist/Sidebar.css +1 -0
- package/dist/Toast.css +1 -0
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.js +5 -5
- package/dist/components/Alert.cjs +1 -1
- package/dist/components/Alert.js +71 -66
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.js +2 -188
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.js +1 -1
- package/dist/components/DataTableFilters.cjs +1 -1
- package/dist/components/DataTableFilters.js +19 -19
- package/dist/components/DataTableToolBar.cjs +1 -1
- package/dist/components/DataTableToolBar.js +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.js +2 -399
- package/dist/components/FormField.cjs +1 -1
- package/dist/components/FormField.js +2 -188
- package/dist/components/GraphFilters.cjs +1 -1
- package/dist/components/GraphFilters.js +29 -29
- package/dist/components/Icon.cjs +1 -1
- package/dist/components/Icon.js +23 -16
- package/dist/components/Input.cjs +1 -1
- package/dist/components/Input.js +2 -164
- package/dist/components/ReusableForm.cjs +1 -1
- package/dist/components/ReusableForm.js +188 -159
- package/dist/components/ThemeConfigurator.cjs +1 -1
- package/dist/components/ThemeConfigurator.js +51 -28
- package/dist/gspa-ui.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +124 -118
- package/dist/layouts/AuthLayout.cjs +1 -1
- package/dist/layouts/AuthLayout.js +110 -112
- package/dist/lib/form-field.cjs +1 -0
- package/dist/lib/form-field.js +4 -0
- package/dist/lib/icon.cjs +1 -0
- package/dist/lib/icon.js +4 -0
- package/dist/lib/theme.cjs +1 -1
- package/dist/lib/theme.js +73 -63
- package/dist/src/components/Alert.vue.d.ts.map +1 -1
- package/dist/src/components/Button.vue.d.ts +127 -29
- package/dist/src/components/Button.vue.d.ts.map +1 -1
- package/dist/src/components/Calendar.vue.d.ts +4 -4
- package/dist/src/components/Checkbox.vue.d.ts +2 -2
- package/dist/src/components/DataTable.vue.d.ts +1 -1
- package/dist/src/components/DatePicker.vue.d.ts +139 -29
- package/dist/src/components/DatePicker.vue.d.ts.map +1 -1
- package/dist/src/components/FormField.vue.d.ts +106 -38
- package/dist/src/components/FormField.vue.d.ts.map +1 -1
- package/dist/src/components/Icon.vue.d.ts.map +1 -1
- package/dist/src/components/Input.vue.d.ts +137 -33
- package/dist/src/components/Input.vue.d.ts.map +1 -1
- package/dist/src/components/ReusableForm.vue.d.ts +1 -1
- package/dist/src/components/ReusableForm.vue.d.ts.map +1 -1
- package/dist/src/components/ReusableFormModal.vue.d.ts +1 -1
- package/dist/src/components/Textarea.vue.d.ts +2 -2
- package/dist/src/index.d.ts +9 -4
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/layouts/AuthLayout.vue.d.ts +2 -0
- package/dist/src/layouts/AuthLayout.vue.d.ts.map +1 -1
- package/dist/src/lib/form-field.d.ts +2 -0
- package/dist/src/lib/form-field.d.ts.map +1 -0
- package/dist/src/lib/icon.d.ts +2 -0
- package/dist/src/lib/icon.d.ts.map +1 -0
- package/dist/src/lib/theme.d.ts +4 -0
- package/dist/src/lib/theme.d.ts.map +1 -1
- package/dist/src/types.d.ts +47 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/styles/auth-layout.css +1 -0
- package/dist/styles/button.css +1 -0
- package/dist/styles/form-field.css +1 -0
- package/dist/styles/input.css +1 -0
- package/dist/styles/tokens.css +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -3
- package/dist/src/__tests__/Alert.spec.d.ts +0 -2
- package/dist/src/__tests__/Alert.spec.d.ts.map +0 -1
- package/dist/src/__tests__/App.spec.d.ts +0 -2
- package/dist/src/__tests__/App.spec.d.ts.map +0 -1
- package/dist/src/__tests__/AuthLayout.spec.d.ts +0 -2
- package/dist/src/__tests__/AuthLayout.spec.d.ts.map +0 -1
- package/dist/src/__tests__/Badge.spec.d.ts +0 -2
- package/dist/src/__tests__/Badge.spec.d.ts.map +0 -1
- package/dist/src/__tests__/Button.spec.d.ts +0 -2
- package/dist/src/__tests__/Button.spec.d.ts.map +0 -1
- package/dist/src/__tests__/Card.spec.d.ts +0 -2
- package/dist/src/__tests__/Card.spec.d.ts.map +0 -1
- package/dist/src/__tests__/Checkbox.spec.d.ts +0 -2
- package/dist/src/__tests__/Checkbox.spec.d.ts.map +0 -1
- package/dist/src/__tests__/Dropdown.spec.d.ts +0 -2
- package/dist/src/__tests__/Dropdown.spec.d.ts.map +0 -1
- package/dist/src/__tests__/Input.spec.d.ts +0 -2
- package/dist/src/__tests__/Input.spec.d.ts.map +0 -1
- package/dist/src/__tests__/Modal.spec.d.ts +0 -2
- package/dist/src/__tests__/Modal.spec.d.ts.map +0 -1
- package/dist/src/__tests__/Radio.spec.d.ts +0 -2
- package/dist/src/__tests__/Radio.spec.d.ts.map +0 -1
- package/dist/src/__tests__/ReusableForm.spec.d.ts +0 -2
- package/dist/src/__tests__/ReusableForm.spec.d.ts.map +0 -1
- package/dist/src/__tests__/Tabs.spec.d.ts +0 -2
- package/dist/src/__tests__/Tabs.spec.d.ts.map +0 -1
- package/dist/src/__tests__/integration/CardIntegration.spec.d.ts +0 -2
- package/dist/src/__tests__/integration/CardIntegration.spec.d.ts.map +0 -1
- package/dist/src/__tests__/integration/FormIntegration.spec.d.ts +0 -2
- package/dist/src/__tests__/integration/FormIntegration.spec.d.ts.map +0 -1
- package/dist/src/__tests__/integration/ModalIntegration.spec.d.ts +0 -2
- package/dist/src/__tests__/integration/ModalIntegration.spec.d.ts.map +0 -1
- package/dist/src/__tests__/integration/NavigationIntegration.spec.d.ts +0 -2
- package/dist/src/__tests__/integration/NavigationIntegration.spec.d.ts.map +0 -1
|
@@ -1,34 +1,132 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { AuthRule, ButtonSize, ButtonType, ButtonUnauthorizedBehavior, ButtonVariant } from '../types.js';
|
|
3
|
+
declare var __VLS_5: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_5) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
variant: {
|
|
9
|
+
type: PropType<ButtonVariant>;
|
|
10
|
+
default: string;
|
|
11
|
+
validator: (value: ButtonVariant) => boolean;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
type: PropType<ButtonSize>;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: ButtonSize) => boolean;
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
loading: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
loadingText: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: any;
|
|
29
|
+
};
|
|
30
|
+
loadingLabel: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
type: {
|
|
35
|
+
type: PropType<ButtonType>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
icon: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
permission: {
|
|
43
|
+
type: PropType<AuthRule>;
|
|
44
|
+
default: any;
|
|
45
|
+
};
|
|
46
|
+
role: {
|
|
47
|
+
type: PropType<AuthRule>;
|
|
48
|
+
default: any;
|
|
49
|
+
};
|
|
50
|
+
requireAll: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
unauthorized: {
|
|
55
|
+
type: PropType<ButtonUnauthorizedBehavior>;
|
|
56
|
+
default: string;
|
|
57
|
+
validator: (value: ButtonUnauthorizedBehavior) => boolean;
|
|
58
|
+
};
|
|
59
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
variant: {
|
|
61
|
+
type: PropType<ButtonVariant>;
|
|
62
|
+
default: string;
|
|
63
|
+
validator: (value: ButtonVariant) => boolean;
|
|
64
|
+
};
|
|
65
|
+
size: {
|
|
66
|
+
type: PropType<ButtonSize>;
|
|
67
|
+
default: string;
|
|
68
|
+
validator: (value: ButtonSize) => boolean;
|
|
69
|
+
};
|
|
70
|
+
disabled: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
loading: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
loadingText: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: any;
|
|
81
|
+
};
|
|
82
|
+
loadingLabel: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
type: {
|
|
87
|
+
type: PropType<ButtonType>;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
icon: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: any;
|
|
93
|
+
};
|
|
94
|
+
permission: {
|
|
95
|
+
type: PropType<AuthRule>;
|
|
96
|
+
default: any;
|
|
97
|
+
};
|
|
98
|
+
role: {
|
|
99
|
+
type: PropType<AuthRule>;
|
|
100
|
+
default: any;
|
|
101
|
+
};
|
|
102
|
+
requireAll: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
unauthorized: {
|
|
107
|
+
type: PropType<ButtonUnauthorizedBehavior>;
|
|
108
|
+
default: string;
|
|
109
|
+
validator: (value: ButtonUnauthorizedBehavior) => boolean;
|
|
110
|
+
};
|
|
111
|
+
}>> & Readonly<{}>, {
|
|
112
|
+
type: ButtonType;
|
|
113
|
+
icon: string;
|
|
114
|
+
size: ButtonSize;
|
|
115
|
+
role: AuthRule;
|
|
116
|
+
variant: ButtonVariant;
|
|
10
117
|
disabled: boolean;
|
|
11
118
|
loading: boolean;
|
|
119
|
+
loadingText: string;
|
|
120
|
+
loadingLabel: string;
|
|
121
|
+
permission: AuthRule;
|
|
12
122
|
requireAll: boolean;
|
|
13
|
-
unauthorized:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
declare const props: {
|
|
23
|
-
readonly size: string;
|
|
24
|
-
readonly variant: string;
|
|
25
|
-
readonly disabled: boolean;
|
|
26
|
-
readonly loading: boolean;
|
|
27
|
-
readonly requireAll: boolean;
|
|
28
|
-
readonly unauthorized: string;
|
|
29
|
-
readonly icon?: string;
|
|
30
|
-
readonly role?: string | boolean | Function | unknown[];
|
|
31
|
-
readonly loadingText?: string;
|
|
32
|
-
readonly permission?: string | boolean | Function | unknown[];
|
|
123
|
+
unauthorized: ButtonUnauthorizedBehavior;
|
|
124
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
125
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
126
|
+
export default _default;
|
|
127
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
128
|
+
new (): {
|
|
129
|
+
$slots: S;
|
|
130
|
+
};
|
|
33
131
|
};
|
|
34
132
|
//# sourceMappingURL=Button.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button.vue"],"names":[],"mappings":"AAAA,OA6RO,EAAoB,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAKrD,OAAO,KAAK,EAAgB,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAqU5H,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAgG/C,QAAA,MAAM,eAAe;;cAGD,QAAQ,CAAC,aAAa,CAAC;;2BAEpB,aAAa;;;cAsBhB,QAAQ,CAAC,UAAU,CAAC;;2BAEjB,UAAU;;;;;;;;;;;;;;;;;;;cAoBb,QAAQ,CAAC,UAAU,CAAC;;;;;;;;cAQQ,QAAQ,CAAC,QAAQ,CAAC;;;;cAIlB,QAAQ,CAAC,QAAQ,CAAC;;;;;;;;cAQ9C,QAAQ,CAAC,0BAA0B,CAAC;;2BAEjC,0BAA0B;;;;cApE7B,QAAQ,CAAC,aAAa,CAAC;;2BAEpB,aAAa;;;cAsBhB,QAAQ,CAAC,UAAU,CAAC;;2BAEjB,UAAU;;;;;;;;;;;;;;;;;;;cAoBb,QAAQ,CAAC,UAAU,CAAC;;;;;;;;cAQQ,QAAQ,CAAC,QAAQ,CAAC;;;;cAIlB,QAAQ,CAAC,QAAQ,CAAC;;;;;;;;cAQ9C,QAAQ,CAAC,0BAA0B,CAAC;;2BAEjC,0BAA0B;;;;;;;;;;;;;;;4EAG/C,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -7,14 +7,14 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
7
7
|
clearable: boolean;
|
|
8
8
|
format: string;
|
|
9
9
|
showToday: boolean;
|
|
10
|
+
calendarPosition: string;
|
|
10
11
|
enableTime: boolean;
|
|
11
12
|
minuteInterval: number;
|
|
12
|
-
calendarPosition: string;
|
|
13
13
|
modelValue?: string | Date;
|
|
14
14
|
id?: string;
|
|
15
15
|
max?: string | Date;
|
|
16
|
-
min?: string | Date;
|
|
17
16
|
ariaDescribedby?: string;
|
|
17
|
+
min?: string | Date;
|
|
18
18
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
19
|
export default _default;
|
|
20
20
|
declare const emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
@@ -25,13 +25,13 @@ declare const props: {
|
|
|
25
25
|
readonly clearable: boolean;
|
|
26
26
|
readonly format: string;
|
|
27
27
|
readonly showToday: boolean;
|
|
28
|
+
readonly calendarPosition: string;
|
|
28
29
|
readonly enableTime: boolean;
|
|
29
30
|
readonly minuteInterval: number;
|
|
30
|
-
readonly calendarPosition: string;
|
|
31
31
|
readonly modelValue?: string | Date;
|
|
32
32
|
readonly id?: string;
|
|
33
33
|
readonly max?: string | Date;
|
|
34
|
-
readonly min?: string | Date;
|
|
35
34
|
readonly ariaDescribedby?: string;
|
|
35
|
+
readonly min?: string | Date;
|
|
36
36
|
};
|
|
37
37
|
//# sourceMappingURL=Calendar.vue.d.ts.map
|
|
@@ -14,9 +14,9 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
14
14
|
indeterminate: boolean;
|
|
15
15
|
value?: string | number | boolean;
|
|
16
16
|
label?: string;
|
|
17
|
+
error?: string;
|
|
17
18
|
description?: string;
|
|
18
19
|
id?: string;
|
|
19
|
-
error?: string;
|
|
20
20
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
21
|
type __VLS_Slots = {
|
|
22
22
|
default?: (props: {}) => any;
|
|
@@ -31,8 +31,8 @@ declare const props: {
|
|
|
31
31
|
readonly indeterminate: boolean;
|
|
32
32
|
readonly value?: string | number | boolean;
|
|
33
33
|
readonly label?: string;
|
|
34
|
+
readonly error?: string;
|
|
34
35
|
readonly description?: string;
|
|
35
36
|
readonly id?: string;
|
|
36
|
-
readonly error?: string;
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=Checkbox.vue.d.ts.map
|
|
@@ -91,7 +91,7 @@ type __VLS_Slots = {
|
|
|
91
91
|
} & {
|
|
92
92
|
footer?: (props: {}) => any;
|
|
93
93
|
};
|
|
94
|
-
declare const emit: (event: "
|
|
94
|
+
declare const emit: (event: "add" | "action" | "refresh" | "row-click" | "update:density" | "toggle-column" | "add-button-click" | "update:filterRules" | "selection-change" | "sort-change" | "page-change" | "page-size-change", ...args: any[]) => void;
|
|
95
95
|
declare const props: {
|
|
96
96
|
readonly data: unknown[];
|
|
97
97
|
readonly variant: string;
|
|
@@ -1,39 +1,149 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { DatePickerDate, DatePickerView, DatePickerYearRange } from '../types.js';
|
|
3
|
+
type DisabledDates = DatePickerDate[] | ((date: Date) => boolean);
|
|
4
|
+
type DateValidation = (date: Date) => string | null;
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
id: StringConstructor;
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<DatePickerDate>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
disabled: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
required: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
min: PropType<DatePickerDate>;
|
|
20
|
+
max: PropType<DatePickerDate>;
|
|
21
|
+
minDate: PropType<DatePickerDate>;
|
|
22
|
+
maxDate: PropType<DatePickerDate>;
|
|
23
|
+
yearRange: PropType<DatePickerYearRange>;
|
|
24
|
+
initialView: {
|
|
25
|
+
type: PropType<DatePickerView>;
|
|
26
|
+
default: string;
|
|
27
|
+
validator: (value: string) => boolean;
|
|
28
|
+
};
|
|
29
|
+
placeholder: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
format: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
clearable: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
showToday: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
calendarPosition: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
ariaDescribedby: StringConstructor;
|
|
50
|
+
customValidation: {
|
|
51
|
+
type: PropType<DateValidation>;
|
|
52
|
+
default: any;
|
|
53
|
+
};
|
|
54
|
+
disabledDates: {
|
|
55
|
+
type: PropType<DisabledDates>;
|
|
56
|
+
default: any;
|
|
57
|
+
};
|
|
58
|
+
enableTime: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
minuteInterval: {
|
|
63
|
+
type: NumberConstructor;
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
67
|
+
"update:modelValue": (value: string) => any;
|
|
68
|
+
"validation-error": (error: string) => any;
|
|
69
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
id: StringConstructor;
|
|
71
|
+
modelValue: {
|
|
72
|
+
type: PropType<DatePickerDate>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
disabled: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
required: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
min: PropType<DatePickerDate>;
|
|
84
|
+
max: PropType<DatePickerDate>;
|
|
85
|
+
minDate: PropType<DatePickerDate>;
|
|
86
|
+
maxDate: PropType<DatePickerDate>;
|
|
87
|
+
yearRange: PropType<DatePickerYearRange>;
|
|
88
|
+
initialView: {
|
|
89
|
+
type: PropType<DatePickerView>;
|
|
90
|
+
default: string;
|
|
91
|
+
validator: (value: string) => boolean;
|
|
92
|
+
};
|
|
93
|
+
placeholder: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
format: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
clearable: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
showToday: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
calendarPosition: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
ariaDescribedby: StringConstructor;
|
|
114
|
+
customValidation: {
|
|
115
|
+
type: PropType<DateValidation>;
|
|
116
|
+
default: any;
|
|
117
|
+
};
|
|
118
|
+
disabledDates: {
|
|
119
|
+
type: PropType<DisabledDates>;
|
|
120
|
+
default: any;
|
|
121
|
+
};
|
|
122
|
+
enableTime: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
minuteInterval: {
|
|
127
|
+
type: NumberConstructor;
|
|
128
|
+
default: number;
|
|
129
|
+
};
|
|
130
|
+
}>> & Readonly<{
|
|
131
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
132
|
+
"onValidation-error"?: (error: string) => any;
|
|
133
|
+
}>, {
|
|
4
134
|
required: boolean;
|
|
5
135
|
placeholder: string;
|
|
6
136
|
disabled: boolean;
|
|
137
|
+
modelValue: DatePickerDate;
|
|
7
138
|
clearable: boolean;
|
|
139
|
+
initialView: DatePickerView;
|
|
8
140
|
format: string;
|
|
9
141
|
showToday: boolean;
|
|
142
|
+
calendarPosition: string;
|
|
143
|
+
customValidation: DateValidation;
|
|
144
|
+
disabledDates: DisabledDates;
|
|
10
145
|
enableTime: boolean;
|
|
11
146
|
minuteInterval: number;
|
|
12
|
-
|
|
13
|
-
id?: string;
|
|
14
|
-
max?: string | Date;
|
|
15
|
-
min?: string | Date;
|
|
16
|
-
ariaDescribedby?: string;
|
|
17
|
-
customValidation?: Function;
|
|
18
|
-
disabledDates?: Function | unknown[];
|
|
19
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
147
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
148
|
export default _default;
|
|
21
|
-
declare const emit: (event: "update:modelValue" | "validation-error", ...args: any[]) => void;
|
|
22
|
-
declare const props: {
|
|
23
|
-
readonly required: boolean;
|
|
24
|
-
readonly placeholder: string;
|
|
25
|
-
readonly disabled: boolean;
|
|
26
|
-
readonly clearable: boolean;
|
|
27
|
-
readonly format: string;
|
|
28
|
-
readonly showToday: boolean;
|
|
29
|
-
readonly enableTime: boolean;
|
|
30
|
-
readonly minuteInterval: number;
|
|
31
|
-
readonly modelValue?: string | Date;
|
|
32
|
-
readonly id?: string;
|
|
33
|
-
readonly max?: string | Date;
|
|
34
|
-
readonly min?: string | Date;
|
|
35
|
-
readonly ariaDescribedby?: string;
|
|
36
|
-
readonly customValidation?: Function;
|
|
37
|
-
readonly disabledDates?: Function | unknown[];
|
|
38
|
-
};
|
|
39
149
|
//# sourceMappingURL=DatePicker.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker.vue"],"names":[],"mappings":"AAAA,OA0zBO,EAA8D,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAC/F,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAGtF,KAAK,aAAa,GAAG,cAAc,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,CAAA;AAEjE,KAAK,cAAc,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,GAAG,IAAI,CAAA;;;;cA8sCX,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;SAGvC,QAAQ,CAAC,cAAc,CAAC;SACxB,QAAQ,CAAC,cAAc,CAAC;aACpB,QAAQ,CAAC,cAAc,CAAC;aACxB,QAAQ,CAAC,cAAc,CAAC;eACpB,QAAQ,CAAC,mBAAmB,CAAC;;cAE1C,QAAQ,CAAC,cAAc,CAAC;;2BAErB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;cAQW,QAAQ,CAAC,cAAc,CAAC;;;;cAClB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;cApB7B,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;SAGvC,QAAQ,CAAC,cAAc,CAAC;SACxB,QAAQ,CAAC,cAAc,CAAC;aACpB,QAAQ,CAAC,cAAc,CAAC;aACxB,QAAQ,CAAC,cAAc,CAAC;eACpB,QAAQ,CAAC,mBAAmB,CAAC;;cAE1C,QAAQ,CAAC,cAAc,CAAC;;2BAErB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;cAQW,QAAQ,CAAC,cAAc,CAAC;;;;cAClB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAxBrE,wBA4BG"}
|
|
@@ -1,42 +1,110 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { ComponentSize, FormFieldType } from '../types.js';
|
|
3
|
+
declare var __VLS_8: {
|
|
4
|
+
fieldId: string;
|
|
5
|
+
hasError: boolean;
|
|
6
|
+
ariaDescribedBy: string;
|
|
7
|
+
inputType: import("../types.js").InputType;
|
|
8
|
+
showPassword: boolean;
|
|
9
|
+
togglePasswordVisibility: () => void;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_8) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
|
+
label: StringConstructor;
|
|
16
|
+
description: StringConstructor;
|
|
17
|
+
error: StringConstructor;
|
|
18
|
+
serverError: StringConstructor;
|
|
19
|
+
success: StringConstructor;
|
|
20
|
+
helpText: StringConstructor;
|
|
21
|
+
required: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
autocomplete: StringConstructor;
|
|
30
|
+
name: StringConstructor;
|
|
31
|
+
type: {
|
|
32
|
+
type: PropType<FormFieldType>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
modelValue: {
|
|
36
|
+
type: (StringConstructor | DateConstructor)[];
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
size: {
|
|
40
|
+
type: PropType<ComponentSize>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
id: StringConstructor;
|
|
44
|
+
showPasswordLabel: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
hidePasswordLabel: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
|
+
"update:modelValue": (value: string | Date) => any;
|
|
54
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
label: StringConstructor;
|
|
56
|
+
description: StringConstructor;
|
|
57
|
+
error: StringConstructor;
|
|
58
|
+
serverError: StringConstructor;
|
|
59
|
+
success: StringConstructor;
|
|
60
|
+
helpText: StringConstructor;
|
|
61
|
+
required: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
disabled: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
autocomplete: StringConstructor;
|
|
70
|
+
name: StringConstructor;
|
|
71
|
+
type: {
|
|
72
|
+
type: PropType<FormFieldType>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
modelValue: {
|
|
76
|
+
type: (StringConstructor | DateConstructor)[];
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
size: {
|
|
80
|
+
type: PropType<ComponentSize>;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
id: StringConstructor;
|
|
84
|
+
showPasswordLabel: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
hidePasswordLabel: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
}>> & Readonly<{
|
|
93
|
+
"onUpdate:modelValue"?: (value: string | Date) => any;
|
|
94
|
+
}>, {
|
|
95
|
+
type: import("../types.js").InputType;
|
|
96
|
+
required: boolean;
|
|
97
|
+
size: ComponentSize;
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
modelValue: string | Date;
|
|
100
|
+
showPasswordLabel: string;
|
|
101
|
+
hidePasswordLabel: string;
|
|
102
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
103
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
2
104
|
export default _default;
|
|
3
|
-
type __VLS_WithSlots<T, S> = T &
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
$emit: typeof emit;
|
|
8
|
-
$props: Partial<typeof props>;
|
|
9
|
-
type: string;
|
|
10
|
-
required: boolean;
|
|
11
|
-
size: string;
|
|
12
|
-
label?: string;
|
|
13
|
-
success?: string;
|
|
14
|
-
modelValue?: string | Date;
|
|
15
|
-
description?: string;
|
|
16
|
-
id?: string;
|
|
17
|
-
error?: string;
|
|
18
|
-
helpText?: string;
|
|
19
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
-
type __VLS_Slots = {
|
|
21
|
-
default?: (props: {
|
|
22
|
-
fieldId: string;
|
|
23
|
-
hasError: boolean;
|
|
24
|
-
ariaDescribedBy: string;
|
|
25
|
-
showPassword: boolean;
|
|
26
|
-
togglePasswordVisibility: () => void;
|
|
27
|
-
}) => any;
|
|
28
|
-
};
|
|
29
|
-
declare const emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
30
|
-
declare const props: {
|
|
31
|
-
readonly type: string;
|
|
32
|
-
readonly required: boolean;
|
|
33
|
-
readonly size: string;
|
|
34
|
-
readonly label?: string;
|
|
35
|
-
readonly success?: string;
|
|
36
|
-
readonly modelValue?: string | Date;
|
|
37
|
-
readonly description?: string;
|
|
38
|
-
readonly id?: string;
|
|
39
|
-
readonly error?: string;
|
|
40
|
-
readonly helpText?: string;
|
|
105
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
106
|
+
new (): {
|
|
107
|
+
$slots: S;
|
|
108
|
+
};
|
|
41
109
|
};
|
|
42
110
|
//# sourceMappingURL=FormField.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FormField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FormField.vue"],"names":[],"mappings":"AAAA,OAoJO,EAAiC,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAIlE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAwW/D,QAAA,IAAI,OAAO;;;;;;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqD/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;cAaK,QAAQ,CAAC,aAAa,CAAC;;;;;;;;cAEvB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAFvB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;cAEvB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;4EAK/C,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Icon.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Icon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Icon.vue"],"names":[],"mappings":";YAyNmB,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;AAxIxC;;;;;;;EAmBE"}
|