@wgalleti/primevue-components 0.3.6 → 0.3.8
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/crud/WCrudView.vue.d.ts +2 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1353 -1343
- package/dist/index.js.map +1 -1
- package/dist/types/components/crud/WCrudView.vue.d.ts +2 -0
- package/dist/types/crud.d.ts +5 -0
- package/dist/types/types/crud.d.ts +5 -0
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ type __VLS_Props = {
|
|
|
17
17
|
cardFields?: number;
|
|
18
18
|
actionRail?: boolean;
|
|
19
19
|
contextMenu?: boolean;
|
|
20
|
+
showPrint?: boolean;
|
|
20
21
|
exportCsv?: boolean;
|
|
21
22
|
csvFilename?: string;
|
|
22
23
|
csvScope?: 'all' | 'page';
|
|
@@ -108,6 +109,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
108
109
|
defaultView: "table" | "cards";
|
|
109
110
|
cardFields: number;
|
|
110
111
|
actionRail: boolean;
|
|
112
|
+
showPrint: boolean;
|
|
111
113
|
exportCsv: boolean;
|
|
112
114
|
csvFilename: string;
|
|
113
115
|
csvScope: "all" | "page";
|
package/dist/types/crud.d.ts
CHANGED
|
@@ -129,6 +129,11 @@ export interface CrudManagerConfig<T> {
|
|
|
129
129
|
/** When editing, send only the changed fields (diff) instead of the whole
|
|
130
130
|
* record. Defaults to `true`. Set `false` to always send the full payload. */
|
|
131
131
|
partialUpdate?: boolean;
|
|
132
|
+
/** After a successful create/update, re-fetch the current page so the list
|
|
133
|
+
* reflects the backend (derived fields, ordering) without losing pagination,
|
|
134
|
+
* search or filter position. Defaults to `true`. Set `false` to keep the
|
|
135
|
+
* optimistic in-place update instead. */
|
|
136
|
+
refetchOnSave?: boolean;
|
|
132
137
|
canCreate?: boolean;
|
|
133
138
|
canEdit?: boolean;
|
|
134
139
|
canDelete?: boolean;
|
|
@@ -129,6 +129,11 @@ export interface CrudManagerConfig<T> {
|
|
|
129
129
|
/** When editing, send only the changed fields (diff) instead of the whole
|
|
130
130
|
* record. Defaults to `true`. Set `false` to always send the full payload. */
|
|
131
131
|
partialUpdate?: boolean;
|
|
132
|
+
/** After a successful create/update, re-fetch the current page so the list
|
|
133
|
+
* reflects the backend (derived fields, ordering) without losing pagination,
|
|
134
|
+
* search or filter position. Defaults to `true`. Set `false` to keep the
|
|
135
|
+
* optimistic in-place update instead. */
|
|
136
|
+
refetchOnSave?: boolean;
|
|
132
137
|
canCreate?: boolean;
|
|
133
138
|
canEdit?: boolean;
|
|
134
139
|
canDelete?: boolean;
|