@entropic-bond/crud-panel 4.1.1 → 4.1.2
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.
|
@@ -5,6 +5,9 @@ export declare class Test extends EntropicComponent {
|
|
|
5
5
|
get testProp(): string | undefined;
|
|
6
6
|
set testPropWithValidator(value: string | undefined);
|
|
7
7
|
get testPropWithValidator(): string | undefined;
|
|
8
|
+
set testPropWithControllerValidator(value: number);
|
|
9
|
+
get testPropWithControllerValidator(): number;
|
|
10
|
+
private _testPropWithControllerValidator;
|
|
8
11
|
private _testProp;
|
|
9
12
|
private _testPropWithValidator;
|
|
10
13
|
}
|
|
@@ -587,7 +587,7 @@ const re = class re {
|
|
|
587
587
|
get requiredProperties() {
|
|
588
588
|
if (!this.document)
|
|
589
589
|
throw new Error(re.errorMessages.missedDocument);
|
|
590
|
-
return this.document.getPersistentProperties().filter((t) => this.document.isRequired(t.name)).map((t) => t.name);
|
|
590
|
+
return this.document.getPersistentProperties().filter((t) => this.document.isRequired(t.name)).map((t) => t.name).concat(Object.keys(this.validator));
|
|
591
591
|
}
|
|
592
592
|
addValidator(t, s, l) {
|
|
593
593
|
this.validator[t] = {
|