Skip to content

Commit 78f7c66

Browse files
rahmanunversamuelreichert
authored andcommitted
feat(calendar-web): update pwt, xml changes
1 parent 9c7dcc1 commit 78f7c66

File tree

4 files changed

+51
-51
lines changed

4 files changed

+51
-51
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"react": "^18.0.0",
4343
"react-dom": "^18.0.0",
4444
"prettier": "3.5.3",
45+
"@prettier/plugin-xml": "^3.4.1",
4546
"@types/node": "~22.14.0",
4647
"@types/react": ">=18.2.36",
4748
"@types/big.js": "^6.2.2",
@@ -68,4 +69,4 @@
6869
"canvas"
6970
]
7071
}
71-
}
72+
}

packages/pluggableWidgets/calendar-web/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,11 @@
6262
"@mendix/widget-plugin-test-utils": "workspace:*",
6363
"@types/react-big-calendar": "^1.16.1",
6464
"cross-env": "^7.0.3"
65+
},
66+
"pnpm": {
67+
"overrides": {
68+
"@prettier/plugin-xml": "^3.4.1",
69+
"prettier": "3.5.3"
70+
}
6571
}
6672
}

packages/pluggableWidgets/calendar-web/src/Calendar.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,22 +122,22 @@
122122
</property>
123123
<property key="onCreateEvent" type="action" required="false">
124124
<caption>On create action</caption>
125+
<description>The create event is triggered when a time slot is selected, and the 'Enable create' property is set to 'true'</description>
125126
<actionVariables>
126127
<actionVariable key="startDate" type="DateTime" caption="New event start date" />
127128
<actionVariable key="endDate" type="DateTime" caption="New event end date" />
128129
<actionVariable key="allDay" type="Boolean" caption="All day flag" />
129130
</actionVariables>
130-
<description>The create event is triggered when a time slot is selected, and the 'Enable create' property is set to 'true'</description>
131131
</property>
132132
<property key="onChange" type="action" required="false">
133133
<caption>On change action</caption>
134+
<description>The change event is triggered on moving/dragging an item or changing the start or end time of by resizing an item</description>
134135
<actionVariables>
135136
<actionVariable key="oldStart" type="DateTime" caption="Old start date" />
136137
<actionVariable key="oldEnd" type="DateTime" caption="Old end date" />
137138
<actionVariable key="newStart" type="DateTime" caption="New start date" />
138139
<actionVariable key="newEnd" type="DateTime" caption="New end date" />
139140
</actionVariables>
140-
<description>The change event is triggered on moving/dragging an item or changing the start or end time of by resizing an item</description>
141141
</property>
142142
<property key="onRangeChange" type="action" required="false">
143143
<caption>On view range change</caption>

pnpm-lock.yaml

Lines changed: 41 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)