Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 89b4d8b6c9 |
@@ -97,7 +97,6 @@
|
|||||||
<xs:attribute name="mobileAllowed" type="xs:boolean" />
|
<xs:attribute name="mobileAllowed" type="xs:boolean" />
|
||||||
<xs:attribute name="readOnly" type="xs:boolean" />
|
<xs:attribute name="readOnly" type="xs:boolean" />
|
||||||
<xs:attribute name="processVariable" type="xs:boolean" />
|
<xs:attribute name="processVariable" type="xs:boolean" />
|
||||||
<xs:attribute name="bulkRequired" type="xs:boolean" />
|
|
||||||
<xs:attributeGroup ref="elementAlign" />
|
<xs:attributeGroup ref="elementAlign" />
|
||||||
</xs:attributeGroup>
|
</xs:attributeGroup>
|
||||||
|
|
||||||
@@ -153,7 +152,6 @@
|
|||||||
<xs:attribute name="readOnly" type="xs:boolean" />
|
<xs:attribute name="readOnly" type="xs:boolean" />
|
||||||
<xs:attribute name="processVariable" type="xs:boolean" />
|
<xs:attribute name="processVariable" type="xs:boolean" />
|
||||||
<xs:attribute name="enabled" type="xs:boolean" />
|
<xs:attribute name="enabled" type="xs:boolean" />
|
||||||
<xs:attribute name="bulkRequired" type="xs:boolean" />
|
|
||||||
</xs:attributeGroup>
|
</xs:attributeGroup>
|
||||||
|
|
||||||
<xs:attributeGroup name="stringFieldAttrs">
|
<xs:attributeGroup name="stringFieldAttrs">
|
||||||
|
|||||||
@@ -59,13 +59,4 @@
|
|||||||
</xs:simpleContent>
|
</xs:simpleContent>
|
||||||
</xs:complexType>
|
</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>
|
</xs:schema>
|
||||||
|
|||||||
@@ -46,7 +46,6 @@
|
|||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
<xs:element name="bulkAction" type="vitruvio-bulk-action" minOccurs="0" maxOccurs="1" />
|
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
<xs:attribute name="loadWithPreviousForm" type="xs:boolean" />
|
<xs:attribute name="loadWithPreviousForm" type="xs:boolean" />
|
||||||
<xs:attribute name="hideWhenFinished" type="xs:boolean" />
|
<xs:attribute name="hideWhenFinished" type="xs:boolean" />
|
||||||
@@ -56,7 +55,6 @@
|
|||||||
<xs:attribute name="preventAttach" type="xs:boolean" />
|
<xs:attribute name="preventAttach" type="xs:boolean" />
|
||||||
<xs:attribute name="minimumVersion" type="xs:string" />
|
<xs:attribute name="minimumVersion" type="xs:string" />
|
||||||
<xs:attribute name="minimumVersionNotMeetMessage" type="xs:string" />
|
<xs:attribute name="minimumVersionNotMeetMessage" type="xs:string" />
|
||||||
<xs:attribute name="allowsBulkFinish" type="xs:boolean" />
|
|
||||||
</xs:extension>
|
</xs:extension>
|
||||||
</xs:complexContent>
|
</xs:complexContent>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|||||||
@@ -232,7 +232,6 @@
|
|||||||
<!-- Suporte a definicao de widgets -->
|
<!-- Suporte a definicao de widgets -->
|
||||||
<xs:group ref="CoreWidgets" />
|
<xs:group ref="CoreWidgets" />
|
||||||
<xs:element name="GridEditorWidget" type="GridEditorWidget" minOccurs="0" maxOccurs="unbounded" />
|
<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="ProgressBarLinear" type="ProgressBarLinear" minOccurs="0" maxOccurs="unbounded" />
|
||||||
|
|
||||||
<xs:element name="CustomWidget" type="CustomWidget" />
|
<xs:element name="CustomWidget" type="CustomWidget" />
|
||||||
|
|||||||
@@ -150,14 +150,12 @@
|
|||||||
type="MobileFormTaskPropertiesDisplaySettings" minOccurs="0" maxOccurs="1" />
|
type="MobileFormTaskPropertiesDisplaySettings" minOccurs="0" maxOccurs="1" />
|
||||||
<xs:element name="NavButtonSettings" type="MobileFormNavButtonSettings"
|
<xs:element name="NavButtonSettings" type="MobileFormNavButtonSettings"
|
||||||
minOccurs="0" maxOccurs="1" />
|
minOccurs="0" maxOccurs="1" />
|
||||||
<xs:element name="bulkAction" type="vitruvio-bulk-action" minOccurs="0" maxOccurs="1" />
|
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
<xs:attribute name="requiredDurationNotes" type="xs:boolean" />
|
<xs:attribute name="requiredDurationNotes" type="xs:boolean" />
|
||||||
<xs:attribute name="shouldDisplayNextTask" type="xs:boolean" />
|
<xs:attribute name="shouldDisplayNextTask" type="xs:boolean" />
|
||||||
<xs:attribute name="shouldDisplayNextTaskWithoutConfirmation" type="xs:boolean" />
|
<xs:attribute name="shouldDisplayNextTaskWithoutConfirmation" type="xs:boolean" />
|
||||||
<xs:attribute name="shouldRefreshTasksFromBackendAfterEnd" type="xs:boolean" />
|
<xs:attribute name="shouldRefreshTasksFromBackendAfterEnd" type="xs:boolean" />
|
||||||
<xs:attribute name="preventAttach" type="xs:boolean" />
|
<xs:attribute name="preventAttach" type="xs:boolean" />
|
||||||
<xs:attribute name="allowsBulkFinish" type="xs:boolean" />
|
|
||||||
</xs:extension>
|
</xs:extension>
|
||||||
</xs:complexContent>
|
</xs:complexContent>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|||||||
+23
-78
@@ -1,18 +1,18 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
Componentes basicos para uso nos formularios do Vitruvio
|
Componentes basicos para uso nos formularios do Vitruvio
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Parametros comuns nos Campos -->
|
<!-- Parametros comuns nos Campos -->
|
||||||
<xs:include schemaLocation="vitruvio-form-common-attrs.xsd" />
|
<xs:include schemaLocation="vitruvio-form-common-attrs.xsd" />
|
||||||
<xs:include schemaLocation="vitruvio-form-scripting.xsd" />
|
<xs:include schemaLocation="vitruvio-form-scripting.xsd" />
|
||||||
<xs:include schemaLocation="vitruvio-form-db-components.xsd" />
|
<xs:include schemaLocation="vitruvio-form-db-components.xsd" />
|
||||||
|
|
||||||
<xs:complexType name="GridEditorWidgetDataSource">
|
<xs:complexType name="GridEditorWidgetDataSource">
|
||||||
<xs:choice>
|
<xs:choice>
|
||||||
<xs:element name="scriptLoader" type="script" minOccurs="0" maxOccurs="1" />
|
<xs:element name="scriptLoader" type="script" minOccurs="0" maxOccurs="1" />
|
||||||
<xs:element name="query" minOccurs="0" maxOccurs="1">
|
<xs:element name="query" minOccurs="0" maxOccurs="1">
|
||||||
@@ -21,17 +21,17 @@
|
|||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:choice>
|
</xs:choice>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|
||||||
<xs:complexType name="GridEditorEvents">
|
<xs:complexType name="GridEditorEvents">
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="onChange" type="script" minOccurs="0" maxOccurs="1" />
|
<xs:element name="onChange" type="script" minOccurs="0" maxOccurs="1" />
|
||||||
<xs:element name="onRowCreated" 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:element name="onRowRemoved" type="script" minOccurs="0" maxOccurs="1" />
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|
||||||
<xs:complexType name="GridEditorColumns">
|
<xs:complexType name="GridEditorColumns">
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="column" minOccurs="1" maxOccurs="unbounded">
|
<xs:element name="column" minOccurs="1" maxOccurs="unbounded">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
@@ -39,11 +39,11 @@
|
|||||||
<xs:attribute name="type" use="required">
|
<xs:attribute name="type" use="required">
|
||||||
<xs:simpleType>
|
<xs:simpleType>
|
||||||
<xs:restriction base="xs:string">
|
<xs:restriction base="xs:string">
|
||||||
<xs:enumeration value="string" />
|
<xs:enumeration value="string"/>
|
||||||
<xs:enumeration value="numeric" />
|
<xs:enumeration value="numeric"/>
|
||||||
<xs:enumeration value="decimal" />
|
<xs:enumeration value="decimal"/>
|
||||||
<xs:enumeration value="date" />
|
<xs:enumeration value="date"/>
|
||||||
<xs:enumeration value="boolean" />
|
<xs:enumeration value="boolean"/>
|
||||||
</xs:restriction>
|
</xs:restriction>
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
</xs:attribute>
|
</xs:attribute>
|
||||||
@@ -54,9 +54,9 @@
|
|||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|
||||||
<xs:complexType name="GridEditors">
|
<xs:complexType name="GridEditors">
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="field">
|
<xs:element name="field">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
@@ -67,12 +67,11 @@
|
|||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
|
||||||
<xs:complexType name="GridEditorWidget">
|
<xs:complexType name="GridEditorWidget">
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="datasource" minOccurs="1" maxOccurs="1"
|
<xs:element name="datasource" minOccurs="1" maxOccurs="1" type="GridEditorWidgetDataSource" />
|
||||||
type="GridEditorWidgetDataSource" />
|
|
||||||
<xs:element name="keyField" minOccurs="1" maxOccurs="1" />
|
<xs:element name="keyField" minOccurs="1" maxOccurs="1" />
|
||||||
<xs:element name="parentKeyField" minOccurs="1" maxOccurs="1" />
|
<xs:element name="parentKeyField" minOccurs="1" maxOccurs="1" />
|
||||||
<xs:element name="freezeCount" minOccurs="1" maxOccurs="1" />
|
<xs:element name="freezeCount" minOccurs="1" maxOccurs="1" />
|
||||||
@@ -83,9 +82,9 @@
|
|||||||
<xs:element name="editors" type="GridEditors" minOccurs="0" maxOccurs="1" />
|
<xs:element name="editors" type="GridEditors" minOccurs="0" maxOccurs="1" />
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
<xs:attributeGroup ref="basicElement" />
|
<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="id" type="xs:string" />
|
||||||
<xs:attribute name="enabled" type="xs:boolean" default="true" />
|
<xs:attribute name="enabled" type="xs:boolean" default="true" />
|
||||||
<xs:attribute name="value" type="xs:float" />
|
<xs:attribute name="value" type="xs:float" />
|
||||||
@@ -102,60 +101,6 @@
|
|||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
</xs:attribute>
|
</xs:attribute>
|
||||||
<xs:attributeGroup ref="basicElement" />
|
<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>
|
</xs:schema>
|
||||||
|
|||||||
Reference in New Issue
Block a user