cloud-ide-lms-model 1.0.26 → 1.0.27
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IEntityErrorLogger } from "../model/core/entity";
|
|
2
2
|
/** @description breakpoints to show supported media screens */
|
|
3
|
-
export type
|
|
3
|
+
export type elementSizeType = number | "sm" | "lg" | "md";
|
|
4
4
|
/** @description Label placement like fiexd which will be at same position if vale is there or not, floting will move if vale is set or removed */
|
|
5
5
|
export type labelPlacementType = 'floating' | 'fixed';
|
|
6
6
|
/** @description type of control */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { controlType, elementSizeType, labelPlacementType } from "../../common-types";
|
|
2
2
|
interface ICoreSype {
|
|
3
3
|
_id?: string;
|
|
4
4
|
sype_key: string;
|
|
@@ -6,11 +6,11 @@ interface ICoreSype {
|
|
|
6
6
|
sype_placeholder?: string;
|
|
7
7
|
sype_auto_complete?: string;
|
|
8
8
|
sype_page_id_sypg?: string;
|
|
9
|
-
|
|
9
|
+
sype_label?: string;
|
|
10
10
|
sype_label_placement?: labelPlacementType;
|
|
11
11
|
sype_min_length?: number;
|
|
12
12
|
sype_max_length?: number;
|
|
13
|
-
sype_width?:
|
|
13
|
+
sype_width?: elementSizeType;
|
|
14
14
|
sype_regex?: string;
|
|
15
15
|
sype_required?: boolean;
|
|
16
16
|
sype_tooltip?: string;
|