Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6711c85634 |
@@ -232,6 +232,7 @@
|
|||||||
<!-- 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" />
|
||||||
|
|||||||
+144
-89
@@ -1,106 +1,161 @@
|
|||||||
<?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">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:attribute name="key" type="xs:string" use="required" />
|
<xs:attribute name="key" type="xs:string" use="required" />
|
||||||
</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>
|
||||||
<xs:attribute name="name" type="xs:string" use="required" />
|
<xs:attribute name="name" type="xs:string" use="required" />
|
||||||
<xs:attribute name="type" use="required">
|
<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:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:attribute>
|
||||||
|
<xs:attribute name="caption" type="xs:string" />
|
||||||
|
<xs:attribute name="format" type="xs:string" />
|
||||||
|
<xs:attribute name="width" type="xs:positiveInteger" />
|
||||||
|
<xs:attribute name="editable" type="xs:boolean" />
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:complexType name="GridEditors">
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="field">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence maxOccurs="1" minOccurs="1">
|
||||||
|
<xs:any />
|
||||||
|
</xs:sequence>
|
||||||
|
<xs:attribute name="key" type="xs:string" use="required" />
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:complexType name="GridEditorWidget">
|
||||||
|
<xs:sequence>
|
||||||
|
<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" />
|
||||||
|
<xs:element name="events" minOccurs="0" maxOccurs="1" type="GridEditorEvents" />
|
||||||
|
<xs:element name="editorSelectorScript" type="script" minOccurs="0" maxOccurs="1" />
|
||||||
|
<xs:element name="cellStyleGeneratorScript" type="script" minOccurs="0" maxOccurs="1" />
|
||||||
|
<xs:element name="columns" type="GridEditorColumns" minOccurs="0" maxOccurs="1" />
|
||||||
|
<xs:element name="editors" type="GridEditors" minOccurs="0" maxOccurs="1" />
|
||||||
|
</xs:sequence>
|
||||||
|
<xs:attributeGroup ref="basicElement" />
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<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" />
|
||||||
|
<xs:attribute name="maxValue" type="xs:float" />
|
||||||
|
<xs:attribute name="color" type="xs:string" />
|
||||||
|
<xs:attribute name="stroke" type="xs:int" />
|
||||||
|
<xs:attribute name="radius" type="xs:int" />
|
||||||
|
<xs:attribute name="resolution" default="">
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="" />
|
||||||
|
<xs:enumeration value="TIMESTAMP" />
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:attribute>
|
||||||
|
<xs:attributeGroup ref="basicElement" />
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
<xs:complexType name="BarCodeEventType">
|
||||||
|
<xs:simpleContent>
|
||||||
|
<xs:extension base="xs:string">
|
||||||
|
<xs:attribute name="key" use="required">
|
||||||
<xs:simpleType>
|
<xs:simpleType>
|
||||||
<xs:restriction base="xs:string">
|
<xs:restriction base="xs:string">
|
||||||
<xs:enumeration value="string"/>
|
<xs:enumeration value="valueChange" />
|
||||||
<xs:enumeration value="numeric"/>
|
<xs:enumeration value="blur" />
|
||||||
<xs:enumeration value="decimal"/>
|
<xs:enumeration value="focus" />
|
||||||
<xs:enumeration value="date"/>
|
</xs:restriction>
|
||||||
<xs:enumeration value="boolean"/>
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
</xs:simpleType>
|
||||||
</xs:attribute>
|
</xs:attribute>
|
||||||
<xs:attribute name="caption" type="xs:string" />
|
</xs:extension>
|
||||||
<xs:attribute name="format" type="xs:string" />
|
</xs:simpleContent>
|
||||||
<xs:attribute name="width" type="xs:positiveInteger" />
|
</xs:complexType>
|
||||||
<xs:attribute name="editable" type="xs:boolean" />
|
|
||||||
</xs:complexType>
|
|
||||||
</xs:element>
|
|
||||||
</xs:sequence>
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
<xs:complexType name="GridEditors">
|
<xs:complexType name="Barcode">
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="field">
|
<xs:element name="events" minOccurs="0" maxOccurs="1">
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence maxOccurs="1" minOccurs="1">
|
<xs:sequence>
|
||||||
<xs:any />
|
<xs:element name="event" type="BarCodeEventType" minOccurs="0"
|
||||||
</xs:sequence>
|
maxOccurs="unbounded" />
|
||||||
<xs:attribute name="key" type="xs:string" use="required" />
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
<xs:complexType name="GridEditorWidget">
|
<xs:attributeGroup ref="basicElement" />
|
||||||
<xs:sequence>
|
<xs:attribute name="id" use="required" type="xs:string" />
|
||||||
<xs:element name="datasource" minOccurs="1" maxOccurs="1" type="GridEditorWidgetDataSource" />
|
<xs:attribute name="type" use="required">
|
||||||
<xs:element name="keyField" minOccurs="1" maxOccurs="1" />
|
<xs:simpleType>
|
||||||
<xs:element name="parentKeyField" minOccurs="1" maxOccurs="1" />
|
<xs:restriction base="xs:string">
|
||||||
<xs:element name="freezeCount" minOccurs="1" maxOccurs="1" />
|
<xs:enumeration value="string" />
|
||||||
<xs:element name="events" minOccurs="0" maxOccurs="1" type="GridEditorEvents" />
|
<xs:enumeration value="number" />
|
||||||
<xs:element name="editorSelectorScript" type="script" minOccurs="0" maxOccurs="1" />
|
</xs:restriction>
|
||||||
<xs:element name="cellStyleGeneratorScript" type="script" minOccurs="0" maxOccurs="1" />
|
</xs:simpleType>
|
||||||
<xs:element name="columns" type="GridEditorColumns" minOccurs="0" maxOccurs="1" />
|
</xs:attribute>
|
||||||
<xs:element name="editors" type="GridEditors" minOccurs="0" maxOccurs="1" />
|
<xs:attribute name="readOnly" type="xs:boolean" default="false" />
|
||||||
</xs:sequence>
|
<xs:attribute name="enabled" type="xs:boolean" default="true" />
|
||||||
<xs:attributeGroup ref="basicElement" />
|
<xs:attribute name="description" type="xs:string" />
|
||||||
</xs:complexType>
|
<xs:attribute name="prefix" type="xs:string" />
|
||||||
|
<xs:attribute name="suffix" type="xs:string" />
|
||||||
<xs:complexType name="ProgressBarLinear">
|
<xs:attribute name="titleField" type="xs:string" default="Leitor" />
|
||||||
<xs:attribute name="id" type="xs:string" />
|
<xs:attribute name="descriptionField" type="xs:string"
|
||||||
<xs:attribute name="enabled" type="xs:boolean" default="true" />
|
default="Por favor, aponte sua câmera para o código." />
|
||||||
<xs:attribute name="value" type="xs:float" />
|
<xs:attribute name="allowPaste" type="xs:boolean" default="true" />
|
||||||
<xs:attribute name="maxValue" type="xs:float" />
|
<xs:attribute name="focusNextFieldOnValueChange" type="xs:boolean" default="true" />
|
||||||
<xs:attribute name="color" type="xs:string" />
|
<xs:attribute name="focusNextFieldOnEnter" type="xs:boolean" default="false" />
|
||||||
<xs:attribute name="stroke" type="xs:int" />
|
<xs:attribute name="formats" type="xs:string" default="EAN_13,QR_CODE" />
|
||||||
<xs:attribute name="radius" type="xs:int" />
|
<xs:attribute name="prefixAndSuffixValidation" type="xs:string" />
|
||||||
<xs:attribute name="resolution" default="">
|
<xs:attribute name="allowElevationForGroups" type="xs:string" />
|
||||||
<xs:simpleType>
|
</xs:complexType>
|
||||||
<xs:restriction base="xs:string">
|
|
||||||
<xs:enumeration value="" />
|
|
||||||
<xs:enumeration value="TIMESTAMP" />
|
|
||||||
</xs:restriction>
|
|
||||||
</xs:simpleType>
|
|
||||||
</xs:attribute>
|
|
||||||
<xs:attributeGroup ref="basicElement" />
|
|
||||||
</xs:complexType>
|
|
||||||
|
|
||||||
</xs:schema>
|
</xs:schema>
|
||||||
|
|||||||
Reference in New Issue
Block a user