@nexdom/uimed-vue 2.0.0-beta.8 → 2.0.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 +1 -1
- package/dist/_virtual/_rolldown/runtime.js +7 -0
- package/dist/components/app-bar/app-bar.js +5 -0
- package/dist/components/app-bar/app-bar.vue_vue_type_script_setup_true_lang.js +286 -0
- package/dist/components/app-bar/types.d.ts +96 -0
- package/dist/components/button/button.js +5 -0
- package/dist/components/button/button.vue.d.ts +31 -0
- package/dist/components/button/button.vue_vue_type_script_setup_true_lang.js +97 -0
- package/dist/components/button/types.d.ts +65 -0
- package/dist/components/data-sets/data-set/data-set.js +5 -0
- package/dist/components/data-sets/data-set/data-set.vue.d.ts +47 -0
- package/dist/components/data-sets/data-set/data-set.vue_vue_type_script_setup_true_lang.js +157 -0
- package/dist/components/data-sets/data-set/types.d.ts +93 -0
- package/dist/components/data-sets/data-set-bar.js +5 -0
- package/dist/components/data-sets/data-set-bar.vue_vue_type_script_setup_true_lang.js +99 -0
- package/dist/components/data-sets/data-set-item/data-set-item.js +5 -0
- package/dist/components/data-sets/data-set-item/data-set-item.vue.d.ts +35 -0
- package/dist/components/data-sets/data-set-item/data-set-item.vue_vue_type_script_setup_true_lang.js +57 -0
- package/dist/components/data-sets/data-set-item/types.d.ts +42 -0
- package/dist/components/details/details.js +5 -0
- package/dist/components/details/details.vue.d.ts +28 -0
- package/dist/components/details/details.vue_vue_type_script_setup_true_lang.js +56 -0
- package/dist/components/details/types.d.ts +29 -0
- package/dist/components/dialogs/dialog/dialog-host-key.js +10 -0
- package/dist/components/dialogs/dialog/dialog.js +5 -0
- package/dist/components/dialogs/dialog/dialog.vue.d.ts +36 -0
- package/dist/components/dialogs/dialog/dialog.vue_vue_type_script_setup_true_lang.js +112 -0
- package/dist/components/dialogs/dialog/types.d.ts +47 -0
- package/dist/components/dialogs/dialog-host.js +5 -0
- package/dist/components/dialogs/dialog-host.vue_vue_type_script_setup_true_lang.js +81 -0
- package/dist/components/dialogs/toast.js +5 -0
- package/dist/components/dialogs/toast.vue_vue_type_script_setup_true_lang.js +35 -0
- package/dist/components/footer/footer.js +5 -0
- package/dist/components/footer/footer.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/footer/types.d.ts +16 -0
- package/dist/components/form/form.js +5 -0
- package/dist/components/form/form.vue.d.ts +32 -0
- package/dist/components/form/form.vue_vue_type_script_setup_true_lang.js +37 -0
- package/dist/components/form/types.d.ts +15 -0
- package/dist/components/grid/column/column.js +5 -0
- package/dist/components/grid/column/column.vue.d.ts +33 -0
- package/dist/components/grid/column/column.vue_vue_type_script_setup_true_lang.js +45 -0
- package/dist/components/grid/column/types.d.ts +27 -0
- package/dist/components/grid/container/container.js +5 -0
- package/dist/components/grid/container/container.vue.d.ts +27 -0
- package/dist/components/grid/container/container.vue_vue_type_script_setup_true_lang.js +33 -0
- package/dist/components/grid/container/types.d.ts +17 -0
- package/dist/components/grid/row/row.js +5 -0
- package/dist/components/grid/row/row.vue.d.ts +29 -0
- package/dist/components/grid/row/row.vue_vue_type_script_setup_true_lang.js +61 -0
- package/dist/components/grid/row/types.d.ts +63 -0
- package/dist/components/icon-button/icon-button.js +5 -0
- package/dist/components/icon-button/icon-button.vue.d.ts +23 -0
- package/dist/components/icon-button/icon-button.vue_vue_type_script_setup_true_lang.js +51 -0
- package/dist/components/icon-button/types.d.ts +32 -0
- package/dist/components/img/img.js +5 -0
- package/dist/components/img/img.vue.d.ts +23 -0
- package/dist/components/img/img.vue_vue_type_script_setup_true_lang.js +61 -0
- package/dist/components/img/types.d.ts +43 -0
- package/dist/components/inputs/autocomplete-field/autocomplete-field.js +5 -0
- package/dist/components/inputs/autocomplete-field/autocomplete-field.vue.d.ts +33 -0
- package/dist/components/inputs/autocomplete-field/autocomplete-field.vue_vue_type_script_setup_true_lang.js +161 -0
- package/dist/components/inputs/autocomplete-field/types.d.ts +84 -0
- package/dist/components/inputs/checkbox/checkbox.js +5 -0
- package/dist/components/inputs/checkbox/checkbox.vue.d.ts +33 -0
- package/dist/components/inputs/checkbox/checkbox.vue_vue_type_script_setup_true_lang.js +71 -0
- package/dist/components/inputs/checkbox/types.d.ts +35 -0
- package/dist/components/inputs/date-time-field/date-time-field.js +5 -0
- package/dist/components/inputs/date-time-field/date-time-field.vue.d.ts +32 -0
- package/dist/components/inputs/date-time-field/date-time-field.vue_vue_type_script_setup_true_lang.js +205 -0
- package/dist/components/inputs/date-time-field/types.d.ts +84 -0
- package/dist/components/inputs/field-loader.js +5 -0
- package/dist/components/inputs/field-loader.vue_vue_type_script_setup_true_lang.js +30 -0
- package/dist/components/inputs/mask-field/mask-field.js +5 -0
- package/dist/components/inputs/mask-field/mask-field.vue.d.ts +32 -0
- package/dist/components/inputs/mask-field/mask-field.vue_vue_type_script_setup_true_lang.js +120 -0
- package/dist/components/inputs/mask-field/types.d.ts +118 -0
- package/dist/components/inputs/text-field/text-field.js +5 -0
- package/dist/components/inputs/text-field/text-field.vue.d.ts +30 -0
- package/dist/components/inputs/text-field/text-field.vue_vue_type_script_setup_true_lang.js +119 -0
- package/dist/components/inputs/text-field/types.d.ts +70 -0
- package/dist/components/link/link.js +5 -0
- package/dist/components/link/link.vue.d.ts +27 -0
- package/dist/components/link/link.vue_vue_type_script_setup_true_lang.js +32 -0
- package/dist/components/link/types.d.ts +18 -0
- package/dist/components/main/main.js +5 -0
- package/dist/components/main/main.vue.d.ts +33 -0
- package/dist/components/main/main.vue_vue_type_script_setup_true_lang.js +104 -0
- package/dist/components/main/types.d.ts +75 -0
- package/dist/components/navigation-menu/navigation-menu.js +5 -0
- package/dist/components/navigation-menu/navigation-menu.vue_vue_type_script_setup_true_lang.js +207 -0
- package/dist/components/navigation-menu/types.d.ts +62 -0
- package/dist/components/page-transition/page-transition.js +5 -0
- package/dist/components/page-transition/page-transition.vue.d.ts +40 -0
- package/dist/components/page-transition/page-transition.vue_vue_type_script_setup_true_lang.js +27 -0
- package/dist/components/page-transition/types.d.ts +18 -0
- package/dist/components/sections/section/section.js +5 -0
- package/dist/components/sections/section/section.vue.d.ts +28 -0
- package/dist/components/sections/section/section.vue_vue_type_script_setup_true_lang.js +108 -0
- package/dist/components/sections/section/types.d.ts +80 -0
- package/dist/components/sections/section-content/section-content.js +5 -0
- package/dist/components/sections/section-content/section-content.vue.d.ts +27 -0
- package/dist/components/sections/section-content/section-content.vue_vue_type_script_setup_true_lang.js +16 -0
- package/dist/components/skeleton-loader/skeleton-loader.js +5 -0
- package/dist/components/skeleton-loader/skeleton-loader.vue_vue_type_script_setup_true_lang.js +65 -0
- package/dist/components/table/table.js +5 -0
- package/dist/components/table/table.vue.d.ts +19 -0
- package/dist/components/table/table.vue_vue_type_script_setup_true_lang.js +84 -0
- package/dist/components/table/types.d.ts +51 -0
- package/dist/components.d.ts +23 -940
- package/dist/components.js +23 -1254
- package/dist/composables/alignment/alignment.js +41 -0
- package/dist/composables/alignment/types.d.ts +12 -0
- package/dist/composables/button/button.js +54 -0
- package/dist/composables/colors/constants.js +27 -0
- package/dist/composables/colors/types.d.ts +4 -0
- package/dist/composables/colors/use-vuetify-background-color.js +16 -0
- package/dist/composables/colors/use-vuetify-color.js +11 -0
- package/dist/composables/colors/use-vuetify-text-color.js +12 -0
- package/dist/composables/data-set/data-set.js +128 -0
- package/dist/composables/dialogs/types.d.ts +88 -0
- package/dist/composables/dialogs/use-confirm.d.ts +21 -0
- package/dist/composables/dialogs/use-confirm.js +55 -0
- package/dist/composables/dialogs/use-decorative-timer.js +25 -0
- package/dist/composables/dialogs/use-dialog-focus.js +64 -0
- package/dist/composables/dialogs/use-dialog-loading.js +13 -0
- package/dist/composables/dialogs/use-dialog.d.ts +36 -0
- package/dist/composables/dialogs/use-dialog.js +73 -0
- package/dist/composables/dialogs/use-run-or-toast.d.ts +27 -0
- package/dist/composables/dialogs/use-run-or-toast.js +65 -0
- package/dist/composables/dialogs/use-toast.d.ts +25 -0
- package/dist/composables/dialogs/use-toast.js +39 -0
- package/dist/composables/dimensions/dimensions.js +18 -0
- package/dist/composables/inputs/autocomplete-field.js +39 -0
- package/dist/composables/inputs/date-time-field.js +109 -0
- package/dist/composables/inputs/fields.js +28 -0
- package/dist/composables/inputs/mask-field.js +133 -0
- package/dist/composables/inputs/rules.js +16 -0
- package/dist/composables/inputs/text-field.js +81 -0
- package/dist/composables/navigation/types.d.ts +54 -0
- package/dist/composables/navigation/use-navigation-rail.js +163 -0
- package/dist/composables/navigation/use-navigation-search-shortcut.js +96 -0
- package/dist/composables/navigation/use-route-props.js +21 -0
- package/dist/composables/navigation/use-unsaved-changes.d.ts +35 -0
- package/dist/composables/navigation/use-unsaved-changes.js +88 -0
- package/dist/composables/section/section.js +34 -0
- package/dist/composables.d.ts +6 -67
- package/dist/composables.js +6 -65
- package/dist/consts/icons.d.ts +67 -0
- package/dist/consts/icons.js +69 -0
- package/dist/consts/locale.js +12 -0
- package/dist/consts/types.d.ts +12 -0
- package/dist/index.d.ts +1 -13
- package/dist/index.js +39 -14
- package/dist/plugins.d.ts +15 -4
- package/dist/plugins.js +54 -3
- package/dist/styles/fonts/UnimedSlab-Regular.woff2 +0 -0
- package/dist/styles/fonts/fonts.css +5 -0
- package/dist/styles/settings.scss +155 -0
- package/dist/unit-test.js +11 -7
- package/package.json +11 -11
- package/skills/uimed-vue/SKILL.md +113 -0
- package/skills/uimed-vue/references/api/components/autocomplete-field.md +45 -0
- package/skills/uimed-vue/references/api/components/button.md +48 -0
- package/skills/uimed-vue/references/api/components/checkbox.md +36 -0
- package/skills/uimed-vue/references/api/components/data-sets/data-set-item.md +61 -0
- package/skills/uimed-vue/references/api/components/data-sets/data-set.md +67 -0
- package/skills/uimed-vue/references/api/components/date-time-field.md +44 -0
- package/skills/uimed-vue/references/api/components/details.md +33 -0
- package/skills/uimed-vue/references/api/components/dialog.md +70 -0
- package/skills/uimed-vue/references/api/components/form.md +43 -0
- package/skills/uimed-vue/references/api/components/grid/column.md +41 -0
- package/skills/uimed-vue/references/api/components/grid/container.md +32 -0
- package/skills/uimed-vue/references/api/components/grid/row.md +37 -0
- package/skills/uimed-vue/references/api/components/icon-button.md +37 -0
- package/skills/uimed-vue/references/api/components/img.md +34 -0
- package/skills/uimed-vue/references/api/components/link.md +31 -0
- package/skills/uimed-vue/references/api/components/main.md +174 -0
- package/skills/uimed-vue/references/api/components/mask-field.md +60 -0
- package/skills/uimed-vue/references/api/components/page-transition.md +37 -0
- package/skills/uimed-vue/references/api/components/sections/section-content.md +23 -0
- package/skills/uimed-vue/references/api/components/sections/section.md +61 -0
- package/skills/uimed-vue/references/api/components/table.md +35 -0
- package/skills/uimed-vue/references/api/components/text-field.md +42 -0
- package/skills/uimed-vue/references/api/composables/use-confirm.md +96 -0
- package/skills/uimed-vue/references/api/composables/use-dialog.md +95 -0
- package/skills/uimed-vue/references/api/composables/use-run-or-toast.md +58 -0
- package/skills/uimed-vue/references/api/composables/use-toast.md +48 -0
- package/skills/uimed-vue/references/api/composables/use-unsaved-changes.md +106 -0
- package/skills/uimed-vue/references/api/index.md +1 -0
- package/skills/uimed-vue/references/guide/components/autocomplete-field.md +256 -0
- package/skills/uimed-vue/references/guide/components/button.md +155 -0
- package/skills/uimed-vue/references/guide/components/checkbox.md +113 -0
- package/skills/uimed-vue/references/guide/components/data-set.md +370 -0
- package/skills/uimed-vue/references/guide/components/date-time-field.md +202 -0
- package/skills/uimed-vue/references/guide/components/details.md +76 -0
- package/skills/uimed-vue/references/guide/components/dialog.md +269 -0
- package/skills/uimed-vue/references/guide/components/form.md +96 -0
- package/skills/uimed-vue/references/guide/components/icon-button.md +76 -0
- package/skills/uimed-vue/references/guide/components/img.md +128 -0
- package/skills/uimed-vue/references/guide/components/layout.md +323 -0
- package/skills/uimed-vue/references/guide/components/link.md +47 -0
- package/skills/uimed-vue/references/guide/components/main.md +435 -0
- package/skills/uimed-vue/references/guide/components/mask-field.md +256 -0
- package/skills/uimed-vue/references/guide/components/page-transition.md +111 -0
- package/skills/uimed-vue/references/guide/components/section.md +232 -0
- package/skills/uimed-vue/references/guide/components/table.md +102 -0
- package/skills/uimed-vue/references/guide/components/text-field.md +172 -0
- package/skills/uimed-vue/references/guide/composables/use-confirm.md +123 -0
- package/skills/uimed-vue/references/guide/composables/use-dialog.md +102 -0
- package/skills/uimed-vue/references/guide/composables/use-run-or-toast.md +55 -0
- package/skills/uimed-vue/references/guide/composables/use-toast.md +57 -0
- package/skills/uimed-vue/references/guide/composables/use-unsaved-changes.md +129 -0
- package/skills/uimed-vue/references/guide/getting-started.md +135 -0
- package/skills/uimed-vue/references/guide/icons.md +71 -0
- package/skills/uimed-vue/references/guide/index.md +51 -0
- package/skills/uimed-vue/references/guide/migration-v1-to-v2.md +191 -0
- package/skills/uimed-vue/references/guide/unit-testing.md +85 -0
- package/AGENTS.md +0 -160
- package/CLAUDE.md +0 -1
- package/dist/types-BPXXtbmW.d.ts +0 -5
- package/dist/use-toast-CACuYhK_.js +0 -53
package/dist/components.d.ts
CHANGED
|
@@ -1,940 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* List of notifications to show in the {@link AppBar}.
|
|
26
|
-
*/
|
|
27
|
-
notifications?: Array<AppBarNotification>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* A single notification entry shown in the {@link AppBar}.
|
|
31
|
-
*/
|
|
32
|
-
interface AppBarNotification {
|
|
33
|
-
/**
|
|
34
|
-
* Main text describing the notification.
|
|
35
|
-
*/
|
|
36
|
-
title: string;
|
|
37
|
-
/**
|
|
38
|
-
* Complementary text with additional details.
|
|
39
|
-
*/
|
|
40
|
-
subtitle?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Whether the notification has already been read.
|
|
43
|
-
*/
|
|
44
|
-
read?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Date the notification was generated.
|
|
47
|
-
*/
|
|
48
|
-
date?: Date;
|
|
49
|
-
}
|
|
50
|
-
interface AppBarUserProps {
|
|
51
|
-
/**
|
|
52
|
-
* Major identifier, like the user full name.
|
|
53
|
-
*/
|
|
54
|
-
title?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Complement to user identifier, like it's e-mail or username.
|
|
57
|
-
*/
|
|
58
|
-
subtitle?: string;
|
|
59
|
-
/**
|
|
60
|
-
* URL leading to a user picture.
|
|
61
|
-
*/
|
|
62
|
-
img?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Options to show the user when its menu is opened.
|
|
65
|
-
* Can be plain options, grouped or both.
|
|
66
|
-
*/
|
|
67
|
-
options?: Array<ParentOptionOrOption>;
|
|
68
|
-
}
|
|
69
|
-
type ParentOptionOrOption = ParentOption | Option;
|
|
70
|
-
type ParentOption = {
|
|
71
|
-
/**
|
|
72
|
-
* Text to present for the group.
|
|
73
|
-
*/
|
|
74
|
-
description: string;
|
|
75
|
-
/**
|
|
76
|
-
* Child {@link Option} list.
|
|
77
|
-
*/
|
|
78
|
-
items: Array<Option>;
|
|
79
|
-
};
|
|
80
|
-
interface Option {
|
|
81
|
-
/**
|
|
82
|
-
* Text to present for the action.
|
|
83
|
-
*/
|
|
84
|
-
description: string;
|
|
85
|
-
/**
|
|
86
|
-
* Route to navigate when item is clicked.
|
|
87
|
-
*/
|
|
88
|
-
route?: RouteLocationRaw;
|
|
89
|
-
/**
|
|
90
|
-
* Callback to be triggered when the item is clicked.
|
|
91
|
-
*/
|
|
92
|
-
action?: () => void;
|
|
93
|
-
}
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region src/components/navigation-menu/types.d.ts
|
|
96
|
-
/**
|
|
97
|
-
* Props exposed by the {@link NavigationMenu} component.
|
|
98
|
-
*/
|
|
99
|
-
type NavigationMenuProps = {
|
|
100
|
-
/**
|
|
101
|
-
* Component id to use on automated tests.
|
|
102
|
-
*/
|
|
103
|
-
dataTestid?: string;
|
|
104
|
-
/**
|
|
105
|
-
* List of items to show in the {@link NavigationMenu}.
|
|
106
|
-
* Can be plain items, grouped or both.
|
|
107
|
-
*/
|
|
108
|
-
items?: Array<NavigationMenuParentItemOrItem>;
|
|
109
|
-
};
|
|
110
|
-
type NavigationMenuParentItemOrItem = NavigationMenuParentItem | NavigationMenuItem;
|
|
111
|
-
type NavigationMenuParentItem = {
|
|
112
|
-
/**
|
|
113
|
-
* Text to present for the group.
|
|
114
|
-
*/
|
|
115
|
-
description: string;
|
|
116
|
-
/**
|
|
117
|
-
* Child {@link NavigationMenuItem} list.
|
|
118
|
-
*/
|
|
119
|
-
items: Array<NavigationMenuItem>;
|
|
120
|
-
};
|
|
121
|
-
interface NavigationMenuItem {
|
|
122
|
-
/**
|
|
123
|
-
* Text to present for the item.
|
|
124
|
-
*/
|
|
125
|
-
description: string;
|
|
126
|
-
/**
|
|
127
|
-
* Route to navigate when item is clicked.
|
|
128
|
-
*/
|
|
129
|
-
route?: RouteLocationRaw;
|
|
130
|
-
/**
|
|
131
|
-
* Callback to be triggered when the item is clicked.
|
|
132
|
-
*/
|
|
133
|
-
action?: () => void;
|
|
134
|
-
}
|
|
135
|
-
//#endregion
|
|
136
|
-
//#region src/components/main/types.d.ts
|
|
137
|
-
/**
|
|
138
|
-
* Props exposed by the {@link Main} component.
|
|
139
|
-
*/
|
|
140
|
-
type MainProps = {
|
|
141
|
-
/**
|
|
142
|
-
* Component id to use on automated tests.
|
|
143
|
-
*/
|
|
144
|
-
dataTestid?: string;
|
|
145
|
-
/**
|
|
146
|
-
* URL to logo image.
|
|
147
|
-
*/
|
|
148
|
-
logo?: string;
|
|
149
|
-
/**
|
|
150
|
-
* App bar properties.
|
|
151
|
-
*/
|
|
152
|
-
appBar?: AppBarProps;
|
|
153
|
-
/**
|
|
154
|
-
* Navigation menu properties.
|
|
155
|
-
*/
|
|
156
|
-
navigationMenu?: NavigationMenuProps;
|
|
157
|
-
};
|
|
158
|
-
//#endregion
|
|
159
|
-
//#region src/components/main/main.vue.d.ts
|
|
160
|
-
/**
|
|
161
|
-
* Main component to be placed at the top of the component tree.
|
|
162
|
-
*
|
|
163
|
-
* @example
|
|
164
|
-
* ```vue
|
|
165
|
-
* <template>
|
|
166
|
-
* <u-main>
|
|
167
|
-
* <!-- uimed-components -->
|
|
168
|
-
* </u-main>
|
|
169
|
-
* </template>
|
|
170
|
-
* ```
|
|
171
|
-
*
|
|
172
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/main | Main Guide}
|
|
173
|
-
*/
|
|
174
|
-
declare const _default$7: typeof __VLS_export$12;
|
|
175
|
-
declare const __VLS_export$12: __VLS_WithSlots$8<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<MainProps & {
|
|
176
|
-
notificationsOpen?: boolean;
|
|
177
|
-
}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
178
|
-
"update:notificationsOpen": (value: boolean) => any;
|
|
179
|
-
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<MainProps & {
|
|
180
|
-
notificationsOpen?: boolean;
|
|
181
|
-
}> & Readonly<{
|
|
182
|
-
"onUpdate:notificationsOpen"?: ((value: boolean) => any) | undefined;
|
|
183
|
-
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
184
|
-
default?: (props: {}) => any;
|
|
185
|
-
}>;
|
|
186
|
-
type __VLS_WithSlots$8<T, S> = T & {
|
|
187
|
-
new (): {
|
|
188
|
-
$slots: S;
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
//#endregion
|
|
192
|
-
//#region src/components/button/types.d.ts
|
|
193
|
-
type ButtonVariant = "primary" | "secondary" | "ghost";
|
|
194
|
-
/**
|
|
195
|
-
* Props exposed by the {@link Button} component.
|
|
196
|
-
*/
|
|
197
|
-
type ButtonProps = {
|
|
198
|
-
/**
|
|
199
|
-
* Applies a distinct style variation to the button.
|
|
200
|
-
* One of `primary`, `secondary`, or `ghost`.
|
|
201
|
-
* @default "primary"
|
|
202
|
-
*/
|
|
203
|
-
variant?: ButtonVariant;
|
|
204
|
-
/**
|
|
205
|
-
* Applies a distinct behavior to the button.
|
|
206
|
-
* One of `button` or `submit`.
|
|
207
|
-
* @default "button"
|
|
208
|
-
*/
|
|
209
|
-
type?: "submit" | "button";
|
|
210
|
-
/**
|
|
211
|
-
* Applies a color to the button.
|
|
212
|
-
* One of `primary`, `secondary`, `positive`, `informative`, `caution`, or `danger`.
|
|
213
|
-
* @default "primary"
|
|
214
|
-
*/
|
|
215
|
-
color?: ColorVariant;
|
|
216
|
-
/**
|
|
217
|
-
* Removes the ability to click or target the button.
|
|
218
|
-
* @default false
|
|
219
|
-
*/
|
|
220
|
-
disabled?: boolean;
|
|
221
|
-
/**
|
|
222
|
-
* Displays a loading indicator on the button, disabling interaction.
|
|
223
|
-
* @default false
|
|
224
|
-
*/
|
|
225
|
-
loading?: boolean;
|
|
226
|
-
/**
|
|
227
|
-
* Associated [form](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/form) id.
|
|
228
|
-
*/
|
|
229
|
-
form?: string;
|
|
230
|
-
/**
|
|
231
|
-
* Component id to use on automated tests.
|
|
232
|
-
*/
|
|
233
|
-
dataTestid?: string;
|
|
234
|
-
};
|
|
235
|
-
//#endregion
|
|
236
|
-
//#region src/components/button/button.vue.d.ts
|
|
237
|
-
/**
|
|
238
|
-
* Button component to be used throughout the application.
|
|
239
|
-
*
|
|
240
|
-
* @example
|
|
241
|
-
* ```vue
|
|
242
|
-
* <template>
|
|
243
|
-
* <u-button color="danger" @click="onClick">
|
|
244
|
-
* Confirmar
|
|
245
|
-
* </u-button>
|
|
246
|
-
* </template>
|
|
247
|
-
* ```
|
|
248
|
-
*
|
|
249
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/button | Button Guide}
|
|
250
|
-
*/
|
|
251
|
-
declare const _default$1: typeof __VLS_export$11;
|
|
252
|
-
declare const __VLS_export$11: __VLS_WithSlots$7<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
253
|
-
click: (event: MouseEvent) => any;
|
|
254
|
-
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
255
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
256
|
-
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
257
|
-
default?: (props: {}) => any;
|
|
258
|
-
}>;
|
|
259
|
-
type __VLS_WithSlots$7<T, S> = T & {
|
|
260
|
-
new (): {
|
|
261
|
-
$slots: S;
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
//#endregion
|
|
265
|
-
//#region src/components/inputs/text-field/types.d.ts
|
|
266
|
-
type TextFieldVariant = "primary" | "secondary";
|
|
267
|
-
type TextFieldType = "text" | "phone" | "email" | "url" | "password" | "search";
|
|
268
|
-
/**
|
|
269
|
-
* Props exposed by the {@link TextField} component.
|
|
270
|
-
*/
|
|
271
|
-
type TextFieldProps = {
|
|
272
|
-
/**
|
|
273
|
-
* Applies a distinct style variation to the field.
|
|
274
|
-
* One of `primary` or `secondary`.
|
|
275
|
-
* @default "primary"
|
|
276
|
-
*/
|
|
277
|
-
variant?: TextFieldVariant;
|
|
278
|
-
/**
|
|
279
|
-
* Applies a distinct behavior to the field.
|
|
280
|
-
* One of `text`, `phone`, `email`, `url`, `password` or `search`.
|
|
281
|
-
* @default "text"
|
|
282
|
-
*/
|
|
283
|
-
type?: TextFieldType;
|
|
284
|
-
/**
|
|
285
|
-
* Removes the ability to click or target the field.
|
|
286
|
-
* @default false
|
|
287
|
-
*/
|
|
288
|
-
disabled?: boolean;
|
|
289
|
-
/**
|
|
290
|
-
* Displays a loading indicator on the input.
|
|
291
|
-
* @default false
|
|
292
|
-
*/
|
|
293
|
-
loading?: boolean;
|
|
294
|
-
/**
|
|
295
|
-
* Displays clear action.
|
|
296
|
-
* @default false
|
|
297
|
-
*/
|
|
298
|
-
clearable?: boolean;
|
|
299
|
-
/**
|
|
300
|
-
* Prevent value changes.
|
|
301
|
-
* @default false
|
|
302
|
-
*/
|
|
303
|
-
readonly?: boolean;
|
|
304
|
-
/**
|
|
305
|
-
* Add `rules` to require field to be filled before form submission.
|
|
306
|
-
* @default false
|
|
307
|
-
*/
|
|
308
|
-
required?: boolean;
|
|
309
|
-
/**
|
|
310
|
-
* Field label.
|
|
311
|
-
*/
|
|
312
|
-
label?: string;
|
|
313
|
-
/**
|
|
314
|
-
* Field placeholder.
|
|
315
|
-
*/
|
|
316
|
-
placeholder?: string;
|
|
317
|
-
/**
|
|
318
|
-
* Field message to show and direct user to fill field correctly.
|
|
319
|
-
*
|
|
320
|
-
* This message will be replaced when there's an error message to be shown.
|
|
321
|
-
*/
|
|
322
|
-
hint?: string;
|
|
323
|
-
/**
|
|
324
|
-
* Component id to use on automated tests.
|
|
325
|
-
*/
|
|
326
|
-
dataTestid?: string;
|
|
327
|
-
};
|
|
328
|
-
//#endregion
|
|
329
|
-
//#region src/components/inputs/autocomplete-field/types.d.ts
|
|
330
|
-
/**
|
|
331
|
-
* Autocomplete/Combobox item type that can be either a string or an object with label and value.
|
|
332
|
-
*/
|
|
333
|
-
type AutocompleteItem<T = string> = string | {
|
|
334
|
-
label: string;
|
|
335
|
-
value: T;
|
|
336
|
-
};
|
|
337
|
-
/**
|
|
338
|
-
* Props exposed by the {@link AutocompleteField} component.
|
|
339
|
-
*/
|
|
340
|
-
type AutocompleteFieldProps<T = string, Multiple extends boolean = false> = {
|
|
341
|
-
/**
|
|
342
|
-
* Applies a distinct style variation to the field.
|
|
343
|
-
* One of `primary` or `secondary`.
|
|
344
|
-
* @default "primary"
|
|
345
|
-
*/
|
|
346
|
-
variant?: TextFieldVariant;
|
|
347
|
-
/**
|
|
348
|
-
* Removes the ability to click or target the field.
|
|
349
|
-
* @default false
|
|
350
|
-
*/
|
|
351
|
-
disabled?: boolean;
|
|
352
|
-
/**
|
|
353
|
-
* Displays a loading indicator on the input.
|
|
354
|
-
* @default false
|
|
355
|
-
*/
|
|
356
|
-
loading?: boolean;
|
|
357
|
-
/**
|
|
358
|
-
* Displays clear action.
|
|
359
|
-
* @default false
|
|
360
|
-
*/
|
|
361
|
-
clearable?: boolean;
|
|
362
|
-
/**
|
|
363
|
-
* Prevent value changes.
|
|
364
|
-
* @default false
|
|
365
|
-
*/
|
|
366
|
-
readonly?: boolean;
|
|
367
|
-
/**
|
|
368
|
-
* Add rules to require field to be filled before form submission.
|
|
369
|
-
* @default false
|
|
370
|
-
*/
|
|
371
|
-
required?: boolean;
|
|
372
|
-
/**
|
|
373
|
-
* Field label.
|
|
374
|
-
*/
|
|
375
|
-
label?: string;
|
|
376
|
-
/**
|
|
377
|
-
* Field placeholder.
|
|
378
|
-
*/
|
|
379
|
-
placeholder?: string;
|
|
380
|
-
/**
|
|
381
|
-
* Field message to show and direct user to fill field correctly.
|
|
382
|
-
*
|
|
383
|
-
* This message will be replaced when there's an error message to be shown.
|
|
384
|
-
*/
|
|
385
|
-
hint?: string;
|
|
386
|
-
/**
|
|
387
|
-
* Component id to use on automated tests.
|
|
388
|
-
*/
|
|
389
|
-
dataTestid?: string;
|
|
390
|
-
/**
|
|
391
|
-
* Used to prevent user from adding new values to the list.
|
|
392
|
-
* @default false
|
|
393
|
-
*/
|
|
394
|
-
strict?: boolean;
|
|
395
|
-
/**
|
|
396
|
-
* Allow selecting/typing more than one value.
|
|
397
|
-
*
|
|
398
|
-
* Passing the literal `true` narrows `modelValue` and `update:modelValue`
|
|
399
|
-
* to `T[]` instead of `T`.
|
|
400
|
-
* @default false
|
|
401
|
-
*/
|
|
402
|
-
multiple?: Multiple;
|
|
403
|
-
/**
|
|
404
|
-
* List of autocomplete items. Can be strings or objects with label and value.
|
|
405
|
-
* @default []
|
|
406
|
-
*/
|
|
407
|
-
items?: AutocompleteItem<T>[];
|
|
408
|
-
};
|
|
409
|
-
//#endregion
|
|
410
|
-
//#region src/components/inputs/autocomplete-field/autocomplete-field.vue.d.ts
|
|
411
|
-
/**
|
|
412
|
-
* Select field component to be used throughout the application.
|
|
413
|
-
*
|
|
414
|
-
* @example
|
|
415
|
-
* ```vue
|
|
416
|
-
* <template>
|
|
417
|
-
* <u-autocomplete-field label="Country" :items="['Brazil', 'Argentina']" />
|
|
418
|
-
* </template>
|
|
419
|
-
* ```
|
|
420
|
-
*
|
|
421
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/autocomplete-field | AutocompleteField Guide}
|
|
422
|
-
*/
|
|
423
|
-
declare const _default: typeof __VLS_export$10;
|
|
424
|
-
declare const __VLS_export$10: <T = string, Multiple extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
425
|
-
props: import("vue").PublicProps & __VLS_PrettifyLocal$1<(AutocompleteFieldProps<T, Multiple> & {
|
|
426
|
-
modelValue?: Multiple extends true ? T[] : T;
|
|
427
|
-
}) & {
|
|
428
|
-
"onUpdate:modelValue"?: ((value: Multiple extends true ? T[] : T | undefined) => any) | undefined;
|
|
429
|
-
}> & (typeof globalThis extends {
|
|
430
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
431
|
-
} ? P : {});
|
|
432
|
-
expose: (exposed: {}) => void;
|
|
433
|
-
attrs: any;
|
|
434
|
-
slots: {};
|
|
435
|
-
emit: (event: "update:modelValue", value: Multiple extends true ? T[] : T | undefined) => void;
|
|
436
|
-
}>) => import("vue").VNode & {
|
|
437
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
438
|
-
};
|
|
439
|
-
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
440
|
-
//#endregion
|
|
441
|
-
//#region src/components/inputs/text-field/text-field.vue.d.ts
|
|
442
|
-
/**
|
|
443
|
-
* Text field component to be used throughout the application.
|
|
444
|
-
*
|
|
445
|
-
* @example
|
|
446
|
-
* ```vue
|
|
447
|
-
* <template>
|
|
448
|
-
* <u-text-field label="E-mail" type="email" />
|
|
449
|
-
* <template>
|
|
450
|
-
* ```
|
|
451
|
-
*
|
|
452
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/text-field | TextField Guide}
|
|
453
|
-
*/
|
|
454
|
-
declare const _default$12: typeof __VLS_export$9;
|
|
455
|
-
declare const __VLS_export$9: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<TextFieldProps & {
|
|
456
|
-
modelValue?: string;
|
|
457
|
-
}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
458
|
-
"update:modelValue": (value: string) => any;
|
|
459
|
-
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<TextFieldProps & {
|
|
460
|
-
modelValue?: string;
|
|
461
|
-
}> & Readonly<{
|
|
462
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
463
|
-
}>, {
|
|
464
|
-
variant: TextFieldVariant;
|
|
465
|
-
type: TextFieldType;
|
|
466
|
-
clearable: boolean;
|
|
467
|
-
}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
468
|
-
//#endregion
|
|
469
|
-
//#region src/components/inputs/checkbox/types.d.ts
|
|
470
|
-
/**
|
|
471
|
-
* Props exposed by the {@link Checkbox} component.
|
|
472
|
-
*/
|
|
473
|
-
type CheckboxProps<T = boolean> = {
|
|
474
|
-
/**
|
|
475
|
-
* Field label.
|
|
476
|
-
*/
|
|
477
|
-
label?: string;
|
|
478
|
-
/**
|
|
479
|
-
* Removes the ability to click or target the checkbox.
|
|
480
|
-
* @default false
|
|
481
|
-
*/
|
|
482
|
-
disabled?: boolean;
|
|
483
|
-
/**
|
|
484
|
-
* Prevent value changes.
|
|
485
|
-
* @default false
|
|
486
|
-
*/
|
|
487
|
-
readonly?: boolean;
|
|
488
|
-
/**
|
|
489
|
-
* Value applied to the model when the checkbox is checked.
|
|
490
|
-
* @default true
|
|
491
|
-
*/
|
|
492
|
-
trueValue?: T;
|
|
493
|
-
/**
|
|
494
|
-
* Value applied to the model when the checkbox is unchecked.
|
|
495
|
-
* @default false
|
|
496
|
-
*/
|
|
497
|
-
falseValue?: T;
|
|
498
|
-
/**
|
|
499
|
-
* Component id to use on automated tests.
|
|
500
|
-
*/
|
|
501
|
-
dataTestid?: string;
|
|
502
|
-
};
|
|
503
|
-
//#endregion
|
|
504
|
-
//#region src/components/inputs/checkbox/checkbox.vue.d.ts
|
|
505
|
-
/**
|
|
506
|
-
* Checkbox component to be used throughout the application.
|
|
507
|
-
*
|
|
508
|
-
* @example
|
|
509
|
-
* ```vue
|
|
510
|
-
* <template>
|
|
511
|
-
* <u-checkbox label="Aceito os termos" />
|
|
512
|
-
* </template>
|
|
513
|
-
* ```
|
|
514
|
-
*
|
|
515
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/checkbox | Checkbox Guide}
|
|
516
|
-
*/
|
|
517
|
-
declare const _default$2: typeof __VLS_export$8;
|
|
518
|
-
declare const __VLS_export$8: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
519
|
-
props: import("vue").PublicProps & __VLS_PrettifyLocal<(CheckboxProps<boolean | T> & {
|
|
520
|
-
modelValue?: T;
|
|
521
|
-
}) & {
|
|
522
|
-
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
523
|
-
}> & (typeof globalThis extends {
|
|
524
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
525
|
-
} ? P : {});
|
|
526
|
-
expose: (exposed: {}) => void;
|
|
527
|
-
attrs: any;
|
|
528
|
-
slots: {};
|
|
529
|
-
emit: (event: "update:modelValue", value: T) => void;
|
|
530
|
-
}>) => import("vue").VNode & {
|
|
531
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
532
|
-
};
|
|
533
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
534
|
-
//#endregion
|
|
535
|
-
//#region src/components/grid/container/types.d.ts
|
|
536
|
-
/**
|
|
537
|
-
* Props exposed by the {@link Container} component.
|
|
538
|
-
*/
|
|
539
|
-
type ContainerProps = {
|
|
540
|
-
/**
|
|
541
|
-
* Component id to use on automated tests.
|
|
542
|
-
*/
|
|
543
|
-
dataTestid?: string;
|
|
544
|
-
};
|
|
545
|
-
//#endregion
|
|
546
|
-
//#region src/components/grid/container/container.vue.d.ts
|
|
547
|
-
/**
|
|
548
|
-
* Container component to be placed at the top of the component tree.
|
|
549
|
-
*
|
|
550
|
-
* @example
|
|
551
|
-
* ```vue
|
|
552
|
-
* <template>
|
|
553
|
-
* <u-container>
|
|
554
|
-
* <!-- uimed-components -->
|
|
555
|
-
* </u-container>
|
|
556
|
-
* <template>
|
|
557
|
-
* ```
|
|
558
|
-
*
|
|
559
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Container Guide}
|
|
560
|
-
*/
|
|
561
|
-
declare const _default$4: typeof __VLS_export$7;
|
|
562
|
-
declare const __VLS_export$7: __VLS_WithSlots$6<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<ContainerProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<ContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
563
|
-
default?: (props: {}) => any;
|
|
564
|
-
}>;
|
|
565
|
-
type __VLS_WithSlots$6<T, S> = T & {
|
|
566
|
-
new (): {
|
|
567
|
-
$slots: S;
|
|
568
|
-
};
|
|
569
|
-
};
|
|
570
|
-
//#endregion
|
|
571
|
-
//#region src/components/grid/row/types.d.ts
|
|
572
|
-
/**
|
|
573
|
-
* Props exposed by the {@link Row} component.
|
|
574
|
-
*/
|
|
575
|
-
type RowProps = {
|
|
576
|
-
/**
|
|
577
|
-
* Component id to use on automated tests.
|
|
578
|
-
*/
|
|
579
|
-
dataTestid?: string;
|
|
580
|
-
};
|
|
581
|
-
//#endregion
|
|
582
|
-
//#region src/components/grid/row/row.vue.d.ts
|
|
583
|
-
/**
|
|
584
|
-
* Row component to be placed within a container.
|
|
585
|
-
*
|
|
586
|
-
* @example
|
|
587
|
-
* ```vue
|
|
588
|
-
* <template>
|
|
589
|
-
* <u-container>
|
|
590
|
-
* <u-row>
|
|
591
|
-
* <!-- uimed-column -->
|
|
592
|
-
* </u-row>
|
|
593
|
-
* </u-container>
|
|
594
|
-
* </template>
|
|
595
|
-
* ```
|
|
596
|
-
*
|
|
597
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Row Guide}
|
|
598
|
-
*/
|
|
599
|
-
declare const _default$8: typeof __VLS_export$6;
|
|
600
|
-
declare const __VLS_export$6: __VLS_WithSlots$5<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<RowProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<RowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
601
|
-
default?: (props: {}) => any;
|
|
602
|
-
}>;
|
|
603
|
-
type __VLS_WithSlots$5<T, S> = T & {
|
|
604
|
-
new (): {
|
|
605
|
-
$slots: S;
|
|
606
|
-
};
|
|
607
|
-
};
|
|
608
|
-
//#endregion
|
|
609
|
-
//#region src/components/grid/column/types.d.ts
|
|
610
|
-
/**
|
|
611
|
-
* Props exposed by the {@link Col} component.
|
|
612
|
-
*/
|
|
613
|
-
type ColumnProps = {
|
|
614
|
-
/**
|
|
615
|
-
* Number of columns to stretch the component.
|
|
616
|
-
* Available options are:
|
|
617
|
-
* - `"auto"`: which won't try to stretch the component
|
|
618
|
-
* - `"1"` to `"12"`.
|
|
619
|
-
* @default "12"
|
|
620
|
-
*/
|
|
621
|
-
cols?: Cols;
|
|
622
|
-
/**
|
|
623
|
-
* Component id to use on automated tests.
|
|
624
|
-
*/
|
|
625
|
-
dataTestid?: string;
|
|
626
|
-
};
|
|
627
|
-
type Cols = "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
628
|
-
//#endregion
|
|
629
|
-
//#region src/components/grid/column/column.vue.d.ts
|
|
630
|
-
/**
|
|
631
|
-
* Column component to be placed within a row.
|
|
632
|
-
*
|
|
633
|
-
* @example
|
|
634
|
-
* ```vue
|
|
635
|
-
* <template>
|
|
636
|
-
* <u-container>
|
|
637
|
-
* <u-row>
|
|
638
|
-
* <u-column>
|
|
639
|
-
* <!-- uimed-components -->
|
|
640
|
-
* </u-column>
|
|
641
|
-
* </u-row>
|
|
642
|
-
* </u-container>
|
|
643
|
-
* </template>
|
|
644
|
-
* ```
|
|
645
|
-
*
|
|
646
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Column Guide}
|
|
647
|
-
*/
|
|
648
|
-
declare const _default$3: typeof __VLS_export$5;
|
|
649
|
-
declare const __VLS_export$5: __VLS_WithSlots$4<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<ColumnProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<ColumnProps> & Readonly<{}>, {
|
|
650
|
-
cols: "12" | "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11";
|
|
651
|
-
}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
652
|
-
default?: (props: {}) => any;
|
|
653
|
-
}>;
|
|
654
|
-
type __VLS_WithSlots$4<T, S> = T & {
|
|
655
|
-
new (): {
|
|
656
|
-
$slots: S;
|
|
657
|
-
};
|
|
658
|
-
};
|
|
659
|
-
//#endregion
|
|
660
|
-
//#region src/components/form/types.d.ts
|
|
661
|
-
/**
|
|
662
|
-
* Props exposed by the {@link Form} component.
|
|
663
|
-
*/
|
|
664
|
-
type FormProps = {
|
|
665
|
-
/**
|
|
666
|
-
* Id to set on `form` native element.
|
|
667
|
-
*/
|
|
668
|
-
id?: string;
|
|
669
|
-
/**
|
|
670
|
-
* Component id to use on automated tests.
|
|
671
|
-
*/
|
|
672
|
-
dataTestid?: string;
|
|
673
|
-
};
|
|
674
|
-
//#endregion
|
|
675
|
-
//#region src/components/form/form.vue.d.ts
|
|
676
|
-
/**
|
|
677
|
-
* Form component to be used throughout the application.
|
|
678
|
-
*
|
|
679
|
-
* @example
|
|
680
|
-
* ```vue
|
|
681
|
-
* <template>
|
|
682
|
-
* <u-form @submit="onSubmit">
|
|
683
|
-
* <!-- uimed-field-components -->
|
|
684
|
-
* <!-- uimed-submit-btn-component -->
|
|
685
|
-
* </u-form>
|
|
686
|
-
* </template>
|
|
687
|
-
* ```
|
|
688
|
-
*
|
|
689
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/form | Form Guide}
|
|
690
|
-
*/
|
|
691
|
-
declare const _default$6: typeof __VLS_export$4;
|
|
692
|
-
declare const __VLS_export$4: __VLS_WithSlots$3<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<FormProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
|
|
693
|
-
submit: (event: SubmitEvent) => any;
|
|
694
|
-
}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<FormProps> & Readonly<{
|
|
695
|
-
onSubmit?: ((event: SubmitEvent) => any) | undefined;
|
|
696
|
-
}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
697
|
-
default?: (props: {}) => any;
|
|
698
|
-
}>;
|
|
699
|
-
type __VLS_WithSlots$3<T, S> = T & {
|
|
700
|
-
new (): {
|
|
701
|
-
$slots: S;
|
|
702
|
-
};
|
|
703
|
-
};
|
|
704
|
-
//#endregion
|
|
705
|
-
//#region src/components/sections/section-content/section-content.vue.d.ts
|
|
706
|
-
/**
|
|
707
|
-
* Proxy component for Vuetify's `v-card-text`, used to structure content
|
|
708
|
-
* displayed inside a {@link Section}.
|
|
709
|
-
*
|
|
710
|
-
* @example
|
|
711
|
-
* ```vue
|
|
712
|
-
* <template>
|
|
713
|
-
* <u-section title="Title">
|
|
714
|
-
* <u-section-content>Content</u-section-content>
|
|
715
|
-
* </u-section>
|
|
716
|
-
* </template>
|
|
717
|
-
* ```
|
|
718
|
-
*
|
|
719
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/section | Section Guide}
|
|
720
|
-
*/
|
|
721
|
-
declare const _default$10: typeof __VLS_export$3;
|
|
722
|
-
declare const __VLS_export$3: __VLS_WithSlots$2<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>, {
|
|
723
|
-
default?: (props: {}) => any;
|
|
724
|
-
}>;
|
|
725
|
-
type __VLS_WithSlots$2<T, S> = T & {
|
|
726
|
-
new (): {
|
|
727
|
-
$slots: S;
|
|
728
|
-
};
|
|
729
|
-
};
|
|
730
|
-
//#endregion
|
|
731
|
-
//#region src/components/sections/section/types.d.ts
|
|
732
|
-
type SectionVariant = "primary" | "secondary";
|
|
733
|
-
/**
|
|
734
|
-
* Props exposed by the {@link Section} component.
|
|
735
|
-
*/
|
|
736
|
-
type SectionProps = {
|
|
737
|
-
/**
|
|
738
|
-
* Applies a distinct style variation to the section.
|
|
739
|
-
* One of `primary` or `secondary`.
|
|
740
|
-
* @default "primary"
|
|
741
|
-
*/
|
|
742
|
-
variant?: SectionVariant;
|
|
743
|
-
/**
|
|
744
|
-
* Title displayed at the top of the section.
|
|
745
|
-
*/
|
|
746
|
-
title?: string;
|
|
747
|
-
/**
|
|
748
|
-
* Subtitle displayed below the title.
|
|
749
|
-
*/
|
|
750
|
-
subtitle?: string;
|
|
751
|
-
/**
|
|
752
|
-
* List of actions displayed at the bottom of the section, inside
|
|
753
|
-
* `v-card-actions`. When undefined or empty, no actions area is rendered.
|
|
754
|
-
*/
|
|
755
|
-
actions?: SectionAction[];
|
|
756
|
-
/**
|
|
757
|
-
* Makes the section occupy 100% of its parent's width.
|
|
758
|
-
* @default false
|
|
759
|
-
*/
|
|
760
|
-
fullWidth?: boolean;
|
|
761
|
-
/**
|
|
762
|
-
* Makes the section occupy 100% of its parent's height.
|
|
763
|
-
* @default false
|
|
764
|
-
*/
|
|
765
|
-
fullHeight?: boolean;
|
|
766
|
-
/**
|
|
767
|
-
* Shows a skeleton loader in place of the content while data is being
|
|
768
|
-
* loaded.
|
|
769
|
-
* @default false
|
|
770
|
-
*/
|
|
771
|
-
loading?: boolean;
|
|
772
|
-
/**
|
|
773
|
-
* Component id to use on automated tests.
|
|
774
|
-
*/
|
|
775
|
-
dataTestid?: string;
|
|
776
|
-
};
|
|
777
|
-
/**
|
|
778
|
-
* A single action rendered inside {@link Section}'s actions area.
|
|
779
|
-
*/
|
|
780
|
-
interface SectionAction extends ButtonProps {
|
|
781
|
-
/**
|
|
782
|
-
* Text displayed on the action button.
|
|
783
|
-
*/
|
|
784
|
-
label: string;
|
|
785
|
-
/**
|
|
786
|
-
* Called when the action button is clicked.
|
|
787
|
-
*/
|
|
788
|
-
onClick?: (event: MouseEvent) => void;
|
|
789
|
-
}
|
|
790
|
-
//#endregion
|
|
791
|
-
//#region src/components/sections/section/section.vue.d.ts
|
|
792
|
-
/**
|
|
793
|
-
* Section component to group related content and actions, to be used
|
|
794
|
-
* throughout the application.
|
|
795
|
-
*
|
|
796
|
-
* @example
|
|
797
|
-
* ```vue
|
|
798
|
-
* <template>
|
|
799
|
-
* <u-section title="Title" subtitle="Subtitle">
|
|
800
|
-
* Content
|
|
801
|
-
* </u-section>
|
|
802
|
-
* <template>
|
|
803
|
-
* ```
|
|
804
|
-
*
|
|
805
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/section | Section Guide}
|
|
806
|
-
*/
|
|
807
|
-
declare const _default$9: typeof __VLS_export$2;
|
|
808
|
-
declare const __VLS_export$2: __VLS_WithSlots$1<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<SectionProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<SectionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
809
|
-
default?: (props: {}) => any;
|
|
810
|
-
}>;
|
|
811
|
-
type __VLS_WithSlots$1<T, S> = T & {
|
|
812
|
-
new (): {
|
|
813
|
-
$slots: S;
|
|
814
|
-
};
|
|
815
|
-
};
|
|
816
|
-
//#endregion
|
|
817
|
-
//#region src/components/table/types.d.ts
|
|
818
|
-
/**
|
|
819
|
-
* Props exposed by the {@link UTable} component.
|
|
820
|
-
*/
|
|
821
|
-
type TableProps = {
|
|
822
|
-
/**
|
|
823
|
-
* Optional column headers. When not provided or empty, no `<thead>` is
|
|
824
|
-
* rendered in horizontal mode. In vertical mode, headers (when non-empty)
|
|
825
|
-
* are used as labels for rows. When `vertical` is true and `headers` is
|
|
826
|
-
* `undefined`, the component falls back to horizontal mode (single table,
|
|
827
|
-
* plain rows). When `vertical` is true and `headers` is an empty array,
|
|
828
|
-
* vertical mode is still used, but rows are rendered without labels (a
|
|
829
|
-
* single `<td>` per row).
|
|
830
|
-
*/
|
|
831
|
-
headers?: string[];
|
|
832
|
-
/**
|
|
833
|
-
* Optional rows of data. Each entry is a list of string cell values.
|
|
834
|
-
* In horizontal mode, each item becomes one `<tr>` with cells as `<td>`.
|
|
835
|
-
* In vertical mode with headers, renders one `v-table` per item with one `<tr>`
|
|
836
|
-
* per header (th + td for that item's value). In vertical mode with an empty
|
|
837
|
-
* `headers` array, renders one `v-table` per item with one `<tr>` per cell
|
|
838
|
-
* value (a single `<td>`, no `<th>`). No padding or truncation applied —
|
|
839
|
-
* cells are rendered exactly as provided, even if rows have different lengths.
|
|
840
|
-
*/
|
|
841
|
-
items?: string[][];
|
|
842
|
-
/**
|
|
843
|
-
* Changes table layout when true. When enabled with a non-empty `headers`
|
|
844
|
-
* array, renders one `v-table` per item in `items`, with each table showing
|
|
845
|
-
* that item's values vertically (one row per header). When enabled with an
|
|
846
|
-
* empty `headers` array, still renders one `v-table` per item, but each row
|
|
847
|
-
* only has the item's value (no header label). When `headers` is
|
|
848
|
-
* `undefined`, falls back to horizontal layout (single table, plain rows)
|
|
849
|
-
* regardless of this prop.
|
|
850
|
-
* @default false
|
|
851
|
-
*/
|
|
852
|
-
vertical?: boolean;
|
|
853
|
-
/**
|
|
854
|
-
* Shows a skeleton loader in place of the table content while data is being
|
|
855
|
-
* loaded.
|
|
856
|
-
* @default false
|
|
857
|
-
*/
|
|
858
|
-
loading?: boolean;
|
|
859
|
-
/**
|
|
860
|
-
* Component id to use on automated tests. In vertical mode with multiple
|
|
861
|
-
* items, each table gets a suffixed id: `${dataTestid}-${index}`. With a
|
|
862
|
-
* single table (non-vertical or vertical with one item), the unsuffixed id
|
|
863
|
-
* is used. When undefined, no data-testid attribute is set.
|
|
864
|
-
*/
|
|
865
|
-
dataTestid?: string;
|
|
866
|
-
};
|
|
867
|
-
//#endregion
|
|
868
|
-
//#region src/components/table/table.vue.d.ts
|
|
869
|
-
/**
|
|
870
|
-
* Component to present data using tables. All content is data-driven via props
|
|
871
|
-
* — no slots. Supports both horizontal (default) and vertical layouts.
|
|
872
|
-
*
|
|
873
|
-
* @example
|
|
874
|
-
* ```vue
|
|
875
|
-
* <template>
|
|
876
|
-
* <u-table :headers="['Nome', 'Idade']" :items="[['Ana', '30'], ['Bruno', '25']]" />
|
|
877
|
-
* </template>
|
|
878
|
-
* ```
|
|
879
|
-
*
|
|
880
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/table | Table Guide}
|
|
881
|
-
*/
|
|
882
|
-
declare const _default$11: typeof __VLS_export$1;
|
|
883
|
-
declare const __VLS_export$1: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<TableProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<TableProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
|
|
884
|
-
//#endregion
|
|
885
|
-
//#region src/components/details/types.d.ts
|
|
886
|
-
type DetailsVariant = "primary" | "secondary";
|
|
887
|
-
/**
|
|
888
|
-
* Props exposed by the {@link Details} component.
|
|
889
|
-
*/
|
|
890
|
-
type DetailsProps = {
|
|
891
|
-
/**
|
|
892
|
-
* Applies a distinct style variation to the details.
|
|
893
|
-
* One of `primary` or `secondary`.
|
|
894
|
-
* @default "primary"
|
|
895
|
-
*/
|
|
896
|
-
variant?: DetailsVariant;
|
|
897
|
-
/**
|
|
898
|
-
* Title displayed on the header, which expands or collapses the content
|
|
899
|
-
* when clicked. The header stays clickable even without a title.
|
|
900
|
-
*/
|
|
901
|
-
title?: string;
|
|
902
|
-
/**
|
|
903
|
-
* Shows a skeleton loader in place of the details while data is being
|
|
904
|
-
* loaded.
|
|
905
|
-
* @default false
|
|
906
|
-
*/
|
|
907
|
-
loading?: boolean;
|
|
908
|
-
/**
|
|
909
|
-
* Component id to use on automated tests.
|
|
910
|
-
*/
|
|
911
|
-
dataTestid?: string;
|
|
912
|
-
};
|
|
913
|
-
//#endregion
|
|
914
|
-
//#region src/components/details/details.vue.d.ts
|
|
915
|
-
/**
|
|
916
|
-
* Details component to show content that can be expanded or collapsed by
|
|
917
|
-
* clicking on its title. Starts collapsed.
|
|
918
|
-
*
|
|
919
|
-
* @example
|
|
920
|
-
* ```vue
|
|
921
|
-
* <template>
|
|
922
|
-
* <u-details title="Title">
|
|
923
|
-
* Content
|
|
924
|
-
* </u-details>
|
|
925
|
-
* </template>
|
|
926
|
-
* ```
|
|
927
|
-
*
|
|
928
|
-
* @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/details | Details Guide}
|
|
929
|
-
*/
|
|
930
|
-
declare const _default$5: typeof __VLS_export;
|
|
931
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<DetailsProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<DetailsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
|
|
932
|
-
default?: (props: {}) => any;
|
|
933
|
-
}>;
|
|
934
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
935
|
-
new (): {
|
|
936
|
-
$slots: S;
|
|
937
|
-
};
|
|
938
|
-
};
|
|
939
|
-
//#endregion
|
|
940
|
-
export { _default as UAutocompleteField, _default$1 as UButton, _default$2 as UCheckbox, _default$3 as UColumn, _default$4 as UContainer, _default$5 as UDetails, _default$6 as UForm, _default$7 as UMain, _default$8 as URow, _default$9 as USection, _default$10 as USectionContent, _default$11 as UTable, _default$12 as UTextField };
|
|
1
|
+
import _default$14 from "./components/main/main.vue.js";
|
|
2
|
+
import _default$1 from "./components/button/button.vue.js";
|
|
3
|
+
import _default$11 from "./components/icon-button/icon-button.vue.js";
|
|
4
|
+
import _default from "./components/inputs/autocomplete-field/autocomplete-field.vue.js";
|
|
5
|
+
import _default$21 from "./components/inputs/text-field/text-field.vue.js";
|
|
6
|
+
import _default$2 from "./components/inputs/checkbox/checkbox.vue.js";
|
|
7
|
+
import _default$7 from "./components/inputs/date-time-field/date-time-field.vue.js";
|
|
8
|
+
import _default$15 from "./components/inputs/mask-field/mask-field.vue.js";
|
|
9
|
+
import _default$4 from "./components/grid/container/container.vue.js";
|
|
10
|
+
import _default$17 from "./components/grid/row/row.vue.js";
|
|
11
|
+
import _default$3 from "./components/grid/column/column.vue.js";
|
|
12
|
+
import _default$10 from "./components/form/form.vue.js";
|
|
13
|
+
import _default$19 from "./components/sections/section-content/section-content.vue.js";
|
|
14
|
+
import _default$18 from "./components/sections/section/section.vue.js";
|
|
15
|
+
import _default$20 from "./components/table/table.vue.js";
|
|
16
|
+
import _default$8 from "./components/details/details.vue.js";
|
|
17
|
+
import _default$12 from "./components/img/img.vue.js";
|
|
18
|
+
import _default$13 from "./components/link/link.vue.js";
|
|
19
|
+
import _default$5 from "./components/data-sets/data-set/data-set.vue.js";
|
|
20
|
+
import _default$6 from "./components/data-sets/data-set-item/data-set-item.vue.js";
|
|
21
|
+
import _default$9 from "./components/dialogs/dialog/dialog.vue.js";
|
|
22
|
+
import _default$16 from "./components/page-transition/page-transition.vue.js";
|
|
23
|
+
export { _default as UAutocompleteField, _default$1 as UButton, _default$2 as UCheckbox, _default$3 as UColumn, _default$4 as UContainer, _default$5 as UDataSet, _default$6 as UDataSetItem, _default$7 as UDateTimeField, _default$8 as UDetails, _default$9 as UDialog, _default$10 as UForm, _default$11 as UIconButton, _default$12 as UImg, _default$13 as ULink, _default$14 as UMain, _default$15 as UMaskField, _default$16 as UPageTransition, _default$17 as URow, _default$18 as USection, _default$19 as USectionContent, _default$20 as UTable, _default$21 as UTextField };
|