Skip to content

Commit

Permalink
Upgrade to Mx9
Browse files Browse the repository at this point in the history
Upgrade dependencies.
-react-d3-cloud.
  • Loading branch information
TomaszMacisowicz committed Nov 3, 2021
1 parent 236c7d4 commit b5fd13c
Show file tree
Hide file tree
Showing 12 changed files with 87,459 additions and 16,447 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Binary file added dist/1.0.0/objectivity.WordCloud.mpk
Binary file not shown.
Binary file added dist/1.0.1/objectivity.WordCloud.mpk
Binary file not shown.
46 changes: 46 additions & 0 deletions dist/tmp/widgets/WordCloud.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<widget id="objectivity.wordcloud.WordCloud" pluginWidget="true" needsEntityContext="true" offlineCapable="true"
supportedPlatform="Web"
xmlns="http://www.mendix.com/widget/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mendix.com/widget/1.0/ ../node_modules/mendix/custom_widget.xsd">
<name>Word Cloud</name>
<description>Show word cloud based on react-d3-cloud</description>
<icon/>
<properties>
<propertyGroup caption="General">
<property key="dataSource" type="datasource" isList="true" required="false">
<caption>Data source</caption>
<description>The list of objects to be used for rendering in the WordCloud, should contain a text attribute and a numeric attribute.</description>
</property>
<property key="textAttrib" type="attribute" required="false" dataSource="dataSource">
<caption>Text attribute</caption>
<description>Text attribute</description>
<attributeTypes>
<attributeType name="String"/>
</attributeTypes>
</property>
<property key="intAttrib" type="attribute" required="false" dataSource="dataSource">
<caption>Int attribute</caption>
<description>Int attribute</description>
<attributeTypes>
<attributeType name="Integer"/>
</attributeTypes>
</property>
</propertyGroup>
<propertyGroup caption="Action">
<property key="onClickAction" type="action" required="false">
<caption>On click</caption>
<description>This action will be called once user clicks on the word.</description>
</property>
</propertyGroup>
<propertyGroup caption="Control">
<property key="chosenWord" type="attribute">
<caption>Chosen word</caption>
<description>This attribute stores the clicked word</description>
<attributeTypes>
<attributeType name="String"/>
</attributeTypes>
</property>
</propertyGroup>
</properties>
</widget>
Loading

0 comments on commit b5fd13c

Please sign in to comment.