@omnia/fx 8.0.63-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 {
|
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:
|
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
|
-
|
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;
|
@@ -1,4 +1,7 @@
|
|
1
1
|
import { GuidValue, PermissionBinding, PermissionInputSettings, RolePermissionSetting } from "@omnia/fx-models";
|
2
|
+
export interface IPermissionInputApi {
|
3
|
+
save(): Promise<boolean>;
|
4
|
+
}
|
2
5
|
declare const _default: {
|
3
6
|
new (...args: any[]): {
|
4
7
|
$: import("vue").ComponentInternalInstance;
|
@@ -51,6 +54,8 @@ declare const _default: {
|
|
51
54
|
}>) => void)[];
|
52
55
|
readonly disabled?: boolean;
|
53
56
|
readonly settings?: PermissionInputSettings;
|
57
|
+
readonly getApi?: (api: IPermissionInputApi) => void;
|
58
|
+
readonly "get-api"?: (api: IPermissionInputApi) => void;
|
54
59
|
readonly contextParams?: {
|
55
60
|
[key: string]: string | number;
|
56
61
|
};
|
@@ -135,6 +140,12 @@ declare const _default: {
|
|
135
140
|
} & {
|
136
141
|
type: import("vue").PropType<PermissionInputSettings>;
|
137
142
|
};
|
143
|
+
"get-api": {
|
144
|
+
type: import("vue").PropType<(api: IPermissionInputApi) => void>;
|
145
|
+
};
|
146
|
+
getApi: {
|
147
|
+
type: import("vue").PropType<(api: IPermissionInputApi) => void>;
|
148
|
+
};
|
138
149
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
139
150
|
beforeCreate?: (() => void) | (() => void)[];
|
140
151
|
created?: (() => void) | (() => void)[];
|
@@ -207,6 +218,12 @@ declare const _default: {
|
|
207
218
|
} & {
|
208
219
|
type: import("vue").PropType<PermissionInputSettings>;
|
209
220
|
};
|
221
|
+
"get-api": {
|
222
|
+
type: import("vue").PropType<(api: IPermissionInputApi) => void>;
|
223
|
+
};
|
224
|
+
getApi: {
|
225
|
+
type: import("vue").PropType<(api: IPermissionInputApi) => void>;
|
226
|
+
};
|
210
227
|
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
211
228
|
__isFragment?: never;
|
212
229
|
__isTeleport?: never;
|
@@ -263,11 +280,19 @@ declare const _default: {
|
|
263
280
|
} & {
|
264
281
|
type: import("vue").PropType<PermissionInputSettings>;
|
265
282
|
};
|
283
|
+
"get-api": {
|
284
|
+
type: import("vue").PropType<(api: IPermissionInputApi) => void>;
|
285
|
+
};
|
286
|
+
getApi: {
|
287
|
+
type: import("vue").PropType<(api: IPermissionInputApi) => void>;
|
288
|
+
};
|
266
289
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
267
290
|
propsDefinition: Omit<Readonly<{} & {
|
268
291
|
serviceId?: unknown;
|
269
292
|
disabled?: boolean;
|
270
293
|
settings?: PermissionInputSettings;
|
294
|
+
getApi?: (api: IPermissionInputApi) => void;
|
295
|
+
"get-api"?: (api: IPermissionInputApi) => void;
|
271
296
|
contextParams?: {
|
272
297
|
[key: string]: string | number;
|
273
298
|
};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
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.
|
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",
|