Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 153bd07930 |
@@ -158,6 +158,8 @@
|
||||
</xs:sequence>
|
||||
<xs:attributeGroup ref="fieldAttrs" />
|
||||
<xs:attribute name="format" type="xs:string"/>
|
||||
<xs:attribute name="minDaysBeforeToday" type="xs:int"/>
|
||||
<xs:attribute name="maxDaysAfterToday" type="xs:int"/>
|
||||
<xs:attribute name="resolution">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
|
||||
@@ -97,6 +97,7 @@
|
||||
<xs:attribute name="mobileAllowed" type="xs:boolean" />
|
||||
<xs:attribute name="readOnly" type="xs:boolean" />
|
||||
<xs:attribute name="processVariable" type="xs:boolean" />
|
||||
<xs:attribute name="bulkRequired" type="xs:boolean" />
|
||||
<xs:attributeGroup ref="elementAlign" />
|
||||
</xs:attributeGroup>
|
||||
|
||||
@@ -152,6 +153,7 @@
|
||||
<xs:attribute name="readOnly" type="xs:boolean" />
|
||||
<xs:attribute name="processVariable" type="xs:boolean" />
|
||||
<xs:attribute name="enabled" type="xs:boolean" />
|
||||
<xs:attribute name="bulkRequired" type="xs:boolean" />
|
||||
</xs:attributeGroup>
|
||||
|
||||
<xs:attributeGroup name="stringFieldAttrs">
|
||||
|
||||
@@ -281,6 +281,18 @@
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="type" use="optional">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="STRING" />
|
||||
<xs:enumeration value="DECIMAL" />
|
||||
<xs:enumeration value="NUMBER" />
|
||||
<xs:enumeration value="BOOLEAN" />
|
||||
<xs:enumeration value="DATE" />
|
||||
<xs:enumeration value="TIMESTAMP" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:attributeGroup>
|
||||
|
||||
<xs:attributeGroup name="DBTableValueColumnBase">
|
||||
|
||||
@@ -59,4 +59,13 @@
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- Definicao de uma acao de conclusao em grupo -->
|
||||
<xs:complexType name="vitruvio-bulk-action">
|
||||
<xs:sequence>
|
||||
<xs:element name="validator" type="script" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="acceptLabel" type="xs:string" use="required" />
|
||||
<xs:attribute name="cancelLabel" type="xs:string" use="required" />
|
||||
</xs:complexType>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
<xs:attribute name="caption-field" type="xs:string" use="required"/>
|
||||
<xs:attribute name="start-date-field" type="xs:string" use="required"/>
|
||||
<xs:attribute name="end-date-field" type="xs:string" use="required"/>
|
||||
<xs:attribute name="style-name-field" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="description-field" type="xs:string" use="optional"/>
|
||||
<xs:attributeGroup ref="datasource-basic-attrs" />
|
||||
</xs:complexType>
|
||||
@@ -81,12 +82,40 @@
|
||||
</xs:complexType>
|
||||
|
||||
<!-- Calendar -->
|
||||
<xs:complexType name="CalendarMultiBind">
|
||||
<xs:sequence minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="parameter">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="field-ref" type="xs:string" use="optional" />
|
||||
<xs:attribute name="context-value" use="optional" >
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="PROCESS_INSTANCE_ID" />
|
||||
<xs:enumeration value="PROCESS_BUSINESS_KEY" />
|
||||
<xs:enumeration value="TASK_ID" />
|
||||
<xs:enumeration value="USER_LOGIN" />
|
||||
<xs:enumeration value="USER_COMPANYS" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="parameterName" type="xs:string" use="required" />
|
||||
<xs:attribute name="defaultValue" type="xs:string" use="required" />
|
||||
<xs:attributeGroup ref="value-type-enum" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="refreshOnChange" type="xs:boolean" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="CalendarWidget">
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="sql-datasource" type="calendar-datasource-with-builder" minOccurs="1" maxOccurs="1" />
|
||||
</xs:choice>
|
||||
<xs:element name="events" type="calendarEvents" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="bind" type="CalendarMultiBind" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="id" type="xs:string" use="required" />
|
||||
<xs:attributeGroup ref="basicElement" />
|
||||
@@ -101,6 +130,7 @@
|
||||
</xs:attribute>
|
||||
<xs:attribute name="showViewTypeButtons" type="xs:boolean" use="optional" />
|
||||
<xs:attribute name="showNavigationButtons" type="xs:boolean" use="optional" />
|
||||
<xs:attribute name="showRefreshButton" type="xs:boolean" use="optional" />
|
||||
</xs:complexType>
|
||||
|
||||
<!-- Definicao de widgets CORE, dentro do Namespace do Vitruvio -->
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="bulkAction" type="vitruvio-bulk-action" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="loadWithPreviousForm" type="xs:boolean" />
|
||||
<xs:attribute name="hideWhenFinished" type="xs:boolean" />
|
||||
@@ -55,6 +56,7 @@
|
||||
<xs:attribute name="preventAttach" type="xs:boolean" />
|
||||
<xs:attribute name="minimumVersion" type="xs:string" />
|
||||
<xs:attribute name="minimumVersionNotMeetMessage" type="xs:string" />
|
||||
<xs:attribute name="allowsBulkFinish" type="xs:boolean" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
@@ -232,6 +232,7 @@
|
||||
<!-- Suporte a definicao de widgets -->
|
||||
<xs:group ref="CoreWidgets" />
|
||||
<xs:element name="GridEditorWidget" type="GridEditorWidget" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="Barcode" type="Barcode" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="ProgressBarLinear" type="ProgressBarLinear" minOccurs="0" maxOccurs="unbounded" />
|
||||
|
||||
<xs:element name="CustomWidget" type="CustomWidget" />
|
||||
|
||||
@@ -150,12 +150,14 @@
|
||||
type="MobileFormTaskPropertiesDisplaySettings" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="NavButtonSettings" type="MobileFormNavButtonSettings"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="bulkAction" type="vitruvio-bulk-action" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="requiredDurationNotes" type="xs:boolean" />
|
||||
<xs:attribute name="shouldDisplayNextTask" type="xs:boolean" />
|
||||
<xs:attribute name="shouldDisplayNextTaskWithoutConfirmation" type="xs:boolean" />
|
||||
<xs:attribute name="shouldRefreshTasksFromBackendAfterEnd" type="xs:boolean" />
|
||||
<xs:attribute name="preventAttach" type="xs:boolean" />
|
||||
<xs:attribute name="allowsBulkFinish" type="xs:boolean" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
+78
-23
@@ -1,18 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
|
||||
<!--
|
||||
<!--
|
||||
|
||||
Componentes basicos para uso nos formularios do Vitruvio
|
||||
|
||||
-->
|
||||
|
||||
<!-- Parametros comuns nos Campos -->
|
||||
<xs:include schemaLocation="vitruvio-form-common-attrs.xsd" />
|
||||
<xs:include schemaLocation="vitruvio-form-scripting.xsd" />
|
||||
<xs:include schemaLocation="vitruvio-form-db-components.xsd" />
|
||||
<!-- Parametros comuns nos Campos -->
|
||||
<xs:include schemaLocation="vitruvio-form-common-attrs.xsd" />
|
||||
<xs:include schemaLocation="vitruvio-form-scripting.xsd" />
|
||||
<xs:include schemaLocation="vitruvio-form-db-components.xsd" />
|
||||
|
||||
<xs:complexType name="GridEditorWidgetDataSource">
|
||||
<xs:complexType name="GridEditorWidgetDataSource">
|
||||
<xs:choice>
|
||||
<xs:element name="scriptLoader" type="script" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="query" minOccurs="0" maxOccurs="1">
|
||||
@@ -21,17 +21,17 @@
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="GridEditorEvents">
|
||||
<xs:complexType name="GridEditorEvents">
|
||||
<xs:sequence>
|
||||
<xs:element name="onChange" type="script" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="onRowCreated" type="script" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="onRowRemoved" type="script" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="GridEditorColumns">
|
||||
<xs:complexType name="GridEditorColumns">
|
||||
<xs:sequence>
|
||||
<xs:element name="column" minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
@@ -39,11 +39,11 @@
|
||||
<xs:attribute name="type" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="string"/>
|
||||
<xs:enumeration value="numeric"/>
|
||||
<xs:enumeration value="decimal"/>
|
||||
<xs:enumeration value="date"/>
|
||||
<xs:enumeration value="boolean"/>
|
||||
<xs:enumeration value="string" />
|
||||
<xs:enumeration value="numeric" />
|
||||
<xs:enumeration value="decimal" />
|
||||
<xs:enumeration value="date" />
|
||||
<xs:enumeration value="boolean" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
@@ -54,9 +54,9 @@
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="GridEditors">
|
||||
<xs:complexType name="GridEditors">
|
||||
<xs:sequence>
|
||||
<xs:element name="field">
|
||||
<xs:complexType>
|
||||
@@ -67,11 +67,12 @@
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="GridEditorWidget">
|
||||
<xs:complexType name="GridEditorWidget">
|
||||
<xs:sequence>
|
||||
<xs:element name="datasource" minOccurs="1" maxOccurs="1" type="GridEditorWidgetDataSource" />
|
||||
<xs:element name="datasource" minOccurs="1" maxOccurs="1"
|
||||
type="GridEditorWidgetDataSource" />
|
||||
<xs:element name="keyField" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="parentKeyField" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="freezeCount" minOccurs="1" maxOccurs="1" />
|
||||
@@ -82,9 +83,9 @@
|
||||
<xs:element name="editors" type="GridEditors" minOccurs="0" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attributeGroup ref="basicElement" />
|
||||
</xs:complexType>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="ProgressBarLinear">
|
||||
<xs:complexType name="ProgressBarLinear">
|
||||
<xs:attribute name="id" type="xs:string" />
|
||||
<xs:attribute name="enabled" type="xs:boolean" default="true" />
|
||||
<xs:attribute name="value" type="xs:float" />
|
||||
@@ -101,6 +102,60 @@
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attributeGroup ref="basicElement" />
|
||||
</xs:complexType>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="BarCodeEventType">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="key" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="valueChange" />
|
||||
<xs:enumeration value="blur" />
|
||||
<xs:enumeration value="focus" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Barcode">
|
||||
<xs:sequence>
|
||||
<xs:element name="events" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="event" type="BarCodeEventType" minOccurs="0"
|
||||
maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
|
||||
<xs:attributeGroup ref="basicElement" />
|
||||
<xs:attribute name="id" use="required" type="xs:string" />
|
||||
<xs:attribute name="type" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="string" />
|
||||
<xs:enumeration value="number" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="readOnly" type="xs:boolean" default="false" />
|
||||
<xs:attribute name="enabled" type="xs:boolean" default="true" />
|
||||
<xs:attribute name="description" type="xs:string" />
|
||||
<xs:attribute name="prefix" type="xs:string" />
|
||||
<xs:attribute name="suffix" type="xs:string" />
|
||||
<xs:attribute name="titleField" type="xs:string" default="Leitor" />
|
||||
<xs:attribute name="descriptionField" type="xs:string"
|
||||
default="Por favor, aponte sua câmera para o código." />
|
||||
<xs:attribute name="allowPaste" type="xs:boolean" default="true" />
|
||||
<xs:attribute name="focusNextFieldOnValueChange" type="xs:boolean" default="true" />
|
||||
<xs:attribute name="focusNextFieldOnEnter" type="xs:boolean" default="false" />
|
||||
<xs:attribute name="formats" type="xs:string" default="EAN_13,QR_CODE" />
|
||||
<xs:attribute name="prefixAndSuffixValidation" type="xs:string" />
|
||||
<xs:attribute name="allowElevationForGroups" type="xs:string" />
|
||||
</xs:complexType>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
Reference in New Issue
Block a user