UNPKG

@mendix/pluggable-widgets-tools

Version:
5 lines (4 loc) 27.5 kB
export declare const contentGroup = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<widget id=\"mendix.mywidget.MyWidget\" needsEntityContext=\"true\" offlineCapable=\"true\" pluginWidget=\"true\" supportedPlatform=\"Web\"\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 <propertyGroup caption=\"Values\">\n <property key=\"valueAttribute\" type=\"attribute\" required=\"false\">\n <caption>Value attribute</caption>\n <description>The attribute that contains the mywidget value</description>\n <attributeTypes>\n <attributeType name=\"String\"/>\n <attributeType name=\"Enum\"/>\n <attributeType name=\"Integer\"/>\n <attributeType name=\"Decimal\"/>\n <attributeType name=\"Long\"/>\n </attributeTypes>\n </property>\n <property key=\"mywidgetValue\" type=\"string\" required=\"false\">\n <caption>Default value</caption>\n <description>The mywidget value shown when no value is provided via the attribute</description>\n </property>\n <property key=\"valueExpression\" type=\"expression\" required=\"false\">\n <caption>Expression value</caption>\n <description/>\n <returnType type=\"String\"/>\n </property>\n <property key=\"valueExpressionDecimal\" type=\"expression\" required=\"false\">\n <caption>Expression decimal value</caption>\n <description/>\n <returnType type=\"Decimal\"/>\n </property>\n <property key=\"file\" type=\"file\">\n <caption>File</caption>\n <description />\n </property>\n </propertyGroup>\n <propertyGroup caption=\"Appearance\">\n <property key=\"bootstrapStyle\" type=\"enumeration\" defaultValue=\"default\">\n <caption>MyWidget style</caption>\n <description>The appearance of the mywidget</description>\n <enumerationValues>\n <enumerationValue key=\"default\">Default</enumerationValue>\n <enumerationValue key=\"primary\">Primary</enumerationValue>\n <enumerationValue key=\"success\">Success</enumerationValue>\n <enumerationValue key=\"info\">Info</enumerationValue>\n <enumerationValue key=\"inverse\">Inverse</enumerationValue>\n <enumerationValue key=\"warning\">Warning</enumerationValue>\n <enumerationValue key=\"danger\">Danger</enumerationValue>\n </enumerationValues>\n </property>\n <property key=\"mywidgetType\" type=\"enumeration\" required=\"true\" defaultValue=\"badge\">\n <caption>Type</caption>\n <description>Render it as either a badge or a color label</description>\n <enumerationValues>\n <enumerationValue key=\"badge\">Badge</enumerationValue>\n <enumerationValue key=\"label\">Label</enumerationValue>\n </enumerationValues>\n </property>\n <property key=\"tries\" type=\"integer\" required=\"false\">\n <caption>Number of tries</caption>\n <description />\n </property>\n <property key=\"amount\" type=\"decimal\" required=\"false\">\n <caption>The amount of stuff</caption>\n <description />\n </property>\n <property key=\"image\" type=\"image\" required=\"false\">\n <caption>Image</caption>\n <description />\n </property>\n </propertyGroup>\n <propertyGroup caption=\"Common\">\n <systemProperty key=\"Name\"/>\n </propertyGroup>\n </propertyGroup>\n <propertyGroup caption=\"Events\">\n <property key=\"onClickAction\" type=\"action\" required=\"false\">\n <caption>On click action</caption>\n <description>Action to trigger when button / label is clicked</description>\n </property>\n <property key=\"onChange\" type=\"action\" required=\"false\">\n <caption>On change action</caption>\n <description>Action to trigger when button / label is clicked</description>\n </property>\n <property key=\"actions\" type=\"object\" isList=\"true\">\n <caption>Actions</caption>\n <description />\n <properties>\n <propertyGroup caption=\"General\">\n <property key=\"name\" type=\"string\">\n <caption>Action name</caption>\n <description />\n </property>\n <property key=\"enabled\" type=\"boolean\">\n <caption>Is action enabled?</caption>\n <description />\n </property>\n </propertyGroup>\n <propertyGroup caption=\"Events\">\n <property key=\"action\" type=\"action\">\n <caption>Action</caption>\n <description />\n </property>\n </propertyGroup>\n <propertyGroup caption=\"Image\">\n <property key=\"image\" type=\"image\">\n <caption>Image</caption>\n <description />\n </property>\n </propertyGroup>\n </properties>\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 content = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<widget id=\"mendix.mywidget.MyWidget\" needsEntityContext=\"true\" offlineCapable=\"true\" pluginWidget=\"true\" supportedPlatform=\"Web\"\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 <name>MyWidget</name>\n <description>My widget description</description>\n <icon>iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABp1BMVEUAAABV//9mzP9LtP9Ms/9Jtv9NsvdJsfpLtPpJsfdJsfhJsvhJsvdKsvdJsPhKsPhJsfdJsPhJsfdIsfhJsfdIsPdJsfhJsfhJsPhJsPhIsfhIsPdJsPdKsPdKsfdNsvdOsvdPs/dQs/dRtPdStPdTtPdUtfdWtvdXtvdauPdcuPdeufdeufhguvhiu/hju/hkvPhmvfhnvfhpvvhrv/huwPhvwfhxwfhywvhzwvh4xfl5xfl6xfl8xvl9xvl9x/mByPmCyfmFyvmGyvmJzPmKzPmLzfmNzvqPzvqQz/qT0PqU0PqU0fqX0vqY0vqa0/qe1fqg1vqj1/uk1/un2fup2vut2/uv3Puw3Puw3fuz3vu13/u23/u34Pu44Pu64fu64fy84vy94vy+4/y/4/zD5fzE5fzG5vzH5vzI5/zK6PzL6PzR6/zT7P3U7P3V7f3W7f3Y7v3Z7v3c8P3e8f3f8f3g8f3i8v3l8/3l9P3n9P3r9v7t9/7u9/7v+P7w+P7x+f7y+f70+v71+v74/P75/P76/f77/f78/f78/v79/v7+/v7////6dMsRAAAAG3RSTlMAAwURGxwhMTNic3SEh4iVp7XBzejt7vH5/f6PsMNWAAABsklEQVR4AWIYfGAUjIJRMAqYuYREJKWJAqLCPGwY+jnFpEkBEryMqPr5pEkFgkwo9kuTDviR/S9GhgFSHAgDuKXJAQIIA4TIMkAcEY4i0mQBVrgBkuQZwA43QJo8wIFhQEhEOIBQOutHJozDOP5Crp4e1RhkJ0tKGJFd6oNEdtmJyEIzpaZl5nrRZgaHM/2Pf5/vwXXfyagXgG93bwSAlEolowLMm9w83gibhXH2gKKVdD67gTnWjwCk+VVjMQS4suSnnjMLRVFc9sAHvAX2A9fySaXNBMbEZVUWscaHIMRuqwBgD8hDEbnsRmfjUKJkAQZGCTlO/xWBwIADQLIZBlY441MvfoF1xlFS/4fy+bzXKh4dgNJE7L3eh3tmtuWa+AMcMIY3dgUvZQpGEYmMw2kD7HC+R29UqyoXLaBd0QZxzgXgikLLDSqJTKU5HOcS0MsbA9jPqtwCRvXm2eorBbNIJBw3KJ9O4Yl+AAXdnyaLt7PWN3jRWLvzmAVp94zO5+n41/onfo/UpExxZqI0O7NQr0DhIq9Io7hQpbRYp7hiobRqo6ByFcNWuY6CUTAKRgEAo8X0lBD3V30AAAAASUVORK5CYII=</icon>\n <properties>\n <property key=\"valueAttribute\" type=\"attribute\" required=\"false\">\n <caption>Value attribute</caption>\n <category>General</category>\n <description>The attribute that contains the mywidget value</description>\n <attributeTypes>\n <attributeType name=\"String\"/>\n <attributeType name=\"Enum\"/>\n <attributeType name=\"Integer\"/>\n <attributeType name=\"Decimal\"/>\n <attributeType name=\"Long\"/>\n </attributeTypes>\n </property>\n <property key=\"mywidgetValue\" type=\"string\" required=\"false\">\n <caption>Default value</caption>\n <category>General</category>\n <description>The mywidget value shown when no value is provided via the attribute</description>\n </property>\n <property key=\"valueExpression\" type=\"expression\" required=\"false\">\n <caption>Expression value</caption>\n <category>General</category>\n <description/>\n <returnType type=\"String\"/>\n </property>\n <property key=\"valueExpressionDecimal\" type=\"expression\" required=\"false\">\n <caption>Expression decimal value</caption>\n <category>General</category>\n <description/>\n <returnType type=\"Decimal\"/>\n </property>\n <property key=\"file\" type=\"file\">\n <caption>File</caption>\n <category>General</category>\n <description />\n </property>\n <property key=\"bootstrapStyle\" type=\"enumeration\" defaultValue=\"default\">\n <caption>MyWidget style</caption>\n <category>Display</category>\n <description>The appearance of the mywidget</description>\n <enumerationValues>\n <enumerationValue key=\"default\">Default</enumerationValue>\n <enumerationValue key=\"primary\">Primary</enumerationValue>\n <enumerationValue key=\"success\">Success</enumerationValue>\n <enumerationValue key=\"info\">Info</enumerationValue>\n <enumerationValue key=\"inverse\">Inverse</enumerationValue>\n <enumerationValue key=\"warning\">Warning</enumerationValue>\n <enumerationValue key=\"danger\">Danger</enumerationValue>\n </enumerationValues>\n </property>\n <property key=\"mywidgetType\" type=\"enumeration\" required=\"true\" defaultValue=\"badge\">\n <caption>Type</caption>\n <category>Display</category>\n <description>Render it as either a badge or a color label</description>\n <enumerationValues>\n <enumerationValue key=\"badge\">Badge</enumerationValue>\n <enumerationValue key=\"label\">Label</enumerationValue>\n </enumerationValues>\n </property>\n <property key=\"tries\" type=\"integer\" required=\"false\">\n <caption>Number of tries</caption>\n <category>Display</category>\n <description />\n </property>\n <property key=\"amount\" type=\"decimal\" required=\"false\">\n <caption>The amount of stuff</caption>\n <category>Display</category>\n <description />\n </property>\n <property key=\"image\" type=\"image\" required=\"false\">\n <caption>Image</caption>\n <category>Display</category>\n <description />\n </property>\n <property key=\"onClickAction\" type=\"action\" required=\"false\">\n <caption>On click action</caption>\n <category>Events</category>\n <description>Action to trigger when button / label is clicked</description>\n </property>\n <property key=\"onChange\" type=\"action\" required=\"false\">\n <caption>On change action</caption>\n <category>Events</category>\n <description>Action to trigger when button / label is clicked</description>\n </property>\n <property key=\"actions\" type=\"object\" isList=\"true\">\n <caption>Actions</caption>\n <category>Events</category>\n <description />\n <properties>\n <property key=\"name\" type=\"string\">\n <caption>Action name</caption>\n <category>General</category>\n <description />\n </property>\n <property key=\"enabled\" type=\"boolean\">\n <caption>Is action enabled?</caption>\n <category>General</category>\n <description />\n </property>\n <property key=\"action\" type=\"action\">\n <caption>Action</caption>\n <category>Events</category>\n <description />\n </property>\n <property key=\"image\" type=\"image\">\n <caption>Image</caption>\n <category>Events</category>\n <description />\n </property>\n </properties>\n </property>\n </properties>\n</widget>"; export declare const contentGroupNative = "<?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 <propertyGroup caption=\"Values\">\n <property key=\"valueAttribute\" type=\"attribute\" required=\"false\">\n <caption>Value attribute</caption>\n <description>The attribute that contains the mywidget value</description>\n <attributeTypes>\n <attributeType name=\"String\"/>\n <attributeType name=\"Enum\"/>\n <attributeType name=\"Integer\"/>\n <attributeType name=\"Decimal\"/>\n <attributeType name=\"Long\"/>\n </attributeTypes>\n </property>\n <property key=\"mywidgetValue\" type=\"string\" required=\"false\">\n <caption>Default value</caption>\n <description>The mywidget value shown when no value is provided via the attribute</description>\n </property>\n <property key=\"valueExpression\" type=\"expression\" required=\"false\">\n <caption>Expression value</caption>\n <description/>\n <returnType type=\"String\"/>\n </property>\n <property key=\"valueExpressionDecimal\" type=\"expression\" required=\"false\">\n <caption>Expression decimal value</caption>\n <description/>\n <returnType type=\"Decimal\"/>\n </property>\n <property key=\"file\" type=\"file\">\n <caption>File</caption>\n <description />\n </property>\n </propertyGroup>\n <propertyGroup caption=\"Appearance\">\n <property key=\"bootstrapStyle\" type=\"enumeration\" defaultValue=\"default\">\n <caption>MyWidget style</caption>\n <description>The appearance of the mywidget</description>\n <enumerationValues>\n <enumerationValue key=\"default\">Default</enumerationValue>\n <enumerationValue key=\"primary\">Primary</enumerationValue>\n <enumerationValue key=\"success\">Success</enumerationValue>\n <enumerationValue key=\"info\">Info</enumerationValue>\n <enumerationValue key=\"inverse\">Inverse</enumerationValue>\n <enumerationValue key=\"warning\">Warning</enumerationValue>\n <enumerationValue key=\"danger\">Danger</enumerationValue>\n </enumerationValues>\n </property>\n <property key=\"mywidgetType\" type=\"enumeration\" required=\"true\" defaultValue=\"badge\">\n <caption>Type</caption>\n <description>Render it as either a badge or a color label</description>\n <enumerationValues>\n <enumerationValue key=\"badge\">Badge</enumerationValue>\n <enumerationValue key=\"label\">Label</enumerationValue>\n </enumerationValues>\n </property>\n <property key=\"tries\" type=\"integer\" required=\"false\">\n <caption>Number of tries</caption>\n <description />\n </property>\n <property key=\"amount\" type=\"decimal\" required=\"false\">\n <caption>The amount of stuff</caption>\n <description />\n </property>\n <property key=\"image\" type=\"image\" required=\"false\">\n <caption>Image</caption>\n <description />\n </property>\n </propertyGroup>\n <propertyGroup caption=\"Common\">\n <systemProperty key=\"Name\"/>\n </propertyGroup>\n </propertyGroup>\n <propertyGroup caption=\"Events\">\n <property key=\"onClickAction\" type=\"action\" required=\"false\">\n <caption>On click action</caption>\n <description>Action to trigger when button / label is clicked</description>\n </property>\n <property key=\"onChange\" type=\"action\" required=\"false\">\n <caption>On change action</caption>\n <description>Action to trigger when button / label is clicked</description>\n </property>\n <property key=\"actions\" type=\"object\" isList=\"true\">\n <caption>Actions</caption>\n <description />\n <properties>\n <propertyGroup caption=\"General\">\n <property key=\"name\" type=\"string\">\n <caption>Action name</caption>\n <description />\n </property>\n <property key=\"enabled\" type=\"boolean\">\n <caption>Is action enabled?</caption>\n <description />\n </property>\n </propertyGroup>\n <propertyGroup caption=\"Events\">\n <property key=\"action\" type=\"action\">\n <caption>Action</caption>\n <description />\n </property>\n </propertyGroup>\n <propertyGroup caption=\"Image\">\n <property key=\"image\" type=\"image\">\n <caption>Image</caption>\n <description />\n </property>\n </propertyGroup>\n </properties>\n </property>\n </propertyGroup>\n <propertyGroup caption=\"System Properties\">\n <systemProperty key=\"TabIndex\"></systemProperty>\n </propertyGroup>\n </properties>\n</widget>"; export declare const contentNative = "<?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 <name>MyWidget</name>\n <description>My widget description</description>\n <icon>iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABp1BMVEUAAABV//9mzP9LtP9Ms/9Jtv9NsvdJsfpLtPpJsfdJsfhJsvhJsvdKsvdJsPhKsPhJsfdJsPhJsfdIsfhJsfdIsPdJsfhJsfhJsPhJsPhIsfhIsPdJsPdKsPdKsfdNsvdOsvdPs/dQs/dRtPdStPdTtPdUtfdWtvdXtvdauPdcuPdeufdeufhguvhiu/hju/hkvPhmvfhnvfhpvvhrv/huwPhvwfhxwfhywvhzwvh4xfl5xfl6xfl8xvl9xvl9x/mByPmCyfmFyvmGyvmJzPmKzPmLzfmNzvqPzvqQz/qT0PqU0PqU0fqX0vqY0vqa0/qe1fqg1vqj1/uk1/un2fup2vut2/uv3Puw3Puw3fuz3vu13/u23/u34Pu44Pu64fu64fy84vy94vy+4/y/4/zD5fzE5fzG5vzH5vzI5/zK6PzL6PzR6/zT7P3U7P3V7f3W7f3Y7v3Z7v3c8P3e8f3f8f3g8f3i8v3l8/3l9P3n9P3r9v7t9/7u9/7v+P7w+P7x+f7y+f70+v71+v74/P75/P76/f77/f78/f78/v79/v7+/v7////6dMsRAAAAG3RSTlMAAwURGxwhMTNic3SEh4iVp7XBzejt7vH5/f6PsMNWAAABsklEQVR4AWIYfGAUjIJRMAqYuYREJKWJAqLCPGwY+jnFpEkBEryMqPr5pEkFgkwo9kuTDviR/S9GhgFSHAgDuKXJAQIIA4TIMkAcEY4i0mQBVrgBkuQZwA43QJo8wIFhQEhEOIBQOutHJozDOP5Crp4e1RhkJ0tKGJFd6oNEdtmJyEIzpaZl5nrRZgaHM/2Pf5/vwXXfyagXgG93bwSAlEolowLMm9w83gibhXH2gKKVdD67gTnWjwCk+VVjMQS4suSnnjMLRVFc9sAHvAX2A9fySaXNBMbEZVUWscaHIMRuqwBgD8hDEbnsRmfjUKJkAQZGCTlO/xWBwIADQLIZBlY441MvfoF1xlFS/4fy+bzXKh4dgNJE7L3eh3tmtuWa+AMcMIY3dgUvZQpGEYmMw2kD7HC+R29UqyoXLaBd0QZxzgXgikLLDSqJTKU5HOcS0MsbA9jPqtwCRvXm2eorBbNIJBw3KJ9O4Yl+AAXdnyaLt7PWN3jRWLvzmAVp94zO5+n41/onfo/UpExxZqI0O7NQr0DhIq9Io7hQpbRYp7hiobRqo6ByFcNWuY6CUTAKRgEAo8X0lBD3V30AAAAASUVORK5CYII=</icon>\n <properties>\n <property key=\"valueAttribute\" type=\"attribute\" required=\"false\">\n <caption>Value attribute</caption>\n <category>General</category>\n <description>The attribute that contains the mywidget value</description>\n <attributeTypes>\n <attributeType name=\"String\"/>\n <attributeType name=\"Enum\"/>\n <attributeType name=\"Integer\"/>\n <attributeType name=\"Decimal\"/>\n <attributeType name=\"Long\"/>\n </attributeTypes>\n </property>\n <property key=\"mywidgetValue\" type=\"string\" required=\"false\">\n <caption>Default value</caption>\n <category>General</category>\n <description>The mywidget value shown when no value is provided via the attribute</description>\n </property>\n <property key=\"valueExpression\" type=\"expression\" required=\"false\">\n <caption>Expression value</caption>\n <category>General</category>\n <description/>\n <returnType type=\"String\"/>\n </property>\n <property key=\"valueExpressionDecimal\" type=\"expression\" required=\"false\">\n <caption>Expression decimal value</caption>\n <category>General</category>\n <description/>\n <returnType type=\"Decimal\"/>\n </property>\n <property key=\"file\" type=\"file\">\n <caption>File</caption>\n <category>General</category>\n <description />\n </property>\n <property key=\"bootstrapStyle\" type=\"enumeration\" defaultValue=\"default\">\n <caption>MyWidget style</caption>\n <category>Display</category>\n <description>The appearance of the mywidget</description>\n <enumerationValues>\n <enumerationValue key=\"default\">Default</enumerationValue>\n <enumerationValue key=\"primary\">Primary</enumerationValue>\n <enumerationValue key=\"success\">Success</enumerationValue>\n <enumerationValue key=\"info\">Info</enumerationValue>\n <enumerationValue key=\"inverse\">Inverse</enumerationValue>\n <enumerationValue key=\"warning\">Warning</enumerationValue>\n <enumerationValue key=\"danger\">Danger</enumerationValue>\n </enumerationValues>\n </property>\n <property key=\"mywidgetType\" type=\"enumeration\" required=\"true\" defaultValue=\"badge\">\n <caption>Type</caption>\n <category>Display</category>\n <description>Render it as either a badge or a color label</description>\n <enumerationValues>\n <enumerationValue key=\"badge\">Badge</enumerationValue>\n <enumerationValue key=\"label\">Label</enumerationValue>\n </enumerationValues>\n </property>\n <property key=\"tries\" type=\"integer\" required=\"false\">\n <caption>Number of tries</caption>\n <category>Display</category>\n <description />\n </property>\n <property key=\"amount\" type=\"decimal\" required=\"false\">\n <caption>The amount of stuff</caption>\n <category>Display</category>\n <description />\n </property>\n <property key=\"image\" type=\"image\" required=\"false\">\n <caption>Image</caption>\n <category>Display</category>\n <description />\n </property>\n <property key=\"onClickAction\" type=\"action\" required=\"false\">\n <caption>On click action</caption>\n <category>Events</category>\n <description>Action to trigger when button / label is clicked</description>\n </property>\n <property key=\"onChange\" type=\"action\" required=\"false\">\n <caption>On change action</caption>\n <category>Events</category>\n <description>Action to trigger when button / label is clicked</description>\n </property>\n <property key=\"actions\" type=\"object\" isList=\"true\">\n <caption>Actions</caption>\n <category>Events</category>\n <description />\n <properties>\n <property key=\"name\" type=\"string\">\n <caption>Action name</caption>\n <category>General</category>\n <description />\n </property>\n <property key=\"enabled\" type=\"boolean\">\n <caption>Is action enabled?</caption>\n <category>General</category>\n <description />\n </property>\n <property key=\"action\" type=\"action\">\n <caption>Action</caption>\n <category>Events</category>\n <description />\n </property>\n <property key=\"image\" type=\"image\">\n <caption>Image</caption>\n <category>Events</category>\n <description />\n </property>\n </properties>\n </property>\n </properties>\n</widget>";