-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathform-calendar.xsd
70 lines (63 loc) · 3.63 KB
/
form-calendar.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<!--
Qookery - Declarative UI Building for Qooxdoo
Copyright (c) Ergobyte Informatics S.A., www.ergobyte.gr
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:q="http://www.qookery.org/ns/Form"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
targetNamespace="http://www.qookery.org/ns/Form/Calendar"
elementFormDefault="qualified">
<import namespace="http://www.qookery.org/ns/Form" />
<element name="calendar"><complexType><complexContent><extension base="q:component">
<attribute name="all-day-slot" type="boolean" default="true" />
<attribute name="aspect-ratio" type="float" default="1.35" />
<attribute name="button-text-day" type="string" />
<attribute name="button-text-month" type="string" />
<attribute name="button-text-today" type="string" />
<attribute name="button-text-week" type="string" />
<attribute name="day-max-event-rows" default="false"><simpleType><union memberTypes="boolean nonNegativeInteger" /></simpleType></attribute>
<attribute name="default-all-day-event-duration" type="nonNegativeInteger" default="1" />
<attribute name="default-timed-event-duration" type="time" default="02:00:00" />
<attribute name="display-event-end" type="boolean" />
<attribute name="editable" default="false" type="boolean" />
<attribute name="event-min-height" type="integer" default="15" />
<attribute name="event-time-format" type="string" default="h(:mm)t" />
<attribute name="first-day" type="nonNegativeInteger" default="0" />
<attribute name="header-left" type="string" default="title" />
<attribute name="header-center" type="string" default="" />
<attribute name="header-right" type="string" default="today prev,next" />
<attribute name="initial-date" type="date" />
<attribute name="initial-view" default="dayGridMonth"><simpleType><union memberTypes="q:replaced-string"><simpleType><restriction base="token">
<enumeration value="dayGridMonth" />
<enumeration value="dayGridWeek" />
<enumeration value="dayGridDay" />
<enumeration value="timeGridWeek" />
<enumeration value="timeGridDay" />
</restriction></simpleType></union></simpleType></attribute>
<attribute name="locale" type="language" />
<attribute name="scroll-time" type="time" default="06:00:00" />
<attribute name="selectable" type="boolean" default="false" />
<attribute name="slot-duration" type="time" default="00:30:00" />
<attribute name="slot-event-overlap" type="boolean" default="true" />
<attribute name="slot-label-format" type="string" default="h(:mm)a" />
<attribute name="slot-label-interval" type="string" />
<attribute name="slot-max-time" type="time" default="24:00:00" />
<attribute name="slot-min-time" type="time" default="00:00:00" />
<attribute name="snap-duration" type="time" default="00:10:00" />
<attribute name="time-zone"><simpleType><union memberTypes="token"><simpleType><restriction base="token">
<enumeration value="local" />
<enumeration value="UTC" />
</restriction></simpleType></union></simpleType></attribute>
</extension></complexContent></complexType></element>
</schema>