@nexdom/uimed-vue 2.0.0-beta.6 → 2.0.0-beta.60

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.
Files changed (164) hide show
  1. package/AGENTS.md +131 -17
  2. package/README.md +1 -1
  3. package/dist/_virtual/_rolldown/runtime.js +7 -0
  4. package/dist/components/app-bar/app-bar.js +5 -0
  5. package/dist/components/app-bar/app-bar.vue_vue_type_script_setup_true_lang.js +286 -0
  6. package/dist/components/app-bar/types.d.ts +96 -0
  7. package/dist/components/button/button.js +5 -0
  8. package/dist/components/button/button.vue.d.ts +31 -0
  9. package/dist/components/button/button.vue_vue_type_script_setup_true_lang.js +97 -0
  10. package/dist/components/button/types.d.ts +65 -0
  11. package/dist/components/data-sets/data-set/data-set.js +5 -0
  12. package/dist/components/data-sets/data-set/data-set.vue.d.ts +47 -0
  13. package/dist/components/data-sets/data-set/data-set.vue_vue_type_script_setup_true_lang.js +157 -0
  14. package/dist/components/data-sets/data-set/types.d.ts +91 -0
  15. package/dist/components/data-sets/data-set-bar.js +5 -0
  16. package/dist/components/data-sets/data-set-bar.vue_vue_type_script_setup_true_lang.js +92 -0
  17. package/dist/components/data-sets/data-set-item/data-set-item.js +5 -0
  18. package/dist/components/data-sets/data-set-item/data-set-item.vue.d.ts +35 -0
  19. package/dist/components/data-sets/data-set-item/data-set-item.vue_vue_type_script_setup_true_lang.js +57 -0
  20. package/dist/components/data-sets/data-set-item/types.d.ts +42 -0
  21. package/dist/components/details/details.js +5 -0
  22. package/dist/components/details/details.vue.d.ts +28 -0
  23. package/dist/components/details/details.vue_vue_type_script_setup_true_lang.js +56 -0
  24. package/dist/components/details/types.d.ts +29 -0
  25. package/dist/components/dialogs/dialog/dialog-host-key.js +10 -0
  26. package/dist/components/dialogs/dialog/dialog.js +5 -0
  27. package/dist/components/dialogs/dialog/dialog.vue.d.ts +36 -0
  28. package/dist/components/dialogs/dialog/dialog.vue_vue_type_script_setup_true_lang.js +112 -0
  29. package/dist/components/dialogs/dialog/types.d.ts +47 -0
  30. package/dist/components/dialogs/dialog-host.js +5 -0
  31. package/dist/components/dialogs/dialog-host.vue_vue_type_script_setup_true_lang.js +81 -0
  32. package/dist/components/dialogs/toast.js +5 -0
  33. package/dist/components/dialogs/toast.vue_vue_type_script_setup_true_lang.js +35 -0
  34. package/dist/components/footer/footer.js +5 -0
  35. package/dist/components/footer/footer.vue_vue_type_script_setup_true_lang.js +31 -0
  36. package/dist/components/footer/types.d.ts +16 -0
  37. package/dist/components/form/form.js +5 -0
  38. package/dist/components/form/form.vue.d.ts +32 -0
  39. package/dist/components/form/form.vue_vue_type_script_setup_true_lang.js +37 -0
  40. package/dist/components/form/types.d.ts +15 -0
  41. package/dist/components/grid/column/column.js +5 -0
  42. package/dist/components/grid/column/column.vue.d.ts +33 -0
  43. package/dist/components/grid/column/column.vue_vue_type_script_setup_true_lang.js +45 -0
  44. package/dist/components/grid/column/types.d.ts +27 -0
  45. package/dist/components/grid/container/container.js +5 -0
  46. package/dist/components/grid/container/container.vue.d.ts +27 -0
  47. package/dist/components/grid/container/container.vue_vue_type_script_setup_true_lang.js +33 -0
  48. package/dist/components/grid/container/types.d.ts +17 -0
  49. package/dist/components/grid/row/row.js +5 -0
  50. package/dist/components/grid/row/row.vue.d.ts +29 -0
  51. package/dist/components/grid/row/row.vue_vue_type_script_setup_true_lang.js +61 -0
  52. package/dist/components/grid/row/types.d.ts +63 -0
  53. package/dist/components/icon-button/icon-button.js +5 -0
  54. package/dist/components/icon-button/icon-button.vue.d.ts +23 -0
  55. package/dist/components/icon-button/icon-button.vue_vue_type_script_setup_true_lang.js +51 -0
  56. package/dist/components/icon-button/types.d.ts +32 -0
  57. package/dist/components/img/img.js +5 -0
  58. package/dist/components/img/img.vue.d.ts +23 -0
  59. package/dist/components/img/img.vue_vue_type_script_setup_true_lang.js +61 -0
  60. package/dist/components/img/types.d.ts +43 -0
  61. package/dist/components/inputs/autocomplete-field/autocomplete-field.js +5 -0
  62. package/dist/components/inputs/autocomplete-field/autocomplete-field.vue.d.ts +33 -0
  63. package/dist/components/inputs/autocomplete-field/autocomplete-field.vue_vue_type_script_setup_true_lang.js +161 -0
  64. package/dist/components/inputs/autocomplete-field/types.d.ts +84 -0
  65. package/dist/components/inputs/checkbox/checkbox.js +5 -0
  66. package/dist/components/inputs/checkbox/checkbox.vue.d.ts +33 -0
  67. package/dist/components/inputs/checkbox/checkbox.vue_vue_type_script_setup_true_lang.js +71 -0
  68. package/dist/components/inputs/checkbox/types.d.ts +35 -0
  69. package/dist/components/inputs/date-time-field/date-time-field.js +5 -0
  70. package/dist/components/inputs/date-time-field/date-time-field.vue.d.ts +32 -0
  71. package/dist/components/inputs/date-time-field/date-time-field.vue_vue_type_script_setup_true_lang.js +205 -0
  72. package/dist/components/inputs/date-time-field/types.d.ts +84 -0
  73. package/dist/components/inputs/field-loader.js +5 -0
  74. package/dist/components/inputs/field-loader.vue_vue_type_script_setup_true_lang.js +30 -0
  75. package/dist/components/inputs/mask-field/mask-field.js +5 -0
  76. package/dist/components/inputs/mask-field/mask-field.vue.d.ts +32 -0
  77. package/dist/components/inputs/mask-field/mask-field.vue_vue_type_script_setup_true_lang.js +120 -0
  78. package/dist/components/inputs/mask-field/types.d.ts +118 -0
  79. package/dist/components/inputs/text-field/text-field.js +5 -0
  80. package/dist/components/inputs/text-field/text-field.vue.d.ts +30 -0
  81. package/dist/components/inputs/text-field/text-field.vue_vue_type_script_setup_true_lang.js +119 -0
  82. package/dist/components/inputs/text-field/types.d.ts +70 -0
  83. package/dist/components/link/link.js +5 -0
  84. package/dist/components/link/link.vue.d.ts +27 -0
  85. package/dist/components/link/link.vue_vue_type_script_setup_true_lang.js +32 -0
  86. package/dist/components/link/types.d.ts +18 -0
  87. package/dist/components/main/main.js +5 -0
  88. package/dist/components/main/main.vue.d.ts +33 -0
  89. package/dist/components/main/main.vue_vue_type_script_setup_true_lang.js +102 -0
  90. package/dist/components/main/types.d.ts +75 -0
  91. package/dist/components/navigation-menu/navigation-menu.js +5 -0
  92. package/dist/components/navigation-menu/navigation-menu.vue_vue_type_script_setup_true_lang.js +145 -0
  93. package/dist/components/navigation-menu/types.d.ts +62 -0
  94. package/dist/components/page-transition/page-transition.js +5 -0
  95. package/dist/components/page-transition/page-transition.vue.d.ts +40 -0
  96. package/dist/components/page-transition/page-transition.vue_vue_type_script_setup_true_lang.js +27 -0
  97. package/dist/components/page-transition/types.d.ts +18 -0
  98. package/dist/components/sections/section/section.js +5 -0
  99. package/dist/components/sections/section/section.vue.d.ts +28 -0
  100. package/dist/components/sections/section/section.vue_vue_type_script_setup_true_lang.js +108 -0
  101. package/dist/components/sections/section/types.d.ts +80 -0
  102. package/dist/components/sections/section-content/section-content.js +5 -0
  103. package/dist/components/sections/section-content/section-content.vue.d.ts +27 -0
  104. package/dist/components/sections/section-content/section-content.vue_vue_type_script_setup_true_lang.js +16 -0
  105. package/dist/components/skeleton-loader/skeleton-loader.js +5 -0
  106. package/dist/components/skeleton-loader/skeleton-loader.vue_vue_type_script_setup_true_lang.js +65 -0
  107. package/dist/components/table/table.js +5 -0
  108. package/dist/components/table/table.vue.d.ts +19 -0
  109. package/dist/components/table/table.vue_vue_type_script_setup_true_lang.js +84 -0
  110. package/dist/components/table/types.d.ts +51 -0
  111. package/dist/components.d.ts +23 -828
  112. package/dist/components.js +23 -1112
  113. package/dist/composables/alignment/alignment.js +41 -0
  114. package/dist/composables/alignment/types.d.ts +12 -0
  115. package/dist/composables/button/button.js +54 -0
  116. package/dist/composables/colors/constants.js +27 -0
  117. package/dist/composables/colors/types.d.ts +4 -0
  118. package/dist/composables/colors/use-vuetify-background-color.js +16 -0
  119. package/dist/composables/colors/use-vuetify-color.js +11 -0
  120. package/dist/composables/colors/use-vuetify-text-color.js +12 -0
  121. package/dist/composables/data-set/data-set.js +128 -0
  122. package/dist/composables/dialogs/types.d.ts +88 -0
  123. package/dist/composables/dialogs/use-confirm.d.ts +21 -0
  124. package/dist/composables/dialogs/use-confirm.js +55 -0
  125. package/dist/composables/dialogs/use-decorative-timer.js +25 -0
  126. package/dist/composables/dialogs/use-dialog-focus.js +64 -0
  127. package/dist/composables/dialogs/use-dialog-loading.js +13 -0
  128. package/dist/composables/dialogs/use-dialog.d.ts +36 -0
  129. package/dist/composables/dialogs/use-dialog.js +73 -0
  130. package/dist/composables/dialogs/use-run-or-toast.d.ts +27 -0
  131. package/dist/composables/dialogs/use-run-or-toast.js +65 -0
  132. package/dist/composables/dialogs/use-toast.d.ts +25 -0
  133. package/dist/composables/dialogs/use-toast.js +39 -0
  134. package/dist/composables/dimensions/dimensions.js +18 -0
  135. package/dist/composables/inputs/autocomplete-field.js +39 -0
  136. package/dist/composables/inputs/date-time-field.js +109 -0
  137. package/dist/composables/inputs/fields.js +28 -0
  138. package/dist/composables/inputs/mask-field.js +133 -0
  139. package/dist/composables/inputs/rules.js +16 -0
  140. package/dist/composables/inputs/text-field.js +81 -0
  141. package/dist/composables/navigation/types.d.ts +54 -0
  142. package/dist/composables/navigation/use-navigation-search-shortcut.js +97 -0
  143. package/dist/composables/navigation/use-route-props.js +21 -0
  144. package/dist/composables/navigation/use-unsaved-changes.d.ts +35 -0
  145. package/dist/composables/navigation/use-unsaved-changes.js +88 -0
  146. package/dist/composables/section/section.js +34 -0
  147. package/dist/composables.d.ts +6 -67
  148. package/dist/composables.js +6 -65
  149. package/dist/consts/icons.d.ts +67 -0
  150. package/dist/consts/icons.js +69 -0
  151. package/dist/consts/locale.js +12 -0
  152. package/dist/consts/types.d.ts +12 -0
  153. package/dist/index.d.ts +3 -16
  154. package/dist/index.js +38 -14
  155. package/dist/plugins.d.ts +17 -7
  156. package/dist/plugins.js +54 -3
  157. package/dist/styles/fonts/UnimedSlab-Regular.woff2 +0 -0
  158. package/dist/styles/fonts/fonts.css +5 -0
  159. package/dist/styles/settings.scss +155 -0
  160. package/dist/unit-test.d.ts +2 -3
  161. package/dist/unit-test.js +11 -7
  162. package/package.json +14 -12
  163. package/dist/types-BPXXtbmW.d.ts +0 -5
  164. package/dist/use-toast-CACuYhK_.js +0 -53
