@omnia/fx 8.0.59-vnext → 8.0.60-vnext

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.
@@ -67,9 +67,9 @@ declare const _default: {
67
67
  readonly subTitle?: string;
68
68
  "onClick:cancel"?: (id: string) => any;
69
69
  "onClick:delete"?: (id: string) => any;
70
+ readonly onSave?: (bladeId: string) => boolean | Promise<boolean>;
70
71
  "onClick:back"?: (id: string) => any;
71
72
  readonly searchable?: boolean;
72
- readonly onClickSave?: (bladeId: string) => void | Promise<void>;
73
73
  onSearch?: (searchText: string) => any;
74
74
  "onClick:add"?: (id: string) => any;
75
75
  "onClick:settings"?: (id: string) => any;
@@ -94,8 +94,8 @@ declare const _default: {
94
94
  actions?: Func<[VNodeChild]>;
95
95
  actionsFooter?: Func<[VNodeChild]>;
96
96
  }>;
97
- onClickSave: {
98
- type: import("vue").PropType<(bladeId: string) => void | Promise<void>>;
97
+ onSave: {
98
+ type: import("vue").PropType<(bladeId: string) => boolean | Promise<boolean>>;
99
99
  };
100
100
  variant: {
101
101
  type: import("vue").PropType<"info" | "new" | "edit">;
@@ -172,8 +172,8 @@ declare const _default: {
172
172
  actions?: Func<[VNodeChild]>;
173
173
  actionsFooter?: Func<[VNodeChild]>;
174
174
  }>;
175
- onClickSave: {
176
- type: import("vue").PropType<(bladeId: string) => void | Promise<void>>;
175
+ onSave: {
176
+ type: import("vue").PropType<(bladeId: string) => boolean | Promise<boolean>>;
177
177
  };
178
178
  variant: {
179
179
  type: import("vue").PropType<"info" | "new" | "edit">;
@@ -227,8 +227,8 @@ declare const _default: {
227
227
  actions?: Func<[VNodeChild]>;
228
228
  actionsFooter?: Func<[VNodeChild]>;
229
229
  }>;
230
- onClickSave: {
231
- type: import("vue").PropType<(bladeId: string) => void | Promise<void>>;
230
+ onSave: {
231
+ type: import("vue").PropType<(bladeId: string) => boolean | Promise<boolean>>;
232
232
  };
233
233
  variant: {
234
234
  type: import("vue").PropType<"info" | "new" | "edit">;
@@ -296,8 +296,8 @@ declare const _default: {
296
296
  save?: boolean;
297
297
  create?: boolean;
298
298
  subTitle?: string;
299
+ onSave?: (bladeId: string) => boolean | Promise<boolean>;
299
300
  searchable?: boolean;
300
- onClickSave?: (bladeId: string) => void | Promise<void>;
301
301
  }>, "onClick:cancel" | "onClick:delete" | "onClick:back" | "onSearch" | "onClick:add" | "onClick:settings"> & {
302
302
  "onClick:cancel"?: (id: string) => any;
303
303
  "onClick:delete"?: (id: string) => any;
@@ -57,10 +57,10 @@ declare const _default: {
57
57
  readonly "v-model"?: boolean;
58
58
  readonly "content-class"?: string;
59
59
  readonly onSave?: () => Promise<boolean>;
60
+ readonly "on-save"?: () => Promise<boolean>;
60
61
  readonly "header-class"?: string;
61
62
  readonly onCancel?: () => void;
62
63
  readonly "on-cancel"?: () => void;
63
- readonly "on-save"?: () => Promise<boolean>;
64
64
  readonly disableSave?: boolean;
65
65
  readonly "disable-save"?: boolean;
66
66
  readonly disableCancel?: boolean;
@@ -321,10 +321,10 @@ declare const _default: {
321
321
  "v-model"?: boolean;
322
322
  "content-class"?: string;
323
323
  onSave?: () => Promise<boolean>;
324
+ "on-save"?: () => Promise<boolean>;
324
325
  "header-class"?: string;
325
326
  onCancel?: () => void;
326
327
  "on-cancel"?: () => void;
327
- "on-save"?: () => Promise<boolean>;
328
328
  disableSave?: boolean;
329
329
  "disable-save"?: boolean;
330
330
  disableCancel?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.59-vnext",
4
+ "version": "8.0.60-vnext",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.59-vnext",
23
+ "@omnia/fx-models": "8.0.60-vnext",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",