Skip to content

Commit d702c56

Browse files
refactor(combobox-web): format imports and improve type definitions for clarity
1 parent 7055692 commit d702c56

1 file changed

Lines changed: 26 additions & 4 deletions

File tree

packages/pluggableWidgets/combobox-web/typings/ComboboxProps.d.ts

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,20 @@
33
* WARNING: All changes made to this file will be overwritten
44
* @author Mendix Widgets Framework Team
55
*/
6-
import { ActionValue, DynamicValue, EditableValue, ListAttributeValue, ListExpressionValue, ListValue, ListWidgetValue, Option, ReferenceSetValue, ReferenceValue, SelectionMultiValue, SelectionSingleValue } from "mendix";
6+
import {
7+
ActionValue,
8+
DynamicValue,
9+
EditableValue,
10+
ListAttributeValue,
11+
ListExpressionValue,
12+
ListValue,
13+
ListWidgetValue,
14+
Option,
15+
ReferenceSetValue,
16+
ReferenceValue,
17+
SelectionMultiValue,
18+
SelectionSingleValue
19+
} from "mendix";
720
import { ComponentType, ReactNode } from "react";
821
import { Big } from "big.js";
922

@@ -43,7 +56,10 @@ export type FilterTypeEnum = "contains" | "containsExact" | "startsWith" | "none
4356

4457
export interface OptionsSourceStaticDataSourcePreviewType {
4558
staticDataSourceValue: string;
46-
staticDataSourceCustomContent: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> };
59+
staticDataSourceCustomContent: {
60+
widgetCount: number;
61+
renderer: ComponentType<{ children: ReactNode; caption?: string }>;
62+
};
4763
staticDataSourceCaption: string;
4864
}
4965

@@ -130,9 +146,15 @@ export interface ComboboxPreviewProps {
130146
noOptionsText: string;
131147
clearable: boolean;
132148
optionsSourceAssociationCustomContentType: OptionsSourceAssociationCustomContentTypeEnum;
133-
optionsSourceAssociationCustomContent: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> };
149+
optionsSourceAssociationCustomContent: {
150+
widgetCount: number;
151+
renderer: ComponentType<{ children: ReactNode; caption?: string }>;
152+
};
134153
optionsSourceDatabaseCustomContentType: OptionsSourceDatabaseCustomContentTypeEnum;
135-
optionsSourceDatabaseCustomContent: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> };
154+
optionsSourceDatabaseCustomContent: {
155+
widgetCount: number;
156+
renderer: ComponentType<{ children: ReactNode; caption?: string }>;
157+
};
136158
staticDataSourceCustomContentType: StaticDataSourceCustomContentTypeEnum;
137159
showFooter: boolean;
138160
menuFooterContent: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> };

0 commit comments

Comments
 (0)