@mendix/pluggable-widgets-tools
Version:
Mendix Pluggable Widgets Tools
3 lines (2 loc) • 11.7 kB
TypeScript
export declare const datasourceInput = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<widget id=\"mendix.mywidget.MyWidget\" needsEntityContext=\"true\" offlineCapable=\"true\" pluginWidget=\"true\"\n xmlns=\"http://www.mendix.com/widget/1.0/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:schemaLocation=\"http://www.mendix.com/widget/1.0/ ../xsd/widget.xsd\">\n <properties>\n <propertyGroup caption=\"General\">\n <property key=\"contentSource\" type=\"datasource\" isList=\"true\">\n <caption>Content data source</caption>\n <description />\n </property>\n <property key=\"optionalSource\" type=\"datasource\" isList=\"true\" required=\"false\">\n <caption>Optional data source</caption>\n <description />\n </property>\n <property key=\"linkedSource\" type=\"datasource\" isLinked=\"true\">\n <caption>Linked data source</caption>\n <description />\n </property>\n <property key=\"content\" type=\"widgets\" dataSource=\"contentSource\">\n <caption>Content</caption>\n <description />\n </property>\n <property key=\"markerDataAttribute\" type=\"attribute\" dataSource=\"contentSource\">\n <caption>Marker attribute</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n <attributeType name=\"Boolean\"/>\n <attributeType name=\"Decimal\"/>\n </attributeTypes>\n </property>\n <property key=\"actionAttribute\" type=\"action\" dataSource=\"contentSource\">\n <caption>Action</caption>\n <description />\n </property>\n <property key=\"textTemplateAttribute\" type=\"textTemplate\" dataSource=\"contentSource\">\n <caption>Text Template</caption>\n <description />\n </property>\n <property key=\"expressionAttribute\" type=\"expression\" dataSource=\"contentSource\">\n <caption>Expression</caption>\n <description />\n <returnType type=\"Decimal\"/>\n </property>\n <property key=\"optionalDSAttribute\" type=\"attribute\" dataSource=\"optionalSource\">\n <caption>Marker attribute</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n <attributeType name=\"Boolean\"/>\n <attributeType name=\"Decimal\"/>\n </attributeTypes>\n </property>\n <property key=\"optionalDSAction\" type=\"action\" dataSource=\"optionalSource\">\n <caption>Action</caption>\n <description />\n </property>\n <property key=\"optionalDSTextTemplate\" type=\"textTemplate\" dataSource=\"optionalSource\">\n <caption>Text Template</caption>\n <description />\n </property>\n <property key=\"optionalDSExpression\" type=\"expression\" dataSource=\"optionalSource\">\n <caption>Expression</caption>\n <description />\n <returnType type=\"Decimal\"/>\n </property>\n <property key=\"optionalContent\" type=\"widgets\" dataSource=\"optionalSource\">\n <caption>Content</caption>\n <description />\n </property>\n <property key=\"datasourceProperties\" type=\"object\" isList=\"true\">\n <caption>Data source properties</caption>\n <description />\n <properties>\n <propertyGroup caption=\"Properties\">\n <property key=\"contentAttribute\" type=\"widgets\" dataSource=\"../contentSource\">\n <caption>Content</caption>\n <description />\n </property>\n <property key=\"markerAttribute\" type=\"attribute\" dataSource=\"../contentSource\">\n <caption>Marker attribute</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n <attributeType name=\"Boolean\"/>\n <attributeType name=\"Decimal\"/>\n </attributeTypes>\n </property>\n <property key=\"actionAttribute\" type=\"action\" dataSource=\"../contentSource\">\n <caption>Action</caption>\n <description />\n </property>\n <property key=\"optionalDSAttribute\" type=\"attribute\" dataSource=\"../optionalSource\">\n <caption>Marker attribute</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n <attributeType name=\"Boolean\"/>\n <attributeType name=\"Decimal\"/>\n </attributeTypes>\n </property>\n <property key=\"optionalDSAction\" type=\"action\" dataSource=\"../optionalSource\">\n <caption>Action</caption>\n <description />\n </property>\n <property key=\"optionalDSTextTemplate\" type=\"textTemplate\" dataSource=\"../optionalSource\">\n <caption>Text Template</caption>\n <description />\n </property>\n <property key=\"optionalDSExpression\" type=\"expression\" dataSource=\"../optionalSource\">\n <caption>Expression</caption>\n <description />\n <returnType type=\"Decimal\"/>\n </property>\n <property key=\"optionalContent\" type=\"widgets\" dataSource=\"../optionalSource\">\n <caption>Content</caption>\n <description />\n </property>\n </propertyGroup>\n </properties>\n </property>\n </propertyGroup>\n <propertyGroup caption=\"Actions\">\n <property key=\"description\" type=\"attribute\">\n <caption>Action</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n </attributeTypes> \n </property>\n <property key=\"action\" type=\"action\">\n <caption>Action</caption>\n <description />\n </property>\n </propertyGroup>\n <propertyGroup caption=\"System Properties\">\n <systemProperty key=\"Label\"></systemProperty>\n <systemProperty key=\"TabIndex\"></systemProperty>\n </propertyGroup>\n </properties>\n</widget>";
export declare const datasourceInputNative = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<widget id=\"mendix.mywidget.MyWidget\" needsEntityContext=\"true\" offlineCapable=\"true\" pluginWidget=\"true\" supportedPlatform=\"Native\"\n xmlns=\"http://www.mendix.com/widget/1.0/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:schemaLocation=\"http://www.mendix.com/widget/1.0/ ../xsd/widget.xsd\">\n <properties>\n <propertyGroup caption=\"General\">\n <property key=\"contentSource\" type=\"datasource\" isList=\"true\">\n <caption>Content data source</caption>\n <description />\n </property>\n <property key=\"content\" type=\"widgets\" dataSource=\"contentSource\">\n <caption>Content</caption>\n <description />\n </property>\n <property key=\"markerDataAttribute\" type=\"attribute\" dataSource=\"contentSource\">\n <caption>Marker attribute</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n <attributeType name=\"Boolean\"/>\n <attributeType name=\"Decimal\"/>\n </attributeTypes>\n </property>\n <property key=\"actionAttribute\" type=\"action\" dataSource=\"contentSource\">\n <caption>Action</caption>\n <description />\n </property>\n <property key=\"textTemplateAttribute\" type=\"textTemplate\" dataSource=\"contentSource\">\n <caption>Text Template</caption>\n <description />\n </property>\n <property key=\"expressionAttribute\" type=\"expression\" dataSource=\"contentSource\">\n <caption>Expression</caption>\n <description />\n <returnType type=\"Decimal\"/>\n </property>\n <property key=\"datasourceProperties\" type=\"object\" isList=\"true\">\n <caption>Data source properties</caption>\n <description />\n <properties>\n <propertyGroup caption=\"Properties\">\n <property key=\"contentAttribute\" type=\"widgets\" dataSource=\"../contentSource\">\n <caption>Content</caption>\n <description />\n </property>\n <property key=\"markerAttribute\" type=\"attribute\" dataSource=\"../contentSource\">\n <caption>Marker attribute</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n <attributeType name=\"Boolean\"/>\n <attributeType name=\"Decimal\"/>\n </attributeTypes>\n </property>\n <property key=\"actionAttribute\" type=\"action\" dataSource=\"../contentSource\">\n <caption>Action</caption>\n <description />\n </property>\n </propertyGroup>\n </properties>\n </property>\n </propertyGroup>\n <propertyGroup caption=\"Actions\">\n <property key=\"description\" type=\"attribute\">\n <caption>Action</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n </attributeTypes> \n </property>\n <property key=\"action\" type=\"action\">\n <caption>Action</caption>\n <description />\n </property>\n </propertyGroup>\n <propertyGroup caption=\"System Properties\">\n <systemProperty key=\"Label\"></systemProperty>\n <systemProperty key=\"TabIndex\"></systemProperty>\n </propertyGroup>\n </properties>\n</widget>";