cloud-ide-lms-model 1.0.177 → 1.0.179
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.
|
@@ -62,12 +62,6 @@ class MPageElementsInsertUpdatePayload extends schema_1.ICoreSype {
|
|
|
62
62
|
if (this.sype_min_length !== undefined && this.sype_max_length !== undefined && this.sype_min_length > this.sype_max_length) {
|
|
63
63
|
errorLogger.sype_max_length = "Maximum length must be greater than minimum length!";
|
|
64
64
|
}
|
|
65
|
-
if (this.sype_width !== undefined && this.sype_width < 0) {
|
|
66
|
-
errorLogger.sype_width = "Width cannot be negative!";
|
|
67
|
-
}
|
|
68
|
-
if (this.sype_height !== undefined && this.sype_height < 0) {
|
|
69
|
-
errorLogger.sype_height = "Height cannot be negative!";
|
|
70
|
-
}
|
|
71
65
|
return errorLogger;
|
|
72
66
|
}
|
|
73
67
|
}
|
|
@@ -6,7 +6,7 @@ declare class ICoreSype {
|
|
|
6
6
|
sype_label?: string;
|
|
7
7
|
sype_label_hide?: boolean;
|
|
8
8
|
sype_hide_helper_and_error_text?: boolean;
|
|
9
|
-
sype_auto_complete?:
|
|
9
|
+
sype_auto_complete?: boolean;
|
|
10
10
|
sype_type?: controlType;
|
|
11
11
|
sype_option_key?: string;
|
|
12
12
|
sype_placeholder?: string;
|
|
@@ -15,8 +15,8 @@ declare class ICoreSype {
|
|
|
15
15
|
sype_regex?: string;
|
|
16
16
|
sype_required?: boolean;
|
|
17
17
|
sype_disabled?: boolean;
|
|
18
|
-
sype_width?:
|
|
19
|
-
sype_height?:
|
|
18
|
+
sype_width?: string;
|
|
19
|
+
sype_height?: string;
|
|
20
20
|
sype_label_placement?: labelPlacementType;
|
|
21
21
|
sype_helper_text_collapse?: boolean;
|
|
22
22
|
sype_default?: boolean | string | number;
|