@gspa/ui 0.1.3 → 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/README.md +35 -0
- 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/FormField.vue_vue_type_script_setup_true_lang-DimMUyA-.js +205 -0
- package/dist/FormField.vue_vue_type_script_setup_true_lang-mEO-VA6R.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/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/components/Accordion.cjs +1 -0
- package/dist/components/Accordion.js +192 -0
- package/dist/components/AccordionItem.cjs +1 -0
- package/dist/components/AccordionItem.js +109 -0
- package/dist/components/AddReminderModal.cjs +1 -0
- package/dist/components/AddReminderModal.js +107 -0
- package/dist/components/Alert.cjs +1 -0
- package/dist/components/Alert.js +227 -0
- package/dist/components/Avatar.cjs +1 -0
- package/dist/components/Avatar.js +86 -0
- package/dist/components/Badge.cjs +1 -0
- package/dist/components/Badge.js +109 -0
- package/dist/components/Breadcrumb.cjs +1 -0
- package/dist/components/Breadcrumb.js +72 -0
- package/dist/components/Button.cjs +1 -0
- package/dist/components/Button.js +4 -0
- package/dist/components/ButtonGroup.cjs +1 -0
- package/dist/components/ButtonGroup.js +46 -0
- package/dist/components/Calendar.cjs +1 -0
- package/dist/components/Calendar.js +341 -0
- package/dist/components/Card.cjs +1 -0
- package/dist/components/Card.js +316 -0
- package/dist/components/CardBody.cjs +1 -0
- package/dist/components/CardBody.js +34 -0
- package/dist/components/CardContent.cjs +1 -0
- package/dist/components/CardContent.js +17 -0
- package/dist/components/CardFooter.cjs +1 -0
- package/dist/components/CardFooter.js +34 -0
- package/dist/components/CardHeader.cjs +1 -0
- package/dist/components/CardHeader.js +91 -0
- package/dist/components/CardTitle.cjs +1 -0
- package/dist/components/CardTitle.js +17 -0
- package/dist/components/Checkbox.cjs +1 -0
- package/dist/components/Checkbox.js +185 -0
- package/dist/components/CircularProgress.cjs +1 -0
- package/dist/components/CircularProgress.js +141 -0
- package/dist/components/DataTable.cjs +1 -0
- package/dist/components/DataTable.js +863 -0
- package/dist/components/DataTableCell.cjs +1 -0
- package/dist/components/DataTableCell.js +95 -0
- package/dist/components/DataTableFilters.cjs +1 -0
- package/dist/components/DataTableFilters.js +519 -0
- package/dist/components/DataTableHeader.cjs +1 -0
- package/dist/components/DataTableHeader.js +116 -0
- package/dist/components/DataTablePagination.cjs +1 -0
- package/dist/components/DataTablePagination.js +290 -0
- package/dist/components/DataTableRow.cjs +1 -0
- package/dist/components/DataTableRow.js +199 -0
- package/dist/components/DataTableToolBar.cjs +1 -0
- package/dist/components/DataTableToolBar.js +477 -0
- package/dist/components/DatePicker.cjs +1 -0
- package/dist/components/DatePicker.js +401 -0
- package/dist/components/Divider.cjs +1 -0
- package/dist/components/Divider.js +103 -0
- package/dist/components/Dropdown.cjs +1 -0
- package/dist/components/Dropdown.js +104 -0
- package/dist/components/DropdownItem.cjs +1 -0
- package/dist/components/DropdownItem.js +60 -0
- package/dist/components/EventsCalendar.cjs +1 -0
- package/dist/components/EventsCalendar.js +863 -0
- package/dist/components/FileUpload.cjs +1 -0
- package/dist/components/FileUpload.js +195 -0
- package/dist/components/FilterDrawer.cjs +1 -0
- package/dist/components/FilterDrawer.js +412 -0
- package/dist/components/Footer.cjs +1 -0
- package/dist/components/Footer.js +157 -0
- package/dist/components/FormField.cjs +1 -0
- package/dist/components/FormField.js +4 -0
- package/dist/components/Graph.cjs +1 -0
- package/dist/components/Graph.js +164 -0
- package/dist/components/GraphFilters.cjs +1 -0
- package/dist/components/GraphFilters.js +305 -0
- package/dist/components/Header.cjs +1 -0
- package/dist/components/Header.js +674 -0
- package/dist/components/Icon.cjs +1 -0
- package/dist/components/Icon.js +58 -0
- package/dist/components/Image.cjs +1 -0
- package/dist/components/Image.js +112 -0
- package/dist/components/Input.cjs +1 -0
- package/dist/components/Input.js +4 -0
- package/dist/components/InputGroup.cjs +1 -0
- package/dist/components/InputGroup.js +45 -0
- package/dist/components/Label.cjs +1 -0
- package/dist/components/Label.js +46 -0
- package/dist/components/Link.cjs +1 -0
- package/dist/components/Link.js +119 -0
- package/dist/components/ListItem.cjs +1 -0
- package/dist/components/ListItem.js +89 -0
- package/dist/components/Loader.cjs +1 -0
- package/dist/components/Loader.js +154 -0
- package/dist/components/Logo.cjs +1 -0
- package/dist/components/Logo.js +67 -0
- package/dist/components/MenuItem.cjs +1 -0
- package/dist/components/MenuItem.js +66 -0
- package/dist/components/Modal.cjs +1 -0
- package/dist/components/Modal.js +110 -0
- package/dist/components/ModalBody.cjs +1 -0
- package/dist/components/ModalBody.js +33 -0
- package/dist/components/ModalFooter.cjs +1 -0
- package/dist/components/ModalFooter.js +33 -0
- package/dist/components/ModalHeader.cjs +1 -0
- package/dist/components/ModalHeader.js +24 -0
- package/dist/components/MultiSelect.cjs +1 -0
- package/dist/components/MultiSelect.js +211 -0
- package/dist/components/Notification.cjs +1 -0
- package/dist/components/Notification.js +121 -0
- package/dist/components/Option.cjs +1 -0
- package/dist/components/Option.js +44 -0
- package/dist/components/Progress.cjs +1 -0
- package/dist/components/Progress.js +77 -0
- package/dist/components/ProgressBar.cjs +1 -0
- package/dist/components/ProgressBar.js +101 -0
- package/dist/components/Radio.cjs +1 -0
- package/dist/components/Radio.js +81 -0
- package/dist/components/RailNav.cjs +1 -0
- package/dist/components/RailNav.js +124 -0
- package/dist/components/ReminderConfig.cjs +1 -0
- package/dist/components/ReminderConfig.js +375 -0
- package/dist/components/ReusableForm.cjs +1 -0
- package/dist/components/ReusableForm.js +686 -0
- package/dist/components/ReusableFormModal.cjs +1 -0
- package/dist/components/ReusableFormModal.js +112 -0
- package/dist/components/RightDrawer.cjs +1 -0
- package/dist/components/RightDrawer.js +143 -0
- package/dist/components/Search.cjs +1 -0
- package/dist/components/Search.js +252 -0
- package/dist/components/Select.cjs +1 -0
- package/dist/components/Select.js +243 -0
- package/dist/components/Sidebar.cjs +1 -0
- package/dist/components/Sidebar.js +372 -0
- package/dist/components/Slider.cjs +1 -0
- package/dist/components/Slider.js +42 -0
- package/dist/components/Spinner.cjs +1 -0
- package/dist/components/Spinner.js +87 -0
- package/dist/components/Stepper.cjs +1 -0
- package/dist/components/Stepper.js +12 -0
- package/dist/components/StepperItem.cjs +1 -0
- package/dist/components/StepperItem.js +33 -0
- package/dist/components/Switch.cjs +1 -0
- package/dist/components/Switch.js +112 -0
- package/dist/components/Tab.cjs +1 -0
- package/dist/components/Tab.js +134 -0
- package/dist/components/TabPanel.cjs +1 -0
- package/dist/components/TabPanel.js +49 -0
- package/dist/components/Text.cjs +1 -0
- package/dist/components/Text.js +84 -0
- package/dist/components/Textarea.cjs +1 -0
- package/dist/components/Textarea.js +102 -0
- package/dist/components/ThemeConfigurator.cjs +1 -0
- package/dist/components/ThemeConfigurator.js +73 -0
- package/dist/components/Timeline.cjs +1 -0
- package/dist/components/Timeline.js +24 -0
- package/dist/components/TimelineItem.cjs +1 -0
- package/dist/components/TimelineItem.js +63 -0
- package/dist/components/Toast.cjs +1 -0
- package/dist/components/Toast.js +231 -0
- package/dist/components/Tooltip.cjs +1 -0
- package/dist/components/Tooltip.js +124 -0
- package/dist/components/Typography.cjs +1 -0
- package/dist/components/Typography.js +267 -0
- package/dist/components/charts/BarChart.cjs +1 -0
- package/dist/components/charts/BarChart.js +323 -0
- package/dist/components/charts/LineChart.cjs +1 -0
- package/dist/components/charts/LineChart.js +322 -0
- package/dist/components/charts/PieChart.cjs +1 -0
- package/dist/components/charts/PieChart.js +311 -0
- package/dist/components/charts/StackedBarChart.cjs +1 -0
- package/dist/components/charts/StackedBarChart.js +348 -0
- package/dist/components/widgets/DashboardWidget.cjs +1 -0
- package/dist/components/widgets/DashboardWidget.js +309 -0
- package/dist/directives/tooltip.cjs +47 -0
- package/dist/directives/tooltip.js +115 -0
- package/dist/gspa-ui.css +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.esm.js +315 -19546
- package/dist/layouts/AuthLayout.cjs +1 -0
- package/dist/layouts/AuthLayout.js +188 -0
- package/dist/layouts/DashboardLayout.cjs +1 -0
- package/dist/layouts/DashboardLayout.js +244 -0
- package/dist/layouts/DefaultLayout.cjs +1 -0
- package/dist/layouts/DefaultLayout.js +94 -0
- package/dist/layouts/ErrorLayout.cjs +1 -0
- package/dist/layouts/ErrorLayout.js +452 -0
- package/dist/lib/auth.cjs +1 -0
- package/dist/lib/auth.js +4 -0
- 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 -0
- package/dist/lib/theme.js +145 -0
- package/dist/lib/toast.cjs +1 -0
- package/dist/lib/toast.js +81 -0
- 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/Checkbox.vue.d.ts +2 -2
- package/dist/src/components/DataTable.vue.d.ts +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 +44 -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/dist/utils/cn.cjs +1 -0
- package/dist/utils/cn.js +7 -0
- package/package.json +45 -8
- package/dist/index.js +0 -605
- 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
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { ref as m, markRaw as f } from "vue";
|
|
2
|
+
const i = m([]);
|
|
3
|
+
let p = 0;
|
|
4
|
+
const v = {
|
|
5
|
+
duration: 3e3,
|
|
6
|
+
position: "top-center",
|
|
7
|
+
dismissible: !0,
|
|
8
|
+
closeButton: !1
|
|
9
|
+
}, w = () => `toast-${++p}-${Date.now()}`, e = (t, s = {}) => {
|
|
10
|
+
const o = w(), n = {
|
|
11
|
+
id: o,
|
|
12
|
+
message: t,
|
|
13
|
+
...v,
|
|
14
|
+
...s,
|
|
15
|
+
createdAt: Date.now()
|
|
16
|
+
};
|
|
17
|
+
return i.value.push(f(n)), n.duration && n.duration > 0 && setTimeout(() => {
|
|
18
|
+
r(o);
|
|
19
|
+
}, n.duration), o;
|
|
20
|
+
}, r = (t) => {
|
|
21
|
+
const s = i.value.findIndex((o) => o.id === t);
|
|
22
|
+
s > -1 && i.value.splice(s, 1);
|
|
23
|
+
}, g = () => {
|
|
24
|
+
i.value = [];
|
|
25
|
+
}, b = Object.assign(
|
|
26
|
+
// Default toast function
|
|
27
|
+
(t, s) => e(t, { ...s }),
|
|
28
|
+
// Toast type methods
|
|
29
|
+
{
|
|
30
|
+
success: (t, s) => e(t, { ...s, variant: "success" }),
|
|
31
|
+
error: (t, s) => e(t, { ...s, variant: "error" }),
|
|
32
|
+
warning: (t, s) => e(t, { ...s, variant: "warning" }),
|
|
33
|
+
info: (t, s) => e(t, { ...s, variant: "info" }),
|
|
34
|
+
// Promise toast for async operations
|
|
35
|
+
promise: (t, s = {}) => {
|
|
36
|
+
const {
|
|
37
|
+
loading: o = "Loading...",
|
|
38
|
+
success: n = "Success",
|
|
39
|
+
error: c = "Error",
|
|
40
|
+
...u
|
|
41
|
+
} = s, l = e(o, {
|
|
42
|
+
...u,
|
|
43
|
+
variant: "loading",
|
|
44
|
+
duration: 0,
|
|
45
|
+
// Don't auto dismiss
|
|
46
|
+
dismissible: !1
|
|
47
|
+
});
|
|
48
|
+
return t.then((a) => {
|
|
49
|
+
r(l);
|
|
50
|
+
const d = typeof n == "function" ? n(a) : n;
|
|
51
|
+
return e(d, {
|
|
52
|
+
...u,
|
|
53
|
+
variant: "success"
|
|
54
|
+
}), a;
|
|
55
|
+
}).catch((a) => {
|
|
56
|
+
r(l);
|
|
57
|
+
const d = typeof c == "function" ? c(a) : c;
|
|
58
|
+
throw e(d, {
|
|
59
|
+
...u,
|
|
60
|
+
variant: "error"
|
|
61
|
+
}), a;
|
|
62
|
+
});
|
|
63
|
+
},
|
|
64
|
+
// Utility methods
|
|
65
|
+
dismiss: r,
|
|
66
|
+
dismissAll: g,
|
|
67
|
+
// Custom toast with component
|
|
68
|
+
custom: (t, s = {}) => e("", {
|
|
69
|
+
...s,
|
|
70
|
+
component: f(t)
|
|
71
|
+
})
|
|
72
|
+
}
|
|
73
|
+
), x = () => ({
|
|
74
|
+
toasts: i,
|
|
75
|
+
dismiss: r,
|
|
76
|
+
dismissAll: g
|
|
77
|
+
});
|
|
78
|
+
export {
|
|
79
|
+
b as toast,
|
|
80
|
+
x as useToaster
|
|
81
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Alert.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Alert.vue"],"names":[],"mappings":"wBA8pBqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AATzB;WAIkB,OAAO,IAAI;YADV,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;2OAGrC;;;;;;AAtXH,0EAA+C;AAlB/C;;;;;;;;;EAgBE"}
|
|
@@ -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"}
|
|
@@ -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,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"}
|
|
@@ -1,42 +1,146 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { type Component, type PropType } from 'vue';
|
|
2
|
+
import type { ComponentSize, InputType, InputVariant } from '../types.js';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
type: {
|
|
9
|
+
type: PropType<InputType>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
placeholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
disabled: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
readonly: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
required: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
size: {
|
|
29
|
+
type: PropType<ComponentSize>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
variant: {
|
|
33
|
+
type: PropType<InputVariant>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
iconLeft: {
|
|
37
|
+
type: PropType<string | Component | null>;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
iconRight: {
|
|
41
|
+
type: PropType<string | Component | null>;
|
|
42
|
+
default: any;
|
|
43
|
+
};
|
|
44
|
+
clearable: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
clearLabel: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
autocomplete: StringConstructor;
|
|
53
|
+
name: StringConstructor;
|
|
54
|
+
error: StringConstructor;
|
|
55
|
+
serverError: StringConstructor;
|
|
56
|
+
helpText: StringConstructor;
|
|
57
|
+
ariaDescribedBy: StringConstructor;
|
|
58
|
+
id: StringConstructor;
|
|
59
|
+
}>, {
|
|
60
|
+
focus: () => void;
|
|
61
|
+
blur: () => void;
|
|
62
|
+
select: () => void;
|
|
63
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
64
|
+
"update:modelValue": (value: string) => any;
|
|
65
|
+
blur: (event: FocusEvent) => any;
|
|
66
|
+
focus: (event: FocusEvent) => any;
|
|
67
|
+
keydown: (event: KeyboardEvent) => any;
|
|
68
|
+
clear: () => any;
|
|
69
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
modelValue: {
|
|
71
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
type: {
|
|
75
|
+
type: PropType<InputType>;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
placeholder: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
disabled: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
readonly: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
required: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
size: {
|
|
95
|
+
type: PropType<ComponentSize>;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
variant: {
|
|
99
|
+
type: PropType<InputVariant>;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
iconLeft: {
|
|
103
|
+
type: PropType<string | Component | null>;
|
|
104
|
+
default: any;
|
|
105
|
+
};
|
|
106
|
+
iconRight: {
|
|
107
|
+
type: PropType<string | Component | null>;
|
|
108
|
+
default: any;
|
|
109
|
+
};
|
|
110
|
+
clearable: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
clearLabel: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
autocomplete: StringConstructor;
|
|
119
|
+
name: StringConstructor;
|
|
120
|
+
error: StringConstructor;
|
|
121
|
+
serverError: StringConstructor;
|
|
122
|
+
helpText: StringConstructor;
|
|
123
|
+
ariaDescribedBy: StringConstructor;
|
|
124
|
+
id: StringConstructor;
|
|
125
|
+
}>> & Readonly<{
|
|
126
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
127
|
+
onBlur?: (event: FocusEvent) => any;
|
|
128
|
+
onFocus?: (event: FocusEvent) => any;
|
|
129
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
130
|
+
onClear?: () => any;
|
|
131
|
+
}>, {
|
|
132
|
+
type: InputType;
|
|
8
133
|
required: boolean;
|
|
9
134
|
placeholder: string;
|
|
10
|
-
size:
|
|
11
|
-
variant:
|
|
135
|
+
size: ComponentSize;
|
|
136
|
+
variant: InputVariant;
|
|
12
137
|
disabled: boolean;
|
|
13
138
|
modelValue: string | number;
|
|
14
139
|
readonly: boolean;
|
|
140
|
+
iconLeft: any;
|
|
141
|
+
iconRight: any;
|
|
15
142
|
clearable: boolean;
|
|
16
143
|
clearLabel: string;
|
|
17
|
-
|
|
18
|
-
error?: string;
|
|
19
|
-
iconLeft?: string | Record<string, any>;
|
|
20
|
-
iconRight?: string | Record<string, any>;
|
|
21
|
-
autocomplete?: string;
|
|
22
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
144
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
145
|
export default _default;
|
|
24
|
-
declare const emit: (event: "update:modelValue" | "blur" | "focus" | "keydown" | "clear", ...args: any[]) => void;
|
|
25
|
-
declare const props: {
|
|
26
|
-
readonly type: string;
|
|
27
|
-
readonly required: boolean;
|
|
28
|
-
readonly placeholder: string;
|
|
29
|
-
readonly size: string;
|
|
30
|
-
readonly variant: string;
|
|
31
|
-
readonly disabled: boolean;
|
|
32
|
-
readonly modelValue: string | number;
|
|
33
|
-
readonly readonly: boolean;
|
|
34
|
-
readonly clearable: boolean;
|
|
35
|
-
readonly clearLabel: string;
|
|
36
|
-
readonly id?: string;
|
|
37
|
-
readonly error?: string;
|
|
38
|
-
readonly iconLeft?: string | Record<string, any>;
|
|
39
|
-
readonly iconRight?: string | Record<string, any>;
|
|
40
|
-
readonly autocomplete?: string;
|
|
41
|
-
};
|
|
42
146
|
//# sourceMappingURL=Input.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Input.vue"],"names":[],"mappings":"AAAA,OAyKO,EAAuC,KAAK,SAAS,EAAoB,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAE1G,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;;;;;;;cA4V/C,QAAQ,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;cAKnB,QAAQ,CAAC,aAAa,CAAC;;;;cACpB,QAAQ,CAAC,YAAY,CAAC;;;;cACX,QAAQ,CAAC,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;;;;cAClC,QAAQ,CAAC,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cARlD,QAAQ,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;cAKnB,QAAQ,CAAC,aAAa,CAAC;;;;cACpB,QAAQ,CAAC,YAAY,CAAC;;;;cACX,QAAQ,CAAC,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;;;;cAClC,QAAQ,CAAC,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAb5E,wBAwBG"}
|
|
@@ -48,7 +48,7 @@ type __VLS_Slots = {
|
|
|
48
48
|
submit: () => Promise<boolean>;
|
|
49
49
|
}) => any;
|
|
50
50
|
};
|
|
51
|
-
declare const emit: (event: "
|
|
51
|
+
declare const emit: (event: "submit" | "reset" | "cancel" | "form-change", ...args: any[]) => void;
|
|
52
52
|
declare const props: {
|
|
53
53
|
readonly title: string;
|
|
54
54
|
readonly loading: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReusableForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ReusableForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReusableForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ReusableForm.vue"],"names":[],"mappings":"wBAkwFqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AATzB;WAIkB,OAAO,IAAI;YADV,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;;;;;2OAGrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/zDH,mGAAsE;AAzBtE;;;;;;;;;;;;;;;EAuBE"}
|
|
@@ -50,7 +50,7 @@ type __VLS_Slots = {
|
|
|
50
50
|
submit: () => Promise<boolean>;
|
|
51
51
|
}) => any;
|
|
52
52
|
};
|
|
53
|
-
declare const emit: (event: "
|
|
53
|
+
declare const emit: (event: "submit" | "update:modelValue" | "close" | "form-change", ...args: any[]) => void;
|
|
54
54
|
declare const props: {
|
|
55
55
|
readonly loading: boolean;
|
|
56
56
|
readonly modelValue: boolean;
|
|
@@ -14,8 +14,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
14
14
|
readonly: boolean;
|
|
15
15
|
rows: number;
|
|
16
16
|
autoResize: boolean;
|
|
17
|
-
id?: string;
|
|
18
17
|
error?: string;
|
|
18
|
+
id?: string;
|
|
19
19
|
maxlength?: number;
|
|
20
20
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
21
|
export default _default;
|
|
@@ -31,8 +31,8 @@ declare const props: {
|
|
|
31
31
|
readonly readonly: boolean;
|
|
32
32
|
readonly rows: number;
|
|
33
33
|
readonly autoResize: boolean;
|
|
34
|
-
readonly id?: string;
|
|
35
34
|
readonly error?: string;
|
|
35
|
+
readonly id?: string;
|
|
36
36
|
readonly maxlength?: number;
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=Textarea.vue.d.ts.map
|