@@ -11,8 +11,6 @@ export type SourceEnum = "context" | "database" | "static";
1111
1212export type OptionsSourceTypeEnum = "association" | "enumeration" | "boolean" ;
1313
14- export type ControlTypeEnum = "checkbox" | "radio" ;
15-
1614export type OptionsSourceAssociationCaptionTypeEnum = "attribute" | "expression" ;
1715
1816export type OptionsSourceDatabaseCaptionTypeEnum = "attribute" | "expression" ;
@@ -25,6 +23,8 @@ export interface OptionsSourceStaticDataSourceType {
2523
2624export type OptionsSourceCustomContentTypeEnum = "yes" | "no" ;
2725
26+ export type ControlTypeEnum = "checkbox" | "radio" ;
27+
2828export type CustomEditabilityEnum = "default" | "never" | "conditionally" ;
2929
3030export type ReadOnlyStyleEnum = "bordered" | "text" ;
@@ -41,7 +41,6 @@ export interface CheckboxRadioSelectionContainerProps {
4141 id : string ;
4242 source : SourceEnum ;
4343 optionsSourceType : OptionsSourceTypeEnum ;
44- controlType : ControlTypeEnum ;
4544 attributeEnumeration : EditableValue < string > ;
4645 attributeBoolean : EditableValue < boolean > ;
4746 optionsSourceDatabaseDataSource ?: ListValue ;
@@ -62,6 +61,7 @@ export interface CheckboxRadioSelectionContainerProps {
6261 optionsSourceCustomContentType : OptionsSourceCustomContentTypeEnum ;
6362 optionsSourceAssociationCustomContent ?: ListWidgetValue ;
6463 optionsSourceDatabaseCustomContent ?: ListWidgetValue ;
64+ controlType : ControlTypeEnum ;
6565 customEditability : CustomEditabilityEnum ;
6666 customEditabilityExpression : DynamicValue < boolean > ;
6767 readOnlyStyle : ReadOnlyStyleEnum ;
@@ -76,7 +76,6 @@ export interface CheckboxRadioSelectionPreviewProps {
7676 translate : ( text : string ) => string ;
7777 source : SourceEnum ;
7878 optionsSourceType : OptionsSourceTypeEnum ;
79- controlType : ControlTypeEnum ;
8079 attributeEnumeration : string ;
8180 attributeBoolean : string ;
8281 optionsSourceDatabaseDataSource : { } | { caption : string } | { type : string } | null ;
@@ -97,6 +96,7 @@ export interface CheckboxRadioSelectionPreviewProps {
9796 optionsSourceCustomContentType : OptionsSourceCustomContentTypeEnum ;
9897 optionsSourceAssociationCustomContent : { widgetCount : number ; renderer : ComponentType < { children : ReactNode ; caption ?: string } > } ;
9998 optionsSourceDatabaseCustomContent : { widgetCount : number ; renderer : ComponentType < { children : ReactNode ; caption ?: string } > } ;
99+ controlType : ControlTypeEnum ;
100100 customEditability : CustomEditabilityEnum ;
101101 customEditabilityExpression : string ;
102102 readOnlyStyle : ReadOnlyStyleEnum ;
0 commit comments