@wgalleti/primevue-components 0.22.2 → 0.23.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.
Files changed (101) hide show
  1. package/dist/components/charts/WChart.vue.d.ts +12 -19
  2. package/dist/components/crud/WCrudColumnRenderer.vue.d.ts +2 -1
  3. package/dist/components/crud/WCrudFormDialog.vue.d.ts +56 -5
  4. package/dist/components/crud/WCrudSubview.vue.d.ts +30 -6
  5. package/dist/components/crud/WCrudView.vue.d.ts +89 -95
  6. package/dist/components/crud/WEditableTable.vue.d.ts +29 -27
  7. package/dist/components/form/WAutoCompleteFK.vue.d.ts +3 -2
  8. package/dist/components/form/WDatePicker.vue.d.ts +4 -9
  9. package/dist/components/form/WDateRange.vue.d.ts +2 -1
  10. package/dist/components/form/WFileUpload.vue.d.ts +8 -16
  11. package/dist/components/form/WFormRenderer.vue.d.ts +57 -5
  12. package/dist/components/form/WImageCropper.vue.d.ts +12 -20
  13. package/dist/components/form/WMarkdownEditor.vue.d.ts +3 -4
  14. package/dist/components/form/WMoneyInput.vue.d.ts +2 -1
  15. package/dist/components/form/WTransferList.vue.d.ts +3 -2
  16. package/dist/components/form/WTreeSelect.vue.d.ts +19 -21
  17. package/dist/components/ui/WActionBar.vue.d.ts +14 -15
  18. package/dist/components/ui/WCheckList.vue.d.ts +8 -12
  19. package/dist/components/ui/WDetailHeader.vue.d.ts +7 -11
  20. package/dist/components/ui/WDialog.vue.d.ts +7 -9
  21. package/dist/components/ui/WEmptyState.vue.d.ts +3 -2
  22. package/dist/components/ui/WFormSection.vue.d.ts +9 -12
  23. package/dist/components/ui/WInfoCard.vue.d.ts +3 -2
  24. package/dist/components/ui/WKanbanBoard.vue.d.ts +23 -46
  25. package/dist/components/ui/WKpiCard.vue.d.ts +15 -15
  26. package/dist/components/ui/WKpiGrid.vue.d.ts +12 -16
  27. package/dist/components/ui/WMapSelect.vue.d.ts +59 -45
  28. package/dist/components/ui/WMarkdownToc.vue.d.ts +2 -1
  29. package/dist/components/ui/WMarkdownView.vue.d.ts +3 -4
  30. package/dist/components/ui/WPageHeader.vue.d.ts +8 -12
  31. package/dist/components/ui/WProgressFlow.vue.d.ts +12 -16
  32. package/dist/components/ui/WSectionHeader.vue.d.ts +11 -13
  33. package/dist/components/ui/WStatusTag.vue.d.ts +2 -1
  34. package/dist/components/ui/WStepFlow.vue.d.ts +8 -16
  35. package/dist/components/ui/WStepSection.vue.d.ts +21 -20
  36. package/dist/components/ui/WTabBar.vue.d.ts +3 -2
  37. package/dist/components/ui/WTabNav.vue.d.ts +13 -30
  38. package/dist/components/ui/WTabViewport.vue.d.ts +2 -1
  39. package/dist/components-BmYmMVLq.cjs +25 -0
  40. package/dist/components-BmYmMVLq.cjs.map +1 -0
  41. package/dist/components-CTrZPRAb.js +6855 -0
  42. package/dist/components-CTrZPRAb.js.map +1 -0
  43. package/dist/components.cjs +1 -2
  44. package/dist/components.d.ts +1 -1
  45. package/dist/components.js +2 -42
  46. package/dist/composables-B-LVf35N.js +680 -0
  47. package/dist/composables-B-LVf35N.js.map +1 -0
  48. package/dist/composables-BqRASiBc.cjs +2 -0
  49. package/dist/composables-BqRASiBc.cjs.map +1 -0
  50. package/dist/composables.cjs +1 -2
  51. package/dist/composables.d.ts +1 -1
  52. package/dist/composables.js +3 -20
  53. package/dist/index.cjs +2 -2
  54. package/dist/index.cjs.map +1 -1
  55. package/dist/index.js +155 -234
  56. package/dist/index.js.map +1 -1
  57. package/dist/labels-CXBhCk2N.js +20 -0
  58. package/dist/labels-CXBhCk2N.js.map +1 -0
  59. package/dist/labels-DiFDhFhQ.cjs +2 -0
  60. package/dist/labels-DiFDhFhQ.cjs.map +1 -0
  61. package/dist/primevue-components.css +2 -1
  62. package/dist/routeTabs-BnVpnSeJ.cjs +2 -0
  63. package/dist/routeTabs-BnVpnSeJ.cjs.map +1 -0
  64. package/dist/routeTabs-D6m8PuP6.js +10 -0
  65. package/dist/routeTabs-D6m8PuP6.js.map +1 -0
  66. package/dist/types/mapSelect.d.ts +6 -1
  67. package/dist/types.cjs +1 -2
  68. package/dist/types.d.ts +1 -1
  69. package/dist/types.js +3 -11
  70. package/dist/useFormKeyboardNav-Brgrjxu-.js +550 -0
  71. package/dist/useFormKeyboardNav-Brgrjxu-.js.map +1 -0
  72. package/dist/useFormKeyboardNav-HoSmQwuv.cjs +3 -0
  73. package/dist/useFormKeyboardNav-HoSmQwuv.cjs.map +1 -0
  74. package/dist/utils/mapLabels.d.ts +33 -0
  75. package/package.json +19 -18
  76. package/dist/WKanbanBoard.vue_vue_type_script_setup_true_lang-ByBa9LKO.cjs +0 -28
  77. package/dist/WKanbanBoard.vue_vue_type_script_setup_true_lang-ByBa9LKO.cjs.map +0 -1
  78. package/dist/WKanbanBoard.vue_vue_type_script_setup_true_lang-rd2SGufX.js +0 -6873
  79. package/dist/WKanbanBoard.vue_vue_type_script_setup_true_lang-rd2SGufX.js.map +0 -1
  80. package/dist/components.cjs.map +0 -1
  81. package/dist/components.js.map +0 -1
  82. package/dist/composables.cjs.map +0 -1
  83. package/dist/composables.js.map +0 -1
  84. package/dist/labels-B28P8JNB.js +0 -19
  85. package/dist/labels-B28P8JNB.js.map +0 -1
  86. package/dist/labels-pNskxXcl.cjs +0 -2
  87. package/dist/labels-pNskxXcl.cjs.map +0 -1
  88. package/dist/plugin-CIBvOgwG.js +0 -14
  89. package/dist/plugin-CIBvOgwG.js.map +0 -1
  90. package/dist/plugin-D2IZHyBm.cjs +0 -2
  91. package/dist/plugin-D2IZHyBm.cjs.map +0 -1
  92. package/dist/types.cjs.map +0 -1
  93. package/dist/types.js.map +0 -1
  94. package/dist/useFormKeyboardNav-BgBAe0C7.cjs +0 -3
  95. package/dist/useFormKeyboardNav-BgBAe0C7.cjs.map +0 -1
  96. package/dist/useFormKeyboardNav-BrKZrHq9.js +0 -463
  97. package/dist/useFormKeyboardNav-BrKZrHq9.js.map +0 -1
  98. package/dist/useRouteTabs-CSo1j_ji.js +0 -762
  99. package/dist/useRouteTabs-CSo1j_ji.js.map +0 -1
  100. package/dist/useRouteTabs-VGx93R83.cjs +0 -2
  101. package/dist/useRouteTabs-VGx93R83.cjs.map +0 -1
