@dynamicforms/vue-forms 0.3.2 → 0.3.3
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.
package/dist/index.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ export declare class AbortEventHandlingException extends Error {
|
|
|
6
6
|
|
|
7
7
|
export declare class Action<T extends ActionValue = ActionValue> extends FieldBase<T> {
|
|
8
8
|
private _value;
|
|
9
|
-
|
|
9
|
+
constructor(guard?: symbol);
|
|
10
10
|
protected init(params?: Partial<IFieldConstructorParams<T>>): void;
|
|
11
|
-
static create<T extends ActionValue = ActionValue>(params?: Partial<IFieldConstructorParams<T>>):
|
|
11
|
+
static create<T extends ActionValue = ActionValue>(this: new (guard?: symbol) => Action<T>, params?: Partial<IFieldConstructorParams<T>>): InstanceType<typeof this>;
|
|
12
12
|
get value(): T;
|
|
13
13
|
set value(newValue: T);
|
|
14
14
|
get icon(): string | undefined;
|
|
@@ -96,7 +96,7 @@ export declare namespace DisplayMode {
|
|
|
96
96
|
export function isDefined(mode: number | string): boolean;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
export declare const EmptyField: Field<
|
|
99
|
+
export declare const EmptyField: Field<unknown>;
|
|
100
100
|
|
|
101
101
|
export declare class EnabledChangedAction extends FieldActionBase {
|
|
102
102
|
constructor(executorFn: (field: IField, supr: FieldActionExecute, newValue: boolean, oldValue: boolean) => void);
|
|
@@ -118,14 +118,14 @@ export declare class ExecuteAction extends FieldActionBase {
|
|
|
118
118
|
|
|
119
119
|
export declare class Field<T = any> extends FieldBase {
|
|
120
120
|
private _value;
|
|
121
|
-
|
|
121
|
+
constructor(guard?: symbol);
|
|
122
122
|
protected init(params?: Partial<IFieldConstructorParams<T>>): void;
|
|
123
123
|
/**
|
|
124
124
|
* Creates a new reactive Field instance.
|
|
125
125
|
* @param params Initial field parameters
|
|
126
126
|
* @returns Reactive Field instance
|
|
127
127
|
*/
|
|
128
|
-
static create<T = any>(params?: Partial<IFieldConstructorParams<T>>):
|
|
128
|
+
static create<T = any>(this: new (guard?: symbol) => Field<T>, params?: Partial<IFieldConstructorParams<T>>): InstanceType<typeof this>;
|
|
129
129
|
get value(): T;
|
|
130
130
|
set value(newValue: T);
|
|
131
131
|
clone(overrides?: Partial<IField<T>>): Field<T>;
|