@omnia/fx 8.0.58-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
|
-
|
98
|
-
type: import("vue").PropType<(bladeId: string) =>
|
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
|
-
|
176
|
-
type: import("vue").PropType<(bladeId: string) =>
|
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
|
-
|
231
|
-
type: import("vue").PropType<(bladeId: string) =>
|
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;
|
@@ -12,10 +12,10 @@ export interface IValidationRuleBuilder {
|
|
12
12
|
require<T>(this: T, customMessage?: string): Omit<T, "require">;
|
13
13
|
number<T>(this: T, customMessage?: string): Omit<T, "number">;
|
14
14
|
minLength<T>(this: T, minLength: number, customMessage?: string): Omit<T, "minLength">;
|
15
|
-
maxLength<T>(this: T,
|
15
|
+
maxLength<T>(this: T, maxLength: number, customMessage?: string): Omit<T, "maxLength">;
|
16
16
|
minValue<T>(this: T, min: number, customMessage?: string): Omit<T, "minValue">;
|
17
17
|
maxValue<T>(this: T, max: number, customMessage?: string): Omit<T, "maxValue">;
|
18
|
-
|
18
|
+
custom<T>(this: T, callback: ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>)): Omit<T, "custom">;
|
19
19
|
done(): ValidationRule[];
|
20
20
|
}
|
21
21
|
export interface IInternalValidator extends IValidator {
|
@@ -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.
|
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.
|
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",
|