@trudb/tru-common-lib 0.1.156 → 0.1.158
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/esm2022/lib/base-classes/tru-edit-control-config-base.mjs +1 -1
- package/esm2022/lib/base-classes/tru-list-control-config-base.mjs +1 -1
- package/esm2022/lib/components/validation-dialog/tru-validation-dialog-config.mjs +1 -1
- package/esm2022/lib/directives/breeze-validator/tru-breeze-validator.mjs +35 -8
- package/fesm2022/trudb-tru-common-lib.mjs +34 -8
- package/fesm2022/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/base-classes/tru-edit-control-config-base.d.ts +1 -0
- package/lib/base-classes/tru-list-control-config-base.d.ts +1 -0
- package/lib/components/validation-dialog/tru-validation-dialog-config.d.ts +2 -2
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export declare abstract class TruEditControlConfigBase<T> {
|
|
|
10
10
|
abstract propertyPath: string | undefined;
|
|
11
11
|
abstract rules(entity: any): {} | null;
|
|
12
12
|
abstract subProperties: Array<string>;
|
|
13
|
+
abstract subPropertyNames: Array<string>;
|
|
13
14
|
abstract isSubProperty: boolean;
|
|
14
15
|
abstract get property(): TruPropertyConfigBase;
|
|
15
16
|
abstract set entity(value: any);
|
|
@@ -10,6 +10,7 @@ export declare abstract class TruListControlConfigBase<T> {
|
|
|
10
10
|
abstract propertyPath: string | undefined;
|
|
11
11
|
abstract rules(entity: any): {} | null;
|
|
12
12
|
abstract subProperties: Array<string>;
|
|
13
|
+
abstract subPropertyNames: Array<string>;
|
|
13
14
|
abstract isSubProperty: boolean;
|
|
14
15
|
abstract get property(): TruPropertyConfigBase;
|
|
15
16
|
abstract set entity(value: any);
|
|
@@ -13,7 +13,7 @@ export declare class TruValidationDialogConfig {
|
|
|
13
13
|
private _errorMsg;
|
|
14
14
|
private _mergeData;
|
|
15
15
|
get entity(): TruEntityBase;
|
|
16
|
-
get propertyConfig(): TruEditControlConfigBase<any> | TruListControlConfigBase<any
|
|
16
|
+
get propertyConfig(): Array<TruEditControlConfigBase<any> | TruListControlConfigBase<any>>;
|
|
17
17
|
get context(): TruValidationDialogContext;
|
|
18
18
|
get isSubProperty(): boolean;
|
|
19
19
|
get ignore(): boolean;
|
|
@@ -23,5 +23,5 @@ export declare class TruValidationDialogConfig {
|
|
|
23
23
|
set errorMsg(value: string);
|
|
24
24
|
get mergeData(): TruMergeDataSet | null;
|
|
25
25
|
set mergeData(value: TruMergeDataSet | null);
|
|
26
|
-
constructor(entity: TruEntityBase, propertyConfig: TruEditControlConfigBase<any> | TruListControlConfigBase<any
|
|
26
|
+
constructor(entity: TruEntityBase, propertyConfig: Array<TruEditControlConfigBase<any> | TruListControlConfigBase<any>>, context?: TruValidationDialogContext, isSubProperty?: boolean, ignore?: boolean);
|
|
27
27
|
}
|