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

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/AGENTS.md CHANGED
@@ -118,6 +118,7 @@ CI (`.github/workflows/ci.yml`) runs, in order: commitlint on PR commits, `vp pa
118
118
 
119
119
  - All `src` code is written in English. `docs` content is written in Portuguese (aimed at Brazilian users), even though file/dir names stay in English.
120
120
  - `docs` must not mention Vuetify
121
+ - A new component/composable must be listed in its guide page (`docs/guide/…`), its API page (`docs/api/…`), both sidebars in `docs/.vitepress/config.ts`, the guide index table (`docs/guide/index.md`) and the API index list (`docs/api/index.md`).
121
122
  - Never write CSS, classes or any kind of styling. Always use component props.
122
123
  - Path aliases: `@/*` → `src/*`, `@e2e/*` → `e2e/*`.
123
124
  - Every public component follows this pattern to block access to internals and give it an editor-hover description:
@@ -171,8 +171,8 @@ type MainProps = {
171
171
  *
172
172
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/main | Main Guide}
173
173
  */
174
- declare const _default$5: typeof __VLS_export$10;
175
- declare const __VLS_export$10: __VLS_WithSlots$7<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<MainProps & {
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
176
  notificationsOpen?: boolean;
177
177
  }, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
178
178
  "update:notificationsOpen": (value: boolean) => any;
