import * as internal from "../sdk/internal"; export import StructureVersionInfo = internal.StructureVersionInfo; import { pages } from "./pages"; export declare namespace customwidgets { class CustomWidgetAssociationType extends internal.AbstractEnum { static Reference: CustomWidgetAssociationType; static ReferenceSet: CustomWidgetAssociationType; protected qualifiedTsTypeName: string; } class CustomWidgetAttributeType extends internal.AbstractEnum { static AutoNumber: CustomWidgetAttributeType; static Binary: CustomWidgetAttributeType; static Boolean: CustomWidgetAttributeType; static Currency: CustomWidgetAttributeType; static DateTime: CustomWidgetAttributeType; static Enum: CustomWidgetAttributeType; static Float: CustomWidgetAttributeType; static HashString: CustomWidgetAttributeType; static Integer: CustomWidgetAttributeType; static Long: CustomWidgetAttributeType; static String: CustomWidgetAttributeType; static Decimal: CustomWidgetAttributeType; protected qualifiedTsTypeName: string; } class CustomWidgetSelectionType extends internal.AbstractEnum { static None: CustomWidgetSelectionType; static Single: CustomWidgetSelectionType; static Multi: CustomWidgetSelectionType; protected qualifiedTsTypeName: string; } class DefaultTypeEnum extends internal.AbstractEnum { static None: DefaultTypeEnum; static CallMicroflow: DefaultTypeEnum; static CallNanoflow: DefaultTypeEnum; static OpenPage: DefaultTypeEnum; static Database: DefaultTypeEnum; static Microflow: DefaultTypeEnum; static Nanoflow: DefaultTypeEnum; static Association: DefaultTypeEnum; protected qualifiedTsTypeName: string; } class IsPath extends internal.AbstractEnum { static No: IsPath; static Optional: IsPath; static Yes: IsPath; protected qualifiedTsTypeName: string; } class PathType extends internal.AbstractEnum { static None: PathType; static Reference: PathType; static ReferenceSet: PathType; protected qualifiedTsTypeName: string; } class SystemPropertyEnum extends internal.AbstractEnum { static Label: SystemPropertyEnum; static Name: SystemPropertyEnum; static TabIndex: SystemPropertyEnum; static Editability: SystemPropertyEnum; static Visibility: SystemPropertyEnum; static Text: SystemPropertyEnum; protected qualifiedTsTypeName: string; } class WidgetReturnTypeEnum extends internal.AbstractEnum { static None: WidgetReturnTypeEnum; static Void: WidgetReturnTypeEnum; static Boolean: WidgetReturnTypeEnum; static Integer: WidgetReturnTypeEnum; static Float: WidgetReturnTypeEnum; static DateTime: WidgetReturnTypeEnum; static String: WidgetReturnTypeEnum; static Object: WidgetReturnTypeEnum; static Decimal: WidgetReturnTypeEnum; protected qualifiedTsTypeName: string; } class WidgetValueTypeEnum extends internal.AbstractEnum { static Action: WidgetValueTypeEnum; static Attribute: WidgetValueTypeEnum; static Association: WidgetValueTypeEnum; static Boolean: WidgetValueTypeEnum; static DataSource: WidgetValueTypeEnum; static Entity: WidgetValueTypeEnum; static EntityConstraint: WidgetValueTypeEnum; static Enumeration: WidgetValueTypeEnum; static Expression: WidgetValueTypeEnum; static File: WidgetValueTypeEnum; static Form: WidgetValueTypeEnum; static Icon: WidgetValueTypeEnum; static Image: WidgetValueTypeEnum; static Integer: WidgetValueTypeEnum; static Decimal: WidgetValueTypeEnum; static Microflow: WidgetValueTypeEnum; static Nanoflow: WidgetValueTypeEnum; static Object: WidgetValueTypeEnum; static String: WidgetValueTypeEnum; static Selection: WidgetValueTypeEnum; static TranslatableString: WidgetValueTypeEnum; static TextTemplate: WidgetValueTypeEnum; static System: WidgetValueTypeEnum; static Widgets: WidgetValueTypeEnum; protected qualifiedTsTypeName: string; } /** * Interfaces and instance classes for types from the Mendix sub meta model `CustomWidgets`. */ class CustomWidget extends pages.Widget { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetValue(): WidgetValue; get containerAsNativeLayout(): nativepages.NativeLayout; get containerAsNativeLayoutCallArgument(): nativepages.NativeLayoutCallArgument; get containerAsBuildingBlock(): pages.BuildingBlock; get containerAsDataView(): pages.DataView; get containerAsDivContainer(): pages.DivContainer; get containerAsGroupBox(): pages.GroupBox; get containerAsHeader(): pages.Header; get containerAsLayout(): pages.Layout; get containerAsLayoutCallArgument(): pages.LayoutCallArgument; get containerAsLayoutGridColumn(): pages.LayoutGridColumn; get containerAsListView(): pages.ListView; get containerAsListViewTemplate(): pages.ListViewTemplate; get containerAsMasterDetailRegion(): pages.MasterDetailRegion; get containerAsNativeLayoutContent(): pages.NativeLayoutContent; get containerAsNavigationListItem(): pages.NavigationListItem; get containerAsScrollContainerRegion(): pages.ScrollContainerRegion; get containerAsSnippet(): pages.Snippet; get containerAsSplitPane(): pages.SplitPane; get containerAsTabPage(): pages.TabPage; get containerAsTableCell(): pages.TableCell; get containerAsTemplateGridContents(): pages.TemplateGridContents; get containerAsVerticalFlow(): pages.VerticalFlow; get containerAsWebLayoutContent(): pages.WebLayoutContent; get containerAsReportPane(): reports.ReportPane; get type(): CustomWidgetType | null; set type(newValue: CustomWidgetType | null); get object(): WidgetObject | null; set object(newValue: WidgetObject | null); /** * In version 8.1.0: introduced */ get labelTemplate(): pages.ClientTemplate | null; set labelTemplate(newValue: pages.ClientTemplate | null); /** * In version 8.1.0: introduced */ get conditionalEditabilitySettings(): pages.ConditionalEditabilitySettings | null; set conditionalEditabilitySettings(newValue: pages.ConditionalEditabilitySettings | null); /** * In version 8.1.0: introduced */ get editable(): pages.EditableEnum; set editable(newValue: pages.EditableEnum); /** * In version 8.1.0: introduced */ get conditionalVisibilitySettings(): pages.ConditionalVisibilitySettings | null; set conditionalVisibilitySettings(newValue: pages.ConditionalVisibilitySettings | null); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent WidgetValue element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 8.2.0 and higher */ static createInWidgetValueUnderWidgets(container: WidgetValue): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'headerWidget' property * of the parent nativepages.NativeLayout element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.22.0 to 7.23.0 */ static createInNativeLayoutUnderHeaderWidget(container: nativepages.NativeLayout): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent nativepages.NativeLayout element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.21.0 to 7.23.0 */ static createInNativeLayoutUnderWidgets(container: nativepages.NativeLayout): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent nativepages.NativeLayoutCallArgument element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.23.0 to 7.23.0 */ static createInNativeLayoutCallArgumentUnderWidgets(container: nativepages.NativeLayoutCallArgument): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.BuildingBlock element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.7.0 to 7.14.0 */ static createInBuildingBlockUnderWidget(container: pages.BuildingBlock): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.BuildingBlock element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInBuildingBlockUnderWidgets(container: pages.BuildingBlock): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'footerWidget' property * of the parent pages.DataView element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.7.0 to 7.14.0 */ static createInDataViewUnderFooterWidget(container: pages.DataView): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'footerWidgets' property * of the parent pages.DataView element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInDataViewUnderFooterWidgets(container: pages.DataView): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.DataView element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInDataViewUnderWidget(container: pages.DataView): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.DataView element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInDataViewUnderWidgets(container: pages.DataView): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.DivContainer element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInDivContainerUnderWidget(container: pages.DivContainer): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.DivContainer element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInDivContainerUnderWidgets(container: pages.DivContainer): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.GroupBox element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInGroupBoxUnderWidget(container: pages.GroupBox): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.GroupBox element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInGroupBoxUnderWidgets(container: pages.GroupBox): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'leftWidget' property * of the parent pages.Header element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInHeaderUnderLeftWidget(container: pages.Header): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'leftWidgets' property * of the parent pages.Header element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInHeaderUnderLeftWidgets(container: pages.Header): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'rightWidget' property * of the parent pages.Header element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInHeaderUnderRightWidget(container: pages.Header): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'rightWidgets' property * of the parent pages.Header element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInHeaderUnderRightWidgets(container: pages.Header): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.Layout element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInLayoutUnderWidget(container: pages.Layout): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.Layout element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 to 7.23.0 */ static createInLayoutUnderWidgets(container: pages.Layout): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.LayoutCallArgument element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInLayoutCallArgumentUnderWidget(container: pages.LayoutCallArgument): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.LayoutCallArgument element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInLayoutCallArgumentUnderWidgets(container: pages.LayoutCallArgument): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.LayoutGridColumn element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInLayoutGridColumnUnderWidget(container: pages.LayoutGridColumn): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.LayoutGridColumn element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInLayoutGridColumnUnderWidgets(container: pages.LayoutGridColumn): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.ListView element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInListViewUnderWidget(container: pages.ListView): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.ListView element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInListViewUnderWidgets(container: pages.ListView): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.ListViewTemplate element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInListViewTemplateUnderWidget(container: pages.ListViewTemplate): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.ListViewTemplate element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInListViewTemplateUnderWidgets(container: pages.ListViewTemplate): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.MasterDetailRegion element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.1.0 to 7.14.0 */ static createInMasterDetailRegionUnderWidget(container: pages.MasterDetailRegion): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'sidebarWidgets' property * of the parent pages.NativeLayoutContent element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 8.5.0 and higher */ static createInNativeLayoutContentUnderSidebarWidgets(container: pages.NativeLayoutContent): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.NativeLayoutContent element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 8.0.0 and higher */ static createInNativeLayoutContentUnderWidgets(container: pages.NativeLayoutContent): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.NavigationListItem element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInNavigationListItemUnderWidget(container: pages.NavigationListItem): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.NavigationListItem element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInNavigationListItemUnderWidgets(container: pages.NavigationListItem): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.ScrollContainerRegion element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInScrollContainerRegionUnderWidget(container: pages.ScrollContainerRegion): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.ScrollContainerRegion element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInScrollContainerRegionUnderWidgets(container: pages.ScrollContainerRegion): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.Snippet element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInSnippetUnderWidget(container: pages.Snippet): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.Snippet element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInSnippetUnderWidgets(container: pages.Snippet): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'firstWidget' property * of the parent pages.SplitPane element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInSplitPaneUnderFirstWidget(container: pages.SplitPane): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'firstWidgets' property * of the parent pages.SplitPane element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 to 7.23.0 */ static createInSplitPaneUnderFirstWidgets(container: pages.SplitPane): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'secondWidget' property * of the parent pages.SplitPane element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInSplitPaneUnderSecondWidget(container: pages.SplitPane): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'secondWidgets' property * of the parent pages.SplitPane element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 to 7.23.0 */ static createInSplitPaneUnderSecondWidgets(container: pages.SplitPane): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.TabPage element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInTabPageUnderWidget(container: pages.TabPage): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.TabPage element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInTabPageUnderWidgets(container: pages.TabPage): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.TableCell element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInTableCellUnderWidget(container: pages.TableCell): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.TableCell element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInTableCellUnderWidgets(container: pages.TableCell): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widget' property * of the parent pages.TemplateGridContents element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInTemplateGridContentsUnderWidget(container: pages.TemplateGridContents): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.TemplateGridContents element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 7.15.0 and higher */ static createInTemplateGridContentsUnderWidgets(container: pages.TemplateGridContents): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.VerticalFlow element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 7.14.0 */ static createInVerticalFlowUnderWidgets(container: pages.VerticalFlow): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'widgets' property * of the parent pages.WebLayoutContent element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 8.0.0 and higher */ static createInWebLayoutContentUnderWidgets(container: pages.WebLayoutContent): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'parameterWidget' property * of the parent reports.ReportPane element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 6.9.0 */ static createInReportPaneUnderParameterWidget(container: reports.ReportPane): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * The new CustomWidget will be automatically stored in the 'reportWidget' property * of the parent reports.ReportPane element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 6.0.0 to 6.9.0 */ static createInReportPaneUnderReportWidget(container: reports.ReportPane): CustomWidget; /** * Creates and returns a new CustomWidget instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): CustomWidget; } /** * In version 10.5.0: deleted * In version 8.5.0: introduced */ class CustomWidgetDatabaseSource extends pages.DatabaseSourceBase { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetValue(): WidgetValue; get containerAsEntityWidget(): pages.EntityWidget; constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new CustomWidgetDatabaseSource instance in the SDK and on the server. * The new CustomWidgetDatabaseSource will be automatically stored in the 'dataSource' property * of the parent WidgetValue element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 8.5.0 to 10.4.0 */ static createInWidgetValueUnderDataSource(container: WidgetValue): CustomWidgetDatabaseSource; /** * Creates and returns a new CustomWidgetDatabaseSource instance in the SDK and on the server. * The new CustomWidgetDatabaseSource will be automatically stored in the 'dataSource' property * of the parent pages.EntityWidget element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 8.5.0 to 10.4.0 */ static createInEntityWidgetUnderDataSource(container: pages.EntityWidget): CustomWidgetDatabaseSource; /** * Creates and returns a new CustomWidgetDatabaseSource instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): CustomWidgetDatabaseSource; } class CustomWidgetType extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsCustomWidget(): CustomWidget; get widgetId(): string; set widgetId(newValue: string); get needsEntityContext(): boolean; set needsEntityContext(newValue: boolean); /** * In version 7.19.0: introduced */ get pluginWidget(): boolean; set pluginWidget(newValue: boolean); get name(): string; set name(newValue: string); get description(): string; set description(newValue: string); /** * In version 9.4.0: introduced */ get studioProCategory(): string; set studioProCategory(newValue: string); /** * In version 9.4.0: introduced */ get studioCategory(): string; set studioCategory(newValue: string); /** * In version 8.0.0: introduced */ get supportedPlatform(): client.SupportedPlatform; set supportedPlatform(newValue: client.SupportedPlatform); /** * In version 10.0.0: deleted */ get phoneGapEnabled(): boolean; set phoneGapEnabled(newValue: boolean); get offlineCapable(): boolean; set offlineCapable(newValue: boolean); /** * In version 7.1.0: deleted * In version 7.0.0: introduced */ get experimentalApi(): boolean; set experimentalApi(newValue: boolean); get objectType(): WidgetObjectType; set objectType(newValue: WidgetObjectType); /** * In version 8.0.0: deleted * In version 7.23.0: introduced */ get labeled(): boolean; set labeled(newValue: boolean); /** * In version 8.3.0: introduced */ get helpUrl(): string; set helpUrl(newValue: string); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new CustomWidgetType instance in the SDK and on the server. * The new CustomWidgetType will be automatically stored in the 'type' property * of the parent CustomWidget element passed as argument. */ static createIn(container: CustomWidget): CustomWidgetType; /** * Creates and returns a new CustomWidgetType instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): CustomWidgetType; } /** * In version 8.5.0: introduced */ class CustomWidgetXPathSource extends pages.XPathSourceBase { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetValue(): WidgetValue; get containerAsEntityWidget(): pages.EntityWidget; constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new CustomWidgetXPathSource instance in the SDK and on the server. * The new CustomWidgetXPathSource will be automatically stored in the 'dataSource' property * of the parent WidgetValue element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 8.5.0 and higher */ static createInWidgetValueUnderDataSource(container: WidgetValue): CustomWidgetXPathSource; /** * Creates and returns a new CustomWidgetXPathSource instance in the SDK and on the server. * The new CustomWidgetXPathSource will be automatically stored in the 'dataSource' property * of the parent pages.EntityWidget element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 8.5.0 and higher */ static createInEntityWidgetUnderDataSource(container: pages.EntityWidget): CustomWidgetXPathSource; /** * Creates and returns a new CustomWidgetXPathSource instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): CustomWidgetXPathSource; } /** * In version 10.21.0: introduced */ class WidgetActionVariable extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetValueType(): WidgetValueType; get key(): string; set key(newValue: string); get type(): WidgetReturnTypeEnum; set type(newValue: WidgetReturnTypeEnum); get caption(): string; set caption(newValue: string); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new WidgetActionVariable instance in the SDK and on the server. * The new WidgetActionVariable will be automatically stored in the 'actionVariables' property * of the parent WidgetValueType element passed as argument. * * Warning! Can only be used on models with the following Mendix meta model versions: * 10.21.0 and higher */ static createIn(container: WidgetValueType): WidgetActionVariable; /** * Creates and returns a new WidgetActionVariable instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): WidgetActionVariable; } class WidgetEnumerationValue extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetValueType(): WidgetValueType; get key(): string; set key(newValue: string); get caption(): string; set caption(newValue: string); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new WidgetEnumerationValue instance in the SDK and on the server. * The new WidgetEnumerationValue will be automatically stored in the 'enumerationValues' property * of the parent WidgetValueType element passed as argument. */ static createIn(container: WidgetValueType): WidgetEnumerationValue; /** * Creates and returns a new WidgetEnumerationValue instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): WidgetEnumerationValue; } class WidgetObject extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsCustomWidget(): CustomWidget; get containerAsWidgetValue(): WidgetValue; /** * In version 7.13.0: added optional */ get type(): WidgetObjectType | null; set type(newValue: WidgetObjectType | null); get properties(): internal.IList; /** * In version 8.1.0: deleted * In version 7.23.0: introduced */ get labelTemplate(): pages.ClientTemplate | null; set labelTemplate(newValue: pages.ClientTemplate | null); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new WidgetObject instance in the SDK and on the server. * The new WidgetObject will be automatically stored in the 'object' property * of the parent CustomWidget element passed as argument. */ static createInCustomWidgetUnderObject(container: CustomWidget): WidgetObject; /** * Creates and returns a new WidgetObject instance in the SDK and on the server. * The new WidgetObject will be automatically stored in the 'objects' property * of the parent WidgetValue element passed as argument. */ static createInWidgetValueUnderObjects(container: WidgetValue): WidgetObject; /** * Creates and returns a new WidgetObject instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): WidgetObject; } class WidgetObjectType extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsCustomWidgetType(): CustomWidgetType; get containerAsWidgetValueType(): WidgetValueType; get propertyTypes(): internal.IList; constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new WidgetObjectType instance in the SDK and on the server. * The new WidgetObjectType will be automatically stored in the 'objectType' property * of the parent CustomWidgetType element passed as argument. */ static createInCustomWidgetTypeUnderObjectType(container: CustomWidgetType): WidgetObjectType; /** * Creates and returns a new WidgetObjectType instance in the SDK and on the server. * The new WidgetObjectType will be automatically stored in the 'objectType' property * of the parent WidgetValueType element passed as argument. */ static createInWidgetValueTypeUnderObjectType(container: WidgetValueType): WidgetObjectType; /** * Creates and returns a new WidgetObjectType instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): WidgetObjectType; } class WidgetProperty extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetObject(): WidgetObject; /** * In version 7.13.0: added optional */ get type(): WidgetPropertyType | null; set type(newValue: WidgetPropertyType | null); /** * In version 7.13.0: added optional */ get value(): WidgetValue | null; set value(newValue: WidgetValue | null); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new WidgetProperty instance in the SDK and on the server. * The new WidgetProperty will be automatically stored in the 'properties' property * of the parent WidgetObject element passed as argument. */ static createIn(container: WidgetObject): WidgetProperty; /** * Creates and returns a new WidgetProperty instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): WidgetProperty; } class WidgetPropertyType extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetObjectType(): WidgetObjectType; get key(): string; set key(newValue: string); get category(): string; set category(newValue: string); get caption(): string; set caption(newValue: string); get description(): string; set description(newValue: string); get isDefault(): boolean; set isDefault(newValue: boolean); /** * In version 7.13.0: added optional */ get valueType(): WidgetValueType | null; set valueType(newValue: WidgetValueType | null); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new WidgetPropertyType instance in the SDK and on the server. * The new WidgetPropertyType will be automatically stored in the 'propertyTypes' property * of the parent WidgetObjectType element passed as argument. */ static createIn(container: WidgetObjectType): WidgetPropertyType; /** * Creates and returns a new WidgetPropertyType instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): WidgetPropertyType; } class WidgetReturnType extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetValueType(): WidgetValueType; get type(): WidgetReturnTypeEnum; set type(newValue: WidgetReturnTypeEnum); get isList(): boolean; set isList(newValue: boolean); get entityProperty(): string; set entityProperty(newValue: string); /** * In version 9.20.0: introduced */ get assignableTo(): string; set assignableTo(newValue: string); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new WidgetReturnType instance in the SDK and on the server. * The new WidgetReturnType will be automatically stored in the 'returnType' property * of the parent WidgetValueType element passed as argument. */ static createIn(container: WidgetValueType): WidgetReturnType; /** * Creates and returns a new WidgetReturnType instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): WidgetReturnType; } class WidgetTranslation extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetValueType(): WidgetValueType; get languageCode(): string; set languageCode(newValue: string); get text(): string; set text(newValue: string); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new WidgetTranslation instance in the SDK and on the server. * The new WidgetTranslation will be automatically stored in the 'translations' property * of the parent WidgetValueType element passed as argument. */ static createIn(container: WidgetValueType): WidgetTranslation; /** * Creates and returns a new WidgetTranslation instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): WidgetTranslation; } class WidgetValue extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetProperty(): WidgetProperty; get type(): WidgetValueType; set type(newValue: WidgetValueType); get primitiveValue(): string; set primitiveValue(newValue: string); /** * The value of this property is conceptually of type paths.LegacyEntityPath. * * In version 7.11.0: deleted */ get entityPath(): string; set entityPath(newValue: string); /** * In version 7.11.0: introduced */ get entityRef(): domainmodels.EntityRef | null; set entityRef(newValue: domainmodels.EntityRef | null); /** * The value of this property is conceptually of type paths.LegacyAttributePath. * * In version 7.11.0: deleted */ get attributePath(): string; set attributePath(newValue: string); /** * In version 7.11.0: introduced */ get attributeRef(): domainmodels.AttributeRef | null; set attributeRef(newValue: domainmodels.AttributeRef | null); get page(): pages.IPage | null; set page(newValue: pages.IPage | null); get pageQualifiedName(): string | null; get microflow(): microflows.IMicroflow | null; set microflow(newValue: microflows.IMicroflow | null); get microflowQualifiedName(): string | null; /** * In version 7.13.0: introduced */ get nanoflow(): microflows.INanoflow | null; set nanoflow(newValue: microflows.INanoflow | null); get nanoflowQualifiedName(): string | null; /** * In version 8.0.0: introduced */ get icon(): pages.Icon | null; set icon(newValue: pages.Icon | null); get image(): images.IImage | null; set image(newValue: images.IImage | null); get imageQualifiedName(): string | null; get translatableValue(): texts.Text | null; set translatableValue(newValue: texts.Text | null); /** * In version 7.23.0: introduced */ get textTemplate(): pages.ClientTemplate | null; set textTemplate(newValue: pages.ClientTemplate | null); /** * The value of this property is conceptually of type xPathConstraints.XPathConstraint. */ get xPathConstraint(): string; set xPathConstraint(newValue: string); get objects(): internal.IList; /** * In version 7.19.0: introduced */ get action(): pages.ClientAction; set action(newValue: pages.ClientAction); /** * The value of this property is conceptually of type microflowExpressions.MicroflowExpression. * * In version 8.0.0: introduced */ get expression(): string; set expression(newValue: string); /** * In version 8.2.0: introduced */ get widgets(): internal.IList; /** * In version 8.3.0: introduced */ get dataSource(): pages.DataSource | null; set dataSource(newValue: pages.DataSource | null); /** * In version 8.8.0: introduced */ get sourceVariable(): pages.PageVariable | null; set sourceVariable(newValue: pages.PageVariable | null); /** * In version 9.23.0: introduced */ get selection(): CustomWidgetSelectionType; set selection(newValue: CustomWidgetSelectionType); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new WidgetValue instance in the SDK and on the server. * The new WidgetValue will be automatically stored in the 'value' property * of the parent WidgetProperty element passed as argument. */ static createIn(container: WidgetProperty): WidgetValue; /** * Creates and returns a new WidgetValue instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): WidgetValue; } class WidgetValueType extends internal.Element { static structureTypeName: string; static versionInfo: StructureVersionInfo; get containerAsWidgetPropertyType(): WidgetPropertyType; get type(): WidgetValueTypeEnum; set type(newValue: WidgetValueTypeEnum); get isList(): boolean; set isList(newValue: boolean); /** * In version 10.14.0: introduced */ get isLinked(): boolean; set isLinked(newValue: boolean); /** * In version 10.14.0: introduced */ get isMetaData(): boolean; set isMetaData(newValue: boolean); get entityProperty(): string; set entityProperty(newValue: string); get allowNonPersistableEntities(): boolean; set allowNonPersistableEntities(newValue: boolean); get isPath(): IsPath; set isPath(newValue: IsPath); get pathType(): PathType; set pathType(newValue: PathType); get parameterIsList(): boolean; set parameterIsList(newValue: boolean); get multiline(): boolean; set multiline(newValue: boolean); get defaultValue(): string; set defaultValue(newValue: string); get required(): boolean; set required(newValue: boolean); /** * In version 8.0.0: introduced */ get onChangeProperty(): string; set onChangeProperty(newValue: string); /** * In version 8.4.0: introduced */ get dataSourceProperty(): string; set dataSourceProperty(newValue: string); /** * In version 9.12.0: deleted * In version 9.10.0: introduced */ get universeDataSourceProperty(): string; set universeDataSourceProperty(newValue: string); /** * In version 9.12.0: introduced */ get selectableObjectsProperty(): string; set selectableObjectsProperty(newValue: string); get attributeTypes(): internal.IList; /** * In version 9.12.0: introduced */ get associationTypes(): internal.IList; /** * In version 9.23.0: introduced */ get selectionTypes(): internal.IList; get enumerationValues(): internal.IList; /** * In version 10.21.0: introduced */ get actionVariables(): internal.IList; get objectType(): WidgetObjectType | null; set objectType(newValue: WidgetObjectType | null); get returnType(): WidgetReturnType | null; set returnType(newValue: WidgetReturnType | null); get translations(): internal.IList; /** * In version 10.5.0: introduced */ get setLabel(): boolean; set setLabel(newValue: boolean); /** * In version 10.15.0: introduced */ get defaultType(): DefaultTypeEnum; set defaultType(newValue: DefaultTypeEnum); /** * In version 11.8.0: introduced */ get allowUpload(): boolean; set allowUpload(newValue: boolean); constructor(model: internal.AbstractModel, structureTypeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); /** * Creates and returns a new WidgetValueType instance in the SDK and on the server. * The new WidgetValueType will be automatically stored in the 'valueType' property * of the parent WidgetPropertyType element passed as argument. */ static createIn(container: WidgetPropertyType): WidgetValueType; /** * Creates and returns a new WidgetValueType instance in the SDK and on the server. * Expects one argument: the IModel object the instance will "live on". * After creation, assign or add this instance to a property that accepts this kind of objects. */ static create(model: IModel): WidgetValueType; } } import { client } from "./client"; import { domainmodels } from "./domainmodels"; import { images } from "./images"; import { microflows } from "./microflows"; import { nativepages } from "./nativepages"; import { reports } from "./reports"; import { texts } from "./texts"; import { IModel } from "./base-model";