@mendix/pluggable-widgets-tools
Version:
Mendix Pluggable Widgets Tools
3 lines (2 loc) • 6.92 kB
TypeScript
export declare const singleObjectDatasourceInput = "<?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=\"singleSource\" type=\"datasource\" isList=\"false\">\n <caption>Single object data source</caption>\n <description />\n </property>\n <property key=\"optionalSingleSource\" type=\"datasource\" isList=\"false\" required=\"false\">\n <caption>Optional single object data source</caption>\n <description />\n </property>\n <property key=\"listSource\" type=\"datasource\" isList=\"true\">\n <caption>List data source</caption>\n <description />\n </property>\n <property key=\"singleContent\" type=\"widgets\" dataSource=\"singleSource\">\n <caption>Single Content</caption>\n <description />\n </property>\n <property key=\"singleAttribute\" type=\"attribute\" dataSource=\"singleSource\">\n <caption>Single 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=\"singleAction\" type=\"action\" dataSource=\"singleSource\">\n <caption>Single Action</caption>\n <description />\n </property>\n <property key=\"singleTextTemplate\" type=\"textTemplate\" dataSource=\"singleSource\">\n <caption>Single Text Template</caption>\n <description />\n </property>\n <property key=\"singleExpression\" type=\"expression\" dataSource=\"singleSource\">\n <caption>Single Expression</caption>\n <description />\n <returnType type=\"Decimal\"/>\n </property>\n <property key=\"optionalSingleAttribute\" type=\"attribute\" dataSource=\"optionalSingleSource\">\n <caption>Optional Single Attribute</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n </attributeTypes>\n </property>\n <property key=\"optionalSingleAction\" type=\"action\" dataSource=\"optionalSingleSource\">\n <caption>Optional Single Action</caption>\n <description />\n </property>\n <property key=\"listContent\" type=\"widgets\" dataSource=\"listSource\">\n <caption>List Content</caption>\n <description />\n </property>\n <property key=\"listAttribute\" type=\"attribute\" dataSource=\"listSource\">\n <caption>List Attribute</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n </attributeTypes>\n </property>\n <property key=\"listAction\" type=\"action\" dataSource=\"listSource\">\n <caption>List 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 singleObjectDatasourceInputNative = "<?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=\"singleSource\" type=\"datasource\" isList=\"false\">\n <caption>Single object data source</caption>\n <description />\n </property>\n <property key=\"listSource\" type=\"datasource\" isList=\"true\">\n <caption>List data source</caption>\n <description />\n </property>\n <property key=\"singleContent\" type=\"widgets\" dataSource=\"singleSource\">\n <caption>Single Content</caption>\n <description />\n </property>\n <property key=\"singleAttribute\" type=\"attribute\" dataSource=\"singleSource\">\n <caption>Single 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=\"singleAction\" type=\"action\" dataSource=\"singleSource\">\n <caption>Single Action</caption>\n <description />\n </property>\n <property key=\"singleTextTemplate\" type=\"textTemplate\" dataSource=\"singleSource\">\n <caption>Single Text Template</caption>\n <description />\n </property>\n <property key=\"singleExpression\" type=\"expression\" dataSource=\"singleSource\">\n <caption>Single Expression</caption>\n <description />\n <returnType type=\"Decimal\"/>\n </property>\n <property key=\"listContent\" type=\"widgets\" dataSource=\"listSource\">\n <caption>List Content</caption>\n <description />\n </property>\n <property key=\"listAttribute\" type=\"attribute\" dataSource=\"listSource\">\n <caption>List Attribute</caption>\n <description />\n <attributeTypes>\n <attributeType name=\"String\"/>\n </attributeTypes>\n </property>\n <property key=\"listAction\" type=\"action\" dataSource=\"listSource\">\n <caption>List Action</caption>\n <description />\n </property>\n </propertyGroup>\n </properties>\n</widget>";