@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.
- package/dist/components/charts/WChart.vue.d.ts +12 -19
- package/dist/components/crud/WCrudColumnRenderer.vue.d.ts +2 -1
- package/dist/components/crud/WCrudFormDialog.vue.d.ts +56 -5
- package/dist/components/crud/WCrudSubview.vue.d.ts +30 -6
- package/dist/components/crud/WCrudView.vue.d.ts +89 -95
- package/dist/components/crud/WEditableTable.vue.d.ts +29 -27
- package/dist/components/form/WAutoCompleteFK.vue.d.ts +3 -2
- package/dist/components/form/WDatePicker.vue.d.ts +4 -9
- package/dist/components/form/WDateRange.vue.d.ts +2 -1
- package/dist/components/form/WFileUpload.vue.d.ts +8 -16
- package/dist/components/form/WFormRenderer.vue.d.ts +57 -5
- package/dist/components/form/WImageCropper.vue.d.ts +12 -20
- package/dist/components/form/WMarkdownEditor.vue.d.ts +3 -4
- package/dist/components/form/WMoneyInput.vue.d.ts +2 -1
- package/dist/components/form/WTransferList.vue.d.ts +3 -2
- package/dist/components/form/WTreeSelect.vue.d.ts +19 -21
- package/dist/components/ui/WActionBar.vue.d.ts +14 -15
- package/dist/components/ui/WCheckList.vue.d.ts +8 -12
- package/dist/components/ui/WDetailHeader.vue.d.ts +7 -11
- package/dist/components/ui/WDialog.vue.d.ts +7 -9
- package/dist/components/ui/WEmptyState.vue.d.ts +3 -2
- package/dist/components/ui/WFormSection.vue.d.ts +9 -12
- package/dist/components/ui/WInfoCard.vue.d.ts +3 -2
- package/dist/components/ui/WKanbanBoard.vue.d.ts +23 -46
- package/dist/components/ui/WKpiCard.vue.d.ts +15 -15
- package/dist/components/ui/WKpiGrid.vue.d.ts +12 -16
- package/dist/components/ui/WMapSelect.vue.d.ts +59 -45
- package/dist/components/ui/WMarkdownToc.vue.d.ts +2 -1
- package/dist/components/ui/WMarkdownView.vue.d.ts +3 -4
- package/dist/components/ui/WPageHeader.vue.d.ts +8 -12
- package/dist/components/ui/WProgressFlow.vue.d.ts +12 -16
- package/dist/components/ui/WSectionHeader.vue.d.ts +11 -13
- package/dist/components/ui/WStatusTag.vue.d.ts +2 -1
- package/dist/components/ui/WStepFlow.vue.d.ts +8 -16
- package/dist/components/ui/WStepSection.vue.d.ts +21 -20
- package/dist/components/ui/WTabBar.vue.d.ts +3 -2
- package/dist/components/ui/WTabNav.vue.d.ts +13 -30
- package/dist/components/ui/WTabViewport.vue.d.ts +2 -1
- package/dist/components-BmYmMVLq.cjs +25 -0
- package/dist/components-BmYmMVLq.cjs.map +1 -0
- package/dist/components-CTrZPRAb.js +6855 -0
- package/dist/components-CTrZPRAb.js.map +1 -0
- package/dist/components.cjs +1 -2
- package/dist/components.d.ts +1 -1
- package/dist/components.js +2 -42
- package/dist/composables-B-LVf35N.js +680 -0
- package/dist/composables-B-LVf35N.js.map +1 -0
- package/dist/composables-BqRASiBc.cjs +2 -0
- package/dist/composables-BqRASiBc.cjs.map +1 -0
- package/dist/composables.cjs +1 -2
- package/dist/composables.d.ts +1 -1
- package/dist/composables.js +3 -20
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +155 -234
- package/dist/index.js.map +1 -1
- package/dist/labels-CXBhCk2N.js +20 -0
- package/dist/labels-CXBhCk2N.js.map +1 -0
- package/dist/labels-DiFDhFhQ.cjs +2 -0
- package/dist/labels-DiFDhFhQ.cjs.map +1 -0
- package/dist/primevue-components.css +2 -1
- package/dist/routeTabs-BnVpnSeJ.cjs +2 -0
- package/dist/routeTabs-BnVpnSeJ.cjs.map +1 -0
- package/dist/routeTabs-D6m8PuP6.js +10 -0
- package/dist/routeTabs-D6m8PuP6.js.map +1 -0
- package/dist/types/mapSelect.d.ts +6 -1
- package/dist/types.cjs +1 -2
- package/dist/types.d.ts +1 -1
- package/dist/types.js +3 -11
- package/dist/useFormKeyboardNav-Brgrjxu-.js +550 -0
- package/dist/useFormKeyboardNav-Brgrjxu-.js.map +1 -0
- package/dist/useFormKeyboardNav-HoSmQwuv.cjs +3 -0
- package/dist/useFormKeyboardNav-HoSmQwuv.cjs.map +1 -0
- package/dist/utils/mapLabels.d.ts +33 -0
- package/package.json +19 -18
- package/dist/WKanbanBoard.vue_vue_type_script_setup_true_lang-ByBa9LKO.cjs +0 -28
- package/dist/WKanbanBoard.vue_vue_type_script_setup_true_lang-ByBa9LKO.cjs.map +0 -1
- package/dist/WKanbanBoard.vue_vue_type_script_setup_true_lang-rd2SGufX.js +0 -6873
- package/dist/WKanbanBoard.vue_vue_type_script_setup_true_lang-rd2SGufX.js.map +0 -1
- package/dist/components.cjs.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/composables.cjs.map +0 -1
- package/dist/composables.js.map +0 -1
- package/dist/labels-B28P8JNB.js +0 -19
- package/dist/labels-B28P8JNB.js.map +0 -1
- package/dist/labels-pNskxXcl.cjs +0 -2
- package/dist/labels-pNskxXcl.cjs.map +0 -1
- package/dist/plugin-CIBvOgwG.js +0 -14
- package/dist/plugin-CIBvOgwG.js.map +0 -1
- package/dist/plugin-D2IZHyBm.cjs +0 -2
- package/dist/plugin-D2IZHyBm.cjs.map +0 -1
- package/dist/types.cjs.map +0 -1
- package/dist/types.js.map +0 -1
- package/dist/useFormKeyboardNav-BgBAe0C7.cjs +0 -3
- package/dist/useFormKeyboardNav-BgBAe0C7.cjs.map +0 -1
- package/dist/useFormKeyboardNav-BrKZrHq9.js +0 -463
- package/dist/useFormKeyboardNav-BrKZrHq9.js.map +0 -1
- package/dist/useRouteTabs-CSo1j_ji.js +0 -762
- package/dist/useRouteTabs-CSo1j_ji.js.map +0 -1
- package/dist/useRouteTabs-VGx93R83.cjs +0 -2
- 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
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
29
|
-
|
|
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
|
-
|
|
38
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
2
|
-
type
|
|
3
|
-
|
|
4
|
-
|
|
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
|
|
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
|
|
23
|
-
|
|
24
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
121
|
-
declare
|
|
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
|
-
|
|
155
|
-
|
|
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
|
|
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
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
|
|
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, {},
|
|
74
|
-
declare const
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
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
|
-
|
|
37
|
-
|
|
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
|
|
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
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
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
|
-
|
|
41
|
-
|
|
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
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
37
|
new (): {
|
|
46
38
|
$slots: S;
|
|
47
39
|
};
|
|
@@ -1,9 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
type
|
|
3
|
-
|
|
4
|
-
|
|
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
|
|
58
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
7
59
|
new (): {
|
|
8
60
|
$slots: S;
|
|
9
61
|
};
|