@@ -14,31 +14,24 @@ type __VLS_Props = {
14
14
  /** Altura CSS do gráfico (default: token `--chart-h`, senão 18rem). */
15
15
  height?: string;
16
16
  };
17
- declare function __VLS_template(): {
18
- attrs: Partial<{}>;
19
- slots: {
20
- empty?(_: {}): any;
21
- unavailable?(_: {}): any;
22
- };
23
- refs: {
24
- container: HTMLDivElement;
25
- };
26
- rootEl: HTMLDivElement;
17
+ declare var __VLS_1: {}, __VLS_3: {};
18
+ type __VLS_Slots = {} & {
19
+ empty?: (props: typeof __VLS_1) => any;
20
+ } & {
21
+ unavailable?: (props: typeof __VLS_3) => any;
27
22
  };
28
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
23
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
+ loading: boolean;
30
25
  height: string;
31
26
  empty: boolean;
32
- loading: boolean;
33
- print: boolean;
34
27
  emptyMessage: string;
28
+ print: boolean;
35
29
  renderer: "canvas" | "svg";
36
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
37
- container: HTMLDivElement;
38
- }, HTMLDivElement>;
39
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
+ declare const _default: typeof __VLS_export;
40
33
  export default _default;
41
- type __VLS_WithTemplateSlots<T, S> = T & {
34
+ type __VLS_WithSlots<T, S> = T & {
42
35
  new (): {
43
36
  $slots: S;
44
37
  };
@@ -4,5 +4,6 @@ type __VLS_Props = {
4
4
  value: unknown;
5
5
  rowData: Record<string, unknown>;
6
6
  };
7
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
@@ -1,9 +1,60 @@
1
- declare function __VLS_template(): any;
2
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
3
- declare const __VLS_component: any;
4
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1
+ import { FieldDef } from '../../types/field';
2
+ type __VLS_Props = {
3
+ visible: boolean;
4
+ title: string;
5
+ fields: FieldDef[];
6
+ formData: Record<string, unknown>;
7
+ isEditing: boolean;
8
+ saving: boolean;
9
+ disabled?: boolean;
10
+ width?: string;
11
+ /** Nº de colunas do grid do form (repassado ao WFormRenderer; default 2). */
12
+ formColumns?: number;
13
+ /** Navegação por teclado estilo desktop: foca o 1º campo ao abrir e o Enter
14
+ * pula para o próximo campo até o botão de salvar. Opt-in. */
15
+ keyboardNav?: boolean;
16
+ };
17
+ declare var __VLS_23: `field-${string}`, __VLS_24: {
18
+ field: FieldDef;
19
+ formData: Record<string, unknown>;
20
+ isEditing: boolean;
21
+ setFormField: (f: string, v: unknown) => void;
22
+ }, __VLS_28: `image-${string}`, __VLS_29: {
23
+ field: FieldDef;
24
+ formData: Record<string, unknown>;
25
+ }, __VLS_31: {
26
+ formData: Record<string, unknown>;
27
+ isEditing: boolean;
28
+ }, __VLS_33: {
29
+ saving: boolean;
30
+ disabled: boolean;
31
+ };
32
+ type __VLS_Slots = {} & {
33
+ [K in NonNullable<typeof __VLS_23>]?: (props: typeof __VLS_24) => any;
34
+ } & {
35
+ [K in NonNullable<typeof __VLS_28>]?: (props: typeof __VLS_29) => any;
36
+ } & {
37
+ 'after-fields'?: (props: typeof __VLS_31) => any;
38
+ } & {
39
+ footer?: (props: typeof __VLS_33) => any;
40
+ };
41
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
+ "update:visible": (value: boolean) => any;
43
+ "update:field": (field: string, value: unknown) => any;
44
+ save: () => any;
45
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
46
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
47
+ "onUpdate:field"?: ((field: string, value: unknown) => any) | undefined;
48
+ onSave?: (() => any) | undefined;
49
+ }>, {
50
+ disabled: boolean;
51
+ width: string;
52
+ formColumns: number;
53
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
54
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
55
+ declare const _default: typeof __VLS_export;
5
56
  export default _default;
6
- type __VLS_WithTemplateSlots<T, S> = T & {
57
+ type __VLS_WithSlots<T, S> = T & {
7
58
  new (): {
8
59
  $slots: S;
9
60
  };
@@ -1,4 +1,4 @@
1
- import { EditableColumnDef } from '../../types/editableTable';
1
+ import { EditableColumnDef, EditableRow } from '../../types/editableTable';
2
2
  import { SubviewCrudReturn } from '../../types/subview';
3
3
  type __VLS_Props = {
4
4
  crud: SubviewCrudReturn<any>;
@@ -19,17 +19,41 @@ type __VLS_Props = {
19
19
  footerLabel?: string;
20
20
  rowKey?: string;
21
21
  };
22
- declare function __VLS_template(): any;
23
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
+ declare var __VLS_1: {}, __VLS_15: string, __VLS_16: any, __VLS_19: {
23
+ row: EditableRow;
24
+ index: number;
25
+ }, __VLS_22: {}, __VLS_36: string, __VLS_37: any, __VLS_40: {
26
+ formData: Record<string, unknown>;
27
+ isEditing: boolean;
28
+ }, __VLS_43: {
29
+ saving: boolean;
30
+ disabled: boolean;
31
+ };
32
+ type __VLS_Slots = {} & {
33
+ [K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
34
+ } & {
35
+ [K in NonNullable<typeof __VLS_36>]?: (props: typeof __VLS_37) => any;
36
+ } & {
37
+ 'toolbar-actions'?: (props: typeof __VLS_1) => any;
38
+ } & {
39
+ expansion?: (props: typeof __VLS_19) => any;
40
+ } & {
41
+ empty?: (props: typeof __VLS_22) => any;
42
+ } & {
43
+ 'after-fields'?: (props: typeof __VLS_40) => any;
44
+ } & {
45
+ 'form-footer'?: (props: typeof __VLS_43) => any;
46
+ };
47
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
48
  disabled: boolean;
26
49
  dialogWidth: string;
27
50
  expandable: boolean;
28
51
  addLabel: string;
29
52
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
53
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
54
+ declare const _default: typeof __VLS_export;
31
55
  export default _default;
32
- type __VLS_WithTemplateSlots<T, S> = T & {
56
+ type __VLS_WithSlots<T, S> = T & {
33
57
  new (): {
34
58
  $slots: S;
35
59
  };
@@ -1,5 +1,6 @@
1
1
  import { CrudManagerReturn } from '../../types/manager';
2
2
  import { ColumnDef } from '../../types/column';
3
+ import { FieldDef } from '../../types/field';
3
4
  import { KpiItem } from '../../types/kpi';
4
5
  type __VLS_Props = {
5
6
  crud: CrudManagerReturn<any>;
@@ -43,82 +44,90 @@ type __VLS_Props = {
43
44
  * expansão abertas o índice DOM diverge do índice do item; aí não rola.
44
45
  */
45
46
  declare function scrollToRow(value: unknown): void;
46
- type __VLS_PublicProps = {
47
+ type __VLS_ModelProps = {
47
48
  'selectedRow'?: Record<string, unknown> | null;
48
- } & __VLS_Props;
49
- declare function __VLS_template(): {
50
- attrs: Partial<{}>;
51
- slots: Partial<Record<`column-${string}`, (_: {
52
- data: any;
53
- value: any;
54
- }) => any>> & Partial<Record<`column-${string}`, (_: {
55
- data: any;
56
- value: any;
57
- }) => any>> & Partial<Record<`field-${string}`, (_: any) => any>> & {
58
- 'header-actions'?(_: {}): any;
59
- 'before-table'?(_: {}): any;
60
- 'bulk-actions'?(_: {
61
- selected: any[];
62
- crud: CrudManagerReturn<any>;
63
- }): any;
64
- 'toolbar-start'?(_: {}): any;
65
- 'toolbar-start'?(_: {}): any;
66
- 'toolbar-filters'?(_: {}): any;
67
- 'toolbar-filters'?(_: {}): any;
68
- 'toolbar-actions'?(_: {}): any;
69
- 'toolbar-actions'?(_: {}): any;
70
- empty?(_: {}): any;
71
- empty?(_: {}): any;
72
- 'row-actions'?(_: {
73
- data: any;
74
- crud: CrudManagerReturn<any>;
75
- }): any;
76
- 'row-actions'?(_: {
77
- data: any;
78
- crud: CrudManagerReturn<any>;
79
- }): any;
80
- expansion?(_: {
81
- data: any;
82
- }): any;
83
- card?(_: {
84
- data: any;
85
- crud: CrudManagerReturn<any>;
86
- columns: ColumnDef[];
87
- index: number;
88
- }): any;
89
- 'rail-actions'?(_: {
90
- selected: Record<string, unknown> | null;
91
- crud: CrudManagerReturn<any>;
92
- }): any;
93
- 'form-dialog'?(_: {
94
- crud: CrudManagerReturn<any>;
95
- dialogWidth: string;
96
- }): any;
97
- 'delete-message'?(_: {
98
- item: Record<string, unknown> | null;
99
- }): any;
100
- };
101
- refs: {
102
- tableRef: ({
103
- $props: import('primevue/datatable').DataTableProps<any> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
104
- $slots: import('primevue/datatable').DataTableSlots<any>;
105
- $emit: ((e: "page", event: import('primevue/datatable').DataTablePageEvent) => void) & ((e: "sort", event: import('primevue/datatable').DataTableSortEvent) => void) & ((e: "filter", event: import('primevue/datatable').DataTableFilterEvent) => void) & ((e: "value-change", value: any[]) => void) & ((e: "update:first", value: number) => void) & ((e: "update:rows", value: number) => void) & ((e: "update:sortField", value: string) => void) & ((e: "update:sortOrder", value: number | undefined) => void) & ((e: "update:multiSortMeta", value: import('primevue/datatable').DataTableSortMeta[] | null | undefined) => void) & ((e: "update:selection", value: any) => void) & ((e: "update:contextMenuSelection", value: any) => void) & ((e: "update:expandedRows", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:expandedRowGroups", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:filters", value: import('primevue/datatable').DataTableFilterMeta) => void) & ((e: "update:editingRows", value: any[] | import('primevue/datatable').DataTableEditingRows) => void) & ((e: "row-click", event: import('primevue/datatable').DataTableRowClickEvent<any>) => void) & ((e: "row-dblclick", event: import('primevue/datatable').DataTableRowDoubleClickEvent) => void) & ((e: "row-contextmenu", event: import('primevue/datatable').DataTableRowContextMenuEvent) => void) & ((e: "row-select", event: import('primevue/datatable').DataTableRowSelectEvent<any>) => void) & ((e: "row-select-all", event: import('primevue/datatable').DataTableRowSelectAllEvent<any>) => void) & ((e: "row-unselect-all", event: import('primevue/datatable').DataTableRowUnselectAllEvent) => void) & ((e: "row-unselect", event: import('primevue/datatable').DataTableRowUnselectEvent) => void) & ((e: "select-all-change", event: import('primevue/datatable').DataTableSelectAllChangeEvent) => void) & ((e: "column-resize-end", event: import('primevue/datatable').DataTableColumnResizeEndEvent) => void) & ((e: "column-reorder", event: import('primevue/datatable').DataTableColumnReorderEvent) => void) & ((e: "row-reorder", event: import('primevue/datatable').DataTableRowReorderEvent) => void) & ((e: "row-expand", event: import('primevue/datatable').DataTableRowExpandEvent<any>) => void) & ((e: "row-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "rowgroup-expand", event: import('primevue/datatable').DataTableRowExpandEvent<any>) => void) & ((e: "rowgroup-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "cell-edit-init", event: import('primevue/datatable').DataTableCellEditInitEvent<any>) => void) & ((e: "cell-edit-complete", event: import('primevue/datatable').DataTableCellEditCompleteEvent<any>) => void) & ((e: "cell-edit-cancel", event: import('primevue/datatable').DataTableCellEditCancelEvent) => void) & ((e: "row-edit-init", event: import('primevue/datatable').DataTableRowEditInitEvent<any>) => void) & ((e: "row-edit-save", event: import('primevue/datatable').DataTableRowEditSaveEvent<any>) => void) & ((e: "row-edit-cancel", event: import('primevue/datatable').DataTableRowEditCancelEvent<any>) => void) & ((e: "state-restore", event: import('primevue/datatable').DataTableStateEvent<any>) => void) & ((e: "state-save", event: import('primevue/datatable').DataTableStateEvent<any>) => void);
106
- } & import('primevue/datatable').DataTableMethods) | null;
107
- chooser: ({
108
- $props: import('primevue/popover').PopoverProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
109
- $slots: import('primevue/popover').PopoverSlots;
110
- $emit: ((e: "show") => void) & ((e: "hide") => void);
111
- } & import('primevue/popover').PopoverMethods) | null;
112
- cm: ({
113
- $props: import('primevue/contextmenu').ContextMenuProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
114
- $slots: import('primevue/contextmenu').ContextMenuSlots;
115
- $emit: ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void);
116
- } & import('primevue/contextmenu').ContextMenuMethods) | null;
117
- };
118
- rootEl: HTMLDivElement;
119
49
  };
120
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
121
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
50
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
51
+ declare var __VLS_1: {}, __VLS_10: {}, __VLS_47: {
52
+ selected: any[];
53
+ crud: CrudManagerReturn<any>;
54
+ }, __VLS_99: {}, __VLS_101: {}, __VLS_103: {}, __VLS_156: {}, __VLS_176: `column-${string}`, __VLS_177: {
55
+ data: any;
56
+ value: any;
57
+ }, __VLS_213: {
58
+ data: any;
59
+ crud: CrudManagerReturn<any>;
60
+ }, __VLS_216: {
61
+ data: any;
62
+ }, __VLS_236: {}, __VLS_238: {}, __VLS_240: {}, __VLS_270: {}, __VLS_272: {
63
+ data: any;
64
+ crud: CrudManagerReturn<any>;
65
+ columns: ColumnDef[];
66
+ index: number;
67
+ }, __VLS_275: `column-${string}`, __VLS_276: {
68
+ data: any;
69
+ value: any;
70
+ }, __VLS_290: {
71
+ data: any;
72
+ crud: CrudManagerReturn<any>;
73
+ }, __VLS_313: {
74
+ selected: Record<string, unknown> | null;
75
+ crud: CrudManagerReturn<any>;
76
+ }, __VLS_336: {
77
+ crud: CrudManagerReturn<any>;
78
+ dialogWidth: string;
79
+ }, __VLS_350: `field-${string}`, __VLS_351: {
80
+ field: FieldDef;
81
+ formData: Record<string, unknown>;
82
+ isEditing: boolean;
83
+ setFormField: (f: string, v: unknown) => void;
84
+ }, __VLS_359: {
85
+ item: Record<string, unknown> | null;
86
+ };
87
+ type __VLS_Slots = {} & {
88
+ [K in NonNullable<typeof __VLS_176>]?: (props: typeof __VLS_177) => any;
89
+ } & {
90
+ [K in NonNullable<typeof __VLS_275>]?: (props: typeof __VLS_276) => any;
91
+ } & {
92
+ [K in NonNullable<typeof __VLS_350>]?: (props: typeof __VLS_351) => any;
93
+ } & {
94
+ 'header-actions'?: (props: typeof __VLS_1) => any;
95
+ } & {
96
+ 'before-table'?: (props: typeof __VLS_10) => any;
97
+ } & {
98
+ 'bulk-actions'?: (props: typeof __VLS_47) => any;
99
+ } & {
100
+ 'toolbar-start'?: (props: typeof __VLS_99) => any;
101
+ } & {
102
+ 'toolbar-filters'?: (props: typeof __VLS_101) => any;
103
+ } & {
104
+ 'toolbar-actions'?: (props: typeof __VLS_103) => any;
105
+ } & {
106
+ empty?: (props: typeof __VLS_156) => any;
107
+ } & {
108
+ 'row-actions'?: (props: typeof __VLS_213) => any;
109
+ } & {
110
+ expansion?: (props: typeof __VLS_216) => any;
111
+ } & {
112
+ 'toolbar-start'?: (props: typeof __VLS_236) => any;
113
+ } & {
114
+ 'toolbar-filters'?: (props: typeof __VLS_238) => any;
115
+ } & {
116
+ 'toolbar-actions'?: (props: typeof __VLS_240) => any;
117
+ } & {
118
+ empty?: (props: typeof __VLS_270) => any;
119
+ } & {
120
+ card?: (props: typeof __VLS_272) => any;
121
+ } & {
122
+ 'row-actions'?: (props: typeof __VLS_290) => any;
123
+ } & {
124
+ 'rail-actions'?: (props: typeof __VLS_313) => any;
125
+ } & {
126
+ 'form-dialog'?: (props: typeof __VLS_336) => any;
127
+ } & {
128
+ 'delete-message'?: (props: typeof __VLS_359) => any;
129
+ };
130
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
122
131
  scrollToRow: typeof scrollToRow;
123
132
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
124
133
  "row-expand": (data: unknown) => any;
@@ -132,8 +141,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
132
141
  "onUpdate:selectedRow"?: ((value: Record<string, unknown> | null) => any) | undefined;
133
142
  }>, {
134
143
  dialogWidth: string;
135
- showSearch: boolean;
136
144
  showHeader: boolean;
145
+ contextMenu: boolean;
146
+ showSearch: boolean;
137
147
  autoInit: boolean;
138
148
  showKpi: boolean;
139
149
  kpiIcon: string;
@@ -144,32 +154,16 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
144
154
  defaultView: "table" | "cards";
145
155
  cardFields: number;
146
156
  actionRail: boolean;
147
- contextMenu: boolean;
148
157
  showPrint: boolean;
149
158
  exportCsv: boolean;
150
159
  csvFilename: string;
151
160
  csvScope: "all" | "page";
152
161
  csvPageSize: number;
153
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
154
- tableRef: ({
155
- $props: import('primevue/datatable').DataTableProps<any> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
156
- $slots: import('primevue/datatable').DataTableSlots<any>;
157
- $emit: ((e: "page", event: import('primevue/datatable').DataTablePageEvent) => void) & ((e: "sort", event: import('primevue/datatable').DataTableSortEvent) => void) & ((e: "filter", event: import('primevue/datatable').DataTableFilterEvent) => void) & ((e: "value-change", value: any[]) => void) & ((e: "update:first", value: number) => void) & ((e: "update:rows", value: number) => void) & ((e: "update:sortField", value: string) => void) & ((e: "update:sortOrder", value: number | undefined) => void) & ((e: "update:multiSortMeta", value: import('primevue/datatable').DataTableSortMeta[] | null | undefined) => void) & ((e: "update:selection", value: any) => void) & ((e: "update:contextMenuSelection", value: any) => void) & ((e: "update:expandedRows", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:expandedRowGroups", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:filters", value: import('primevue/datatable').DataTableFilterMeta) => void) & ((e: "update:editingRows", value: any[] | import('primevue/datatable').DataTableEditingRows) => void) & ((e: "row-click", event: import('primevue/datatable').DataTableRowClickEvent<any>) => void) & ((e: "row-dblclick", event: import('primevue/datatable').DataTableRowDoubleClickEvent) => void) & ((e: "row-contextmenu", event: import('primevue/datatable').DataTableRowContextMenuEvent) => void) & ((e: "row-select", event: import('primevue/datatable').DataTableRowSelectEvent<any>) => void) & ((e: "row-select-all", event: import('primevue/datatable').DataTableRowSelectAllEvent<any>) => void) & ((e: "row-unselect-all", event: import('primevue/datatable').DataTableRowUnselectAllEvent) => void) & ((e: "row-unselect", event: import('primevue/datatable').DataTableRowUnselectEvent) => void) & ((e: "select-all-change", event: import('primevue/datatable').DataTableSelectAllChangeEvent) => void) & ((e: "column-resize-end", event: import('primevue/datatable').DataTableColumnResizeEndEvent) => void) & ((e: "column-reorder", event: import('primevue/datatable').DataTableColumnReorderEvent) => void) & ((e: "row-reorder", event: import('primevue/datatable').DataTableRowReorderEvent) => void) & ((e: "row-expand", event: import('primevue/datatable').DataTableRowExpandEvent<any>) => void) & ((e: "row-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "rowgroup-expand", event: import('primevue/datatable').DataTableRowExpandEvent<any>) => void) & ((e: "rowgroup-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "cell-edit-init", event: import('primevue/datatable').DataTableCellEditInitEvent<any>) => void) & ((e: "cell-edit-complete", event: import('primevue/datatable').DataTableCellEditCompleteEvent<any>) => void) & ((e: "cell-edit-cancel", event: import('primevue/datatable').DataTableCellEditCancelEvent) => void) & ((e: "row-edit-init", event: import('primevue/datatable').DataTableRowEditInitEvent<any>) => void) & ((e: "row-edit-save", event: import('primevue/datatable').DataTableRowEditSaveEvent<any>) => void) & ((e: "row-edit-cancel", event: import('primevue/datatable').DataTableRowEditCancelEvent<any>) => void) & ((e: "state-restore", event: import('primevue/datatable').DataTableStateEvent<any>) => void) & ((e: "state-save", event: import('primevue/datatable').DataTableStateEvent<any>) => void);
158
- } & import('primevue/datatable').DataTableMethods) | null;
159
- chooser: ({
160
- $props: import('primevue/popover').PopoverProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
161
- $slots: import('primevue/popover').PopoverSlots;
162
- $emit: ((e: "show") => void) & ((e: "hide") => void);
163
- } & import('primevue/popover').PopoverMethods) | null;
164
- cm: ({
165
- $props: import('primevue/contextmenu').ContextMenuProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
166
- $slots: import('primevue/contextmenu').ContextMenuSlots;
167
- $emit: ((e: "focus", event: Event) => void) & ((e: "blur", event: Event) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void) & ((e: "show") => void) & ((e: "hide") => void);
168
- } & import('primevue/contextmenu').ContextMenuMethods) | null;
169
- }, HTMLDivElement>;
170
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
162
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
163
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
164
+ declare const _default: typeof __VLS_export;
171
165
  export default _default;
172
- type __VLS_WithTemplateSlots<T, S> = T & {
166
+ type __VLS_WithSlots<T, S> = T & {
173
167
  new (): {
174
168
  $slots: S;
175
169
  };
@@ -32,29 +32,30 @@ type __VLS_Props = {
32
32
  /** Campo usado como `key` das linhas. Sem ele, a chave é o índice. */
33
33
  rowKey?: string;
34
34
  };
35
- declare function __VLS_template(): {
36
- attrs: Partial<{}>;
37
- slots: Partial<Record<`cell-${string}`, (_: {
38
- row: EditableRow;
39
- index: number;
40
- value: unknown;
41
- column: EditableColumnDef;
42
- }) => any>> & Partial<Record<`footer-${string}`, (_: {
43
- rows: EditableRow[];
44
- column: EditableColumnDef;
45
- }) => any>> & {
46
- toolbar?(_: {}): any;
47
- empty?(_: {}): any;
48
- expansion?(_: {
49
- row: EditableRow;
50
- index: number;
51
- }): any;
52
- };
53
- refs: {};
54
- rootEl: HTMLDivElement;
35
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_6: `cell-${string}`, __VLS_7: {
36
+ row: EditableRow;
37
+ index: number;
38
+ value: unknown;
39
+ column: EditableColumnDef;
40
+ }, __VLS_30: {
41
+ row: EditableRow;
42
+ index: number;
43
+ }, __VLS_33: `footer-${string}`, __VLS_34: {
44
+ rows: EditableRow[];
45
+ column: EditableColumnDef;
46
+ };
47
+ type __VLS_Slots = {} & {
48
+ [K in NonNullable<typeof __VLS_6>]?: (props: typeof __VLS_7) => any;
49
+ } & {
50
+ [K in NonNullable<typeof __VLS_33>]?: (props: typeof __VLS_34) => any;
51
+ } & {
52
+ toolbar?: (props: typeof __VLS_1) => any;
53
+ } & {
54
+ empty?: (props: typeof __VLS_3) => any;
55
+ } & {
56
+ expansion?: (props: typeof __VLS_30) => any;
55
57
  };
56
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
57
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
58
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
58
59
  "update:modelValue": (rows: EditableRow[]) => any;
59
60
  remove: (row: EditableRow, index: number) => any;
60
61
  add: () => any;
@@ -66,14 +67,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
66
67
  modelValue: EditableRow[];
67
68
  disabled: boolean;
68
69
  columns: EditableColumnDef[];
69
- expandable: boolean;
70
- emptyMessage: string;
71
70
  removable: boolean;
71
+ emptyMessage: string;
72
+ expandable: boolean;
72
73
  footerLabel: string;
73
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
74
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
74
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
75
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
76
+ declare const _default: typeof __VLS_export;
75
77
  export default _default;
76
- type __VLS_WithTemplateSlots<T, S> = T & {
78
+ type __VLS_WithSlots<T, S> = T & {
77
79
  new (): {
78
80
  $slots: S;
79
81
  };
@@ -55,7 +55,7 @@ type __VLS_Props = {
55
55
  * não roube o foco para o botão de fechar. */
56
56
  autofocus?: boolean;
57
57
  };
58
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
58
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
59
59
  "update:modelValue": (value: Record<string, unknown> | Record<string, unknown>[] | null) => any;
60
60
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: Record<string, unknown> | Record<string, unknown>[] | null) => any) | undefined;
@@ -74,5 +74,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
74
74
  canDelete: boolean;
75
75
  dialogWidth: string;
76
76
  autofocus: boolean;
77
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, any, any>;
77
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
78
+ declare const _default: typeof __VLS_export;
78
79
  export default _default;
@@ -22,7 +22,7 @@ type __VLS_Props = {
22
22
  invalid?: boolean;
23
23
  inputId?: string;
24
24
  };
25
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
26
  "update:modelValue": (value: string | Date | null) => any;
27
27
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
28
28
  "onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
@@ -30,15 +30,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
30
30
  modelValue: string | Date | null;
31
31
  disabled: boolean;
32
32
  showClear: boolean;
33
+ invalid: boolean;
33
34
  valueFormat: DateValueFormat;
34
35
  showTime: boolean;
35
36
  autonow: boolean;
36
- invalid: boolean;
37
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
38
- op: ({
39
- $props: import('primevue/popover').PopoverProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
40
- $slots: import('primevue/popover').PopoverSlots;
41
- $emit: ((e: "show") => void) & ((e: "hide") => void);
42
- } & import('primevue/popover').PopoverMethods) | null;
43
- }, HTMLDivElement>;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
38
+ declare const _default: typeof __VLS_export;
44
39
  export default _default;
@@ -10,7 +10,7 @@ type __VLS_Props = {
10
10
  showButtonBar?: boolean;
11
11
  disabled?: boolean;
12
12
  };
13
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: Date[] | null) => any;
15
15
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((value: Date[] | null) => any) | undefined;
@@ -20,4 +20,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
20
20
  disabled: boolean;
21
21
  showButtonBar: boolean;
22
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: typeof __VLS_export;
23
24
  export default _default;
@@ -12,18 +12,11 @@ type __VLS_Props = {
12
12
  disabled?: boolean;
13
13
  chooseLabel?: string;
14
14
  };
15
- declare function __VLS_template(): {
16
- attrs: Partial<{}>;
17
- slots: {
18
- empty?(_: {}): any;
19
- };
20
- refs: {
21
- input: HTMLInputElement;
22
- };
23
- rootEl: HTMLDivElement;
15
+ declare var __VLS_15: {};
16
+ type __VLS_Slots = {} & {
17
+ empty?: (props: typeof __VLS_15) => any;
24
18
  };
25
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
20
  error: (message: string) => any;
28
21
  "update:modelValue": (value: File | File[] | null) => any;
29
22
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -36,12 +29,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
36
29
  accept: string;
37
30
  maxSize: number;
38
31
  chooseLabel: string;
39
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
40
- input: HTMLInputElement;
41
- }, HTMLDivElement>;
42
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
34
+ declare const _default: typeof __VLS_export;
43
35
  export default _default;
44
- type __VLS_WithTemplateSlots<T, S> = T & {
36
+ type __VLS_WithSlots<T, S> = T & {
45
37
  new (): {
46
38
  $slots: S;
47
39
  };
@@ -1,9 +1,61 @@
1
- declare function __VLS_template(): any;
2
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
3
- declare const __VLS_component: any;
4
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1
+ import { FieldDef } from '../../types/field';
2
+ type __VLS_Props = {
3
+ fields: FieldDef[];
4
+ formData: Record<string, unknown>;
5
+ isEditing: boolean;
6
+ disabled?: boolean;
7
+ /** Nº de colunas do grid (default 2). Campos ocupam frações via `colSpan`;
8
+ * grupos podem sobrepor via `fieldGroup.columns`. */
9
+ columns?: number;
10
+ };
11
+ interface ChipEntry {
12
+ key: string;
13
+ label: string;
14
+ }
15
+ declare function validateAll(): string[];
16
+ declare function clearErrors(): void;
17
+ declare var __VLS_2: `field-${string}`, __VLS_3: {
18
+ field: FieldDef;
19
+ formData: Record<string, unknown>;
20
+ isEditing: boolean;
21
+ setFormField: (f: string, v: unknown) => void;
22
+ }, __VLS_27: `image-${string}`, __VLS_28: {
23
+ field: FieldDef;
24
+ formData: Record<string, unknown>;
25
+ }, __VLS_162: `chips-trigger-${string}`, __VLS_163: {
26
+ field: FieldDef;
27
+ formData: Record<string, unknown>;
28
+ disabled: boolean;
29
+ setFormField: (f: string, v: unknown) => void;
30
+ }, __VLS_166: `chips-summary-${string}`, __VLS_167: {
31
+ field: FieldDef;
32
+ formData: Record<string, unknown>;
33
+ items: ChipEntry[];
34
+ };
35
+ type __VLS_Slots = {} & {
36
+ [K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3) => any;
37
+ } & {
38
+ [K in NonNullable<typeof __VLS_27>]?: (props: typeof __VLS_28) => any;
39
+ } & {
40
+ [K in NonNullable<typeof __VLS_162>]?: (props: typeof __VLS_163) => any;
41
+ } & {
42
+ [K in NonNullable<typeof __VLS_166>]?: (props: typeof __VLS_167) => any;
43
+ };
44
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
45
+ validateAll: typeof validateAll;
46
+ clearErrors: typeof clearErrors;
47
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
+ "update:field": (field: string, value: unknown) => any;
49
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
50
+ "onUpdate:field"?: ((field: string, value: unknown) => any) | undefined;
51
+ }>, {
52
+ disabled: boolean;
53
+ columns: number;
54
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
55
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
56
+ declare const _default: typeof __VLS_export;
5
57
  export default _default;
6
- type __VLS_WithTemplateSlots<T, S> = T & {
58
+ type __VLS_WithSlots<T, S> = T & {
7
59
  new (): {
8
60
  $slots: S;
9
61
  };