@@ -183,7 +183,7 @@ declare const __VLS_export$10: __VLS_WithSlots$7<import("vue", { with: { "resolu
183
183
  }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
184
184
  default?: (props: {}) => any;
185
185
  }>;
186
- type __VLS_WithSlots$7<T, S> = T & {
186
+ type __VLS_WithSlots$8<T, S> = T & {
187
187
  new (): {
188
188
  $slots: S;
189
189
  };
@@ -248,15 +248,15 @@ type ButtonProps = {
248
248
  *
249
249
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/button | Button Guide}
250
250
  */
251
- declare const _default: typeof __VLS_export$9;
252
- declare const __VLS_export$9: __VLS_WithSlots$6<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
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
253
  click: (event: MouseEvent) => any;
254
254
  }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<ButtonProps> & Readonly<{
255
255
  onClick?: ((event: MouseEvent) => any) | undefined;
256
256
  }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
257
257
  default?: (props: {}) => any;
258
258
  }>;
259
- type __VLS_WithSlots$6<T, S> = T & {
259
+ type __VLS_WithSlots$7<T, S> = T & {
260
260
  new (): {
261
261
  $slots: S;
262
262
  };
@@ -339,8 +339,8 @@ type TextFieldProps = {
339
339
  *
340
340
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/text-field | TextField Guide}
341
341
  */
342
- declare const _default$10: typeof __VLS_export$8;
343
- declare const __VLS_export$8: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<TextFieldProps & {
342
+ declare const _default$11: typeof __VLS_export$9;
343
+ declare const __VLS_export$9: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<TextFieldProps & {
344
344
  modelValue?: string;
345
345
  }, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
346
346
  "update:modelValue": (value: string) => any;
@@ -402,8 +402,8 @@ type CheckboxProps<T = boolean> = {
402
402
  *
403
403
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/checkbox | Checkbox Guide}
404
404
  */
405
- declare const _default$1: typeof __VLS_export$7;
406
- declare const __VLS_export$7: <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<{
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
407
  props: import("vue").PublicProps & __VLS_PrettifyLocal<(CheckboxProps<boolean | T> & {
408
408
  modelValue?: T;
409
409
  }) & {
@@ -446,11 +446,11 @@ type ContainerProps = {
446
446
  *
447
447
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Container Guide}
448
448
  */
449
- declare const _default$3: typeof __VLS_export$6;
450
- declare const __VLS_export$6: __VLS_WithSlots$5<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>, {
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
451
  default?: (props: {}) => any;
452
452
  }>;
453
- type __VLS_WithSlots$5<T, S> = T & {
453
+ type __VLS_WithSlots$6<T, S> = T & {
454
454
  new (): {
455
455
  $slots: S;
456
456
  };
@@ -484,11 +484,11 @@ type RowProps = {
484
484
  *
485
485
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Row Guide}
486
486
  */
487
- declare const _default$6: typeof __VLS_export$5;
488
- declare const __VLS_export$5: __VLS_WithSlots$4<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>, {
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
489
  default?: (props: {}) => any;
490
490
  }>;
491
- type __VLS_WithSlots$4<T, S> = T & {
491
+ type __VLS_WithSlots$5<T, S> = T & {
492
492
  new (): {
493
493
  $slots: S;
494
494
  };
@@ -533,13 +533,13 @@ type Cols = "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10"
533
533
  *
534
534
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/layout | Column Guide}
535
535
  */
536
- declare const _default$2: typeof __VLS_export$4;
537
- declare const __VLS_export$4: __VLS_WithSlots$3<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<{}>, {
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
538
  cols: "12" | "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11";
539
539
  }, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
540
540
  default?: (props: {}) => any;
541
541
  }>;
542
- type __VLS_WithSlots$3<T, S> = T & {
542
+ type __VLS_WithSlots$4<T, S> = T & {
543
543
  new (): {
544
544
  $slots: S;
545
545
  };
@@ -576,15 +576,15 @@ type FormProps = {
576
576
  *
577
577
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/form | Form Guide}
578
578
  */
579
- declare const _default$4: typeof __VLS_export$3;
580
- declare const __VLS_export$3: __VLS_WithSlots$2<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<FormProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
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
581
  submit: (event: SubmitEvent) => any;
582
582
  }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<FormProps> & Readonly<{
583
583
  onSubmit?: ((event: SubmitEvent) => any) | undefined;
584
584
  }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
585
585
  default?: (props: {}) => any;
586
586
  }>;
587
- type __VLS_WithSlots$2<T, S> = T & {
587
+ type __VLS_WithSlots$3<T, S> = T & {
588
588
  new (): {
589
589
  $slots: S;
590
590
  };
@@ -606,11 +606,11 @@ type __VLS_WithSlots$2<T, S> = T & {
606
606
  *
607
607
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/section | Section Guide}
608
608
  */
609
- declare const _default$8: typeof __VLS_export$2;
610
- declare const __VLS_export$2: __VLS_WithSlots$1<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>, {
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
611
  default?: (props: {}) => any;
612
612
  }>;
613
- type __VLS_WithSlots$1<T, S> = T & {
613
+ type __VLS_WithSlots$2<T, S> = T & {
614
614
  new (): {
615
615
  $slots: S;
616
616
  };
@@ -692,11 +692,11 @@ interface SectionAction extends ButtonProps {
692
692
  *
693
693
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/section | Section Guide}
694
694
  */
695
- declare const _default$7: typeof __VLS_export$1;
696
- declare const __VLS_export$1: __VLS_WithSlots<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>, {
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
697
  default?: (props: {}) => any;
698
698
  }>;
699
- type __VLS_WithSlots<T, S> = T & {
699
+ type __VLS_WithSlots$1<T, S> = T & {
700
700
  new (): {
701
701
  $slots: S;
702
702
  };
@@ -767,7 +767,62 @@ type TableProps = {
767
767
  *
768
768
  * @see {@link https://nexdom-healthtech.github.io/uimed-vue/guide/components/table | Table Guide}
769
769
  */
770
- declare const _default$9: typeof __VLS_export;
771
- declare const __VLS_export: 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>;
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
+ };
772
827
  //#endregion
773
- export { _default as UButton, _default$1 as UCheckbox, _default$2 as UColumn, _default$3 as UContainer, _default$4 as UForm, _default$5 as UMain, _default$6 as URow, _default$7 as USection, _default$8 as USectionContent, _default$9 as UTable, _default$10 as UTextField };
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,6 +1,6 @@
1
1
  import { r as useVuetifyColor, t as messages } from "./use-toast-CACuYhK_.js";
2
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, isRef, mergeModels, mergeProps, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useModel, withCtx, withModifiers } from "vue";
3
- import { VApp, VAppBar, VAppBarNavIcon, VAppBarTitle, VAvatar, VBadge, VBtn, VCard, VCardActions, VCardText, VCheckboxBtn, VCol, VContainer, VDivider, VForm, VIcon, VIconBtn, VImg, VList, VListGroup, VListItem, VListItemAction, VListSubheader, VMain, VMenu, VNavigationDrawer, VRow, VSkeletonLoader, VSnackbarQueue, VTable, VTextField } from "vuetify/components";
2
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, isRef, mergeModels, mergeProps, normalizeClass, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, useModel, withCtx, withModifiers } from "vue";
3
+ import { VApp, VAppBar, VAppBarNavIcon, VAppBarTitle, VAvatar, VBadge, VBtn, VCard, VCardActions, VCardText, VCheckboxBtn, VCol, VContainer, VDivider, VExpansionPanel, VExpansionPanelText, VExpansionPanelTitle, VExpansionPanels, VForm, VIcon, VIconBtn, VImg, VList, VListGroup, VListItem, VListItemAction, VListSubheader, VMain, VMenu, VNavigationDrawer, VRow, VSkeletonLoader, VSnackbarQueue, VTable, VTextField } from "vuetify/components";
4
4
  import { formatDateTime, isEmail, isEmpty, isPhone, isUrl, toPeriodInterval } from "@nexdom/shared/utils";
5
5
  //#region src/composables/navigation/use-route-props.ts
6
6
  function useRouteProps(route) {
@@ -1056,4 +1056,57 @@ var table_default = /* @__PURE__ */ defineComponent({
1056
1056
  }
1057
1057
  });
1058
1058
  //#endregion
1059
- export { button_default as UButton, checkbox_default as UCheckbox, column_default as UColumn, container_default as UContainer, form_default as UForm, main_default as UMain, row_default as URow, section_default as USection, section_content_default as USectionContent, table_default as UTable, text_field_default as UTextField };
1059
+ //#region src/components/details/details.vue
1060
+ var details_default = /* @__PURE__ */ defineComponent({
1061
+ inheritAttrs: false,
1062
+ __name: "details",
1063
+ props: {
1064
+ variant: {
1065
+ type: String,
1066
+ required: false
1067
+ },
1068
+ title: {
1069
+ type: String,
1070
+ required: false
1071
+ },
1072
+ loading: {
1073
+ type: Boolean,
1074
+ required: false
1075
+ },
1076
+ dataTestid: {
1077
+ type: String,
1078
+ required: false
1079
+ }
1080
+ },
1081
+ setup(__props) {
1082
+ const props = __props;
1083
+ const outlined = computed(() => props.variant === "secondary");
1084
+ return (_ctx, _cache) => {
1085
+ return openBlock(), createBlock(unref(VSkeletonLoader), {
1086
+ loading: props.loading,
1087
+ type: "heading",
1088
+ width: "100%"
1089
+ }, {
1090
+ default: withCtx(() => [createVNode(unref(VExpansionPanels), {
1091
+ flat: outlined.value,
1092
+ "data-testid": props.dataTestid
1093
+ }, {
1094
+ default: withCtx(() => [createVNode(unref(VExpansionPanel), { class: normalizeClass({ border: outlined.value }) }, {
1095
+ default: withCtx(() => [createVNode(unref(VExpansionPanelTitle), null, {
1096
+ default: withCtx(() => [createTextVNode(toDisplayString(props.title), 1)]),
1097
+ _: 1
1098
+ }), createVNode(unref(VExpansionPanelText), null, {
1099
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1100
+ _: 3
1101
+ })]),
1102
+ _: 3
1103
+ }, 8, ["class"])]),
1104
+ _: 3
1105
+ }, 8, ["flat", "data-testid"])]),
1106
+ _: 3
1107
+ }, 8, ["loading"]);
1108
+ };
1109
+ }
1110
+ });
1111
+ //#endregion
1112
+ export { button_default as UButton, checkbox_default as UCheckbox, column_default as UColumn, container_default as UContainer, details_default as UDetails, form_default as UForm, main_default as UMain, row_default as URow, section_default as USection, section_content_default as USectionContent, table_default as UTable, text_field_default as UTextField };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexdom/uimed-vue",
3
- "version": "2.0.0-beta.5",
3
+ "version": "2.0.0-beta.6",
4
4
  "description": "A ui framework for NEXDOM applications.",
5
5
  "keywords": [
6
6
  "lib",