@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.
@@ -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";
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wgalleti/primevue-components",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {