cloud-ide-lms-model 1.0.142 → 1.0.144
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.
|
@@ -25,6 +25,11 @@ export type elementStyleType = "solid" | "outline" | "standard";
|
|
|
25
25
|
export interface MRequestMiddelware {
|
|
26
26
|
Validate?: Function;
|
|
27
27
|
}
|
|
28
|
+
/** data return type for select on search */
|
|
29
|
+
export type selectSearchType = {
|
|
30
|
+
query: string;
|
|
31
|
+
value: string | number;
|
|
32
|
+
};
|
|
28
33
|
export declare class MTableQueries {
|
|
29
34
|
total: number;
|
|
30
35
|
pageIndex: number;
|
|
@@ -8,7 +8,6 @@ class MPinCodeSelect {
|
|
|
8
8
|
Object.assign(this, init);
|
|
9
9
|
}
|
|
10
10
|
Validate() {
|
|
11
|
-
var _a;
|
|
12
11
|
let errorLogger = {};
|
|
13
12
|
if (!this.sypin_pincode) {
|
|
14
13
|
errorLogger.sypin_pincode = "Pin Code is Required!";
|
|
@@ -16,11 +15,6 @@ class MPinCodeSelect {
|
|
|
16
15
|
else if (!this.sypin_id && !this.sypin_pincode) {
|
|
17
16
|
errorLogger.sypin_id = "Pin Code ID is Required!";
|
|
18
17
|
}
|
|
19
|
-
else if (this.sypin_pincode) {
|
|
20
|
-
if (((_a = this.sypin_pincode) === null || _a === void 0 ? void 0 : _a.length) < 5) {
|
|
21
|
-
errorLogger.sypin_pincode = "Pin Code must be 5 characters";
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
18
|
return errorLogger;
|
|
25
19
|
}
|
|
26
20
|
}
|