@trudb/tru-common-lib 0.0.801 → 0.0.803
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/classes/tru-validator-factory.mjs +96 -0
- package/esm2022/lib/components/data-grid/tru-data-grid.mjs +3 -2
- package/esm2022/lib/components/validation-dialog/tru-validation-dialog-config.mjs +4 -1
- package/esm2022/lib/components/validation-dialog/tru-validation-dialog.mjs +10 -8
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/trudb-tru-common-lib.mjs +110 -9
- package/fesm2022/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/classes/tru-validator-factory.d.ts +19 -0
- package/lib/components/validation-dialog/tru-validation-dialog-config.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Validator } from "breeze-client";
|
|
2
|
+
export declare class TruValidatorFactory {
|
|
3
|
+
private satisfiesEntityMessageValidation;
|
|
4
|
+
private satisfiesRequiredValidation;
|
|
5
|
+
private satisfiesMaxLengthValidation;
|
|
6
|
+
private satisfiesFloatValidation;
|
|
7
|
+
private satisfiesIntegerValidation;
|
|
8
|
+
private satisfiesDateValidation;
|
|
9
|
+
private satisfiesInvalidChoiceValidation;
|
|
10
|
+
private satisfiesMergeValidation;
|
|
11
|
+
createEntityMessageValidator: () => Validator;
|
|
12
|
+
createRequiredValidator: () => Validator;
|
|
13
|
+
createMaxLengthValidator: (maxLength: any) => Validator;
|
|
14
|
+
createIntegerValidator: () => Validator;
|
|
15
|
+
createFloatValidator: () => Validator;
|
|
16
|
+
createDateValidator: () => Validator;
|
|
17
|
+
createInvalidChoiceValidator: () => Validator;
|
|
18
|
+
createMergeValidator: () => Validator;
|
|
19
|
+
}
|
|
@@ -9,5 +9,6 @@ export declare class TruValidationDialogConfig {
|
|
|
9
9
|
get propertyName(): string;
|
|
10
10
|
get errorMsg(): string;
|
|
11
11
|
get mergeData(): TruMergeDataSet | null;
|
|
12
|
+
set mergeData(value: TruMergeDataSet | null);
|
|
12
13
|
constructor(entity: TruEntityBase, propertyName: string, errorMsg: string, mergeData?: TruMergeDataSet | null);
|
|
13
14
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export * from './lib/classes/tru-property-config-text-choices';
|
|
|
41
41
|
export * from './lib/classes/tru-property-config-usa-address';
|
|
42
42
|
export * from './lib/classes/tru-property-config-zip-code';
|
|
43
43
|
export * from './lib/classes/tru-query-predicate-manager';
|
|
44
|
+
export * from './lib/classes/tru-validator-factory';
|
|
44
45
|
export * from './lib/components/confirm-dialog/tru-confirm-dialog';
|
|
45
46
|
export * from './lib/components/confirm-dialog/tru-confirm-dialog-module';
|
|
46
47
|
export * from './lib/components/data-grid/classes/tru-data-grid-config';
|