|
61 | 61 | <attributeType name="String" /> |
62 | 62 | </attributeTypes> |
63 | 63 | </property> |
| 64 | + <property key="startDateAttribute" type="attribute" dataSource="databaseDataSource" required="false"> |
| 65 | + <caption>Start date attribute</caption> |
| 66 | + <description>The start date that should be shown in the view</description> |
| 67 | + <attributeTypes> |
| 68 | + <attributeType name="DateTime" /> |
| 69 | + </attributeTypes> |
| 70 | + </property> |
64 | 71 | </propertyGroup> |
65 | 72 | </propertyGroup> |
66 | | - <propertyGroup caption="Customization"> |
| 73 | + <propertyGroup caption="View"> |
67 | 74 | <propertyGroup caption="Options"> |
| 75 | + <property key="editable" type="expression" defaultValue="true"> |
| 76 | + <caption>Editable</caption> |
| 77 | + <description /> |
| 78 | + <returnType type="Boolean" /> |
| 79 | + </property> |
68 | 80 | <property key="view" type="enumeration" defaultValue="standard"> |
69 | 81 | <caption>View</caption> |
70 | 82 | <description>Standard has day, week and month</description> |
71 | 83 | <enumerationValues> |
72 | 84 | <enumerationValue key="standard">Standard</enumerationValue> |
73 | | - <enumerationValue key="custom">Custom work-week</enumerationValue> |
| 85 | + <enumerationValue key="custom">Custom</enumerationValue> |
74 | 86 | </enumerationValues> |
75 | 87 | </property> |
76 | | - <property key="editable" type="expression" defaultValue="true"> |
77 | | - <caption>Editable</caption> |
78 | | - <description /> |
79 | | - <returnType type="Boolean" /> |
80 | | - </property> |
81 | | - <property key="enableCreate" type="expression" defaultValue="true"> |
82 | | - <caption>Enable create</caption> |
83 | | - <description /> |
84 | | - <returnType type="Boolean" /> |
85 | | - </property> |
86 | | - <property key="showEventDate" type="boolean" defaultValue="true"> |
87 | | - <caption>Show event date range</caption> |
88 | | - <description>Show the start and end date of the event</description> |
89 | | - </property> |
90 | | - <property key="defaultViewCustom" type="enumeration" defaultValue="month"> |
| 88 | + <property key="defaultViewStandard" type="enumeration" defaultValue="month"> |
91 | 89 | <caption>Initial selected view</caption> |
92 | 90 | <description>The default view showed when the calendar is loaded</description> |
93 | 91 | <enumerationValues> |
94 | 92 | <enumerationValue key="day">Day</enumerationValue> |
95 | 93 | <enumerationValue key="week">Week</enumerationValue> |
96 | 94 | <enumerationValue key="month">Month</enumerationValue> |
97 | | - <enumerationValue key="work_week">Custom</enumerationValue> |
98 | | - <enumerationValue key="agenda">Agenda</enumerationValue> |
99 | 95 | </enumerationValues> |
100 | 96 | </property> |
101 | | - <property key="defaultViewStandard" type="enumeration" defaultValue="month"> |
| 97 | + <property key="defaultViewCustom" type="enumeration" defaultValue="month"> |
102 | 98 | <caption>Initial selected view</caption> |
103 | 99 | <description>The default view showed when the calendar is loaded</description> |
104 | 100 | <enumerationValues> |
105 | 101 | <enumerationValue key="day">Day</enumerationValue> |
106 | 102 | <enumerationValue key="week">Week</enumerationValue> |
107 | 103 | <enumerationValue key="month">Month</enumerationValue> |
| 104 | + <enumerationValue key="work_week">Custom</enumerationValue> |
| 105 | + <enumerationValue key="agenda">Agenda</enumerationValue> |
108 | 106 | </enumerationValues> |
109 | 107 | </property> |
110 | | - <property key="startDateAttribute" type="attribute" required="false"> |
111 | | - <caption>Start date attribute</caption> |
112 | | - <description>The start date that should be shown in the view</description> |
113 | | - <attributeTypes> |
114 | | - <attributeType name="DateTime" /> |
115 | | - </attributeTypes> |
| 108 | + <property key="showEventDate" type="expression" defaultValue="true"> |
| 109 | + <caption>Show event date range</caption> |
| 110 | + <description>Show the start and end date of the event</description> |
| 111 | + <returnType type="Boolean" /> |
116 | 112 | </property> |
117 | 113 | <property key="timeFormat" type="textTemplate" required="false"> |
118 | 114 | <caption>Time format</caption> |
|
126 | 122 | <caption>Day end hour</caption> |
127 | 123 | <description>The hour at which the day view ends (1–24)</description> |
128 | 124 | </property> |
| 125 | + <property key="showAllEvents" type="boolean" defaultValue="true"> |
| 126 | + <caption>Show all events</caption> |
| 127 | + <description>Auto-adjust calendar height to display all events without "more" links</description> |
| 128 | + </property> |
| 129 | + </propertyGroup> |
| 130 | + </propertyGroup> |
| 131 | + <propertyGroup caption="Custom view"> |
| 132 | + <propertyGroup caption="Visible views"> |
| 133 | + <property key="customViewShowDay" type="boolean" defaultValue="true"> |
| 134 | + <caption>Day</caption> |
| 135 | + <description>Show day view in the toolbar</description> |
| 136 | + </property> |
| 137 | + <property key="customViewShowWeek" type="boolean" defaultValue="true"> |
| 138 | + <caption>Week</caption> |
| 139 | + <description>Show week view in the toolbar</description> |
| 140 | + </property> |
| 141 | + <property key="customViewShowCustomWeek" type="boolean" defaultValue="false"> |
| 142 | + <caption>Custom Work Week</caption> |
| 143 | + <description>Show custom week view in the toolbar</description> |
| 144 | + </property> |
129 | 145 | <!-- Custom week caption --> |
130 | 146 | <property key="customViewCaption" type="textTemplate" required="false"> |
131 | 147 | <caption>Custom view caption</caption> |
|
134 | 150 | <translation lang="en_US">Custom</translation> |
135 | 151 | </translations> |
136 | 152 | </property> |
137 | | - <property key="showAllEvents" type="boolean" defaultValue="true"> |
138 | | - <caption>Show all events</caption> |
139 | | - <description>Auto-adjust calendar height to display all events without "more" links</description> |
| 153 | + <property key="customViewShowMonth" type="boolean" defaultValue="true"> |
| 154 | + <caption>Month</caption> |
| 155 | + <description>Show month view in the toolbar</description> |
| 156 | + </property> |
| 157 | + <property key="customViewShowAgenda" type="boolean" defaultValue="false"> |
| 158 | + <caption>Agenda</caption> |
| 159 | + <description>Show agenda view in the toolbar</description> |
140 | 160 | </property> |
141 | 161 | </propertyGroup> |
142 | | - <propertyGroup caption="Visible days"> |
| 162 | + <propertyGroup caption="Custom view visible days"> |
143 | 163 | <property key="customViewShowMonday" type="boolean" defaultValue="true"> |
144 | 164 | <caption>Monday</caption> |
145 | | - <description>Show Monday in the custom work-week view</description> |
| 165 | + <description>Show Monday in the custom week view</description> |
146 | 166 | </property> |
147 | 167 | <property key="customViewShowTuesday" type="boolean" defaultValue="true"> |
148 | 168 | <caption>Tuesday</caption> |
149 | | - <description>Show Tuesday in the custom work-week view</description> |
| 169 | + <description>Show Tuesday in the custom week view</description> |
150 | 170 | </property> |
151 | 171 | <property key="customViewShowWednesday" type="boolean" defaultValue="true"> |
152 | 172 | <caption>Wednesday</caption> |
153 | | - <description>Show Wednesday in the custom work-week view</description> |
| 173 | + <description>Show Wednesday in the custom week view</description> |
154 | 174 | </property> |
155 | 175 | <property key="customViewShowThursday" type="boolean" defaultValue="true"> |
156 | 176 | <caption>Thursday</caption> |
157 | | - <description>Show Thursday in the custom work-week view</description> |
| 177 | + <description>Show Thursday in the custom week view</description> |
158 | 178 | </property> |
159 | 179 | <property key="customViewShowFriday" type="boolean" defaultValue="true"> |
160 | 180 | <caption>Friday</caption> |
161 | | - <description>Show Friday in the custom work-week view</description> |
| 181 | + <description>Show Friday in the custom week view</description> |
162 | 182 | </property> |
163 | 183 | <property key="customViewShowSaturday" type="boolean" defaultValue="false"> |
164 | 184 | <caption>Saturday</caption> |
165 | | - <description>Show Saturday in the custom work-week view</description> |
| 185 | + <description>Show Saturday in the custom week view</description> |
166 | 186 | </property> |
167 | 187 | <property key="customViewShowSunday" type="boolean" defaultValue="false"> |
168 | 188 | <caption>Sunday</caption> |
169 | | - <description>Show Sunday in the custom work-week view</description> |
| 189 | + <description>Show Sunday in the custom week view</description> |
170 | 190 | </property> |
171 | 191 | </propertyGroup> |
172 | 192 | </propertyGroup> |
|
0 commit comments