@@ -1,828 +1,23 @@
1
- import { t as ColorVariant } from "./types-BPXXtbmW.js";
2
- import { RouteLocationRaw } from "vue-router";
3
- //#region src/components/app-bar/types.d.ts
4
- /**
5
- * Props exposed by the {@link AppBar} component.
6
- */
7
- type AppBarProps = {
8
- /**
9
- * Component id to use on automated tests.
10
- */
11
- dataTestid?: string;
12
- /**
13
- * Main title to be presented.
14
- */
15
- title?: string;
16
- /**
17
- * Help page route.
18
- */
19
- help?: RouteLocationRaw;
20
- /**
21
- * Resources available to the user in the app-bar
22
- */
23
- user?: AppBarUserProps;
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$6: typeof __VLS_export$11;
175
- declare const __VLS_export$11: __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: typeof __VLS_export$10;
252
- declare const __VLS_export$10: __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/text-field/text-field.vue.d.ts
330
- /**
331
- * Text field component to be used throughout the application.
332
- *
333
- * @example
334
- * ```vue
335
- * <template>
336
- * <u-text-field label="E-mail" type="email" />
337
- * <template>
338
- * ```
339
- *
340
- * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/text-field | TextField Guide}
341
- */
342
- declare const _default$11: typeof __VLS_export$9;
343
- declare const __VLS_export$9: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<TextFieldProps & {
344
- modelValue?: string;
345
- }, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
346
- "update:modelValue": (value: string) => any;
347
- }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<TextFieldProps & {
348
- modelValue?: string;
349
- }> & Readonly<{
350
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
351
- }>, {
352
- variant: TextFieldVariant;
353
- type: TextFieldType;
354
- clearable: boolean;
355
- }, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
356
- //#endregion
357
- //#region src/components/inputs/checkbox/types.d.ts
358
- /**
359
- * Props exposed by the {@link Checkbox} component.
360
- */
361
- type CheckboxProps<T = boolean> = {
362
- /**
363
- * Field label.
364
- */
365
- label?: string;
366
- /**
367
- * Removes the ability to click or target the checkbox.
368
- * @default false
369
- */
370
- disabled?: boolean;
371
- /**
372
- * Prevent value changes.
373
- * @default false
374
- */
375
- readonly?: boolean;
376
- /**
377
- * Value applied to the model when the checkbox is checked.
378
- * @default true
379
- */
380
- trueValue?: T;
381
- /**
382
- * Value applied to the model when the checkbox is unchecked.
383
- * @default false
384
- */
385
- falseValue?: T;
386
- /**
387
- * Component id to use on automated tests.
388
- */
389
- dataTestid?: string;
390
- };
391
- //#endregion
392
- //#region src/components/inputs/checkbox/checkbox.vue.d.ts
393
- /**
394
- * Checkbox component to be used throughout the application.
395
- *
396
- * @example
397
- * ```vue
398
- * <template>
399
- * <u-checkbox label="Aceito os termos" />
400
- * </template>
401
- * ```
402
- *
403
- * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/checkbox | Checkbox Guide}
404
- */
405
- declare const _default$1: typeof __VLS_export$8;
406
- 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<{
407
- props: import("vue").PublicProps & __VLS_PrettifyLocal<(CheckboxProps<boolean | T> & {
408
- modelValue?: T;
409
- }) & {
410
- "onUpdate:modelValue"?: ((value: T) => any) | undefined;
411
- }> & (typeof globalThis extends {
412
- __VLS_PROPS_FALLBACK: infer P;
413
- } ? P : {});
414
- expose: (exposed: {}) => void;
415
- attrs: any;
416
- slots: {};
417
- emit: (event: "update:modelValue", value: T) => void;
418
- }>) => import("vue").VNode & {
419
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
420
- };
421
- type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
422
- //#endregion
423
- //#region src/components/grid/container/types.d.ts
424
- /**
425
- * Props exposed by the {@link Container} component.
426
- */
427
- type ContainerProps = {
428
- /**
429
- * Component id to use on automated tests.
430
- */
431
- dataTestid?: string;
432
- };
433
- //#endregion
434
- //#region src/components/grid/container/container.vue.d.ts
435
- /**
436
- * Container component to be placed at the top of the component tree.
437
- *
438
- * @example
439
- * ```vue
440
- * <template>
441
- * <u-container>
442
- * <!-- uimed-components -->
443
- * </u-container>
444
- * <template>
445
- * ```
446
- *
447
- * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Container Guide}
448
- */
449
- declare const _default$3: typeof __VLS_export$7;
450
- 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>, {
451
- default?: (props: {}) => any;
452
- }>;
453
- type __VLS_WithSlots$6<T, S> = T & {
454
- new (): {
455
- $slots: S;
456
- };
457
- };
458
- //#endregion
459
- //#region src/components/grid/row/types.d.ts
460
- /**
461
- * Props exposed by the {@link Row} component.
462
- */
463
- type RowProps = {
464
- /**
465
- * Component id to use on automated tests.
466
- */
467
- dataTestid?: string;
468
- };
469
- //#endregion
470
- //#region src/components/grid/row/row.vue.d.ts
471
- /**
472
- * Row component to be placed within a container.
473
- *
474
- * @example
475
- * ```vue
476
- * <template>
477
- * <u-container>
478
- * <u-row>
479
- * <!-- uimed-column -->
480
- * </u-row>
481
- * </u-container>
482
- * </template>
483
- * ```
484
- *
485
- * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Row Guide}
486
- */
487
- declare const _default$7: typeof __VLS_export$6;
488
- 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>, {
489
- default?: (props: {}) => any;
490
- }>;
491
- type __VLS_WithSlots$5<T, S> = T & {
492
- new (): {
493
- $slots: S;
494
- };
495
- };
496
- //#endregion
497
- //#region src/components/grid/column/types.d.ts
498
- /**
499
- * Props exposed by the {@link Col} component.
500
- */
501
- type ColumnProps = {
502
- /**
503
- * Number of columns to stretch the component.
504
- * Available options are:
505
- * - `"auto"`: which won't try to stretch the component
506
- * - `"1"` to `"12"`.
507
- * @default "12"
508
- */
509
- cols?: Cols;
510
- /**
511
- * Component id to use on automated tests.
512
- */
513
- dataTestid?: string;
514
- };
515
- type Cols = "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
516
- //#endregion
517
- //#region src/components/grid/column/column.vue.d.ts
518
- /**
519
- * Column component to be placed within a row.
520
- *
521
- * @example
522
- * ```vue
523
- * <template>
524
- * <u-container>
525
- * <u-row>
526
- * <u-column>
527
- * <!-- uimed-components -->
528
- * </u-column>
529
- * </u-row>
530
- * </u-container>
531
- * </template>
532
- * ```
533
- *
534
- * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Column Guide}
535
- */
536
- declare const _default$2: typeof __VLS_export$5;
537
- 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<{}>, {
538
- cols: "12" | "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11";
539
- }, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
540
- default?: (props: {}) => any;
541
- }>;
542
- type __VLS_WithSlots$4<T, S> = T & {
543
- new (): {
544
- $slots: S;
545
- };
546
- };
547
- //#endregion
548
- //#region src/components/form/types.d.ts
549
- /**
550
- * Props exposed by the {@link Form} component.
551
- */
552
- type FormProps = {
553
- /**
554
- * Id to set on `form` native element.
555
- */
556
- id?: string;
557
- /**
558
- * Component id to use on automated tests.
559
- */
560
- dataTestid?: string;
561
- };
562
- //#endregion
563
- //#region src/components/form/form.vue.d.ts
564
- /**
565
- * Form component to be used throughout the application.
566
- *
567
- * @example
568
- * ```vue
569
- * <template>
570
- * <u-form @submit="onSubmit">
571
- * <!-- uimed-field-components -->
572
- * <!-- uimed-submit-btn-component -->
573
- * </u-form>
574
- * </template>
575
- * ```
576
- *
577
- * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/form | Form Guide}
578
- */
579
- declare const _default$5: typeof __VLS_export$4;
580
- 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, {} & {
581
- submit: (event: SubmitEvent) => any;
582
- }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<FormProps> & Readonly<{
583
- onSubmit?: ((event: SubmitEvent) => any) | undefined;
584
- }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
585
- default?: (props: {}) => any;
586
- }>;
587
- type __VLS_WithSlots$3<T, S> = T & {
588
- new (): {
589
- $slots: S;
590
- };
591
- };
592
- //#endregion
593
- //#region src/components/sections/section-content/section-content.vue.d.ts
594
- /**
595
- * Proxy component for Vuetify's `v-card-text`, used to structure content
596
- * displayed inside a {@link Section}.
597
- *
598
- * @example
599
- * ```vue
600
- * <template>
601
- * <u-section title="Title">
602
- * <u-section-content>Content</u-section-content>
603
- * </u-section>
604
- * </template>
605
- * ```
606
- *
607
- * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/section | Section Guide}
608
- */
609
- declare const _default$9: typeof __VLS_export$3;
610
- 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>, {
611
- default?: (props: {}) => any;
612
- }>;
613
- type __VLS_WithSlots$2<T, S> = T & {
614
- new (): {
615
- $slots: S;
616
- };
617
- };
618
- //#endregion
619
- //#region src/components/sections/section/types.d.ts
620
- type SectionVariant = "primary" | "secondary";
621
- /**
622
- * Props exposed by the {@link Section} component.
623
- */
624
- type SectionProps = {
625
- /**
626
- * Applies a distinct style variation to the section.
627
- * One of `primary` or `secondary`.
628
- * @default "primary"
629
- */
630
- variant?: SectionVariant;
631
- /**
632
- * Title displayed at the top of the section.
633
- */
634
- title?: string;
635
- /**
636
- * Subtitle displayed below the title.
637
- */
638
- subtitle?: string;
639
- /**
640
- * List of actions displayed at the bottom of the section, inside
641
- * `v-card-actions`. When undefined or empty, no actions area is rendered.
642
- */
643
- actions?: SectionAction[];
644
- /**
645
- * Makes the section occupy 100% of its parent's width.
646
- * @default false
647
- */
648
- fullWidth?: boolean;
649
- /**
650
- * Makes the section occupy 100% of its parent's height.
651
- * @default false
652
- */
653
- fullHeight?: boolean;
654
- /**
655
- * Shows a skeleton loader in place of the content while data is being
656
- * loaded.
657
- * @default false
658
- */
659
- loading?: boolean;
660
- /**
661
- * Component id to use on automated tests.
662
- */
663
- dataTestid?: string;
664
- };
665
- /**
666
- * A single action rendered inside {@link Section}'s actions area.
667
- */
668
- interface SectionAction extends ButtonProps {
669
- /**
670
- * Text displayed on the action button.
671
- */
672
- label: string;
673
- /**
674
- * Called when the action button is clicked.
675
- */
676
- onClick?: (event: MouseEvent) => void;
677
- }
678
- //#endregion
679
- //#region src/components/sections/section/section.vue.d.ts
680
- /**
681
- * Section component to group related content and actions, to be used
682
- * throughout the application.
683
- *
684
- * @example
685
- * ```vue
686
- * <template>
687
- * <u-section title="Title" subtitle="Subtitle">
688
- * Content
689
- * </u-section>
690
- * <template>
691
- * ```
692
- *
693
- * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/section | Section Guide}
694
- */
695
- declare const _default$8: typeof __VLS_export$2;
696
- 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>, {
697
- default?: (props: {}) => any;
698
- }>;
699
- type __VLS_WithSlots$1<T, S> = T & {
700
- new (): {
701
- $slots: S;
702
- };
703
- };
704
- //#endregion
705
- //#region src/components/table/types.d.ts
706
- /**
707
- * Props exposed by the {@link UTable} component.
708
- */
709
- type TableProps = {
710
- /**
711
- * Optional column headers. When not provided or empty, no `<thead>` is
712
- * rendered in horizontal mode. In vertical mode, headers (when non-empty)
713
- * are used as labels for rows. When `vertical` is true and `headers` is
714
- * `undefined`, the component falls back to horizontal mode (single table,
715
- * plain rows). When `vertical` is true and `headers` is an empty array,
716
- * vertical mode is still used, but rows are rendered without labels (a
717
- * single `<td>` per row).
718
- */
719
- headers?: string[];
720
- /**
721
- * Optional rows of data. Each entry is a list of string cell values.
722
- * In horizontal mode, each item becomes one `<tr>` with cells as `<td>`.
723
- * In vertical mode with headers, renders one `v-table` per item with one `<tr>`
724
- * per header (th + td for that item's value). In vertical mode with an empty
725
- * `headers` array, renders one `v-table` per item with one `<tr>` per cell
726
- * value (a single `<td>`, no `<th>`). No padding or truncation applied —
727
- * cells are rendered exactly as provided, even if rows have different lengths.
728
- */
729
- items?: string[][];
730
- /**
731
- * Changes table layout when true. When enabled with a non-empty `headers`
732
- * array, renders one `v-table` per item in `items`, with each table showing
733
- * that item's values vertically (one row per header). When enabled with an
734
- * empty `headers` array, still renders one `v-table` per item, but each row
735
- * only has the item's value (no header label). When `headers` is
736
- * `undefined`, falls back to horizontal layout (single table, plain rows)
737
- * regardless of this prop.
738
- * @default false
739
- */
740
- vertical?: boolean;
741
- /**
742
- * Shows a skeleton loader in place of the table content while data is being
743
- * loaded.
744
- * @default false
745
- */
746
- loading?: boolean;
747
- /**
748
- * Component id to use on automated tests. In vertical mode with multiple
749
- * items, each table gets a suffixed id: `${dataTestid}-${index}`. With a
750
- * single table (non-vertical or vertical with one item), the unsuffixed id
751
- * is used. When undefined, no data-testid attribute is set.
752
- */
753
- dataTestid?: string;
754
- };
755
- //#endregion
756
- //#region src/components/table/table.vue.d.ts
757
- /**
758
- * Component to present data using tables. All content is data-driven via props
759
- * — no slots. Supports both horizontal (default) and vertical layouts.
760
- *
761
- * @example
762
- * ```vue
763
- * <template>
764
- * <u-table :headers="['Nome', 'Idade']" :items="[['Ana', '30'], ['Bruno', '25']]" />
765
- * </template>
766
- * ```
767
- *
768
- * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/table | Table Guide}
769
- */
770
- declare const _default$10: typeof __VLS_export$1;
771
- 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>;
772
- //#endregion
773
- //#region src/components/details/types.d.ts
774
- type DetailsVariant = "primary" | "secondary";
775
- /**
776
- * Props exposed by the {@link Details} component.
777
- */
778
- type DetailsProps = {
779
- /**
780
- * Applies a distinct style variation to the details.
781
- * One of `primary` or `secondary`.
782
- * @default "primary"
783
- */
784
- variant?: DetailsVariant;
785
- /**
786
- * Title displayed on the header, which expands or collapses the content
787
- * when clicked. The header stays clickable even without a title.
788
- */
789
- title?: string;
790
- /**
791
- * Shows a skeleton loader in place of the details while data is being
792
- * loaded.
793
- * @default false
794
- */
795
- loading?: boolean;
796
- /**
797
- * Component id to use on automated tests.
798
- */
799
- dataTestid?: string;
800
- };
801
- //#endregion
802
- //#region src/components/details/details.vue.d.ts
803
- /**
804
- * Details component to show content that can be expanded or collapsed by
805
- * clicking on its title. Starts collapsed.
806
- *
807
- * @example
808
- * ```vue
809
- * <template>
810
- * <u-details title="Title">
811
- * Content
812
- * </u-details>
813
- * </template>
814
- * ```
815
- *
816
- * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/details | Details Guide}
817
- */
818
- declare const _default$4: typeof __VLS_export;
819
- 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>, {
820
- default?: (props: {}) => any;
821
- }>;
822
- type __VLS_WithSlots<T, S> = T & {
823
- new (): {
824
- $slots: S;
825
- };
826
- };
827
- //#endregion
828
- export { _default as UButton, _default$1 as UCheckbox, _default$2 as UColumn, _default$3 as UContainer, _default$4 as UDetails, _default$5 as UForm, _default$6 as UMain, _default$7 as URow, _default$8 as USection, _default$9 as USectionContent, _default$10 as UTable, _default$11 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 };