release con gestioen compelta bazaar!
@@ -2,9 +2,10 @@
|
||||
<xs:schema id="DS_utils" targetNamespace="http://tempuri.org/DS_utils.xsd" xmlns:mstns="http://tempuri.org/DS_utils.xsd" xmlns="http://tempuri.org/DS_utils.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
||||
<xs:annotation>
|
||||
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<Connections>
|
||||
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ETS_WSConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ETS_WSConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ETS_Data.Properties.Settings.GlobalReference.Default.ETS_WSConnectionString" Provider="System.Data.SqlClient" />
|
||||
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ETS_PROJConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ETS_PROJConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ETS_Data.Properties.Settings.GlobalReference.Default.ETS_PROJConnectionString" Provider="System.Data.SqlClient" />
|
||||
</Connections>
|
||||
<Tables>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selFontiTableAdapter" GeneratorDataComponentClassName="v_selFontiTableAdapter" Name="v_selFonti" UserDataComponentName="v_selFontiTableAdapter">
|
||||
@@ -446,6 +447,73 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ElencoOpzioniTableAdapter" GeneratorDataComponentClassName="ElencoOpzioniTableAdapter" Name="ElencoOpzioni" UserDataComponentName="ElencoOpzioniTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.ElencoOpzioni" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [dbo].[ElencoOpzioni] WHERE (([CodTipo] = @Original_CodTipo) AND ([ordine] = @Original_ordine) AND ((@IsNull_opzione = 1 AND [opzione] IS NULL) OR ([opzione] = @Original_opzione)))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodTipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTipo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ordine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ordine" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_opzione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opzione" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_opzione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opzione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [dbo].[ElencoOpzioni] ([CodTipo], [ordine], [opzione]) VALUES (@CodTipo, @ordine, @opzione);
|
||||
SELECT CodTipo, ordine, opzione FROM ElencoOpzioni WHERE (CodTipo = @CodTipo) AND (ordine = @ordine)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodTipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTipo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ordine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ordine" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opzione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opzione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT CodTipo, ordine, opzione FROM dbo.ElencoOpzioni</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [dbo].[ElencoOpzioni] SET [CodTipo] = @CodTipo, [ordine] = @ordine, [opzione] = @opzione WHERE (([CodTipo] = @Original_CodTipo) AND ([ordine] = @Original_ordine) AND ((@IsNull_opzione = 1 AND [opzione] IS NULL) OR ([opzione] = @Original_opzione)));
|
||||
SELECT CodTipo, ordine, opzione FROM ElencoOpzioni WHERE (CodTipo = @CodTipo) AND (ordine = @ordine)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodTipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTipo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ordine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ordine" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opzione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opzione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodTipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodTipo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ordine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ordine" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_opzione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opzione" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_opzione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opzione" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="CodTipo" DataSetColumn="CodTipo" />
|
||||
<Mapping SourceColumn="ordine" DataSetColumn="ordine" />
|
||||
<Mapping SourceColumn="opzione" DataSetColumn="opzione" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_EO_getByTipo" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByTipo" GetMethodModifier="Public" GetMethodName="getByTipo" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByTipo" UserSourceName="getByTipo">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_EO_getByTipo</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodTipo" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -454,7 +522,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
<xs:element name="DS_utils" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_utils" msprop:Generator_UserDSName="DS_utils">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="v_selFonti" msprop:Generator_TableClassName="v_selFontiDataTable" msprop:Generator_TableVarName="tablev_selFonti" msprop:Generator_RowChangedName="v_selFontiRowChanged" msprop:Generator_TablePropName="v_selFonti" msprop:Generator_RowDeletingName="v_selFontiRowDeleting" msprop:Generator_RowChangingName="v_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFontiRowDeleted" msprop:Generator_RowClassName="v_selFontiRow" msprop:Generator_UserTableName="v_selFonti" msprop:Generator_RowEvArgName="v_selFontiRowChangeEvent">
|
||||
<xs:element name="v_selFonti" msprop:Generator_TableClassName="v_selFontiDataTable" msprop:Generator_TableVarName="tablev_selFonti" msprop:Generator_TablePropName="v_selFonti" msprop:Generator_RowDeletingName="v_selFontiRowDeleting" msprop:Generator_RowChangingName="v_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFontiRowDeleted" msprop:Generator_UserTableName="v_selFonti" msprop:Generator_RowChangedName="v_selFontiRowChanged" msprop:Generator_RowEvArgName="v_selFontiRowChangeEvent" msprop:Generator_RowClassName="v_selFontiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -474,7 +542,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selCommesse" msprop:Generator_TableClassName="v_selCommesseDataTable" msprop:Generator_TableVarName="tablev_selCommesse" msprop:Generator_TablePropName="v_selCommesse" msprop:Generator_RowDeletingName="v_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCommesseRowDeleted" msprop:Generator_UserTableName="v_selCommesse" msprop:Generator_RowChangedName="v_selCommesseRowChanged" msprop:Generator_RowEvArgName="v_selCommesseRowChangeEvent" msprop:Generator_RowClassName="v_selCommesseRow">
|
||||
<xs:element name="v_selCommesse" msprop:Generator_TableClassName="v_selCommesseDataTable" msprop:Generator_TableVarName="tablev_selCommesse" msprop:Generator_RowChangedName="v_selCommesseRowChanged" msprop:Generator_TablePropName="v_selCommesse" msprop:Generator_RowDeletingName="v_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCommesseRowDeleted" msprop:Generator_RowClassName="v_selCommesseRow" msprop:Generator_UserTableName="v_selCommesse" msprop:Generator_RowEvArgName="v_selCommesseRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:string" />
|
||||
@@ -488,7 +556,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selFasi" msprop:Generator_TableClassName="v_selFasiDataTable" msprop:Generator_TableVarName="tablev_selFasi" msprop:Generator_TablePropName="v_selFasi" msprop:Generator_RowDeletingName="v_selFasiRowDeleting" msprop:Generator_RowChangingName="v_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiRowDeleted" msprop:Generator_UserTableName="v_selFasi" msprop:Generator_RowChangedName="v_selFasiRowChanged" msprop:Generator_RowEvArgName="v_selFasiRowChangeEvent" msprop:Generator_RowClassName="v_selFasiRow">
|
||||
<xs:element name="v_selFasi" msprop:Generator_TableClassName="v_selFasiDataTable" msprop:Generator_TableVarName="tablev_selFasi" msprop:Generator_RowChangedName="v_selFasiRowChanged" msprop:Generator_TablePropName="v_selFasi" msprop:Generator_RowDeletingName="v_selFasiRowDeleting" msprop:Generator_RowChangingName="v_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiRowDeleted" msprop:Generator_RowClassName="v_selFasiRow" msprop:Generator_UserTableName="v_selFasi" msprop:Generator_RowEvArgName="v_selFasiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:string" />
|
||||
@@ -502,7 +570,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="files" msprop:Generator_TableClassName="filesDataTable" msprop:Generator_TableVarName="tablefiles" msprop:Generator_RowChangedName="filesRowChanged" msprop:Generator_TablePropName="files" msprop:Generator_RowDeletingName="filesRowDeleting" msprop:Generator_RowChangingName="filesRowChanging" msprop:Generator_RowEvHandlerName="filesRowChangeEventHandler" msprop:Generator_RowDeletedName="filesRowDeleted" msprop:Generator_RowClassName="filesRow" msprop:Generator_UserTableName="files" msprop:Generator_RowEvArgName="filesRowChangeEvent">
|
||||
<xs:element name="files" msprop:Generator_TableClassName="filesDataTable" msprop:Generator_TableVarName="tablefiles" msprop:Generator_TablePropName="files" msprop:Generator_RowDeletingName="filesRowDeleting" msprop:Generator_RowChangingName="filesRowChanging" msprop:Generator_RowEvHandlerName="filesRowChangeEventHandler" msprop:Generator_RowDeletedName="filesRowDeleted" msprop:Generator_UserTableName="files" msprop:Generator_RowChangedName="filesRowChanged" msprop:Generator_RowEvArgName="filesRowChangeEvent" msprop:Generator_RowClassName="filesRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome" type="xs:string" minOccurs="0" />
|
||||
@@ -512,7 +580,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_tbDocs_selCommesse" msprop:Generator_TableClassName="v_tbDocs_selCommesseDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selCommesse" msprop:Generator_TablePropName="v_tbDocs_selCommesse" msprop:Generator_RowDeletingName="v_tbDocs_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selCommesseRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selCommesse" msprop:Generator_RowChangedName="v_tbDocs_selCommesseRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selCommesseRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selCommesseRow">
|
||||
<xs:element name="v_tbDocs_selCommesse" msprop:Generator_TableClassName="v_tbDocs_selCommesseDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selCommesse" msprop:Generator_RowChangedName="v_tbDocs_selCommesseRowChanged" msprop:Generator_TablePropName="v_tbDocs_selCommesse" msprop:Generator_RowDeletingName="v_tbDocs_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selCommesseRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selCommesseRow" msprop:Generator_UserTableName="v_tbDocs_selCommesse" msprop:Generator_RowEvArgName="v_tbDocs_selCommesseRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -532,7 +600,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_tbDocs_selFasi" msprop:Generator_TableClassName="v_tbDocs_selFasiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFasi" msprop:Generator_TablePropName="v_tbDocs_selFasi" msprop:Generator_RowDeletingName="v_tbDocs_selFasiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFasiRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selFasi" msprop:Generator_RowChangedName="v_tbDocs_selFasiRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selFasiRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selFasiRow">
|
||||
<xs:element name="v_tbDocs_selFasi" msprop:Generator_TableClassName="v_tbDocs_selFasiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFasi" msprop:Generator_RowChangedName="v_tbDocs_selFasiRowChanged" msprop:Generator_TablePropName="v_tbDocs_selFasi" msprop:Generator_RowDeletingName="v_tbDocs_selFasiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFasiRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selFasiRow" msprop:Generator_UserTableName="v_tbDocs_selFasi" msprop:Generator_RowEvArgName="v_tbDocs_selFasiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -552,7 +620,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_tbDocs_selFonti" msprop:Generator_TableClassName="v_tbDocs_selFontiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFonti" msprop:Generator_TablePropName="v_tbDocs_selFonti" msprop:Generator_RowDeletingName="v_tbDocs_selFontiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFontiRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selFonti" msprop:Generator_RowChangedName="v_tbDocs_selFontiRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selFontiRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selFontiRow">
|
||||
<xs:element name="v_tbDocs_selFonti" msprop:Generator_TableClassName="v_tbDocs_selFontiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFonti" msprop:Generator_RowChangedName="v_tbDocs_selFontiRowChanged" msprop:Generator_TablePropName="v_tbDocs_selFonti" msprop:Generator_RowDeletingName="v_tbDocs_selFontiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFontiRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selFontiRow" msprop:Generator_UserTableName="v_tbDocs_selFonti" msprop:Generator_RowEvArgName="v_tbDocs_selFontiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -572,7 +640,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_tbDocs_selOggetto" msprop:Generator_TableClassName="v_tbDocs_selOggettoDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selOggetto" msprop:Generator_TablePropName="v_tbDocs_selOggetto" msprop:Generator_RowDeletingName="v_tbDocs_selOggettoRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selOggettoRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selOggettoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selOggettoRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selOggetto" msprop:Generator_RowChangedName="v_tbDocs_selOggettoRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selOggettoRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selOggettoRow">
|
||||
<xs:element name="v_tbDocs_selOggetto" msprop:Generator_TableClassName="v_tbDocs_selOggettoDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selOggetto" msprop:Generator_RowChangedName="v_tbDocs_selOggettoRowChanged" msprop:Generator_TablePropName="v_tbDocs_selOggetto" msprop:Generator_RowDeletingName="v_tbDocs_selOggettoRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selOggettoRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selOggettoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selOggettoRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selOggettoRow" msprop:Generator_UserTableName="v_tbDocs_selOggetto" msprop:Generator_RowEvArgName="v_tbDocs_selOggettoRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -592,7 +660,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selAutori" msprop:Generator_TableClassName="v_selAutoriDataTable" msprop:Generator_TableVarName="tablev_selAutori" msprop:Generator_RowChangedName="v_selAutoriRowChanged" msprop:Generator_TablePropName="v_selAutori" msprop:Generator_RowDeletingName="v_selAutoriRowDeleting" msprop:Generator_RowChangingName="v_selAutoriRowChanging" msprop:Generator_RowEvHandlerName="v_selAutoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selAutoriRowDeleted" msprop:Generator_RowClassName="v_selAutoriRow" msprop:Generator_UserTableName="v_selAutori" msprop:Generator_RowEvArgName="v_selAutoriRowChangeEvent">
|
||||
<xs:element name="v_selAutori" msprop:Generator_TableClassName="v_selAutoriDataTable" msprop:Generator_TableVarName="tablev_selAutori" msprop:Generator_TablePropName="v_selAutori" msprop:Generator_RowDeletingName="v_selAutoriRowDeleting" msprop:Generator_RowChangingName="v_selAutoriRowChanging" msprop:Generator_RowEvHandlerName="v_selAutoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selAutoriRowDeleted" msprop:Generator_UserTableName="v_selAutori" msprop:Generator_RowChangedName="v_selAutoriRowChanged" msprop:Generator_RowEvArgName="v_selAutoriRowChangeEvent" msprop:Generator_RowClassName="v_selAutoriRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -612,7 +680,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="stp_calcolaProtocollo" msprop:Generator_TableClassName="stp_calcolaProtocolloDataTable" msprop:Generator_TableVarName="tablestp_calcolaProtocollo" msprop:Generator_RowChangedName="stp_calcolaProtocolloRowChanged" msprop:Generator_TablePropName="stp_calcolaProtocollo" msprop:Generator_RowDeletingName="stp_calcolaProtocolloRowDeleting" msprop:Generator_RowChangingName="stp_calcolaProtocolloRowChanging" msprop:Generator_RowEvHandlerName="stp_calcolaProtocolloRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_calcolaProtocolloRowDeleted" msprop:Generator_RowClassName="stp_calcolaProtocolloRow" msprop:Generator_UserTableName="stp_calcolaProtocollo" msprop:Generator_RowEvArgName="stp_calcolaProtocolloRowChangeEvent">
|
||||
<xs:element name="stp_calcolaProtocollo" msprop:Generator_TableClassName="stp_calcolaProtocolloDataTable" msprop:Generator_TableVarName="tablestp_calcolaProtocollo" msprop:Generator_TablePropName="stp_calcolaProtocollo" msprop:Generator_RowDeletingName="stp_calcolaProtocolloRowDeleting" msprop:Generator_RowChangingName="stp_calcolaProtocolloRowChanging" msprop:Generator_RowEvHandlerName="stp_calcolaProtocolloRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_calcolaProtocolloRowDeleted" msprop:Generator_UserTableName="stp_calcolaProtocollo" msprop:Generator_RowChangedName="stp_calcolaProtocolloRowChanged" msprop:Generator_RowEvArgName="stp_calcolaProtocolloRowChangeEvent" msprop:Generator_RowClassName="stp_calcolaProtocolloRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Anno" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" minOccurs="0" />
|
||||
@@ -621,7 +689,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selEmailFornitori" msprop:Generator_TableClassName="v_selEmailFornitoriDataTable" msprop:Generator_TableVarName="tablev_selEmailFornitori" msprop:Generator_TablePropName="v_selEmailFornitori" msprop:Generator_RowDeletingName="v_selEmailFornitoriRowDeleting" msprop:Generator_RowChangingName="v_selEmailFornitoriRowChanging" msprop:Generator_RowEvHandlerName="v_selEmailFornitoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selEmailFornitoriRowDeleted" msprop:Generator_UserTableName="v_selEmailFornitori" msprop:Generator_RowChangedName="v_selEmailFornitoriRowChanged" msprop:Generator_RowEvArgName="v_selEmailFornitoriRowChangeEvent" msprop:Generator_RowClassName="v_selEmailFornitoriRow">
|
||||
<xs:element name="v_selEmailFornitori" msprop:Generator_TableClassName="v_selEmailFornitoriDataTable" msprop:Generator_TableVarName="tablev_selEmailFornitori" msprop:Generator_RowChangedName="v_selEmailFornitoriRowChanged" msprop:Generator_TablePropName="v_selEmailFornitori" msprop:Generator_RowDeletingName="v_selEmailFornitoriRowDeleting" msprop:Generator_RowChangingName="v_selEmailFornitoriRowChanging" msprop:Generator_RowEvHandlerName="v_selEmailFornitoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selEmailFornitoriRowDeleted" msprop:Generator_RowClassName="v_selEmailFornitoriRow" msprop:Generator_UserTableName="v_selEmailFornitori" msprop:Generator_RowEvArgName="v_selEmailFornitoriRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="codFornitore" msprop:Generator_ColumnVarNameInTable="columncodFornitore" msprop:Generator_ColumnPropNameInRow="codFornitore" msprop:Generator_ColumnPropNameInTable="codFornitoreColumn" msprop:Generator_UserColumnName="codFornitore">
|
||||
@@ -641,7 +709,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagSuggestTags" msprop:Generator_TableClassName="AnagSuggestTagsDataTable" msprop:Generator_TableVarName="tableAnagSuggestTags" msprop:Generator_RowChangedName="AnagSuggestTagsRowChanged" msprop:Generator_TablePropName="AnagSuggestTags" msprop:Generator_RowDeletingName="AnagSuggestTagsRowDeleting" msprop:Generator_RowChangingName="AnagSuggestTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagSuggestTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSuggestTagsRowDeleted" msprop:Generator_RowClassName="AnagSuggestTagsRow" msprop:Generator_UserTableName="AnagSuggestTags" msprop:Generator_RowEvArgName="AnagSuggestTagsRowChangeEvent">
|
||||
<xs:element name="AnagSuggestTags" msprop:Generator_TableClassName="AnagSuggestTagsDataTable" msprop:Generator_TableVarName="tableAnagSuggestTags" msprop:Generator_TablePropName="AnagSuggestTags" msprop:Generator_RowDeletingName="AnagSuggestTagsRowDeleting" msprop:Generator_RowChangingName="AnagSuggestTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagSuggestTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSuggestTagsRowDeleted" msprop:Generator_UserTableName="AnagSuggestTags" msprop:Generator_RowChangedName="AnagSuggestTagsRowChanged" msprop:Generator_RowEvArgName="AnagSuggestTagsRowChangeEvent" msprop:Generator_RowClassName="AnagSuggestTagsRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="TagAutocomplete" msprop:Generator_ColumnVarNameInTable="columnTagAutocomplete" msprop:Generator_ColumnPropNameInRow="TagAutocomplete" msprop:Generator_ColumnPropNameInTable="TagAutocompleteColumn" msprop:Generator_UserColumnName="TagAutocomplete">
|
||||
@@ -654,7 +722,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_tbDocs_selRedattore" msprop:Generator_TableClassName="v_tbDocs_selRedattoreDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selRedattore" msprop:Generator_TablePropName="v_tbDocs_selRedattore" msprop:Generator_RowDeletingName="v_tbDocs_selRedattoreRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selRedattoreRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selRedattoreRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selRedattoreRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selRedattore" msprop:Generator_RowChangedName="v_tbDocs_selRedattoreRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selRedattoreRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selRedattoreRow">
|
||||
<xs:element name="v_tbDocs_selRedattore" msprop:Generator_TableClassName="v_tbDocs_selRedattoreDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selRedattore" msprop:Generator_RowChangedName="v_tbDocs_selRedattoreRowChanged" msprop:Generator_TablePropName="v_tbDocs_selRedattore" msprop:Generator_RowDeletingName="v_tbDocs_selRedattoreRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selRedattoreRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selRedattoreRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selRedattoreRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selRedattoreRow" msprop:Generator_UserTableName="v_tbDocs_selRedattore" msprop:Generator_RowEvArgName="v_tbDocs_selRedattoreRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
|
||||
@@ -674,7 +742,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selTMD" msprop:Generator_TableClassName="v_selTMDDataTable" msprop:Generator_TableVarName="tablev_selTMD" msprop:Generator_RowChangedName="v_selTMDRowChanged" msprop:Generator_TablePropName="v_selTMD" msprop:Generator_RowDeletingName="v_selTMDRowDeleting" msprop:Generator_RowChangingName="v_selTMDRowChanging" msprop:Generator_RowEvHandlerName="v_selTMDRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTMDRowDeleted" msprop:Generator_RowClassName="v_selTMDRow" msprop:Generator_UserTableName="v_selTMD" msprop:Generator_RowEvArgName="v_selTMDRowChangeEvent">
|
||||
<xs:element name="v_selTMD" msprop:Generator_TableClassName="v_selTMDDataTable" msprop:Generator_TableVarName="tablev_selTMD" msprop:Generator_TablePropName="v_selTMD" msprop:Generator_RowDeletingName="v_selTMDRowDeleting" msprop:Generator_RowChangingName="v_selTMDRowChanging" msprop:Generator_RowEvHandlerName="v_selTMDRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTMDRowDeleted" msprop:Generator_UserTableName="v_selTMD" msprop:Generator_RowChangedName="v_selTMDRowChanged" msprop:Generator_RowEvArgName="v_selTMDRowChangeEvent" msprop:Generator_RowClassName="v_selTMDRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -701,7 +769,7 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selFonti_expl" msprop:Generator_TableClassName="v_selFonti_explDataTable" msprop:Generator_TableVarName="tablev_selFonti_expl" msprop:Generator_TablePropName="v_selFonti_expl" msprop:Generator_RowDeletingName="v_selFonti_explRowDeleting" msprop:Generator_RowChangingName="v_selFonti_explRowChanging" msprop:Generator_RowEvHandlerName="v_selFonti_explRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFonti_explRowDeleted" msprop:Generator_UserTableName="v_selFonti_expl" msprop:Generator_RowChangedName="v_selFonti_explRowChanged" msprop:Generator_RowEvArgName="v_selFonti_explRowChangeEvent" msprop:Generator_RowClassName="v_selFonti_explRow">
|
||||
<xs:element name="v_selFonti_expl" msprop:Generator_TableClassName="v_selFonti_explDataTable" msprop:Generator_TableVarName="tablev_selFonti_expl" msprop:Generator_RowChangedName="v_selFonti_explRowChanged" msprop:Generator_TablePropName="v_selFonti_expl" msprop:Generator_RowDeletingName="v_selFonti_explRowDeleting" msprop:Generator_RowChangingName="v_selFonti_explRowChanging" msprop:Generator_RowEvHandlerName="v_selFonti_explRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFonti_explRowDeleted" msprop:Generator_RowClassName="v_selFonti_explRow" msprop:Generator_UserTableName="v_selFonti_expl" msprop:Generator_RowEvArgName="v_selFonti_explRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
|
||||
@@ -742,6 +810,27 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ElencoOpzioni" msprop:Generator_TableClassName="ElencoOpzioniDataTable" msprop:Generator_TableVarName="tableElencoOpzioni" msprop:Generator_TablePropName="ElencoOpzioni" msprop:Generator_RowDeletingName="ElencoOpzioniRowDeleting" msprop:Generator_RowChangingName="ElencoOpzioniRowChanging" msprop:Generator_RowEvHandlerName="ElencoOpzioniRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoOpzioniRowDeleted" msprop:Generator_UserTableName="ElencoOpzioni" msprop:Generator_RowChangedName="ElencoOpzioniRowChanged" msprop:Generator_RowEvArgName="ElencoOpzioniRowChangeEvent" msprop:Generator_RowClassName="ElencoOpzioniRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodTipo" msprop:Generator_ColumnVarNameInTable="columnCodTipo" msprop:Generator_ColumnPropNameInRow="CodTipo" msprop:Generator_ColumnPropNameInTable="CodTipoColumn" msprop:Generator_UserColumnName="CodTipo">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ordine" msprop:Generator_ColumnVarNameInTable="columnordine" msprop:Generator_ColumnPropNameInRow="ordine" msprop:Generator_ColumnPropNameInTable="ordineColumn" msprop:Generator_UserColumnName="ordine" type="xs:int" />
|
||||
<xs:element name="opzione" msprop:Generator_ColumnVarNameInTable="columnopzione" msprop:Generator_ColumnPropNameInRow="opzione" msprop:Generator_ColumnPropNameInTable="opzioneColumn" msprop:Generator_UserColumnName="opzione" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
@@ -769,5 +858,10 @@ SELECT TagAutocomplete FROM AnagSuggestTags WHERE (TagAutocomplete = @TagAutocom
|
||||
<xs:selector xpath=".//mstns:v_selFonti_expl" />
|
||||
<xs:field xpath="mstns:value" />
|
||||
</xs:unique>
|
||||
<xs:unique name="ElencoOpzioni_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:ElencoOpzioni" />
|
||||
<xs:field xpath="mstns:CodTipo" />
|
||||
<xs:field xpath="mstns:ordine" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -4,23 +4,24 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="20" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="33" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:v_selFonti" ZOrder="15" X="167" Y="206" Height="134" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCommesse" ZOrder="14" X="551" Y="226" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selFasi" ZOrder="13" X="894" Y="226" Height="134" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selCommesse" ZOrder="9" X="141" Y="449" Height="134" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selFasi" ZOrder="8" X="511" Y="462" Height="134" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selFonti" ZOrder="7" X="841" Y="473" Height="134" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selOggetto" ZOrder="11" X="182" Y="672" Height="134" Width="191" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selAutori" ZOrder="10" X="885" Y="653" Height="134" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_calcolaProtocollo" ZOrder="6" X="729" Y="66" Height="130" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="40" />
|
||||
<Shape ID="DesignTable:v_selEmailFornitori" ZOrder="5" X="539" Y="679" Height="134" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagSuggestTags" ZOrder="4" X="187" Y="58" Height="116" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selRedattore" ZOrder="3" X="891" Y="844" Height="134" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selTMD" ZOrder="2" X="178" Y="838" Height="153" Width="178" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:files" ZOrder="12" X="1115" Y="226" Height="125" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:v_selFonti_expl" ZOrder="1" X="1137" Y="536" Height="191" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:v_selFonti" ZOrder="16" X="167" Y="206" Height="134" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selCommesse" ZOrder="15" X="551" Y="226" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selFasi" ZOrder="14" X="894" Y="226" Height="134" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selCommesse" ZOrder="10" X="141" Y="449" Height="134" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selFasi" ZOrder="9" X="511" Y="462" Height="134" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selFonti" ZOrder="8" X="841" Y="473" Height="134" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selOggetto" ZOrder="12" X="182" Y="672" Height="134" Width="191" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selAutori" ZOrder="11" X="885" Y="653" Height="134" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:stp_calcolaProtocollo" ZOrder="7" X="729" Y="62" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selEmailFornitori" ZOrder="6" X="539" Y="679" Height="134" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagSuggestTags" ZOrder="5" X="187" Y="58" Height="116" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:v_tbDocs_selRedattore" ZOrder="4" X="891" Y="844" Height="134" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selTMD" ZOrder="3" X="178" Y="838" Height="153" Width="178" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selFonti_expl" ZOrder="2" X="1137" Y="536" Height="191" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:files" ZOrder="13" X="1115" Y="226" Height="125" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:ElencoOpzioni" ZOrder="1" X="500" Y="838" Height="153" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
@@ -1164,6 +1164,21 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_BAZ_updateQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_BAZ_updateQuery</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Anno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Sett" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxFase" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Allocazione" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
|
||||
@@ -15444,7 +15444,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM d" +
|
||||
@@ -15481,6 +15481,16 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = "dbo.stp_BAZ_updateQuery";
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Allocazione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -15814,6 +15824,58 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int updateQuery(global::System.Nullable<int> Anno, global::System.Nullable<int> Sett, global::System.Nullable<int> idxDipendente, global::System.Nullable<int> idxFase, global::System.Nullable<int> Allocazione) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
||||
if ((Anno.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(Anno.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Sett.HasValue == true)) {
|
||||
command.Parameters[2].Value = ((int)(Sett.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxDipendente.HasValue == true)) {
|
||||
command.Parameters[3].Value = ((int)(idxDipendente.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxFase.HasValue == true)) {
|
||||
command.Parameters[4].Value = ((int)(idxFase.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Allocazione.HasValue == true)) {
|
||||
command.Parameters[5].Value = ((int)(Allocazione.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -108,7 +108,7 @@
|
||||
<DependentUpon>Ds_ProjEts.xsd</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Ds_ProjEts.Designer.cs">
|
||||
<Compile Include="Ds_ProjEts1.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Ds_ProjEts.xsd</DependentUpon>
|
||||
|
||||
@@ -1165,6 +1165,7 @@ div > ul > li > a.selected.menuNav {
|
||||
.cBia {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
height: 30px;
|
||||
}
|
||||
.selCel {
|
||||
border: dashed 2px black;
|
||||
|
||||
@@ -1306,6 +1306,7 @@ div > ul > li > a.selected.menuNav {
|
||||
{
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
height: @altezzaCella;
|
||||
}
|
||||
.selCel
|
||||
{
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
<%@ Register Src="WebUserControls/mod_autocomplete.ascx" TagName="mod_autocomplete" TagPrefix="uc2" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
<script src="Scripts/jquery.helper.js"></script>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
<section class="featured">
|
||||
@@ -14,49 +13,17 @@
|
||||
<h2>Modify this template to jump-start your ASP.NET application.</h2>
|
||||
</hgroup>
|
||||
<p>
|
||||
Test datepicker
|
||||
<uc1:mod_periodoAnalisi ID="mod_periodoAnalisi1" runat="server" />
|
||||
<br />
|
||||
<br />
|
||||
test tabs!
|
||||
<div id="tabs">
|
||||
<ul>
|
||||
<li><a href="#tabs-1">Anagrafica Progetti</a></li>
|
||||
<li><a href="#tabs-2">Dati Commessa</a></li>
|
||||
<li><a href="#tabs-3">Fasi Commessa</a></li>
|
||||
<li><a href="#tabs-4">Fornitori Commessa</a></li>
|
||||
<li><a href="#tabs-5">Riepilogo Commessa</a></li>
|
||||
</ul>
|
||||
<div id="tabs-1" style="padding: -10px;">
|
||||
uno
|
||||
</div>
|
||||
<div id="tabs-2">
|
||||
due
|
||||
</div>
|
||||
<div id="tabs-3">
|
||||
tre
|
||||
</div>
|
||||
<div id="tabs-4">
|
||||
quattro
|
||||
</div>
|
||||
<div id="tabs-5">
|
||||
e cinque
|
||||
</div>
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<div id="dialog-modal" title="Basic modal dialog">
|
||||
<p>Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.</p>
|
||||
</div>
|
||||
|
||||
<uc2:mod_autocomplete ID="mod_autocomplete1" runat="server" ServicePath="Services/WS_data.asmx/CapiCommessa" minCharAutocomplete="0" contextKey="c" textEmWidht="15" />
|
||||
<br />
|
||||
<i>
|
||||
<asp:Label runat="server" ID="lblValore" /></i>
|
||||
<br />
|
||||
|
||||
<asp:Button runat="server" ID="btnApri" Text="Apri dialog" CssClass="openDiag" OnClick="btnApri_Click" />
|
||||
<asp:Label runat="server" ID="lblOut" />
|
||||
</asp:Content>
|
||||
|
||||
@@ -11,12 +11,17 @@ namespace PROJ_ETS
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
mod_autocomplete1.eh_valSelezionato += mod_autocomplete1_eh_valSelezionato;
|
||||
//mod_autocomplete1.eh_valSelezionato += mod_autocomplete1_eh_valSelezionato;
|
||||
}
|
||||
|
||||
private void mod_autocomplete1_eh_valSelezionato(object sender, EventArgs e)
|
||||
{
|
||||
lblValore.Text = string.Format("Valore selezionato:{0}", mod_autocomplete1.valore);
|
||||
//lblValore.Text = string.Format("Valore selezionato:{0}", mod_autocomplete1.valore);
|
||||
}
|
||||
|
||||
protected void btnApri_Click(object sender, EventArgs e)
|
||||
{
|
||||
lblOut.Text = string.Format("Dialog aperto {0:HH:mm:ss}", DateTime.Now);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,30 +13,21 @@ namespace PROJ_ETS {
|
||||
public partial class Test {
|
||||
|
||||
/// <summary>
|
||||
/// mod_periodoAnalisi1 control.
|
||||
/// btnApri control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::PROJ_ETS.WebUserControls.mod_periodoAnalisi mod_periodoAnalisi1;
|
||||
protected global::System.Web.UI.WebControls.Button btnApri;
|
||||
|
||||
/// <summary>
|
||||
/// mod_autocomplete1 control.
|
||||
/// lblOut control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::PROJ_ETS.WebUserControls.mod_autocomplete mod_autocomplete1;
|
||||
|
||||
/// <summary>
|
||||
/// lblValore control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblValore;
|
||||
protected global::System.Web.UI.WebControls.Label lblOut;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
For more information on how to configure your ASP.NET application, please visit
|
||||
http://go.microsoft.com/fwlink/?LinkId=169433
|
||||
@@ -25,8 +25,8 @@
|
||||
<add key="_titoloPagina" value="ETS, gestione Progetti Web" />
|
||||
<add key="appName" value="PROJ-ETS" />
|
||||
<add key="SiteName" value="ETS" />
|
||||
<add key="mainRev" value="0.7" />
|
||||
<add key="minRev" value="192" />
|
||||
<add key="mainRev" value="0.8" />
|
||||
<add key="minRev" value="195" />
|
||||
<add key="stdEmail" value="info@steamware.net" />
|
||||
<add key="_safePages" value="Default.aspx#unauthorized.aspx#forceUser.aspx#login.aspx#test.aspx#Test.aspx" />
|
||||
<!--area gestione auth cookie-->
|
||||
@@ -48,7 +48,8 @@
|
||||
<!--valori default x risorse-->
|
||||
<add key="codTipoRisorsaStd" value="DIS" />
|
||||
<add key="oreBdgtStd" value="1" />
|
||||
<!--gestione colorazione bazaar-->
|
||||
<!--gestione bazaar-->
|
||||
<add key="editPastEnabled" value="true"/>
|
||||
<add key="soglia1" value="10" />
|
||||
<add key="soglia2" value="20" />
|
||||
<add key="soglia3" value="30" />
|
||||
@@ -70,7 +71,7 @@
|
||||
-->
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.5" />
|
||||
<httpRuntime/>
|
||||
<httpRuntime />
|
||||
<globalization uiCulture="it-IT" culture="it-IT" />
|
||||
<pages controlRenderingCompatibilityVersion="4.0">
|
||||
<namespaces>
|
||||
|
||||
@@ -58,6 +58,17 @@
|
||||
changeYear: true,
|
||||
dateFormat: "dd-mm-yy"
|
||||
});
|
||||
$(function () {
|
||||
$("#dialog-modal").dialog({
|
||||
//height: 140,
|
||||
autoOpen: false,
|
||||
//modal: true
|
||||
});
|
||||
});
|
||||
$(".openDiag").click(function () {
|
||||
var dlg = $("#dialog-modal").dialog("open");
|
||||
dlg.parent().appendTo(jQuery("form:first"));
|
||||
});
|
||||
});
|
||||
|
||||
// oggetto da legare all'update parziale ajax x sistemare btns & co
|
||||
@@ -79,6 +90,17 @@
|
||||
dateFormat: "dd-mm-yy"
|
||||
});
|
||||
});
|
||||
$(function () {
|
||||
$("#dialog-modal").dialog({
|
||||
//height: 140,
|
||||
autoOpen: false,
|
||||
//modal: true
|
||||
});
|
||||
});
|
||||
$(".openDiag").click(function () {
|
||||
var dlg = $("#dialog-modal").dialog("open");
|
||||
dlg.parent().appendTo(jQuery("form:first"));
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<%--testata pagina--%>
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
<div class="filtro_1 fontPiccolo ui-corner-all shadowBox" style="white-space: nowrap; height: 2.5em; padding: 4px;">
|
||||
<div class="divSx filtro_2 ui-corner-all" style="padding: 3px; margin-right: 4px; height: 2em;">
|
||||
Anno:
|
||||
<asp:DropDownList runat="server" ID="ddlAnno" DataSourceID="odsYear" DataTextField="n" DataValueField="n">
|
||||
<asp:DropDownList runat="server" ID="ddlAnno" DataSourceID="odsYear" DataTextField="n" DataValueField="n" AutoPostBack="true">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsYear" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="ETS_Data.DS_utilsProjEtsTableAdapters.v_selYearTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="divSx filtro_2 ui-corner-all" style="padding: 3px; margin-right: 4px; height: 2em;">
|
||||
Settimana:
|
||||
<asp:DropDownList runat="server" ID="ddlWeek" DataSourceID="odsWeek" DataTextField="n" DataValueField="n">
|
||||
<asp:DropDownList runat="server" ID="ddlWeek" DataSourceID="odsWeek" DataTextField="n" DataValueField="n" AutoPostBack="true">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsWeek" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="ETS_Data.DS_utilsProjEtsTableAdapters.v_selWeekTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
@@ -69,20 +69,20 @@
|
||||
<asp:Button runat="server" ID="btnAddSelected" CssClass="btnNew" Text="Aggiungi selezionati" OnClick="btnAddSelected_Click" />
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<div class="divSx fontMini ui-corner-all shadowBox" style="text-align: center; padding: 10px 1px; vertical-align:middle;">
|
||||
<div class="divSx fontMini ui-corner-all shadowBox" style="text-align: center; padding: 10px 1px; vertical-align: middle;">
|
||||
|
||||
<div id="dialog-modal" title="Allocazione Settimanale" style="text-align: center; margin: auto;">
|
||||
<asp:Label runat="server" ID="lblAllocazione" AssociatedControlID="txtAllocazione" Text="<u>A</u>llocazione ore [LMMGV]" AccessKey="a" />
|
||||
<asp:TextBox runat="server" ID="txtAllocazione" Text="" TabIndex="0" OnTextChanged="txtAllocazione_TextChanged" />
|
||||
<br />
|
||||
<asp:Button runat="server" ID="btnSalva" Text="Ok" OnClick="btnSalva_Click" />
|
||||
<asp:Button runat="server" ID="btnCancel" Text="Cancel" OnClick="btnCancel_Click" />
|
||||
</div>
|
||||
<asp:Label runat="server" ID="lblOut" />
|
||||
|
||||
<asp:Table runat="server" ID="tblBlocco" Width="100%" CellPadding="0" CellSpacing="0">
|
||||
</asp:Table>
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
<asp:Button runat="server" ID="btnReset" Text="reset" Width="200px" OnClick="btnReset_Click"
|
||||
Visible="false" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearDiv">
|
||||
<p>
|
||||
<b>mancano</b>
|
||||
</p>
|
||||
<ul>
|
||||
<li>editing cella dipendente/comemssa (in testata)</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="clearDiv"></div>
|
||||
|
||||
@@ -16,8 +16,42 @@ namespace PROJ_ETS.WebUserControls
|
||||
public event EventHandler eh_newVal;
|
||||
protected int numDip = 0;
|
||||
protected int numComm = 0;
|
||||
protected int IdxDipSel = 0;
|
||||
protected int IdxFaseSel = 0;
|
||||
protected int IdxDipSel
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
try
|
||||
{
|
||||
answ = utils.obj.IntSessionObj("IdxDipSel");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
utils.obj.setSessionVal("IdxDipSel", value);
|
||||
}
|
||||
}
|
||||
protected int IdxFaseSel
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
try
|
||||
{
|
||||
answ = utils.obj.IntSessionObj("IdxFaseSel");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
utils.obj.setSessionVal("IdxFaseSel", value);
|
||||
}
|
||||
}
|
||||
protected ETS_Data.Type.BazaarRes[,] TabellaRisorse;
|
||||
protected int[] oreTotDip;
|
||||
protected int[] oreTotComm;
|
||||
@@ -26,6 +60,9 @@ namespace PROJ_ETS.WebUserControls
|
||||
protected Ds_ProjEts.BazaarRisorseDataTable tabBaz = new Ds_ProjEts.BazaarRisorseDataTable();
|
||||
protected Ds_ProjEts.BazaarRisorseDataTable tabBazSingle = new Ds_ProjEts.BazaarRisorseDataTable();
|
||||
protected DS_utilsProjEts.v_selCommesseDataTable tabComm = new DS_utilsProjEts.v_selCommesseDataTable();
|
||||
protected Ds_ProjEts.BazaarRisorseRow rigaBaz;
|
||||
protected Ds_ProjEts.DipendentiRow rigaDip;
|
||||
protected DS_utilsProjEts.v_selCommesseRow rigaComm;
|
||||
/// <summary>
|
||||
/// istante corrente
|
||||
/// </summary>
|
||||
@@ -48,6 +85,7 @@ namespace PROJ_ETS.WebUserControls
|
||||
ddlAnno.SelectedValue = adesso.Year.ToString();
|
||||
ddlWeek.SelectedValue = (datario.WeekOfYearISO8601(adesso) + 1).ToString();
|
||||
showPnlAddNewComm(false);
|
||||
lblOut.Text = "";
|
||||
}
|
||||
// carico tabelle: elenco dipendenti (raggruppato x tipo) ed elenco dip in bazaar...
|
||||
tabDip = DataProxy_ProjEts.DP.taDip.GetData();
|
||||
@@ -106,9 +144,6 @@ namespace PROJ_ETS.WebUserControls
|
||||
int totCelle = 0;
|
||||
int idxDip = 0;
|
||||
// recupero il numero di TUTTE le celle
|
||||
Ds_ProjEts.BazaarRisorseRow rigaBaz;
|
||||
Ds_ProjEts.DipendentiRow rigaDip;
|
||||
DS_utilsProjEts.v_selCommesseRow rigaComm;
|
||||
string css = "";
|
||||
string tooltip = "";
|
||||
try
|
||||
@@ -167,7 +202,7 @@ namespace PROJ_ETS.WebUserControls
|
||||
{
|
||||
css = "cTab cOvr";
|
||||
}
|
||||
tooltip = string.Format("{2} / {0} {1}", rigaDip.Cognome, rigaDip.Nome, rigaComm.label.Substring(0, 9));
|
||||
tooltip = string.Format("{2} / {0} {1}", rigaDip.Nome, rigaDip.Cognome, rigaComm.label.Substring(0, 9));
|
||||
TabellaRisorse[pos_x, pos_y] = new ETS_Data.Type.BazaarRes(rigaBaz.SchemaWeek, tooltip, css, rigaBaz.idxDipendente, string.Format("{0} {1}", rigaDip.Nome, rigaDip.Cognome), rigaDip.SIGLA, rigaBaz.idxFase, rigaBaz.SchemaWeek, rigaBaz.OreTot);
|
||||
// aggiorno totali righe/colonne (comemsse/dip)
|
||||
oreTotDip[pos_x] += rigaBaz.OreTot;
|
||||
@@ -232,14 +267,14 @@ namespace PROJ_ETS.WebUserControls
|
||||
//cella!
|
||||
TableCell cell;
|
||||
cell = new TableCell();
|
||||
cell.CssClass = "cBia divDx";
|
||||
cell.CssClass = "cBia";
|
||||
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", tabBazSingle[pos_y].idxFase))[0];
|
||||
if (showOre)
|
||||
{
|
||||
// aggiungo button x fare elemento cliccabile
|
||||
LinkButton lnkbDel = new LinkButton();
|
||||
lnkbDel.ToolTip = string.Format("Click per eliminare commessa {0}", rigaComm.label.Substring(0, 9));
|
||||
lnkbDel.Text = string.Format("{0:0#} h [elimina]", oreTotComm[pos_y]);
|
||||
lnkbDel.Text = string.Format("{0:0##} h [elimina]", oreTotComm[pos_y]);
|
||||
lnkbDel.Click += new EventHandler(lnkbDel_Click);
|
||||
lnkbDel.CommandArgument = rigaComm.value.ToString();
|
||||
lnkbDel.OnClientClick = "return confirm('Confermi eliminazione record?')";
|
||||
@@ -269,7 +304,7 @@ namespace PROJ_ETS.WebUserControls
|
||||
DataProxy_ProjEts.DP.taBaz.deleteByIdxFase(anno, settimana, idxFase);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
{ }
|
||||
doUpdate();
|
||||
}
|
||||
/// <summary>
|
||||
@@ -281,20 +316,15 @@ namespace PROJ_ETS.WebUserControls
|
||||
{
|
||||
LinkButton lnk = (LinkButton)sender;
|
||||
// calcolo i parametri passati
|
||||
#if false
|
||||
string[] valori = SteamWare.StringSplitter.CSplitter.Split(lnk.CommandArgument.ToString(), "#", true, 2, SteamWare.StringSplitter.ComparisonMethod.Text);
|
||||
// setto i valori in sessione
|
||||
IdxCella = Convert.ToInt32(valori[0]);
|
||||
memLayer.ML.setSessionVal("IdxCellaMag", valori[0], false);
|
||||
memLayer.ML.setSessionVal("CodCellaMag", valori[1], false);
|
||||
|
||||
// evento selezione che passa dati al modulo operazioniUdc
|
||||
if (eh_selValore != null)
|
||||
{
|
||||
eh_selValore(this, new EventArgs());
|
||||
}
|
||||
Response.Redirect("~/DettaglioBlocco.aspx");
|
||||
#endif
|
||||
string[] valori = lnk.CommandArgument.ToString().Split('#');
|
||||
// salvo valori
|
||||
IdxDipSel = Convert.ToInt32(valori[0]);
|
||||
IdxFaseSel = Convert.ToInt32(valori[1]);
|
||||
rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select(string.Format("idxDipendente={0} AND idxFase={1}", IdxDipSel, IdxFaseSel))[0];
|
||||
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", IdxDipSel))[0];
|
||||
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", IdxFaseSel))[0];
|
||||
lblOut.Text = string.Format("Edit corrente: {0} {1} / {2} - valore originale {3}", rigaDip.Nome, rigaDip.Cognome, rigaComm.label.Substring(0, 9), rigaBaz.SchemaWeek);
|
||||
doUpdate();
|
||||
}
|
||||
/// <summary>
|
||||
/// esegue il vero plotting della tabella
|
||||
@@ -324,13 +354,13 @@ namespace PROJ_ETS.WebUserControls
|
||||
lnkb.ToolTip = TabellaRisorse[pos_x, pos_y].ToolTip;
|
||||
lnkb.Text = TabellaRisorse[pos_x, pos_y].Label;
|
||||
lnkb.Click += new EventHandler(lnkb_Click);
|
||||
lnkb.CssClass = "openDiag"; // server x far si ceh apra il dialog modale...
|
||||
lnkb.CommandArgument = string.Format("{0}#{1}", TabellaRisorse[pos_x, pos_y].IdxDipendente, TabellaRisorse[pos_x, pos_y].IdxFase);
|
||||
// controllo se la cella è selezionata, nel caso BOLD!
|
||||
if (TabellaRisorse[pos_x, pos_y].IdxDipendente == IdxDipSel && TabellaRisorse[pos_x, pos_y].IdxFase == IdxFaseSel)
|
||||
{
|
||||
cell.CssClass = "selCel";
|
||||
btnReset.Visible = true;
|
||||
}
|
||||
}
|
||||
cell.Controls.Add(lnkb);
|
||||
// carico in cella di tabella il linkButton
|
||||
riga.Cells.Add(cell);
|
||||
@@ -357,6 +387,7 @@ namespace PROJ_ETS.WebUserControls
|
||||
/// <param name="showPnlNew"></param>
|
||||
private void showPnlAddNewComm(bool showPnlNew)
|
||||
{
|
||||
lblOut.Text = "";
|
||||
pnlAddNew.Visible = showPnlNew;
|
||||
if (showPnlNew)
|
||||
{
|
||||
@@ -460,5 +491,39 @@ namespace PROJ_ETS.WebUserControls
|
||||
Response.Redirect("~/DettaglioBlocco.aspx");
|
||||
#endif
|
||||
}
|
||||
|
||||
protected void btnSalva_Click(object sender, EventArgs e)
|
||||
{
|
||||
int allocazione = 0;
|
||||
try
|
||||
{
|
||||
allocazione = Convert.ToInt32(txtAllocazione.Text.Trim());
|
||||
DataProxy_ProjEts.DP.taBaz.updateQuery(anno, settimana, IdxDipSel, IdxFaseSel, allocazione);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
lblOut.Text = "";
|
||||
IdxDipSel = 0;
|
||||
IdxFaseSel = 0;
|
||||
Response.Redirect("Bazaar");
|
||||
}
|
||||
|
||||
protected void btnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
lblOut.Text = "";
|
||||
IdxDipSel = 0;
|
||||
IdxFaseSel = 0;
|
||||
Response.Redirect("Bazaar");
|
||||
}
|
||||
|
||||
protected void txtAllocazione_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
btnSalva.Focus();
|
||||
showPnlAddNewComm(!pnlAddNew.Visible);
|
||||
rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select(string.Format("idxDipendente={0} AND idxFase={1}", IdxDipSel, IdxFaseSel))[0];
|
||||
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", IdxDipSel))[0];
|
||||
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", IdxFaseSel))[0];
|
||||
lblOut.Text = string.Format("Edit corrente: {0} {1} / {2} - valore originale {3}", rigaDip.Nome, rigaDip.Cognome, rigaComm.label.Substring(0, 9), rigaBaz.SchemaWeek);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -111,6 +111,51 @@ namespace PROJ_ETS.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnAddSelected;
|
||||
|
||||
/// <summary>
|
||||
/// lblAllocazione control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblAllocazione;
|
||||
|
||||
/// <summary>
|
||||
/// txtAllocazione control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtAllocazione;
|
||||
|
||||
/// <summary>
|
||||
/// btnSalva control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnSalva;
|
||||
|
||||
/// <summary>
|
||||
/// btnCancel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnCancel;
|
||||
|
||||
/// <summary>
|
||||
/// lblOut control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblOut;
|
||||
|
||||
/// <summary>
|
||||
/// tblBlocco control.
|
||||
/// </summary>
|
||||
@@ -119,14 +164,5 @@ namespace PROJ_ETS.WebUserControls {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Table tblBlocco;
|
||||
|
||||
/// <summary>
|
||||
/// btnReset control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnReset;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>AmplifyJS</id>
|
||||
<version>1.1.0</version>
|
||||
<title>AmplifyJS</title>
|
||||
<authors>http://appendto.com</authors>
|
||||
<owners>http://appendto.com</owners>
|
||||
<licenseUrl>http://amplifyjs.com/</licenseUrl>
|
||||
<projectUrl>http://amplifyjs.com/</projectUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>AmplifyJS solves the following problems: 1. Ajax Request Management - amplify.request provides a clean and elegant request abstraction for all types of data, even allowing for transformation prior to consumption. 2. Client Side Component Communication - amplify.publish/subscribe provides a clean, performant API for component to component communication. 3. Client Side Browser & Mobile Device Storage - amplify.store takes the confusion out of HTML5 localStorage. It doesn't get simpler than using amplify.store(key, data)! It even works flawlessly on mobile devices.</description>
|
||||
<summary>AmplifyJS is a set of components designed to solve common web application problems with a simplistic API.</summary>
|
||||
<language>es-US</language>
|
||||
<tags>javascript jquery html5</tags>
|
||||
<dependencies>
|
||||
<dependency id="jQuery" version="1.4" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
@@ -1,278 +0,0 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
@@ -1,20 +0,0 @@
|
||||
Copyright 2011 appendTo LLC. (http://appendto.com/team)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -1,26 +0,0 @@
|
||||
AmplifyJS 1.1.0
|
||||
http://amplifyjs.com
|
||||
Developed & Maintained by http://appendto.com
|
||||
|
||||
Thank you for downloading AmplifyJS 1.1.0! This folder contains the full distribution of
|
||||
the AmplifyJS library including source and minified versions.
|
||||
|
||||
[Licensing]
|
||||
AmplifyJS is dual licensed under either the MIT or GPL licenses. Both licenses have been included
|
||||
in the AmplifyJS download (and should be in the same folder as this file). View MIT-LICENSE.txt or
|
||||
GPL-LICENSE.txt for further details. Additional licensing questions may be directed to
|
||||
http://appendto.com or contact@appendto.com.
|
||||
|
||||
[Including AmplifyJS In Your Project]
|
||||
- To include all AmplifyJS components : Copy amplify.min.js into the appropriate location such as
|
||||
/js/ and reference it via a <script> tag. This file includes all of the latest versions of the
|
||||
AmplifyJS components. (http://amplifyjs.com/api/). For help in debugging or to use your own
|
||||
compression utility, amplify.js is also provided.
|
||||
|
||||
- To include individual AmplifyJS components : Copy the appropriate /individual/amplify.<component>.min.js
|
||||
into your project and include it with a <script> tag. (Unminified versions are available in the
|
||||
/src/<component> folder).
|
||||
|
||||
For more information about AmplifyJS and the open source community surrounding it, please
|
||||
visit http://amplifyjs.com.
|
||||
|
||||
@@ -1,111 +0,0 @@
|
||||
/// >> amplify.request
|
||||
|
||||
var amplify = {
|
||||
|
||||
request: function( resourceId ) {
|
||||
/// <field name="decoders" type="Object">Decoders allow you to parse an ajax response before calling the success or error callback. This allows you to return data marked with a status and react accordingly. This also allows you to manipulate the data any way you want before passing the data along to the callback.</field>
|
||||
/// <summary>
|
||||
/// Request a resource.
|
||||
/// Additional Signatures:
|
||||
/// 	1. amplify.request( resourceId [, data [, callback ]] )
|
||||
/// 	2. amplify.request( settings* )
|
||||
/// API Reference: http://amplifyjs.com/api/request
|
||||
/// </summary>
|
||||
/// <param name="resourceId" type="String">Identifier string for the resource.</param>
|
||||
/// <param name="data" type="Object" optional="true">An object literal of data to be sent to the resource.</param>
|
||||
/// <param name="callback" type="Function" optional="true">A function to call once the resource has been retrieved.</param>
|
||||
/// <param name="settings*" type="Hash">
|
||||
/// * This parameter is only used with the #2 signature. A set of key/value pairs of settings for the request.
|
||||
/// 	{
|
||||
/// 	resourceId: Identifier string for the resource.
|
||||
/// 		data (optional): Data associated with the request.
|
||||
/// 		success (optional): Function to invoke on success.
|
||||
/// 		error (optional): Function to invoke on error.
|
||||
/// 	}
|
||||
///</param>
|
||||
/// <returns type="Object">An object containing an 'abort' method</returns>
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
// stub for vsdoc
|
||||
amplify.request.decoders = { };
|
||||
|
||||
amplify.request.define = function( resourceId, requestType, settings ) {
|
||||
/// <summary>
|
||||
/// Define a resource.
|
||||
/// Additional Signatures:
|
||||
/// 	1. amplify.request.define( resourceId* , resource* )
|
||||
/// API Reference: http://amplifyjs.com/api/request/#usage
|
||||
/// </summary>
|
||||
/// <param name="resourceId" type="String">Identifier string for the resource.</param>
|
||||
/// <param name="requestType" type="String">The type of data retrieval method from the server. See http://amplifyjs.com/api/request/#request_types for more information.</param>
|
||||
/// <param name="settings" type="Hash">
|
||||
/// A set of key/value pairs that relate to the server communication technology. Any settings found in jQuery.ajax() may be applied to this object.
|
||||
/// 	{
|
||||
/// 		cache: see the http://amplifyjs.com/api/request/#cache for more details.
|
||||
/// 		decoder: see amplify.request.decoders for more details.
|
||||
/// 	}
|
||||
/// </param>
|
||||
/// <param name="resourceId*" type="String">* This parameter is only used with the #1 additional signature. Identifier string for the resource.</param>
|
||||
/// <param name="resource*" type="Function">
|
||||
/// * This parameter is only used with the #1 additional signature. Function to handle requests. Receives a hash with the following properties:
|
||||
/// 	{
|
||||
/// 		resourceId: Identifier string for the resource.
|
||||
/// 		data: Data provided by the user.
|
||||
/// 		success: Callback to invoke on success.
|
||||
/// 		error: Callback to invoke on error.
|
||||
/// 	}
|
||||
/// </param>
|
||||
};
|
||||
|
||||
/// >> amplify.store
|
||||
|
||||
amplify.store = function( key, value, options ) {
|
||||
|
||||
/// <summary>
|
||||
/// Stores a value for a given key using the default storage type.
|
||||
/// Additional Signatures:
|
||||
/// 	1. amplify.store() - Gets a hash of all stored values.
|
||||
/// 	2. amplify.store( string key ) - Gets a stored value based on the key.
|
||||
/// 	3. amplify.store( string key, null ) - Clears key/value pair from the store.
|
||||
/// API Reference: http://amplifyjs.com/api/store
|
||||
/// </summary>
|
||||
/// <param name="key" type="String">Identifier for the value being stored.</param>
|
||||
/// <param name="value" type="Mixed">The value to store. The value can be anything that can be serialized as JSON.</param>
|
||||
/// <param name="options" type="Hash" optional="true">A set of key/value pairs that relate to settings for storing the value.</param>
|
||||
/// <returns type="Object">Depending on the signature used, the method will return the original object/data stored, or undefined.</returns>
|
||||
};
|
||||
|
||||
/// >> amplify.pub/sub
|
||||
|
||||
amplify.subscribe = function( topic, callback ) {
|
||||
/// <summary>
|
||||
/// Subscribe to a message
|
||||
/// Additional Signatures:
|
||||
/// 	1. amplify.subscribe( topic, context, callback )
|
||||
/// 	2. amplify.subscribe( topic, callback, priority )
|
||||
/// 	3. amplify.subscribe( topic, context, callback, priority )
|
||||
/// API Reference: http://amplifyjs.com/api/pubsub
|
||||
/// </summary>
|
||||
/// <param name="topic" type="String">Name of the message to subscribe to.</param>
|
||||
/// <param name="context" type="Object" optional="true">What this will be when the callback is invoked.</param>
|
||||
/// <param name="callback" type="Function">Function to invoke when the message is published.</param>
|
||||
/// <param name="priority" type="Number" optional="true">Priority relative to other subscriptions for the same message. Lower values have higher priority. Default is 10.</param>
|
||||
};
|
||||
|
||||
amplify.unsubscribe = function( topic, callback ) {
|
||||
/// <summary>Remove a subscription.</summary>
|
||||
/// <param name="topic" type="String">The topic being unsubscribed from.</param>
|
||||
/// <param name="callback" type="Function">The callback that was originally subscribed.</param>
|
||||
};
|
||||
|
||||
amplify.publish = function( topic ) {
|
||||
/// <summary>
|
||||
/// Publish a message.
|
||||
/// Any number of additional parameters can be passed to the subscriptions
|
||||
/// API Reference: http://amplifyjs.com/api/pubsub
|
||||
/// </summary>
|
||||
/// <param name="topic" type="String">The name of the message to publish.</param>
|
||||
/// <returns type="Boolean">amplify.publish returns a boolean indicating whether any subscriptions returned false. The return value is true if none of the subscriptions returned false, and false otherwise. Note that only one subscription can return false because doing so will prevent additional subscriptions from being invoked.</returns>
|
||||
};
|
||||
@@ -1,788 +0,0 @@
|
||||
/*!
|
||||
* AmplifyJS 1.1.0 - Core, Store, Request
|
||||
*
|
||||
* Copyright 2011 appendTo LLC. (http://appendto.com/team)
|
||||
* Dual licensed under the MIT or GPL licenses.
|
||||
* http://appendto.com/open-source-licenses
|
||||
*
|
||||
* http://amplifyjs.com
|
||||
*/
|
||||
/*!
|
||||
* Amplify Core 1.1.0
|
||||
*
|
||||
* Copyright 2011 appendTo LLC. (http://appendto.com/team)
|
||||
* Dual licensed under the MIT or GPL licenses.
|
||||
* http://appendto.com/open-source-licenses
|
||||
*
|
||||
* http://amplifyjs.com
|
||||
*/
|
||||
(function( global, undefined ) {
|
||||
|
||||
var slice = [].slice,
|
||||
subscriptions = {};
|
||||
|
||||
var amplify = global.amplify = {
|
||||
publish: function( topic ) {
|
||||
var args = slice.call( arguments, 1 ),
|
||||
topicSubscriptions,
|
||||
subscription,
|
||||
length,
|
||||
i = 0,
|
||||
ret;
|
||||
|
||||
if ( !subscriptions[ topic ] ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
topicSubscriptions = subscriptions[ topic ].slice();
|
||||
for ( length = topicSubscriptions.length; i < length; i++ ) {
|
||||
subscription = topicSubscriptions[ i ];
|
||||
ret = subscription.callback.apply( subscription.context, args );
|
||||
if ( ret === false ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return ret !== false;
|
||||
},
|
||||
|
||||
subscribe: function( topic, context, callback, priority ) {
|
||||
if ( arguments.length === 3 && typeof callback === "number" ) {
|
||||
priority = callback;
|
||||
callback = context;
|
||||
context = null;
|
||||
}
|
||||
if ( arguments.length === 2 ) {
|
||||
callback = context;
|
||||
context = null;
|
||||
}
|
||||
priority = priority || 10;
|
||||
|
||||
var topicIndex = 0,
|
||||
topics = topic.split( /\s/ ),
|
||||
topicLength = topics.length,
|
||||
added;
|
||||
for ( ; topicIndex < topicLength; topicIndex++ ) {
|
||||
topic = topics[ topicIndex ];
|
||||
added = false;
|
||||
if ( !subscriptions[ topic ] ) {
|
||||
subscriptions[ topic ] = [];
|
||||
}
|
||||
|
||||
var i = subscriptions[ topic ].length - 1,
|
||||
subscriptionInfo = {
|
||||
callback: callback,
|
||||
context: context,
|
||||
priority: priority
|
||||
};
|
||||
|
||||
for ( ; i >= 0; i-- ) {
|
||||
if ( subscriptions[ topic ][ i ].priority <= priority ) {
|
||||
subscriptions[ topic ].splice( i + 1, 0, subscriptionInfo );
|
||||
added = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ( !added ) {
|
||||
subscriptions[ topic ].unshift( subscriptionInfo );
|
||||
}
|
||||
}
|
||||
|
||||
return callback;
|
||||
},
|
||||
|
||||
unsubscribe: function( topic, callback ) {
|
||||
if ( !subscriptions[ topic ] ) {
|
||||
return;
|
||||
}
|
||||
|
||||
var length = subscriptions[ topic ].length,
|
||||
i = 0;
|
||||
|
||||
for ( ; i < length; i++ ) {
|
||||
if ( subscriptions[ topic ][ i ].callback === callback ) {
|
||||
subscriptions[ topic ].splice( i, 1 );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}( this ) );
|
||||
/*!
|
||||
* Amplify Store - Persistent Client-Side Storage 1.1.0
|
||||
*
|
||||
* Copyright 2011 appendTo LLC. (http://appendto.com/team)
|
||||
* Dual licensed under the MIT or GPL licenses.
|
||||
* http://appendto.com/open-source-licenses
|
||||
*
|
||||
* http://amplifyjs.com
|
||||
*/
|
||||
(function( amplify, undefined ) {
|
||||
|
||||
var store = amplify.store = function( key, value, options, type ) {
|
||||
var type = store.type;
|
||||
if ( options && options.type && options.type in store.types ) {
|
||||
type = options.type;
|
||||
}
|
||||
return store.types[ type ]( key, value, options || {} );
|
||||
};
|
||||
|
||||
store.types = {};
|
||||
store.type = null;
|
||||
store.addType = function( type, storage ) {
|
||||
if ( !store.type ) {
|
||||
store.type = type;
|
||||
}
|
||||
|
||||
store.types[ type ] = storage;
|
||||
store[ type ] = function( key, value, options ) {
|
||||
options = options || {};
|
||||
options.type = type;
|
||||
return store( key, value, options );
|
||||
};
|
||||
}
|
||||
store.error = function() {
|
||||
return "amplify.store quota exceeded";
|
||||
};
|
||||
|
||||
var rprefix = /^__amplify__/;
|
||||
function createFromStorageInterface( storageType, storage ) {
|
||||
store.addType( storageType, function( key, value, options ) {
|
||||
var storedValue, parsed, i, remove,
|
||||
ret = value,
|
||||
now = (new Date()).getTime();
|
||||
|
||||
if ( !key ) {
|
||||
ret = {};
|
||||
remove = [];
|
||||
i = 0;
|
||||
try {
|
||||
// accessing the length property works around a localStorage bug
|
||||
// in Firefox 4.0 where the keys don't update cross-page
|
||||
// we assign to key just to avoid Closure Compiler from removing
|
||||
// the access as "useless code"
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=662511
|
||||
key = storage.length;
|
||||
|
||||
while ( key = storage.key( i++ ) ) {
|
||||
if ( rprefix.test( key ) ) {
|
||||
parsed = JSON.parse( storage.getItem( key ) );
|
||||
if ( parsed.expires && parsed.expires <= now ) {
|
||||
remove.push( key );
|
||||
} else {
|
||||
ret[ key.replace( rprefix, "" ) ] = parsed.data;
|
||||
}
|
||||
}
|
||||
}
|
||||
while ( key = remove.pop() ) {
|
||||
storage.removeItem( key );
|
||||
}
|
||||
} catch ( error ) {}
|
||||
return ret;
|
||||
}
|
||||
|
||||
// protect against name collisions with direct storage
|
||||
key = "__amplify__" + key;
|
||||
|
||||
if ( value === undefined ) {
|
||||
storedValue = storage.getItem( key );
|
||||
parsed = storedValue ? JSON.parse( storedValue ) : { expires: -1 };
|
||||
if ( parsed.expires && parsed.expires <= now ) {
|
||||
storage.removeItem( key );
|
||||
} else {
|
||||
return parsed.data;
|
||||
}
|
||||
} else {
|
||||
if ( value === null ) {
|
||||
storage.removeItem( key );
|
||||
} else {
|
||||
parsed = JSON.stringify({
|
||||
data: value,
|
||||
expires: options.expires ? now + options.expires : null
|
||||
});
|
||||
try {
|
||||
storage.setItem( key, parsed );
|
||||
// quota exceeded
|
||||
} catch( error ) {
|
||||
// expire old data and try again
|
||||
store[ storageType ]();
|
||||
try {
|
||||
storage.setItem( key, parsed );
|
||||
} catch( error ) {
|
||||
throw store.error();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
});
|
||||
}
|
||||
|
||||
// localStorage + sessionStorage
|
||||
// IE 8+, Firefox 3.5+, Safari 4+, Chrome 4+, Opera 10.5+, iPhone 2+, Android 2+
|
||||
for ( var webStorageType in { localStorage: 1, sessionStorage: 1 } ) {
|
||||
// try/catch for file protocol in Firefox
|
||||
try {
|
||||
if ( window[ webStorageType ].getItem ) {
|
||||
createFromStorageInterface( webStorageType, window[ webStorageType ] );
|
||||
}
|
||||
} catch( e ) {}
|
||||
}
|
||||
|
||||
// globalStorage
|
||||
// non-standard: Firefox 2+
|
||||
// https://developer.mozilla.org/en/dom/storage#globalStorage
|
||||
if ( window.globalStorage ) {
|
||||
// try/catch for file protocol in Firefox
|
||||
try {
|
||||
createFromStorageInterface( "globalStorage",
|
||||
window.globalStorage[ window.location.hostname ] );
|
||||
// Firefox 2.0 and 3.0 have sessionStorage and globalStorage
|
||||
// make sure we default to globalStorage
|
||||
// but don't default to globalStorage in 3.5+ which also has localStorage
|
||||
if ( store.type === "sessionStorage" ) {
|
||||
store.type = "globalStorage";
|
||||
}
|
||||
} catch( e ) {}
|
||||
}
|
||||
|
||||
// userData
|
||||
// non-standard: IE 5+
|
||||
// http://msdn.microsoft.com/en-us/library/ms531424(v=vs.85).aspx
|
||||
(function() {
|
||||
// IE 9 has quirks in userData that are a huge pain
|
||||
// rather than finding a way to detect these quirks
|
||||
// we just don't register userData if we have localStorage
|
||||
if ( store.types.localStorage ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// append to html instead of body so we can do this from the head
|
||||
var div = document.createElement( "div" ),
|
||||
attrKey = "amplify";
|
||||
div.style.display = "none";
|
||||
document.getElementsByTagName( "head" )[ 0 ].appendChild( div );
|
||||
|
||||
// we can't feature detect userData support
|
||||
// so just try and see if it fails
|
||||
// surprisingly, even just adding the behavior isn't enough for a failure
|
||||
// so we need to load the data as well
|
||||
try {
|
||||
div.addBehavior( "#default#userdata" );
|
||||
div.load( attrKey );
|
||||
} catch( e ) {
|
||||
div.parentNode.removeChild( div );
|
||||
return;
|
||||
}
|
||||
|
||||
store.addType( "userData", function( key, value, options ) {
|
||||
div.load( attrKey );
|
||||
var attr, parsed, prevValue, i, remove,
|
||||
ret = value,
|
||||
now = (new Date()).getTime();
|
||||
|
||||
if ( !key ) {
|
||||
ret = {};
|
||||
remove = [];
|
||||
i = 0;
|
||||
while ( attr = div.XMLDocument.documentElement.attributes[ i++ ] ) {
|
||||
parsed = JSON.parse( attr.value );
|
||||
if ( parsed.expires && parsed.expires <= now ) {
|
||||
remove.push( attr.name );
|
||||
} else {
|
||||
ret[ attr.name ] = parsed.data;
|
||||
}
|
||||
}
|
||||
while ( key = remove.pop() ) {
|
||||
div.removeAttribute( key );
|
||||
}
|
||||
div.save( attrKey );
|
||||
return ret;
|
||||
}
|
||||
|
||||
// convert invalid characters to dashes
|
||||
// http://www.w3.org/TR/REC-xml/#NT-Name
|
||||
// simplified to assume the starting character is valid
|
||||
// also removed colon as it is invalid in HTML attribute names
|
||||
key = key.replace( /[^-._0-9A-Za-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u37f-\u1fff\u200c-\u200d\u203f\u2040\u2070-\u218f]/g, "-" );
|
||||
|
||||
if ( value === undefined ) {
|
||||
attr = div.getAttribute( key );
|
||||
parsed = attr ? JSON.parse( attr ) : { expires: -1 };
|
||||
if ( parsed.expires && parsed.expires <= now ) {
|
||||
div.removeAttribute( key );
|
||||
} else {
|
||||
return parsed.data;
|
||||
}
|
||||
} else {
|
||||
if ( value === null ) {
|
||||
div.removeAttribute( key );
|
||||
} else {
|
||||
// we need to get the previous value in case we need to rollback
|
||||
prevValue = div.getAttribute( key );
|
||||
parsed = JSON.stringify({
|
||||
data: value,
|
||||
expires: (options.expires ? (now + options.expires) : null)
|
||||
});
|
||||
div.setAttribute( key, parsed );
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
div.save( attrKey );
|
||||
// quota exceeded
|
||||
} catch ( error ) {
|
||||
// roll the value back to the previous value
|
||||
if ( prevValue === null ) {
|
||||
div.removeAttribute( key );
|
||||
} else {
|
||||
div.setAttribute( key, prevValue );
|
||||
}
|
||||
|
||||
// expire old data and try again
|
||||
store.userData();
|
||||
try {
|
||||
div.setAttribute( key, parsed );
|
||||
div.save( attrKey );
|
||||
} catch ( error ) {
|
||||
// roll the value back to the previous value
|
||||
if ( prevValue === null ) {
|
||||
div.removeAttribute( key );
|
||||
} else {
|
||||
div.setAttribute( key, prevValue );
|
||||
}
|
||||
throw store.error();
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
});
|
||||
}() );
|
||||
|
||||
// in-memory storage
|
||||
// fallback for all browsers to enable the API even if we can't persist data
|
||||
(function() {
|
||||
var memory = {},
|
||||
timeout = {};
|
||||
|
||||
function copy( obj ) {
|
||||
return obj === undefined ? undefined : JSON.parse( JSON.stringify( obj ) );
|
||||
}
|
||||
|
||||
store.addType( "memory", function( key, value, options ) {
|
||||
if ( !key ) {
|
||||
return copy( memory );
|
||||
}
|
||||
|
||||
if ( value === undefined ) {
|
||||
return copy( memory[ key ] );
|
||||
}
|
||||
|
||||
if ( timeout[ key ] ) {
|
||||
clearTimeout( timeout[ key ] );
|
||||
delete timeout[ key ];
|
||||
}
|
||||
|
||||
if ( value === null ) {
|
||||
delete memory[ key ];
|
||||
return null;
|
||||
}
|
||||
|
||||
memory[ key ] = value;
|
||||
if ( options.expires ) {
|
||||
timeout[ key ] = setTimeout(function() {
|
||||
delete memory[ key ];
|
||||
delete timeout[ key ];
|
||||
}, options.expires );
|
||||
}
|
||||
|
||||
return value;
|
||||
});
|
||||
}() );
|
||||
|
||||
}( this.amplify = this.amplify || {} ) );
|
||||
/*!
|
||||
* Amplify Request 1.1.0
|
||||
*
|
||||
* Copyright 2011 appendTo LLC. (http://appendto.com/team)
|
||||
* Dual licensed under the MIT or GPL licenses.
|
||||
* http://appendto.com/open-source-licenses
|
||||
*
|
||||
* http://amplifyjs.com
|
||||
*/
|
||||
(function( amplify, undefined ) {
|
||||
|
||||
function noop() {}
|
||||
function isFunction( obj ) {
|
||||
return ({}).toString.call( obj ) === "[object Function]";
|
||||
}
|
||||
|
||||
function async( fn ) {
|
||||
var isAsync = false;
|
||||
setTimeout(function() {
|
||||
isAsync = true;
|
||||
}, 1 );
|
||||
return function() {
|
||||
var that = this,
|
||||
args = arguments;
|
||||
if ( isAsync ) {
|
||||
fn.apply( that, args );
|
||||
} else {
|
||||
setTimeout(function() {
|
||||
fn.apply( that, args );
|
||||
}, 1 );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
amplify.request = function( resourceId, data, callback ) {
|
||||
// default to an empty hash just so we can handle a missing resourceId
|
||||
// in one place
|
||||
var settings = resourceId || {};
|
||||
|
||||
if ( typeof settings === "string" ) {
|
||||
if ( isFunction( data ) ) {
|
||||
callback = data;
|
||||
data = {};
|
||||
}
|
||||
settings = {
|
||||
resourceId: resourceId,
|
||||
data: data || {},
|
||||
success: callback
|
||||
};
|
||||
}
|
||||
|
||||
var request = { abort: noop },
|
||||
resource = amplify.request.resources[ settings.resourceId ],
|
||||
success = settings.success || noop,
|
||||
error = settings.error || noop;
|
||||
settings.success = async( function( data, status ) {
|
||||
status = status || "success";
|
||||
amplify.publish( "request.success", settings, data, status );
|
||||
amplify.publish( "request.complete", settings, data, status );
|
||||
success( data, status );
|
||||
});
|
||||
settings.error = async( function( data, status ) {
|
||||
status = status || "error";
|
||||
amplify.publish( "request.error", settings, data, status );
|
||||
amplify.publish( "request.complete", settings, data, status );
|
||||
error( data, status );
|
||||
});
|
||||
|
||||
if ( !resource ) {
|
||||
if ( !settings.resourceId ) {
|
||||
throw "amplify.request: no resourceId provided";
|
||||
}
|
||||
throw "amplify.request: unknown resourceId: " + settings.resourceId;
|
||||
}
|
||||
|
||||
if ( !amplify.publish( "request.before", settings ) ) {
|
||||
settings.error( null, "abort" );
|
||||
return;
|
||||
}
|
||||
|
||||
amplify.request.resources[ settings.resourceId ]( settings, request );
|
||||
return request;
|
||||
};
|
||||
|
||||
amplify.request.types = {};
|
||||
amplify.request.resources = {};
|
||||
amplify.request.define = function( resourceId, type, settings ) {
|
||||
if ( typeof type === "string" ) {
|
||||
if ( !( type in amplify.request.types ) ) {
|
||||
throw "amplify.request.define: unknown type: " + type;
|
||||
}
|
||||
|
||||
settings.resourceId = resourceId;
|
||||
amplify.request.resources[ resourceId ] =
|
||||
amplify.request.types[ type ]( settings );
|
||||
} else {
|
||||
// no pre-processor or settings for one-off types (don't invoke)
|
||||
amplify.request.resources[ resourceId ] = type;
|
||||
}
|
||||
};
|
||||
|
||||
}( amplify ) );
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
(function( amplify, $, undefined ) {
|
||||
|
||||
var xhrProps = [ "status", "statusText", "responseText", "responseXML", "readyState" ],
|
||||
rurlData = /\{([^\}]+)\}/g;
|
||||
|
||||
amplify.request.types.ajax = function( defnSettings ) {
|
||||
defnSettings = $.extend({
|
||||
type: "GET"
|
||||
}, defnSettings );
|
||||
|
||||
return function( settings, request ) {
|
||||
var xhr,
|
||||
url = defnSettings.url,
|
||||
abort = request.abort,
|
||||
ajaxSettings = $.extend( true, {}, defnSettings, { data: settings.data } ),
|
||||
aborted = false,
|
||||
ampXHR = {
|
||||
readyState: 0,
|
||||
setRequestHeader: function( name, value ) {
|
||||
return xhr.setRequestHeader( name, value );
|
||||
},
|
||||
getAllResponseHeaders: function() {
|
||||
return xhr.getAllResponseHeaders();
|
||||
},
|
||||
getResponseHeader: function( key ) {
|
||||
return xhr.getResponseHeader( key );
|
||||
},
|
||||
overrideMimeType: function( type ) {
|
||||
return xhr.overrideMideType( type );
|
||||
},
|
||||
abort: function() {
|
||||
aborted = true;
|
||||
try {
|
||||
xhr.abort();
|
||||
// IE 7 throws an error when trying to abort
|
||||
} catch( e ) {}
|
||||
handleResponse( null, "abort" );
|
||||
},
|
||||
success: function( data, status ) {
|
||||
settings.success( data, status );
|
||||
},
|
||||
error: function( data, status ) {
|
||||
settings.error( data, status );
|
||||
}
|
||||
};
|
||||
|
||||
amplify.publish( "request.ajax.preprocess",
|
||||
defnSettings, settings, ajaxSettings, ampXHR );
|
||||
|
||||
$.extend( ajaxSettings, {
|
||||
success: function( data, status ) {
|
||||
handleResponse( data, status );
|
||||
},
|
||||
error: function( _xhr, status ) {
|
||||
handleResponse( null, status );
|
||||
},
|
||||
beforeSend: function( _xhr, _ajaxSettings ) {
|
||||
xhr = _xhr;
|
||||
ajaxSettings = _ajaxSettings;
|
||||
var ret = defnSettings.beforeSend ?
|
||||
defnSettings.beforeSend.call( this, ampXHR, ajaxSettings ) : true;
|
||||
return ret && amplify.publish( "request.before.ajax",
|
||||
defnSettings, settings, ajaxSettings, ampXHR );
|
||||
}
|
||||
});
|
||||
$.ajax( ajaxSettings );
|
||||
|
||||
function handleResponse( data, status ) {
|
||||
$.each( xhrProps, function( i, key ) {
|
||||
try {
|
||||
ampXHR[ key ] = xhr[ key ];
|
||||
} catch( e ) {}
|
||||
});
|
||||
// Playbook returns "HTTP/1.1 200 OK"
|
||||
// TODO: something also returns "OK", what?
|
||||
if ( /OK$/.test( ampXHR.statusText ) ) {
|
||||
ampXHR.statusText = "success";
|
||||
}
|
||||
if ( data === undefined ) {
|
||||
// TODO: add support for ajax errors with data
|
||||
data = null;
|
||||
}
|
||||
if ( aborted ) {
|
||||
status = "abort";
|
||||
}
|
||||
if ( /timeout|error|abort/.test( status ) ) {
|
||||
ampXHR.error( data, status );
|
||||
} else {
|
||||
ampXHR.success( data, status );
|
||||
}
|
||||
// avoid handling a response multiple times
|
||||
// this can happen if a request is aborted
|
||||
// TODO: figure out if this breaks polling or multi-part responses
|
||||
handleResponse = $.noop;
|
||||
}
|
||||
|
||||
request.abort = function() {
|
||||
ampXHR.abort();
|
||||
abort.call( this );
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
amplify.subscribe( "request.ajax.preprocess", function( defnSettings, settings, ajaxSettings ) {
|
||||
var mappedKeys = [],
|
||||
data = ajaxSettings.data;
|
||||
|
||||
if ( typeof data === "string" ) {
|
||||
return;
|
||||
}
|
||||
|
||||
data = $.extend( true, {}, defnSettings.data, data );
|
||||
|
||||
ajaxSettings.url = ajaxSettings.url.replace( rurlData, function ( m, key ) {
|
||||
if ( key in data ) {
|
||||
mappedKeys.push( key );
|
||||
return data[ key ];
|
||||
}
|
||||
});
|
||||
|
||||
// We delete the keys later so duplicates are still replaced
|
||||
$.each( mappedKeys, function ( i, key ) {
|
||||
delete data[ key ];
|
||||
});
|
||||
|
||||
ajaxSettings.data = data;
|
||||
});
|
||||
|
||||
|
||||
|
||||
amplify.subscribe( "request.ajax.preprocess", function( defnSettings, settings, ajaxSettings ) {
|
||||
var data = ajaxSettings.data,
|
||||
dataMap = defnSettings.dataMap;
|
||||
|
||||
if ( !dataMap || typeof data === "string" ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( $.isFunction( dataMap ) ) {
|
||||
ajaxSettings.data = dataMap( data );
|
||||
} else {
|
||||
$.each( defnSettings.dataMap, function( orig, replace ) {
|
||||
if ( orig in data ) {
|
||||
data[ replace ] = data[ orig ];
|
||||
delete data[ orig ];
|
||||
}
|
||||
});
|
||||
ajaxSettings.data = data;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
var cache = amplify.request.cache = {
|
||||
_key: function( resourceId, url, data ) {
|
||||
data = url + data;
|
||||
var length = data.length,
|
||||
i = 0,
|
||||
checksum = chunk();
|
||||
|
||||
while ( i < length ) {
|
||||
checksum ^= chunk();
|
||||
}
|
||||
|
||||
function chunk() {
|
||||
return data.charCodeAt( i++ ) << 24 |
|
||||
data.charCodeAt( i++ ) << 16 |
|
||||
data.charCodeAt( i++ ) << 8 |
|
||||
data.charCodeAt( i++ ) << 0;
|
||||
}
|
||||
|
||||
return "request-" + resourceId + "-" + checksum;
|
||||
},
|
||||
|
||||
_default: (function() {
|
||||
var memoryStore = {};
|
||||
return function( resource, settings, ajaxSettings, ampXHR ) {
|
||||
// data is already converted to a string by the time we get here
|
||||
var cacheKey = cache._key( settings.resourceId,
|
||||
ajaxSettings.url, ajaxSettings.data ),
|
||||
duration = resource.cache;
|
||||
|
||||
if ( cacheKey in memoryStore ) {
|
||||
ampXHR.success( memoryStore[ cacheKey ] );
|
||||
return false;
|
||||
}
|
||||
var success = ampXHR.success;
|
||||
ampXHR.success = function( data ) {
|
||||
memoryStore[ cacheKey ] = data;
|
||||
if ( typeof duration === "number" ) {
|
||||
setTimeout(function() {
|
||||
delete memoryStore[ cacheKey ];
|
||||
}, duration );
|
||||
}
|
||||
success.apply( this, arguments );
|
||||
};
|
||||
};
|
||||
}())
|
||||
};
|
||||
|
||||
if ( amplify.store ) {
|
||||
$.each( amplify.store.types, function( type ) {
|
||||
cache[ type ] = function( resource, settings, ajaxSettings, ampXHR ) {
|
||||
var cacheKey = cache._key( settings.resourceId,
|
||||
ajaxSettings.url, ajaxSettings.data ),
|
||||
cached = amplify.store[ type ]( cacheKey );
|
||||
|
||||
if ( cached ) {
|
||||
ajaxSettings.success( cached );
|
||||
return false;
|
||||
}
|
||||
var success = ampXHR.success;
|
||||
ampXHR.success = function( data ) {
|
||||
amplify.store[ type ]( cacheKey, data, { expires: resource.cache.expires } );
|
||||
success.apply( this, arguments );
|
||||
};
|
||||
};
|
||||
});
|
||||
cache.persist = cache[ amplify.store.type ];
|
||||
}
|
||||
|
||||
amplify.subscribe( "request.before.ajax", function( resource ) {
|
||||
var cacheType = resource.cache;
|
||||
if ( cacheType ) {
|
||||
// normalize between objects and strings/booleans/numbers
|
||||
cacheType = cacheType.type || cacheType;
|
||||
return cache[ cacheType in cache ? cacheType : "_default" ]
|
||||
.apply( this, arguments );
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
amplify.request.decoders = {
|
||||
// http://labs.omniti.com/labs/jsend
|
||||
jsend: function( data, status, ampXHR, success, error ) {
|
||||
if ( data.status === "success" ) {
|
||||
success( data.data );
|
||||
} else if ( data.status === "fail" ) {
|
||||
error( data.data, "fail" );
|
||||
} else if ( data.status === "error" ) {
|
||||
delete data.status;
|
||||
error( data, "error" );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
amplify.subscribe( "request.before.ajax", function( resource, settings, ajaxSettings, ampXHR ) {
|
||||
var _success = ampXHR.success,
|
||||
_error = ampXHR.error,
|
||||
decoder = $.isFunction( resource.decoder )
|
||||
? resource.decoder
|
||||
: resource.decoder in amplify.request.decoders
|
||||
? amplify.request.decoders[ resource.decoder ]
|
||||
: amplify.request.decoders._default;
|
||||
|
||||
if ( !decoder ) {
|
||||
return;
|
||||
}
|
||||
|
||||
function success( data, status ) {
|
||||
_success( data, status );
|
||||
}
|
||||
function error( data, status ) {
|
||||
_error( data, status );
|
||||
}
|
||||
ampXHR.success = function( data, status ) {
|
||||
decoder( data, status, ampXHR, success, error );
|
||||
};
|
||||
ampXHR.error = function( data, status ) {
|
||||
decoder( data, status, ampXHR, success, error );
|
||||
};
|
||||
});
|
||||
|
||||
}( amplify, jQuery ) );
|
||||
@@ -1,59 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>JuiceUI</id>
|
||||
<version>1.1.1</version>
|
||||
<title>Juice UI</title>
|
||||
<authors>appendTo</authors>
|
||||
<owners>appendTo</owners>
|
||||
<projectUrl>http://juiceui.com/</projectUrl>
|
||||
<iconUrl>http://juiceui.com/images/nuget-juice-icon.png</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>Juice UI – Supercharge ASP.NET Web Forms with jQuery UI</description>
|
||||
<releaseNotes>1.1.1
|
||||
• This is a version marker purely because NuGet won't allow overwriting packages. All updates included in the 1.1 changeset are included in v1.1.1.
|
||||
1.1
|
||||
• Added support for jQuery UI 1.9.
|
||||
• Added menu widget Control
|
||||
• Added spinner widget Control
|
||||
• Added tooltip widget Control
|
||||
• Updated control events and properties in accordance with the jQuery UI 1.9 Upgrade Guide (http://stage.jqueryui.com/upgrade-guide/1.9/)
|
||||
• Updated the Fresh-Squeezed theme
|
||||
• Updated the Supercharged theme
|
||||
|
||||
1.0.1
|
||||
• Fixes the initial path set by JuiceApp.cs.
|
||||
|
||||
1.0
|
||||
• Updated the jQuery package reference to 1.8.2.
|
||||
|
||||
0.9.2.1
|
||||
• Fixes the initial path set by JuiceApp.cs.
|
||||
• Updated the jQuery UI package reference to 1.8.23.
|
||||
|
||||
0.9.2
|
||||
• Added AutoPostBack option to the Droppable Drop event.
|
||||
• Added AutoPostBack option to the Draggable Drag event.
|
||||
• Added FindControl method to the TabPage control.
|
||||
• Added FindControl method to the AccordionPanel control.
|
||||
• Fixed AutoPostBack for JuiceExtender controls.
|
||||
|
||||
0.9.1.1
|
||||
• JuiceUI assembly is now signed.
|
||||
|
||||
0.9.1
|
||||
• Improved data/options conversion.
|
||||
• Improved event handling and error correction.
|
||||
• Support for buttongroup.
|
||||
• Support for nested controls and extending Juice UI controls with Juice UI.</releaseNotes>
|
||||
<copyright />
|
||||
<language />
|
||||
<tags>ASP.NET WebForms jQuery jQueryUI Plugins Controls Ajax</tags>
|
||||
<dependencies>
|
||||
<dependency id="jQuery" version="1.8.2" />
|
||||
<dependency id="jQuery.UI.Combined" version="1.9.0" />
|
||||
<dependency id="json2" />
|
||||
<dependency id="AmplifyJS" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 183 B |
|
Before Width: | Height: | Size: 211 B |
|
Before Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 168 B |
|
Before Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 121 B |
|
Before Width: | Height: | Size: 139 B |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
@@ -1,458 +0,0 @@
|
||||
/*! jQuery UI - v1.9.0 - 2012-10-12
|
||||
* http://jqueryui.com
|
||||
* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=c9c9c9&bgTextureHeader=07_diagonals_small.png&bgImgOpacityHeader=25&borderColorHeader=8f8f8f&fcHeader=4f4f4f&iconColorHeader=16837f&bgColorContent=f1eeee&bgTextureContent=01_flat.png&bgImgOpacityContent=100&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=59c9c0&bgTextureDefault=03_highlight_soft.png&bgImgOpacityDefault=75&borderColorDefault=2e9da3&fcDefault=404040&iconColorDefault=186764&bgColorHover=d8ff94&bgTextureHover=03_highlight_soft.png&bgImgOpacityHover=75&borderColorHover=76b74e&fcHover=046c35&iconColorHover=454545&bgColorActive=f7e17d&bgTextureActive=03_highlight_soft.png&bgImgOpacityActive=50&borderColorActive=da942b&fcActive=684418&iconColorActive=834916&bgColorHighlight=e9f245&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=65&borderColorHighlight=c2bf14&fcHighlight=585319&iconColorHighlight=2e83ff&bgColorError=f46f5d&bgTextureError=05_inset_soft.png&bgImgOpacityError=95&borderColorError=ec6622&fcError=9f1d1d&iconColorError=9f1d1d&bgColorOverlay=313f3c&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=40&bgColorShadow=4d4d4d&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=70&thicknessShadow=6px&offsetTopShadow=-6px&offsetLeftShadow=-6px&cornerRadiusShadow=8px
|
||||
* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
|
||||
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden { display: none; }
|
||||
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
||||
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
||||
.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
|
||||
.ui-helper-clearfix:after { clear: both; }
|
||||
.ui-helper-clearfix { zoom: 1; }
|
||||
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled { cursor: default !important; }
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
||||
.ui-resizable { position: relative;}
|
||||
.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
|
||||
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
||||
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
|
||||
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
|
||||
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
|
||||
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
|
||||
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
||||
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
||||
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
||||
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
||||
.ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; margin-top: 2px; padding: .5em .5em .5em .7em; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-icons { padding-left: 2.2em; }
|
||||
.ui-accordion .ui-accordion-noicons { padding-left: .7em; }
|
||||
.ui-accordion .ui-accordion-icons .ui-accordion-icons { padding-left: 2.2em; }
|
||||
.ui-accordion .ui-accordion-header .ui-accordion-header-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
||||
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; zoom: 1; }
|
||||
.ui-autocomplete { position: absolute; cursor: default; }
|
||||
|
||||
/* workarounds */
|
||||
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
||||
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
|
||||
.ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active { text-decoration: none; }
|
||||
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
||||
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
||||
.ui-button-icons-only { width: 3.4em; }
|
||||
button.ui-button-icons-only { width: 3.7em; }
|
||||
|
||||
/*button text element */
|
||||
.ui-button .ui-button-text { display: block; line-height: 1.4; }
|
||||
.ui-button-text-only .ui-button-text { padding: .4em 1em; }
|
||||
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
|
||||
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
|
||||
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
|
||||
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
||||
/* no icon support for input elements, provide padding by default */
|
||||
input.ui-button { padding: .4em 1em; }
|
||||
|
||||
/*button icon element(s) */
|
||||
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
||||
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
||||
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
||||
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||
|
||||
/*button sets*/
|
||||
.ui-buttonset { margin-right: 7px; }
|
||||
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
||||
|
||||
/* workarounds */
|
||||
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
||||
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
|
||||
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
||||
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
||||
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
||||
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
||||
.ui-datepicker .ui-datepicker-next { right:2px; }
|
||||
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
||||
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
||||
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
||||
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
||||
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
||||
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
||||
.ui-datepicker select.ui-datepicker-month,
|
||||
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
||||
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
||||
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
||||
.ui-datepicker td { border: 0; padding: 1px; }
|
||||
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
||||
|
||||
/* with multiple calendars */
|
||||
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
||||
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
||||
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
||||
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
||||
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
||||
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
||||
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
||||
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
|
||||
|
||||
/* RTL support */
|
||||
.ui-datepicker-rtl { direction: rtl; }
|
||||
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
||||
|
||||
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
||||
.ui-datepicker-cover {
|
||||
position: absolute; /*must have*/
|
||||
z-index: -1; /*must have*/
|
||||
filter: mask(); /*must have*/
|
||||
top: -4px; /*must have*/
|
||||
left: -4px; /*must have*/
|
||||
width: 200px; /*must have*/
|
||||
height: 200px; /*must have*/
|
||||
}.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
|
||||
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
|
||||
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
|
||||
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
||||
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
||||
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
||||
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
||||
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
||||
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
||||
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
||||
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
||||
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
||||
.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; outline: none; }
|
||||
.ui-menu .ui-menu { margin-top: -3px; position: absolute; }
|
||||
.ui-menu .ui-menu-item { margin: 0; padding: 0; zoom: 1; width: 100%; }
|
||||
.ui-menu .ui-menu-divider { margin: 5px -2px 5px -2px; height: 0; font-size: 0; line-height: 0; border-width: 1px 0 0 0; }
|
||||
.ui-menu .ui-menu-item a { text-decoration: none; display: block; padding: 2px .4em; line-height: 1.5; zoom: 1; font-weight: normal; }
|
||||
.ui-menu .ui-menu-item a.ui-state-focus,
|
||||
.ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; }
|
||||
|
||||
.ui-menu .ui-state-disabled { font-weight: normal; margin: .4em 0 .2em; line-height: 1.5; }
|
||||
.ui-menu .ui-state-disabled a { cursor: default; }
|
||||
|
||||
/* icon support */
|
||||
.ui-menu-icons { position: relative; }
|
||||
.ui-menu-icons .ui-menu-item a { position: relative; padding-left: 2em; }
|
||||
|
||||
/* left-aligned */
|
||||
.ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; }
|
||||
|
||||
/* right-aligned */
|
||||
.ui-menu .ui-menu-icon { position: static; float: right; }
|
||||
.ui-progressbar { height:2em; text-align: left; overflow: hidden; }
|
||||
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }.ui-slider { position: relative; text-align: left; }
|
||||
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
||||
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
||||
|
||||
.ui-slider-horizontal { height: .8em; }
|
||||
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
||||
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
||||
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
||||
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
||||
|
||||
.ui-slider-vertical { width: .8em; height: 100px; }
|
||||
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
||||
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
||||
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
||||
.ui-slider-vertical .ui-slider-range-max { top: 0; }.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; }
|
||||
.ui-spinner-input { border: none; background: none; padding: 0; margin: .2em 0; vertical-align: middle; margin-left: .4em; margin-right: 22px; }
|
||||
.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; z-index: 100; text-align: center; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; }
|
||||
.ui-spinner a.ui-spinner-button { border-top: none; border-bottom: none; border-right: none; } /* more specificity required here to overide default borders */
|
||||
.ui-spinner .ui-icon { position: absolute; margin-top: -8px; top: 50%; left: 0; } /* vertical centre icon */
|
||||
.ui-spinner-up { top: 0; }
|
||||
.ui-spinner-down { bottom: 0; }
|
||||
|
||||
/* TR overrides */
|
||||
span.ui-spinner { background: none; }
|
||||
.ui-spinner .ui-icon-triangle-1-s {
|
||||
/* need to fix icons sprite */
|
||||
background-position:-65px -16px;
|
||||
}
|
||||
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
||||
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
||||
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 0; margin: 1px .2em 0 0; border-bottom: 0; padding: 0; white-space: nowrap; }
|
||||
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-active { margin-bottom: -1px; padding-bottom: 1px; }
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-active a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-tabs-loading a { cursor: text; }
|
||||
.ui-tabs .ui-tabs-nav li a, .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
||||
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
|
||||
.ui-tooltip {
|
||||
padding:8px;
|
||||
position:absolute;
|
||||
z-index:9999;
|
||||
-o-box-shadow: 0 0 5px #aaa;
|
||||
-moz-box-shadow: 0 0 5px #aaa;
|
||||
-webkit-box-shadow: 0 0 5px #aaa;
|
||||
box-shadow: 0 0 5px #aaa;
|
||||
}
|
||||
/* Fades and background-images don't work well together in IE6, drop the image */
|
||||
* html .ui-tooltip {
|
||||
background-image: none;
|
||||
}
|
||||
body .ui-tooltip { border-width:2px; }
|
||||
|
||||
/* Component containers
|
||||
----------------------------------*/
|
||||
.ui-widget { font-family: sans-serif; font-size: 1.1em; }
|
||||
.ui-widget .ui-widget { font-size: 1em; }
|
||||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: sans-serif; font-size: 1em; }
|
||||
.ui-widget-content { border: 1px solid #aaaaaa; background: #f1eeee url(images/ui-bg_flat_100_f1eeee_40x100.png) 50% 50% repeat-x; color: #222222; }
|
||||
.ui-widget-content a { color: #222222; }
|
||||
.ui-widget-header { border: 1px solid #8f8f8f; background: #c9c9c9 url(images/ui-bg_diagonals-small_25_c9c9c9_40x40.png) 50% 50% repeat; color: #4f4f4f; font-weight: bold; }
|
||||
.ui-widget-header a { color: #4f4f4f; }
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #2e9da3; background: #59c9c0 url(images/ui-bg_highlight-soft_75_59c9c0_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #404040; }
|
||||
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #404040; text-decoration: none; }
|
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #76b74e; background: #d8ff94 url(images/ui-bg_highlight-soft_75_d8ff94_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #046c35; }
|
||||
.ui-state-hover a, .ui-state-hover a:hover { color: #046c35; text-decoration: none; }
|
||||
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #da942b; background: #f7e17d url(images/ui-bg_highlight-soft_50_f7e17d_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #684418; }
|
||||
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #684418; text-decoration: none; }
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #c2bf14; background: #e9f245 url(images/ui-bg_highlight-soft_65_e9f245_1x100.png) 50% top repeat-x; color: #585319; }
|
||||
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #585319; }
|
||||
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #ec6622; background: #f46f5d url(images/ui-bg_inset-soft_95_f46f5d_1x100.png) 50% bottom repeat-x; color: #9f1d1d; }
|
||||
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #9f1d1d; }
|
||||
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #9f1d1d; }
|
||||
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
||||
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
||||
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
|
||||
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
||||
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_16837f_256x240.png); }
|
||||
.ui-state-default .ui-icon { background-image: url(images/ui-icons_186764_256x240.png); }
|
||||
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
||||
.ui-state-active .ui-icon {background-image: url(images/ui-icons_834916_256x240.png); }
|
||||
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
|
||||
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_9f1d1d_256x240.png); }
|
||||
|
||||
/* positioning */
|
||||
.ui-icon-carat-1-n { background-position: 0 0; }
|
||||
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
||||
.ui-icon-carat-1-e { background-position: -32px 0; }
|
||||
.ui-icon-carat-1-se { background-position: -48px 0; }
|
||||
.ui-icon-carat-1-s { background-position: -64px 0; }
|
||||
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
||||
.ui-icon-carat-1-w { background-position: -96px 0; }
|
||||
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
||||
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
||||
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.ui-icon-extlink { background-position: -32px -80px; }
|
||||
.ui-icon-newwin { background-position: -48px -80px; }
|
||||
.ui-icon-refresh { background-position: -64px -80px; }
|
||||
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.ui-icon-document { background-position: -32px -96px; }
|
||||
.ui-icon-document-b { background-position: -48px -96px; }
|
||||
.ui-icon-note { background-position: -64px -96px; }
|
||||
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.ui-icon-comment { background-position: -128px -96px; }
|
||||
.ui-icon-person { background-position: -144px -96px; }
|
||||
.ui-icon-print { background-position: -160px -96px; }
|
||||
.ui-icon-trash { background-position: -176px -96px; }
|
||||
.ui-icon-locked { background-position: -192px -96px; }
|
||||
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.ui-icon-tag { background-position: -240px -96px; }
|
||||
.ui-icon-home { background-position: 0 -112px; }
|
||||
.ui-icon-flag { background-position: -16px -112px; }
|
||||
.ui-icon-calendar { background-position: -32px -112px; }
|
||||
.ui-icon-cart { background-position: -48px -112px; }
|
||||
.ui-icon-pencil { background-position: -64px -112px; }
|
||||
.ui-icon-clock { background-position: -80px -112px; }
|
||||
.ui-icon-disk { background-position: -96px -112px; }
|
||||
.ui-icon-calculator { background-position: -112px -112px; }
|
||||
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.ui-icon-search { background-position: -160px -112px; }
|
||||
.ui-icon-wrench { background-position: -176px -112px; }
|
||||
.ui-icon-gear { background-position: -192px -112px; }
|
||||
.ui-icon-heart { background-position: -208px -112px; }
|
||||
.ui-icon-star { background-position: -224px -112px; }
|
||||
.ui-icon-link { background-position: -240px -112px; }
|
||||
.ui-icon-cancel { background-position: 0 -128px; }
|
||||
.ui-icon-plus { background-position: -16px -128px; }
|
||||
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.ui-icon-minus { background-position: -48px -128px; }
|
||||
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.ui-icon-close { background-position: -80px -128px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-key { background-position: -112px -128px; }
|
||||
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.ui-icon-scissors { background-position: -144px -128px; }
|
||||
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.ui-icon-copy { background-position: -176px -128px; }
|
||||
.ui-icon-contact { background-position: -192px -128px; }
|
||||
.ui-icon-image { background-position: -208px -128px; }
|
||||
.ui-icon-video { background-position: -224px -128px; }
|
||||
.ui-icon-script { background-position: -240px -128px; }
|
||||
.ui-icon-alert { background-position: 0 -144px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-notice { background-position: -32px -144px; }
|
||||
.ui-icon-help { background-position: -48px -144px; }
|
||||
.ui-icon-check { background-position: -64px -144px; }
|
||||
.ui-icon-bullet { background-position: -80px -144px; }
|
||||
.ui-icon-radio-on { background-position: -96px -144px; }
|
||||
.ui-icon-radio-off { background-position: -112px -144px; }
|
||||
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.ui-icon-play { background-position: 0 -160px; }
|
||||
.ui-icon-pause { background-position: -16px -160px; }
|
||||
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.ui-icon-stop { background-position: -96px -160px; }
|
||||
.ui-icon-eject { background-position: -112px -160px; }
|
||||
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.ui-icon-power { background-position: 0 -176px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.ui-icon-signal { background-position: -32px -176px; }
|
||||
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Corner radius */
|
||||
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; border-top-left-radius: 5px; }
|
||||
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; -khtml-border-top-right-radius: 5px; border-top-right-radius: 5px; }
|
||||
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; }
|
||||
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay { background: #313f3c url(images/ui-bg_flat_0_313f3c_40x100.png) 50% 50% repeat-x; opacity: .4;filter:Alpha(Opacity=40); }
|
||||
.ui-widget-shadow { margin: -6px 0 0 -6px; padding: 6px; background: #4d4d4d url(images/ui-bg_flat_0_4d4d4d_40x100.png) 50% 50% repeat-x; opacity: .7;filter:Alpha(Opacity=70); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
|
||||
|
Before Width: | Height: | Size: 180 B |
|
Before Width: | Height: | Size: 180 B |
|
Before Width: | Height: | Size: 211 B |
|
Before Width: | Height: | Size: 90 B |
|
Before Width: | Height: | Size: 137 B |
|
Before Width: | Height: | Size: 165 B |
|
Before Width: | Height: | Size: 126 B |
|
Before Width: | Height: | Size: 184 B |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
@@ -1,458 +0,0 @@
|
||||
/*! jQuery UI - v1.9.0 - 2012-10-12
|
||||
* http://jqueryui.com
|
||||
* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=sans-serif&fwDefault=normal&fsDefault=14px&cornerRadius=5px&bgColorHeader=2b2b2b&bgTextureHeader=06_inset_hard.png&bgImgOpacityHeader=5&borderColorHeader=aaaaaa&fcHeader=d6d6d6&iconColorHeader=ffc905&bgColorContent=f2f2f2&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=cfcfcf&fcContent=222222&iconColorContent=222222&bgColorDefault=ffc905&bgTextureDefault=05_inset_soft.png&bgImgOpacityDefault=45&borderColorDefault=d6b18a&fcDefault=8a4d0f&iconColorDefault=774322&bgColorHover=ffec52&bgTextureHover=05_inset_soft.png&bgImgOpacityHover=75&borderColorHover=d1a200&fcHover=754b00&iconColorHover=8a4e19&bgColorActive=5e5e5e&bgTextureActive=05_inset_soft.png&bgImgOpacityActive=15&borderColorActive=2e2e2e&fcActive=ffffff&iconColorActive=1c1c1c&bgColorHighlight=383838&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=100&borderColorHighlight=000000&fcHighlight=dedede&iconColorHighlight=ffbc0f&bgColorError=ff6124&bgTextureError=05_inset_soft.png&bgImgOpacityError=95&borderColorError=e9754e&fcError=752400&iconColorError=303030&bgColorOverlay=303030&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=70&bgColorShadow=303030&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=70&thicknessShadow=6px&offsetTopShadow=-6px&offsetLeftShadow=-6px&cornerRadiusShadow=8px
|
||||
* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
|
||||
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden { display: none; }
|
||||
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
||||
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
||||
.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
|
||||
.ui-helper-clearfix:after { clear: both; }
|
||||
.ui-helper-clearfix { zoom: 1; }
|
||||
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled { cursor: default !important; }
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
||||
.ui-resizable { position: relative;}
|
||||
.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
|
||||
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
||||
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
|
||||
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
|
||||
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
|
||||
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
|
||||
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
||||
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
||||
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
||||
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
||||
.ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; margin-top: 2px; padding: .5em .5em .5em .7em; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-icons { padding-left: 2.2em; }
|
||||
.ui-accordion .ui-accordion-noicons { padding-left: .7em; }
|
||||
.ui-accordion .ui-accordion-icons .ui-accordion-icons { padding-left: 2.2em; }
|
||||
.ui-accordion .ui-accordion-header .ui-accordion-header-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
||||
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; zoom: 1; }
|
||||
.ui-autocomplete { position: absolute; cursor: default; }
|
||||
|
||||
/* workarounds */
|
||||
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
||||
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
|
||||
.ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active { text-decoration: none; }
|
||||
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
||||
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
||||
.ui-button-icons-only { width: 3.4em; }
|
||||
button.ui-button-icons-only { width: 3.7em; }
|
||||
|
||||
/*button text element */
|
||||
.ui-button .ui-button-text { display: block; line-height: 1.4; }
|
||||
.ui-button-text-only .ui-button-text { padding: .4em 1em; }
|
||||
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
|
||||
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
|
||||
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
|
||||
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
||||
/* no icon support for input elements, provide padding by default */
|
||||
input.ui-button { padding: .4em 1em; }
|
||||
|
||||
/*button icon element(s) */
|
||||
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
||||
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
||||
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
||||
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||
|
||||
/*button sets*/
|
||||
.ui-buttonset { margin-right: 7px; }
|
||||
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
||||
|
||||
/* workarounds */
|
||||
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
||||
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
|
||||
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
||||
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
||||
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
||||
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
||||
.ui-datepicker .ui-datepicker-next { right:2px; }
|
||||
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
||||
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
||||
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
||||
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
||||
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
||||
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
||||
.ui-datepicker select.ui-datepicker-month,
|
||||
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
||||
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
||||
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
||||
.ui-datepicker td { border: 0; padding: 1px; }
|
||||
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
||||
|
||||
/* with multiple calendars */
|
||||
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
||||
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
||||
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
||||
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
||||
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
||||
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
||||
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
||||
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
|
||||
|
||||
/* RTL support */
|
||||
.ui-datepicker-rtl { direction: rtl; }
|
||||
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
||||
|
||||
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
||||
.ui-datepicker-cover {
|
||||
position: absolute; /*must have*/
|
||||
z-index: -1; /*must have*/
|
||||
filter: mask(); /*must have*/
|
||||
top: -4px; /*must have*/
|
||||
left: -4px; /*must have*/
|
||||
width: 200px; /*must have*/
|
||||
height: 200px; /*must have*/
|
||||
}.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
|
||||
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
|
||||
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
|
||||
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
||||
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
||||
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
||||
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
||||
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
||||
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
||||
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
||||
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
||||
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
||||
.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; outline: none; }
|
||||
.ui-menu .ui-menu { margin-top: -3px; position: absolute; }
|
||||
.ui-menu .ui-menu-item { margin: 0; padding: 0; zoom: 1; width: 100%; }
|
||||
.ui-menu .ui-menu-divider { margin: 5px -2px 5px -2px; height: 0; font-size: 0; line-height: 0; border-width: 1px 0 0 0; }
|
||||
.ui-menu .ui-menu-item a { text-decoration: none; display: block; padding: 2px .4em; line-height: 1.5; zoom: 1; font-weight: normal; }
|
||||
.ui-menu .ui-menu-item a.ui-state-focus,
|
||||
.ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; }
|
||||
|
||||
.ui-menu .ui-state-disabled { font-weight: normal; margin: .4em 0 .2em; line-height: 1.5; }
|
||||
.ui-menu .ui-state-disabled a { cursor: default; }
|
||||
|
||||
/* icon support */
|
||||
.ui-menu-icons { position: relative; }
|
||||
.ui-menu-icons .ui-menu-item a { position: relative; padding-left: 2em; }
|
||||
|
||||
/* left-aligned */
|
||||
.ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; }
|
||||
|
||||
/* right-aligned */
|
||||
.ui-menu .ui-menu-icon { position: static; float: right; }
|
||||
.ui-progressbar { height:2em; text-align: left; overflow: hidden; }
|
||||
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }.ui-slider { position: relative; text-align: left; }
|
||||
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
||||
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
||||
|
||||
.ui-slider-horizontal { height: .8em; }
|
||||
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
||||
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
||||
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
||||
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
||||
|
||||
.ui-slider-vertical { width: .8em; height: 100px; }
|
||||
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
||||
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
||||
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
||||
.ui-slider-vertical .ui-slider-range-max { top: 0; }.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; }
|
||||
.ui-spinner-input { border: none; background: none; padding: 0; margin: .2em 0; vertical-align: middle; margin-left: .4em; margin-right: 22px; }
|
||||
.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; z-index: 100; text-align: center; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; }
|
||||
.ui-spinner a.ui-spinner-button { border-top: none; border-bottom: none; border-right: none; } /* more specificity required here to overide default borders */
|
||||
.ui-spinner .ui-icon { position: absolute; margin-top: -8px; top: 50%; left: 0; } /* vertical centre icon */
|
||||
.ui-spinner-up { top: 0; }
|
||||
.ui-spinner-down { bottom: 0; }
|
||||
|
||||
/* TR overrides */
|
||||
span.ui-spinner { background: none; }
|
||||
.ui-spinner .ui-icon-triangle-1-s {
|
||||
/* need to fix icons sprite */
|
||||
background-position:-65px -16px;
|
||||
}
|
||||
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
||||
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
||||
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 0; margin: 1px .2em 0 0; border-bottom: 0; padding: 0; white-space: nowrap; }
|
||||
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-active { margin-bottom: -1px; padding-bottom: 1px; }
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-active a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-tabs-loading a { cursor: text; }
|
||||
.ui-tabs .ui-tabs-nav li a, .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
||||
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
|
||||
.ui-tooltip {
|
||||
padding:8px;
|
||||
position:absolute;
|
||||
z-index:9999;
|
||||
-o-box-shadow: 0 0 5px #aaa;
|
||||
-moz-box-shadow: 0 0 5px #aaa;
|
||||
-webkit-box-shadow: 0 0 5px #aaa;
|
||||
box-shadow: 0 0 5px #aaa;
|
||||
}
|
||||
/* Fades and background-images don't work well together in IE6, drop the image */
|
||||
* html .ui-tooltip {
|
||||
background-image: none;
|
||||
}
|
||||
body .ui-tooltip { border-width:2px; }
|
||||
|
||||
/* Component containers
|
||||
----------------------------------*/
|
||||
.ui-widget { font-family: sans-serif; font-size: 14px; }
|
||||
.ui-widget .ui-widget { font-size: 1em; }
|
||||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: sans-serif; font-size: 1em; }
|
||||
.ui-widget-content { border: 1px solid #cfcfcf; background: #f2f2f2 url(images/ui-bg_flat_75_f2f2f2_40x100.png) 50% 50% repeat-x; color: #222222; }
|
||||
.ui-widget-content a { color: #222222; }
|
||||
.ui-widget-header { border: 1px solid #aaaaaa; background: #2b2b2b url(images/ui-bg_inset-hard_5_2b2b2b_1x100.png) 50% 50% repeat-x; color: #d6d6d6; font-weight: bold; }
|
||||
.ui-widget-header a { color: #d6d6d6; }
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d6b18a; background: #ffc905 url(images/ui-bg_inset-soft_45_ffc905_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #8a4d0f; }
|
||||
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #8a4d0f; text-decoration: none; }
|
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #d1a200; background: #ffec52 url(images/ui-bg_inset-soft_75_ffec52_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #754b00; }
|
||||
.ui-state-hover a, .ui-state-hover a:hover { color: #754b00; text-decoration: none; }
|
||||
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #2e2e2e; background: #5e5e5e url(images/ui-bg_inset-soft_15_5e5e5e_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #ffffff; }
|
||||
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #ffffff; text-decoration: none; }
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #000000; background: #383838 url(images/ui-bg_flat_100_383838_40x100.png) 50% 50% repeat-x; color: #dedede; }
|
||||
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #dedede; }
|
||||
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #e9754e; background: #ff6124 url(images/ui-bg_inset-soft_95_ff6124_1x100.png) 50% bottom repeat-x; color: #752400; }
|
||||
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #752400; }
|
||||
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #752400; }
|
||||
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
||||
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
||||
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
|
||||
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
||||
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffc905_256x240.png); }
|
||||
.ui-state-default .ui-icon { background-image: url(images/ui-icons_774322_256x240.png); }
|
||||
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_8a4e19_256x240.png); }
|
||||
.ui-state-active .ui-icon {background-image: url(images/ui-icons_1c1c1c_256x240.png); }
|
||||
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_ffbc0f_256x240.png); }
|
||||
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_303030_256x240.png); }
|
||||
|
||||
/* positioning */
|
||||
.ui-icon-carat-1-n { background-position: 0 0; }
|
||||
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
||||
.ui-icon-carat-1-e { background-position: -32px 0; }
|
||||
.ui-icon-carat-1-se { background-position: -48px 0; }
|
||||
.ui-icon-carat-1-s { background-position: -64px 0; }
|
||||
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
||||
.ui-icon-carat-1-w { background-position: -96px 0; }
|
||||
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
||||
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
||||
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.ui-icon-extlink { background-position: -32px -80px; }
|
||||
.ui-icon-newwin { background-position: -48px -80px; }
|
||||
.ui-icon-refresh { background-position: -64px -80px; }
|
||||
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.ui-icon-document { background-position: -32px -96px; }
|
||||
.ui-icon-document-b { background-position: -48px -96px; }
|
||||
.ui-icon-note { background-position: -64px -96px; }
|
||||
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.ui-icon-comment { background-position: -128px -96px; }
|
||||
.ui-icon-person { background-position: -144px -96px; }
|
||||
.ui-icon-print { background-position: -160px -96px; }
|
||||
.ui-icon-trash { background-position: -176px -96px; }
|
||||
.ui-icon-locked { background-position: -192px -96px; }
|
||||
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.ui-icon-tag { background-position: -240px -96px; }
|
||||
.ui-icon-home { background-position: 0 -112px; }
|
||||
.ui-icon-flag { background-position: -16px -112px; }
|
||||
.ui-icon-calendar { background-position: -32px -112px; }
|
||||
.ui-icon-cart { background-position: -48px -112px; }
|
||||
.ui-icon-pencil { background-position: -64px -112px; }
|
||||
.ui-icon-clock { background-position: -80px -112px; }
|
||||
.ui-icon-disk { background-position: -96px -112px; }
|
||||
.ui-icon-calculator { background-position: -112px -112px; }
|
||||
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.ui-icon-search { background-position: -160px -112px; }
|
||||
.ui-icon-wrench { background-position: -176px -112px; }
|
||||
.ui-icon-gear { background-position: -192px -112px; }
|
||||
.ui-icon-heart { background-position: -208px -112px; }
|
||||
.ui-icon-star { background-position: -224px -112px; }
|
||||
.ui-icon-link { background-position: -240px -112px; }
|
||||
.ui-icon-cancel { background-position: 0 -128px; }
|
||||
.ui-icon-plus { background-position: -16px -128px; }
|
||||
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.ui-icon-minus { background-position: -48px -128px; }
|
||||
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.ui-icon-close { background-position: -80px -128px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-key { background-position: -112px -128px; }
|
||||
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.ui-icon-scissors { background-position: -144px -128px; }
|
||||
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.ui-icon-copy { background-position: -176px -128px; }
|
||||
.ui-icon-contact { background-position: -192px -128px; }
|
||||
.ui-icon-image { background-position: -208px -128px; }
|
||||
.ui-icon-video { background-position: -224px -128px; }
|
||||
.ui-icon-script { background-position: -240px -128px; }
|
||||
.ui-icon-alert { background-position: 0 -144px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-notice { background-position: -32px -144px; }
|
||||
.ui-icon-help { background-position: -48px -144px; }
|
||||
.ui-icon-check { background-position: -64px -144px; }
|
||||
.ui-icon-bullet { background-position: -80px -144px; }
|
||||
.ui-icon-radio-on { background-position: -96px -144px; }
|
||||
.ui-icon-radio-off { background-position: -112px -144px; }
|
||||
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.ui-icon-play { background-position: 0 -160px; }
|
||||
.ui-icon-pause { background-position: -16px -160px; }
|
||||
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.ui-icon-stop { background-position: -96px -160px; }
|
||||
.ui-icon-eject { background-position: -112px -160px; }
|
||||
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.ui-icon-power { background-position: 0 -176px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.ui-icon-signal { background-position: -32px -176px; }
|
||||
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Corner radius */
|
||||
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; border-top-left-radius: 5px; }
|
||||
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; -khtml-border-top-right-radius: 5px; border-top-right-radius: 5px; }
|
||||
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; }
|
||||
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay { background: #303030 url(images/ui-bg_flat_0_303030_40x100.png) 50% 50% repeat-x; opacity: .7;filter:Alpha(Opacity=70); }
|
||||
.ui-widget-shadow { margin: -6px 0 0 -6px; padding: 6px; background: #303030 url(images/ui-bg_flat_0_303030_40x100.png) 50% 50% repeat-x; opacity: .7;filter:Alpha(Opacity=70); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
|
||||
@@ -1,201 +0,0 @@
|
||||
(function ( $ ) {
|
||||
'use strict';
|
||||
var stateFieldId = '_juiceWidgetOptions',
|
||||
|
||||
Juice = {
|
||||
widgets: {},
|
||||
subscribe: window.amplify.subscribe,
|
||||
publish: window.amplify.publish,
|
||||
onSubmit: function () {
|
||||
var optionsInput = $( '#' + stateFieldId ),
|
||||
options = [];
|
||||
|
||||
$.each( Juice.widgets, function ( index, widget ) {
|
||||
var element = $( '#' + widget.id ),
|
||||
widgetName = widget.widgetName, //element.data( 'ui-widget' ),
|
||||
uiWidget = element.data( widgetName );
|
||||
|
||||
if( !uiWidget ){
|
||||
return;
|
||||
}
|
||||
|
||||
var opts = $.extend( {}, uiWidget.options );
|
||||
|
||||
$.each( opts, function( label ){
|
||||
if( $.inArray( label, widget.encodedOptions ) >= 0 ){
|
||||
opts[ label ] = htmlEncode( this );
|
||||
}
|
||||
});
|
||||
|
||||
options.push({ id: widget.id, widgetName: widgetName, options: opts });
|
||||
});
|
||||
|
||||
optionsInput.val( JSON.stringify( options ) );
|
||||
}
|
||||
},
|
||||
|
||||
registerCss = function () {
|
||||
if ( !$( '#_jQueryUICss' ).length ) {
|
||||
var href = Juice.cssUrl,
|
||||
tag = '<link rel="stylesheet" type="text/css" href="' + href + '" />';
|
||||
$( 'head' ).append( tag );
|
||||
}
|
||||
},
|
||||
|
||||
ready = function () {
|
||||
if ( typeof ( window.JSON ) === 'undefined' ) {
|
||||
throw new Error( 'Juice requires JSON support. Please ensure json2.js is referenced for downlevel browsers.' );
|
||||
}
|
||||
|
||||
if ( !$( '#' + stateFieldId ).length ) {
|
||||
$( '<input id="' + stateFieldId + '" name="' + stateFieldId + '" type="hidden" />' )
|
||||
.appendTo( window.theForm ); // theForm is defined by asp.net
|
||||
}
|
||||
|
||||
$.each( Juice.widgets, function ( index, widget ) {
|
||||
var element = $( '#' + widget.id ),
|
||||
widgetName = widget.widgetName,
|
||||
events = {};
|
||||
|
||||
if( !widgetName || !$.fn[widgetName] ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// map the event names to objects, merge with postBacks
|
||||
widget.events = $.map( widget.events, function( name ){
|
||||
return { name: name };
|
||||
});
|
||||
|
||||
widget.postBacks = $.map( widget.postBacks, function( pb ){
|
||||
pb.causesPostBack = true;
|
||||
return pb;
|
||||
});
|
||||
|
||||
widget.events = widget.events.concat( widget.postBacks );
|
||||
|
||||
$.each( widget.events, function () {
|
||||
var event = this;
|
||||
events[event.name] = function ( jqEvent, ui ) {
|
||||
var args = [].slice.call( arguments, 0 ),
|
||||
topic = widget.id + '.' + widgetName + '.' + event.name,
|
||||
uiWidget = element.data( widgetName );
|
||||
|
||||
args.splice( 0, 0, topic );
|
||||
args.push( uiWidget );
|
||||
|
||||
// this publishes an amplify event with the arguments that correspond to the jquery ui event handler function parameters.
|
||||
Juice.publish.apply( this, args );
|
||||
|
||||
// Submit a postback if handler emitted - wee server side events!
|
||||
if ( event.causesPostBack ) {
|
||||
window.__doPostBack(widget.uniqueId, event.dataChangedEvent ? '' : event.name);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
$.each( widget.options, function( prop ) {
|
||||
if( this.eval ){
|
||||
var on = this.on;
|
||||
|
||||
try {
|
||||
widget.options[ prop ] = eval( '(' + this.on + ')' );
|
||||
}
|
||||
catch ( e ) { // if bad data/string is entered for the Eval property, an exception is thrown. Remove the bad data and prop.
|
||||
delete widget.options[ prop ];
|
||||
|
||||
window.console && console.log && console.log( 'Juice UI Error > elementId: ' + widget.id + '. widget: "' + widgetName + '". Bad data in "' + prop + '" option.' );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// merge events with options
|
||||
$.extend( widget.options, events );
|
||||
|
||||
// Invoke the jQuery UI extension method on the element with the options only if it hasn't already been called
|
||||
if ( !element.data( widgetName ) ) {
|
||||
element[widgetName]( widget.options );
|
||||
}
|
||||
|
||||
// Wire up dispose method which update panels will call when element is destroyed
|
||||
element[0].dispose = function () {
|
||||
delete Juice.widgets[widget.id];
|
||||
};
|
||||
});
|
||||
},
|
||||
|
||||
endRequest = function ( sender, args ) {
|
||||
ready();
|
||||
registerCss();
|
||||
},
|
||||
|
||||
htmlEncode = function( value ){
|
||||
return $( '<div/>' ).text( value ).html();
|
||||
};
|
||||
|
||||
// The datepicker widget is "unique" in jQuery UI. It's internals aren't standardized like the other widgets.
|
||||
// Hence, it does not store an options hash natively. This extension provides that hash.
|
||||
// Credit - Scott Gonzales
|
||||
var _attachDatepicker = $.datepicker._attachDatepicker,
|
||||
_optionDatepicker = $.datepicker._optionDatepicker;
|
||||
|
||||
$.datepicker._attachDatepicker = function( target ) {
|
||||
var inst;
|
||||
_attachDatepicker.apply( this, arguments );
|
||||
inst = this._getInst( target );
|
||||
inst.options = {};
|
||||
this._refreshOptions( target );
|
||||
};
|
||||
|
||||
$.datepicker._refreshOptions = function( target ) {
|
||||
var inst = this._getInst( target );
|
||||
$.each(this._defaults, function( prop ) {
|
||||
inst.options[ prop ] = $.datepicker._get( inst, prop );
|
||||
});
|
||||
};
|
||||
|
||||
$.datepicker._optionDatepicker = function( target ) {
|
||||
_optionDatepicker.apply( this, arguments );
|
||||
this._refreshOptions( target );
|
||||
};
|
||||
|
||||
// The tabs widget triggers 'show' on create. Scott has stated that this behavior is unusual and won't be a part of 1.9.
|
||||
// Implementing a temporary workaround so that the tabs don't trigger a postback (if bound in codebehind) on page load.
|
||||
$.ui.tabs.prototype._created = false;
|
||||
|
||||
var _tabify = $.ui.tabs.prototype._tabify,
|
||||
_trigger = $.ui.tabs.prototype._trigger;
|
||||
|
||||
$.ui.tabs.prototype._tabify = function(){
|
||||
_tabify.apply( this, arguments );
|
||||
this._created = true;
|
||||
};
|
||||
|
||||
$.ui.tabs.prototype._trigger = function( type ){
|
||||
if( type === "show" && !this._created ){
|
||||
return false;
|
||||
}
|
||||
return _trigger.apply( this, arguments );
|
||||
};
|
||||
|
||||
// We need to proxy the ui.dialog._create method to assert that dialogs are appended to the end of the server form.
|
||||
// Otherwise, any server controls within them will not retain their value during postback.
|
||||
|
||||
var _create = $.ui.dialog.prototype._create;
|
||||
|
||||
$.ui.dialog.prototype._create = function(){
|
||||
var result = _create.apply( this, arguments );
|
||||
var form = window.theForm || $('form:first');
|
||||
|
||||
this.uiDialog.appendTo(form);
|
||||
|
||||
return result;
|
||||
};
|
||||
|
||||
|
||||
// The autocomplete widget accepts a string and string array. This is problematic as we can't represent both
|
||||
|
||||
$( ready );
|
||||
Sys.WebForms.PageRequestManager.getInstance().add_endRequest( endRequest ); // handles adding the jquery ui css on partial postback, if it hasn't been already.
|
||||
window.Juice = Juice;
|
||||
|
||||
} )( jQuery );
|
||||
@@ -1 +0,0 @@
|
||||
(function(n){"use strict";var i="_juiceWidgetOptions",t={widgets:{},subscribe:window.amplify.subscribe,publish:window.amplify.publish,onSubmit:function(){var u=n("#"+i),r=[];n.each(t.widgets,function(t,i){var o=n("#"+i.id),e=i.widgetName,f=o.data(e),u;if(!f)return;u=n.extend({},f.options),n.each(u,function(t){n.inArray(t,i.encodedOptions)<0||(u[t]=h(this))}),r.push({id:i.id,widgetName:e,options:u})}),u.val(JSON.stringify(r))}},s=function(){if(!n("#_jQueryUICss").length){var r=t.cssUrl,i='<link rel="stylesheet" type="text/css" href="'+r+'" />';n("head").append(i)}},e=function(){if(typeof window.JSON=="undefined")throw new Error("Juice requires JSON support. Please ensure json2.js is referenced for downlevel browsers.");n("#"+i).length||n('<input id="'+i+'" name="'+i+'" type="hidden" />').appendTo(window.theForm),n.each(t.widgets,function(i,r){var f=n("#"+r.id),u=r.widgetName,e={};if(!u||!n.fn[u])return;r.events=n.map(r.events,function(n){return{name:n}}),r.postBacks=n.map(r.postBacks,function(n){return n.causesPostBack=!0,n}),r.events=r.events.concat(r.postBacks),n.each(r.events,function(){var n=this;e[n.name]=function(){var o=[].slice.call(arguments,0),h=r.id+"."+u+"."+n.name,s=f.data(u);o.splice(0,0,h),o.push(s),t.publish.apply(this,o),n.causesPostBack&&window.__doPostBack(r.uniqueId,n.dataChangedEvent?"":n.name)}}),n.each(r.options,function(n){if(this.eval){var i=this.on;try{r.options[n]=eval("("+this.on+")")}catch(t){delete r.options[n],window.console&&console.log&&console.log("Juice UI Error > elementId: "+r.id+'. widget: "'+u+'". Bad data in "'+n+'" option.')}}}),n.extend(r.options,e),f.data(u)||f[u](r.options),f[0].dispose=function(){delete t.widgets[r.id]}})},o=function(){e(),s()},h=function(t){return n("<div/>").text(t).html()},c=n.datepicker._attachDatepicker,l=n.datepicker._optionDatepicker,r,u,f;n.datepicker._attachDatepicker=function(n){var t;c.apply(this,arguments),t=this._getInst(n),t.options={},this._refreshOptions(n)},n.datepicker._refreshOptions=function(t){var i=this._getInst(t);n.each(this._defaults,function(t){i.options[t]=n.datepicker._get(i,t)})},n.datepicker._optionDatepicker=function(n){l.apply(this,arguments),this._refreshOptions(n)},n.ui.tabs.prototype._created=!1,r=n.ui.tabs.prototype._tabify,u=n.ui.tabs.prototype._trigger,n.ui.tabs.prototype._tabify=function(){r.apply(this,arguments),this._created=!0},n.ui.tabs.prototype._trigger=function(n){return n==="show"&&!this._created?!1:u.apply(this,arguments)},f=n.ui.dialog.prototype._create,n.ui.dialog.prototype._create=function(){var i=f.apply(this,arguments),t=window.theForm||n("form:first");return this.uiDialog.appendTo(t),i},n(e),Sys.WebForms.PageRequestManager.getInstance().add_endRequest(o),window.Juice=t})(jQuery)
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<system.web>
|
||||
<pages>
|
||||
<controls>
|
||||
<add assembly="JuiceUI" namespace="Juice" tagPrefix="juice" />
|
||||
</controls>
|
||||
</pages>
|
||||
</system.web>
|
||||
</configuration>
|
||||
@@ -27,10 +27,10 @@ installing ASP.NET Friendly URLs package:
|
||||
|
||||
using System.Web.Routing;
|
||||
...
|
||||
protected void Application_Start(object sender, EventArgs e)
|
||||
{
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
}
|
||||
protected void Application_Start(object sender, EventArgs e)
|
||||
{
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
}
|
||||
|
||||
|
||||
If your app had a RouteConfig class before installing
|
||||
@@ -41,7 +41,7 @@ ASP.NET Friendly URLs package:
|
||||
|
||||
Call EnableFriendlyUrls() in your RegisterRoutes method:
|
||||
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
routes.EnableFriendlyUrls();
|
||||
}
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
routes.EnableFriendlyUrls();
|
||||
}
|
||||
|
||||
@@ -1,487 +0,0 @@
|
||||
/*
|
||||
http://www.JSON.org/json2.js
|
||||
2011-10-19
|
||||
|
||||
Public Domain.
|
||||
|
||||
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
|
||||
|
||||
See http://www.JSON.org/js.html
|
||||
|
||||
|
||||
This code should be minified before deployment.
|
||||
See http://javascript.crockford.com/jsmin.html
|
||||
|
||||
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
|
||||
NOT CONTROL.
|
||||
|
||||
|
||||
This file creates a global JSON object containing two methods: stringify
|
||||
and parse.
|
||||
|
||||
JSON.stringify(value, replacer, space)
|
||||
value any JavaScript value, usually an object or array.
|
||||
|
||||
replacer an optional parameter that determines how object
|
||||
values are stringified for objects. It can be a
|
||||
function or an array of strings.
|
||||
|
||||
space an optional parameter that specifies the indentation
|
||||
of nested structures. If it is omitted, the text will
|
||||
be packed without extra whitespace. If it is a number,
|
||||
it will specify the number of spaces to indent at each
|
||||
level. If it is a string (such as '\t' or ' '),
|
||||
it contains the characters used to indent at each level.
|
||||
|
||||
This method produces a JSON text from a JavaScript value.
|
||||
|
||||
When an object value is found, if the object contains a toJSON
|
||||
method, its toJSON method will be called and the result will be
|
||||
stringified. A toJSON method does not serialize: it returns the
|
||||
value represented by the name/value pair that should be serialized,
|
||||
or undefined if nothing should be serialized. The toJSON method
|
||||
will be passed the key associated with the value, and this will be
|
||||
bound to the value
|
||||
|
||||
For example, this would serialize Dates as ISO strings.
|
||||
|
||||
Date.prototype.toJSON = function (key) {
|
||||
function f(n) {
|
||||
// Format integers to have at least two digits.
|
||||
return n < 10 ? '0' + n : n;
|
||||
}
|
||||
|
||||
return this.getUTCFullYear() + '-' +
|
||||
f(this.getUTCMonth() + 1) + '-' +
|
||||
f(this.getUTCDate()) + 'T' +
|
||||
f(this.getUTCHours()) + ':' +
|
||||
f(this.getUTCMinutes()) + ':' +
|
||||
f(this.getUTCSeconds()) + 'Z';
|
||||
};
|
||||
|
||||
You can provide an optional replacer method. It will be passed the
|
||||
key and value of each member, with this bound to the containing
|
||||
object. The value that is returned from your method will be
|
||||
serialized. If your method returns undefined, then the member will
|
||||
be excluded from the serialization.
|
||||
|
||||
If the replacer parameter is an array of strings, then it will be
|
||||
used to select the members to be serialized. It filters the results
|
||||
such that only members with keys listed in the replacer array are
|
||||
stringified.
|
||||
|
||||
Values that do not have JSON representations, such as undefined or
|
||||
functions, will not be serialized. Such values in objects will be
|
||||
dropped; in arrays they will be replaced with null. You can use
|
||||
a replacer function to replace those with JSON values.
|
||||
JSON.stringify(undefined) returns undefined.
|
||||
|
||||
The optional space parameter produces a stringification of the
|
||||
value that is filled with line breaks and indentation to make it
|
||||
easier to read.
|
||||
|
||||
If the space parameter is a non-empty string, then that string will
|
||||
be used for indentation. If the space parameter is a number, then
|
||||
the indentation will be that many spaces.
|
||||
|
||||
Example:
|
||||
|
||||
text = JSON.stringify(['e', {pluribus: 'unum'}]);
|
||||
// text is '["e",{"pluribus":"unum"}]'
|
||||
|
||||
|
||||
text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t');
|
||||
// text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]'
|
||||
|
||||
text = JSON.stringify([new Date()], function (key, value) {
|
||||
return this[key] instanceof Date ?
|
||||
'Date(' + this[key] + ')' : value;
|
||||
});
|
||||
// text is '["Date(---current time---)"]'
|
||||
|
||||
|
||||
JSON.parse(text, reviver)
|
||||
This method parses a JSON text to produce an object or array.
|
||||
It can throw a SyntaxError exception.
|
||||
|
||||
The optional reviver parameter is a function that can filter and
|
||||
transform the results. It receives each of the keys and values,
|
||||
and its return value is used instead of the original value.
|
||||
If it returns what it received, then the structure is not modified.
|
||||
If it returns undefined then the member is deleted.
|
||||
|
||||
Example:
|
||||
|
||||
// Parse the text. Values that look like ISO date strings will
|
||||
// be converted to Date objects.
|
||||
|
||||
myData = JSON.parse(text, function (key, value) {
|
||||
var a;
|
||||
if (typeof value === 'string') {
|
||||
a =
|
||||
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value);
|
||||
if (a) {
|
||||
return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
|
||||
+a[5], +a[6]));
|
||||
}
|
||||
}
|
||||
return value;
|
||||
});
|
||||
|
||||
myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
|
||||
var d;
|
||||
if (typeof value === 'string' &&
|
||||
value.slice(0, 5) === 'Date(' &&
|
||||
value.slice(-1) === ')') {
|
||||
d = new Date(value.slice(5, -1));
|
||||
if (d) {
|
||||
return d;
|
||||
}
|
||||
}
|
||||
return value;
|
||||
});
|
||||
|
||||
|
||||
This is a reference implementation. You are free to copy, modify, or
|
||||
redistribute.
|
||||
*/
|
||||
|
||||
/*jslint evil: true, regexp: true */
|
||||
|
||||
/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
|
||||
call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
|
||||
getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,
|
||||
lastIndex, length, parse, prototype, push, replace, slice, stringify,
|
||||
test, toJSON, toString, valueOf
|
||||
*/
|
||||
|
||||
|
||||
// Create a JSON object only if one does not already exist. We create the
|
||||
// methods in a closure to avoid creating global variables.
|
||||
|
||||
var JSON;
|
||||
if (!JSON) {
|
||||
JSON = {};
|
||||
}
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
function f(n) {
|
||||
// Format integers to have at least two digits.
|
||||
return n < 10 ? '0' + n : n;
|
||||
}
|
||||
|
||||
if (typeof Date.prototype.toJSON !== 'function') {
|
||||
|
||||
Date.prototype.toJSON = function (key) {
|
||||
|
||||
return isFinite(this.valueOf())
|
||||
? this.getUTCFullYear() + '-' +
|
||||
f(this.getUTCMonth() + 1) + '-' +
|
||||
f(this.getUTCDate()) + 'T' +
|
||||
f(this.getUTCHours()) + ':' +
|
||||
f(this.getUTCMinutes()) + ':' +
|
||||
f(this.getUTCSeconds()) + 'Z'
|
||||
: null;
|
||||
};
|
||||
|
||||
String.prototype.toJSON =
|
||||
Number.prototype.toJSON =
|
||||
Boolean.prototype.toJSON = function (key) {
|
||||
return this.valueOf();
|
||||
};
|
||||
}
|
||||
|
||||
var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
|
||||
escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
|
||||
gap,
|
||||
indent,
|
||||
meta = { // table of character substitutions
|
||||
'\b': '\\b',
|
||||
'\t': '\\t',
|
||||
'\n': '\\n',
|
||||
'\f': '\\f',
|
||||
'\r': '\\r',
|
||||
'"' : '\\"',
|
||||
'\\': '\\\\'
|
||||
},
|
||||
rep;
|
||||
|
||||
|
||||
function quote(string) {
|
||||
|
||||
// If the string contains no control characters, no quote characters, and no
|
||||
// backslash characters, then we can safely slap some quotes around it.
|
||||
// Otherwise we must also replace the offending characters with safe escape
|
||||
// sequences.
|
||||
|
||||
escapable.lastIndex = 0;
|
||||
return escapable.test(string) ? '"' + string.replace(escapable, function (a) {
|
||||
var c = meta[a];
|
||||
return typeof c === 'string'
|
||||
? c
|
||||
: '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
|
||||
}) + '"' : '"' + string + '"';
|
||||
}
|
||||
|
||||
|
||||
function str(key, holder) {
|
||||
|
||||
// Produce a string from holder[key].
|
||||
|
||||
var i, // The loop counter.
|
||||
k, // The member key.
|
||||
v, // The member value.
|
||||
length,
|
||||
mind = gap,
|
||||
partial,
|
||||
value = holder[key];
|
||||
|
||||
// If the value has a toJSON method, call it to obtain a replacement value.
|
||||
|
||||
if (value && typeof value === 'object' &&
|
||||
typeof value.toJSON === 'function') {
|
||||
value = value.toJSON(key);
|
||||
}
|
||||
|
||||
// If we were called with a replacer function, then call the replacer to
|
||||
// obtain a replacement value.
|
||||
|
||||
if (typeof rep === 'function') {
|
||||
value = rep.call(holder, key, value);
|
||||
}
|
||||
|
||||
// What happens next depends on the value's type.
|
||||
|
||||
switch (typeof value) {
|
||||
case 'string':
|
||||
return quote(value);
|
||||
|
||||
case 'number':
|
||||
|
||||
// JSON numbers must be finite. Encode non-finite numbers as null.
|
||||
|
||||
return isFinite(value) ? String(value) : 'null';
|
||||
|
||||
case 'boolean':
|
||||
case 'null':
|
||||
|
||||
// If the value is a boolean or null, convert it to a string. Note:
|
||||
// typeof null does not produce 'null'. The case is included here in
|
||||
// the remote chance that this gets fixed someday.
|
||||
|
||||
return String(value);
|
||||
|
||||
// If the type is 'object', we might be dealing with an object or an array or
|
||||
// null.
|
||||
|
||||
case 'object':
|
||||
|
||||
// Due to a specification blunder in ECMAScript, typeof null is 'object',
|
||||
// so watch out for that case.
|
||||
|
||||
if (!value) {
|
||||
return 'null';
|
||||
}
|
||||
|
||||
// Make an array to hold the partial results of stringifying this object value.
|
||||
|
||||
gap += indent;
|
||||
partial = [];
|
||||
|
||||
// Is the value an array?
|
||||
|
||||
if (Object.prototype.toString.apply(value) === '[object Array]') {
|
||||
|
||||
// The value is an array. Stringify every element. Use null as a placeholder
|
||||
// for non-JSON values.
|
||||
|
||||
length = value.length;
|
||||
for (i = 0; i < length; i += 1) {
|
||||
partial[i] = str(i, value) || 'null';
|
||||
}
|
||||
|
||||
// Join all of the elements together, separated with commas, and wrap them in
|
||||
// brackets.
|
||||
|
||||
v = partial.length === 0
|
||||
? '[]'
|
||||
: gap
|
||||
? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']'
|
||||
: '[' + partial.join(',') + ']';
|
||||
gap = mind;
|
||||
return v;
|
||||
}
|
||||
|
||||
// If the replacer is an array, use it to select the members to be stringified.
|
||||
|
||||
if (rep && typeof rep === 'object') {
|
||||
length = rep.length;
|
||||
for (i = 0; i < length; i += 1) {
|
||||
if (typeof rep[i] === 'string') {
|
||||
k = rep[i];
|
||||
v = str(k, value);
|
||||
if (v) {
|
||||
partial.push(quote(k) + (gap ? ': ' : ':') + v);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
// Otherwise, iterate through all of the keys in the object.
|
||||
|
||||
for (k in value) {
|
||||
if (Object.prototype.hasOwnProperty.call(value, k)) {
|
||||
v = str(k, value);
|
||||
if (v) {
|
||||
partial.push(quote(k) + (gap ? ': ' : ':') + v);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Join all of the member texts together, separated with commas,
|
||||
// and wrap them in braces.
|
||||
|
||||
v = partial.length === 0
|
||||
? '{}'
|
||||
: gap
|
||||
? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}'
|
||||
: '{' + partial.join(',') + '}';
|
||||
gap = mind;
|
||||
return v;
|
||||
}
|
||||
}
|
||||
|
||||
// If the JSON object does not yet have a stringify method, give it one.
|
||||
|
||||
if (typeof JSON.stringify !== 'function') {
|
||||
JSON.stringify = function (value, replacer, space) {
|
||||
|
||||
// The stringify method takes a value and an optional replacer, and an optional
|
||||
// space parameter, and returns a JSON text. The replacer can be a function
|
||||
// that can replace values, or an array of strings that will select the keys.
|
||||
// A default replacer method can be provided. Use of the space parameter can
|
||||
// produce text that is more easily readable.
|
||||
|
||||
var i;
|
||||
gap = '';
|
||||
indent = '';
|
||||
|
||||
// If the space parameter is a number, make an indent string containing that
|
||||
// many spaces.
|
||||
|
||||
if (typeof space === 'number') {
|
||||
for (i = 0; i < space; i += 1) {
|
||||
indent += ' ';
|
||||
}
|
||||
|
||||
// If the space parameter is a string, it will be used as the indent string.
|
||||
|
||||
} else if (typeof space === 'string') {
|
||||
indent = space;
|
||||
}
|
||||
|
||||
// If there is a replacer, it must be a function or an array.
|
||||
// Otherwise, throw an error.
|
||||
|
||||
rep = replacer;
|
||||
if (replacer && typeof replacer !== 'function' &&
|
||||
(typeof replacer !== 'object' ||
|
||||
typeof replacer.length !== 'number')) {
|
||||
throw new Error('JSON.stringify');
|
||||
}
|
||||
|
||||
// Make a fake root object containing our value under the key of ''.
|
||||
// Return the result of stringifying the value.
|
||||
|
||||
return str('', {'': value});
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
// If the JSON object does not yet have a parse method, give it one.
|
||||
|
||||
if (typeof JSON.parse !== 'function') {
|
||||
JSON.parse = function (text, reviver) {
|
||||
|
||||
// The parse method takes a text and an optional reviver function, and returns
|
||||
// a JavaScript value if the text is a valid JSON text.
|
||||
|
||||
var j;
|
||||
|
||||
function walk(holder, key) {
|
||||
|
||||
// The walk method is used to recursively walk the resulting structure so
|
||||
// that modifications can be made.
|
||||
|
||||
var k, v, value = holder[key];
|
||||
if (value && typeof value === 'object') {
|
||||
for (k in value) {
|
||||
if (Object.prototype.hasOwnProperty.call(value, k)) {
|
||||
v = walk(value, k);
|
||||
if (v !== undefined) {
|
||||
value[k] = v;
|
||||
} else {
|
||||
delete value[k];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return reviver.call(holder, key, value);
|
||||
}
|
||||
|
||||
|
||||
// Parsing happens in four stages. In the first stage, we replace certain
|
||||
// Unicode characters with escape sequences. JavaScript handles many characters
|
||||
// incorrectly, either silently deleting them, or treating them as line endings.
|
||||
|
||||
text = String(text);
|
||||
cx.lastIndex = 0;
|
||||
if (cx.test(text)) {
|
||||
text = text.replace(cx, function (a) {
|
||||
return '\\u' +
|
||||
('0000' + a.charCodeAt(0).toString(16)).slice(-4);
|
||||
});
|
||||
}
|
||||
|
||||
// In the second stage, we run the text against regular expressions that look
|
||||
// for non-JSON patterns. We are especially concerned with '()' and 'new'
|
||||
// because they can cause invocation, and '=' because it can cause mutation.
|
||||
// But just to be safe, we want to reject all unexpected forms.
|
||||
|
||||
// We split the second stage into 4 regexp operations in order to work around
|
||||
// crippling inefficiencies in IE's and Safari's regexp engines. First we
|
||||
// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
|
||||
// replace all simple value tokens with ']' characters. Third, we delete all
|
||||
// open brackets that follow a colon or comma or that begin the text. Finally,
|
||||
// we look to see that the remaining characters are only whitespace or ']' or
|
||||
// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
|
||||
|
||||
if (/^[\],:{}\s]*$/
|
||||
.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@')
|
||||
.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']')
|
||||
.replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
|
||||
|
||||
// In the third stage we use the eval function to compile the text into a
|
||||
// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
|
||||
// in JavaScript: it can begin a block or an object literal. We wrap the text
|
||||
// in parens to eliminate the ambiguity.
|
||||
|
||||
j = eval('(' + text + ')');
|
||||
|
||||
// In the optional fourth stage, we recursively walk the new structure, passing
|
||||
// each name/value pair to a reviver function for possible transformation.
|
||||
|
||||
return typeof reviver === 'function'
|
||||
? walk({'': j}, '')
|
||||
: j;
|
||||
}
|
||||
|
||||
// If the text is not JSON parseable, then a SyntaxError is thrown.
|
||||
|
||||
throw new SyntaxError('JSON.parse');
|
||||
};
|
||||
}
|
||||
}());
|
||||
@@ -1 +0,0 @@
|
||||
var JSON;JSON||(JSON={}),(function(){"use strict";function i(n){return n<10?"0"+n:n}function f(n){return o.lastIndex=0,o.test(n)?'"'+n.replace(o,function(n){var t=s[n];return typeof t=="string"?t:"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+n+'"'}function r(i,e){var h,l,c,a,v=n,s,o=e[i];o&&typeof o=="object"&&typeof o.toJSON=="function"&&(o=o.toJSON(i)),typeof t=="function"&&(o=t.call(e,i,o));switch(typeof o){case"string":return f(o);case"number":return isFinite(o)?String(o):"null";case"boolean":case"null":return String(o);case"object":if(!o)return"null";n+=u,s=[];if(Object.prototype.toString.apply(o)==="[object Array]"){for(a=o.length,h=0;h<a;h+=1)s[h]=r(h,o)||"null";return c=s.length===0?"[]":n?"[\n"+n+s.join(",\n"+n)+"\n"+v+"]":"["+s.join(",")+"]",n=v,c}if(t&&typeof t=="object")for(a=t.length,h=0;h<a;h+=1)typeof t[h]=="string"&&(l=t[h],c=r(l,o),c&&s.push(f(l)+(n?": ":":")+c));else for(l in o)Object.prototype.hasOwnProperty.call(o,l)&&(c=r(l,o),c&&s.push(f(l)+(n?": ":":")+c));return c=s.length===0?"{}":n?"{\n"+n+s.join(",\n"+n)+"\n"+v+"}":"{"+s.join(",")+"}",n=v,c}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var e=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,o=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n,u,s={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},t;typeof JSON.stringify!="function"&&(JSON.stringify=function(i,f,e){var o;n="",u="";if(typeof e=="number")for(o=0;o<e;o+=1)u+=" ";else typeof e=="string"&&(u=e);t=f;if(f&&typeof f!="function"&&(typeof f!="object"||typeof f.length!="number"))throw new Error("JSON.stringify");return r("",{"":i})}),typeof JSON.parse!="function"&&(JSON.parse=function(n,t){function r(n,i){var f,e,u=n[i];if(u&&typeof u=="object")for(f in u)Object.prototype.hasOwnProperty.call(u,f)&&(e=r(u,f),e!==undefined?u[f]=e:delete u[f]);return t.call(n,i,u)}var i;n=String(n),e.lastIndex=0,e.test(n)&&(n=n.replace(e,function(n){return"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(n.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return i=eval("("+n+")"),typeof t=="function"?r({"":i},""):i;throw new SyntaxError("JSON.parse");})})()
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>json2</id>
|
||||
<version>1.0.2</version>
|
||||
<title>JSON-js json2</title>
|
||||
<authors>Douglas Crockford</authors>
|
||||
<owners>Douglas Crockford</owners>
|
||||
<projectUrl>http://www.json.org/js.html</projectUrl>
|
||||
<iconUrl>http://www.json.org/img/json160.gif</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>JSON is a light-weight, language independent, data interchange format.
|
||||
See http://www.JSON.org/
|
||||
|
||||
This package implements JSON encoders/decoders in JavaScript.</description>
|
||||
<tags>json json2</tags>
|
||||
</metadata>
|
||||
</package>
|
||||
@@ -2,6 +2,4 @@
|
||||
<repositories>
|
||||
<repository path="..\..\ETS_Data\packages.config" />
|
||||
<repository path="..\PROJ-ETS\packages.config" />
|
||||
<repository path="..\PROJ-ETS-4\packages.config" />
|
||||
<repository path="..\Test\packages.config" />
|
||||
</repositories>
|
||||