@omnia/fx 8.0.64-vnext → 8.0.65-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.
@@ -1,4 +1,5 @@
1
- import { IIcon, BladeSizes, Func } from "@omnia/fx-models";
1
+ import { BladeSizes, Func, IIcon } from "@omnia/fx-models";
2
+ import { ConfirmDialogOptions } from "@omnia/fx/ux";
2
3
  import { VNodeChild, nextTick } from "vue";
3
4
  declare const _default: {
4
5
  new (...args: any[]): {
@@ -66,10 +67,11 @@ declare const _default: {
66
67
  readonly create?: boolean;
67
68
  readonly subTitle?: string;
68
69
  "onClick:cancel"?: (id: string) => any;
69
- "onClick:delete"?: (id: string) => any;
70
70
  readonly onSave?: (bladeId: string) => boolean | Promise<boolean>;
71
71
  "onClick:back"?: (id: string) => any;
72
72
  readonly searchable?: boolean;
73
+ readonly onDelete?: (bladeId: string) => boolean | Promise<boolean>;
74
+ readonly confirmDialogOption?: unknown;
73
75
  onSearch?: (searchText: string) => any;
74
76
  "onClick:add"?: (id: string) => any;
75
77
  "onClick:settings"?: (id: string) => any;
@@ -85,7 +87,7 @@ declare const _default: {
85
87
  }>;
86
88
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
87
89
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
88
- $emit: ((event: "search", searchText: string) => void) & ((event: "click:cancel", id: string) => void) & ((event: "click:delete", id: string) => void) & ((event: "click:back", id: string) => void) & ((event: "click:add", id: string) => void) & ((event: "click:settings", id: string) => void);
90
+ $emit: ((event: "search", searchText: string) => void) & ((event: "click:cancel", id: string) => void) & ((event: "click:back", id: string) => void) & ((event: "click:add", id: string) => void) & ((event: "click:settings", id: string) => void);
89
91
  $el: any;
90
92
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
91
93
  "v-slots": import("vue").Prop<{
@@ -94,6 +96,12 @@ declare const _default: {
94
96
  actions?: Func<[VNodeChild]>;
95
97
  actionsFooter?: Func<[VNodeChild]>;
96
98
  }>;
99
+ confirmDialogOption: {
100
+ type: import("vue").PropType<ConfirmDialogOptions>;
101
+ };
102
+ onDelete: {
103
+ type: import("vue").PropType<(bladeId: string) => boolean | Promise<boolean>>;
104
+ };
97
105
  onSave: {
98
106
  type: import("vue").PropType<(bladeId: string) => boolean | Promise<boolean>>;
99
107
  };
@@ -133,7 +141,6 @@ declare const _default: {
133
141
  };
134
142
  }>> & {
135
143
  "onClick:cancel"?: (id: string) => any;
136
- "onClick:delete"?: (id: string) => any;
137
144
  "onClick:back"?: (id: string) => any;
138
145
  onSearch?: (searchText: string) => any;
139
146
  "onClick:add"?: (id: string) => any;
@@ -142,7 +149,6 @@ declare const _default: {
142
149
  "click:add": (id: string) => boolean;
143
150
  "click:back": (id: string) => boolean;
144
151
  "click:cancel": (id: string) => boolean;
145
- "click:delete": (id: string) => boolean;
146
152
  "click:settings": (id: string) => boolean;
147
153
  search: (searchText: string) => boolean;
148
154
  }, string, {}, {}, string, {}> & {
@@ -172,6 +178,12 @@ declare const _default: {
172
178
  actions?: Func<[VNodeChild]>;
173
179
  actionsFooter?: Func<[VNodeChild]>;
174
180
  }>;
181
+ confirmDialogOption: {
182
+ type: import("vue").PropType<ConfirmDialogOptions>;
183
+ };
184
+ onDelete: {
185
+ type: import("vue").PropType<(bladeId: string) => boolean | Promise<boolean>>;
186
+ };
175
187
  onSave: {
176
188
  type: import("vue").PropType<(bladeId: string) => boolean | Promise<boolean>>;
177
189
  };
@@ -211,7 +223,6 @@ declare const _default: {
211
223
  };
212
224
  }>> & {
213
225
  "onClick:cancel"?: (id: string) => any;
214
- "onClick:delete"?: (id: string) => any;
215
226
  "onClick:back"?: (id: string) => any;
216
227
  onSearch?: (searchText: string) => any;
217
228
  "onClick:add"?: (id: string) => any;
@@ -227,6 +238,12 @@ declare const _default: {
227
238
  actions?: Func<[VNodeChild]>;
228
239
  actionsFooter?: Func<[VNodeChild]>;
229
240
  }>;
241
+ confirmDialogOption: {
242
+ type: import("vue").PropType<ConfirmDialogOptions>;
243
+ };
244
+ onDelete: {
245
+ type: import("vue").PropType<(bladeId: string) => boolean | Promise<boolean>>;
246
+ };
230
247
  onSave: {
231
248
  type: import("vue").PropType<(bladeId: string) => boolean | Promise<boolean>>;
232
249
  };
@@ -266,7 +283,6 @@ declare const _default: {
266
283
  };
267
284
  }>> & {
268
285
  "onClick:cancel"?: (id: string) => any;
269
- "onClick:delete"?: (id: string) => any;
270
286
  "onClick:back"?: (id: string) => any;
271
287
  onSearch?: (searchText: string) => any;
272
288
  "onClick:add"?: (id: string) => any;
@@ -275,7 +291,6 @@ declare const _default: {
275
291
  "click:add": (id: string) => boolean;
276
292
  "click:back": (id: string) => boolean;
277
293
  "click:cancel": (id: string) => boolean;
278
- "click:delete": (id: string) => boolean;
279
294
  "click:settings": (id: string) => boolean;
280
295
  search: (searchText: string) => boolean;
281
296
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
@@ -298,9 +313,10 @@ declare const _default: {
298
313
  subTitle?: string;
299
314
  onSave?: (bladeId: string) => boolean | Promise<boolean>;
300
315
  searchable?: boolean;
301
- }>, "onClick:cancel" | "onClick:delete" | "onClick:back" | "onSearch" | "onClick:add" | "onClick:settings"> & {
316
+ onDelete?: (bladeId: string) => boolean | Promise<boolean>;
317
+ confirmDialogOption?: unknown;
318
+ }>, "onClick:cancel" | "onClick:back" | "onSearch" | "onClick:add" | "onClick:settings"> & {
302
319
  "onClick:cancel"?: (id: string) => any;
303
- "onClick:delete"?: (id: string) => any;
304
320
  "onClick:back"?: (id: string) => any;
305
321
  onSearch?: (searchText: string) => any;
306
322
  "onClick:add"?: (id: string) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.64-vnext",
4
+ "version": "8.0.65-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.64-vnext",
23
+ "@omnia/fx-models": "8.0.65-vnext",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",