@wgalleti/primevue-components 0.31.0 → 0.32.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 +1 -1
- package/dist/components/crud/WEditableTable.vue.d.ts +1 -1
- package/dist/components/form/WAutoCompleteFK.vue.d.ts +3 -1
- package/dist/components/form/WTreeSelect.vue.d.ts +1 -1
- package/dist/components/ui/WMapSelect.vue.d.ts +2 -2
- package/dist/components-Cfs09gwi.cjs +25 -0
- package/dist/components-Cfs09gwi.cjs.map +1 -0
- package/dist/{components-BNyzL6pd.js → components-hJpNDGMG.js} +1504 -1453
- package/dist/components-hJpNDGMG.js.map +1 -0
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/{composables-DxLadKgY.cjs → composables-B3Czzje1.cjs} +2 -2
- package/dist/{composables-DxLadKgY.cjs.map → composables-B3Czzje1.cjs.map} +1 -1
- package/dist/{composables-CTH72sG4.js → composables-wG25Sz-z.js} +2 -2
- package/dist/{composables-CTH72sG4.js.map → composables-wG25Sz-z.js.map} +1 -1
- package/dist/composables.cjs +1 -1
- package/dist/composables.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/primevue-components.css +1 -1
- package/dist/types/field.d.ts +31 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{useFormKeyboardNav-DAtl5tBF.cjs → useFormKeyboardNav-CzKY9ZV2.cjs} +2 -2
- package/dist/useFormKeyboardNav-CzKY9ZV2.cjs.map +1 -0
- package/dist/{useFormKeyboardNav-Yj2HeWy5.js → useFormKeyboardNav-DuxPdAeK.js} +5 -2
- package/dist/useFormKeyboardNav-DuxPdAeK.js.map +1 -0
- package/package.json +1 -1
- package/skill/references/crud.md +5 -2
- package/dist/components-BK9LPrAs.cjs +0 -25
- package/dist/components-BK9LPrAs.cjs.map +0 -1
- package/dist/components-BNyzL6pd.js.map +0 -1
- package/dist/useFormKeyboardNav-DAtl5tBF.cjs.map +0 -1
- package/dist/useFormKeyboardNav-Yj2HeWy5.js.map +0 -1
|
@@ -21,10 +21,10 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
unavailable?: (props: typeof __VLS_3) => any;
|
|
22
22
|
};
|
|
23
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
|
+
emptyMessage: string;
|
|
24
25
|
loading: boolean;
|
|
25
26
|
height: string;
|
|
26
27
|
empty: boolean;
|
|
27
|
-
emptyMessage: string;
|
|
28
28
|
print: boolean;
|
|
29
29
|
renderer: "canvas" | "svg";
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -86,11 +86,11 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
86
86
|
"onUpdate:modelValue"?: ((rows: EditableRow[]) => any) | undefined;
|
|
87
87
|
onRemove?: ((row: EditableRow, index: number) => any) | undefined;
|
|
88
88
|
}>, {
|
|
89
|
+
emptyMessage: string;
|
|
89
90
|
modelValue: EditableRow[];
|
|
90
91
|
disabled: boolean;
|
|
91
92
|
columns: EditableColumnDef[];
|
|
92
93
|
removable: boolean;
|
|
93
|
-
emptyMessage: string;
|
|
94
94
|
expandable: boolean;
|
|
95
95
|
footerLabel: string;
|
|
96
96
|
cardMode: "auto" | "never" | "always";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FieldDef, FieldSubRowsFetch } from '../../types/field';
|
|
1
|
+
import { FieldDef, FieldSubRowsFetch, FkCrudConfig } from '../../types/field';
|
|
2
2
|
import { ColumnDef } from '../../types/column';
|
|
3
3
|
interface ColumnMeta {
|
|
4
4
|
field: string;
|
|
@@ -49,6 +49,8 @@ type __VLS_Props = {
|
|
|
49
49
|
autoSelectSingle?: boolean;
|
|
50
50
|
crudFields?: FieldDef[];
|
|
51
51
|
crudColumns?: ColumnDef[];
|
|
52
|
+
/** A configuração de CRUD da entidade (a mesma da tela dela) — ver `FieldDef.crud`. */
|
|
53
|
+
crud?: FkCrudConfig;
|
|
52
54
|
/** Sub-linhas do grid do modal: recebe as linhas da página e devolve o mapa
|
|
53
55
|
* `id → sub-linhas` + as colunas (dinâmicas) do mini-grid. Linha com entrada
|
|
54
56
|
* no mapa abre expandida — ex.: lote (linha) com suas análises (sub-linhas). */
|
|
@@ -98,6 +98,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
98
98
|
"onUpdate:modelValue"?: ((ids: TreeSelectId[]) => any) | undefined;
|
|
99
99
|
}>, {
|
|
100
100
|
filter: boolean;
|
|
101
|
+
emptyMessage: string;
|
|
101
102
|
modelValue: TreeSelectId[];
|
|
102
103
|
optionLabel: string;
|
|
103
104
|
optionValue: string;
|
|
@@ -106,7 +107,6 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
106
107
|
options: TreeSelectOption[];
|
|
107
108
|
filterPlaceholder: string;
|
|
108
109
|
filterFields: string[];
|
|
109
|
-
emptyMessage: string;
|
|
110
110
|
showCount: boolean;
|
|
111
111
|
filterEmptyMessage: string;
|
|
112
112
|
showToggleAll: boolean;
|
|
@@ -230,18 +230,18 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
230
230
|
"onFeature-leave"?: (() => any) | undefined;
|
|
231
231
|
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
|
232
232
|
}>, {
|
|
233
|
+
searchPlaceholder: string;
|
|
234
|
+
emptyMessage: string;
|
|
233
235
|
modelValue: MapSelectId[];
|
|
234
236
|
disabled: boolean;
|
|
235
237
|
height: string;
|
|
236
238
|
readonly: boolean;
|
|
237
239
|
selectionMode: MapSelectSelectionMode;
|
|
238
|
-
emptyMessage: string;
|
|
239
240
|
features: MapSelectFeature[];
|
|
240
241
|
scopeGeometry: MapSelectGeometry | null;
|
|
241
242
|
tileUrl: string;
|
|
242
243
|
tileAttribution: string;
|
|
243
244
|
maxZoom: number;
|
|
244
|
-
searchPlaceholder: string;
|
|
245
245
|
areaLabel: string;
|
|
246
246
|
areaSuffix: string;
|
|
247
247
|
areaDecimals: number;
|