Compare commits
1 Commits
java21_nfe
...
2.145.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f1c0d7efb |
@@ -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">
|
||||
|
||||
+596
-556
File diff suppressed because it is too large
Load Diff
@@ -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" />
|
||||
|
||||
+147
-128
@@ -1,71 +1,80 @@
|
||||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns="http://www.davinti.com.br/vitruvio/mobile-form" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.davinti.com.br/vitruvio/mobile-form" elementFormDefault="qualified">
|
||||
<xs:schema xmlns="http://www.davinti.com.br/vitruvio/mobile-form"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://www.davinti.com.br/vitruvio/mobile-form" elementFormDefault="qualified">
|
||||
|
||||
<!-- Parametros comuns nos Campos -->
|
||||
<xs:include schemaLocation="vitruvio-form-common-attrs.xsd" />
|
||||
<!-- Parametros comuns nos Campos -->
|
||||
<xs:include schemaLocation="vitruvio-form-common-attrs.xsd" />
|
||||
|
||||
<!-- Componentes padrao -->
|
||||
<xs:include schemaLocation="vitruvio-form-basic-components.xsd" />
|
||||
<!-- Componentes padrao -->
|
||||
<xs:include schemaLocation="vitruvio-form-basic-components.xsd" />
|
||||
|
||||
<!-- Componentes para uso com bancos de dados -->
|
||||
<xs:include schemaLocation="vitruvio-form-db-components.xsd" />
|
||||
<!-- Componentes para uso com bancos de dados -->
|
||||
<xs:redefine schemaLocation="vitruvio-form-db-components.xsd">
|
||||
<xs:group name="DatasourceWithBuilderOptions">
|
||||
<xs:choice>
|
||||
<xs:group ref="DatasourceWithBuilderOptions" />
|
||||
<xs:element name="form-datasource" type="formRefDataSource" />
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
</xs:redefine>
|
||||
|
||||
<!-- Componentes especificos ao contexto da aplicacao -->
|
||||
<xs:include schemaLocation="vitruvio-form-specific-components.xsd" />
|
||||
<!-- Componentes especificos ao contexto da aplicacao -->
|
||||
<xs:include schemaLocation="vitruvio-form-specific-components.xsd" />
|
||||
|
||||
<!-- Form containers -->
|
||||
<xs:include schemaLocation="vitruvio-form-containers.xsd" />
|
||||
<!-- Form containers -->
|
||||
<xs:include schemaLocation="vitruvio-form-containers.xsd" />
|
||||
|
||||
<!-- Scripting defs -->
|
||||
<xs:include schemaLocation="vitruvio-form-scripting.xsd" />
|
||||
<!-- Scripting defs -->
|
||||
<xs:include schemaLocation="vitruvio-form-scripting.xsd" />
|
||||
|
||||
<!-- Suporte a Widgets -->
|
||||
<xs:include schemaLocation="vitruvio-form-widgets.xsd" />
|
||||
<!-- Suporte a Widgets -->
|
||||
<xs:include schemaLocation="vitruvio-form-widgets.xsd" />
|
||||
|
||||
<!-- Scripting defs -->
|
||||
<xs:include schemaLocation="vitruvio-form-scripting.xsd" />
|
||||
<!-- Scripting defs -->
|
||||
<xs:include schemaLocation="vitruvio-form-scripting.xsd" />
|
||||
|
||||
<!-- Base Form -->
|
||||
<xs:include schemaLocation="vitruvio-mobile-base-form.xsd" />
|
||||
<!-- Base Form -->
|
||||
<xs:include schemaLocation="vitruvio-mobile-base-form.xsd" />
|
||||
|
||||
|
||||
<!-- Autoload support -->
|
||||
<xs:attributeGroup name="autoload-base-attrs">
|
||||
<xs:attribute name="autoPersist" type="xs:boolean" />
|
||||
<xs:attribute name="autoOverride" type="xs:boolean" />
|
||||
<xs:attribute name="autoInjectionVariableName" type="xs:string" />
|
||||
<xs:attribute name="autoInjectionScope">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="NONE"/>
|
||||
<xs:enumeration value="SCRIPT_SCOPE"/>
|
||||
<xs:enumeration value="ENGINE_GLOBAL_SCOPE"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:attributeGroup>
|
||||
<!-- Autoload support -->
|
||||
<xs:attributeGroup name="autoload-base-attrs">
|
||||
<xs:attribute name="autoPersist" type="xs:boolean" />
|
||||
<xs:attribute name="autoOverride" type="xs:boolean" />
|
||||
<xs:attribute name="autoInjectionVariableName" type="xs:string" />
|
||||
<xs:attribute name="autoInjectionScope">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="NONE" />
|
||||
<xs:enumeration value="SCRIPT_SCOPE" />
|
||||
<xs:enumeration value="ENGINE_GLOBAL_SCOPE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:attributeGroup>
|
||||
|
||||
<xs:complexType name="autoload-variables">
|
||||
<xs:sequence>
|
||||
<xs:element name="variable" minOccurs="1" maxOccurs="unbounded" type="xs:string" />
|
||||
</xs:sequence>
|
||||
<xs:attributeGroup ref="autoload-base-attrs" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="autoload-variables">
|
||||
<xs:sequence>
|
||||
<xs:element name="variable" minOccurs="1" maxOccurs="unbounded" type="xs:string" />
|
||||
</xs:sequence>
|
||||
<xs:attributeGroup ref="autoload-base-attrs" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="autoload-form">
|
||||
<xs:attribute name="formKey" type="xs:string" use="required" />
|
||||
<xs:attribute name="taskDefinitionKey" type="xs:string" />
|
||||
<xs:attribute name="onlyCompleteTask" type="xs:boolean" />
|
||||
<xs:attributeGroup ref="autoload-base-attrs" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="autoload-form">
|
||||
<xs:attribute name="formKey" type="xs:string" use="required" />
|
||||
<xs:attribute name="taskDefinitionKey" type="xs:string" />
|
||||
<xs:attribute name="onlyCompleteTask" type="xs:boolean" />
|
||||
<xs:attributeGroup ref="autoload-base-attrs" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="autoload-bridge">
|
||||
<xs:attribute name="bridgeId" type="xs:string" use="required" />
|
||||
<xs:attributeGroup ref="autoload-base-attrs" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="autoload-bridge">
|
||||
<xs:attribute name="bridgeId" type="xs:string" use="required" />
|
||||
<xs:attributeGroup ref="autoload-base-attrs" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="MobileAutoloadInfo">
|
||||
<xs:sequence>
|
||||
<xs:complexType name="MobileAutoloadInfo">
|
||||
<xs:sequence>
|
||||
<xs:element name="variables" type="autoload-variables" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="forms" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
@@ -81,83 +90,93 @@
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attributeGroup ref="autoload-base-attrs" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="MobileFormTaskPropertiesDisplaySettings">
|
||||
<xs:attribute name="showCompleteItensCount" type="xs:boolean" />
|
||||
<xs:attribute name="showStartUser" type="xs:boolean" />
|
||||
<xs:attribute name="showDuedate" type="xs:boolean" />
|
||||
<xs:attribute name="showExtendedProperties" type="xs:boolean" />
|
||||
<xs:attribute name="extendedPropertiesVariableName" type="xs:string" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="MobileFormNavButton">
|
||||
<xs:sequence minOccurs="1" maxOccurs="1">
|
||||
<xs:element name="clickScript" type="script" minOccurs="1" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="id" type="xs:string" use="required" />
|
||||
<xs:attribute name="icon" type="xs:string" use="required" />
|
||||
<xs:attribute name="caption" type="xs:string" />
|
||||
<xs:attribute name="description" type="xs:string" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="MobileFormNavButtonSettings">
|
||||
<xs:sequence>
|
||||
<xs:element name="customButtons" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="button" type="MobileFormNavButton" minOccurs="1" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="position">
|
||||
<xs:simpleType id="test">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TOP_RIGHT"></xs:enumeration>
|
||||
<xs:enumeration value="TOP_LEFT"></xs:enumeration>
|
||||
<xs:enumeration value="BOTTOM_RIGHT"></xs:enumeration>
|
||||
<xs:enumeration value="BOTTOM_LEFT"></xs:enumeration>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="showNavButton" type="xs:boolean" />
|
||||
<xs:attribute name="showCompleteButton" type="xs:boolean" />
|
||||
<xs:attribute name="startOpened" type="xs:boolean" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="vitruvio-mobile-form">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="vitruvio-subform-enabled-form">
|
||||
<xs:sequence>
|
||||
<xs:element name="Autoload" type="MobileAutoloadInfo" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="ServerSide" type="MobileServerSide" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="TaskPropertiesDisplaySettings" type="MobileFormTaskPropertiesDisplaySettings" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="NavButtonSettings" type="MobileFormNavButtonSettings" 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:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="mobile-forms">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="library" type="library" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="descriptorScript" type="script" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="form" type="vitruvio-mobile-form" minOccurs="1" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="processKey" type="xs:string" />
|
||||
<xs:attribute name="allowAttachments" type="xs:boolean" />
|
||||
<!-- Determina se as notas e anexos devem ser exibidas dentro do mesmo form, ou atraves de formularios externos -->
|
||||
<xs:attribute name="embeddedNotes" type="xs:boolean" />
|
||||
<xs:attribute name="embeddedAttachments" type="xs:boolean" />
|
||||
<xs:attributeGroup ref="autoload-base-attrs" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:complexType name="MobileFormTaskPropertiesDisplaySettings">
|
||||
<xs:attribute name="showCompleteItensCount" type="xs:boolean" />
|
||||
<xs:attribute name="showStartUser" type="xs:boolean" />
|
||||
<xs:attribute name="showDuedate" type="xs:boolean" />
|
||||
<xs:attribute name="showExtendedProperties" type="xs:boolean" />
|
||||
<xs:attribute name="extendedPropertiesVariableName" type="xs:string" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="MobileFormNavButton">
|
||||
<xs:sequence minOccurs="1" maxOccurs="1">
|
||||
<xs:element name="clickScript" type="script" minOccurs="1" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="id" type="xs:string" use="required" />
|
||||
<xs:attribute name="icon" type="xs:string" use="required" />
|
||||
<xs:attribute name="caption" type="xs:string" />
|
||||
<xs:attribute name="description" type="xs:string" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="MobileFormNavButtonSettings">
|
||||
<xs:sequence>
|
||||
<xs:element name="customButtons" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="button" type="MobileFormNavButton" minOccurs="1"
|
||||
maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="position">
|
||||
<xs:simpleType id="test">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="TOP_RIGHT"></xs:enumeration>
|
||||
<xs:enumeration value="TOP_LEFT"></xs:enumeration>
|
||||
<xs:enumeration value="BOTTOM_RIGHT"></xs:enumeration>
|
||||
<xs:enumeration value="BOTTOM_LEFT"></xs:enumeration>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="showNavButton" type="xs:boolean" />
|
||||
<xs:attribute name="showCompleteButton" type="xs:boolean" />
|
||||
<xs:attribute name="startOpened" type="xs:boolean" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="vitruvio-mobile-form">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="vitruvio-subform-enabled-form">
|
||||
<xs:sequence>
|
||||
<xs:element name="Autoload" type="MobileAutoloadInfo" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element name="ServerSide" type="MobileServerSide" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element name="TaskPropertiesDisplaySettings"
|
||||
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>
|
||||
|
||||
<xs:element name="mobile-forms">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="library" type="library" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="descriptorScript" type="script" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="form" type="vitruvio-mobile-form" minOccurs="1"
|
||||
maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="processKey" type="xs:string" />
|
||||
<xs:attribute name="allowAttachments" type="xs:boolean" />
|
||||
<!-- Determina se as notas e anexos devem ser exibidas dentro do mesmo form, ou atraves
|
||||
de formularios externos -->
|
||||
<xs:attribute name="embeddedNotes" type="xs:boolean" />
|
||||
<xs:attribute name="embeddedAttachments" type="xs:boolean" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
+143
-88
@@ -1,106 +1,161 @@
|
||||
<?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
|
||||
|
||||
-->
|
||||
|
||||
<!-- 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:choice>
|
||||
<xs:element name="scriptLoader" type="script" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="query" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="key" type="xs:string" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="GridEditorWidgetDataSource">
|
||||
<xs:choice>
|
||||
<xs:element name="scriptLoader" type="script" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="query" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="key" type="xs:string" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
|
||||
<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 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 name="GridEditorColumns">
|
||||
<xs:sequence>
|
||||
<xs:element name="column" minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="name" type="xs:string" use="required" />
|
||||
<xs:attribute name="type" use="required">
|
||||
<xs:complexType name="GridEditorColumns">
|
||||
<xs:sequence>
|
||||
<xs:element name="column" minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="name" type="xs:string" 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: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:enumeration value="valueChange" />
|
||||
<xs:enumeration value="blur" />
|
||||
<xs:enumeration value="focus" />
|
||||
</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:extension>
|
||||
</xs:simpleContent>
|
||||
</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="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: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: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