Compare commits
33 Commits
v_2.6.2009.1294
...
1297
| Author | SHA1 | Date | |
|---|---|---|---|
| edeae62181 | |||
| e99544dd78 | |||
| 4b0bd863f6 | |||
| 73acf349ff | |||
| 0895bf08b8 | |||
| 6ca94794fa | |||
| eb87288446 | |||
| 4c2e481d4c | |||
| deee1e1800 | |||
| 85cbb1be30 | |||
| 7ac3583315 | |||
| 75864973da | |||
| b09e3df276 | |||
| 702cc62330 | |||
| 71f37adfdf | |||
| 01cdcdf462 | |||
| 69d32a8dbe | |||
| 35ad6e812c | |||
| 4eb18a54be | |||
| 55775f2cc9 | |||
| 4d39ca94f5 | |||
| 304fbb6ba0 | |||
| 309169abb3 | |||
| 791e7c6ffd | |||
| 8001b86fbe | |||
| 76841fb5d8 | |||
| e85159d108 | |||
| bd275bf385 | |||
| 567290861e | |||
| 38359c612c | |||
| 4cb65697b2 | |||
| c2dabf0344 | |||
| 91ccb018af |
Vendored
+3
-3
@@ -12,9 +12,9 @@ pipeline {
|
||||
steps {
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=1294']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '6.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '6.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
withEnv(['NEXT_BUILD_NUMBER=1297']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '6.10.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '6.10.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'MAPO'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,40 +2,38 @@
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public class BundleConfig
|
||||
{
|
||||
// Per altre informazioni sulla creazione di bundle, vedere https://go.microsoft.com/fwlink/?LinkID=303951
|
||||
public static void RegisterBundles(BundleCollection bundles)
|
||||
public class BundleConfig
|
||||
{
|
||||
bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
|
||||
"~/Scripts/WebForms/WebForms.js",
|
||||
"~/Scripts/WebForms/WebUIValidation.js",
|
||||
"~/Scripts/WebForms/MenuStandards.js",
|
||||
"~/Scripts/WebForms/Focus.js",
|
||||
"~/Scripts/WebForms/GridView.js",
|
||||
"~/Scripts/WebForms/DetailsView.js",
|
||||
"~/Scripts/WebForms/TreeView.js",
|
||||
"~/Scripts/WebForms/WebParts.js"));
|
||||
// Per altre informazioni sulla creazione di bundle, vedere https://go.microsoft.com/fwlink/?LinkID=303951
|
||||
public static void RegisterBundles(BundleCollection bundles)
|
||||
{
|
||||
bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
|
||||
"~/Scripts/WebForms/WebForms.js",
|
||||
"~/Scripts/WebForms/WebUIValidation.js",
|
||||
"~/Scripts/WebForms/MenuStandards.js",
|
||||
"~/Scripts/WebForms/Focus.js",
|
||||
"~/Scripts/WebForms/GridView.js",
|
||||
"~/Scripts/WebForms/DetailsView.js",
|
||||
"~/Scripts/WebForms/TreeView.js",
|
||||
"~/Scripts/WebForms/WebParts.js"));
|
||||
|
||||
// L'ordine è molto importante per il funzionamento di questi file poiché hanno dipendenze esplicite
|
||||
bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
|
||||
// L'ordine è molto importante per il funzionamento di questi file poiché hanno dipendenze esplicite
|
||||
bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
|
||||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
|
||||
|
||||
// Utilizzare la versione di sviluppo di Modernizr per eseguire attività di sviluppo ed esercizi. Successivamente, quando si è
|
||||
// pronti per passare alla produzione, usare lo strumento di compilazione disponibile all'indirizzo https://modernizr.com per selezionare solo i test necessari
|
||||
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
|
||||
"~/Scripts/modernizr-*"));
|
||||
// Utilizzare la versione di sviluppo di Modernizr per eseguire attività di sviluppo ed esercizi. Successivamente, quando si è
|
||||
// pronti per passare alla produzione, usare lo strumento di compilazione disponibile all'indirizzo https://modernizr.com per selezionare solo i test necessari
|
||||
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
|
||||
"~/Scripts/modernizr-*"));
|
||||
|
||||
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
|
||||
"~/Scripts/jquery-{version}.js"));
|
||||
|
||||
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
|
||||
"~/Scripts/jquery-{version}.js"));
|
||||
|
||||
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
|
||||
"~/Scripts/jquery-ui-{version}.js"));
|
||||
|
||||
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
|
||||
"~/Scripts/jquery-ui-{version}.js"));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,21 +3,21 @@ using System;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public class MP_Startup
|
||||
{
|
||||
public static void Init()
|
||||
public class MP_Startup
|
||||
{
|
||||
logger.lg.scriviLog("Esecuzione MyStartup.init()", tipoLog.STARTUP);
|
||||
try
|
||||
{
|
||||
// inizializzo appConf prima di tutto il resto...
|
||||
memLayer.ML.resetAppConf();
|
||||
logger.lg.scriviLog("Completata esecuzione preliminare setup AppConf", tipoLog.STARTUP);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog($"Eccezione in fase di INIT preliminare applicazione{Environment.NewLine}{exc}", tipoLog.EXCEPTION);
|
||||
}
|
||||
public static void Init()
|
||||
{
|
||||
logger.lg.scriviLog("Esecuzione MyStartup.init()", tipoLog.STARTUP);
|
||||
try
|
||||
{
|
||||
// inizializzo appConf prima di tutto il resto...
|
||||
memLayer.ML.resetAppConf();
|
||||
logger.lg.scriviLog("Completata esecuzione preliminare setup AppConf", tipoLog.STARTUP);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog($"Eccezione in fase di INIT preliminare applicazione{Environment.NewLine}{exc}", tipoLog.EXCEPTION);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,13 +3,13 @@ using System.Web.Routing;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public static class RouteConfig
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
public static class RouteConfig
|
||||
{
|
||||
var settings = new FriendlyUrlSettings();
|
||||
settings.AutoRedirectMode = RedirectMode.Permanent;
|
||||
routes.EnableFriendlyUrls(settings);
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
var settings = new FriendlyUrlSettings();
|
||||
settings.AutoRedirectMode = RedirectMode.Permanent;
|
||||
routes.EnableFriendlyUrls(settings);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+7
-8
@@ -3,12 +3,11 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_barcode.ascx" TagPrefix="uc1" TagName="mod_barcode" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_gestPromODL.ascx" TagPrefix="uc1" TagName="mod_gestPromODL" %>
|
||||
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
<div runat="server" id="divContent">
|
||||
<uc1:mod_barcode runat="server" ID="mod_barcode" />
|
||||
<hr />
|
||||
<uc1:mod_gestPromODL runat="server" ID="mod_gestPromODL" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
<div runat="server" id="divContent">
|
||||
<uc1:mod_barcode runat="server" ID="mod_barcode" />
|
||||
<hr />
|
||||
<uc1:mod_gestPromODL runat="server" ID="mod_gestPromODL" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -17,6 +17,7 @@ namespace MP_ADM
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptBCode_CodGruppo");
|
||||
}
|
||||
}
|
||||
|
||||
private void checkEnabled()
|
||||
{
|
||||
bool optPar = memLayer.ML.CRB("OptAdmBCodeEnabled");
|
||||
|
||||
+2
-2
@@ -5,5 +5,5 @@
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
|
||||
<uc1:mod_barcode runat="server" ID="mod_barcode" />
|
||||
</asp:Content>
|
||||
<uc1:mod_barcode runat="server" ID="mod_barcode" />
|
||||
</asp:Content>
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public partial class Barcode : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
public partial class Barcode : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
-5
@@ -1,9 +1,5 @@
|
||||
using MapoDb;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
@@ -17,17 +13,19 @@ namespace MP_ADM
|
||||
get
|
||||
{
|
||||
string pagina = memLayer.ML.StringSessionObj("nextPage");
|
||||
if (pagina == "")
|
||||
if (string.IsNullOrEmpty(pagina))
|
||||
{
|
||||
pagina = "menu.aspx";
|
||||
}
|
||||
return pagina;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto datalayer specifico
|
||||
/// </summary>
|
||||
internal DataLayer DataLayerObj = new DataLayer();
|
||||
|
||||
/// <summary>
|
||||
/// effettua traduzione del lemma
|
||||
/// </summary>
|
||||
@@ -37,6 +35,7 @@ namespace MP_ADM
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// effettua traduzione in inglese del lemma
|
||||
/// </summary>
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
using MapoDb;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
@@ -11,10 +8,11 @@ namespace MP_ADM
|
||||
{
|
||||
#region gestione eventi
|
||||
|
||||
public event EventHandler eh_nuovoValore;
|
||||
public event EventHandler eh_resetSelezione;
|
||||
public event EventHandler eh_selValore;
|
||||
public event EventHandler eh_nuovoValore;
|
||||
|
||||
public event EventHandler eh_resetSelezione;
|
||||
|
||||
public event EventHandler eh_selValore;
|
||||
|
||||
/// <summary>
|
||||
/// Solleva evento nuovo valore
|
||||
@@ -36,6 +34,7 @@ namespace MP_ADM
|
||||
eh_selValore(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Solleva evento reset
|
||||
/// </summary>
|
||||
@@ -47,7 +46,7 @@ namespace MP_ADM
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion gestione eventi
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto datalayer specifico NON singleton x scalare
|
||||
@@ -64,6 +63,7 @@ namespace MP_ADM
|
||||
return this.UniqueID.Replace("$", "_").Replace("-", "_");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// titolo pagina
|
||||
/// </summary>
|
||||
@@ -75,7 +75,7 @@ namespace MP_ADM
|
||||
}
|
||||
}
|
||||
|
||||
#region utils
|
||||
#region utils
|
||||
|
||||
/// <summary>
|
||||
/// effettua traduzione del lemma
|
||||
@@ -86,6 +86,7 @@ namespace MP_ADM
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// effettua traduzione in inglese del lemma
|
||||
/// </summary>
|
||||
@@ -112,6 +113,7 @@ namespace MP_ADM
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// conversione da tempo minuti centesimali a minuti/secondi
|
||||
/// </summary>
|
||||
@@ -129,6 +131,6 @@ namespace MP_ADM
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion utils
|
||||
}
|
||||
}
|
||||
@@ -3,12 +3,11 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_barcode.ascx" TagPrefix="uc1" TagName="mod_barcode" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_gestPromODL.ascx" TagPrefix="uc1" TagName="mod_gestPromODL" %>
|
||||
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
<div runat="server" id="divContent">
|
||||
<uc1:mod_barcode runat="server" ID="mod_barcode" />
|
||||
<hr />
|
||||
<uc1:mod_gestPromODL runat="server" ID="mod_gestPromODL" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
<div runat="server" id="divContent">
|
||||
<uc1:mod_barcode runat="server" ID="mod_barcode" />
|
||||
<hr />
|
||||
<uc1:mod_gestPromODL runat="server" ID="mod_gestPromODL" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -15,6 +15,7 @@ namespace MP_ADM
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptCTrack_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptCTrack_CodGruppo");
|
||||
}
|
||||
|
||||
private void checkEnabled()
|
||||
{
|
||||
bool optPar = memLayer.ML.CRB("OptAdmCTrackEnabled");
|
||||
|
||||
+1542
-1246
File diff suppressed because it is too large
Load Diff
+1217
-1228
File diff suppressed because it is too large
Load Diff
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3718
-3030
File diff suppressed because it is too large
Load Diff
Vendored
+147
-147
@@ -8,324 +8,324 @@
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
line-height: 1.15;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
font-family: sans-serif;
|
||||
line-height: 1.15;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
[tabindex="-1"]:focus {
|
||||
outline: 0 !important;
|
||||
outline: 0 !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
overflow: visible;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
abbr[title],
|
||||
abbr[data-original-title] {
|
||||
text-decoration: underline;
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
border-bottom: 0;
|
||||
-webkit-text-decoration-skip-ink: none;
|
||||
text-decoration-skip-ink: none;
|
||||
text-decoration: underline;
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
border-bottom: 0;
|
||||
-webkit-text-decoration-skip-ink: none;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul,
|
||||
dl {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: 700;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: .5rem;
|
||||
margin-left: 0;
|
||||
margin-bottom: .5rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0 1rem;
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
position: relative;
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
position: relative;
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -.25em;
|
||||
bottom: -.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -.5em;
|
||||
top: -.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:not([href]):not([tabindex]) {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:not([href]):not([tabindex]) {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:not([href]):not([tabindex]):focus {
|
||||
outline: 0;
|
||||
}
|
||||
a:not([href]):not([tabindex]):focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 1em;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0 0 1rem;
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
svg {
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
caption {
|
||||
padding-top: 0.75rem;
|
||||
padding-bottom: 0.75rem;
|
||||
color: #6c757d;
|
||||
text-align: left;
|
||||
caption-side: bottom;
|
||||
padding-top: 0.75rem;
|
||||
padding-bottom: 0.75rem;
|
||||
color: #6c757d;
|
||||
text-align: left;
|
||||
caption-side: bottom;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
margin-bottom: 0.5rem;
|
||||
display: inline-block;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
button:focus {
|
||||
outline: 1px dotted;
|
||||
outline: 5px auto -webkit-focus-ring-color;
|
||||
}
|
||||
button:focus {
|
||||
outline: 1px dotted;
|
||||
outline: 5px auto -webkit-focus-ring-color;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
overflow: visible;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
select {
|
||||
word-wrap: normal;
|
||||
word-wrap: normal;
|
||||
}
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
button:not(:disabled),
|
||||
[type="button"]:not(:disabled),
|
||||
[type="reset"]:not(:disabled),
|
||||
[type="submit"]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
button:not(:disabled),
|
||||
[type="button"]:not(:disabled),
|
||||
[type="reset"]:not(:disabled),
|
||||
[type="submit"]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
input[type="date"],
|
||||
input[type="time"],
|
||||
input[type="datetime-local"],
|
||||
input[type="month"] {
|
||||
-webkit-appearance: listbox;
|
||||
-webkit-appearance: listbox;
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: .5rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
white-space: normal;
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: .5rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
[type="search"] {
|
||||
outline-offset: -2px;
|
||||
-webkit-appearance: none;
|
||||
outline-offset: -2px;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
output {
|
||||
display: inline-block;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
template {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
||||
Vendored
+7707
-6913
File diff suppressed because it is too large
Load Diff
Vendored
+1500
-789
File diff suppressed because it is too large
Load Diff
+19
-16
@@ -1,24 +1,27 @@
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/OpenSans.woff') format('woff');
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/OpenSans.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans Condensed';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: url('../fonts/OpenSansCondensed.woff') format('woff');
|
||||
font-family: 'Open Sans Condensed';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: url('../fonts/OpenSansCondensed.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/Roboto.woff') format('woff');
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/Roboto.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto Condensed';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/RobotoCondensed.woff') format('woff');
|
||||
font-family: 'Roboto Condensed';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/RobotoCondensed.woff') format('woff');
|
||||
}
|
||||
+17
-17
@@ -1,27 +1,27 @@
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/OpenSans.woff') format('woff');
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/OpenSans.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans Condensed';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: url('../fonts/OpenSansCondensed.woff') format('woff');
|
||||
font-family: 'Open Sans Condensed';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: url('../fonts/OpenSansCondensed.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/Roboto.woff') format('woff');
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/Roboto.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto Condensed';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/RobotoCondensed.woff') format('woff');
|
||||
}
|
||||
font-family: 'Roboto Condensed';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/RobotoCondensed.woff') format('woff');
|
||||
}
|
||||
@@ -9,28 +9,32 @@
|
||||
* http://api.jqueryui.com/accordion/#theming
|
||||
*/
|
||||
.ui-accordion .ui-accordion-header {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
margin: 2px 0 0 0;
|
||||
padding: .5em .5em .5em .7em;
|
||||
min-height: 0; /* support: IE7 */
|
||||
font-size: 100%;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
margin: 2px 0 0 0;
|
||||
padding: .5em .5em .5em .7em;
|
||||
min-height: 0; /* support: IE7 */
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
.ui-accordion .ui-accordion-icons {
|
||||
padding-left: 2.2em;
|
||||
}
|
||||
.ui-accordion .ui-accordion-icons .ui-accordion-icons {
|
||||
padding-left: 2.2em;
|
||||
padding-left: 2.2em;
|
||||
}
|
||||
|
||||
.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;
|
||||
position: absolute;
|
||||
left: .5em;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
|
||||
.ui-accordion .ui-accordion-content {
|
||||
padding: 1em 2.2em;
|
||||
border-top: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
padding: 1em 2.2em;
|
||||
border-top: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
@@ -9,4 +9,4 @@
|
||||
* http://api.jqueryui.com/category/theming/
|
||||
*/
|
||||
@import "base.css";
|
||||
@import "theme.css";
|
||||
@import "theme.css";
|
||||
@@ -9,8 +9,8 @@
|
||||
* http://api.jqueryui.com/autocomplete/#theming
|
||||
*/
|
||||
.ui-autocomplete {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
cursor: default;
|
||||
}
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
cursor: default;
|
||||
}
|
||||
@@ -25,4 +25,4 @@
|
||||
@import url("slider.css");
|
||||
@import url("spinner.css");
|
||||
@import url("tabs.css");
|
||||
@import url("tooltip.css");
|
||||
@import url("tooltip.css");
|
||||
@@ -9,66 +9,74 @@
|
||||
* http://api.jqueryui.com/button/#theming
|
||||
*/
|
||||
.ui-button {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
line-height: normal;
|
||||
margin-right: .1em;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
overflow: visible; /* removes extra width in IE */
|
||||
}
|
||||
.ui-button,
|
||||
.ui-button:link,
|
||||
.ui-button:visited,
|
||||
.ui-button:hover,
|
||||
.ui-button:active {
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
line-height: normal;
|
||||
margin-right: .1em;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
overflow: visible; /* removes extra width in IE */
|
||||
}
|
||||
|
||||
.ui-button,
|
||||
.ui-button:link,
|
||||
.ui-button:visited,
|
||||
.ui-button:hover,
|
||||
.ui-button:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
/* to make room for the icon, a width needs to be set here */
|
||||
.ui-button-icon-only {
|
||||
width: 2.2em;
|
||||
width: 2.2em;
|
||||
}
|
||||
/* button elements seem to need a little more width */
|
||||
button.ui-button-icon-only {
|
||||
width: 2.4em;
|
||||
width: 2.4em;
|
||||
}
|
||||
|
||||
.ui-button-icons-only {
|
||||
width: 3.4em;
|
||||
width: 3.4em;
|
||||
}
|
||||
|
||||
button.ui-button-icons-only {
|
||||
width: 3.7em;
|
||||
width: 3.7em;
|
||||
}
|
||||
|
||||
/* button text element */
|
||||
.ui-button .ui-button-text {
|
||||
display: block;
|
||||
line-height: normal;
|
||||
display: block;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.ui-button-text-only .ui-button-text {
|
||||
padding: .4em 1em;
|
||||
padding: .4em 1em;
|
||||
}
|
||||
|
||||
.ui-button-icon-only .ui-button-text,
|
||||
.ui-button-icons-only .ui-button-text {
|
||||
padding: .4em;
|
||||
text-indent: -9999999px;
|
||||
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;
|
||||
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;
|
||||
padding: .4em 2.1em .4em 1em;
|
||||
}
|
||||
|
||||
.ui-button-text-icons .ui-button-text {
|
||||
padding-left: 2.1em;
|
||||
padding-right: 2.1em;
|
||||
padding-left: 2.1em;
|
||||
padding-right: 2.1em;
|
||||
}
|
||||
/* no icon support for input elements, provide padding by default */
|
||||
input.ui-button {
|
||||
padding: .4em 1em;
|
||||
padding: .4em 1em;
|
||||
}
|
||||
|
||||
/* button icon element(s) */
|
||||
@@ -77,38 +85,42 @@ input.ui-button {
|
||||
.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;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
|
||||
.ui-button-icon-only .ui-icon {
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
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;
|
||||
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;
|
||||
right: .5em;
|
||||
}
|
||||
|
||||
/* button sets */
|
||||
.ui-buttonset {
|
||||
margin-right: 7px;
|
||||
}
|
||||
.ui-buttonset .ui-button {
|
||||
margin-left: 0;
|
||||
margin-right: -.3em;
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
.ui-buttonset .ui-button {
|
||||
margin-left: 0;
|
||||
margin-right: -.3em;
|
||||
}
|
||||
|
||||
/* workarounds */
|
||||
/* reset extra padding in Firefox, see h5bp.com/l */
|
||||
input.ui-button::-moz-focus-inner,
|
||||
button.ui-button::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
@@ -12,82 +12,85 @@
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 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;
|
||||
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;
|
||||
border-collapse: collapse;
|
||||
content: "";
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.ui-helper-clearfix:after {
|
||||
clear: both;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.ui-helper-clearfix {
|
||||
min-height: 0; /* support: IE7 */
|
||||
min-height: 0; /* support: IE7 */
|
||||
}
|
||||
|
||||
.ui-helper-zfix {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
filter:Alpha(Opacity=0); /* support: IE8 */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
filter: Alpha(Opacity=0); /* support: IE8 */
|
||||
}
|
||||
|
||||
.ui-front {
|
||||
z-index: 100;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled {
|
||||
cursor: default !important;
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon {
|
||||
display: block;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
display: block;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
@@ -9,167 +9,201 @@
|
||||
* http://api.jqueryui.com/datepicker/#theming
|
||||
*/
|
||||
.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,
|
||||
.ui-datepicker select.ui-datepicker-year {
|
||||
width: 45%;
|
||||
}
|
||||
.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;
|
||||
width: 17em;
|
||||
padding: .2em .2em 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* with multiple calendars */
|
||||
.ui-datepicker.ui-datepicker-multi {
|
||||
width: auto;
|
||||
}
|
||||
.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,
|
||||
.ui-datepicker select.ui-datepicker-year {
|
||||
width: 45%;
|
||||
}
|
||||
|
||||
.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;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ui-datepicker-multi .ui-datepicker-group table {
|
||||
width: 95%;
|
||||
margin: 0 auto .4em;
|
||||
}
|
||||
|
||||
.ui-datepicker-multi-2 .ui-datepicker-group {
|
||||
width: 50%;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.ui-datepicker-multi-3 .ui-datepicker-group {
|
||||
width: 33.3%;
|
||||
width: 33.3%;
|
||||
}
|
||||
|
||||
.ui-datepicker-multi-4 .ui-datepicker-group {
|
||||
width: 25%;
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
|
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-left-width: 0;
|
||||
border-left-width: 0;
|
||||
}
|
||||
|
||||
.ui-datepicker-multi .ui-datepicker-buttonpane {
|
||||
clear: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.ui-datepicker-row-break {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
font-size: 0;
|
||||
clear: both;
|
||||
width: 100%;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
/* 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,
|
||||
.ui-datepicker-rtl .ui-datepicker-group {
|
||||
float: right;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-right-width: 0;
|
||||
border-left-width: 1px;
|
||||
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,
|
||||
.ui-datepicker-rtl .ui-datepicker-group {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-right-width: 0;
|
||||
border-left-width: 1px;
|
||||
}
|
||||
@@ -9,62 +9,71 @@
|
||||
* http://api.jqueryui.com/dialog/#theming
|
||||
*/
|
||||
.ui-dialog {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding: .2em;
|
||||
outline: 0;
|
||||
}
|
||||
.ui-dialog .ui-dialog-titlebar {
|
||||
padding: .4em 1em;
|
||||
position: relative;
|
||||
}
|
||||
.ui-dialog .ui-dialog-title {
|
||||
float: left;
|
||||
margin: .1em 0;
|
||||
white-space: nowrap;
|
||||
width: 90%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.ui-dialog .ui-dialog-titlebar-close {
|
||||
position: absolute;
|
||||
right: .3em;
|
||||
top: 50%;
|
||||
width: 20px;
|
||||
margin: -10px 0 0 0;
|
||||
padding: 1px;
|
||||
height: 20px;
|
||||
}
|
||||
.ui-dialog .ui-dialog-content {
|
||||
position: relative;
|
||||
border: 0;
|
||||
padding: .5em 1em;
|
||||
background: none;
|
||||
overflow: auto;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane {
|
||||
text-align: left;
|
||||
border-width: 1px 0 0 0;
|
||||
background-image: none;
|
||||
margin-top: .5em;
|
||||
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: 12px;
|
||||
height: 12px;
|
||||
right: -5px;
|
||||
bottom: -5px;
|
||||
background-position: 16px 16px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding: .2em;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.ui-dialog .ui-dialog-titlebar {
|
||||
padding: .4em 1em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ui-dialog .ui-dialog-title {
|
||||
float: left;
|
||||
margin: .1em 0;
|
||||
white-space: nowrap;
|
||||
width: 90%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.ui-dialog .ui-dialog-titlebar-close {
|
||||
position: absolute;
|
||||
right: .3em;
|
||||
top: 50%;
|
||||
width: 20px;
|
||||
margin: -10px 0 0 0;
|
||||
padding: 1px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.ui-dialog .ui-dialog-content {
|
||||
position: relative;
|
||||
border: 0;
|
||||
padding: .5em 1em;
|
||||
background: none;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.ui-dialog .ui-dialog-buttonpane {
|
||||
text-align: left;
|
||||
border-width: 1px 0 0 0;
|
||||
background-image: none;
|
||||
margin-top: .5em;
|
||||
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: 12px;
|
||||
height: 12px;
|
||||
right: -5px;
|
||||
bottom: -5px;
|
||||
background-position: 16px 16px;
|
||||
}
|
||||
|
||||
.ui-draggable .ui-dialog-titlebar {
|
||||
cursor: move;
|
||||
}
|
||||
cursor: move;
|
||||
}
|
||||
@@ -7,6 +7,6 @@
|
||||
* http://jquery.org/license
|
||||
*/
|
||||
.ui-draggable-handle {
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
+1694
-1009
File diff suppressed because it is too large
Load Diff
@@ -9,55 +9,60 @@
|
||||
* http://api.jqueryui.com/menu/#theming
|
||||
*/
|
||||
.ui-menu {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: block;
|
||||
outline: none;
|
||||
}
|
||||
.ui-menu .ui-menu {
|
||||
position: absolute;
|
||||
}
|
||||
.ui-menu .ui-menu-item {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 3px 1em 3px .4em;
|
||||
cursor: pointer;
|
||||
min-height: 0; /* support: IE7 */
|
||||
/* support: IE10, see #8844 */
|
||||
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
|
||||
}
|
||||
.ui-menu .ui-menu-divider {
|
||||
margin: 5px 0;
|
||||
height: 0;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
.ui-menu .ui-state-focus,
|
||||
.ui-menu .ui-state-active {
|
||||
margin: -1px;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: block;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.ui-menu .ui-menu {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ui-menu .ui-menu-item {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 3px 1em 3px .4em;
|
||||
cursor: pointer;
|
||||
min-height: 0; /* support: IE7 */
|
||||
/* support: IE10, see #8844 */
|
||||
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
|
||||
}
|
||||
|
||||
.ui-menu .ui-menu-divider {
|
||||
margin: 5px 0;
|
||||
height: 0;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
|
||||
.ui-menu .ui-state-focus,
|
||||
.ui-menu .ui-state-active {
|
||||
margin: -1px;
|
||||
}
|
||||
|
||||
/* icon support */
|
||||
.ui-menu-icons {
|
||||
position: relative;
|
||||
}
|
||||
.ui-menu-icons .ui-menu-item {
|
||||
padding-left: 2em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ui-menu-icons .ui-menu-item {
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
/* left-aligned */
|
||||
.ui-menu .ui-icon {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: .2em;
|
||||
margin: auto 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: .2em;
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
/* right-aligned */
|
||||
.ui-menu .ui-menu-icon {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
@@ -9,20 +9,23 @@
|
||||
* http://api.jqueryui.com/progressbar/#theming
|
||||
*/
|
||||
.ui-progressbar {
|
||||
height: 2em;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
.ui-progressbar .ui-progressbar-value {
|
||||
margin: -1px;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-progressbar .ui-progressbar-overlay {
|
||||
background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
|
||||
height: 100%;
|
||||
filter: alpha(opacity=25); /* support: IE8 */
|
||||
opacity: 0.25;
|
||||
height: 2em;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ui-progressbar .ui-progressbar-value {
|
||||
margin: -1px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.ui-progressbar .ui-progressbar-overlay {
|
||||
background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
|
||||
height: 100%;
|
||||
filter: alpha(opacity=25); /* support: IE8 */
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
.ui-progressbar-indeterminate .ui-progressbar-value {
|
||||
background-image: none;
|
||||
}
|
||||
background-image: none;
|
||||
}
|
||||
@@ -7,72 +7,82 @@
|
||||
* http://jquery.org/license
|
||||
*/
|
||||
.ui-resizable {
|
||||
position: relative;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ui-resizable-handle {
|
||||
position: absolute;
|
||||
font-size: 0.1px;
|
||||
display: block;
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
position: absolute;
|
||||
font-size: 0.1px;
|
||||
display: block;
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.ui-resizable-disabled .ui-resizable-handle,
|
||||
.ui-resizable-autohide .ui-resizable-handle {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ui-resizable-n {
|
||||
cursor: n-resize;
|
||||
height: 7px;
|
||||
width: 100%;
|
||||
top: -5px;
|
||||
left: 0;
|
||||
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;
|
||||
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%;
|
||||
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%;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
}
|
||||
cursor: ne-resize;
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
right: -5px;
|
||||
top: -5px;
|
||||
}
|
||||
@@ -7,11 +7,12 @@
|
||||
* http://jquery.org/license
|
||||
*/
|
||||
.ui-selectable {
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.ui-selectable-helper {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
border: 1px dotted black;
|
||||
}
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
border: 1px dotted black;
|
||||
}
|
||||
@@ -9,51 +9,57 @@
|
||||
* http://api.jqueryui.com/selectmenu/#theming
|
||||
*/
|
||||
.ui-selectmenu-menu {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
}
|
||||
.ui-selectmenu-menu .ui-menu {
|
||||
overflow: auto;
|
||||
/* Support: IE7 */
|
||||
overflow-x: hidden;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
line-height: 1.5;
|
||||
padding: 2px 0.4em;
|
||||
margin: 0.5em 0 0 0;
|
||||
height: auto;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ui-selectmenu-menu .ui-menu {
|
||||
overflow: auto;
|
||||
/* Support: IE7 */
|
||||
overflow-x: hidden;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
line-height: 1.5;
|
||||
padding: 2px 0.4em;
|
||||
margin: 0.5em 0 0 0;
|
||||
height: auto;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.ui-selectmenu-open {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ui-selectmenu-button {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ui-selectmenu-button span.ui-icon {
|
||||
right: 0.5em;
|
||||
left: auto;
|
||||
margin-top: -8px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
}
|
||||
.ui-selectmenu-button span.ui-selectmenu-text {
|
||||
text-align: left;
|
||||
padding: 0.4em 2.1em 0.4em 1em;
|
||||
display: block;
|
||||
line-height: 1.4;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ui-selectmenu-button span.ui-icon {
|
||||
right: 0.5em;
|
||||
left: auto;
|
||||
margin-top: -8px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.ui-selectmenu-button span.ui-selectmenu-text {
|
||||
text-align: left;
|
||||
padding: 0.4em 2.1em 0.4em 1em;
|
||||
display: block;
|
||||
line-height: 1.4;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -9,67 +9,77 @@
|
||||
* http://api.jqueryui.com/slider/#theming
|
||||
*/
|
||||
.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;
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
.ui-slider .ui-slider-range {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
font-size: .7em;
|
||||
display: block;
|
||||
border: 0;
|
||||
background-position: 0 0;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* support: IE8 - See #6727 */
|
||||
.ui-slider.ui-state-disabled .ui-slider-handle,
|
||||
.ui-slider.ui-state-disabled .ui-slider-range {
|
||||
filter: inherit;
|
||||
}
|
||||
.ui-slider .ui-slider-handle {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
cursor: default;
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.ui-slider .ui-slider-range {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
font-size: .7em;
|
||||
display: block;
|
||||
border: 0;
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
/* support: IE8 - See #6727 */
|
||||
.ui-slider.ui-state-disabled .ui-slider-handle,
|
||||
.ui-slider.ui-state-disabled .ui-slider-range {
|
||||
filter: inherit;
|
||||
}
|
||||
|
||||
.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;
|
||||
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;
|
||||
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;
|
||||
}
|
||||
@@ -7,6 +7,6 @@
|
||||
* http://jquery.org/license
|
||||
*/
|
||||
.ui-sortable-handle {
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
@@ -9,57 +9,61 @@
|
||||
* http://api.jqueryui.com/spinner/#theming
|
||||
*/
|
||||
.ui-spinner {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.ui-spinner-input {
|
||||
border: none;
|
||||
background: none;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
margin: .2em 0;
|
||||
vertical-align: middle;
|
||||
margin-left: .4em;
|
||||
margin-right: 22px;
|
||||
border: none;
|
||||
background: none;
|
||||
color: inherit;
|
||||
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;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
cursor: default;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
right: 0;
|
||||
width: 16px;
|
||||
height: 50%;
|
||||
font-size: .5em;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
cursor: default;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
right: 0;
|
||||
}
|
||||
/* more specificity required here to override default borders */
|
||||
.ui-spinner a.ui-spinner-button {
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
border-right: none;
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
border-right: none;
|
||||
}
|
||||
/* vertically center icon */
|
||||
.ui-spinner .ui-icon {
|
||||
position: absolute;
|
||||
margin-top: -8px;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
margin-top: -8px;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.ui-spinner-up {
|
||||
top: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.ui-spinner-down {
|
||||
bottom: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
/* TR overrides */
|
||||
.ui-spinner .ui-icon-triangle-1-s {
|
||||
/* need to fix icons sprite */
|
||||
background-position: -65px -16px;
|
||||
}
|
||||
/* need to fix icons sprite */
|
||||
background-position: -65px -16px;
|
||||
}
|
||||
@@ -9,43 +9,50 @@
|
||||
* http://api.jqueryui.com/tabs/#theming
|
||||
*/
|
||||
.ui-tabs {
|
||||
position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
||||
padding: .2em;
|
||||
}
|
||||
.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-width: 0;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
|
||||
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 .ui-tabs-anchor,
|
||||
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
|
||||
cursor: text;
|
||||
position: relative; /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
||||
padding: .2em;
|
||||
}
|
||||
|
||||
.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-width: 0;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
|
||||
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 .ui-tabs-anchor,
|
||||
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ui-tabs .ui-tabs-panel {
|
||||
display: block;
|
||||
border-width: 0;
|
||||
padding: 1em 1.4em;
|
||||
background: none;
|
||||
}
|
||||
display: block;
|
||||
border-width: 0;
|
||||
padding: 1em 1.4em;
|
||||
background: none;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -9,13 +9,14 @@
|
||||
* http://api.jqueryui.com/tooltip/#theming
|
||||
*/
|
||||
.ui-tooltip {
|
||||
padding: 8px;
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
max-width: 300px;
|
||||
-webkit-box-shadow: 0 0 5px #aaa;
|
||||
box-shadow: 0 0 5px #aaa;
|
||||
padding: 8px;
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
max-width: 300px;
|
||||
-webkit-box-shadow: 0 0 5px #aaa;
|
||||
box-shadow: 0 0 5px #aaa;
|
||||
}
|
||||
|
||||
body .ui-tooltip {
|
||||
border-width: 2px;
|
||||
}
|
||||
border-width: 2px;
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,15 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" CodeBehind="DataImport.aspx.cs" Inherits="MP_ADM.DataImport" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<div class="row">
|
||||
<div class="col-3 py-4">
|
||||
<asp:LinkButton runat="server" ID="lbtProImportIS" CssClass="btn btn-outline-info btn-block py-3" OnClick="lbtProImportIS_Click">
|
||||
<div><i class="fa fa-download fa-4x"></i></div>
|
||||
<div class="row">
|
||||
<div class="col-3 py-4">
|
||||
<asp:LinkButton runat="server" ID="lbtProImportIS" CssClass="btn btn-outline-info btn-block py-3" OnClick="lbtProImportIS_Click">
|
||||
<div><i class="fa fa-download fa-4x"></i></div>
|
||||
<div class="font-weight-bold mt-1 table-dark text-light">
|
||||
Esegui Import + Allineamento Dati
|
||||
</div>
|
||||
</asp:LinkButton>
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
</asp:LinkButton>
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
</asp:Content>
|
||||
@@ -1,5 +1,4 @@
|
||||
using MapoDb;
|
||||
using SteamWare;
|
||||
using SteamWare;
|
||||
using System;
|
||||
|
||||
namespace MP_ADM
|
||||
@@ -34,7 +33,7 @@ namespace MP_ADM
|
||||
// se abilitato...
|
||||
if (OptAdmDB_IS_EnabFileImp)
|
||||
{
|
||||
// chiamo import...
|
||||
// chiamo import...
|
||||
DataLayerObj.taWKS.All_ImportFile_Process(null, null, null, null, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
+4
-5
@@ -2,15 +2,14 @@
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
@@ -9,4 +9,4 @@ namespace MP_ADM
|
||||
Response.Redirect("./login.aspx");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+8
-9
@@ -1,11 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.42
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM
|
||||
@@ -16,11 +15,11 @@ namespace MP_ADM
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// Controllo form1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" Inherits="ExportPdf" Codebehind="ExportPdf.aspx.cs" %>
|
||||
<%@ Page Language="C#" AutoEventWireup="true" Inherits="ExportPdf" CodeBehind="ExportPdf.aspx.cs" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
@@ -8,9 +8,8 @@
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
+15
-15
@@ -21,20 +21,20 @@ public partial class ExportPdf : System.Web.UI.Page
|
||||
reportName = "elenco_interventi";
|
||||
re.popolaPdfStream(tipo, idx);
|
||||
break;
|
||||
//case reportRichiesto.ElencoMacchine:
|
||||
// reportName = "elenco_macchine";
|
||||
// re.popolaPdfStream(tipo);
|
||||
// break;
|
||||
//case reportRichiesto.MTBF_MTTR:
|
||||
// reportName = "MTBF_MTTR";
|
||||
// re.popolaPdfStream(tipo, periodo, username, soloMacchinaFerma, includiMtzPrev);
|
||||
// break;
|
||||
//case reportRichiesto.RichiestaIntervento:
|
||||
// reportName = "richiesta";
|
||||
// re.popolaPdfStream(tipo, idx);
|
||||
// break;
|
||||
//default:
|
||||
// break;
|
||||
//case reportRichiesto.ElencoMacchine:
|
||||
// reportName = "elenco_macchine";
|
||||
// re.popolaPdfStream(tipo);
|
||||
// break;
|
||||
//case reportRichiesto.MTBF_MTTR:
|
||||
// reportName = "MTBF_MTTR";
|
||||
// re.popolaPdfStream(tipo, periodo, username, soloMacchinaFerma, includiMtzPrev);
|
||||
// break;
|
||||
//case reportRichiesto.RichiestaIntervento:
|
||||
// reportName = "richiesta";
|
||||
// re.popolaPdfStream(tipo, idx);
|
||||
// break;
|
||||
//default:
|
||||
// break;
|
||||
}
|
||||
Response.Clear();
|
||||
Response.ContentType = re.mimeType;
|
||||
@@ -42,4 +42,4 @@ public partial class ExportPdf : System.Web.UI.Page
|
||||
Response.BinaryWrite(re.renderedBytes);
|
||||
Response.End();
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+11
-11
@@ -1,23 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
public partial class ExportPdf {
|
||||
|
||||
public partial class ExportPdf
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// Controllo form1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
}
|
||||
|
||||
+9
-9
@@ -5,12 +5,12 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_gestKIT.ascx" TagPrefix="uc1" TagName="mod_gestKIT" %>
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
<div runat="server" id="divContent">
|
||||
<uc1:mod_gestKIT runat="server" ID="mod_gestKIT" />
|
||||
<hr />
|
||||
<uc1:mod_barcode runat="server" ID="mod_barcode" />
|
||||
<hr />
|
||||
<uc1:mod_gestPromODL runat="server" ID="mod_gestPromODL" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
<div runat="server" id="divContent">
|
||||
<uc1:mod_gestKIT runat="server" ID="mod_gestKIT" />
|
||||
<hr />
|
||||
<uc1:mod_barcode runat="server" ID="mod_barcode" />
|
||||
<hr />
|
||||
<uc1:mod_gestPromODL runat="server" ID="mod_gestPromODL" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -40,7 +40,7 @@ namespace MP_ADM
|
||||
|
||||
private void Mod_barcode_eh_dataRead(object sender, EventArgs e)
|
||||
{
|
||||
// verifico input su KIT x lettura "grezza"
|
||||
// verifico input su KIT x lettura "grezza"
|
||||
string rawInput = mod_barcode.rawInput;
|
||||
mod_gestKIT.lastInput = rawInput;
|
||||
mod_gestKIT.doUpdate();
|
||||
|
||||
@@ -5,16 +5,16 @@ using System.Web.Routing;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public class Global : HttpApplication
|
||||
{
|
||||
void Application_Start(object sender, EventArgs e)
|
||||
public class Global : HttpApplication
|
||||
{
|
||||
// Codice eseguito all'avvio dell'applicazione
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
BundleConfig.RegisterBundles(BundleTable.Bundles);
|
||||
private void Application_Start(object sender, EventArgs e)
|
||||
{
|
||||
// Codice eseguito all'avvio dell'applicazione
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
BundleConfig.RegisterBundles(BundleTable.Bundles);
|
||||
|
||||
// avvio il metodo init x applicazione...
|
||||
MP_Startup.Init();
|
||||
// avvio il metodo init x applicazione...
|
||||
MP_Startup.Init();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,5 +3,5 @@
|
||||
<%@ Register Src="~/WebUserControls/cmp_HwSwInfo.ascx" TagPrefix="uc1" TagName="cmp_HwSwInfo" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:cmp_HwSwInfo runat="server" id="cmp_HwSwInfo" />
|
||||
</asp:Content>
|
||||
<uc1:cmp_HwSwInfo runat="server" id="cmp_HwSwInfo" />
|
||||
</asp:Content>
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
@@ -11,7 +6,6 @@ namespace MP_ADM
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+55
-27
@@ -49,8 +49,8 @@
|
||||
<Reference Include="AegisImplicitMail, Version=1.0.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AIM.1.0.3\lib\AegisImplicitMail.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AjaxControlToolkit, Version=19.1.0.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AjaxControlToolkit.19.1.0\lib\net40\AjaxControlToolkit.dll</HintPath>
|
||||
<Reference Include="AjaxControlToolkit, Version=20.1.0.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AjaxControlToolkit.20.1.0\lib\net40\AjaxControlToolkit.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AspNet.ScriptManager.bootstrap, Version=4.3.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.bootstrap.4.3.1\lib\net45\AspNet.ScriptManager.bootstrap.dll</HintPath>
|
||||
@@ -64,8 +64,8 @@
|
||||
<Reference Include="Crc32C.NET, Version=1.0.5.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Crc32C.NET.1.0.5.0\lib\net20\Crc32C.NET.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DnsClient, Version=1.2.0.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\DnsClient.1.2.0\lib\net45\DnsClient.dll</HintPath>
|
||||
<Reference Include="DnsClient, Version=1.3.2.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\DnsClient.1.3.2\lib\net45\DnsClient.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Elmah, Version=1.2.14706.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\elmah.corelibrary.1.2.2\lib\Elmah.dll</HintPath>
|
||||
@@ -76,18 +76,21 @@
|
||||
<Reference Include="Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.SessionState.SessionStateModule.1.1.0\lib\Net462\Microsoft.AspNet.SessionState.SessionStateModule.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.1\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="Microsoft.Web.RedisSessionStateProvider, Version=4.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Web.RedisSessionStateProvider.4.0.1\lib\net462\Microsoft.Web.RedisSessionStateProvider.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Bson, Version=2.10.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Bson.2.10.1\lib\net452\MongoDB.Bson.dll</HintPath>
|
||||
<Reference Include="MongoDB.Bson, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Bson.2.11.2\lib\net452\MongoDB.Bson.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Driver, Version=2.10.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Driver.2.10.1\lib\net452\MongoDB.Driver.dll</HintPath>
|
||||
<Reference Include="MongoDB.Driver, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Driver.2.11.2\lib\net452\MongoDB.Driver.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Driver.Core, Version=2.10.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Driver.Core.2.10.1\lib\net452\MongoDB.Driver.Core.dll</HintPath>
|
||||
<Reference Include="MongoDB.Driver.Core, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Driver.Core.2.11.2\lib\net452\MongoDB.Driver.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Libmongocrypt, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Libmongocrypt.1.0.0\lib\net452\MongoDB.Libmongocrypt.dll</HintPath>
|
||||
@@ -96,7 +99,7 @@
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.4.6.8\lib\net45\NLog.dll</HintPath>
|
||||
<HintPath>..\packages\NLog.4.7.4\lib\net45\NLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PdfSharp, Version=1.50.5147.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\PDFsharp.1.50.5147\lib\net20\PdfSharp.dll</HintPath>
|
||||
@@ -105,22 +108,22 @@
|
||||
<HintPath>..\packages\PDFsharp.1.50.5147\lib\net20\PdfSharp.Charting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Pipelines.Sockets.Unofficial.2.1.1\lib\net461\Pipelines.Sockets.Unofficial.dll</HintPath>
|
||||
<HintPath>..\packages\Pipelines.Sockets.Unofficial.2.1.16\lib\net461\Pipelines.Sockets.Unofficial.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SharpCompress, Version=0.24.0.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SharpCompress.0.24.0\lib\net45\SharpCompress.dll</HintPath>
|
||||
<Reference Include="SharpCompress, Version=0.26.0.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SharpCompress.0.26.0\lib\net46\SharpCompress.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Snappy.NET, Version=1.1.1.8, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Snappy.NET.1.1.1.8\lib\net45\Snappy.NET.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\StackExchange.Redis.2.0.601\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
<HintPath>..\packages\StackExchange.Redis.2.1.58\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare, Version=3.5.2001.711, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.3.5.2001.711\lib\net462\SteamWare.dll</HintPath>
|
||||
<Reference Include="SteamWare, Version=4.9.2010.741, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.4.9.2010.741\lib\net462\SteamWare.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
|
||||
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System" />
|
||||
@@ -129,19 +132,24 @@
|
||||
<Reference Include="System.Diagnostics.PerformanceCounter, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Diagnostics.PerformanceCounter.4.7.0\lib\net461\System.Diagnostics.PerformanceCounter.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Compression, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
|
||||
<Reference Include="System.IO.Pipelines, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Pipelines.4.7.0\lib\netstandard2.0\System.IO.Pipelines.dll</HintPath>
|
||||
<Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Pipelines, Version=4.0.2.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Pipelines.4.7.2\lib\net461\System.IO.Pipelines.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll</HintPath>
|
||||
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http, Version=4.1.1.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Net.Http.4.3.4\lib\net46\System.Net.Http.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.1\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
||||
@@ -149,12 +157,24 @@
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net461\System.Security.Cryptography.Algorithms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.X509Certificates, Version=4.1.1.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.X509Certificates.4.3.2\lib\net461\System.Security.Cryptography.X509Certificates.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Threading.Channels, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Channels.4.7.0\lib\netstandard2.0\System.Threading.Channels.dll</HintPath>
|
||||
<HintPath>..\packages\System.Threading.Channels.4.7.1\lib\net461\System.Threading.Channels.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.3\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
@@ -270,6 +290,9 @@
|
||||
<Content Include="Content\themes\base\tabs.css" />
|
||||
<Content Include="Content\themes\base\theme.css" />
|
||||
<Content Include="Content\themes\base\tooltip.css" />
|
||||
<Content Include="Core\Compression\Snappy\lib\win\snappy32.dll" />
|
||||
<Content Include="Core\Compression\Snappy\lib\win\snappy64.dll" />
|
||||
<Content Include="Core\Compression\Zstandard\lib\win\libzstd.dll" />
|
||||
<Content Include="CTrackBCode.aspx" />
|
||||
<Content Include="DataImport.aspx" />
|
||||
<Content Include="Default.aspx" />
|
||||
@@ -416,6 +439,7 @@
|
||||
<Content Include="images\view_m.png" />
|
||||
<Content Include="images\view_s.gif" />
|
||||
<Content Include="images\view_s.png" />
|
||||
<Content Include="libzstd.dll" />
|
||||
<Content Include="login.aspx" />
|
||||
<Content Include="menu.aspx" />
|
||||
<Content Include="mongocrypt.dll" />
|
||||
@@ -431,8 +455,6 @@
|
||||
<Content Include="Scripts\bootstrap.min.js" />
|
||||
<Content Include="Content\fonts.less" />
|
||||
<Content Include="Content\Style.less" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-NLog.config" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-app.config" />
|
||||
<Content Include="Scripts\esm\popper-utils.js" />
|
||||
<Content Include="Scripts\esm\popper-utils.min.js" />
|
||||
<Content Include="Scripts\esm\popper.js" />
|
||||
@@ -442,6 +464,8 @@
|
||||
<Content Include="Scripts\esm\popper.js.map" />
|
||||
<Content Include="Scripts\esm\popper-utils.min.js.map" />
|
||||
<Content Include="Scripts\esm\popper-utils.js.map" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-NLog.config" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-app.config" />
|
||||
<None Include="Scripts\jquery-3.4.1.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.min.js" />
|
||||
@@ -518,6 +542,8 @@
|
||||
<Content Include="Scripts\umd\popper-utils.min.js" />
|
||||
<Content Include="Scripts\umd\popper.js" />
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="snappy32.dll" />
|
||||
<Content Include="snappy64.dll" />
|
||||
<Content Include="StoricoTC.aspx" />
|
||||
<Content Include="test.aspx" />
|
||||
<Content Include="testUtente.aspx" />
|
||||
@@ -1139,8 +1165,10 @@
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets" Condition="Exists('..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets')" />
|
||||
<Import Project="..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets" Condition="Exists('..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
||||
+23
-28
@@ -5,38 +5,33 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_planCreate.ascx" TagPrefix="uc1" TagName="mod_planCreate" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_gestPromODL_OUT.ascx" TagPrefix="uc1" TagName="mod_gestPromODL_OUT" %>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
<div runat="server" id="divContent">
|
||||
<uc1:mod_planStats runat="server" ID="mod_planStats" />
|
||||
<uc1:mod_planCreate runat="server" ID="mod_planCreate" />
|
||||
<div class="card">
|
||||
<div class="card-header bg-success text-light">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="p-0 align-self-center">
|
||||
<h5>Pianificazione</h5>
|
||||
</div>
|
||||
<div class="p-0" style="font-size: 1.6em;">
|
||||
</div>
|
||||
<div class="p-0 align-self-center">
|
||||
<asp:LinkButton runat="server" ID="lbtToggle" OnClick="lbtToggle_Click" CssClass="btn btn-light"><i class="fa fa-chevron-up" aria-hidden="true" runat="server" id="tgIcon"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body p-1" runat="server" id="divPromOUT">
|
||||
<%-- <br />
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
<div runat="server" id="divContent">
|
||||
<uc1:mod_planStats runat="server" ID="mod_planStats" />
|
||||
<uc1:mod_planCreate runat="server" ID="mod_planCreate" />
|
||||
<div class="card">
|
||||
<div class="card-header bg-success text-light">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="p-0 align-self-center">
|
||||
<h5>Pianificazione</h5>
|
||||
</div>
|
||||
<div class="p-0" style="font-size: 1.6em;">
|
||||
</div>
|
||||
<div class="p-0 align-self-center">
|
||||
<asp:LinkButton runat="server" ID="lbtToggle" OnClick="lbtToggle_Click" CssClass="btn btn-light"><i class="fa fa-chevron-up" aria-hidden="true" runat="server" id="tgIcon"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body p-1" runat="server" id="divPromOUT">
|
||||
<%-- <br />
|
||||
rivedere il discorso dei FREEPASS autogenerati... x filtrare x TIPO creazione
|
||||
<br />
|
||||
ordinare SEMPRE x priorità ASC (FIFO) e indicarlo!!!
|
||||
<br />
|
||||
togliere filtri da header e/o gestione toggle e/o nascondere creazione promessa?--%>
|
||||
<uc1:mod_gestPromODL_OUT runat="server" ID="mod_gestPromODL_OUT" />
|
||||
</div>
|
||||
<uc1:mod_gestPromODL_OUT runat="server" ID="mod_gestPromODL_OUT" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
</asp:Content>
|
||||
@@ -28,6 +28,7 @@ namespace MP_ADM
|
||||
mod_planStats.doReset();
|
||||
mod_gestPromODL_OUT.resetSelezione();
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -43,6 +44,7 @@ namespace MP_ADM
|
||||
divPromOUT.Visible = !divPromOUT.Visible;
|
||||
tgIcon.Attributes["class"] = divPromOUT.Visible ? "fa fa-chevron-up" : "fa fa-chevron-down";
|
||||
}
|
||||
|
||||
private void Mod_planStats_eh_selVal(object sender, EventArgs e)
|
||||
{
|
||||
fixSelStat();
|
||||
@@ -79,17 +81,17 @@ namespace MP_ADM
|
||||
#if false
|
||||
// invio ultimo kit creato a barcode...
|
||||
mod_barcode.BCodeVal = mod_gestKIT.lastKitMade;
|
||||
mod_barcode.processInput();
|
||||
mod_barcode.processInput();
|
||||
#endif
|
||||
}
|
||||
|
||||
private void Mod_barcode_eh_dataRead(object sender, EventArgs e)
|
||||
{
|
||||
#if false
|
||||
// verifico input su KIT x lettura "grezza"
|
||||
// verifico input su KIT x lettura "grezza"
|
||||
string rawInput = mod_barcode.rawInput;
|
||||
mod_gestKIT.lastInput = rawInput;
|
||||
mod_gestKIT.doUpdate();
|
||||
mod_gestKIT.doUpdate();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -109,7 +111,7 @@ namespace MP_ADM
|
||||
{
|
||||
mod_gestKIT.lastInput = mod_barcode.BCodeVal;
|
||||
}
|
||||
mod_gestKIT.doUpdate();
|
||||
mod_gestKIT.doUpdate();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Le informazioni generali relative a un assembly sono controllate dal seguente
|
||||
// Le informazioni generali relative a un assembly sono controllate dal seguente
|
||||
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
|
||||
// associate a un assembly.
|
||||
[assembly: AssemblyTitle("MP_ADM")]
|
||||
@@ -13,8 +13,8 @@ using System.Runtime.InteropServices;
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili
|
||||
// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da
|
||||
// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili
|
||||
// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da
|
||||
// COM, impostare su true l'attributo ComVisible per tale tipo.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
@@ -24,11 +24,11 @@ using System.Runtime.InteropServices;
|
||||
// Le informazioni sulla versione di un assembly sono costituite dai quattro valori seguenti:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
|
||||
// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
|
||||
// utilizzando l'asterisco (*) come illustrato di seguito:
|
||||
//[assembly: AssemblyVersion("1.0.0.0")]
|
||||
//[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
//[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -1,55 +1,54 @@
|
||||
<body>
|
||||
<i>Server gestioen devices TAB per MAPO/MoonPro</i>
|
||||
<h4>Versione: {{CURRENT-REL}}</h4>
|
||||
<br />
|
||||
Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
<b>Ultime modifiche:</b>
|
||||
<ul>{{LAST-CHANGES}}</ul>
|
||||
</li>
|
||||
<li>
|
||||
<b>v.4.* →</b>
|
||||
<ul>
|
||||
<li>Integrazione sistemi di AutoUpdate</li>
|
||||
<li>Gestione KIT articoli</li>
|
||||
<li>Gestione doppia tavola/doppio subsistem</li>
|
||||
<li>Windows Server 2016 / SQL 2016</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<b>v.3.* →</b>
|
||||
<ul>
|
||||
<li>Implementazione sistemi MON</li>
|
||||
<li>Estensione reportistica "sequencer" aggregata</li>
|
||||
<li>Windows Server 2012R2 / SQL 2012</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<b>v.2.* →</b>
|
||||
<ul>
|
||||
<li>Implementazione con acquisitore rPI-IOB</li>
|
||||
<li>Applicazione avanzata di controllo e amministrazione</li>
|
||||
<li>Estensione reportistica aggregata e singola</li>
|
||||
<li>Windows Server 2012 / SQL 2008R2</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<b>v.1.* →</b>
|
||||
<ul>
|
||||
<li>Implementazione iniziale con acquisitore seriale da PC</li>
|
||||
<li>Applicazione iniziale con Kanban</li>
|
||||
<li>Windows Server 2008 / SQL 2005</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<div style="float: left;">
|
||||
<img src="logoSteamware.png" />
|
||||
<i>Server gestioen devices TAB per MAPO/MoonPro</i>
|
||||
<h4>Versione: {{CURRENT-REL}}</h4>
|
||||
<br />
|
||||
Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
<b>Ultime modifiche:</b>
|
||||
<ul>{{LAST-CHANGES}}</ul>
|
||||
</li>
|
||||
<li>
|
||||
<b>v.4.* →</b>
|
||||
<ul>
|
||||
<li>Integrazione sistemi di AutoUpdate</li>
|
||||
<li>Gestione KIT articoli</li>
|
||||
<li>Gestione doppia tavola/doppio subsistem</li>
|
||||
<li>Windows Server 2016 / SQL 2016</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<b>v.3.* →</b>
|
||||
<ul>
|
||||
<li>Implementazione sistemi MON</li>
|
||||
<li>Estensione reportistica "sequencer" aggregata</li>
|
||||
<li>Windows Server 2012R2 / SQL 2012</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<b>v.2.* →</b>
|
||||
<ul>
|
||||
<li>Implementazione con acquisitore rPI-IOB</li>
|
||||
<li>Applicazione avanzata di controllo e amministrazione</li>
|
||||
<li>Estensione reportistica aggregata e singola</li>
|
||||
<li>Windows Server 2012 / SQL 2008R2</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<b>v.1.* →</b>
|
||||
<ul>
|
||||
<li>Implementazione iniziale con acquisitore seriale da PC</li>
|
||||
<li>Applicazione iniziale con Kanban</li>
|
||||
<li>Windows Server 2008 / SQL 2005</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<div style="float: left;">
|
||||
<img src="logoSteamware.png" />
|
||||
</div>
|
||||
<div style="float: right;">
|
||||
<a href="https://www.steamware.net/IOT" target="_blank">© Steamware 2006-2017</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="float: right;">
|
||||
<a href="https://www.steamware.net/IOT" target="_blank">© Steamware 2006-2017</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
@@ -15,7 +15,7 @@ function DetailsView_createPropertyString() {
|
||||
function DetailsView_setStateValue() {
|
||||
this.stateField.value = this.createPropertyString();
|
||||
}
|
||||
function DetailsView_OnCallback (result, context) {
|
||||
function DetailsView_OnCallback(result, context) {
|
||||
var value = new String(result);
|
||||
var valsArray = value.split("|");
|
||||
var innerHtml = valsArray[2];
|
||||
@@ -31,4 +31,4 @@ function DetailsView_getHiddenFieldContents(arg) {
|
||||
function createPropertyStringFromValues_DetailsView(pageIndex, dataKeys) {
|
||||
var value = new Array(pageIndex, dataKeys);
|
||||
return value.join("|");
|
||||
}
|
||||
}
|
||||
@@ -35,7 +35,7 @@ function WebForm_AutoFocus(focusId) {
|
||||
targetControl = document.all[focusId];
|
||||
}
|
||||
var focused = targetControl;
|
||||
if (targetControl && (!WebForm_CanFocus(targetControl)) ) {
|
||||
if (targetControl && (!WebForm_CanFocus(targetControl))) {
|
||||
focused = WebForm_FindFirstFocusableChild(targetControl);
|
||||
}
|
||||
if (focused) {
|
||||
@@ -56,33 +56,33 @@ function WebForm_CanFocus(element) {
|
||||
if (!element || !(element.tagName)) return false;
|
||||
var tagName = element.tagName.toLowerCase();
|
||||
return (!(element.disabled) &&
|
||||
(!(element.type) || element.type.toLowerCase() != "hidden") &&
|
||||
WebForm_IsFocusableTag(tagName) &&
|
||||
WebForm_IsInVisibleContainer(element)
|
||||
);
|
||||
(!(element.type) || element.type.toLowerCase() != "hidden") &&
|
||||
WebForm_IsFocusableTag(tagName) &&
|
||||
WebForm_IsInVisibleContainer(element)
|
||||
);
|
||||
}
|
||||
function WebForm_IsFocusableTag(tagName) {
|
||||
return (tagName == "input" ||
|
||||
tagName == "textarea" ||
|
||||
tagName == "select" ||
|
||||
tagName == "button" ||
|
||||
tagName == "a");
|
||||
tagName == "textarea" ||
|
||||
tagName == "select" ||
|
||||
tagName == "button" ||
|
||||
tagName == "a");
|
||||
}
|
||||
function WebForm_IsInVisibleContainer(ctrl) {
|
||||
var current = ctrl;
|
||||
while((typeof(current) != "undefined") && (current != null)) {
|
||||
while ((typeof (current) != "undefined") && (current != null)) {
|
||||
if (current.disabled ||
|
||||
( typeof(current.style) != "undefined" &&
|
||||
( ( typeof(current.style.display) != "undefined" &&
|
||||
current.style.display == "none") ||
|
||||
( typeof(current.style.visibility) != "undefined" &&
|
||||
current.style.visibility == "hidden") ) ) ) {
|
||||
(typeof (current.style) != "undefined" &&
|
||||
((typeof (current.style.display) != "undefined" &&
|
||||
current.style.display == "none") ||
|
||||
(typeof (current.style.visibility) != "undefined" &&
|
||||
current.style.visibility == "hidden")))) {
|
||||
return false;
|
||||
}
|
||||
if (typeof(current.parentNode) != "undefined" &&
|
||||
current.parentNode != null &&
|
||||
current.parentNode != current &&
|
||||
current.parentNode.tagName.toLowerCase() != "body") {
|
||||
if (typeof (current.parentNode) != "undefined" &&
|
||||
current.parentNode != null &&
|
||||
current.parentNode != current &&
|
||||
current.parentNode.tagName.toLowerCase() != "body") {
|
||||
current = current.parentNode;
|
||||
}
|
||||
else {
|
||||
@@ -90,4 +90,4 @@ function WebForm_IsInVisibleContainer(ctrl) {
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@ function GridView_createPropertyString() {
|
||||
function GridView_setStateValue() {
|
||||
this.stateField.value = this.createPropertyString();
|
||||
}
|
||||
function GridView_OnCallback (result, context) {
|
||||
function GridView_OnCallback(result, context) {
|
||||
var value = new String(result);
|
||||
var valsArray = value.split("|");
|
||||
var innerHtml = valsArray[4];
|
||||
@@ -33,4 +33,4 @@ function GridView_getHiddenFieldContents(arg) {
|
||||
function createPropertyStringFromValues_GridView(pageIndex, sortDirection, sortExpression, dataKeys) {
|
||||
var value = new Array(pageIndex, sortDirection, sortExpression, dataKeys);
|
||||
return value.join("|");
|
||||
}
|
||||
}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -3,4 +3,4 @@
|
||||
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------
|
||||
// MicrosoftAjaxTimer.js
|
||||
Type._registerScript("Timer.js",["MicrosoftAjaxComponentModel.js"]);Sys.UI._Timer=function(a){Sys.UI._Timer.initializeBase(this,[a]);this._interval=60000;this._enabled=true;this._postbackPending=false;this._raiseTickDelegate=null;this._endRequestHandlerDelegate=null;this._timer=null;this._pageRequestManager=null;this._uniqueID=null};Sys.UI._Timer.prototype={get_enabled:function(){return this._enabled},set_enabled:function(a){this._enabled=a},get_interval:function(){return this._interval},set_interval:function(a){this._interval=a},get_uniqueID:function(){return this._uniqueID},set_uniqueID:function(a){this._uniqueID=a},dispose:function(){this._stopTimer();if(this._pageRequestManager!==null)this._pageRequestManager.remove_endRequest(this._endRequestHandlerDelegate);Sys.UI._Timer.callBaseMethod(this,"dispose")},_doPostback:function(){__doPostBack(this.get_uniqueID(),"")},_handleEndRequest:function(c,b){var a=b.get_dataItems()[this.get_id()];if(a)this._update(a[0],a[1]);if(this._postbackPending===true&&this._pageRequestManager!==null&&this._pageRequestManager.get_isInAsyncPostBack()===false){this._postbackPending=false;this._doPostback()}},initialize:function(){Sys.UI._Timer.callBaseMethod(this,"initialize");this._raiseTickDelegate=Function.createDelegate(this,this._raiseTick);this._endRequestHandlerDelegate=Function.createDelegate(this,this._handleEndRequest);if(Sys.WebForms&&Sys.WebForms.PageRequestManager)this._pageRequestManager=Sys.WebForms.PageRequestManager.getInstance();if(this._pageRequestManager!==null)this._pageRequestManager.add_endRequest(this._endRequestHandlerDelegate);if(this.get_enabled())this._startTimer()},_raiseTick:function(){this._startTimer();if(this._pageRequestManager===null||!this._pageRequestManager.get_isInAsyncPostBack()){this._doPostback();this._postbackPending=false}else this._postbackPending=true},_startTimer:function(){this._timer=window.setTimeout(Function.createDelegate(this,this._raiseTick),this.get_interval())},_stopTimer:function(){if(this._timer!==null){window.clearTimeout(this._timer);this._timer=null}},_update:function(c,b){var a=!this.get_enabled(),d=this.get_interval()!==b;if(!a&&(!c||d)){this._stopTimer();a=true}this.set_enabled(c);this.set_interval(b);if(this.get_enabled()&&a)this._startTimer()}};Sys.UI._Timer.registerClass("Sys.UI._Timer",Sys.UI.Control);
|
||||
Type._registerScript("Timer.js", ["MicrosoftAjaxComponentModel.js"]); Sys.UI._Timer = function (a) { Sys.UI._Timer.initializeBase(this, [a]); this._interval = 60000; this._enabled = true; this._postbackPending = false; this._raiseTickDelegate = null; this._endRequestHandlerDelegate = null; this._timer = null; this._pageRequestManager = null; this._uniqueID = null }; Sys.UI._Timer.prototype = { get_enabled: function () { return this._enabled }, set_enabled: function (a) { this._enabled = a }, get_interval: function () { return this._interval }, set_interval: function (a) { this._interval = a }, get_uniqueID: function () { return this._uniqueID }, set_uniqueID: function (a) { this._uniqueID = a }, dispose: function () { this._stopTimer(); if (this._pageRequestManager !== null) this._pageRequestManager.remove_endRequest(this._endRequestHandlerDelegate); Sys.UI._Timer.callBaseMethod(this, "dispose") }, _doPostback: function () { __doPostBack(this.get_uniqueID(), "") }, _handleEndRequest: function (c, b) { var a = b.get_dataItems()[this.get_id()]; if (a) this._update(a[0], a[1]); if (this._postbackPending === true && this._pageRequestManager !== null && this._pageRequestManager.get_isInAsyncPostBack() === false) { this._postbackPending = false; this._doPostback() } }, initialize: function () { Sys.UI._Timer.callBaseMethod(this, "initialize"); this._raiseTickDelegate = Function.createDelegate(this, this._raiseTick); this._endRequestHandlerDelegate = Function.createDelegate(this, this._handleEndRequest); if (Sys.WebForms && Sys.WebForms.PageRequestManager) this._pageRequestManager = Sys.WebForms.PageRequestManager.getInstance(); if (this._pageRequestManager !== null) this._pageRequestManager.add_endRequest(this._endRequestHandlerDelegate); if (this.get_enabled()) this._startTimer() }, _raiseTick: function () { this._startTimer(); if (this._pageRequestManager === null || !this._pageRequestManager.get_isInAsyncPostBack()) { this._doPostback(); this._postbackPending = false } else this._postbackPending = true }, _startTimer: function () { this._timer = window.setTimeout(Function.createDelegate(this, this._raiseTick), this.get_interval()) }, _stopTimer: function () { if (this._timer !== null) { window.clearTimeout(this._timer); this._timer = null } }, _update: function (c, b) { var a = !this.get_enabled(), d = this.get_interval() !== b; if (!a && (!c || d)) { this._stopTimer(); a = true } this.set_enabled(c); this.set_interval(b); if (this.get_enabled() && a) this._startTimer() } }; Sys.UI._Timer.registerClass("Sys.UI._Timer", Sys.UI.Control);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -140,7 +140,7 @@ function Menu_FindPrevious(item) {
|
||||
function Menu_FindSubMenu(item) {
|
||||
var tr = item.parentNode.parentNode.parentNode.parentNode.parentNode;
|
||||
if (!tr.id) {
|
||||
tr=tr.parentNode;
|
||||
tr = tr.parentNode;
|
||||
}
|
||||
return WebForm_GetElementById(tr.id + "Items");
|
||||
}
|
||||
@@ -172,7 +172,7 @@ function Menu_GetData(item) {
|
||||
try {
|
||||
item.data = eval(menu.id + "_Data");
|
||||
}
|
||||
catch(e) {}
|
||||
catch (e) { }
|
||||
}
|
||||
return item.data;
|
||||
}
|
||||
@@ -182,14 +182,14 @@ function Menu_HideItems(items) {
|
||||
document.body.__oldOnClick = null;
|
||||
}
|
||||
Menu_ClearInterval();
|
||||
if (!items || ((typeof(items.tagName) == "undefined") && (items instanceof Event))) {
|
||||
if (!items || ((typeof (items.tagName) == "undefined") && (items instanceof Event))) {
|
||||
items = __rootMenuItem;
|
||||
}
|
||||
var table = items;
|
||||
if ((typeof(table) == "undefined") || (table == null) || !table.tagName || (table.tagName.toLowerCase() != "table")) {
|
||||
if ((typeof (table) == "undefined") || (table == null) || !table.tagName || (table.tagName.toLowerCase() != "table")) {
|
||||
table = WebForm_GetElementByTagName(table, "TABLE");
|
||||
}
|
||||
if ((typeof(table) == "undefined") || (table == null) || !table.tagName || (table.tagName.toLowerCase() != "table")) {
|
||||
if ((typeof (table) == "undefined") || (table == null) || !table.tagName || (table.tagName.toLowerCase() != "table")) {
|
||||
return;
|
||||
}
|
||||
var rows = table.rows ? table.rows : table.firstChild.rows;
|
||||
@@ -202,7 +202,7 @@ function Menu_HideItems(items) {
|
||||
}
|
||||
var i, child, nextLevel;
|
||||
if (isVertical) {
|
||||
for(i = 0; i < rows.length; i++) {
|
||||
for (i = 0; i < rows.length; i++) {
|
||||
if (rows[i].id) {
|
||||
child = WebForm_GetElementById(rows[i].id + "Items");
|
||||
if (child) {
|
||||
@@ -218,7 +218,7 @@ function Menu_HideItems(items) {
|
||||
}
|
||||
}
|
||||
else if (rows[0]) {
|
||||
for(i = 0; i < rows[0].cells.length; i++) {
|
||||
for (i = 0; i < rows[0].cells.length; i++) {
|
||||
if (rows[0].cells[i].id) {
|
||||
child = WebForm_GetElementById(rows[0].cells[i].id + "Items");
|
||||
if (child) {
|
||||
@@ -239,7 +239,7 @@ function Menu_HideItems(items) {
|
||||
}
|
||||
function Menu_HoverDisabled(item) {
|
||||
var node = (item.tagName.toLowerCase() == "td") ?
|
||||
item:
|
||||
item :
|
||||
item.cells[0];
|
||||
var data = Menu_GetData(item);
|
||||
if (!data) return;
|
||||
@@ -247,11 +247,11 @@ function Menu_HoverDisabled(item) {
|
||||
if (data.disappearAfter >= 200) {
|
||||
__disappearAfter = data.disappearAfter;
|
||||
}
|
||||
Menu_Expand(node, data.horizontalOffset, data.verticalOffset);
|
||||
Menu_Expand(node, data.horizontalOffset, data.verticalOffset);
|
||||
}
|
||||
function Menu_HoverDynamic(item) {
|
||||
var node = (item.tagName.toLowerCase() == "td") ?
|
||||
item:
|
||||
item :
|
||||
item.cells[0];
|
||||
var data = Menu_GetData(item);
|
||||
if (!data) return;
|
||||
@@ -268,11 +268,11 @@ function Menu_HoverDynamic(item) {
|
||||
if (data.disappearAfter >= 200) {
|
||||
__disappearAfter = data.disappearAfter;
|
||||
}
|
||||
Menu_Expand(node, data.horizontalOffset, data.verticalOffset);
|
||||
Menu_Expand(node, data.horizontalOffset, data.verticalOffset);
|
||||
}
|
||||
function Menu_HoverRoot(item) {
|
||||
var node = (item.tagName.toLowerCase() == "td") ?
|
||||
item:
|
||||
item :
|
||||
item.cells[0];
|
||||
var data = Menu_GetData(item);
|
||||
if (!data) {
|
||||
@@ -295,7 +295,7 @@ function Menu_HoverStatic(item) {
|
||||
var data = Menu_GetData(item);
|
||||
if (!data) return;
|
||||
__disappearAfter = data.disappearAfter;
|
||||
Menu_Expand(node, data.horizontalOffset, data.verticalOffset);
|
||||
Menu_Expand(node, data.horizontalOffset, data.verticalOffset);
|
||||
}
|
||||
function Menu_IsHorizontal(item) {
|
||||
if (item) {
|
||||
@@ -320,7 +320,7 @@ function Menu_Key(item) {
|
||||
item = event.currentTarget;
|
||||
}
|
||||
else {
|
||||
event = window.event;
|
||||
event = window.event;
|
||||
}
|
||||
var key = (event ? event.keyCode : -1);
|
||||
var data = Menu_GetData(item);
|
||||
@@ -344,7 +344,7 @@ function Menu_Key(item) {
|
||||
if ((!horizontal && key == 40) || (horizontal && key == 39)) {
|
||||
if (horizontal) {
|
||||
var subMenu = Menu_FindSubMenu(a);
|
||||
if (subMenu && subMenu.style && subMenu.style.visibility &&
|
||||
if (subMenu && subMenu.style && subMenu.style.visibility &&
|
||||
subMenu.style.visibility.toLowerCase() == "hidden") {
|
||||
Menu_Expand(a, data.horizontalOffset, data.verticalOffset, true);
|
||||
event.cancelBubble = true;
|
||||
@@ -449,7 +449,7 @@ function Menu_ResetSiblings(item) {
|
||||
}
|
||||
var i, child, childNode;
|
||||
if (isVertical) {
|
||||
for(i = 0; i < table.rows.length; i++) {
|
||||
for (i = 0; i < table.rows.length; i++) {
|
||||
childNode = table.rows[i];
|
||||
if (childNode != item) {
|
||||
child = WebForm_GetElementById(childNode.id + "Items");
|
||||
@@ -460,7 +460,7 @@ function Menu_ResetSiblings(item) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
for(i = 0; i < table.rows[0].cells.length; i++) {
|
||||
for (i = 0; i < table.rows[0].cells.length; i++) {
|
||||
childNode = table.rows[0].cells[i];
|
||||
if (childNode != item) {
|
||||
child = WebForm_GetElementById(childNode.id + "Items");
|
||||
@@ -483,7 +483,7 @@ function Menu_ResetTopMenus(table, doNotReset, level, up) {
|
||||
else {
|
||||
if (level == 0 && table != doNotReset) {
|
||||
if (table.rows[0].id) {
|
||||
for(i = 0; i < table.rows.length; i++) {
|
||||
for (i = 0; i < table.rows.length; i++) {
|
||||
childNode = table.rows[i];
|
||||
child = WebForm_GetElementById(childNode.id + "Items");
|
||||
if (child) {
|
||||
@@ -492,7 +492,7 @@ function Menu_ResetTopMenus(table, doNotReset, level, up) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
for(i = 0; i < table.rows[0].cells.length; i++) {
|
||||
for (i = 0; i < table.rows[0].cells.length; i++) {
|
||||
childNode = table.rows[0].cells[i];
|
||||
child = WebForm_GetElementById(childNode.id + "Items");
|
||||
if (child) {
|
||||
@@ -530,7 +530,7 @@ function Menu_SetRoot(item) {
|
||||
}
|
||||
function Menu_Unhover(item) {
|
||||
var node = (item.tagName.toLowerCase() == "td") ?
|
||||
item:
|
||||
item :
|
||||
item.cells[0];
|
||||
var nodeTable = WebForm_GetElementByTagName(node, "table");
|
||||
if (nodeTable.hoverClass) {
|
||||
@@ -612,7 +612,7 @@ function PopOut_Position(panel, hideScrollers) {
|
||||
var relTable = WebForm_GetElementByTagName(rel, "TABLE");
|
||||
var relCoordinates = WebForm_GetElementPosition(relTable ? relTable : rel);
|
||||
var panelCoordinates = WebForm_GetElementPosition(panel);
|
||||
var panelHeight = ((typeof(panel.physicalHeight) != "undefined") && (panel.physicalHeight != null)) ?
|
||||
var panelHeight = ((typeof (panel.physicalHeight) != "undefined") && (panel.physicalHeight != null)) ?
|
||||
panel.physicalHeight :
|
||||
panelCoordinates.height;
|
||||
panel.physicalHeight = panelHeight;
|
||||
@@ -628,7 +628,7 @@ function PopOut_Position(panel, hideScrollers) {
|
||||
var overflowElement = WebForm_GetElementById("__overFlowElement");
|
||||
if (!overflowElement) {
|
||||
overflowElement = document.createElement("img");
|
||||
overflowElement.id="__overFlowElement";
|
||||
overflowElement.id = "__overFlowElement";
|
||||
WebForm_SetElementWidth(overflowElement, 1);
|
||||
document.body.appendChild(overflowElement);
|
||||
}
|
||||
@@ -651,15 +651,15 @@ function PopOut_Position(panel, hideScrollers) {
|
||||
}
|
||||
var scrollTop = 0;
|
||||
var scrollLeft = 0;
|
||||
if (typeof(window.pageYOffset) != "undefined") {
|
||||
if (typeof (window.pageYOffset) != "undefined") {
|
||||
scrollTop = window.pageYOffset;
|
||||
scrollLeft = window.pageXOffset;
|
||||
}
|
||||
else if (document.documentElement && (typeof(document.documentElement.scrollTop) != "undefined")) {
|
||||
else if (document.documentElement && (typeof (document.documentElement.scrollTop) != "undefined")) {
|
||||
scrollTop = document.documentElement.scrollTop;
|
||||
scrollLeft = document.documentElement.scrollLeft;
|
||||
}
|
||||
else if (document.body && (typeof(document.body.scrollTop) != "undefined")) {
|
||||
else if (document.body && (typeof (document.body.scrollTop) != "undefined")) {
|
||||
scrollTop = document.body.scrollTop;
|
||||
scrollLeft = document.body.scrollLeft;
|
||||
}
|
||||
@@ -668,7 +668,7 @@ function PopOut_Position(panel, hideScrollers) {
|
||||
var bottomWindowBorder = clientHeight + scrollTop;
|
||||
var rightWindowBorder = clientWidth + scrollLeft;
|
||||
var position = panel.pos;
|
||||
if ((typeof(position) == "undefined") || (position == null) || (position == "")) {
|
||||
if ((typeof (position) == "undefined") || (position == null) || (position == "")) {
|
||||
position = (WebForm_GetElementDir(rel) == "rtl" ? "middleleft" : "middleright");
|
||||
}
|
||||
position = position.toLowerCase();
|
||||
@@ -682,10 +682,10 @@ function PopOut_Position(panel, hideScrollers) {
|
||||
var overflow;
|
||||
if (position.indexOf("top") != -1) {
|
||||
y -= panelHeight;
|
||||
WebForm_SetElementY(panel, y);
|
||||
WebForm_SetElementY(panel, y);
|
||||
if (y < -panelParentCoordinates.y) {
|
||||
y = -panelParentCoordinates.y;
|
||||
WebForm_SetElementY(panel, y);
|
||||
WebForm_SetElementY(panel, y);
|
||||
if (panelHeight > clientHeight - 2) {
|
||||
clip = true;
|
||||
PopOut_SetPanelHeight(panel, clientHeight - 2);
|
||||
@@ -695,15 +695,15 @@ function PopOut_Position(panel, hideScrollers) {
|
||||
else {
|
||||
if (position.indexOf("bottom") != -1) {
|
||||
y += relCoordinates.height;
|
||||
WebForm_SetElementY(panel, y);
|
||||
WebForm_SetElementY(panel, y);
|
||||
}
|
||||
overflow = y + panelParentCoordinates.y + panelHeight - bottomWindowBorder;
|
||||
if (overflow > 0) {
|
||||
y -= overflow;
|
||||
WebForm_SetElementY(panel, y);
|
||||
WebForm_SetElementY(panel, y);
|
||||
if (y < -panelParentCoordinates.y) {
|
||||
y = 2 - panelParentCoordinates.y + scrollTop;
|
||||
WebForm_SetElementY(panel, y);
|
||||
WebForm_SetElementY(panel, y);
|
||||
clip = true;
|
||||
PopOut_SetPanelHeight(panel, clientHeight - 2);
|
||||
}
|
||||
@@ -716,7 +716,7 @@ function PopOut_Position(panel, hideScrollers) {
|
||||
if (panel.offsetParent) {
|
||||
panelParentOffsetY = WebForm_GetElementPosition(panel.offsetParent).y;
|
||||
}
|
||||
var panelY = ((typeof(panel.originY) != "undefined") && (panel.originY != null)) ?
|
||||
var panelY = ((typeof (panel.originY) != "undefined") && (panel.originY != null)) ?
|
||||
panel.originY :
|
||||
y - panelParentOffsetY;
|
||||
panel.originY = panelY;
|
||||
@@ -895,4 +895,4 @@ function PopOut_Up(scroller) {
|
||||
PopOut_Stop();
|
||||
__scrollPanel.interval = window.setInterval("PopOut_Up()", 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MenuStandards.js
|
||||
if (!window.Sys) { window.Sys = {}; }
|
||||
if (!Sys.WebForms) { Sys.WebForms = {}; }
|
||||
Sys.WebForms.Menu = function(options) {
|
||||
Sys.WebForms.Menu = function (options) {
|
||||
this.items = [];
|
||||
this.depth = options.depth || 1;
|
||||
this.parentMenuItem = options.parentMenuItem;
|
||||
@@ -68,7 +68,7 @@ Sys.WebForms.Menu = function(options) {
|
||||
var count = children.length;
|
||||
for (var i = 0; i < count; i++) {
|
||||
var node = children[i];
|
||||
if (node.nodeType !== 1) {
|
||||
if (node.nodeType !== 1) {
|
||||
continue;
|
||||
}
|
||||
var topLevelMenuItem = null;
|
||||
@@ -85,9 +85,9 @@ Sys.WebForms.Menu = function(options) {
|
||||
}
|
||||
};
|
||||
Sys.WebForms.Menu.prototype = {
|
||||
blur: function() { if (this.container) this.container.blur(); },
|
||||
collapse: function() {
|
||||
this.each(function(menuItem) {
|
||||
blur: function () { if (this.container) this.container.blur(); },
|
||||
collapse: function () {
|
||||
this.each(function (menuItem) {
|
||||
menuItem.hover(false);
|
||||
menuItem.blur();
|
||||
var childMenu = menuItem.childMenu;
|
||||
@@ -97,23 +97,23 @@ Sys.WebForms.Menu.prototype = {
|
||||
});
|
||||
this.hide();
|
||||
},
|
||||
doDispose: function() { this.each(function(item) { item.doDispose(); }); },
|
||||
each: function(fn) {
|
||||
doDispose: function () { this.each(function (item) { item.doDispose(); }); },
|
||||
each: function (fn) {
|
||||
var count = this.items.length;
|
||||
for (var i = 0; i < count; i++) {
|
||||
fn(this.items[i]);
|
||||
}
|
||||
},
|
||||
firstChild: function() { return this.items[0]; },
|
||||
focus: function() { if (this.container) this.container.focus(); },
|
||||
get_displayed: function() { return this.element.style.display !== 'none'; },
|
||||
get_focused: function() {
|
||||
firstChild: function () { return this.items[0]; },
|
||||
focus: function () { if (this.container) this.container.focus(); },
|
||||
get_displayed: function () { return this.element.style.display !== 'none'; },
|
||||
get_focused: function () {
|
||||
if (this.container) {
|
||||
return this.container.focused;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
handleKeyPress: function(keyCode) {
|
||||
handleKeyPress: function (keyCode) {
|
||||
if (this.keyMap.contains(keyCode)) {
|
||||
if (this.container.focusedMenuItem) {
|
||||
this.container.focusedMenuItem.navigate(keyCode);
|
||||
@@ -125,11 +125,11 @@ Sys.WebForms.Menu.prototype = {
|
||||
}
|
||||
}
|
||||
},
|
||||
hide: function() {
|
||||
hide: function () {
|
||||
if (!this.get_displayed()) {
|
||||
return;
|
||||
}
|
||||
this.each(function(item) {
|
||||
this.each(function (item) {
|
||||
if (item.childMenu) {
|
||||
item.childMenu.hide();
|
||||
}
|
||||
@@ -141,15 +141,15 @@ Sys.WebForms.Menu.prototype = {
|
||||
this.element.style.display = 'none';
|
||||
}
|
||||
},
|
||||
isRoot: function() { return this.rootMenu === this; },
|
||||
isStatic: function() { return this.displayMode === 'static'; },
|
||||
lastChild: function() { return this.items[this.items.length - 1]; },
|
||||
show: function() { this.element.style.display = 'block'; }
|
||||
isRoot: function () { return this.rootMenu === this; },
|
||||
isStatic: function () { return this.displayMode === 'static'; },
|
||||
lastChild: function () { return this.items[this.items.length - 1]; },
|
||||
show: function () { this.element.style.display = 'block'; }
|
||||
};
|
||||
if (Sys.WebForms.Menu.registerClass) {
|
||||
Sys.WebForms.Menu.registerClass('Sys.WebForms.Menu');
|
||||
}
|
||||
Sys.WebForms.MenuItem = function(parentMenu, listElement, topLevelMenuItem) {
|
||||
Sys.WebForms.MenuItem = function (parentMenu, listElement, topLevelMenuItem) {
|
||||
this.keyMap = parentMenu.keyMap;
|
||||
this.parentMenu = parentMenu;
|
||||
this.container = parentMenu.container;
|
||||
@@ -189,8 +189,8 @@ Sys.WebForms.MenuItem = function(parentMenu, listElement, topLevelMenuItem) {
|
||||
}
|
||||
};
|
||||
Sys.WebForms.MenuItem.prototype = {
|
||||
applyUp: function(fn, condition) {
|
||||
condition = condition || function(menuItem) { return menuItem; };
|
||||
applyUp: function (fn, condition) {
|
||||
condition = condition || function (menuItem) { return menuItem; };
|
||||
var menuItem = this;
|
||||
var lastMenuItem = null;
|
||||
while (condition(menuItem)) {
|
||||
@@ -200,15 +200,15 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
}
|
||||
return lastMenuItem;
|
||||
},
|
||||
blur: function() { this.setTabIndex(-1); },
|
||||
doDispose: function() {
|
||||
blur: function () { this.setTabIndex(-1); },
|
||||
doDispose: function () {
|
||||
Sys.WebForms.Menu._domHelper.removeEvent(this.element, 'mouseover', Sys.WebForms.MenuItem._onmouseover);
|
||||
Sys.WebForms.Menu._domHelper.removeEvent(this.element, 'mouseout', Sys.WebForms.MenuItem._onmouseout);
|
||||
if (this.childMenu) {
|
||||
this.childMenu.doDispose();
|
||||
}
|
||||
},
|
||||
focus: function() {
|
||||
focus: function () {
|
||||
if (!this.parentMenu.get_displayed()) {
|
||||
this.parentMenu.show();
|
||||
}
|
||||
@@ -216,17 +216,17 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
this.container.focused = true;
|
||||
this._anchor.focus();
|
||||
},
|
||||
get_highlighted: function() { return /(^|\s)highlighted(\s|$)/.test(this._anchor.className); },
|
||||
getTabIndex: function() { return this._anchor.tabIndex; },
|
||||
highlight: function(highlighting) {
|
||||
get_highlighted: function () { return /(^|\s)highlighted(\s|$)/.test(this._anchor.className); },
|
||||
getTabIndex: function () { return this._anchor.tabIndex; },
|
||||
highlight: function (highlighting) {
|
||||
if (highlighting) {
|
||||
this.applyUp(function(menuItem) {
|
||||
this.applyUp(function (menuItem) {
|
||||
menuItem.parentMenu.parentMenuItem.highlight(true);
|
||||
},
|
||||
function(menuItem) {
|
||||
return !menuItem.parentMenu.isStatic() && menuItem.parentMenu.parentMenuItem;
|
||||
}
|
||||
);
|
||||
function (menuItem) {
|
||||
return !menuItem.parentMenu.isStatic() && menuItem.parentMenu.parentMenuItem;
|
||||
}
|
||||
);
|
||||
Sys.WebForms.Menu._domHelper.appendCssClass(this._anchor, 'highlighted');
|
||||
}
|
||||
else {
|
||||
@@ -234,7 +234,7 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
this.setTabIndex(-1);
|
||||
}
|
||||
},
|
||||
hover: function(hovering) {
|
||||
hover: function (hovering) {
|
||||
if (hovering) {
|
||||
var currentHoveredItem = this.container.hoveredMenuItem;
|
||||
if (currentHoveredItem) {
|
||||
@@ -244,7 +244,7 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
if (currentFocusedItem && currentFocusedItem !== this) {
|
||||
currentFocusedItem.hover(false);
|
||||
}
|
||||
this.applyUp(function(menuItem) {
|
||||
this.applyUp(function (menuItem) {
|
||||
if (menuItem.childMenu && !menuItem.childMenu.get_displayed()) {
|
||||
menuItem.childMenu.show();
|
||||
}
|
||||
@@ -265,8 +265,8 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
}
|
||||
}
|
||||
},
|
||||
isSiblingOf: function(menuItem) { return menuItem.parentMenu === this.parentMenu; },
|
||||
mouseout: function() {
|
||||
isSiblingOf: function (menuItem) { return menuItem.parentMenu === this.parentMenu; },
|
||||
mouseout: function () {
|
||||
var menuItem = this,
|
||||
id = this.container.pendingMouseoutId,
|
||||
disappearAfter = this.container.disappearAfter;
|
||||
@@ -275,10 +275,10 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
}
|
||||
if (disappearAfter > -1) {
|
||||
this.container.pendingMouseoutId =
|
||||
window.setTimeout(function() { menuItem.hover(false); }, disappearAfter);
|
||||
window.setTimeout(function () { menuItem.hover(false); }, disappearAfter);
|
||||
}
|
||||
},
|
||||
mouseover: function() {
|
||||
mouseover: function () {
|
||||
var id = this.container.pendingMouseoutId;
|
||||
if (id) {
|
||||
window.clearTimeout(id);
|
||||
@@ -289,7 +289,7 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
this.container.navigateTo(this);
|
||||
}
|
||||
},
|
||||
navigate: function(keyCode) {
|
||||
navigate: function (keyCode) {
|
||||
switch (this.keyMap[keyCode]) {
|
||||
case this.keyMap.next:
|
||||
this.navigateNext();
|
||||
@@ -308,7 +308,7 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
break;
|
||||
}
|
||||
},
|
||||
navigateChild: function() {
|
||||
navigateChild: function () {
|
||||
var subMenu = this.childMenu;
|
||||
if (subMenu) {
|
||||
var firstChild = subMenu.firstChild();
|
||||
@@ -330,7 +330,7 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
}
|
||||
}
|
||||
},
|
||||
navigateNext: function() {
|
||||
navigateNext: function () {
|
||||
if (this.childMenu) {
|
||||
this.childMenu.hide();
|
||||
}
|
||||
@@ -348,10 +348,10 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
this.container.navigateTo(nextMenuItem);
|
||||
}
|
||||
},
|
||||
navigateOut: function() {
|
||||
navigateOut: function () {
|
||||
this.parentMenu.blur();
|
||||
},
|
||||
navigateParent: function() {
|
||||
navigateParent: function () {
|
||||
var parentMenu = this.parentMenu,
|
||||
horizontal = this.container.orientation === 'horizontal';
|
||||
if (!parentMenu) return;
|
||||
@@ -376,7 +376,7 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
}
|
||||
}
|
||||
},
|
||||
navigatePrevious: function() {
|
||||
navigatePrevious: function () {
|
||||
if (this.childMenu) {
|
||||
this.childMenu.hide();
|
||||
}
|
||||
@@ -397,9 +397,9 @@ Sys.WebForms.MenuItem.prototype = {
|
||||
this.container.navigateTo(previousMenuItem);
|
||||
}
|
||||
},
|
||||
setTabIndex: function(index) { if (this._anchor) this._anchor.tabIndex = index; }
|
||||
setTabIndex: function (index) { if (this._anchor) this._anchor.tabIndex = index; }
|
||||
};
|
||||
Sys.WebForms.MenuItem._onmouseout = function(e) {
|
||||
Sys.WebForms.MenuItem._onmouseout = function (e) {
|
||||
var menuItem = Sys.WebForms.Menu._elementObjectMapper.getMappedObject(this);
|
||||
if (!menuItem) {
|
||||
return;
|
||||
@@ -407,7 +407,7 @@ Sys.WebForms.MenuItem._onmouseout = function(e) {
|
||||
menuItem.mouseout();
|
||||
Sys.WebForms.Menu._domHelper.cancelEvent(e);
|
||||
};
|
||||
Sys.WebForms.MenuItem._onmouseover = function(e) {
|
||||
Sys.WebForms.MenuItem._onmouseover = function (e) {
|
||||
var menuItem = Sys.WebForms.Menu._elementObjectMapper.getMappedObject(this);
|
||||
if (!menuItem) {
|
||||
return;
|
||||
@@ -416,7 +416,7 @@ Sys.WebForms.MenuItem._onmouseover = function(e) {
|
||||
Sys.WebForms.Menu._domHelper.cancelEvent(e);
|
||||
};
|
||||
Sys.WebForms.Menu._domHelper = {
|
||||
addEvent: function(element, eventName, fn, useCapture) {
|
||||
addEvent: function (element, eventName, fn, useCapture) {
|
||||
if (element.addEventListener) {
|
||||
element.addEventListener(eventName, fn, !!useCapture);
|
||||
}
|
||||
@@ -424,13 +424,13 @@ Sys.WebForms.Menu._domHelper = {
|
||||
element['on' + eventName] = fn;
|
||||
}
|
||||
},
|
||||
appendAttributeValue: function(element, name, value) {
|
||||
appendAttributeValue: function (element, name, value) {
|
||||
this.updateAttributeValue('append', element, name, value);
|
||||
},
|
||||
appendCssClass: function(element, value) {
|
||||
appendCssClass: function (element, value) {
|
||||
this.updateClassName('append', element, name, value);
|
||||
},
|
||||
appendString: function(getString, setString, value) {
|
||||
appendString: function (getString, setString, value) {
|
||||
var currentValue = getString();
|
||||
if (!currentValue) {
|
||||
setString(value);
|
||||
@@ -442,7 +442,7 @@ Sys.WebForms.Menu._domHelper = {
|
||||
}
|
||||
setString(currentValue + ' ' + value);
|
||||
},
|
||||
cancelEvent: function(e) {
|
||||
cancelEvent: function (e) {
|
||||
var event = e || window.event;
|
||||
if (event) {
|
||||
event.cancelBubble = true;
|
||||
@@ -451,19 +451,19 @@ Sys.WebForms.Menu._domHelper = {
|
||||
}
|
||||
}
|
||||
},
|
||||
contains: function(ancestor, descendant) {
|
||||
contains: function (ancestor, descendant) {
|
||||
for (; descendant && (descendant !== ancestor); descendant = descendant.parentNode) { }
|
||||
return !!descendant;
|
||||
},
|
||||
firstChild: function(element) {
|
||||
firstChild: function (element) {
|
||||
var child = element.firstChild;
|
||||
if (child && child.nodeType !== 1) {
|
||||
if (child && child.nodeType !== 1) {
|
||||
child = this.nextSibling(child);
|
||||
}
|
||||
return child;
|
||||
},
|
||||
getElement: function(elementOrId) { return typeof elementOrId === 'string' ? document.getElementById(elementOrId) : elementOrId; },
|
||||
getElementDirection: function(element) {
|
||||
getElement: function (elementOrId) { return typeof elementOrId === 'string' ? document.getElementById(elementOrId) : elementOrId; },
|
||||
getElementDirection: function (element) {
|
||||
if (element) {
|
||||
if (element.dir) {
|
||||
return element.dir;
|
||||
@@ -472,8 +472,8 @@ Sys.WebForms.Menu._domHelper = {
|
||||
}
|
||||
return "ltr";
|
||||
},
|
||||
getKeyCode: function(event) { return event.keyCode || event.charCode || 0; },
|
||||
insertAfter: function(element, elementToInsert) {
|
||||
getKeyCode: function (event) { return event.keyCode || event.charCode || 0; },
|
||||
insertAfter: function (element, elementToInsert) {
|
||||
var next = element.nextSibling;
|
||||
if (next) {
|
||||
element.parentNode.insertBefore(elementToInsert, next);
|
||||
@@ -482,22 +482,22 @@ Sys.WebForms.Menu._domHelper = {
|
||||
element.parentNode.appendChild(elementToInsert);
|
||||
}
|
||||
},
|
||||
nextSibling: function(element) {
|
||||
nextSibling: function (element) {
|
||||
var sibling = element.nextSibling;
|
||||
while (sibling) {
|
||||
if (sibling.nodeType === 1) {
|
||||
if (sibling.nodeType === 1) {
|
||||
return sibling;
|
||||
}
|
||||
sibling = sibling.nextSibling;
|
||||
}
|
||||
},
|
||||
removeAttributeValue: function(element, name, value) {
|
||||
removeAttributeValue: function (element, name, value) {
|
||||
this.updateAttributeValue('remove', element, name, value);
|
||||
},
|
||||
removeCssClass: function(element, value) {
|
||||
removeCssClass: function (element, value) {
|
||||
this.updateClassName('remove', element, name, value);
|
||||
},
|
||||
removeEvent: function(element, eventName, fn, useCapture) {
|
||||
removeEvent: function (element, eventName, fn, useCapture) {
|
||||
if (element.removeEventListener) {
|
||||
element.removeEventListener(eventName, fn, !!useCapture);
|
||||
}
|
||||
@@ -506,41 +506,41 @@ Sys.WebForms.Menu._domHelper = {
|
||||
}
|
||||
element['on' + eventName] = null;
|
||||
},
|
||||
removeString: function(getString, setString, valueToRemove) {
|
||||
removeString: function (getString, setString, valueToRemove) {
|
||||
var currentValue = getString();
|
||||
if (currentValue) {
|
||||
var regex = this._regexes.getRegex('(\\s|\\b)' + valueToRemove + '$|\\b' + valueToRemove + '\\s+');
|
||||
setString(currentValue.replace(regex, ''));
|
||||
}
|
||||
},
|
||||
setFloat: function(element, direction) {
|
||||
setFloat: function (element, direction) {
|
||||
element.style.styleFloat = direction;
|
||||
element.style.cssFloat = direction;
|
||||
},
|
||||
updateAttributeValue: function(operation, element, name, value) {
|
||||
updateAttributeValue: function (operation, element, name, value) {
|
||||
this[operation + 'String'](
|
||||
function() {
|
||||
return element.getAttribute(name);
|
||||
},
|
||||
function(newValue) {
|
||||
element.setAttribute(name, newValue);
|
||||
},
|
||||
value
|
||||
);
|
||||
function () {
|
||||
return element.getAttribute(name);
|
||||
},
|
||||
function (newValue) {
|
||||
element.setAttribute(name, newValue);
|
||||
},
|
||||
value
|
||||
);
|
||||
},
|
||||
updateClassName: function(operation, element, name, value) {
|
||||
updateClassName: function (operation, element, name, value) {
|
||||
this[operation + 'String'](
|
||||
function() {
|
||||
return element.className;
|
||||
},
|
||||
function(newValue) {
|
||||
element.className = newValue;
|
||||
},
|
||||
value
|
||||
);
|
||||
function () {
|
||||
return element.className;
|
||||
},
|
||||
function (newValue) {
|
||||
element.className = newValue;
|
||||
},
|
||||
value
|
||||
);
|
||||
},
|
||||
_regexes: {
|
||||
getRegex: function(pattern) {
|
||||
getRegex: function (pattern) {
|
||||
var regex = this[pattern];
|
||||
if (!regex) {
|
||||
this[pattern] = regex = new RegExp(pattern);
|
||||
@@ -553,24 +553,24 @@ Sys.WebForms.Menu._elementObjectMapper = {
|
||||
_computedId: 0,
|
||||
_mappings: {},
|
||||
_mappingIdName: 'Sys.WebForms.Menu.Mapping',
|
||||
getMappedObject: function(element) {
|
||||
getMappedObject: function (element) {
|
||||
var id = element[this._mappingIdName];
|
||||
if (id) {
|
||||
return this._mappings[this._mappingIdName + ':' + id];
|
||||
}
|
||||
},
|
||||
map: function(element, theObject) {
|
||||
map: function (element, theObject) {
|
||||
var mappedObject = element[this._mappingIdName];
|
||||
if (mappedObject === theObject) {
|
||||
return;
|
||||
}
|
||||
var objectId = element[this._mappingIdName] || element.id || '%' + (++this._computedId);
|
||||
var objectId = element[this._mappingIdName] || element.id || '%' + (++this._computedId);
|
||||
element[this._mappingIdName] = objectId;
|
||||
this._mappings[this._mappingIdName + ':' + objectId] = theObject;
|
||||
theObject.mappingId = objectId;
|
||||
}
|
||||
};
|
||||
Sys.WebForms.Menu._keyboardMapping = new (function() {
|
||||
Sys.WebForms.Menu._keyboardMapping = new (function () {
|
||||
var LEFT_ARROW = 37;
|
||||
var UP_ARROW = 38;
|
||||
var RIGHT_ARROW = 39;
|
||||
@@ -601,11 +601,11 @@ Sys.WebForms.Menu._keyboardMapping = new (function() {
|
||||
this.horizontalRtl[DOWN_ARROW] = this.horizontalRtl.child;
|
||||
this.horizontalRtl[UP_ARROW] = this.horizontalRtl.parent;
|
||||
this.horizontalRtl[TAB] = this.horizontalRtl[ESCAPE] = this.horizontalRtl.tab;
|
||||
this.horizontal.contains = this.horizontalRtl.contains = this.vertical.contains = this.verticalRtl.contains = function(keycode) {
|
||||
this.horizontal.contains = this.horizontalRtl.contains = this.vertical.contains = this.verticalRtl.contains = function (keycode) {
|
||||
return this[keycode] != null;
|
||||
};
|
||||
})();
|
||||
Sys.WebForms._MenuContainer = function(options) {
|
||||
Sys.WebForms._MenuContainer = function (options) {
|
||||
this.focused = false;
|
||||
this.disabled = options.disabled;
|
||||
this.staticDisplayLevels = options.staticDisplayLevels || 1;
|
||||
@@ -646,7 +646,7 @@ Sys.WebForms._MenuContainer = function(options) {
|
||||
Sys.WebForms.Menu._domHelper.addEvent(this.menu.element, 'focus', this._onfocus, true);
|
||||
Sys.WebForms.Menu._domHelper.addEvent(this.menu.element, 'keydown', this._onkeydown);
|
||||
var menuContainer = this;
|
||||
this.element.dispose = function() {
|
||||
this.element.dispose = function () {
|
||||
if (menuContainer.element.dispose) {
|
||||
menuContainer.element.dispose = null;
|
||||
Sys.WebForms.Menu._domHelper.removeEvent(menuContainer.menu.element, 'focus', menuContainer._onfocus, true);
|
||||
@@ -654,7 +654,7 @@ Sys.WebForms._MenuContainer = function(options) {
|
||||
menuContainer.menu.doDispose();
|
||||
}
|
||||
};
|
||||
Sys.WebForms.Menu._domHelper.addEvent(window, 'unload', function() {
|
||||
Sys.WebForms.Menu._domHelper.addEvent(window, 'unload', function () {
|
||||
if (menuContainer.element.dispose) {
|
||||
menuContainer.element.dispose();
|
||||
}
|
||||
@@ -662,14 +662,14 @@ Sys.WebForms._MenuContainer = function(options) {
|
||||
}
|
||||
};
|
||||
Sys.WebForms._MenuContainer.prototype = {
|
||||
blur: function() {
|
||||
blur: function () {
|
||||
this.focused = false;
|
||||
this.isBlurring = false;
|
||||
this.menu.collapse();
|
||||
this.focusedMenuItem = null;
|
||||
},
|
||||
focus: function(e) { this.focused = true; },
|
||||
navigateTo: function(menuItem) {
|
||||
focus: function (e) { this.focused = true; },
|
||||
navigateTo: function (menuItem) {
|
||||
if (this.focusedMenuItem && this.focusedMenuItem !== this) {
|
||||
this.focusedMenuItem.highlight(false);
|
||||
}
|
||||
@@ -677,7 +677,7 @@ Sys.WebForms._MenuContainer.prototype = {
|
||||
menuItem.focus();
|
||||
this.focusedMenuItem = menuItem;
|
||||
},
|
||||
_onfocus: function(e) {
|
||||
_onfocus: function (e) {
|
||||
var event = e || window.event;
|
||||
if (event.srcElement && this) {
|
||||
if (Sys.WebForms.Menu._domHelper.contains(this.element, event.srcElement)) {
|
||||
@@ -687,11 +687,11 @@ Sys.WebForms._MenuContainer.prototype = {
|
||||
}
|
||||
}
|
||||
},
|
||||
_onkeydown: function(e) {
|
||||
_onkeydown: function (e) {
|
||||
var thisMenu = Sys.WebForms.Menu._elementObjectMapper.getMappedObject(this);
|
||||
var keyCode = Sys.WebForms.Menu._domHelper.getKeyCode(e || window.event);
|
||||
if (thisMenu) {
|
||||
thisMenu.handleKeyPress(keyCode);
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
+101
-133
@@ -1,59 +1,50 @@
|
||||
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/SmartNav.js
|
||||
var snSrc;
|
||||
if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null))
|
||||
{
|
||||
if ((typeof (window.__smartNav) == "undefined") || (window.__smartNav == null)) {
|
||||
window.__smartNav = new Object();
|
||||
window.__smartNav.update = function()
|
||||
{
|
||||
window.__smartNav.update = function () {
|
||||
var sn = window.__smartNav;
|
||||
var fd;
|
||||
document.detachEvent("onstop", sn.stopHif);
|
||||
sn.inPost = false;
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) { return; }
|
||||
var fdr = fd.getElementsByTagName("asp_smartnav_rdir");
|
||||
if (fdr.length > 0)
|
||||
{
|
||||
if ((typeof(sn.sHif) == "undefined") || (sn.sHif == null))
|
||||
{
|
||||
if (fdr.length > 0) {
|
||||
if ((typeof (sn.sHif) == "undefined") || (sn.sHif == null)) {
|
||||
sn.sHif = document.createElement("IFRAME");
|
||||
sn.sHif.name = "__hifSmartNav";
|
||||
sn.sHif.style.display = "none";
|
||||
sn.sHif.src = snSrc;
|
||||
}
|
||||
try {window.location = fdr[0].url;} catch (e) {};
|
||||
try { window.location = fdr[0].url; } catch (e) { };
|
||||
return;
|
||||
}
|
||||
var fdurl = fd.location.href;
|
||||
var index = fdurl.indexOf(snSrc);
|
||||
if ((index != -1 && index == fdurl.length-snSrc.length)
|
||||
if ((index != -1 && index == fdurl.length - snSrc.length)
|
||||
|| fdurl == "about:blank")
|
||||
return;
|
||||
var fdurlb = fdurl.split("?")[0];
|
||||
if (document.location.href.indexOf(fdurlb) < 0)
|
||||
{
|
||||
document.location.href=fdurl;
|
||||
return;
|
||||
}
|
||||
sn._savedOnLoad = window.onload;
|
||||
window.onload = null;
|
||||
window.__smartNav.updateHelper();
|
||||
}
|
||||
window.__smartNav.updateHelper = function()
|
||||
{
|
||||
if (document.readyState != "complete")
|
||||
{
|
||||
window.setTimeout(window.__smartNav.updateHelper, 25);
|
||||
return;
|
||||
}
|
||||
window.__smartNav.loadNewContent();
|
||||
}
|
||||
window.__smartNav.loadNewContent = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
var fd;
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
|
||||
if ((typeof(sn.sHif) != "undefined") && (sn.sHif != null))
|
||||
{
|
||||
var fdurlb = fdurl.split("?")[0];
|
||||
if (document.location.href.indexOf(fdurlb) < 0) {
|
||||
document.location.href = fdurl;
|
||||
return;
|
||||
}
|
||||
sn._savedOnLoad = window.onload;
|
||||
window.onload = null;
|
||||
window.__smartNav.updateHelper();
|
||||
}
|
||||
window.__smartNav.updateHelper = function () {
|
||||
if (document.readyState != "complete") {
|
||||
window.setTimeout(window.__smartNav.updateHelper, 25);
|
||||
return;
|
||||
}
|
||||
window.__smartNav.loadNewContent();
|
||||
}
|
||||
window.__smartNav.loadNewContent = function () {
|
||||
var sn = window.__smartNav;
|
||||
var fd;
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) { return; }
|
||||
if ((typeof (sn.sHif) != "undefined") && (sn.sHif != null)) {
|
||||
sn.sHif.removeNode(true);
|
||||
sn.sHif = null;
|
||||
}
|
||||
@@ -61,10 +52,8 @@ if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null))
|
||||
var hk = hdm.childNodes;
|
||||
var tt = null;
|
||||
var i;
|
||||
for (i = hk.length - 1; i>= 0; i--)
|
||||
{
|
||||
if (hk[i].tagName == "TITLE")
|
||||
{
|
||||
for (i = hk.length - 1; i >= 0; i--) {
|
||||
if (hk[i].tagName == "TITLE") {
|
||||
tt = hk[i].outerHTML;
|
||||
continue;
|
||||
}
|
||||
@@ -72,124 +61,110 @@ if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null))
|
||||
hdm.removeChild(hdm.childNodes[i]);
|
||||
}
|
||||
var kids = fd.getElementsByTagName("head")[0].childNodes;
|
||||
for (i = 0; i < kids.length; i++)
|
||||
{
|
||||
for (i = 0; i < kids.length; i++) {
|
||||
var tn = kids[i].tagName;
|
||||
var k = document.createElement(tn);
|
||||
k.id = kids[i].id;
|
||||
k.mergeAttributes(kids[i]);
|
||||
switch(tn)
|
||||
{
|
||||
case "TITLE":
|
||||
if (tt == kids[i].outerHTML)
|
||||
switch (tn) {
|
||||
case "TITLE":
|
||||
if (tt == kids[i].outerHTML)
|
||||
continue;
|
||||
k.innerText = kids[i].text;
|
||||
hdm.insertAdjacentElement("afterbegin", k);
|
||||
continue;
|
||||
k.innerText = kids[i].text;
|
||||
hdm.insertAdjacentElement("afterbegin", k);
|
||||
continue;
|
||||
case "BASEFONT" :
|
||||
if (kids[i].innerHTML.length > 0)
|
||||
continue;
|
||||
break;
|
||||
default:
|
||||
var o = document.createElement("BODY");
|
||||
o.innerHTML = "<BODY>" + kids[i].outerHTML + "</BODY>";
|
||||
k = o.firstChild;
|
||||
break;
|
||||
case "BASEFONT":
|
||||
if (kids[i].innerHTML.length > 0)
|
||||
continue;
|
||||
break;
|
||||
default:
|
||||
var o = document.createElement("BODY");
|
||||
o.innerHTML = "<BODY>" + kids[i].outerHTML + "</BODY>";
|
||||
k = o.firstChild;
|
||||
break;
|
||||
}
|
||||
if((typeof(k) != "undefined") && (k != null))
|
||||
if ((typeof (k) != "undefined") && (k != null))
|
||||
hdm.appendChild(k);
|
||||
}
|
||||
document.body.clearAttributes();
|
||||
document.body.id = fd.body.id;
|
||||
document.body.mergeAttributes(fd.body);
|
||||
var newBodyLoad = fd.body.onload;
|
||||
if ((typeof(newBodyLoad) != "undefined") && (newBodyLoad != null))
|
||||
if ((typeof (newBodyLoad) != "undefined") && (newBodyLoad != null))
|
||||
document.body.onload = newBodyLoad;
|
||||
else
|
||||
document.body.onload = sn._savedOnLoad;
|
||||
var s = "<BODY>" + fd.body.innerHTML + "</BODY>";
|
||||
if ((typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
if ((typeof (sn.hif) != "undefined") && (sn.hif != null)) {
|
||||
var hifP = sn.hif.parentElement;
|
||||
if ((typeof(hifP) != "undefined") && (hifP != null))
|
||||
sn.sHif=hifP.removeChild(sn.hif);
|
||||
if ((typeof (hifP) != "undefined") && (hifP != null))
|
||||
sn.sHif = hifP.removeChild(sn.hif);
|
||||
}
|
||||
document.body.innerHTML = s;
|
||||
var sc = document.scripts;
|
||||
for (i = 0; i < sc.length; i++)
|
||||
{
|
||||
for (i = 0; i < sc.length; i++) {
|
||||
sc[i].text = sc[i].text;
|
||||
}
|
||||
sn.hif = document.all("__hifSmartNav");
|
||||
if ((typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
if ((typeof (sn.hif) != "undefined") && (sn.hif != null)) {
|
||||
var hif = sn.hif;
|
||||
sn.hifName = "__hifSmartNav" + (new Date()).getTime();
|
||||
frames["__hifSmartNav"].name = sn.hifName;
|
||||
sn.hifDoc = hif.contentWindow.document;
|
||||
if (sn.ie5)
|
||||
hif.parentElement.removeChild(hif);
|
||||
window.setTimeout(sn.restoreFocus,0);
|
||||
window.setTimeout(sn.restoreFocus, 0);
|
||||
}
|
||||
if (typeof(window.onload) == "string")
|
||||
{
|
||||
try { eval(window.onload) } catch (e) {};
|
||||
if (typeof (window.onload) == "string") {
|
||||
try { eval(window.onload) } catch (e) { };
|
||||
}
|
||||
else if ((typeof(window.onload) != "undefined") && (window.onload != null))
|
||||
{
|
||||
try { window.onload() } catch (e) {};
|
||||
else if ((typeof (window.onload) != "undefined") && (window.onload != null)) {
|
||||
try { window.onload() } catch (e) { };
|
||||
}
|
||||
sn._savedOnLoad = null;
|
||||
sn.attachForm();
|
||||
};
|
||||
window.__smartNav.restoreFocus = function()
|
||||
{
|
||||
window.__smartNav.restoreFocus = function () {
|
||||
if (window.__smartNav.inPost == true) return;
|
||||
var curAe = document.activeElement;
|
||||
var sAeId = window.__smartNav.ae;
|
||||
if (((typeof(sAeId) == "undefined") || (sAeId == null)) ||
|
||||
(typeof(curAe) != "undefined") && (curAe != null) && (curAe.id == sAeId || curAe.name == sAeId))
|
||||
if (((typeof (sAeId) == "undefined") || (sAeId == null)) ||
|
||||
(typeof (curAe) != "undefined") && (curAe != null) && (curAe.id == sAeId || curAe.name == sAeId))
|
||||
return;
|
||||
var ae = document.all(sAeId);
|
||||
if ((typeof(ae) == "undefined") || (ae == null)) return;
|
||||
try { ae.focus(); } catch(e){};
|
||||
if ((typeof (ae) == "undefined") || (ae == null)) return;
|
||||
try { ae.focus(); } catch (e) { };
|
||||
}
|
||||
window.__smartNav.saveHistory = function()
|
||||
{
|
||||
if ((typeof(window.__smartNav.hif) != "undefined") && (window.__smartNav.hif != null))
|
||||
window.__smartNav.saveHistory = function () {
|
||||
if ((typeof (window.__smartNav.hif) != "undefined") && (window.__smartNav.hif != null))
|
||||
window.__smartNav.hif.removeNode();
|
||||
if ((typeof(window.__smartNav.sHif) != "undefined") && (window.__smartNav.sHif != null)
|
||||
&& (typeof(document.all[window.__smartNav.siHif]) != "undefined")
|
||||
if ((typeof (window.__smartNav.sHif) != "undefined") && (window.__smartNav.sHif != null)
|
||||
&& (typeof (document.all[window.__smartNav.siHif]) != "undefined")
|
||||
&& (document.all[window.__smartNav.siHif] != null)) {
|
||||
document.all[window.__smartNav.siHif].insertAdjacentElement(
|
||||
"BeforeBegin", window.__smartNav.sHif);
|
||||
"BeforeBegin", window.__smartNav.sHif);
|
||||
}
|
||||
}
|
||||
window.__smartNav.stopHif = function()
|
||||
{
|
||||
window.__smartNav.stopHif = function () {
|
||||
document.detachEvent("onstop", window.__smartNav.stopHif);
|
||||
var sn = window.__smartNav;
|
||||
if (((typeof(sn.hifDoc) == "undefined") || (sn.hifDoc == null)) &&
|
||||
(typeof(sn.hif) != "undefined") && (sn.hif != null))
|
||||
{
|
||||
try {sn.hifDoc = sn.hif.contentWindow.document;}
|
||||
catch(e){sn.hifDoc=null}
|
||||
if (((typeof (sn.hifDoc) == "undefined") || (sn.hifDoc == null)) &&
|
||||
(typeof (sn.hif) != "undefined") && (sn.hif != null)) {
|
||||
try { sn.hifDoc = sn.hif.contentWindow.document; }
|
||||
catch (e) { sn.hifDoc = null }
|
||||
}
|
||||
if (sn.hifDoc != null)
|
||||
{
|
||||
try {sn.hifDoc.execCommand("stop");} catch (e){}
|
||||
if (sn.hifDoc != null) {
|
||||
try { sn.hifDoc.execCommand("stop"); } catch (e) { }
|
||||
}
|
||||
}
|
||||
window.__smartNav.init = function()
|
||||
{
|
||||
window.__smartNav.init = function () {
|
||||
var sn = window.__smartNav;
|
||||
window.__smartNav.form.__smartNavPostBack.value = 'true';
|
||||
document.detachEvent("onstop", sn.stopHif);
|
||||
document.attachEvent("onstop", sn.stopHif);
|
||||
try { if (window.event.returnValue == false) return; } catch(e) {}
|
||||
try { if (window.event.returnValue == false) return; } catch (e) { }
|
||||
sn.inPost = true;
|
||||
if ((typeof(document.activeElement) != "undefined") && (document.activeElement != null))
|
||||
{
|
||||
if ((typeof (document.activeElement) != "undefined") && (document.activeElement != null)) {
|
||||
var ae = document.activeElement.id;
|
||||
if (ae.length == 0)
|
||||
ae = document.activeElement.name;
|
||||
@@ -197,48 +172,43 @@ if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null))
|
||||
}
|
||||
else
|
||||
sn.ae = null;
|
||||
try {document.selection.empty();} catch (e) {}
|
||||
if ((typeof(sn.hif) == "undefined") || (sn.hif == null))
|
||||
{
|
||||
try { document.selection.empty(); } catch (e) { }
|
||||
if ((typeof (sn.hif) == "undefined") || (sn.hif == null)) {
|
||||
sn.hif = document.all("__hifSmartNav");
|
||||
sn.hifDoc = sn.hif.contentWindow.document;
|
||||
}
|
||||
if ((typeof(sn.hifDoc) != "undefined") && (sn.hifDoc != null))
|
||||
try {sn.hifDoc.designMode = "On";} catch(e){};
|
||||
if ((typeof(sn.hif.parentElement) == "undefined") || (sn.hif.parentElement == null))
|
||||
if ((typeof (sn.hifDoc) != "undefined") && (sn.hifDoc != null))
|
||||
try { sn.hifDoc.designMode = "On"; } catch (e) { };
|
||||
if ((typeof (sn.hif.parentElement) == "undefined") || (sn.hif.parentElement == null))
|
||||
document.body.appendChild(sn.hif);
|
||||
var hif = sn.hif;
|
||||
hif.detachEvent("onload", sn.update);
|
||||
hif.attachEvent("onload", sn.update);
|
||||
window.__smartNav.fInit = true;
|
||||
};
|
||||
window.__smartNav.submit = function()
|
||||
{
|
||||
window.__smartNav.submit = function () {
|
||||
window.__smartNav.fInit = false;
|
||||
try { window.__smartNav.init(); } catch(e) {}
|
||||
try { window.__smartNav.init(); } catch (e) { }
|
||||
if (window.__smartNav.fInit) {
|
||||
window.__smartNav.form._submit();
|
||||
}
|
||||
};
|
||||
window.__smartNav.attachForm = function()
|
||||
{
|
||||
window.__smartNav.attachForm = function () {
|
||||
var cf = document.forms;
|
||||
for (var i=0; i<cf.length; i++)
|
||||
{
|
||||
if ((typeof(cf[i].__smartNavEnabled) != "undefined") && (cf[i].__smartNavEnabled != null))
|
||||
{
|
||||
for (var i = 0; i < cf.length; i++) {
|
||||
if ((typeof (cf[i].__smartNavEnabled) != "undefined") && (cf[i].__smartNavEnabled != null)) {
|
||||
window.__smartNav.form = cf[i];
|
||||
window.__smartNav.form.insertAdjacentHTML("beforeEnd", "<input type='hidden' name='__smartNavPostBack' value='false' />");
|
||||
break;
|
||||
}
|
||||
}
|
||||
var snfm = window.__smartNav.form;
|
||||
if ((typeof(snfm) == "undefined") || (snfm == null)) return false;
|
||||
if ((typeof (snfm) == "undefined") || (snfm == null)) return false;
|
||||
var sft = snfm.target;
|
||||
if (sft.length != 0 && sft.indexOf("__hifSmartNav") != 0) return false;
|
||||
var sfc = snfm.action.split("?")[0];
|
||||
var url = window.location.href.split("?")[0];
|
||||
if (url.charAt(url.length-1) != '/' && url.lastIndexOf(sfc) + sfc.length != url.length) return false;
|
||||
if (url.charAt(url.length - 1) != '/' && url.lastIndexOf(sfc) + sfc.length != url.length) return false;
|
||||
if (snfm.__formAttached == true) return true;
|
||||
snfm.__formAttached = true;
|
||||
snfm.attachEvent("onsubmit", window.__smartNav.init);
|
||||
@@ -251,24 +221,22 @@ if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null))
|
||||
window.__smartNav.ie5 = navigator.appVersion.indexOf("MSIE 5") > 0;
|
||||
var rc = window.__smartNav.attachForm();
|
||||
var hif = document.all("__hifSmartNav");
|
||||
if ((typeof(snSrc) == "undefined") || (snSrc == null)) {
|
||||
if (typeof(window.dialogHeight) != "undefined") {
|
||||
snSrc = "IEsmartnav1";
|
||||
hif.src = snSrc;
|
||||
} else {
|
||||
snSrc = hif.src;
|
||||
}
|
||||
if ((typeof (snSrc) == "undefined") || (snSrc == null)) {
|
||||
if (typeof (window.dialogHeight) != "undefined") {
|
||||
snSrc = "IEsmartnav1";
|
||||
hif.src = snSrc;
|
||||
} else {
|
||||
snSrc = hif.src;
|
||||
}
|
||||
}
|
||||
if (rc)
|
||||
{
|
||||
if (rc) {
|
||||
var fsn = frames["__hifSmartNav"];
|
||||
fsn.name = window.__smartNav.hifName;
|
||||
window.__smartNav.siHif = hif.sourceIndex;
|
||||
try {
|
||||
if (fsn.document.location != snSrc)
|
||||
{
|
||||
if (fsn.document.location != snSrc) {
|
||||
fsn.document.designMode = "On";
|
||||
hif.attachEvent("onload",window.__smartNav.update);
|
||||
hif.attachEvent("onload", window.__smartNav.update);
|
||||
window.__smartNav.hif = hif;
|
||||
}
|
||||
}
|
||||
@@ -277,4 +245,4 @@ if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null))
|
||||
}
|
||||
else
|
||||
window.__smartNav = null;
|
||||
}
|
||||
}
|
||||
@@ -61,7 +61,7 @@ function TreeView_PopulateNode(data, index, node, selectNode, selectImageNode, l
|
||||
function TreeView_ProcessNodeData(result, context) {
|
||||
var treeNode = context.node;
|
||||
if (result.length > 0) {
|
||||
var ci = result.indexOf("|", 0);
|
||||
var ci = result.indexOf("|", 0);
|
||||
context.data.lastIndex = result.substring(0, ci);
|
||||
ci = result.indexOf("|", ci + 1);
|
||||
var newExpandState = result.substring(context.data.lastIndex.length + 1, ci);
|
||||
@@ -73,7 +73,7 @@ function TreeView_ProcessNodeData(result, context) {
|
||||
newDiv.innerHTML = chunk;
|
||||
table = WebForm_GetParentByTagName(treeNode, "TABLE");
|
||||
newChildren = null;
|
||||
if ((typeof(table.nextSibling) == "undefined") || (table.nextSibling == null)) {
|
||||
if ((typeof (table.nextSibling) == "undefined") || (table.nextSibling == null)) {
|
||||
table.parentNode.insertBefore(newDiv.firstChild, table.nextSibling);
|
||||
newChildren = table.previousSibling;
|
||||
}
|
||||
@@ -89,16 +89,16 @@ function TreeView_ProcessNodeData(result, context) {
|
||||
table.insertAdjacentHTML("afterEnd", chunk);
|
||||
newChildren = document.all[treeNode.id + "Nodes"];
|
||||
}
|
||||
if ((typeof(newChildren) != "undefined") && (newChildren != null)) {
|
||||
if ((typeof (newChildren) != "undefined") && (newChildren != null)) {
|
||||
TreeView_ToggleNode(context.data, context.index, treeNode, context.lineType, newChildren);
|
||||
treeNode.href = document.getElementById ?
|
||||
"javascript:TreeView_ToggleNode(" + context.data.name + "," + context.index + ",document.getElementById('" + treeNode.id + "'),'" + context.lineType + "',document.getElementById('" + newChildren.id + "'))" :
|
||||
"javascript:TreeView_ToggleNode(" + context.data.name + "," + context.index + "," + treeNode.id + ",'" + context.lineType + "'," + newChildren.id + ")";
|
||||
if ((typeof(context.selectNode) != "undefined") && (context.selectNode != null) && context.selectNode.href &&
|
||||
if ((typeof (context.selectNode) != "undefined") && (context.selectNode != null) && context.selectNode.href &&
|
||||
(context.selectNode.href.indexOf("javascript:TreeView_PopulateNode", 0) == 0)) {
|
||||
context.selectNode.href = treeNode.href;
|
||||
}
|
||||
if ((typeof(context.selectImageNode) != "undefined") && (context.selectImageNode != null) && context.selectNode.href &&
|
||||
if ((typeof (context.selectImageNode) != "undefined") && (context.selectImageNode != null) && context.selectNode.href &&
|
||||
(context.selectImageNode.href.indexOf("javascript:TreeView_PopulateNode", 0) == 0)) {
|
||||
context.selectImageNode.href = treeNode.href;
|
||||
}
|
||||
@@ -107,7 +107,7 @@ function TreeView_ProcessNodeData(result, context) {
|
||||
}
|
||||
else {
|
||||
var img = treeNode.childNodes ? treeNode.childNodes[0] : treeNode.children[0];
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
if ((typeof (img) != "undefined") && (img != null)) {
|
||||
var lineType = context.lineType;
|
||||
if (lineType == "l") {
|
||||
img.src = context.data.images[13];
|
||||
@@ -129,8 +129,8 @@ function TreeView_ProcessNodeData(result, context) {
|
||||
}
|
||||
else {
|
||||
pe = treeNode.parentElement;
|
||||
treeNode.style.visibility="hidden";
|
||||
treeNode.style.display="none";
|
||||
treeNode.style.visibility = "hidden";
|
||||
treeNode.style.display = "none";
|
||||
pe.insertAdjacentElement("afterBegin", img);
|
||||
}
|
||||
}
|
||||
@@ -140,11 +140,11 @@ function TreeView_SelectNode(data, node, nodeId) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
if ((typeof(data.selectedClass) != "undefined") && (data.selectedClass != null)) {
|
||||
if ((typeof (data.selectedClass) != "undefined") && (data.selectedClass != null)) {
|
||||
var id = data.selectedNodeID.value;
|
||||
if (id.length > 0) {
|
||||
var selectedNode = document.getElementById(id);
|
||||
if ((typeof(selectedNode) != "undefined") && (selectedNode != null)) {
|
||||
if ((typeof (selectedNode) != "undefined") && (selectedNode != null)) {
|
||||
WebForm_RemoveClassName(selectedNode, data.selectedHyperLinkClass);
|
||||
selectedNode = WebForm_GetParentByTagName(selectedNode, "TD");
|
||||
WebForm_RemoveClassName(selectedNode, data.selectedClass);
|
||||
@@ -166,7 +166,7 @@ function TreeView_ToggleNode(data, index, node, lineType, children) {
|
||||
if (children.style.display == "none") {
|
||||
children.style.display = "block";
|
||||
newExpandState = "e";
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
if ((typeof (img) != "undefined") && (img != null)) {
|
||||
if (lineType == "l") {
|
||||
img.src = data.images[15];
|
||||
}
|
||||
@@ -185,7 +185,7 @@ function TreeView_ToggleNode(data, index, node, lineType, children) {
|
||||
else {
|
||||
children.style.display = "none";
|
||||
newExpandState = "c";
|
||||
if ((typeof(img) != "undefined") && (img != null)) {
|
||||
if ((typeof (img) != "undefined") && (img != null)) {
|
||||
if (lineType == "l") {
|
||||
img.src = data.images[14];
|
||||
}
|
||||
@@ -202,8 +202,8 @@ function TreeView_ToggleNode(data, index, node, lineType, children) {
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(e) {}
|
||||
data.expandState.value = data.expandState.value.substring(0, index) + newExpandState + data.expandState.value.slice(index + 1);
|
||||
catch (e) { }
|
||||
data.expandState.value = data.expandState.value.substring(0, index) + newExpandState + data.expandState.value.slice(index + 1);
|
||||
}
|
||||
function TreeView_UnhoverNode(node) {
|
||||
if (!node.hoverClass) {
|
||||
@@ -217,4 +217,4 @@ function TreeView_UnhoverNode(node) {
|
||||
node = node.children[node.children.length - 1];
|
||||
}
|
||||
WebForm_RemoveClassName(node, node.hoverHyperLinkClass);
|
||||
}
|
||||
}
|
||||
@@ -11,27 +11,27 @@ function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validat
|
||||
function WebForm_DoPostBackWithOptions(options) {
|
||||
var validationResult = true;
|
||||
if (options.validation) {
|
||||
if (typeof(Page_ClientValidate) == 'function') {
|
||||
if (typeof (Page_ClientValidate) == 'function') {
|
||||
validationResult = Page_ClientValidate(options.validationGroup);
|
||||
}
|
||||
}
|
||||
if (validationResult) {
|
||||
if ((typeof(options.actionUrl) != "undefined") && (options.actionUrl != null) && (options.actionUrl.length > 0)) {
|
||||
if ((typeof (options.actionUrl) != "undefined") && (options.actionUrl != null) && (options.actionUrl.length > 0)) {
|
||||
theForm.action = options.actionUrl;
|
||||
}
|
||||
if (options.trackFocus) {
|
||||
var lastFocus = theForm.elements["__LASTFOCUS"];
|
||||
if ((typeof(lastFocus) != "undefined") && (lastFocus != null)) {
|
||||
if (typeof(document.activeElement) == "undefined") {
|
||||
if ((typeof (lastFocus) != "undefined") && (lastFocus != null)) {
|
||||
if (typeof (document.activeElement) == "undefined") {
|
||||
lastFocus.value = options.eventTarget;
|
||||
}
|
||||
else {
|
||||
var active = document.activeElement;
|
||||
if ((typeof(active) != "undefined") && (active != null)) {
|
||||
if ((typeof(active.id) != "undefined") && (active.id != null) && (active.id.length > 0)) {
|
||||
if ((typeof (active) != "undefined") && (active != null)) {
|
||||
if ((typeof (active.id) != "undefined") && (active.id != null) && (active.id.length > 0)) {
|
||||
lastFocus.value = active.id;
|
||||
}
|
||||
else if (typeof(active.name) != "undefined") {
|
||||
else if (typeof (active.name) != "undefined") {
|
||||
lastFocus.value = active.name;
|
||||
}
|
||||
}
|
||||
@@ -47,27 +47,27 @@ var __pendingCallbacks = new Array();
|
||||
var __synchronousCallBackIndex = -1;
|
||||
function WebForm_DoCallback(eventTarget, eventArgument, eventCallback, context, errorCallback, useAsync) {
|
||||
var postData = __theFormPostData +
|
||||
"__CALLBACKID=" + WebForm_EncodeCallback(eventTarget) +
|
||||
"&__CALLBACKPARAM=" + WebForm_EncodeCallback(eventArgument);
|
||||
"__CALLBACKID=" + WebForm_EncodeCallback(eventTarget) +
|
||||
"&__CALLBACKPARAM=" + WebForm_EncodeCallback(eventArgument);
|
||||
if (theForm["__EVENTVALIDATION"]) {
|
||||
postData += "&__EVENTVALIDATION=" + WebForm_EncodeCallback(theForm["__EVENTVALIDATION"].value);
|
||||
}
|
||||
var xmlRequest,e;
|
||||
var xmlRequest, e;
|
||||
try {
|
||||
xmlRequest = new XMLHttpRequest();
|
||||
}
|
||||
catch(e) {
|
||||
catch (e) {
|
||||
try {
|
||||
xmlRequest = new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
catch(e) {
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
var setRequestHeaderMethodExists = true;
|
||||
try {
|
||||
setRequestHeaderMethodExists = (xmlRequest && xmlRequest.setRequestHeader);
|
||||
}
|
||||
catch(e) {}
|
||||
catch (e) { }
|
||||
var callback = new Object();
|
||||
callback.eventCallback = eventCallback;
|
||||
callback.context = context;
|
||||
@@ -123,10 +123,10 @@ function WebForm_DoCallback(eventTarget, eventArgument, eventCallback, context,
|
||||
xmlRequestFrame.src = callBackFrameUrl;
|
||||
}
|
||||
}
|
||||
catch(e) {}
|
||||
catch (e) { }
|
||||
document.body.appendChild(xmlRequestFrame);
|
||||
}
|
||||
var interval = window.setInterval(function() {
|
||||
var interval = window.setInterval(function () {
|
||||
xmlRequestFrame = document.frames[callbackFrameID];
|
||||
if (xmlRequestFrame && xmlRequestFrame.document) {
|
||||
window.clearInterval(interval);
|
||||
@@ -193,12 +193,12 @@ function WebForm_CallbackComplete() {
|
||||
function WebForm_ExecuteCallback(callbackObject) {
|
||||
var response = callbackObject.xmlRequest.responseText;
|
||||
if (response.charAt(0) == "s") {
|
||||
if ((typeof(callbackObject.eventCallback) != "undefined") && (callbackObject.eventCallback != null)) {
|
||||
if ((typeof (callbackObject.eventCallback) != "undefined") && (callbackObject.eventCallback != null)) {
|
||||
callbackObject.eventCallback(response.substring(1), callbackObject.context);
|
||||
}
|
||||
}
|
||||
else if (response.charAt(0) == "e") {
|
||||
if ((typeof(callbackObject.errorCallback) != "undefined") && (callbackObject.errorCallback != null)) {
|
||||
if ((typeof (callbackObject.errorCallback) != "undefined") && (callbackObject.errorCallback != null)) {
|
||||
callbackObject.errorCallback(response.substring(1), callbackObject.context);
|
||||
}
|
||||
}
|
||||
@@ -218,7 +218,7 @@ function WebForm_ExecuteCallback(callbackObject) {
|
||||
}
|
||||
validationFieldElement.value = validationField;
|
||||
}
|
||||
if ((typeof(callbackObject.eventCallback) != "undefined") && (callbackObject.eventCallback != null)) {
|
||||
if ((typeof (callbackObject.eventCallback) != "undefined") && (callbackObject.eventCallback != null)) {
|
||||
callbackObject.eventCallback(response.substring(separatorIndex + validationFieldLength + 1), callbackObject.context);
|
||||
}
|
||||
}
|
||||
@@ -282,7 +282,7 @@ function WebForm_EncodeCallback(parameter) {
|
||||
}
|
||||
var __disabledControlArray = new Array();
|
||||
function WebForm_ReEnableControls() {
|
||||
if (typeof(__enabledControlArray) == 'undefined') {
|
||||
if (typeof (__enabledControlArray) == 'undefined') {
|
||||
return false;
|
||||
}
|
||||
var disabledIndex = 0;
|
||||
@@ -294,7 +294,7 @@ function WebForm_ReEnableControls() {
|
||||
else {
|
||||
c = document.all[__enabledControlArray[i]];
|
||||
}
|
||||
if ((typeof(c) != "undefined") && (c != null) && (c.disabled == true)) {
|
||||
if ((typeof (c) != "undefined") && (c != null) && (c.disabled == true)) {
|
||||
c.disabled = false;
|
||||
__disabledControlArray[disabledIndex++] = c;
|
||||
}
|
||||
@@ -312,7 +312,7 @@ function WebForm_SimulateClick(element, event) {
|
||||
if (element) {
|
||||
if (element.click) {
|
||||
element.click();
|
||||
} else {
|
||||
} else {
|
||||
clickEvent = document.createEvent("MouseEvents");
|
||||
clickEvent.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
||||
if (!element.dispatchEvent(clickEvent)) {
|
||||
@@ -332,9 +332,9 @@ function WebForm_FireDefaultButton(event, target) {
|
||||
var src = event.srcElement || event.target;
|
||||
if (src &&
|
||||
((src.tagName.toLowerCase() == "input") &&
|
||||
(src.type.toLowerCase() == "submit" || src.type.toLowerCase() == "button")) ||
|
||||
(src.type.toLowerCase() == "submit" || src.type.toLowerCase() == "button")) ||
|
||||
((src.tagName.toLowerCase() == "a") &&
|
||||
(src.href != null) && (src.href != "")) ||
|
||||
(src.href != null) && (src.href != "")) ||
|
||||
(src.tagName.toLowerCase() == "textarea")) {
|
||||
return true;
|
||||
}
|
||||
@@ -347,7 +347,7 @@ function WebForm_FireDefaultButton(event, target) {
|
||||
}
|
||||
if (defaultButton) {
|
||||
return WebForm_SimulateClick(defaultButton, event);
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -388,7 +388,7 @@ function WebForm_SaveScrollPositionSubmit() {
|
||||
theForm.__SCROLLPOSITIONX.value = WebForm_GetScrollX();
|
||||
theForm.__SCROLLPOSITIONY.value = WebForm_GetScrollY();
|
||||
}
|
||||
if ((typeof(this.oldSubmit) != "undefined") && (this.oldSubmit != null)) {
|
||||
if ((typeof (this.oldSubmit) != "undefined") && (this.oldSubmit != null)) {
|
||||
return this.oldSubmit();
|
||||
}
|
||||
return true;
|
||||
@@ -396,7 +396,7 @@ function WebForm_SaveScrollPositionSubmit() {
|
||||
function WebForm_SaveScrollPositionOnSubmit() {
|
||||
theForm.__SCROLLPOSITIONX.value = WebForm_GetScrollX();
|
||||
theForm.__SCROLLPOSITIONY.value = WebForm_GetScrollY();
|
||||
if ((typeof(this.oldOnSubmit) != "undefined") && (this.oldOnSubmit != null)) {
|
||||
if ((typeof (this.oldOnSubmit) != "undefined") && (this.oldOnSubmit != null)) {
|
||||
return this.oldOnSubmit();
|
||||
}
|
||||
return true;
|
||||
@@ -408,7 +408,7 @@ function WebForm_RestoreScrollPosition() {
|
||||
else {
|
||||
window.scrollTo(theForm.__SCROLLPOSITIONX.value, theForm.__SCROLLPOSITIONY.value);
|
||||
}
|
||||
if ((typeof(theForm.oldOnLoad) != "undefined") && (theForm.oldOnLoad != null)) {
|
||||
if ((typeof (theForm.oldOnLoad) != "undefined") && (theForm.oldOnLoad != null)) {
|
||||
return theForm.oldOnLoad();
|
||||
}
|
||||
return true;
|
||||
@@ -422,8 +422,8 @@ function WebForm_TextBoxKeyHandler(event) {
|
||||
else {
|
||||
target = event.srcElement;
|
||||
}
|
||||
if ((typeof(target) != "undefined") && (target != null)) {
|
||||
if (typeof(target.onchange) != "undefined") {
|
||||
if ((typeof (target) != "undefined") && (target != null)) {
|
||||
if (typeof (target.onchange) != "undefined") {
|
||||
target.onchange();
|
||||
event.cancelBubble = true;
|
||||
if (event.stopPropagation) event.stopPropagation();
|
||||
@@ -504,10 +504,10 @@ function WebForm_GetElementPosition(element) {
|
||||
result.y += parent.offsetTop;
|
||||
var parentTagName = parent.tagName.toLowerCase();
|
||||
if (parentTagName != "table" &&
|
||||
parentTagName != "body" &&
|
||||
parentTagName != "html" &&
|
||||
parentTagName != "div" &&
|
||||
parent.clientTop &&
|
||||
parentTagName != "body" &&
|
||||
parentTagName != "html" &&
|
||||
parentTagName != "div" &&
|
||||
parent.clientTop &&
|
||||
parent.clientLeft) {
|
||||
result.x += parent.clientLeft;
|
||||
result.y += parent.clientTop;
|
||||
|
||||
@@ -5,7 +5,7 @@ function Point(x, y) {
|
||||
this.y = y;
|
||||
}
|
||||
function __wpTranslateOffset(x, y, offsetElement, relativeToElement, includeScroll) {
|
||||
while ((typeof(offsetElement) != "undefined") && (offsetElement != null) && (offsetElement != relativeToElement)) {
|
||||
while ((typeof (offsetElement) != "undefined") && (offsetElement != null) && (offsetElement != relativeToElement)) {
|
||||
x += offsetElement.offsetLeft;
|
||||
y += offsetElement.offsetTop;
|
||||
var tagName = offsetElement.tagName;
|
||||
@@ -22,7 +22,7 @@ function __wpTranslateOffset(x, y, offsetElement, relativeToElement, includeScro
|
||||
return new Point(x, y);
|
||||
}
|
||||
function __wpGetPageEventLocation(event, includeScroll) {
|
||||
if ((typeof(event) == "undefined") || (event == null)) {
|
||||
if ((typeof (event) == "undefined") || (event == null)) {
|
||||
event = window.event;
|
||||
}
|
||||
return __wpTranslateOffset(event.offsetX, event.offsetY, event.srcElement, null, includeScroll);
|
||||
@@ -35,10 +35,10 @@ function WebPart(webPartElement, webPartTitleElement, zone, zoneIndex, allowZone
|
||||
this.allowZoneChange = allowZoneChange;
|
||||
this.zone = zone;
|
||||
this.zoneIndex = zoneIndex;
|
||||
this.title = ((typeof(webPartTitleElement) != "undefined") && (webPartTitleElement != null)) ?
|
||||
this.title = ((typeof (webPartTitleElement) != "undefined") && (webPartTitleElement != null)) ?
|
||||
webPartTitleElement.innerText : "";
|
||||
webPartElement.__webPart = this;
|
||||
if ((typeof(webPartTitleElement) != "undefined") && (webPartTitleElement != null)) {
|
||||
if ((typeof (webPartTitleElement) != "undefined") && (webPartTitleElement != null)) {
|
||||
webPartTitleElement.style.cursor = "move";
|
||||
webPartTitleElement.attachEvent("onmousedown", WebPart_OnMouseDown);
|
||||
webPartElement.attachEvent("ondragstart", WebPart_OnDragStart);
|
||||
@@ -49,12 +49,12 @@ function WebPart(webPartElement, webPartTitleElement, zone, zoneIndex, allowZone
|
||||
this.Dispose = WebPart_Dispose;
|
||||
}
|
||||
function WebPart_Dispose() {
|
||||
this.webPartElement.__webPart = null
|
||||
this.webPartElement.__webPart = null
|
||||
}
|
||||
function WebPart_OnMouseDown() {
|
||||
var currentEvent = window.event;
|
||||
var draggedWebPart = WebPart_GetParentWebPartElement(currentEvent.srcElement);
|
||||
if ((typeof(draggedWebPart) == "undefined") || (draggedWebPart == null)) {
|
||||
if ((typeof (draggedWebPart) == "undefined") || (draggedWebPart == null)) {
|
||||
return;
|
||||
}
|
||||
document.selection.empty();
|
||||
@@ -72,7 +72,7 @@ function WebPart_OnMouseDown() {
|
||||
function WebPart_OnDragStart() {
|
||||
var currentEvent = window.event;
|
||||
var webPartElement = currentEvent.srcElement;
|
||||
if ((typeof(webPartElement.__webPart) == "undefined") || (webPartElement.__webPart == null)) {
|
||||
if ((typeof (webPartElement.__webPart) == "undefined") || (webPartElement.__webPart == null)) {
|
||||
currentEvent.returnValue = false;
|
||||
currentEvent.cancelBubble = true;
|
||||
return;
|
||||
@@ -88,9 +88,9 @@ function WebPart_OnDragEnd() {
|
||||
}
|
||||
function WebPart_GetParentWebPartElement(containedElement) {
|
||||
var elem = containedElement;
|
||||
while ((typeof(elem.__webPart) == "undefined") || (elem.__webPart == null)) {
|
||||
while ((typeof (elem.__webPart) == "undefined") || (elem.__webPart == null)) {
|
||||
elem = elem.parentElement;
|
||||
if ((typeof(elem) == "undefined") || (elem == null)) {
|
||||
if ((typeof (elem) == "undefined") || (elem == null)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -181,9 +181,9 @@ function Zone_OnDrop() {
|
||||
}
|
||||
function Zone_GetParentZoneElement(containedElement) {
|
||||
var elem = containedElement;
|
||||
while ((typeof(elem.__zone) == "undefined") || (elem.__zone == null)) {
|
||||
while ((typeof (elem.__zone) == "undefined") || (elem.__zone == null)) {
|
||||
elem = elem.parentElement;
|
||||
if ((typeof(elem) == "undefined") || (elem == null)) {
|
||||
if ((typeof (elem) == "undefined") || (elem == null)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -279,7 +279,7 @@ function WebPartMenu(menuLabelElement, menuDropDownElement, menuElement) {
|
||||
this.menuLabelElement.attachEvent('onkeypress', WebPartMenu_OnKeyPress);
|
||||
this.menuLabelElement.attachEvent('onmouseenter', WebPartMenu_OnMouseEnter);
|
||||
this.menuLabelElement.attachEvent('onmouseleave', WebPartMenu_OnMouseLeave);
|
||||
if ((typeof(this.menuDropDownElement) != "undefined") && (this.menuDropDownElement != null)) {
|
||||
if ((typeof (this.menuDropDownElement) != "undefined") && (this.menuDropDownElement != null)) {
|
||||
this.menuDropDownElement.__menu = this;
|
||||
}
|
||||
this.menuItemStyle = "";
|
||||
@@ -296,7 +296,7 @@ function WebPartMenu(menuLabelElement, menuDropDownElement, menuElement) {
|
||||
this.Unhover = WebPartMenu_Unhover;
|
||||
this.Dispose = WebPartMenu_Dispose;
|
||||
var menu = this;
|
||||
this.disposeDelegate = function() { menu.Dispose(); };
|
||||
this.disposeDelegate = function () { menu.Dispose(); };
|
||||
window.attachEvent('onunload', this.disposeDelegate);
|
||||
}
|
||||
function WebPartMenu_Dispose() {
|
||||
@@ -305,7 +305,7 @@ function WebPartMenu_Dispose() {
|
||||
window.detachEvent('onunload', this.disposeDelegate);
|
||||
}
|
||||
function WebPartMenu_Show() {
|
||||
if ((typeof(__wpm.menu) != "undefined") && (__wpm.menu != null)) {
|
||||
if ((typeof (__wpm.menu) != "undefined") && (__wpm.menu != null)) {
|
||||
__wpm.menu.Hide();
|
||||
}
|
||||
var menuHTML =
|
||||
@@ -341,7 +341,7 @@ function WebPartMenu_Show() {
|
||||
function WebPartMenu_Hide() {
|
||||
if (__wpm.menu == this) {
|
||||
__wpm.menu = null;
|
||||
if ((typeof(this.popup) != "undefined") && (this.popup != null)) {
|
||||
if ((typeof (this.popup) != "undefined") && (this.popup != null)) {
|
||||
this.popup.hide();
|
||||
this.popup = null;
|
||||
}
|
||||
@@ -366,7 +366,7 @@ function WebPartMenu_Unhover() {
|
||||
}
|
||||
function WebPartMenu_OnClick() {
|
||||
var menu = window.event.srcElement.__menu;
|
||||
if ((typeof(menu) != "undefined") && (menu != null)) {
|
||||
if ((typeof (menu) != "undefined") && (menu != null)) {
|
||||
window.event.returnValue = false;
|
||||
window.event.cancelBubble = true;
|
||||
menu.Show();
|
||||
@@ -375,7 +375,7 @@ function WebPartMenu_OnClick() {
|
||||
function WebPartMenu_OnKeyPress() {
|
||||
if (window.event.keyCode == 13) {
|
||||
var menu = window.event.srcElement.__menu;
|
||||
if ((typeof(menu) != "undefined") && (menu != null)) {
|
||||
if ((typeof (menu) != "undefined") && (menu != null)) {
|
||||
window.event.returnValue = false;
|
||||
window.event.cancelBubble = true;
|
||||
menu.Show();
|
||||
@@ -384,13 +384,13 @@ function WebPartMenu_OnKeyPress() {
|
||||
}
|
||||
function WebPartMenu_OnMouseEnter() {
|
||||
var menu = window.event.srcElement.__menu;
|
||||
if ((typeof(menu) != "undefined") && (menu != null)) {
|
||||
if ((typeof (menu) != "undefined") && (menu != null)) {
|
||||
menu.Hover();
|
||||
}
|
||||
}
|
||||
function WebPartMenu_OnMouseLeave() {
|
||||
var menu = window.event.srcElement.__menu;
|
||||
if ((typeof(menu) != "undefined") && (menu != null)) {
|
||||
if ((typeof (menu) != "undefined") && (menu != null)) {
|
||||
menu.Unhover();
|
||||
}
|
||||
}
|
||||
@@ -429,10 +429,10 @@ function WebPartManager_AddZone(zoneElement, uniqueID, isVertical, allowLayoutCh
|
||||
return zone;
|
||||
}
|
||||
function WebPartManager_IsDragDropEnabled() {
|
||||
return ((typeof(this.overlayContainerElement) != "undefined") && (this.overlayContainerElement != null));
|
||||
return ((typeof (this.overlayContainerElement) != "undefined") && (this.overlayContainerElement != null));
|
||||
}
|
||||
function WebPartManager_DragDrop() {
|
||||
if ((typeof(this.draggedWebPart) != "undefined") && (this.draggedWebPart != null)) {
|
||||
if ((typeof (this.draggedWebPart) != "undefined") && (this.draggedWebPart != null)) {
|
||||
var tempWebPart = this.draggedWebPart;
|
||||
this.draggedWebPart = null;
|
||||
tempWebPart.dragDrop();
|
||||
@@ -468,7 +468,7 @@ function WebPartManager_InitiateWebPartDragDrop(webPartElement) {
|
||||
function WebPartManager_CompleteWebPartDragDrop() {
|
||||
var dragState = this.dragState;
|
||||
this.dragState = null;
|
||||
if ((typeof(dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
if ((typeof (dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, dragState.dropIndex, false);
|
||||
}
|
||||
document.body.detachEvent("ondragover", Zone_OnDragOver);
|
||||
@@ -477,12 +477,12 @@ function WebPartManager_CompleteWebPartDragDrop() {
|
||||
}
|
||||
this.overlayContainerElement.removeChild(this.overlayContainerElement.firstChild);
|
||||
this.overlayContainerElement.style.display = "none";
|
||||
if ((typeof(dragState) != "undefined") && (dragState != null) && (dragState.dropped == true)) {
|
||||
if ((typeof (dragState) != "undefined") && (dragState != null) && (dragState.dropped == true)) {
|
||||
var currentZone = dragState.webPartElement.__webPart.zone;
|
||||
var currentZoneIndex = dragState.webPartElement.__webPart.zoneIndex;
|
||||
if ((currentZone != dragState.dropZoneElement.__zone) ||
|
||||
((currentZoneIndex != dragState.dropIndex) &&
|
||||
(currentZoneIndex != (dragState.dropIndex - 1)))) {
|
||||
(currentZoneIndex != (dragState.dropIndex - 1)))) {
|
||||
var eventTarget = dragState.dropZoneElement.__zone.uniqueID;
|
||||
var eventArgument = "Drag:" + dragState.webPartElement.id + ":" + dragState.dropIndex;
|
||||
this.SubmitPage(eventTarget, eventArgument);
|
||||
@@ -491,7 +491,7 @@ function WebPartManager_CompleteWebPartDragDrop() {
|
||||
}
|
||||
function WebPartManager_ContinueWebPartDragDrop() {
|
||||
var dragState = this.dragState;
|
||||
if ((typeof(dragState) != "undefined") && (dragState != null)) {
|
||||
if ((typeof (dragState) != "undefined") && (dragState != null)) {
|
||||
var style = this.overlayContainerElement.style;
|
||||
var location = __wpGetPageEventLocation(window.event, true);
|
||||
style.left = location.x - dragState.webPartElement.offsetWidth / 2;
|
||||
@@ -507,27 +507,27 @@ function WebPartManager_Execute(script) {
|
||||
}
|
||||
function WebPartManager_ProcessWebPartDragEnter() {
|
||||
var dragState = __wpm.dragState;
|
||||
if ((typeof(dragState) != "undefined") && (dragState != null)) {
|
||||
if ((typeof (dragState) != "undefined") && (dragState != null)) {
|
||||
var currentEvent = window.event;
|
||||
var newDropZoneElement = Zone_GetParentZoneElement(currentEvent.srcElement);
|
||||
if ((typeof(newDropZoneElement.__zone) == "undefined") || (newDropZoneElement.__zone == null) ||
|
||||
if ((typeof (newDropZoneElement.__zone) == "undefined") || (newDropZoneElement.__zone == null) ||
|
||||
(newDropZoneElement.__zone.allowDrop == false)) {
|
||||
newDropZoneElement = null;
|
||||
}
|
||||
var newDropIndex = -1;
|
||||
if ((typeof(newDropZoneElement) != "undefined") && (newDropZoneElement != null)) {
|
||||
if ((typeof (newDropZoneElement) != "undefined") && (newDropZoneElement != null)) {
|
||||
newDropIndex = newDropZoneElement.__zone.GetWebPartIndex(__wpGetPageEventLocation(currentEvent, false));
|
||||
if (newDropIndex == -1) {
|
||||
newDropZoneElement = null;
|
||||
}
|
||||
}
|
||||
if (dragState.dropZoneElement != newDropZoneElement) {
|
||||
if ((typeof(dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
if ((typeof (dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, dragState.dropIndex, false);
|
||||
}
|
||||
dragState.dropZoneElement = newDropZoneElement;
|
||||
dragState.dropIndex = newDropIndex;
|
||||
if ((typeof(newDropZoneElement) != "undefined") && (newDropZoneElement != null)) {
|
||||
if ((typeof (newDropZoneElement) != "undefined") && (newDropZoneElement != null)) {
|
||||
newDropZoneElement.__zone.ToggleDropCues(true, newDropIndex, false);
|
||||
}
|
||||
}
|
||||
@@ -536,11 +536,11 @@ function WebPartManager_ProcessWebPartDragEnter() {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, dragState.dropIndex, false);
|
||||
}
|
||||
dragState.dropIndex = newDropIndex;
|
||||
if ((typeof(newDropZoneElement) != "undefined") && (newDropZoneElement != null)) {
|
||||
if ((typeof (newDropZoneElement) != "undefined") && (newDropZoneElement != null)) {
|
||||
newDropZoneElement.__zone.ToggleDropCues(true, newDropIndex, false);
|
||||
}
|
||||
}
|
||||
if ((typeof(dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
if ((typeof (dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
currentEvent.dataTransfer.effectAllowed = dragState.effect;
|
||||
}
|
||||
return true;
|
||||
@@ -551,26 +551,26 @@ function WebPartManager_ProcessWebPartDragOver() {
|
||||
var dragState = __wpm.dragState;
|
||||
var currentEvent = window.event;
|
||||
var handled = false;
|
||||
if ((typeof(dragState) != "undefined") && (dragState != null) &&
|
||||
(typeof(dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
if ((typeof (dragState) != "undefined") && (dragState != null) &&
|
||||
(typeof (dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
var dropZoneElement = Zone_GetParentZoneElement(currentEvent.srcElement);
|
||||
if ((typeof(dropZoneElement) != "undefined") && (dropZoneElement != null) && (dropZoneElement.__zone.allowDrop == false)) {
|
||||
if ((typeof (dropZoneElement) != "undefined") && (dropZoneElement != null) && (dropZoneElement.__zone.allowDrop == false)) {
|
||||
dropZoneElement = null;
|
||||
}
|
||||
if (((typeof(dropZoneElement) == "undefined") || (dropZoneElement == null)) &&
|
||||
(typeof(dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
if (((typeof (dropZoneElement) == "undefined") || (dropZoneElement == null)) &&
|
||||
(typeof (dragState.dropZoneElement) != "undefined") && (dragState.dropZoneElement != null)) {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, __wpm.dragState.dropIndex, false);
|
||||
dragState.dropZoneElement = null;
|
||||
dragState.dropIndex = -1;
|
||||
}
|
||||
else if ((typeof(dropZoneElement) != "undefined") && (dropZoneElement != null)) {
|
||||
else if ((typeof (dropZoneElement) != "undefined") && (dropZoneElement != null)) {
|
||||
var location = __wpGetPageEventLocation(currentEvent, false);
|
||||
var newDropIndex = dropZoneElement.__zone.GetWebPartIndex(location);
|
||||
if (newDropIndex == -1) {
|
||||
dropZoneElement = null;
|
||||
}
|
||||
if (dragState.dropZoneElement != dropZoneElement) {
|
||||
if ((dragState.dropIndex != -1) || (typeof(dropZoneElement) == "undefined") || (dropZoneElement == null)) {
|
||||
if ((dragState.dropIndex != -1) || (typeof (dropZoneElement) == "undefined") || (dropZoneElement == null)) {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, __wpm.dragState.dropIndex, false);
|
||||
}
|
||||
dragState.dropZoneElement = dropZoneElement;
|
||||
@@ -579,27 +579,27 @@ function WebPartManager_ProcessWebPartDragOver() {
|
||||
dragState.dropZoneElement.__zone.ToggleDropCues(false, dragState.dropIndex, true);
|
||||
}
|
||||
dragState.dropIndex = newDropIndex;
|
||||
if ((typeof(dropZoneElement) != "undefined") && (dropZoneElement != null)) {
|
||||
if ((typeof (dropZoneElement) != "undefined") && (dropZoneElement != null)) {
|
||||
dropZoneElement.__zone.ToggleDropCues(true, newDropIndex, false);
|
||||
}
|
||||
}
|
||||
handled = true;
|
||||
}
|
||||
if ((typeof(dragState) == "undefined") || (dragState == null) ||
|
||||
(typeof(dragState.dropZoneElement) == "undefined") || (dragState.dropZoneElement == null)) {
|
||||
if ((typeof (dragState) == "undefined") || (dragState == null) ||
|
||||
(typeof (dragState.dropZoneElement) == "undefined") || (dragState.dropZoneElement == null)) {
|
||||
currentEvent.dataTransfer.effectAllowed = "none";
|
||||
}
|
||||
return handled;
|
||||
}
|
||||
function WebPartManager_ProcessWebPartDrop() {
|
||||
var dragState = this.dragState;
|
||||
if ((typeof(dragState) != "undefined") && (dragState != null)) {
|
||||
if ((typeof (dragState) != "undefined") && (dragState != null)) {
|
||||
var currentEvent = window.event;
|
||||
var dropZoneElement = Zone_GetParentZoneElement(currentEvent.srcElement);
|
||||
if ((typeof(dropZoneElement) != "undefined") && (dropZoneElement != null) && (dropZoneElement.__zone.allowDrop == false)) {
|
||||
if ((typeof (dropZoneElement) != "undefined") && (dropZoneElement != null) && (dropZoneElement.__zone.allowDrop == false)) {
|
||||
dropZoneElement = null;
|
||||
}
|
||||
if ((typeof(dropZoneElement) != "undefined") && (dropZoneElement != null) && (dragState.dropZoneElement == dropZoneElement)) {
|
||||
if ((typeof (dropZoneElement) != "undefined") && (dropZoneElement != null) && (dragState.dropZoneElement == dropZoneElement)) {
|
||||
dragState.dropped = true;
|
||||
}
|
||||
return true;
|
||||
@@ -607,7 +607,7 @@ function WebPartManager_ProcessWebPartDrop() {
|
||||
return false;
|
||||
}
|
||||
function WebPartManager_ShowHelp(helpUrl, helpMode) {
|
||||
if ((typeof(this.menu) != "undefined") && (this.menu != null)) {
|
||||
if ((typeof (this.menu) != "undefined") && (this.menu != null)) {
|
||||
this.menu.Hide();
|
||||
}
|
||||
if (helpMode == 0 || helpMode == 1) {
|
||||
@@ -640,8 +640,8 @@ function WebPartManager_UpdatePositions() {
|
||||
}
|
||||
}
|
||||
function WebPartManager_SubmitPage(eventTarget, eventArgument) {
|
||||
if ((typeof(this.menu) != "undefined") && (this.menu != null)) {
|
||||
if ((typeof (this.menu) != "undefined") && (this.menu != null)) {
|
||||
this.menu.Hide();
|
||||
}
|
||||
__doPostBack(eventTarget, eventArgument);
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@ var Page_BlockSubmit = false;
|
||||
var Page_InvalidControlToBeFocused = null;
|
||||
var Page_TextTypes = /^(text|password|file|search|tel|url|email|number|range|color|datetime|date|month|week|time|datetime-local)$/i;
|
||||
function ValidatorUpdateDisplay(val) {
|
||||
if (typeof(val.display) == "string") {
|
||||
if (typeof (val.display) == "string") {
|
||||
if (val.display == "None") {
|
||||
return;
|
||||
}
|
||||
@@ -24,7 +24,7 @@ function ValidatorUpdateIsValid() {
|
||||
Page_IsValid = AllValidatorsValid(Page_Validators);
|
||||
}
|
||||
function AllValidatorsValid(validators) {
|
||||
if ((typeof(validators) != "undefined") && (validators != null)) {
|
||||
if ((typeof (validators) != "undefined") && (validators != null)) {
|
||||
var i;
|
||||
for (i = 0; i < validators.length; i++) {
|
||||
if (!validators[i].isvalid) {
|
||||
@@ -35,11 +35,11 @@ function AllValidatorsValid(validators) {
|
||||
return true;
|
||||
}
|
||||
function ValidatorHookupControlID(controlID, val) {
|
||||
if (typeof(controlID) != "string") {
|
||||
if (typeof (controlID) != "string") {
|
||||
return;
|
||||
}
|
||||
var ctrl = document.getElementById(controlID);
|
||||
if ((typeof(ctrl) != "undefined") && (ctrl != null)) {
|
||||
if ((typeof (ctrl) != "undefined") && (ctrl != null)) {
|
||||
ValidatorHookupControl(ctrl, val);
|
||||
}
|
||||
else {
|
||||
@@ -48,8 +48,8 @@ function ValidatorHookupControlID(controlID, val) {
|
||||
}
|
||||
}
|
||||
function ValidatorHookupControl(control, val) {
|
||||
if (typeof(control.tagName) != "string") {
|
||||
return;
|
||||
if (typeof (control.tagName) != "string") {
|
||||
return;
|
||||
}
|
||||
if (control.tagName != "INPUT" && control.tagName != "TEXTAREA" && control.tagName != "SELECT") {
|
||||
var i;
|
||||
@@ -59,20 +59,20 @@ function ValidatorHookupControl(control, val) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
if (typeof(control.Validators) == "undefined") {
|
||||
if (typeof (control.Validators) == "undefined") {
|
||||
control.Validators = new Array;
|
||||
var eventType;
|
||||
if (control.type == "radio") {
|
||||
eventType = "onclick";
|
||||
} else {
|
||||
eventType = "onchange";
|
||||
if (typeof(val.focusOnError) == "string" && val.focusOnError == "t") {
|
||||
if (typeof (val.focusOnError) == "string" && val.focusOnError == "t") {
|
||||
ValidatorHookupEvent(control, "onblur", "ValidatedControlOnBlur(event); ");
|
||||
}
|
||||
}
|
||||
ValidatorHookupEvent(control, eventType, "ValidatorOnChange(event); ");
|
||||
if (Page_TextTypes.test(control.type)) {
|
||||
ValidatorHookupEvent(control, "onkeypress",
|
||||
ValidatorHookupEvent(control, "onkeypress",
|
||||
"event = event || window.event; if (!ValidatedTextBoxOnKeyPress(event)) { event.cancelBubble = true; if (event.stopPropagation) event.stopPropagation(); return false; } ");
|
||||
}
|
||||
}
|
||||
@@ -81,7 +81,7 @@ function ValidatorHookupControl(control, val) {
|
||||
}
|
||||
function ValidatorHookupEvent(control, eventType, functionPrefix) {
|
||||
var ev = control[eventType];
|
||||
if (typeof(ev) == "function") {
|
||||
if (typeof (ev) == "function") {
|
||||
ev = ev.toString();
|
||||
ev = ev.substring(ev.indexOf("{") + 1, ev.lastIndexOf("}"));
|
||||
}
|
||||
@@ -93,18 +93,17 @@ function ValidatorHookupEvent(control, eventType, functionPrefix) {
|
||||
function ValidatorGetValue(id) {
|
||||
var control;
|
||||
control = document.getElementById(id);
|
||||
if (typeof(control.value) == "string") {
|
||||
if (typeof (control.value) == "string") {
|
||||
return control.value;
|
||||
}
|
||||
return ValidatorGetValueRecursive(control);
|
||||
}
|
||||
function ValidatorGetValueRecursive(control)
|
||||
{
|
||||
if (typeof(control.value) == "string" && (control.type != "radio" || control.checked == true)) {
|
||||
function ValidatorGetValueRecursive(control) {
|
||||
if (typeof (control.value) == "string" && (control.type != "radio" || control.checked == true)) {
|
||||
return control.value;
|
||||
}
|
||||
var i, val;
|
||||
for (i = 0; i<control.childNodes.length; i++) {
|
||||
for (i = 0; i < control.childNodes.length; i++) {
|
||||
val = ValidatorGetValueRecursive(control.childNodes[i]);
|
||||
if (val != "") return val;
|
||||
}
|
||||
@@ -112,7 +111,7 @@ function ValidatorGetValueRecursive(control)
|
||||
}
|
||||
function Page_ClientValidate(validationGroup) {
|
||||
Page_InvalidControlToBeFocused = null;
|
||||
if (typeof(Page_Validators) == "undefined") {
|
||||
if (typeof (Page_Validators) == "undefined") {
|
||||
return true;
|
||||
}
|
||||
var i;
|
||||
@@ -127,7 +126,7 @@ function Page_ClientValidate(validationGroup) {
|
||||
function ValidatorCommonOnSubmit() {
|
||||
Page_InvalidControlToBeFocused = null;
|
||||
var result = !Page_BlockSubmit;
|
||||
if ((typeof(window.event) != "undefined") && (window.event != null)) {
|
||||
if ((typeof (window.event) != "undefined") && (window.event != null)) {
|
||||
window.event.returnValue = result;
|
||||
}
|
||||
Page_BlockSubmit = false;
|
||||
@@ -142,14 +141,14 @@ function ValidatorOnChange(event) {
|
||||
event = event || window.event;
|
||||
Page_InvalidControlToBeFocused = null;
|
||||
var targetedControl;
|
||||
if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
if ((typeof (event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
targetedControl = event.srcElement;
|
||||
}
|
||||
else {
|
||||
targetedControl = event.target;
|
||||
}
|
||||
var vals;
|
||||
if (typeof(targetedControl.Validators) != "undefined") {
|
||||
if (typeof (targetedControl.Validators) != "undefined") {
|
||||
vals = targetedControl.Validators;
|
||||
}
|
||||
else {
|
||||
@@ -170,7 +169,7 @@ function ValidatedTextBoxOnKeyPress(event) {
|
||||
if (event.keyCode == 13) {
|
||||
ValidatorOnChange(event);
|
||||
var vals;
|
||||
if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
if ((typeof (event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
vals = event.srcElement.Validators;
|
||||
}
|
||||
else {
|
||||
@@ -183,24 +182,24 @@ function ValidatedTextBoxOnKeyPress(event) {
|
||||
function ValidatedControlOnBlur(event) {
|
||||
event = event || window.event;
|
||||
var control;
|
||||
if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
if ((typeof (event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
control = event.srcElement;
|
||||
}
|
||||
else {
|
||||
control = event.target;
|
||||
}
|
||||
if ((typeof(control) != "undefined") && (control != null) && (Page_InvalidControlToBeFocused == control)) {
|
||||
if ((typeof (control) != "undefined") && (control != null) && (Page_InvalidControlToBeFocused == control)) {
|
||||
control.focus();
|
||||
Page_InvalidControlToBeFocused = null;
|
||||
}
|
||||
}
|
||||
function ValidatorValidate(val, validationGroup, event) {
|
||||
val.isvalid = true;
|
||||
if ((typeof(val.enabled) == "undefined" || val.enabled != false) && IsValidationGroupMatch(val, validationGroup)) {
|
||||
if (typeof(val.evaluationfunction) == "function") {
|
||||
if ((typeof (val.enabled) == "undefined" || val.enabled != false) && IsValidationGroupMatch(val, validationGroup)) {
|
||||
if (typeof (val.evaluationfunction) == "function") {
|
||||
val.isvalid = val.evaluationfunction(val);
|
||||
if (!val.isvalid && Page_InvalidControlToBeFocused == null &&
|
||||
typeof(val.focusOnError) == "string" && val.focusOnError == "t") {
|
||||
typeof (val.focusOnError) == "string" && val.focusOnError == "t") {
|
||||
ValidatorSetFocus(val, event);
|
||||
}
|
||||
}
|
||||
@@ -209,80 +208,80 @@ function ValidatorValidate(val, validationGroup, event) {
|
||||
}
|
||||
function ValidatorSetFocus(val, event) {
|
||||
var ctrl;
|
||||
if (typeof(val.controlhookup) == "string") {
|
||||
if (typeof (val.controlhookup) == "string") {
|
||||
var eventCtrl;
|
||||
if ((typeof(event) != "undefined") && (event != null)) {
|
||||
if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
if ((typeof (event) != "undefined") && (event != null)) {
|
||||
if ((typeof (event.srcElement) != "undefined") && (event.srcElement != null)) {
|
||||
eventCtrl = event.srcElement;
|
||||
}
|
||||
else {
|
||||
eventCtrl = event.target;
|
||||
}
|
||||
}
|
||||
if ((typeof(eventCtrl) != "undefined") && (eventCtrl != null) &&
|
||||
(typeof(eventCtrl.id) == "string") &&
|
||||
if ((typeof (eventCtrl) != "undefined") && (eventCtrl != null) &&
|
||||
(typeof (eventCtrl.id) == "string") &&
|
||||
(eventCtrl.id == val.controlhookup)) {
|
||||
ctrl = eventCtrl;
|
||||
}
|
||||
}
|
||||
if ((typeof(ctrl) == "undefined") || (ctrl == null)) {
|
||||
if ((typeof (ctrl) == "undefined") || (ctrl == null)) {
|
||||
ctrl = document.getElementById(val.controltovalidate);
|
||||
}
|
||||
if ((typeof(ctrl) != "undefined") && (ctrl != null) &&
|
||||
(ctrl.tagName.toLowerCase() != "table" || (typeof(event) == "undefined") || (event == null)) &&
|
||||
if ((typeof (ctrl) != "undefined") && (ctrl != null) &&
|
||||
(ctrl.tagName.toLowerCase() != "table" || (typeof (event) == "undefined") || (event == null)) &&
|
||||
((ctrl.tagName.toLowerCase() != "input") || (ctrl.type.toLowerCase() != "hidden")) &&
|
||||
(typeof(ctrl.disabled) == "undefined" || ctrl.disabled == null || ctrl.disabled == false) &&
|
||||
(typeof(ctrl.visible) == "undefined" || ctrl.visible == null || ctrl.visible != false) &&
|
||||
(typeof (ctrl.disabled) == "undefined" || ctrl.disabled == null || ctrl.disabled == false) &&
|
||||
(typeof (ctrl.visible) == "undefined" || ctrl.visible == null || ctrl.visible != false) &&
|
||||
(IsInVisibleContainer(ctrl))) {
|
||||
if ((ctrl.tagName.toLowerCase() == "table" && (typeof(__nonMSDOMBrowser) == "undefined" || __nonMSDOMBrowser)) ||
|
||||
if ((ctrl.tagName.toLowerCase() == "table" && (typeof (__nonMSDOMBrowser) == "undefined" || __nonMSDOMBrowser)) ||
|
||||
(ctrl.tagName.toLowerCase() == "span")) {
|
||||
var inputElements = ctrl.getElementsByTagName("input");
|
||||
var lastInputElement = inputElements[inputElements.length -1];
|
||||
var lastInputElement = inputElements[inputElements.length - 1];
|
||||
if (lastInputElement != null) {
|
||||
ctrl = lastInputElement;
|
||||
}
|
||||
}
|
||||
if (typeof(ctrl.focus) != "undefined" && ctrl.focus != null) {
|
||||
if (typeof (ctrl.focus) != "undefined" && ctrl.focus != null) {
|
||||
ctrl.focus();
|
||||
Page_InvalidControlToBeFocused = ctrl;
|
||||
}
|
||||
}
|
||||
}
|
||||
function IsInVisibleContainer(ctrl) {
|
||||
if (typeof(ctrl.style) != "undefined" &&
|
||||
( ( typeof(ctrl.style.display) != "undefined" &&
|
||||
if (typeof (ctrl.style) != "undefined" &&
|
||||
((typeof (ctrl.style.display) != "undefined" &&
|
||||
ctrl.style.display == "none") ||
|
||||
( typeof(ctrl.style.visibility) != "undefined" &&
|
||||
ctrl.style.visibility == "hidden") ) ) {
|
||||
(typeof (ctrl.style.visibility) != "undefined" &&
|
||||
ctrl.style.visibility == "hidden"))) {
|
||||
return false;
|
||||
}
|
||||
else if (typeof(ctrl.parentNode) != "undefined" &&
|
||||
ctrl.parentNode != null &&
|
||||
ctrl.parentNode != ctrl) {
|
||||
else if (typeof (ctrl.parentNode) != "undefined" &&
|
||||
ctrl.parentNode != null &&
|
||||
ctrl.parentNode != ctrl) {
|
||||
return IsInVisibleContainer(ctrl.parentNode);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function IsValidationGroupMatch(control, validationGroup) {
|
||||
if ((typeof(validationGroup) == "undefined") || (validationGroup == null)) {
|
||||
if ((typeof (validationGroup) == "undefined") || (validationGroup == null)) {
|
||||
return true;
|
||||
}
|
||||
var controlGroup = "";
|
||||
if (typeof(control.validationGroup) == "string") {
|
||||
if (typeof (control.validationGroup) == "string") {
|
||||
controlGroup = control.validationGroup;
|
||||
}
|
||||
return (controlGroup == validationGroup);
|
||||
}
|
||||
function ValidatorOnLoad() {
|
||||
if (typeof(Page_Validators) == "undefined")
|
||||
if (typeof (Page_Validators) == "undefined")
|
||||
return;
|
||||
var i, val;
|
||||
for (i = 0; i < Page_Validators.length; i++) {
|
||||
val = Page_Validators[i];
|
||||
if (typeof(val.evaluationfunction) == "string") {
|
||||
if (typeof (val.evaluationfunction) == "string") {
|
||||
eval("val.evaluationfunction = " + val.evaluationfunction + ";");
|
||||
}
|
||||
if (typeof(val.isvalid) == "string") {
|
||||
if (typeof (val.isvalid) == "string") {
|
||||
if (val.isvalid == "False") {
|
||||
val.isvalid = false;
|
||||
Page_IsValid = false;
|
||||
@@ -293,13 +292,13 @@ function ValidatorOnLoad() {
|
||||
} else {
|
||||
val.isvalid = true;
|
||||
}
|
||||
if (typeof(val.enabled) == "string") {
|
||||
if (typeof (val.enabled) == "string") {
|
||||
val.enabled = (val.enabled != "False");
|
||||
}
|
||||
if (typeof(val.controltovalidate) == "string") {
|
||||
if (typeof (val.controltovalidate) == "string") {
|
||||
ValidatorHookupControlID(val.controltovalidate, val);
|
||||
}
|
||||
if (typeof(val.controlhookup) == "string") {
|
||||
if (typeof (val.controlhookup) == "string") {
|
||||
ValidatorHookupControlID(val.controlhookup, val);
|
||||
}
|
||||
}
|
||||
@@ -319,14 +318,14 @@ function ValidatorConvert(op, dataType, val) {
|
||||
num = parseInt(op, 10);
|
||||
return (isNaN(num) ? null : num);
|
||||
}
|
||||
else if(dataType == "Double") {
|
||||
else if (dataType == "Double") {
|
||||
exp = new RegExp("^\\s*([-\\+])?(\\d*)\\" + val.decimalchar + "?(\\d*)\\s*$");
|
||||
m = op.match(exp);
|
||||
if (m == null)
|
||||
return null;
|
||||
if (m[2].length == 0 && m[3].length == 0)
|
||||
return null;
|
||||
cleanInput = (m[1] != null ? m[1] : "") + (m[2].length>0 ? m[2] : "0") + (m[3].length>0 ? "." + m[3] : "");
|
||||
cleanInput = (m[1] != null ? m[1] : "") + (m[2].length > 0 ? m[2] : "0") + (m[3].length > 0 ? "." + m[3] : "");
|
||||
num = parseFloat(cleanInput);
|
||||
return (isNaN(num) ? null : num);
|
||||
}
|
||||
@@ -342,8 +341,8 @@ function ValidatorConvert(op, dataType, val) {
|
||||
beginGroupSize = subsequentGroupSize = "+";
|
||||
}
|
||||
exp = new RegExp("^\\s*([-\\+])?((\\d" + beginGroupSize + "(\\" + val.groupchar + "\\d" + subsequentGroupSize + ")+)|\\d*)"
|
||||
+ (hasDigits ? "\\" + val.decimalchar + "?(\\d{0," + val.digits + "})" : "")
|
||||
+ "\\s*$");
|
||||
+ (hasDigits ? "\\" + val.decimalchar + "?(\\d{0," + val.digits + "})" : "")
|
||||
+ "\\s*$");
|
||||
m = op.match(exp);
|
||||
if (m == null)
|
||||
return null;
|
||||
@@ -357,13 +356,13 @@ function ValidatorConvert(op, dataType, val) {
|
||||
var yearFirstExp = new RegExp("^\\s*((\\d{4})|(\\d{2}))([-/]|\\. ?)(\\d{1,2})\\4(\\d{1,2})\\.?\\s*$");
|
||||
m = op.match(yearFirstExp);
|
||||
var day, month, year;
|
||||
if (m != null && (((typeof(m[2]) != "undefined") && (m[2].length == 4)) || val.dateorder == "ymd")) {
|
||||
if (m != null && (((typeof (m[2]) != "undefined") && (m[2].length == 4)) || val.dateorder == "ymd")) {
|
||||
day = m[6];
|
||||
month = m[5];
|
||||
year = (m[2].length == 4) ? m[2] : GetFullYear(parseInt(m[3], 10));
|
||||
}
|
||||
else {
|
||||
if (val.dateorder == "ymd"){
|
||||
if (val.dateorder == "ymd") {
|
||||
return null;
|
||||
}
|
||||
var yearLastExp = new RegExp("^\\s*(\\d{1,2})([-/]|\\. ?)(\\d{1,2})(?:\\s|\\2)((\\d{4})|(\\d{2}))(?:\\s\u0433\\.|\\.)?\\s*$");
|
||||
@@ -379,14 +378,14 @@ function ValidatorConvert(op, dataType, val) {
|
||||
day = m[1];
|
||||
month = m[3];
|
||||
}
|
||||
year = ((typeof(m[5]) != "undefined") && (m[5].length == 4)) ? m[5] : GetFullYear(parseInt(m[6], 10));
|
||||
year = ((typeof (m[5]) != "undefined") && (m[5].length == 4)) ? m[5] : GetFullYear(parseInt(m[6], 10));
|
||||
}
|
||||
month -= 1;
|
||||
var date = new Date(year, month, day);
|
||||
if (year < 100) {
|
||||
date.setFullYear(year);
|
||||
}
|
||||
return (typeof(date) == "object" && year == date.getFullYear() && month == date.getMonth() && day == date.getDate()) ? date.valueOf() : null;
|
||||
return (typeof (date) == "object" && year == date.getFullYear() && month == date.getMonth() && day == date.getDate()) ? date.valueOf() : null;
|
||||
}
|
||||
else {
|
||||
return op.toString();
|
||||
@@ -421,10 +420,10 @@ function CompareValidatorEvaluateIsValid(val) {
|
||||
if (ValidatorTrim(value).length == 0)
|
||||
return true;
|
||||
var compareTo = "";
|
||||
if ((typeof(val.controltocompare) != "string") ||
|
||||
(typeof(document.getElementById(val.controltocompare)) == "undefined") ||
|
||||
if ((typeof (val.controltocompare) != "string") ||
|
||||
(typeof (document.getElementById(val.controltocompare)) == "undefined") ||
|
||||
(null == document.getElementById(val.controltocompare))) {
|
||||
if (typeof(val.valuetocompare) == "string") {
|
||||
if (typeof (val.valuetocompare) == "string") {
|
||||
compareTo = val.valuetocompare;
|
||||
}
|
||||
}
|
||||
@@ -432,22 +431,22 @@ function CompareValidatorEvaluateIsValid(val) {
|
||||
compareTo = ValidatorGetValue(val.controltocompare);
|
||||
}
|
||||
var operator = "Equal";
|
||||
if (typeof(val.operator) == "string") {
|
||||
if (typeof (val.operator) == "string") {
|
||||
operator = val.operator;
|
||||
}
|
||||
return ValidatorCompare(value, compareTo, operator, val);
|
||||
}
|
||||
function CustomValidatorEvaluateIsValid(val) {
|
||||
var value = "";
|
||||
if (typeof(val.controltovalidate) == "string") {
|
||||
if (typeof (val.controltovalidate) == "string") {
|
||||
value = ValidatorGetValue(val.controltovalidate);
|
||||
if ((ValidatorTrim(value).length == 0) &&
|
||||
((typeof(val.validateemptytext) != "string") || (val.validateemptytext != "true"))) {
|
||||
((typeof (val.validateemptytext) != "string") || (val.validateemptytext != "true"))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
var args = { Value:value, IsValid:true };
|
||||
if (typeof(val.clientvalidationfunction) == "string") {
|
||||
var args = { Value: value, IsValid: true };
|
||||
if (typeof (val.clientvalidationfunction) == "string") {
|
||||
eval(val.clientvalidationfunction + "(val, args) ;");
|
||||
}
|
||||
return args.IsValid;
|
||||
@@ -472,10 +471,10 @@ function RangeValidatorEvaluateIsValid(val) {
|
||||
if (ValidatorTrim(value).length == 0)
|
||||
return true;
|
||||
return (ValidatorCompare(value, val.minimumvalue, "GreaterThanEqual", val) &&
|
||||
ValidatorCompare(value, val.maximumvalue, "LessThanEqual", val));
|
||||
ValidatorCompare(value, val.maximumvalue, "LessThanEqual", val));
|
||||
}
|
||||
function ValidationSummaryOnSubmit(validationGroup) {
|
||||
if (typeof(Page_ValidationSummaries) == "undefined")
|
||||
if (typeof (Page_ValidationSummaries) == "undefined")
|
||||
return;
|
||||
var summary, sums, s;
|
||||
var headerSep, first, pre, post, end;
|
||||
@@ -487,7 +486,7 @@ function ValidationSummaryOnSubmit(validationGroup) {
|
||||
var i;
|
||||
if (summary.showsummary != "False") {
|
||||
summary.style.display = "";
|
||||
if (typeof(summary.displaymode) != "string") {
|
||||
if (typeof (summary.displaymode) != "string") {
|
||||
summary.displaymode = "BulletList";
|
||||
}
|
||||
switch (summary.displaymode) {
|
||||
@@ -515,27 +514,27 @@ function ValidationSummaryOnSubmit(validationGroup) {
|
||||
break;
|
||||
}
|
||||
s = "";
|
||||
if (typeof(summary.headertext) == "string") {
|
||||
if (typeof (summary.headertext) == "string") {
|
||||
s += summary.headertext + headerSep;
|
||||
}
|
||||
s += first;
|
||||
for (i=0; i<Page_Validators.length; i++) {
|
||||
if (!Page_Validators[i].isvalid && typeof(Page_Validators[i].errormessage) == "string") {
|
||||
for (i = 0; i < Page_Validators.length; i++) {
|
||||
if (!Page_Validators[i].isvalid && typeof (Page_Validators[i].errormessage) == "string") {
|
||||
s += pre + Page_Validators[i].errormessage + post;
|
||||
}
|
||||
}
|
||||
s += end;
|
||||
summary.innerHTML = s;
|
||||
window.scrollTo(0,0);
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
if (summary.showmessagebox == "True") {
|
||||
s = "";
|
||||
if (typeof(summary.headertext) == "string") {
|
||||
if (typeof (summary.headertext) == "string") {
|
||||
s += summary.headertext + "\r\n";
|
||||
}
|
||||
var lastValIndex = Page_Validators.length - 1;
|
||||
for (i=0; i<=lastValIndex; i++) {
|
||||
if (!Page_Validators[i].isvalid && typeof(Page_Validators[i].errormessage) == "string") {
|
||||
for (i = 0; i <= lastValIndex; i++) {
|
||||
if (!Page_Validators[i].isvalid && typeof (Page_Validators[i].errormessage) == "string") {
|
||||
switch (summary.displaymode) {
|
||||
case "List":
|
||||
s += Page_Validators[i].errormessage;
|
||||
@@ -680,5 +679,5 @@ if (window.jQuery) {
|
||||
}
|
||||
registerUpdatePanel();
|
||||
});
|
||||
} (jQuery));
|
||||
}(jQuery));
|
||||
}
|
||||
Vendored
+6682
-6735
File diff suppressed because it is too large
Load Diff
Vendored
+1
-47
@@ -127,7 +127,6 @@
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
var Util = {
|
||||
TRANSITION_END: 'bsTransitionEnd',
|
||||
getUID: function getUID(prefix) {
|
||||
@@ -157,7 +156,6 @@
|
||||
return 0;
|
||||
} // Get transition-duration of the element
|
||||
|
||||
|
||||
var transitionDuration = $(element).css('transition-duration');
|
||||
var transitionDelay = $(element).css('transition-delay');
|
||||
var floatTransitionDuration = parseFloat(transitionDuration);
|
||||
@@ -167,7 +165,6 @@
|
||||
return 0;
|
||||
} // If multiple durations are defined, take the first
|
||||
|
||||
|
||||
transitionDuration = transitionDuration.split(',')[0];
|
||||
transitionDelay = transitionDelay.split(',')[0];
|
||||
return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER;
|
||||
@@ -203,7 +200,6 @@
|
||||
return null;
|
||||
} // Can find the shadow root otherwise it'll return the document
|
||||
|
||||
|
||||
if (typeof element.getRootNode === 'function') {
|
||||
var root = element.getRootNode();
|
||||
return root instanceof ShadowRoot ? root : null;
|
||||
@@ -213,7 +209,6 @@
|
||||
return element;
|
||||
} // when we don't find a shadow root
|
||||
|
||||
|
||||
if (!element.parentNode) {
|
||||
return null;
|
||||
}
|
||||
@@ -252,7 +247,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var Alert =
|
||||
@@ -262,7 +256,6 @@
|
||||
this._element = element;
|
||||
} // Getters
|
||||
|
||||
|
||||
var _proto = Alert.prototype;
|
||||
|
||||
// Public
|
||||
@@ -372,7 +365,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
|
||||
/**
|
||||
* ------------------------------------------------------------------------
|
||||
@@ -420,7 +412,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var Button =
|
||||
@@ -430,7 +421,6 @@
|
||||
this._element = element;
|
||||
} // Getters
|
||||
|
||||
|
||||
var _proto = Button.prototype;
|
||||
|
||||
// Public
|
||||
@@ -514,7 +504,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$(document).on(Event$1.CLICK_DATA_API, Selector$1.DATA_TOGGLE_CARROT, function (event) {
|
||||
event.preventDefault();
|
||||
var button = event.target;
|
||||
@@ -627,7 +616,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var Carousel =
|
||||
@@ -651,7 +639,6 @@
|
||||
this._addEventListeners();
|
||||
} // Getters
|
||||
|
||||
|
||||
var _proto = Carousel.prototype;
|
||||
|
||||
// Public
|
||||
@@ -766,7 +753,6 @@
|
||||
this.prev();
|
||||
} // swipe right
|
||||
|
||||
|
||||
if (direction < 0) {
|
||||
this.next();
|
||||
}
|
||||
@@ -1117,7 +1103,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$(document).on(Event$2.CLICK_DATA_API, Selector$2.DATA_SLIDE, Carousel._dataApiClickHandler);
|
||||
$(window).on(Event$2.LOAD_DATA_API, function () {
|
||||
var carousels = [].slice.call(document.querySelectorAll(Selector$2.DATA_RIDE));
|
||||
@@ -1187,7 +1172,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var Collapse =
|
||||
@@ -1225,7 +1209,6 @@
|
||||
}
|
||||
} // Getters
|
||||
|
||||
|
||||
var _proto = Collapse.prototype;
|
||||
|
||||
// Public
|
||||
@@ -1470,7 +1453,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$(document).on(Event$3.CLICK_DATA_API, Selector$3.DATA_TOGGLE, function (event) {
|
||||
// preventDefault only for <a> elements (which change the URL) not inside the collapsible element
|
||||
if (event.currentTarget.tagName === 'A') {
|
||||
@@ -1582,7 +1564,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var Dropdown =
|
||||
@@ -1598,7 +1579,6 @@
|
||||
this._addEventListeners();
|
||||
} // Getters
|
||||
|
||||
|
||||
var _proto = Dropdown.prototype;
|
||||
|
||||
// Public
|
||||
@@ -1627,7 +1607,6 @@
|
||||
return;
|
||||
} // Disable totally Popper.js for Dropdown in Navbar
|
||||
|
||||
|
||||
if (!this._inNavbar) {
|
||||
/**
|
||||
* Check for Popper dependency
|
||||
@@ -1651,7 +1630,6 @@
|
||||
// to allow the menu to "escape" the scroll parent's boundaries
|
||||
// https://github.com/twbs/bootstrap/issues/24251
|
||||
|
||||
|
||||
if (this._config.boundary !== 'scrollParent') {
|
||||
$(parent).addClass(ClassName$4.POSITION_STATIC);
|
||||
}
|
||||
@@ -1662,7 +1640,6 @@
|
||||
// only needed because of broken event delegation on iOS
|
||||
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
|
||||
|
||||
|
||||
if ('ontouchstart' in document.documentElement && $(parent).closest(Selector$4.NAVBAR_NAV).length === 0) {
|
||||
$(document.body).children().on('mouseover', null, $.noop);
|
||||
}
|
||||
@@ -1824,7 +1801,6 @@
|
||||
boundariesElement: this._config.boundary
|
||||
}
|
||||
} // Disable Popper.js if we have a static display
|
||||
|
||||
};
|
||||
|
||||
if (this._config.display === 'static') {
|
||||
@@ -1899,7 +1875,6 @@
|
||||
} // If this is a touch-enabled device we remove the extra
|
||||
// empty mouseover listeners we added for iOS support
|
||||
|
||||
|
||||
if ('ontouchstart' in document.documentElement) {
|
||||
$(document.body).children().off('mouseover', null, $.noop);
|
||||
}
|
||||
@@ -2005,7 +1980,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$(document).on(Event$4.KEYDOWN_DATA_API, Selector$4.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event$4.KEYDOWN_DATA_API, Selector$4.MENU, Dropdown._dataApiKeydownHandler).on(Event$4.CLICK_DATA_API + " " + Event$4.KEYUP_DATA_API, Dropdown._clearMenus).on(Event$4.CLICK_DATA_API, Selector$4.DATA_TOGGLE, function (event) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
@@ -2087,7 +2061,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var Modal =
|
||||
@@ -2105,7 +2078,6 @@
|
||||
this._scrollbarWidth = 0;
|
||||
} // Getters
|
||||
|
||||
|
||||
var _proto = Modal.prototype;
|
||||
|
||||
// Public
|
||||
@@ -2564,7 +2536,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$(document).on(Event$5.CLICK_DATA_API, Selector$5.DATA_TOGGLE, function (event) {
|
||||
var _this10 = this;
|
||||
|
||||
@@ -2655,7 +2626,6 @@
|
||||
*
|
||||
* Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts
|
||||
*/
|
||||
|
||||
};
|
||||
var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi;
|
||||
/**
|
||||
@@ -2821,7 +2791,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var Tooltip =
|
||||
@@ -2836,7 +2805,6 @@
|
||||
throw new TypeError('Bootstrap\'s tooltips require Popper.js (https://popper.js.org/)');
|
||||
} // private
|
||||
|
||||
|
||||
this._isEnabled = true;
|
||||
this._timeout = 0;
|
||||
this._hoverState = '';
|
||||
@@ -2850,7 +2818,6 @@
|
||||
this._setListeners();
|
||||
} // Getters
|
||||
|
||||
|
||||
var _proto = Tooltip.prototype;
|
||||
|
||||
// Public
|
||||
@@ -3439,7 +3406,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$.fn[NAME$6] = Tooltip._jQueryInterface;
|
||||
$.fn[NAME$6].Constructor = Tooltip;
|
||||
|
||||
@@ -3497,7 +3463,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var Popover =
|
||||
@@ -3626,7 +3591,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$.fn[NAME$7] = Popover._jQueryInterface;
|
||||
$.fn[NAME$7].Constructor = Popover;
|
||||
|
||||
@@ -3686,7 +3650,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var ScrollSpy =
|
||||
@@ -3711,7 +3674,6 @@
|
||||
this._process();
|
||||
} // Getters
|
||||
|
||||
|
||||
var _proto = ScrollSpy.prototype;
|
||||
|
||||
// Public
|
||||
@@ -3917,7 +3879,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$(window).on(Event$8.LOAD_DATA_API, function () {
|
||||
var scrollSpys = [].slice.call(document.querySelectorAll(Selector$8.DATA_SPY));
|
||||
var scrollSpysLength = scrollSpys.length;
|
||||
@@ -3981,7 +3942,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var Tab =
|
||||
@@ -3991,7 +3951,6 @@
|
||||
this._element = element;
|
||||
} // Getters
|
||||
|
||||
|
||||
var _proto = Tab.prototype;
|
||||
|
||||
// Public
|
||||
@@ -4157,7 +4116,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$(document).on(Event$9.CLICK_DATA_API, Selector$9.DATA_TOGGLE, function (event) {
|
||||
event.preventDefault();
|
||||
|
||||
@@ -4218,7 +4176,6 @@
|
||||
* Class Definition
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
};
|
||||
|
||||
var Toast =
|
||||
@@ -4232,7 +4189,6 @@
|
||||
this._setListeners();
|
||||
} // Getters
|
||||
|
||||
|
||||
var _proto = Toast.prototype;
|
||||
|
||||
// Public
|
||||
@@ -4383,7 +4339,6 @@
|
||||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
$.fn[NAME$a] = Toast._jQueryInterface;
|
||||
$.fn[NAME$a].Constructor = Toast;
|
||||
|
||||
@@ -4430,6 +4385,5 @@
|
||||
exports.Tooltip = Tooltip;
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
}));
|
||||
//# sourceMappingURL=bootstrap.js.map
|
||||
//# sourceMappingURL=bootstrap.js.map
|
||||
+570
-570
File diff suppressed because it is too large
Load Diff
+1610
-1618
File diff suppressed because it is too large
Load Diff
Vendored
+123
-123
@@ -11,132 +11,132 @@
|
||||
* and all the types / interfaces are top-level named exports.
|
||||
*/
|
||||
declare namespace Popper {
|
||||
export type Position = 'top' | 'right' | 'bottom' | 'left';
|
||||
export type Position = 'top' | 'right' | 'bottom' | 'left';
|
||||
|
||||
export type Placement = 'auto-start'
|
||||
| 'auto'
|
||||
| 'auto-end'
|
||||
| 'top-start'
|
||||
| 'top'
|
||||
| 'top-end'
|
||||
| 'right-start'
|
||||
| 'right'
|
||||
| 'right-end'
|
||||
| 'bottom-end'
|
||||
| 'bottom'
|
||||
| 'bottom-start'
|
||||
| 'left-end'
|
||||
| 'left'
|
||||
| 'left-start';
|
||||
export type Placement = 'auto-start'
|
||||
| 'auto'
|
||||
| 'auto-end'
|
||||
| 'top-start'
|
||||
| 'top'
|
||||
| 'top-end'
|
||||
| 'right-start'
|
||||
| 'right'
|
||||
| 'right-end'
|
||||
| 'bottom-end'
|
||||
| 'bottom'
|
||||
| 'bottom-start'
|
||||
| 'left-end'
|
||||
| 'left'
|
||||
| 'left-start';
|
||||
|
||||
export type Boundary = 'scrollParent' | 'viewport' | 'window';
|
||||
export type Boundary = 'scrollParent' | 'viewport' | 'window';
|
||||
|
||||
export type Behavior = 'flip' | 'clockwise' | 'counterclockwise';
|
||||
export type Behavior = 'flip' | 'clockwise' | 'counterclockwise';
|
||||
|
||||
export type ModifierFn = (data: Data, options: Object) => Data;
|
||||
export type ModifierFn = (data: Data, options: Object) => Data;
|
||||
|
||||
export interface Attributes {
|
||||
'x-out-of-boundaries': '' | false;
|
||||
'x-placement': Placement;
|
||||
}
|
||||
export interface Attributes {
|
||||
'x-out-of-boundaries': '' | false;
|
||||
'x-placement': Placement;
|
||||
}
|
||||
|
||||
export interface Padding {
|
||||
top?: number,
|
||||
bottom?: number,
|
||||
left?: number,
|
||||
right?: number,
|
||||
}
|
||||
export interface Padding {
|
||||
top?: number,
|
||||
bottom?: number,
|
||||
left?: number,
|
||||
right?: number,
|
||||
}
|
||||
|
||||
export interface BaseModifier {
|
||||
order?: number;
|
||||
enabled?: boolean;
|
||||
fn?: ModifierFn;
|
||||
}
|
||||
export interface BaseModifier {
|
||||
order?: number;
|
||||
enabled?: boolean;
|
||||
fn?: ModifierFn;
|
||||
}
|
||||
|
||||
export interface Modifiers {
|
||||
shift?: BaseModifier;
|
||||
offset?: BaseModifier & {
|
||||
offset?: number | string,
|
||||
};
|
||||
preventOverflow?: BaseModifier & {
|
||||
priority?: Position[],
|
||||
padding?: number | Padding,
|
||||
boundariesElement?: Boundary | Element,
|
||||
escapeWithReference?: boolean
|
||||
};
|
||||
keepTogether?: BaseModifier;
|
||||
arrow?: BaseModifier & {
|
||||
element?: string | Element,
|
||||
};
|
||||
flip?: BaseModifier & {
|
||||
behavior?: Behavior | Position[],
|
||||
padding?: number | Padding,
|
||||
boundariesElement?: Boundary | Element,
|
||||
flipVariations?: boolean,
|
||||
flipVariationsByContent?: boolean,
|
||||
};
|
||||
inner?: BaseModifier;
|
||||
hide?: BaseModifier;
|
||||
applyStyle?: BaseModifier & {
|
||||
onLoad?: Function,
|
||||
gpuAcceleration?: boolean,
|
||||
};
|
||||
computeStyle?: BaseModifier & {
|
||||
gpuAcceleration?: boolean;
|
||||
x?: 'bottom' | 'top',
|
||||
y?: 'left' | 'right'
|
||||
};
|
||||
export interface Modifiers {
|
||||
shift?: BaseModifier;
|
||||
offset?: BaseModifier & {
|
||||
offset?: number | string,
|
||||
};
|
||||
preventOverflow?: BaseModifier & {
|
||||
priority?: Position[],
|
||||
padding?: number | Padding,
|
||||
boundariesElement?: Boundary | Element,
|
||||
escapeWithReference?: boolean
|
||||
};
|
||||
keepTogether?: BaseModifier;
|
||||
arrow?: BaseModifier & {
|
||||
element?: string | Element,
|
||||
};
|
||||
flip?: BaseModifier & {
|
||||
behavior?: Behavior | Position[],
|
||||
padding?: number | Padding,
|
||||
boundariesElement?: Boundary | Element,
|
||||
flipVariations?: boolean,
|
||||
flipVariationsByContent?: boolean,
|
||||
};
|
||||
inner?: BaseModifier;
|
||||
hide?: BaseModifier;
|
||||
applyStyle?: BaseModifier & {
|
||||
onLoad?: Function,
|
||||
gpuAcceleration?: boolean,
|
||||
};
|
||||
computeStyle?: BaseModifier & {
|
||||
gpuAcceleration?: boolean;
|
||||
x?: 'bottom' | 'top',
|
||||
y?: 'left' | 'right'
|
||||
};
|
||||
|
||||
[name: string]: (BaseModifier & Record<string, any>) | undefined;
|
||||
}
|
||||
[name: string]: (BaseModifier & Record<string, any>) | undefined;
|
||||
}
|
||||
|
||||
export interface Offset {
|
||||
top: number;
|
||||
left: number;
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
export interface Offset {
|
||||
top: number;
|
||||
left: number;
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
|
||||
export interface Data {
|
||||
instance: Popper;
|
||||
placement: Placement;
|
||||
originalPlacement: Placement;
|
||||
flipped: boolean;
|
||||
hide: boolean;
|
||||
arrowElement: Element;
|
||||
styles: CSSStyleDeclaration;
|
||||
arrowStyles: CSSStyleDeclaration;
|
||||
attributes: Attributes;
|
||||
boundaries: Object;
|
||||
offsets: {
|
||||
popper: Offset,
|
||||
reference: Offset,
|
||||
arrow: {
|
||||
top: number,
|
||||
left: number,
|
||||
},
|
||||
};
|
||||
}
|
||||
export interface Data {
|
||||
instance: Popper;
|
||||
placement: Placement;
|
||||
originalPlacement: Placement;
|
||||
flipped: boolean;
|
||||
hide: boolean;
|
||||
arrowElement: Element;
|
||||
styles: CSSStyleDeclaration;
|
||||
arrowStyles: CSSStyleDeclaration;
|
||||
attributes: Attributes;
|
||||
boundaries: Object;
|
||||
offsets: {
|
||||
popper: Offset,
|
||||
reference: Offset,
|
||||
arrow: {
|
||||
top: number,
|
||||
left: number,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export interface PopperOptions {
|
||||
placement?: Placement;
|
||||
positionFixed?: boolean;
|
||||
eventsEnabled?: boolean;
|
||||
modifiers?: Modifiers;
|
||||
removeOnDestroy?: boolean;
|
||||
export interface PopperOptions {
|
||||
placement?: Placement;
|
||||
positionFixed?: boolean;
|
||||
eventsEnabled?: boolean;
|
||||
modifiers?: Modifiers;
|
||||
removeOnDestroy?: boolean;
|
||||
|
||||
onCreate?(data: Data): void;
|
||||
onCreate?(data: Data): void;
|
||||
|
||||
onUpdate?(data: Data): void;
|
||||
}
|
||||
onUpdate?(data: Data): void;
|
||||
}
|
||||
|
||||
export interface ReferenceObject {
|
||||
clientHeight: number;
|
||||
clientWidth: number;
|
||||
referenceNode?: Node;
|
||||
export interface ReferenceObject {
|
||||
clientHeight: number;
|
||||
clientWidth: number;
|
||||
referenceNode?: Node;
|
||||
|
||||
getBoundingClientRect(): ClientRect;
|
||||
}
|
||||
getBoundingClientRect(): ClientRect;
|
||||
}
|
||||
}
|
||||
|
||||
// Re-export types in the Popper namespace so that they can be accessed as top-level named exports.
|
||||
@@ -155,25 +155,25 @@ export type PopperOptions = Popper.PopperOptions;
|
||||
export type ReferenceObject = Popper.ReferenceObject;
|
||||
|
||||
declare class Popper {
|
||||
static modifiers: (BaseModifier & { name: string })[];
|
||||
static placements: Placement[];
|
||||
static Defaults: PopperOptions;
|
||||
static modifiers: (BaseModifier & { name: string })[];
|
||||
static placements: Placement[];
|
||||
static Defaults: PopperOptions;
|
||||
|
||||
options: PopperOptions;
|
||||
popper: Element;
|
||||
reference: Element | ReferenceObject;
|
||||
options: PopperOptions;
|
||||
popper: Element;
|
||||
reference: Element | ReferenceObject;
|
||||
|
||||
constructor(reference: Element | ReferenceObject, popper: Element, options?: PopperOptions);
|
||||
constructor(reference: Element | ReferenceObject, popper: Element, options?: PopperOptions);
|
||||
|
||||
destroy(): void;
|
||||
destroy(): void;
|
||||
|
||||
update(): void;
|
||||
update(): void;
|
||||
|
||||
scheduleUpdate(): void;
|
||||
scheduleUpdate(): void;
|
||||
|
||||
enableEventListeners(): void;
|
||||
enableEventListeners(): void;
|
||||
|
||||
disableEventListeners(): void;
|
||||
disableEventListeners(): void;
|
||||
}
|
||||
|
||||
export default Popper;
|
||||
export default Popper;
|
||||
+1
-2
@@ -2666,5 +2666,4 @@ intellisense.annotate(window, {
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
},
|
||||
});
|
||||
|
||||
});
|
||||
Vendored
+1
-439
File diff suppressed because it is too large
Load Diff
+8128
-8482
File diff suppressed because it is too large
Load Diff
Vendored
-485
File diff suppressed because it is too large
Load Diff
Vendored
+1
-67
@@ -23,7 +23,6 @@
|
||||
*/
|
||||
|
||||
window.Modernizr = (function( window, document, undefined ) {
|
||||
|
||||
var version = '2.8.3',
|
||||
|
||||
Modernizr = {},
|
||||
@@ -91,11 +90,9 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
|
||||
featureName, // used in testing loop
|
||||
|
||||
|
||||
/*>>teststyles*/
|
||||
// Inject element with style element and some CSS rules
|
||||
injectElementWithStyles = function( rule, callback, nodes, testnames ) {
|
||||
|
||||
var style, ret, node, docOverflow,
|
||||
div = document.createElement('div'),
|
||||
// After page load injecting a fake body doesn't work so check if body exists
|
||||
@@ -144,7 +141,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
}
|
||||
|
||||
return !!ret;
|
||||
|
||||
},
|
||||
/*>>teststyles*/
|
||||
|
||||
@@ -153,7 +149,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
// by Scott Jehl and Paul Irish
|
||||
// gist.github.com/786768
|
||||
testMediaQuery = function( mq ) {
|
||||
|
||||
var matchMedia = window.matchMedia || window.msMatchMedia;
|
||||
if ( matchMedia ) {
|
||||
return matchMedia(mq) && matchMedia(mq).matches || false;
|
||||
@@ -168,11 +163,9 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
});
|
||||
|
||||
return bool;
|
||||
|
||||
},
|
||||
/*>>mq*/
|
||||
|
||||
|
||||
/*>>hasevent*/
|
||||
//
|
||||
// isEventSupported determines if a given element supports the given event
|
||||
@@ -183,7 +176,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
// Modernizr.hasEvent("textInput") // in Webkit. github.com/Modernizr/Modernizr/issues/333
|
||||
// ...
|
||||
isEventSupported = (function() {
|
||||
|
||||
var TAGNAMES = {
|
||||
'select': 'input', 'change': 'input',
|
||||
'submit': 'form', 'reset': 'form',
|
||||
@@ -191,7 +183,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
};
|
||||
|
||||
function isEventSupported( eventName, element ) {
|
||||
|
||||
element = element || document.createElement(TAGNAMES[eventName] || 'div');
|
||||
eventName = 'on' + eventName;
|
||||
|
||||
@@ -243,7 +234,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
|
||||
if (!Function.prototype.bind) {
|
||||
Function.prototype.bind = function bind(that) {
|
||||
|
||||
var target = this;
|
||||
|
||||
if (typeof target != "function") {
|
||||
@@ -252,9 +242,7 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
|
||||
var args = slice.call(arguments, 1),
|
||||
bound = function () {
|
||||
|
||||
if (this instanceof bound) {
|
||||
|
||||
var F = function(){};
|
||||
F.prototype = target.prototype;
|
||||
var self = new F();
|
||||
@@ -267,16 +255,12 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return result;
|
||||
}
|
||||
return self;
|
||||
|
||||
} else {
|
||||
|
||||
return target.apply(
|
||||
that,
|
||||
args.concat(slice.call(arguments))
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
return bound;
|
||||
@@ -351,7 +335,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
for ( var i in props ) {
|
||||
var item = obj[props[i]];
|
||||
if ( item !== undefined) {
|
||||
|
||||
// return the property name as a string
|
||||
if (elem === false) return props[i];
|
||||
|
||||
@@ -376,7 +359,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
* compatibility.
|
||||
*/
|
||||
function testPropsAll( prop, prefixed, elem ) {
|
||||
|
||||
var ucProp = prop.charAt(0).toUpperCase() + prop.slice(1),
|
||||
props = (prop + ' ' + cssomPrefixes.join(ucProp + ' ') + ucProp).split(' ');
|
||||
|
||||
@@ -392,7 +374,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
}
|
||||
/*>>testallprops*/
|
||||
|
||||
|
||||
/**
|
||||
* Tests
|
||||
* -----
|
||||
@@ -462,7 +443,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return bool;
|
||||
};
|
||||
|
||||
|
||||
// geolocation is often considered a trivial feature detect...
|
||||
// Turns out, it's quite tricky to get right:
|
||||
//
|
||||
@@ -477,12 +457,10 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return 'geolocation' in navigator;
|
||||
};
|
||||
|
||||
|
||||
tests['postmessage'] = function() {
|
||||
return !!window.postMessage;
|
||||
};
|
||||
|
||||
|
||||
// Chrome incognito mode used to throw an exception when using openDatabase
|
||||
// It doesn't anymore.
|
||||
tests['websqldatabase'] = function() {
|
||||
@@ -525,7 +503,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return 'WebSocket' in window || 'MozWebSocket' in window;
|
||||
};
|
||||
|
||||
|
||||
// css-tricks.com/rgba-browser-support/
|
||||
tests['rgba'] = function() {
|
||||
// Set an rgba() color and check the returned value
|
||||
@@ -557,8 +534,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return (/(url\s*\(.*?){3}/).test(mStyle.background);
|
||||
};
|
||||
|
||||
|
||||
|
||||
// this will false positive in Opera Mini
|
||||
// github.com/Modernizr/Modernizr/issues/396
|
||||
|
||||
@@ -570,7 +545,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return testPropsAll('borderImage');
|
||||
};
|
||||
|
||||
|
||||
// Super comprehensive table about all the unique implementations of
|
||||
// border-radius: muddledramblings.com/table-of-css3-border-radius-compliance
|
||||
|
||||
@@ -588,7 +562,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return document.createElement('div').style.textShadow === '';
|
||||
};
|
||||
|
||||
|
||||
tests['opacity'] = function() {
|
||||
// Browsers that actually have CSS Opacity implemented have done so
|
||||
// according to spec, which means their return values are within the
|
||||
@@ -602,7 +575,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return (/^0.55$/).test(mStyle.opacity);
|
||||
};
|
||||
|
||||
|
||||
// Note, Android < 4 will pass this test, but can only animate
|
||||
// a single property at a time
|
||||
// goo.gl/v3V4Gp
|
||||
@@ -610,12 +582,10 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return testPropsAll('animationName');
|
||||
};
|
||||
|
||||
|
||||
tests['csscolumns'] = function() {
|
||||
return testPropsAll('columnCount');
|
||||
};
|
||||
|
||||
|
||||
tests['cssgradients'] = function() {
|
||||
/**
|
||||
* For CSS Gradients syntax, please see:
|
||||
@@ -639,19 +609,15 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return contains(mStyle.backgroundImage, 'gradient');
|
||||
};
|
||||
|
||||
|
||||
tests['cssreflections'] = function() {
|
||||
return testPropsAll('boxReflect');
|
||||
};
|
||||
|
||||
|
||||
tests['csstransforms'] = function() {
|
||||
return !!testPropsAll('transform');
|
||||
};
|
||||
|
||||
|
||||
tests['csstransforms3d'] = function() {
|
||||
|
||||
var ret = !!testPropsAll('perspective');
|
||||
|
||||
// Webkit's 3D transforms are passed off to the browser's own graphics renderer.
|
||||
@@ -659,7 +625,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
// some conditions. As a result, Webkit typically recognizes the syntax but
|
||||
// will sometimes throw a false positive, thus we must do a more thorough check:
|
||||
if ( ret && 'webkitPerspective' in docElement.style ) {
|
||||
|
||||
// Webkit allows this media query to succeed only if the feature is enabled.
|
||||
// `@media (transform-3d),(-webkit-transform-3d){ ... }`
|
||||
injectElementWithStyles('@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}', function( node, rule ) {
|
||||
@@ -669,12 +634,10 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return ret;
|
||||
};
|
||||
|
||||
|
||||
tests['csstransitions'] = function() {
|
||||
return testPropsAll('transition');
|
||||
};
|
||||
|
||||
|
||||
/*>>fontface*/
|
||||
// @font-face detection routine by Diego Perini
|
||||
// javascript.nwbox.com/CSSSupport/
|
||||
@@ -708,8 +671,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return bool;
|
||||
};
|
||||
|
||||
|
||||
|
||||
// These tests evaluate support of the video/audio elements, as well as
|
||||
// testing what types of content they support.
|
||||
//
|
||||
@@ -739,7 +700,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
|
||||
bool.webm = elem.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,'');
|
||||
}
|
||||
|
||||
} catch(e) { }
|
||||
|
||||
return bool;
|
||||
@@ -767,7 +727,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
return bool;
|
||||
};
|
||||
|
||||
|
||||
// In FF4, if disabled, window.localStorage should === null.
|
||||
|
||||
// Normally, we could not test that directly and need to do a
|
||||
@@ -805,17 +764,14 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
tests['webworkers'] = function() {
|
||||
return !!window.Worker;
|
||||
};
|
||||
|
||||
|
||||
tests['applicationcache'] = function() {
|
||||
return !!window.applicationCache;
|
||||
};
|
||||
|
||||
|
||||
// Thanks to Erik Dahlstrom
|
||||
tests['svg'] = function() {
|
||||
return !!document.createElementNS && !!document.createElementNS(ns.svg, 'svg').createSVGRect;
|
||||
@@ -879,9 +835,7 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
|
||||
// Big thanks to @miketaylr for the html5 forms expertise. miketaylr.com/
|
||||
Modernizr['inputtypes'] = (function(props) {
|
||||
|
||||
for ( var i = 0, bool, inputElemType, defaultView, len = props.length; i < len; i++ ) {
|
||||
|
||||
inputElem.setAttribute('type', inputElemType = props[i]);
|
||||
bool = inputElem.type !== 'text';
|
||||
|
||||
@@ -889,12 +843,10 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
// If the type does, we feed it a textual value, which shouldn't be valid.
|
||||
// If the value doesn't stick, we know there's input sanitization which infers a custom UI
|
||||
if ( bool ) {
|
||||
|
||||
inputElem.value = smile;
|
||||
inputElem.style.cssText = 'position:absolute;visibility:hidden;';
|
||||
|
||||
if ( /^range$/.test(inputElemType) && inputElem.style.WebkitAppearance !== undefined ) {
|
||||
|
||||
docElement.appendChild(inputElem);
|
||||
defaultView = document.defaultView;
|
||||
|
||||
@@ -906,18 +858,15 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
(inputElem.offsetHeight !== 0);
|
||||
|
||||
docElement.removeChild(inputElem);
|
||||
|
||||
} else if ( /^(search|tel)$/.test(inputElemType) ){
|
||||
// Spec doesn't define any special parsing or detectable UI
|
||||
// behaviors so we pass these through as true
|
||||
|
||||
// Interestingly, opera fails the earlier test, so it doesn't
|
||||
// even make it here.
|
||||
|
||||
} else if ( /^(url|email)$/.test(inputElemType) ) {
|
||||
// Real url and email support comes with prebaked validation.
|
||||
bool = inputElem.checkValidity && inputElem.checkValidity() === false;
|
||||
|
||||
} else {
|
||||
// If the upgraded input compontent rejects the :) text, we got a winner
|
||||
bool = inputElem.value != smile;
|
||||
@@ -932,12 +881,9 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
}
|
||||
/*>>webforms*/
|
||||
|
||||
|
||||
// End of test definitions
|
||||
// -----------------------
|
||||
|
||||
|
||||
|
||||
// Run through all tests and detect their support in the current UA.
|
||||
// todo: hypothetically we could be doing an array of tests and use a basic loop here.
|
||||
for ( var feature in tests ) {
|
||||
@@ -957,7 +903,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
Modernizr.input || webforms();
|
||||
/*>>webforms*/
|
||||
|
||||
|
||||
/**
|
||||
* addTest allows the user to define their own feature tests
|
||||
* the result will be added onto the Modernizr object,
|
||||
@@ -974,7 +919,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
feature = feature.toLowerCase();
|
||||
|
||||
if ( Modernizr[feature] !== undefined ) {
|
||||
@@ -992,13 +936,11 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
docElement.className += ' ' + (test ? '' : 'no-') + feature;
|
||||
}
|
||||
Modernizr[feature] = test;
|
||||
|
||||
}
|
||||
|
||||
return Modernizr; // allow chaining.
|
||||
};
|
||||
|
||||
|
||||
// Reset modElem.cssText to nothing to reduce memory footprint.
|
||||
setCss('');
|
||||
modElem = inputElem = null;
|
||||
@@ -1058,7 +1000,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
supportsHtml5Styles = true;
|
||||
supportsUnknownElements = true;
|
||||
}
|
||||
|
||||
}());
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
@@ -1180,7 +1121,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
data.frag = data.createFrag();
|
||||
}
|
||||
|
||||
|
||||
ownerDocument.createElement = function(nodeName) {
|
||||
//abort shiv
|
||||
if (!html5.shivMethods) {
|
||||
@@ -1244,7 +1184,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
* html5 = { 'elements': 'mark section', 'shivCSS': false, 'shivMethods': false };
|
||||
*/
|
||||
var html5 = {
|
||||
|
||||
/**
|
||||
* An array or space separated string of node names of the elements to shiv.
|
||||
* @memberOf html5
|
||||
@@ -1303,7 +1242,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
|
||||
// shiv the document
|
||||
shivDocument(document);
|
||||
|
||||
}(this, document));
|
||||
/*>>shiv*/
|
||||
|
||||
@@ -1354,14 +1292,12 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
Modernizr.testAllProps = testPropsAll;
|
||||
/*>>testallprops*/
|
||||
|
||||
|
||||
/*>>teststyles*/
|
||||
// Modernizr.testStyles() allows you to add custom styles to the document and test an element afterwards
|
||||
// Modernizr.testStyles('#modernizr { position:absolute }', function(elem, rule){ ... })
|
||||
Modernizr.testStyles = injectElementWithStyles;
|
||||
/*>>teststyles*/
|
||||
|
||||
|
||||
/*>>prefixed*/
|
||||
// Modernizr.prefixed() returns the prefixed or nonprefixed property name variant of your input
|
||||
// Modernizr.prefixed('boxSizing') // 'MozBoxSizing'
|
||||
@@ -1392,7 +1328,6 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
};
|
||||
/*>>prefixed*/
|
||||
|
||||
|
||||
/*>>cssclasses*/
|
||||
// Remove "no-js" class from <html> element, if it exists:
|
||||
docElement.className = docElement.className.replace(/(^|\s)no-js(\s|$)/, '$1$2') +
|
||||
@@ -1402,5 +1337,4 @@ window.Modernizr = (function( window, document, undefined ) {
|
||||
/*>>cssclasses*/
|
||||
|
||||
return Modernizr;
|
||||
|
||||
})(this, this.document);
|
||||
})(this, this.document);
|
||||
+532
-532
File diff suppressed because it is too large
Load Diff
+1485
-1486
File diff suppressed because it is too large
Load Diff
+107
-107
@@ -11,126 +11,126 @@ import Defaults from './methods/defaults';
|
||||
import placements from './methods/placements';
|
||||
|
||||
export default class Popper {
|
||||
/**
|
||||
* Creates a new Popper.js instance.
|
||||
* @class Popper
|
||||
* @param {Element|referenceObject} reference - The reference element used to position the popper
|
||||
* @param {Element} popper - The HTML / XML element used as the popper
|
||||
* @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)
|
||||
* @return {Object} instance - The generated Popper.js instance
|
||||
*/
|
||||
constructor(reference, popper, options = {}) {
|
||||
// make update() debounced, so that it only runs at most once-per-tick
|
||||
this.update = debounce(this.update.bind(this));
|
||||
/**
|
||||
* Creates a new Popper.js instance.
|
||||
* @class Popper
|
||||
* @param {Element|referenceObject} reference - The reference element used to position the popper
|
||||
* @param {Element} popper - The HTML / XML element used as the popper
|
||||
* @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)
|
||||
* @return {Object} instance - The generated Popper.js instance
|
||||
*/
|
||||
constructor(reference, popper, options = {}) {
|
||||
// make update() debounced, so that it only runs at most once-per-tick
|
||||
this.update = debounce(this.update.bind(this));
|
||||
|
||||
// with {} we create a new object with the options inside it
|
||||
this.options = { ...Popper.Defaults, ...options };
|
||||
// with {} we create a new object with the options inside it
|
||||
this.options = { ...Popper.Defaults, ...options };
|
||||
|
||||
// init state
|
||||
this.state = {
|
||||
isDestroyed: false,
|
||||
isCreated: false,
|
||||
scrollParents: [],
|
||||
};
|
||||
// init state
|
||||
this.state = {
|
||||
isDestroyed: false,
|
||||
isCreated: false,
|
||||
scrollParents: [],
|
||||
};
|
||||
|
||||
// get reference and popper elements (allow jQuery wrappers)
|
||||
this.reference = reference && reference.jquery ? reference[0] : reference;
|
||||
this.popper = popper && popper.jquery ? popper[0] : popper;
|
||||
// get reference and popper elements (allow jQuery wrappers)
|
||||
this.reference = reference && reference.jquery ? reference[0] : reference;
|
||||
this.popper = popper && popper.jquery ? popper[0] : popper;
|
||||
|
||||
// Deep merge modifiers options
|
||||
this.options.modifiers = {};
|
||||
Object.keys({
|
||||
...Popper.Defaults.modifiers,
|
||||
...options.modifiers,
|
||||
}).forEach(name => {
|
||||
this.options.modifiers[name] = {
|
||||
// If it's a built-in modifier, use it as base
|
||||
...(Popper.Defaults.modifiers[name] || {}),
|
||||
// If there are custom options, override and merge with default ones
|
||||
...(options.modifiers ? options.modifiers[name] : {}),
|
||||
};
|
||||
});
|
||||
// Deep merge modifiers options
|
||||
this.options.modifiers = {};
|
||||
Object.keys({
|
||||
...Popper.Defaults.modifiers,
|
||||
...options.modifiers,
|
||||
}).forEach(name => {
|
||||
this.options.modifiers[name] = {
|
||||
// If it's a built-in modifier, use it as base
|
||||
...(Popper.Defaults.modifiers[name] || {}),
|
||||
// If there are custom options, override and merge with default ones
|
||||
...(options.modifiers ? options.modifiers[name] : {}),
|
||||
};
|
||||
});
|
||||
|
||||
// Refactoring modifiers' list (Object => Array)
|
||||
this.modifiers = Object.keys(this.options.modifiers)
|
||||
.map(name => ({
|
||||
name,
|
||||
...this.options.modifiers[name],
|
||||
}))
|
||||
// sort the modifiers by order
|
||||
.sort((a, b) => a.order - b.order);
|
||||
// Refactoring modifiers' list (Object => Array)
|
||||
this.modifiers = Object.keys(this.options.modifiers)
|
||||
.map(name => ({
|
||||
name,
|
||||
...this.options.modifiers[name],
|
||||
}))
|
||||
// sort the modifiers by order
|
||||
.sort((a, b) => a.order - b.order);
|
||||
|
||||
// modifiers have the ability to execute arbitrary code when Popper.js get inited
|
||||
// such code is executed in the same order of its modifier
|
||||
// they could add new properties to their options configuration
|
||||
// BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!
|
||||
this.modifiers.forEach(modifierOptions => {
|
||||
if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {
|
||||
modifierOptions.onLoad(
|
||||
this.reference,
|
||||
this.popper,
|
||||
this.options,
|
||||
modifierOptions,
|
||||
this.state
|
||||
);
|
||||
}
|
||||
});
|
||||
// modifiers have the ability to execute arbitrary code when Popper.js get inited
|
||||
// such code is executed in the same order of its modifier
|
||||
// they could add new properties to their options configuration
|
||||
// BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!
|
||||
this.modifiers.forEach(modifierOptions => {
|
||||
if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {
|
||||
modifierOptions.onLoad(
|
||||
this.reference,
|
||||
this.popper,
|
||||
this.options,
|
||||
modifierOptions,
|
||||
this.state
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
// fire the first update to position the popper in the right place
|
||||
this.update();
|
||||
// fire the first update to position the popper in the right place
|
||||
this.update();
|
||||
|
||||
const eventsEnabled = this.options.eventsEnabled;
|
||||
if (eventsEnabled) {
|
||||
// setup event listeners, they will take care of update the position in specific situations
|
||||
this.enableEventListeners();
|
||||
const eventsEnabled = this.options.eventsEnabled;
|
||||
if (eventsEnabled) {
|
||||
// setup event listeners, they will take care of update the position in specific situations
|
||||
this.enableEventListeners();
|
||||
}
|
||||
|
||||
this.state.eventsEnabled = eventsEnabled;
|
||||
}
|
||||
|
||||
this.state.eventsEnabled = eventsEnabled;
|
||||
}
|
||||
// We can't use class properties because they don't get listed in the
|
||||
// class prototype and break stuff like Sinon stubs
|
||||
update() {
|
||||
return update.call(this);
|
||||
}
|
||||
destroy() {
|
||||
return destroy.call(this);
|
||||
}
|
||||
enableEventListeners() {
|
||||
return enableEventListeners.call(this);
|
||||
}
|
||||
disableEventListeners() {
|
||||
return disableEventListeners.call(this);
|
||||
}
|
||||
|
||||
// We can't use class properties because they don't get listed in the
|
||||
// class prototype and break stuff like Sinon stubs
|
||||
update() {
|
||||
return update.call(this);
|
||||
}
|
||||
destroy() {
|
||||
return destroy.call(this);
|
||||
}
|
||||
enableEventListeners() {
|
||||
return enableEventListeners.call(this);
|
||||
}
|
||||
disableEventListeners() {
|
||||
return disableEventListeners.call(this);
|
||||
}
|
||||
/**
|
||||
* Schedules an update. It will run on the next UI update available.
|
||||
* @method scheduleUpdate
|
||||
* @memberof Popper
|
||||
*/
|
||||
scheduleUpdate = () => requestAnimationFrame(this.update);
|
||||
|
||||
/**
|
||||
* Schedules an update. It will run on the next UI update available.
|
||||
* @method scheduleUpdate
|
||||
* @memberof Popper
|
||||
*/
|
||||
scheduleUpdate = () => requestAnimationFrame(this.update);
|
||||
/**
|
||||
* Collection of utilities useful when writing custom modifiers.
|
||||
* Starting from version 1.7, this method is available only if you
|
||||
* include `popper-utils.js` before `popper.js`.
|
||||
*
|
||||
* **DEPRECATION**: This way to access PopperUtils is deprecated
|
||||
* and will be removed in v2! Use the PopperUtils module directly instead.
|
||||
* Due to the high instability of the methods contained in Utils, we can't
|
||||
* guarantee them to follow semver. Use them at your own risk!
|
||||
* @static
|
||||
* @private
|
||||
* @type {Object}
|
||||
* @deprecated since version 1.8
|
||||
* @member Utils
|
||||
* @memberof Popper
|
||||
*/
|
||||
static Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;
|
||||
|
||||
/**
|
||||
* Collection of utilities useful when writing custom modifiers.
|
||||
* Starting from version 1.7, this method is available only if you
|
||||
* include `popper-utils.js` before `popper.js`.
|
||||
*
|
||||
* **DEPRECATION**: This way to access PopperUtils is deprecated
|
||||
* and will be removed in v2! Use the PopperUtils module directly instead.
|
||||
* Due to the high instability of the methods contained in Utils, we can't
|
||||
* guarantee them to follow semver. Use them at your own risk!
|
||||
* @static
|
||||
* @private
|
||||
* @type {Object}
|
||||
* @deprecated since version 1.8
|
||||
* @member Utils
|
||||
* @memberof Popper
|
||||
*/
|
||||
static Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;
|
||||
static placements = placements;
|
||||
|
||||
static placements = placements;
|
||||
|
||||
static Defaults = Defaults;
|
||||
static Defaults = Defaults;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -151,4 +151,4 @@ export default class Popper {
|
||||
* An ES6 getter that will return the width of the virtual reference element.
|
||||
* @property {number} data.clientHeight
|
||||
* An ES6 getter that will return the height of the virtual reference element.
|
||||
*/
|
||||
*/
|
||||
@@ -17,55 +17,55 @@ import modifiers from '../modifiers/index';
|
||||
* @memberof Popper
|
||||
*/
|
||||
export default {
|
||||
/**
|
||||
* Popper's placement.
|
||||
* @prop {Popper.placements} placement='bottom'
|
||||
*/
|
||||
placement: 'bottom',
|
||||
/**
|
||||
* Popper's placement.
|
||||
* @prop {Popper.placements} placement='bottom'
|
||||
*/
|
||||
placement: 'bottom',
|
||||
|
||||
/**
|
||||
* Set this to true if you want popper to position it self in 'fixed' mode
|
||||
* @prop {Boolean} positionFixed=false
|
||||
*/
|
||||
positionFixed: false,
|
||||
/**
|
||||
* Set this to true if you want popper to position it self in 'fixed' mode
|
||||
* @prop {Boolean} positionFixed=false
|
||||
*/
|
||||
positionFixed: false,
|
||||
|
||||
/**
|
||||
* Whether events (resize, scroll) are initially enabled.
|
||||
* @prop {Boolean} eventsEnabled=true
|
||||
*/
|
||||
eventsEnabled: true,
|
||||
/**
|
||||
* Whether events (resize, scroll) are initially enabled.
|
||||
* @prop {Boolean} eventsEnabled=true
|
||||
*/
|
||||
eventsEnabled: true,
|
||||
|
||||
/**
|
||||
* Set to true if you want to automatically remove the popper when
|
||||
* you call the `destroy` method.
|
||||
* @prop {Boolean} removeOnDestroy=false
|
||||
*/
|
||||
removeOnDestroy: false,
|
||||
/**
|
||||
* Set to true if you want to automatically remove the popper when
|
||||
* you call the `destroy` method.
|
||||
* @prop {Boolean} removeOnDestroy=false
|
||||
*/
|
||||
removeOnDestroy: false,
|
||||
|
||||
/**
|
||||
* Callback called when the popper is created.<br />
|
||||
* By default, it is set to no-op.<br />
|
||||
* Access Popper.js instance with `data.instance`.
|
||||
* @prop {onCreate}
|
||||
*/
|
||||
onCreate: () => {},
|
||||
/**
|
||||
* Callback called when the popper is created.<br />
|
||||
* By default, it is set to no-op.<br />
|
||||
* Access Popper.js instance with `data.instance`.
|
||||
* @prop {onCreate}
|
||||
*/
|
||||
onCreate: () => { },
|
||||
|
||||
/**
|
||||
* Callback called when the popper is updated. This callback is not called
|
||||
* on the initialization/creation of the popper, but only on subsequent
|
||||
* updates.<br />
|
||||
* By default, it is set to no-op.<br />
|
||||
* Access Popper.js instance with `data.instance`.
|
||||
* @prop {onUpdate}
|
||||
*/
|
||||
onUpdate: () => {},
|
||||
/**
|
||||
* Callback called when the popper is updated. This callback is not called
|
||||
* on the initialization/creation of the popper, but only on subsequent
|
||||
* updates.<br />
|
||||
* By default, it is set to no-op.<br />
|
||||
* Access Popper.js instance with `data.instance`.
|
||||
* @prop {onUpdate}
|
||||
*/
|
||||
onUpdate: () => { },
|
||||
|
||||
/**
|
||||
* List of modifiers used to modify the offsets before they are applied to the popper.
|
||||
* They provide most of the functionalities of Popper.js.
|
||||
* @prop {modifiers}
|
||||
*/
|
||||
modifiers,
|
||||
/**
|
||||
* List of modifiers used to modify the offsets before they are applied to the popper.
|
||||
* They provide most of the functionalities of Popper.js.
|
||||
* @prop {modifiers}
|
||||
*/
|
||||
modifiers,
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -76,4 +76,4 @@ export default {
|
||||
/**
|
||||
* @callback onUpdate
|
||||
* @param {dataObject} data
|
||||
*/
|
||||
*/
|
||||
@@ -7,26 +7,26 @@ import getSupportedPropertyName from '../utils/getSupportedPropertyName';
|
||||
* @memberof Popper
|
||||
*/
|
||||
export default function destroy() {
|
||||
this.state.isDestroyed = true;
|
||||
this.state.isDestroyed = true;
|
||||
|
||||
// touch DOM only if `applyStyle` modifier is enabled
|
||||
if (isModifierEnabled(this.modifiers, 'applyStyle')) {
|
||||
this.popper.removeAttribute('x-placement');
|
||||
this.popper.style.position = '';
|
||||
this.popper.style.top = '';
|
||||
this.popper.style.left = '';
|
||||
this.popper.style.right = '';
|
||||
this.popper.style.bottom = '';
|
||||
this.popper.style.willChange = '';
|
||||
this.popper.style[getSupportedPropertyName('transform')] = '';
|
||||
}
|
||||
// touch DOM only if `applyStyle` modifier is enabled
|
||||
if (isModifierEnabled(this.modifiers, 'applyStyle')) {
|
||||
this.popper.removeAttribute('x-placement');
|
||||
this.popper.style.position = '';
|
||||
this.popper.style.top = '';
|
||||
this.popper.style.left = '';
|
||||
this.popper.style.right = '';
|
||||
this.popper.style.bottom = '';
|
||||
this.popper.style.willChange = '';
|
||||
this.popper.style[getSupportedPropertyName('transform')] = '';
|
||||
}
|
||||
|
||||
this.disableEventListeners();
|
||||
this.disableEventListeners();
|
||||
|
||||
// remove the popper if user explicitly asked for the deletion on destroy
|
||||
// do not use `remove` because IE11 doesn't support it
|
||||
if (this.options.removeOnDestroy) {
|
||||
this.popper.parentNode.removeChild(this.popper);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
// remove the popper if user explicitly asked for the deletion on destroy
|
||||
// do not use `remove` because IE11 doesn't support it
|
||||
if (this.options.removeOnDestroy) {
|
||||
this.popper.parentNode.removeChild(this.popper);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -8,8 +8,8 @@ import removeEventListeners from '../utils/removeEventListeners';
|
||||
* @memberof Popper
|
||||
*/
|
||||
export default function disableEventListeners() {
|
||||
if (this.state.eventsEnabled) {
|
||||
cancelAnimationFrame(this.scheduleUpdate);
|
||||
this.state = removeEventListeners(this.reference, this.state);
|
||||
}
|
||||
}
|
||||
if (this.state.eventsEnabled) {
|
||||
cancelAnimationFrame(this.scheduleUpdate);
|
||||
this.state = removeEventListeners(this.reference, this.state);
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user