diff --git a/.editorconfig b/.editorconfig index 32f722a..2302a4d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,19 +1,30 @@ -# EditorConfig is awesome: http://EditorConfig.org - -# top-most EditorConfig file +# http://editorconfig.org root = true -# Unix-style newlines with a newline ending every file [*] +indent_style = space end_of_line = lf +charset = utf-8 +indent_size = 2 +trim_trailing_whitespace = true insert_final_newline = true -# 4 tab indentation -[*.*] +[*.go] indent_style = tab indent_size = 4 -# 2 space indentation for package.json since this is npm default -[package.json] -indent_style = space -indent_size = 2 +[*.md] +trim_trailing_whitespace = false +insert_final_newline = false + +[**/{actual,fixtures,expected}/**] +trim_trailing_whitespace = false +insert_final_newline = false + +[**/templates/**] +trim_trailing_whitespace = false +insert_final_newline = false + +[{Makefile,**.mk}] +# Use tabs for indentation (Makefiles require tabs) +indent_style = tab diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 660957e..0000000 --- a/.gitattributes +++ /dev/null @@ -1,10 +0,0 @@ -# Enforce Unix newlines -* text eol=lf - -# binaries -*.ai binary -*.psd binary -*.jpg binary -*.gif binary -*.png binary -*.jpeg binary diff --git a/src/index.ts b/.github similarity index 100% rename from src/index.ts rename to .github diff --git a/.gitignore b/.gitignore index 86b8c7a..cee8007 100644 --- a/.gitignore +++ b/.gitignore @@ -1,116 +1,31 @@ # ========================= # Project specific # ========================= -[Rr]esources/ -[Tt]ests/ -web.*.config -/dist_dev/ -/**/node_modules/ -/**/bower_components/ -/build/*_dev.zip -.tmp/ -/out/ - +coverage/ +build/ # ========================= -# Visual Studio +# IDEs # ========================= -#https://github.com/github/gitignore/blob/master/VisualStudio.gitignore - -# User-specific files -*.suo -*.user -*.sln.docstates - -# Build results - -[Dd]ebug/ -[Rr]elease/ -x64/ -[Bb]in/ -[Oo]bj/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# Visual Studio profiler -*.psess -*.vsp -*.vspx - -*_i.c -*_p.c -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.scc - -# Click-Once directory -publish/ +# IntelliJ / Webstorm +# Solution according to +# - https://stackoverflow.com/questions/11968531/what-to-gitignore-from-the-idea-folder +# - https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems +**/.idea/workspace.xml +**/.idea/tasks.xml -# Publish Web Output -*.Publish.xml -*.pubxml - -# Others -sql/ -*.Cache -ClientBin/ -[Ss]tyle[Cc]op.* -~$* -*~ -*.dbmdl -*.[Pp]ublish.xml -*.pfx -*.publishsettings - -# Backup & report files from converting an old project file to a newer -# Visual Studio version. Backup files are not needed, because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -App_Data/*.mdf -App_Data/*.ldf +# Visual Code +.vscode/ # ========================= -# Webstorm +# node.js # ========================= -.idea/ +node_modules/ # ========================= -# Windows detritus +# npm # ========================= - -# Windows image file caches -Thumbs.db -ehthumbs.db - -# Folder config file -Desktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Mac crap -.DS_Store +package-lock.json +npm-debug.log +*/.npm diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/aws.xml b/.idea/aws.xml new file mode 100644 index 0000000..b63b642 --- /dev/null +++ b/.idea/aws.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..eff7139 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/jsLinters/jshint.xml b/.idea/jsLinters/jshint.xml new file mode 100644 index 0000000..4c3272a --- /dev/null +++ b/.idea/jsLinters/jshint.xml @@ -0,0 +1,16 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..cc09cc8 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/set-analysis-wizard.iml b/.idea/set-analysis-wizard.iml new file mode 100644 index 0000000..0c8867d --- /dev/null +++ b/.idea/set-analysis-wizard.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..4c6280e --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..07c142f --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +16.13.1 diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..9859e4b --- /dev/null +++ b/.prettierrc @@ -0,0 +1,11 @@ +{ + "singleQuote": true, + "printWidth": 200, + "proseWrap": "always", + "tabWidth": 2, + "useTabs": false, + "trailingComma": "all", + "bracketSpacing": true, + "jsxBracketSameLine": false, + "semi": true +} diff --git a/.verb.md b/.verb.md index bf775ba..7c18414 100644 --- a/.verb.md +++ b/.verb.md @@ -4,4 +4,5 @@ Update 2022-09-20: Good news, I am working on a new version of the Set Analysis *** + {%= include("footer") %} diff --git a/CHANGELOG.yml b/CHANGELOG.yml deleted file mode 100644 index 8657fec..0000000 --- a/CHANGELOG.yml +++ /dev/null @@ -1,9 +0,0 @@ -v0.0.1: - date: "2015-07-09" - new: - - Set up project structure - - Include sense-go -v0.0.2: - date: "2022-09-20" - new: - - Cleaning up the old project diff --git a/README.md b/README.md index 90ec8da..65d99d3 100644 --- a/README.md +++ b/README.md @@ -4,5 +4,5 @@ Update 2022-09-20: Good news, I am working on a new version of the Set Analysis *** -_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on September 25, 2022._ +_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on September 26, 2022._ diff --git a/docs/development.md b/docs/development.md new file mode 100644 index 0000000..cb370a6 --- /dev/null +++ b/docs/development.md @@ -0,0 +1,5 @@ +## Run a production build locally + +```bash +$ npm run start:production +``` \ No newline at end of file diff --git a/docs/get-started.md b/docs/get-started.md new file mode 100644 index 0000000..94eac96 --- /dev/null +++ b/docs/get-started.md @@ -0,0 +1,61 @@ +# Get Started + +## Online Version + +To start using the Set Analysis Wizard, just follow [this link](https://stefanwalther.github.io/set-analysis-wizard/) + +## Using the Set Analysis Wizard Offline + +There are several approaches how you can use the Set Analysis Wizard offline: + +### Run the application locally (FROM DOCKER) + +**Prerequisites:** + +- [Docker Desktop](https://www.docker.com/products/docker-desktop/) installed locally + - Works on Windows, macOS & Linux + +**Step-by-Step Instruction** + +Use your terminal window and run the following code: + +```bash +$ docker run -t stefanwalther/set-analysis-wizard +``` + + +### Run the application locally (FROM CODE) + +**Prerequisites:** + +- Some basic understanding on how to clone a Git repository and how to run some code locally +- Node.js installed locally +- Git installed locally + +**Step-by-step instruction:** + +- Clone the repository + +```bash +$ git clone https://github.com/stefanwalther/set-analysis-wizard.git +``` + +- Then switch to the target directory + +```bash +$ cd ./set-analysis-wizard +``` + +- Install dependencies + +```bash +$ npm install +``` + +- Finally, run the application + +```bash +$ npm run start:prod +``` + +This will start the production build of the application locally, typically served at [http://localhost:3000](http://localhost:3000) diff --git a/legacy_1/BlockUITest.aspx b/legacy_1/BlockUITest.aspx deleted file mode 100644 index b9d03f1..0000000 --- a/legacy_1/BlockUITest.aspx +++ /dev/null @@ -1,24 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/MP/Page.Master" AutoEventWireup="true" CodeBehind="BlockUITest.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.BlockUITest" %> - - - - - - -Block
-Unblock
- -Change - - - -
- -
- - -
diff --git a/legacy_1/BlockUI_Test.aspx b/legacy_1/BlockUI_Test.aspx deleted file mode 100644 index 2d476f4..0000000 --- a/legacy_1/BlockUI_Test.aspx +++ /dev/null @@ -1,33 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BlockUI_Test.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.BlockUI_Test" %> - - - - - - - - - - - - - -
-
- - -
-
- - diff --git a/legacy_1/Default.aspx b/legacy_1/Default.aspx deleted file mode 100644 index b34f9b0..0000000 --- a/legacy_1/Default.aspx +++ /dev/null @@ -1,16 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web._default" %> - - - - - - - - -
-
- -
-
- - diff --git a/legacy_1/Default.aspx.cs b/legacy_1/Default.aspx.cs deleted file mode 100644 index 6ee0a7c..0000000 --- a/legacy_1/Default.aspx.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - public partial class _default : System.Web.UI.Page - { - protected void Page_Load(object sender, EventArgs e) - { - string queryString = this.Request.QueryString["sa"] ?? ""; - Response.Redirect("QlikView-SetAnalysis_Wizard_and_Generator.aspx?sa=" + queryString); - } - } -} \ No newline at end of file diff --git a/legacy_1/MP/ExamplePage.Master b/legacy_1/MP/ExamplePage.Master deleted file mode 100644 index e2d8b72..0000000 --- a/legacy_1/MP/ExamplePage.Master +++ /dev/null @@ -1,71 +0,0 @@ -<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="ExamplePage.master.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.MP.ExamplePage" %> - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
- - - - -
-
- © qlikblog.at / Stefan Walther <%=DateTime.Now.Year.ToString() %> ~  "Set Analysis Wizard for QlikView" Version <%=qlikblog.Tools.SetAnalysisWizard.Web.Global.VersionInfo.GetVersionInfo()%> -
-
-
-
- - diff --git a/legacy_1/MP/ExamplePage.Master.cs b/legacy_1/MP/ExamplePage.Master.cs deleted file mode 100644 index f857849..0000000 --- a/legacy_1/MP/ExamplePage.Master.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web.MP -{ - public partial class ExamplePage : System.Web.UI.MasterPage - { - protected void Page_Load(object sender, EventArgs e) - { - // The exact same code is placed in Page.Master and ExamplePage.Master - // Further Improvement: If this will get expanded we should create a general master page to inherit from - this.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "versionInfo", "var assemblyVersion = '" + Global.VersionInfo.GetVersionInfo() + "';", true); - var isDebug = false; -#if DEBUG - isDebug = true; -#endif - Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "PAGE_DEBUG", "var PAGE_DEBUG = " + isDebug.ToString().ToLower() + ";", true); - - - } - } -} \ No newline at end of file diff --git a/legacy_1/MP/ExamplePage.Master.designer.cs b/legacy_1/MP/ExamplePage.Master.designer.cs deleted file mode 100644 index efe2ceb..0000000 --- a/legacy_1/MP/ExamplePage.Master.designer.cs +++ /dev/null @@ -1,42 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace qlikblog.Tools.SetAnalysisWizard.Web.MP { - - - public partial class ExamplePage { - - /// - /// head control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ContentPlaceHolder head; - - /// - /// form1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.HtmlControls.HtmlForm form1; - - /// - /// ContentPlaceHolder1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; - } -} diff --git a/legacy_1/MP/Page.Master b/legacy_1/MP/Page.Master deleted file mode 100644 index eba0f11..0000000 --- a/legacy_1/MP/Page.Master +++ /dev/null @@ -1,114 +0,0 @@ -<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Page.master.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.MP.Page" %> - - - - - - - - - -<% -#if(DEBUG) -%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<% -#else -%> - - - - - -<% -#endif -%> - - - - - - - - - -
- - - - - -
-
-
- © qlikblog.at / Stefan Walther <%=DateTime.Now.Year.ToString() %> ~ "Set Analysis Wizard for QlikView" - Version <%=qlikblog.Tools.SetAnalysisWizard.Web.Global.VersionInfo.GetVersionInfo()%> -
-
-
- - diff --git a/legacy_1/MP/Page.Master.cs b/legacy_1/MP/Page.Master.cs deleted file mode 100644 index 85b3778..0000000 --- a/legacy_1/MP/Page.Master.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web.MP -{ - public partial class Page : System.Web.UI.MasterPage - { - protected void Page_Load(object sender, EventArgs e) - { - // The exact same code is placed in Page.Master and ExamplePage.Master - // Further Improvement: If this will get expanded we should create a general master page to inherit from - this.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "versionInfo", "var assemblyVersion = '" + Global.VersionInfo.GetVersionInfo() + "';", true); - var isDebug = false; -#if DEBUG - isDebug = true; -#endif - Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "PAGE_DEBUG", "var PAGE_DEBUG = " + isDebug.ToString().ToLower() + ";", true); - - - } - } -} \ No newline at end of file diff --git a/legacy_1/MP/Page.Master.designer.cs b/legacy_1/MP/Page.Master.designer.cs deleted file mode 100644 index fcf4e27..0000000 --- a/legacy_1/MP/Page.Master.designer.cs +++ /dev/null @@ -1,42 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace qlikblog.Tools.SetAnalysisWizard.Web.MP { - - - public partial class Page { - - /// - /// head control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ContentPlaceHolder head; - - /// - /// form1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.HtmlControls.HtmlForm form1; - - /// - /// ContentPlaceHolder1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; - } -} diff --git a/legacy_1/QlikView-SetAnalysis_Wizard_and_Generator.aspx b/legacy_1/QlikView-SetAnalysis_Wizard_and_Generator.aspx deleted file mode 100644 index a5aa188..0000000 --- a/legacy_1/QlikView-SetAnalysis_Wizard_and_Generator.aspx +++ /dev/null @@ -1,705 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/MP/Page.Master" AutoEventWireup="true" CodeBehind="QlikView-SetAnalysis_Wizard_and_Generator.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.QlikView_SetAnalysis_Wizard_and_Generator" %> - - - Set Analysis Wizard for QlikView | qlikblog.at - - - - - - - - - - - - -
-

Set Analysis Wizard for QlikView

- -

-The easier way to create Set Analysis Expressions :) -

- - - -
- - -
- -
-
- Loading the Set Analysis Wizard for QlikView -
- Loading Set Analysis Wizard ... -
-
-
- - - - - - - - - - -
- - -
- - - - - - - - - - - - - - - - -
- Set Analysis Wizard for QlikView is in beta stadium ... -
- - - - -
diff --git a/legacy_1/Set-Analysis-Example--Indirect-Set-Analysis.aspx b/legacy_1/Set-Analysis-Example--Indirect-Set-Analysis.aspx deleted file mode 100644 index 6340965..0000000 --- a/legacy_1/Set-Analysis-Example--Indirect-Set-Analysis.aspx +++ /dev/null @@ -1,42 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/MP/ExamplePage.Master" AutoEventWireup="true" CodeBehind="Set-Analysis-Example--Indirect-Set-Analysis.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.Set_Analysis_Example__Indirect_Set_Analysis" %> - - - - -
-

- Set Analysis Examples - Indirect Set Modifiers/Indirect Set Analysis

-

- These examples demonstrate the advanced technique of indirect sets. -

- - -
-
- <%=(StartNo++).ToString() %> -
-
- Returns the Sum of Sales for the current selection, but only for those customers that have bought the product "Shoe".
- (This is one of the examples of the "QlikView Help"). -
Sum({$<Customer=P({1<Product={'Shoe'}>}Customer)>}Sales)
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Return the Sum of Sales for the current selection, but only for those customers who have ever supplied the product "Shoe". -
Sum({$<Customer=P({1<Product={'Shoe'}>}Supplier)>}Sales)
-
- -
- -
-
diff --git a/legacy_1/Set-Analysis-Example--Indirect-Set-Analysis.aspx.cs b/legacy_1/Set-Analysis-Example--Indirect-Set-Analysis.aspx.cs deleted file mode 100644 index e20e5b6..0000000 --- a/legacy_1/Set-Analysis-Example--Indirect-Set-Analysis.aspx.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - public partial class Set_Analysis_Example__Indirect_Set_Analysis : System.Web.UI.Page - { - public int StartNo = 1; - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} \ No newline at end of file diff --git a/legacy_1/Set-Analysis-Example--Simple-Expressions-Bookmarks.aspx b/legacy_1/Set-Analysis-Example--Simple-Expressions-Bookmarks.aspx deleted file mode 100644 index 9700e1b..0000000 --- a/legacy_1/Set-Analysis-Example--Simple-Expressions-Bookmarks.aspx +++ /dev/null @@ -1,85 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/MP/Page.Master" AutoEventWireup="true" CodeBehind="Set-Analysis-Example--Simple-Expressions-Bookmarks.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.Set_Analysis_Example__Simple_Expressions_Bookmarks" %> - - - - -
-

- Basic Set Analysis Examples - Simple Expressions Using Bookmarks

-

- The following examples use very simple and basic Set Analysis expressions based on bookmarks. -

- -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the average of "Sales" based on the server bookmark with the id - "BM01". -
Avg({Server\BM01}Sales)
-
-
- -
-
- -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the Sum of "Sales" based on the document bookmark with the id - "BM01". -
Sum({Document\BM01}Sales)
-
-
- -
-
- - -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the sum of sales based on the current selection AND the server-bookmark with the Id "BM01". -
Sum({$+Server\BM01}Sales)
-
-
- -
-
- - -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the Sum of "Sales" based on the current selection except those records belonging to the bookmark with the Id 'Server\BM01'.
-
Sum({$-Server\BM01}Sales)
-
- -
- - - -
- - - -
diff --git a/legacy_1/Set-Analysis-Example--Simple-Expressions-Bookmarks.aspx.cs b/legacy_1/Set-Analysis-Example--Simple-Expressions-Bookmarks.aspx.cs deleted file mode 100644 index e6de205..0000000 --- a/legacy_1/Set-Analysis-Example--Simple-Expressions-Bookmarks.aspx.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - public partial class Set_Analysis_Example__Simple_Expressions_Bookmarks : System.Web.UI.Page - { - public int StartNo = 1; - protected void Page_Load(object sender, EventArgs e) - { - - - } - } -} \ No newline at end of file diff --git a/legacy_1/Set-Analysis-Example--Simple-Expressions.aspx b/legacy_1/Set-Analysis-Example--Simple-Expressions.aspx deleted file mode 100644 index bf5500e..0000000 --- a/legacy_1/Set-Analysis-Example--Simple-Expressions.aspx +++ /dev/null @@ -1,164 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/MP/ExamplePage.Master" AutoEventWireup="true" CodeBehind="Set-Analysis-Example--Simple-Expressions.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.Example_001" %> - - - - - - - - -
-

- Basic Set Analysis Examples - Simple Expressions

-

- The following examples use very simple and basic Set Analysis expressions. -

- - -
-
- <%=(StartNo++).ToString() %> -
-
- Sum of "Sales" based on the current selection
-
Sum({$}Sales)
-
- -
- - -
-
- <%=(StartNo++).ToString() %> -
-
- Count values of field "Customer" based on the current selection
-
Count({$}Customer)
-
- -
- - -
-
- <%=(StartNo++).ToString() %> -
-
- Sum of "Sales" based on all values, ignoring any selection.
-
Sum({1}Sales)
-
- -
- - -
-
- <%=(StartNo++).ToString() %> -
-
- Sum of "Sales" based on the bookmark with the ID "BM01". -
Sum({BM01}Sales)
-
- -
- - -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the sum of "Sales" for everything that the current selection excludes. -
Sum({1-$}Sales)
-
-
- -
-
- - -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the sum of "Sales" based on the previous selection. -
Sum({$1}Sales)
-
- -
- - -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the sum of "Sales" based on the next selection. -
Sum({$_1}Sales)
-
-
- -
-
- - -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the sum of "Sales" based on the 2nd previous selection. -
Sum({$2}Sales)
-
- -
- - - - - -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the sum of the expression "ItemsSold*ItemPrice" based on the current - selection.
- Note: Be carefull when using expressions within a Set Analysis expression! -
Sum({$}ItemsSold*ItemPrice)
-
- -
- - -
- -
diff --git a/legacy_1/Set-Analysis-Example--Simple-Expressions.aspx.cs b/legacy_1/Set-Analysis-Example--Simple-Expressions.aspx.cs deleted file mode 100644 index 83d33ef..0000000 --- a/legacy_1/Set-Analysis-Example--Simple-Expressions.aspx.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - public partial class Example_001 : System.Web.UI.Page - { - public int StartNo = 1; - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} \ No newline at end of file diff --git a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Ad-Hoc-Expressions.aspx b/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Ad-Hoc-Expressions.aspx deleted file mode 100644 index 1170c4e..0000000 --- a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Ad-Hoc-Expressions.aspx +++ /dev/null @@ -1,44 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/MP/ExamplePage.Master" AutoEventWireup="true" CodeBehind="Set-Analysis-Example--Some-Basic-Modifiers-Ad-Hoc-Expressions.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.Set_Analysis_Example__Some_Basic_Modifiers_Ad_Hoc_Expressions" %> - - - - - -
-

- Set Analysis Examples - Ad Hoc Expressions

-

- These examples use Ad Hoc Expressions within a Set Analysis Expressions (marked red). -

- - -
-
- <%=(StartNo++).ToString() %> -
-
- Sum of Sales based on the current selection, but calculate only Sales in the last/current year.
-
Sum({$<Year={$(=max(Year))}>}Sales)
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Return Sum of Sales only for the year before the maximum year. -
Sum({$<Year={$(=Max(Year)-1)}>}Sales)
-
- -
- -
- - -
diff --git a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Ad-Hoc-Expressions.aspx.cs b/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Ad-Hoc-Expressions.aspx.cs deleted file mode 100644 index 944b465..0000000 --- a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Ad-Hoc-Expressions.aspx.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - public partial class Set_Analysis_Example__Some_Basic_Modifiers_Ad_Hoc_Expressions : System.Web.UI.Page - { - public int StartNo = 1; - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} \ No newline at end of file diff --git a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Search-Expressions.aspx b/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Search-Expressions.aspx deleted file mode 100644 index 2901876..0000000 --- a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Search-Expressions.aspx +++ /dev/null @@ -1,69 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/MP/ExamplePage.Master" AutoEventWireup="true" CodeBehind="Set-Analysis-Example--Some-Basic-Modifiers-Search-Expressions.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.Set_Analysis_Example__Some_Basic_Modifiers_Search_Expressions" %> - - - - -
-

- Set Analysis Examples - Search Expressions

-

- The examples below demonstrate the ability of defininig search expressions within a Set Analysis expression. -

- -
-
- <%=(StartNo++).ToString() %> -
-
- Similar as above:
- Sum of Sales based on the current selection, but calculate only Sales for those years before the maximum year.

(e.g. if the maximum year is 2010, you will only get 2008 and 2009). -
Sum({$<Year={"<$(=max(Year))"}>}Sales)
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Return the Sum of Sales for all years greater than 2009. -
Sum({$<Year={">2009"}>}Sales)
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the Sum of Sales considering only records in the field Region containing the value "easter", so this will return Sales for "Eastern", "Western" but not for "Northern" and "Southern". -
Sum({$<Region={"*easter*"}>}Sales)
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the Sum of Sales considering only records in the field Region ending with "thern", so this will return Sales for "Northern", "Southern", but not for "Eastern" and "Western". -
Sum({$<Region={"*thern"}>}Sales)
-
- -
- -
- - -
diff --git a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Search-Expressions.aspx.cs b/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Search-Expressions.aspx.cs deleted file mode 100644 index 75b9f6b..0000000 --- a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers-Search-Expressions.aspx.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - public partial class Set_Analysis_Example__Some_Basic_Modifiers_Search_Expressions : System.Web.UI.Page - { - public int StartNo = 1; - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} \ No newline at end of file diff --git a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers.aspx b/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers.aspx deleted file mode 100644 index a633a12..0000000 --- a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers.aspx +++ /dev/null @@ -1,109 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/MP/ExamplePage.Master" AutoEventWireup="true" CodeBehind="Set-Analysis-Example--Some-Basic-Modifiers.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.Example_021" %> - - - - - - -
-

- Set Analysis Examples - Basic Set Modifiers

-

- The following examples use very simple and basic Set Analysis expressions. -

- - -
-
- <%=(StartNo++).ToString() %> -
-
- Returns the sales for region US disregarding/overriding the current selection in field "Region". -
sum({1<Region = {'Eastern'}>} Sales)
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Returns the sales for current selection, but with the selection in "Region" removed. -
sum({$<Region = >} Sales)
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Calculate the Sum of Sales based on the current selection but exclude the product category "Confections" (field "ProductCategory"). -
Sum({$<ProductCategory-={'Confections'}>}Sales)
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Sum of Sales based on the current selection, but only consider Sales in the 1980's.
-
Sum({$<Year={'198*'}>}Sales
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Sum of Sales based on the current selection, but only consider years from 2000 to 2009, but exclude 2010, 2011, etc. -
Sum({$<Year={'200*'}>}Sales)
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Sum of Sales based on the current selection, but only consider the years 1970, 1980, 1990, etc. -
Sum({$<Year={'19?0'}>}Sales)
-
- -
- -
-
- <%=(StartNo++).ToString() %> -
-
- Sum of Sales based on the current selection, but consider only years greater than max(Year) and less than min(Year), so if you are having 2008, 2009, 2010 only the Sales of 2009 would be calculated. -
Sum({$<Year={">$(=min(Year))<$(=max(Year))"}>}Sales)
-
- -
- -
- -
diff --git a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers.aspx.cs b/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers.aspx.cs deleted file mode 100644 index 051849a..0000000 --- a/legacy_1/Set-Analysis-Example--Some-Basic-Modifiers.aspx.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - public partial class Example_021 : System.Web.UI.Page - { - public int StartNo = 1; - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} \ No newline at end of file diff --git a/legacy_1/SetAnalysisWizardStorage.asmx b/legacy_1/SetAnalysisWizardStorage.asmx deleted file mode 100644 index e9e8dcf..0000000 --- a/legacy_1/SetAnalysisWizardStorage.asmx +++ /dev/null @@ -1 +0,0 @@ -<%@ WebService Language="C#" CodeBehind="SetAnalysisWizardStorage.asmx.cs" Class="qlikblog.Tools.SetAnalysisWizard.Web.SetAnalysisWizardStorage" %> diff --git a/legacy_1/SetAnalysisWizardStorage.asmx.cs b/legacy_1/SetAnalysisWizardStorage.asmx.cs deleted file mode 100644 index f12646d..0000000 --- a/legacy_1/SetAnalysisWizardStorage.asmx.cs +++ /dev/null @@ -1,253 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.Services; -using System.Text; -using System.IO; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - /// - /// Summary description for SetAnalysisWizardStorage - /// - [WebService(Namespace = "http://tempuri.org/")] - [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] - [System.ComponentModel.ToolboxItem(false)] - // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. - [System.Web.Script.Services.ScriptService] - public class SetAnalysisWizardStorage : System.Web.Services.WebService - { - - #region Storage - /// - /// Note: if key starts with underscore (_) we'll search in another directory - /// (Used for the examples) - /// - /// - /// - /// - /// - [WebMethod] - //Todo: Check the code twice - //Todo: test the code (by iterating 100.000 times) - //Todo: why calling the GetFilePath() several times? - public WSReturnValue SaveSetAnalysisDefinition(object key, object session, object value) - { - value = Server.UrlDecode(value.ToString()); - string sessionToSave = string.Empty; - string keyToSave = string.Empty; - bool useSpecialDir = key.ToString().StartsWith("_"); - - bool checkProceed = false; // Check if we can proceed to write the file - string fileContent = string.Empty; - - // If we are dealing with an existing/passed key and a passed session - // we have to check the session id, which is saved in the first line - // of the storage file - if (key != null && !string.IsNullOrEmpty((string)key) && !string.IsNullOrEmpty((string)session)) - { - string passedKey = (string)key; - string existingFilePath = Path.Combine(GetFilePath(useSpecialDir), passedKey + ".txt"); - if (File.Exists(existingFilePath)) - { - // Open the file, get the content and check if the session from the - // file matches with the passed session key - fileContent = ReadFile(existingFilePath); - if (fileContent != null) - { - string savedSession = GetLineFromString(fileContent, 1); - if (savedSession == (string)session) - { - keyToSave = (string)key; // Use the existing key - sessionToSave = (string)session; // Use the existing session key - checkProceed = true; - } - } - } - } - - // No existing key is passed, so we have a new item - if (key == null || string.IsNullOrEmpty((string)key)) - { - sessionToSave = System.Guid.NewGuid().ToString(); - keyToSave = GetUniqueId(GetFilePath(useSpecialDir)); - checkProceed = true; - } - - - - if (checkProceed) - { - string uniqueFileName = keyToSave + ".txt"; - string uniqueFilePath = GetFilePath(useSpecialDir) + uniqueFileName; - - - - string valueToSave = sessionToSave + "\r\n" + value; - - //Todo: To prevent unnecessary writing we could check the existing content - // (which is alreay loaded above) with the content which should be saved to the file - if (fileContent != valueToSave) - { - // Delete the existing file (check have be made before) - System.IO.File.Delete(uniqueFilePath); - - // Write the new file - WriteToFile(uniqueFilePath, (string)valueToSave); - } - - } // (checkProceed) - - WSReturnValue retVal = new WSReturnValue(); - retVal.Session = sessionToSave; - retVal.Key = keyToSave; - - return retVal; - } // (SaveSetAnalysisDefinition) - - #endregion //Storage - - #region Get - [WebMethod] - public string GetSetAnalysisDefinition(object key) - { - bool useSpecialDir = key.ToString().StartsWith("_"); - string filePath = Path.Combine(GetFilePath(useSpecialDir), key + ".txt"); - - //Todo: Remove the first line instead of returning just the 2nd line ... - return GetLineFromString(File.ReadAllText(filePath), 2); - } - #endregion // Get - - #region Helper Methods - - - /// - /// - /// If true, the subdirectory "Examples" will be returned" - /// - private string GetFilePath(bool usesSpecialDir) - { - if (usesSpecialDir) - { - return Server.MapPath("~/Storage/Examples/"); - } - else - { - return Server.MapPath("~/Storage/"); - } - } - - private string GetUniqueId(string basePath) { - - bool isUnique = false; - string uniqueId = string.Empty; - int length = 4; - int counter = 0; - - while (!isUnique) - { - // Reset if after 1000 iteration no unique string has been found - if (counter >= (int)Math.Round(Math.Pow(33,length),0)-1) - { - length++; - counter = 0; - } - uniqueId = GetRandomString(length); - if (!System.IO.File.Exists(System.IO.Path.Combine(basePath + uniqueId + ".txt"))) - { - return uniqueId; - } - counter ++; - } - return System.Guid.NewGuid().ToString(); - - } - - public static string GetRandomString(int length) - { - string charPool = "ABCDEFGHIJKLMNOPQRSTWXYZ1234567890"; - StringBuilder sb = new StringBuilder(); - Random rnd = new Random(); - - while ((length--) > 0) - sb.Append(charPool[(int)(rnd.NextDouble() * charPool.Length)]); - - return sb.ToString(); - } - - /// - /// Stores a given string to a file. - /// If any exception is thrown (file locked, etc.) the WriteToFile - /// tries writing to the file for 100 times (with a 10 millisecond sleep between - /// the iterations). - /// - /// Absolute file path. - /// Value to be stored in the file. - /// true if suceeded, otherwise false - private static bool WriteToFile(string filePath, string value) - { - int i = 0; - while (i < 100) - { - try - { - System.IO.File.WriteAllText(filePath, value); - } - catch (Exception) - { - System.Threading.Thread.Sleep(10); - i++; - continue; - } - return true; - } - return false; - } - - private static string ReadFile(string fileName) - { - return System.IO.File.ReadAllText(fileName); - } - - private string GetLineFromString(string val, int line) - { - string[] lines = val.Split('\n'); - return lines[line-1].Replace("\r",""); - } - - #endregion //Helper Methods - - #region Class for Webservice Result - /// - /// Class for returning the results of the webservice. - /// - public class WSReturnValue - { - /// - /// Status can either be 'OK' or 'Error'. - /// In case of 'Error, ErrorMessage contains the detailed error message. - /// - public string Status; - - /// - /// Detailed Error Message. - /// - public string ErrorMessage; - - /// - /// In case of successful storage of the values the key of the file - /// will be returned. - /// - public string Key; - - /// - /// Current User Session (a System.Guid). - /// - public string Session; - } - - #endregion //(Class for Webservice Result) - } -} diff --git a/legacy_1/SetAnalysisWizard_UnitTests.aspx b/legacy_1/SetAnalysisWizard_UnitTests.aspx deleted file mode 100644 index 3e3d028..0000000 --- a/legacy_1/SetAnalysisWizard_UnitTests.aspx +++ /dev/null @@ -1,35 +0,0 @@ -<%@ Page Title="SA Unit Tests" Language="C#" MasterPageFile="~/MP/Page.Master" AutoEventWireup="true" CodeBehind="SetAnalysisWizard_UnitTests.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.SetAnalysisWizard_UnitTests"%> - - - - - - - - - - - - - - - - - -
-

Unit Testing

- -
-

QUnit example

-

-

-
    -
-
-
- -
diff --git a/legacy_1/SetAnalysisWizard_UnitTests.aspx.cs b/legacy_1/SetAnalysisWizard_UnitTests.aspx.cs deleted file mode 100644 index e3685dd..0000000 --- a/legacy_1/SetAnalysisWizard_UnitTests.aspx.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - public partial class SetAnalysisWizard_UnitTests : System.Web.UI.Page - { - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} \ No newline at end of file diff --git a/legacy_1/SetAnalysisWizard_UnitTests.aspx.designer.cs b/legacy_1/SetAnalysisWizard_UnitTests.aspx.designer.cs deleted file mode 100644 index 1380bcb..0000000 --- a/legacy_1/SetAnalysisWizard_UnitTests.aspx.designer.cs +++ /dev/null @@ -1,17 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - - - public partial class SetAnalysisWizard_UnitTests - { - } -} diff --git a/legacy_1/Storage/Examples/_001.txt b/legacy_1/Storage/Examples/_001.txt deleted file mode 100644 index 6ea5445..0000000 --- a/legacy_1/Storage/Examples/_001.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","PersonalComment":"Calculate the sum of \"Sales\" (based on the current selection).","Expression":"Sum({$}Sales)","SetModifierActions":null} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_002.txt b/legacy_1/Storage/Examples/_002.txt deleted file mode 100644 index ee883d4..0000000 --- a/legacy_1/Storage/Examples/_002.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Count","FieldExpression":"Customer","Bookmark":"","PersonalComment":"Count values of field \"Customer\" based on the current selection","Expression":"Count({$}Customer)","SetModifierActions":null} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_003.txt b/legacy_1/Storage/Examples/_003.txt deleted file mode 100644 index 95bf508..0000000 --- a/legacy_1/Storage/Examples/_003.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"1","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":null,"PersonalComment":"Sum of \"Sales\" based on all values, ignoring any selection.","Expression":"Sum({1}Sales)","SetModifierActions":[]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_004.txt b/legacy_1/Storage/Examples/_004.txt deleted file mode 100644 index 0cd2876..0000000 --- a/legacy_1/Storage/Examples/_004.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"bookmark","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"BM01","PersonalComment":"Calculate the sum of \"Sales\" based on the bookmark with the ID \"BM01\".","Expression":"Sum({BM01}Sales)","SetModifierActions":null} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_005.txt b/legacy_1/Storage/Examples/_005.txt deleted file mode 100644 index f4c2afd..0000000 --- a/legacy_1/Storage/Examples/_005.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"1-$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"BM01","PersonalComment":"Calculate the sum of \"Sales\" for everything that the current selection excludes","Expression":"Sum({1-$}Sales)","SetModifierActions":null} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_006.txt b/legacy_1/Storage/Examples/_006.txt deleted file mode 100644 index 5ace385..0000000 --- a/legacy_1/Storage/Examples/_006.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$1","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"BM01","PersonalComment":"Calculate the sum of \"Sales\" based on the previous selection.","Expression":"Sum({$1}Sales)","SetModifierActions":null} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_007.txt b/legacy_1/Storage/Examples/_007.txt deleted file mode 100644 index 0329ab7..0000000 --- a/legacy_1/Storage/Examples/_007.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$_1","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Calculate the sum of \"Sales\" based on the next selection.","Expression":"Sum({$_1}Sales)","SetModifierActions":null} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_008.txt b/legacy_1/Storage/Examples/_008.txt deleted file mode 100644 index 1905474..0000000 --- a/legacy_1/Storage/Examples/_008.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$2","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Calculate the sum of \"Sales\" based on the 2nd previous selection.","Expression":"Sum({$2}Sales)","SetModifierActions":null} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_009.txt b/legacy_1/Storage/Examples/_009.txt deleted file mode 100644 index bf30338..0000000 --- a/legacy_1/Storage/Examples/_009.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"bookmark","AggregationType":"Avg","FieldExpression":"Sales","Bookmark":"Server\\BM01","PersonalComment":"Calculate the average of \"Sales\" based on the server bookmark with the id \"BM01\".","Expression":"Avg({Server\\BM01}Sales)","SetModifierActions":null} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_010.txt b/legacy_1/Storage/Examples/_010.txt deleted file mode 100644 index f44bfb6..0000000 --- a/legacy_1/Storage/Examples/_010.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"ItemsSold*ItemPrice","Bookmark":"","PersonalComment":"Calculate the sum of the expression \"ItemsSold*ItemPrice\" based on the current selection.","Expression":"Sum({$}ItemsSold*ItemPrice)","SetModifierActions":null} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_1ZZ2.txt b/legacy_1/Storage/Examples/_1ZZ2.txt deleted file mode 100644 index acc2595..0000000 --- a/legacy_1/Storage/Examples/_1ZZ2.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Calculate the Sum of Sales considering only records in the field Region ending with \"thern\", so this will return Sales for \"Northern\", \"Southern\", but not for \"Eastern\" and \"Western\".","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_value","Field":"Region","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"thern","ValuesOrExpression_2":"","SelectionOperator":"endswith"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_29C5.txt b/legacy_1/Storage/Examples/_29C5.txt deleted file mode 100644 index c2f25b7..0000000 --- a/legacy_1/Storage/Examples/_29C5.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Sum of Sales based on the current selection, but calculate only Sales for those years before the maximum year.","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_expression","Field":"Year","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"max(Year)","ValuesOrExpression_2":"","SelectionOperator":"less_than"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_2X65.txt b/legacy_1/Storage/Examples/_2X65.txt deleted file mode 100644 index 06374d2..0000000 --- a/legacy_1/Storage/Examples/_2X65.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Calculate the Sum of Sales based on the current selection but exclude the product category \"Confections\" (field \"ProductCategory\").","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_value","Field":"ProductCategory","OtherField":"","FieldOperator":"-=","ValuesOrExpression_1":"Confections","ValuesOrExpression_2":"","SelectionOperator":"equal_to"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_4E53.txt b/legacy_1/Storage/Examples/_4E53.txt deleted file mode 100644 index 9f5d97a..0000000 --- a/legacy_1/Storage/Examples/_4E53.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Sum of Sales based on the current selection, but calculate only Sales in the last/current year.","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_expression","Field":"Year","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"max(Year)","ValuesOrExpression_2":"","SelectionOperator":"equal_to"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_6ON8.txt b/legacy_1/Storage/Examples/_6ON8.txt deleted file mode 100644 index 4a7015a..0000000 --- a/legacy_1/Storage/Examples/_6ON8.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$-bookmark","SetIdentifierDesc":"the current selection except those records belonging to the bookmark with the Id '{0}'","AggregationType":"Sum","AggregationTypeDesc":"Sum","FieldExpression":"Sales","Bookmark":"Server\\BM01","PersonalComment":"Calculate the Sum of \"Sales\" based on the current selection except those records belonging to the bookmark with the Id 'Server\\BM01'","Expression":"Sum({$-Server\\BM01}Sales)","QlikViewVersion":"100000","PureDescription":"","Version":"0.5","SetModifierActions":[]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_CNGH.txt b/legacy_1/Storage/Examples/_CNGH.txt deleted file mode 100644 index 399351d..0000000 --- a/legacy_1/Storage/Examples/_CNGH.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","SetIdentifierDesc":"the current selection","AggregationType":"Sum","AggregationTypeDesc":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Calculate the Sum of Sales, clear Year and Month.\nIndirect Set Analysis 1: Select only those countries with suppliers having supplied the product in the product category \"Confections\"\nIndirect Set Analysis 2: Select only customers with Sales in the previous year","Expression":"Sum({$}SupplierCountry),Customer=P({1}Customer)>}Sales)","QlikViewVersion":"100000","PureDescription":"","Version":"0.5","SetModifierActions":[{"Action":"set_remove","Field":"Year","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":""},{"Action":"set_remove","Field":"Month","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":""},{"Action":"set_pindirect","Field":"CustomerCountry","OtherField":"CategoryName","FieldOperator":"=","ValuesOrExpression_1":"Confections","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":"SupplierCountry"},{"Action":"set_pindirect_exp","Field":"Customer","OtherField":"Year","FieldOperator":"=","ValuesOrExpression_1":"max(Year)-1","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":"Customer"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_DA4H.txt b/legacy_1/Storage/Examples/_DA4H.txt deleted file mode 100644 index ee5bc1c..0000000 --- a/legacy_1/Storage/Examples/_DA4H.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Return the Sum of Sales for all years greater than 2009.","Expression":"Sum({$2009\"}>}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_value","Field":"Year","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"2009","ValuesOrExpression_2":"","SelectionOperator":"greater_than"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_DN96.txt b/legacy_1/Storage/Examples/_DN96.txt deleted file mode 100644 index e8ef542..0000000 --- a/legacy_1/Storage/Examples/_DN96.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Sum of Sales based on the current selection, but consider only years greater than max(Year) and less than min(Year), so if you are having 2008, 2009, 2010 only the Sales of 2009 would be calculated.","Expression":"Sum({$$(=min(Year))<$(=max(Year))\"}>}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_expression","Field":"Year","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"min(Year)","ValuesOrExpression_2":"max(Year)","SelectionOperator":"between_gt_lt"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_IPB4.txt b/legacy_1/Storage/Examples/_IPB4.txt deleted file mode 100644 index 2f803cf..0000000 --- a/legacy_1/Storage/Examples/_IPB4.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"BM01","PersonalComment":"Returns the sales for current selection, but with the selection in \"Region\" removed.","Expression":"Sum({$}Sales)","SetModifierActions":[{"Action":"set_remove","Field":"Region","FieldOperator":"=","ValuesOrExpression_1":"","ValuesOrExpression_2":"","SelectionOperator":"equal_to"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_J791.txt b/legacy_1/Storage/Examples/_J791.txt deleted file mode 100644 index b2c1d90..0000000 --- a/legacy_1/Storage/Examples/_J791.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Sum of Sales based on the current selection, but only consider Sales in the 1980's.","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_value","Field":"Year","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"198*","ValuesOrExpression_2":"","SelectionOperator":"equal_to"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_NDL1.txt b/legacy_1/Storage/Examples/_NDL1.txt deleted file mode 100644 index 48b706c..0000000 --- a/legacy_1/Storage/Examples/_NDL1.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Sum of Sales based on the current selection, but only consider years from 2000 to 2009, but exclude 2010, 2011, etc.","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_value","Field":"Year","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"200*","ValuesOrExpression_2":"","SelectionOperator":"equal_to"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_NHFW.txt b/legacy_1/Storage/Examples/_NHFW.txt deleted file mode 100644 index 870a331..0000000 --- a/legacy_1/Storage/Examples/_NHFW.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Calculate the Sum of Sales considering only records in the field Region containing the value \"easter\", so this will return Sales for \"Eastern\", \"Western\" but not for \"Northern\" and \"Southern\".","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_value","Field":"Region","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"easter","ValuesOrExpression_2":"","SelectionOperator":"contains"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_NT6B.txt b/legacy_1/Storage/Examples/_NT6B.txt deleted file mode 100644 index 1873932..0000000 --- a/legacy_1/Storage/Examples/_NT6B.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"bookmark","SetIdentifierDesc":"the bookmark with the id ...","AggregationType":"Sum","AggregationTypeDesc":"the bookmark with the id ...","FieldExpression":"Sales","Bookmark":"Document\\BM01","PersonalComment":"Calculate the Sum of Sales based on the document bookmark with the Id \"BM01\".","Expression":"Sum({Document\\BM01}Sales)","QlikViewVersion":"100000","Version":"0.5","SetModifierActions":[]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_OEFA.txt b/legacy_1/Storage/Examples/_OEFA.txt deleted file mode 100644 index 74173d6..0000000 --- a/legacy_1/Storage/Examples/_OEFA.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","SetIdentifierDesc":"the current selection","AggregationType":"Sum","AggregationTypeDesc":"the current selection","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Returns the sales for region \"Eastern\" disregarding/overriding the current selection in field \"Region\". ","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_value","Field":"Region","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"Eastern","ValuesOrExpression_2":"","SelectionOperator":"equal_to"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_OTI1.txt b/legacy_1/Storage/Examples/_OTI1.txt deleted file mode 100644 index 6ca5b90..0000000 --- a/legacy_1/Storage/Examples/_OTI1.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","SetIdentifierDesc":"the current selection","AggregationType":"Sum","AggregationTypeDesc":"the current selection","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Returns the Sum of Sales for the current selection, but only for those customers that have bought the product \"Shoe\".","Expression":"Sum({$}Customer)>}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_pindirect","Field":"Customer","OtherField":"Product","FieldOperator":"=","ValuesOrExpression_1":"Shoe","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":"Customer"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_OXLC.txt b/legacy_1/Storage/Examples/_OXLC.txt deleted file mode 100644 index 743892e..0000000 --- a/legacy_1/Storage/Examples/_OXLC.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Return Sum of Sales only for the year before the maximum year.","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_expression","Field":"Year","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"Max(Year)-1","ValuesOrExpression_2":"","SelectionOperator":"equal_to"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_S4ZS.txt b/legacy_1/Storage/Examples/_S4ZS.txt deleted file mode 100644 index b87b035..0000000 --- a/legacy_1/Storage/Examples/_S4ZS.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"bookmark","SetIdentifierDesc":"the bookmark with the Id '{0}'","AggregationType":"Sum","AggregationTypeDesc":"Sum","FieldExpression":"Sales","Bookmark":"Server\\BM01","PersonalComment":"Calculate the sum of sales based on the current selection AND the server-bookmark with the Id \"BM01\".","Expression":"Sum({Server\\BM01}Sales)","QlikViewVersion":"100000","PureDescription":"","Version":"0.5","SetModifierActions":[]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_XKFS.txt b/legacy_1/Storage/Examples/_XKFS.txt deleted file mode 100644 index 48b706c..0000000 --- a/legacy_1/Storage/Examples/_XKFS.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","AggregationType":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Sum of Sales based on the current selection, but only consider years from 2000 to 2009, but exclude 2010, 2011, etc.","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_modify_by_value","Field":"Year","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"200*","ValuesOrExpression_2":"","SelectionOperator":"equal_to"}]} \ No newline at end of file diff --git a/legacy_1/Storage/Examples/_ZYP3.txt b/legacy_1/Storage/Examples/_ZYP3.txt deleted file mode 100644 index 9b0dfd6..0000000 --- a/legacy_1/Storage/Examples/_ZYP3.txt +++ /dev/null @@ -1,2 +0,0 @@ -{C55490AB-93C9-4D80-BE14-88A19E115E61} -{"SetIdentifier":"$","SetIdentifierDesc":"the current selection","AggregationType":"Sum","AggregationTypeDesc":"the current selection","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Return the Sum of Sales for the current selection, but only for those customers who have ever supplied the product \"Shoe\".","Expression":"Sum({$}Supplier)>}Sales)","QlikViewVersion":"100000","Version":"1.00.00","SetModifierActions":[{"Action":"set_pindirect","Field":"Customer","OtherField":"Product","FieldOperator":"=","ValuesOrExpression_1":"Shoe","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":"Supplier"}]} \ No newline at end of file diff --git a/legacy_1/Storage/ORMG.txt b/legacy_1/Storage/ORMG.txt deleted file mode 100644 index 8f3fd08..0000000 --- a/legacy_1/Storage/ORMG.txt +++ /dev/null @@ -1,2 +0,0 @@ -49a2b01e-73db-4a9d-978b-3ba9789668ef -{"SetIdentifier":"$","SetIdentifierDesc":"the current selection","AggregationType":"Sum","AggregationTypeDesc":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Calculate the Sum of Sales, clear Year and Month.\nIndirect Set Analysis 1: Select only those countries with suppliers having supplied the product in the product category \"Confections\"\nIndirect Set Analysis 2: Select only customers with Sales in the previous year","Expression":"Sum({$}SupplierCountry),Customer=P({1}Customer),TestVeld={'Ja','Nee'}>}Sales)","QlikViewVersion":"100000","PureDescription":"","Version":"0.5","SetModifierActions":[{"Action":"set_remove","Field":"Year","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":""},{"Action":"set_remove","Field":"Month","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":""},{"Action":"set_pindirect","Field":"CustomerCountry","OtherField":"CategoryName","FieldOperator":"=","ValuesOrExpression_1":"Confections","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":"SupplierCountry"},{"Action":"set_pindirect_exp","Field":"Customer","OtherField":"Year","FieldOperator":"=","ValuesOrExpression_1":"max(Year)-1","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":"Customer"},{"Action":"set_modify_by_value","Field":"TestVeld","OtherField":"","FieldOperator":"=","ValuesOrExpression_1":"Ja, Nee","ValuesOrExpression_2":"","SelectionOperator":"equal_to","IndirectField":""}]} \ No newline at end of file diff --git a/legacy_1/Storage/WX2S.txt b/legacy_1/Storage/WX2S.txt deleted file mode 100644 index f25b34b..0000000 --- a/legacy_1/Storage/WX2S.txt +++ /dev/null @@ -1,2 +0,0 @@ -35d3f9df-269a-4ab1-a55e-283e0f9a4485 -{"SetIdentifier":"$","SetIdentifierDesc":"the current selection","AggregationType":"Sum","AggregationTypeDesc":"Sum","FieldExpression":"Sales","Bookmark":"","PersonalComment":"Calculate the sum of \"Sales\" (based on the current selection).","Expression":"Sum({$}Sales)","QlikViewVersion":"100000","PureDescription":"","Version":"0.5","SetModifierActions":[]} \ No newline at end of file diff --git a/legacy_1/TestAjax.aspx b/legacy_1/TestAjax.aspx deleted file mode 100644 index e0652d4..0000000 --- a/legacy_1/TestAjax.aspx +++ /dev/null @@ -1,64 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestAjax.aspx.cs" Inherits="qlikblog.Tools.SetAnalysisWizard.Web.WebForm1" %> - - - - - - - - - - -
- - - - - - -
- -
-
- - diff --git a/legacy_1/TestAjax.aspx.cs b/legacy_1/TestAjax.aspx.cs deleted file mode 100644 index eb77be2..0000000 --- a/legacy_1/TestAjax.aspx.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - public partial class WebForm1 : System.Web.UI.Page - { - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} \ No newline at end of file diff --git a/legacy_1/TestAjax.aspx.designer.cs b/legacy_1/TestAjax.aspx.designer.cs deleted file mode 100644 index d8f8ad4..0000000 --- a/legacy_1/TestAjax.aspx.designer.cs +++ /dev/null @@ -1,33 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace qlikblog.Tools.SetAnalysisWizard.Web { - - - public partial class WebForm1 { - - /// - /// form1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.HtmlControls.HtmlForm form1; - - /// - /// _scriptManager control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.ScriptManager _scriptManager; - } -} diff --git a/legacy_1/UnitTesting.asmx b/legacy_1/UnitTesting.asmx deleted file mode 100644 index 1776aaa..0000000 --- a/legacy_1/UnitTesting.asmx +++ /dev/null @@ -1 +0,0 @@ -<%@ WebService Language="C#" CodeBehind="UnitTesting.asmx.cs" Class="qlikblog.Tools.SetAnalysisWizard.Web.UnitTesting" %> diff --git a/legacy_1/UnitTesting.asmx.cs b/legacy_1/UnitTesting.asmx.cs deleted file mode 100644 index 56e901d..0000000 --- a/legacy_1/UnitTesting.asmx.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.Services; -using System.IO; - -namespace qlikblog.Tools.SetAnalysisWizard.Web -{ - /// - /// Summary description for UnitTesting - /// - [WebService(Namespace = "http://tempuri.org/")] - [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] - [System.ComponentModel.ToolboxItem(false)] - // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. - [System.Web.Script.Services.ScriptService] - public class UnitTesting : System.Web.Services.WebService - { - - [WebMethod] - public string[] GetTestKeys() - { - string retVal = string.Empty; - List files = new List(); - string filePath = Server.MapPath("~/Storage/Examples/"); - DirectoryInfo dir = new DirectoryInfo(filePath); - foreach (FileInfo fileInfo in dir.GetFiles("_*.txt")) - { - files.Add(Path.GetFileNameWithoutExtension(fileInfo.Name)); - } - return files.ToArray(); - } - } -} diff --git a/legacy_1/favicon.ico b/legacy_1/favicon.ico deleted file mode 100644 index eb5035a..0000000 Binary files a/legacy_1/favicon.ico and /dev/null differ diff --git a/legacy_1/library/css/SetAnalysisWizard.css b/legacy_1/library/css/SetAnalysisWizard.css deleted file mode 100644 index 0b6e63d..0000000 --- a/legacy_1/library/css/SetAnalysisWizard.css +++ /dev/null @@ -1,273 +0,0 @@ -#h1Main -{ - background-image:url(../icons/block-icon.png); - background-repeat:no-repeat; - background-position: left bottom; - padding-left:20px; -} - -.h2Page -{ - border-bottom-style:none; - margin-top:-15px; - font-style:italic; - color:#666666; - margin-left:50px; - border-bottom:0 0 0 0; - font-weight:normal; - font-size:1.1em; -} - -#divLeft -{ - float:left; - width:50%; -} - -#divRight -{ - float:right; - width:50%; -} - -.hidden -{ - display:none; -} - -.description -{ - font-size:xx-small; -} - -/*Todo: can be deleted ? */ -.iconbutton -{ - border:0 0 0 0; - cursor: hand; - padding-left:5px; - padding-right:5px; -} - -/* Icon Select All */ -#lnkSelectAll -{ - background-image:url(../icons/ui-text-field-select-icon.png); - background-repeat:no-repeat; - background-position: left bottom; - padding-left:20px; -} - -/* Icon Share */ -#lnkShare -{ - background-image:url(../icons/block-share-icon.png); - background-repeat:no-repeat; - background-position: left bottom; - padding-left:20px; -} - - - -.even {background-color:#fff;} -.odd {background-color:#eee;} -.clsSetModifier -{ - border-bottom-style:solid; - border-bottom-width:1px; - border-bottom-color:#efefef; - padding-top:4px; - padding-bottom:4px; - padding-left:5px; - padding-right:5px; -} - -/* Personal Comment */ -#lnkAddPersonalComment -{ - background-image:url(../icons/comment_add.png); - background-repeat:no-repeat; - background-position: left bottom; - padding-left:20px; -} -#lblPersonalComment -{ - background-image:url(../icons/comment.png); - background-repeat:no-repeat; - background-position: left bottom; - padding-left:20px; -} - - -/* Form Styles */ -/*Todo: can be deleted */ -.watermark -{ - color:#999; - font-style:italic; -} - -.icon -{ - margin-left:5px; - margin-right:5px; - padding-bottom:-5px; - vertical-align:top; -} - - -/* Action Container */ -#divActionContainer, #divActionContainerEmpty, #divActionContainerEmptyContent -{ - width:700px; - height:170px; -} - -#divActionContainer, #divActionContainerEmpty -{ - border-style:solid; - border-width:1px; - border-color:#cccccc; - margin-top:10px; - margin-bottom:10px; -} - -#divActionContainer -{ - overflow-y:scroll; - overflow-x:hidden; -} - -.noActions -{ - text-align:center; - color:#cccccc; - font-weight:bold; - font-size:20px; - display:table-cell; - vertical-align:middle; -} - -/* Output of generated code */ -#txtOutput -{ - width:900px; - height:400px; -} - -/* ------------------------------------------------------------------ -Logical Classes -*/ -.clearable {} /*clearable standard form*/ -.af_clearable {} /*clearable within the action form */ -.qtippable {} /*for the qtips*/ - - -/* BlockUI */ -#domMessage -{ - /* border-width: 1px; - border-color:#990000; - border-style:solid; - text-align:center; - */ - /*padding-top:30px;*/ - /*height:100px; */ -} -#domMessage h1 -{ - font-size:1.2em; -} - - -/* Header */ -#divHeader -{ - width:100%; - height:25px; - background-color:rgb(243, 243, 243); - border-bottom-style:solid; - border-bottom-width:1px; - border-bottom-color:rgb(235, 235, 235); - position:absolute; - left:0px; - top:0px; - float:left; - margin-left:0px; -} - -#divBack -{ - position:absolute; - left:3px; - top:3px; - background-image:url(../icons/arrow_back.gif); - background-repeat:no-repeat; - background-position: left bottom; - padding-left:20px; -} - -#divBack a -{ - text-decoration:none; -} -#divBack a:hover -{ - text-decoration:underline; -} - -/* QlikView Versions combo */ -#divQVVersion -{ - position:absolute; - left:920px; - top:90px; -} - -/* Beta Badge */ -#divBetaBadge -{ - position:absolute; - left:1000px; - top:0px; - z-index:2; -} - -/*divSAPreview - Main Page*/ -#divSAPreview -{ - font-family:Monospace; -} - -.hightLighted -{ - background:#ffff00; -} - - -.divClearForm -{ - position:relative; - margin-left:870px; - white-space:nowrap; - margin-bottom:-16px; -} - -.aClearForm -{ - background-image:url(../icons/application_form.png); - background-repeat:no-repeat; - background-position: left bottom; - padding-left:20px; -} - - -/* Action Form */ -#aCopyOtherField -{ - background-image:url(../icons/page_copy.png); - background-repeat:no-repeat; - background-position: left bottom; - padding-left:20px; - font-size:0.9em; -} \ No newline at end of file diff --git a/legacy_1/library/css/StylesSheetFinal.css b/legacy_1/library/css/StylesSheetFinal.css deleted file mode 100644 index 2c02b2d..0000000 --- a/legacy_1/library/css/StylesSheetFinal.css +++ /dev/null @@ -1 +0,0 @@ -.ui-tooltip,.qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:.9em;line-height:12px;z-index:15000}.ui-tooltip-fluid{display:block;visibility:hidden;position:static!important;float:left!important}.ui-tooltip-content{position:relative;padding:5px 9px;overflow:hidden;border-width:1px;border-style:solid;text-align:left;word-wrap:break-word;overflow:hidden}.ui-tooltip-titlebar{position:relative;min-height:14px;padding:5px 35px 5px 10px;overflow:hidden;border-width:1px 1px 0;border-style:solid;font-weight:700}.ui-tooltip-titlebar+.ui-tooltip-content{border-top-width:0!important}/*!Default close button class */ .ui-tooltip-titlebar .ui-state-default{position:absolute;right:4px;top:50%;margin-top:-9px;cursor:pointer;outline:medium none;border-width:1px;border-style:solid}* html .ui-tooltip-titlebar .ui-state-default{top:16px}.ui-tooltip-titlebar .ui-icon,.ui-tooltip-icon .ui-icon{display:block;text-indent:-1000em}.ui-tooltip-icon,.ui-tooltip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.ui-tooltip-icon .ui-icon{width:18px;height:14px;text-align:center;text-indent:0;font:normal bold 10px/13px Tahoma,sans-serif;color:inherit;background:transparent none no-repeat -100em -100em}/*!Default tooltip style */ .ui-tooltip-default .ui-tooltip-titlebar,.ui-tooltip-default .ui-tooltip-content{border-color:#F1D031;background-color:#FFFFA3;color:#555}.ui-tooltip-default .ui-tooltip-titlebar{background-color:#FFEF93}.ui-tooltip-default .ui-tooltip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.ui-tooltip-default .ui-tooltip-titlebar .ui-state-hover{border-color:#AAA;color:#111}.ui-tooltip .ui-tooltip-tip{margin:0 auto;overflow:hidden;background:transparent!important;border:0 dashed transparent!important;z-index:10}.ui-tooltip .ui-tooltip-tip,.ui-tooltip .ui-tooltip-tip *{position:absolute;line-height:.1px!important;font-size:.1px!important;color:#123456;background:transparent;border:0 dashed transparent}.ui-tooltip .ui-tooltip-tip canvas{top:0;left:0}#qtip-overlay{position:fixed;left:-10000em;top:-10000em}#qtip-overlay.blurs{cursor:pointer}#qtip-overlay div{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;opacity:.7;filter:alpha(opacity=70);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"}/*!Light tooltip style */ .ui-tooltip-light .ui-tooltip-titlebar,.ui-tooltip-light .ui-tooltip-content{border-color:#E2E2E2;color:#454545}.ui-tooltip-light .ui-tooltip-content{background-color:#fff}.ui-tooltip-light .ui-tooltip-titlebar{background-color:#f1f1f1}/*!Dark tooltip style */ .ui-tooltip-dark .ui-tooltip-titlebar,.ui-tooltip-dark .ui-tooltip-content{border-color:#303030;color:#f3f3f3}.ui-tooltip-dark .ui-tooltip-content{background-color:#505050}.ui-tooltip-dark .ui-tooltip-titlebar{background-color:#404040}.ui-tooltip-dark .ui-tooltip-icon{border-color:#444}.ui-tooltip-dark .ui-tooltip-titlebar .ui-state-hover{border-color:#303030}/*!Cream tooltip style */ .ui-tooltip-cream .ui-tooltip-titlebar,.ui-tooltip-cream .ui-tooltip-content{border-color:#F9E98E;color:#A27D35}.ui-tooltip-cream .ui-tooltip-content{background-color:#FBF7AA}.ui-tooltip-cream .ui-tooltip-titlebar{background-color:#F0DE7D}.ui-tooltip-cream .ui-state-default .ui-tooltip-icon{background-position:-82px 0}/*!Red tooltip style */ .ui-tooltip-red .ui-tooltip-titlebar,.ui-tooltip-red .ui-tooltip-content{border-color:#D95252;color:#912323}.ui-tooltip-red .ui-tooltip-content{background-color:#F78B83}.ui-tooltip-red .ui-tooltip-titlebar{background-color:#F06D65}.ui-tooltip-red .ui-state-default .ui-tooltip-icon{background-position:-102px 0}.ui-tooltip-red .ui-tooltip-icon{border-color:#D95252}.ui-tooltip-red .ui-tooltip-titlebar .ui-state-hover{border-color:#D95252}/*!Green tooltip style */ .ui-tooltip-green .ui-tooltip-titlebar,.ui-tooltip-green .ui-tooltip-content{border-color:#90D93F;color:#3F6219}.ui-tooltip-green .ui-tooltip-content{background-color:#CAED9E}.ui-tooltip-green .ui-tooltip-titlebar{background-color:#B0DE78}.ui-tooltip-green .ui-state-default .ui-tooltip-icon{background-position:-42px 0}/*!Blue tooltip style */ .ui-tooltip-blue .ui-tooltip-titlebar,.ui-tooltip-blue .ui-tooltip-content{border-color:#ADD9ED;color:#5E99BD}.ui-tooltip-blue .ui-tooltip-content{background-color:#E5F6FE}.ui-tooltip-blue .ui-tooltip-titlebar{background-color:#D0E9F5}.ui-tooltip-blue .ui-state-default .ui-tooltip-icon{background-position:-2px 0}/*!Add shadows to your tooltips in:FF3+,Chrome 2+,Opera 10.6+,IE6+,Safari 2+*/ .ui-tooltip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15)}.ui-tooltip-shadow .ui-tooltip-titlebar,.ui-tooltip-shadow .ui-tooltip-content{filter:progid:DXImageTransform.Microsoft.Shadow(Color='gray',Direction=135,Strength=3);-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Color='gray',Direction=135,Strength=3)";_margin-bottom:-3px;.margin-bottom:-3px}/*!Add rounded corners to your tooltips in:FF3+,Chrome 2+,Opera 10.6+,IE9+,Safari 2+*/ .ui-tooltip-rounded,.ui-tooltip-rounded .ui-tooltip-content,.ui-tooltip-tipsy,.ui-tooltip-tipsy .ui-tooltip-content,.ui-tooltip-youtube,.ui-tooltip-youtube .ui-tooltip-content{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.ui-tooltip-rounded .ui-tooltip-titlebar,.ui-tooltip-tipsy .ui-tooltip-titlebar,.ui-tooltip-youtube .ui-tooltip-titlebar{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.ui-tooltip-rounded .ui-tooltip-titlebar+.ui-tooltip-content,.ui-tooltip-tipsy .ui-tooltip-titlebar+.ui-tooltip-content,.ui-tooltip-youtube .ui-tooltip-titlebar+.ui-tooltip-content{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px}/*!Youtube tooltip style */ .ui-tooltip-youtube{-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333}.ui-tooltip-youtube .ui-tooltip-titlebar,.ui-tooltip-youtube .ui-tooltip-content{_margin-bottom:0;.margin-bottom:0;background:transparent;background:rgba(0,0,0,0.85);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000)";color:#fff;border-color:#CCC}.ui-tooltip-youtube .ui-tooltip-icon{border-color:#222}.ui-tooltip-youtube .ui-tooltip-titlebar .ui-state-hover{border-color:#303030}.ui-tooltip-jtools{background:#232323;background:rgba(0,0,0,0.7);background-image:-moz-linear-gradient(top,#717171,#232323);background-image:-webkit-gradient(linear,left top,left bottom,from(#717171),to(#232323));border:2px solid #ddd;border:2px solid rgba(241,241,241,1);-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333}.ui-tooltip-jtools .ui-tooltip-titlebar{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A)"}.ui-tooltip-jtools .ui-tooltip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323)"}.ui-tooltip-jtools .ui-tooltip-titlebar,.ui-tooltip-jtools .ui-tooltip-content{background:transparent;color:#fff;border:0 dashed transparent}.ui-tooltip-jtools .ui-tooltip-icon{border-color:#555}.ui-tooltip-jtools .ui-tooltip-titlebar .ui-state-hover{border-color:#333}.ui-tooltip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,0.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,0.4);box-shadow:4px 4px 5px rgba(0,0,0,0.4)}.ui-tooltip-cluetip .ui-tooltip-titlebar{background-color:#87876A;color:#fff;border:0 dashed transparent}.ui-tooltip-cluetip .ui-tooltip-content{background-color:#D9D9C2;color:#111;border:0 dashed transparent}.ui-tooltip-cluetip .ui-tooltip-icon{border-color:#808064}.ui-tooltip-cluetip .ui-tooltip-titlebar .ui-state-hover{border-color:#696952;color:#696952}.ui-tooltip-tipsy{border:0}.ui-tooltip-tipsy .ui-tooltip-titlebar,.ui-tooltip-tipsy .ui-tooltip-content{_margin-bottom:0;.margin-bottom:0;background:transparent;background:rgba(0,0,0,.87);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000)";color:#fff;border:0 transparent;font-size:11px;font-family:'Lucida Grande',sans-serif;font-weight:700;line-height:16px;text-shadow:0 1px black}.ui-tooltip-tipsy .ui-tooltip-titlebar{padding:6px 35px 0 10}.ui-tooltip-tipsy .ui-tooltip-content{padding:6px 10}.ui-tooltip-tipsy .ui-tooltip-icon{border-color:#222;text-shadow:none}.ui-tooltip-tipsy .ui-tooltip-titlebar .ui-state-hover{border-color:#303030}.ui-tooltip-tipped .ui-tooltip-titlebar,.ui-tooltip-tipped .ui-tooltip-content{border:3px solid #959FA9;filter:none;-ms-filter:none}.ui-tooltip-tipped .ui-tooltip-titlebar{background-position:0%;-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D)";color:#fff;font-weight:400;font-family:serif;border-bottom-width:0;-moz-border-radius:3px 3px 0 0;-webkit-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;background-image:-webkit-gradient(linear,left top,left bottom,from(#3A79B8),to(#2E629D));background-color:#3A79B8;background-repeat:repeat;background-attachment:scroll}.ui-tooltip-tipped .ui-tooltip-content{background-color:#F9F9F9;color:#454545;-moz-border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px}.ui-tooltip-tipped .ui-tooltip-icon{border:2px solid #285589;background:#285589}.ui-tooltip-tipped .ui-tooltip-icon .ui-icon{background-color:#FBFBFB;color:#555}.ui-tooltip:not(.ie9haxors) div.ui-tooltip-content,.ui-tooltip:not(.ie9haxors) div.ui-tooltip-titlebar{filter:none;-ms-filter:none}@charset "UTF-8";/* -------------------------------------------------------------- forms.css * Sets up some default styling for forms * Gives you classes to enhance your forms Usage:* For text fields,use class .title or .text * For inline forms,use .inline(even when using columns) -------------------------------------------------------------- */ /* A special hack is included for IE8 since it does not apply padding correctly on fieldsets */ label{font-weight:700}fieldset{padding:0 1.4em 1.4em;margin:0 0 1.5em;border:1px solid #ccc}legend{font-weight:700;font-size:1.2em;margin-top:-0.2em;margin-bottom:1em}fieldset,#IE8#HACK{padding-top:1.4em}legend,#IE8#HACK{margin-top:0;margin-bottom:0}/* Form fields -------------------------------------------------------------- */ /* Attribute selectors are used to differentiate the different types of input elements,but to support old browsers,you will have to add classes for each one. ".title" simply creates a large text field,this is purely for looks. */ input[type=text],input[type=password],input.text,input.title,textarea{background-color:#fff;border:1px solid #bbb;margin-bottom:0}select{background-color:#fff;border-width:1px;border-style:solid}input[type=text],input[type=password],input.text,input.title,textarea,select{margin:0}input.text,input.title{width:300px;padding:5px}input.title{font-size:1.5em}textarea{width:390px;height:250px;padding:5px}/* This is to be used on forms where a variety of elements are placed side-by-side. Use the p tag to denote a line. */ form.inline{line-height:3}form.inline p{margin-bottom:0}/* / Added by STW ------------------------------------------------------------------ */ form{overflow:auto}input:focus,textarea:focus,select:focus{outline-width:0;/* No outline border for Safary */}input[type=text]:focus,input[type=password]:focus,input.text:focus,input.title:focus,input.title.half:focus,textarea:focus{border-color:#ccc;margin-bottom:0}input[type="text"],input[type="password"],input[type="select"],input[type="search"],input[type="file"],input[type="date"],textarea,select{border-color:#C4C4C4 #E9E9E9 #E9E9E9 #C4C4C4;border-style:solid;border-width:1px;padding:4px;color:#777;font-family:inherit;margin-bottom:0}textarea{line-height:18px;overflow:auto;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}textarea.small{height:5.5em;margin-bottom:0}textarea.medium{height:10em;margin-bottom:0}textarea.large{height:20em;margin-bottom:0}input.half,select.half,textarea.half{width:50%;margin-bottom:0}input.full,select.full,textarea.full{width:97%;margin-bottom:0}input.title{font-size:20px}input[type="submit"],input[type="reset"],input[type="button"]{margin-bottom:0}input:focus,textarea:focus{-moz-box-shadow:0 1px 1px rgba(196,196,196,0.5);-webkit-box-shadow:0 1px 1px rgba(196,196,196,0.5);box-shadow:0 1px 1px rgba(196,196,196,0.5);-webkit-focus-ring-color:none;border-color:#c4c4c4;background-color:#FFFFF0}fieldset{border:0 none;border-top:1px solid #ddd;margin:10px 0;padding:10px 0;position:relative}legend{background:#fff;color:#93BB3A;font-weight:700;padding:0 6px}label{font-size:11px;text-transform:inherit;font-weight:700}label.required:before{content:"*";color:red;font-family:"Lucida Grande",Verdana,Arial,Helvetica,sans-serif}label.ok{background:url("../icons-s/tick.png") no-repeat;padding-left:18px}label.error{color:#d00;text-transform:none;margin-left:6px}label.choice{vertical-align:middle;font-weight:400;text-transform:none}fieldset small{color:#999;font-size:11px;display:block}@charset "UTF-8";body{font:80% "Segoe UI","Trebuchet MS",sans-serif;margin:50px;margin-top:0}h1{font-size:1.5em}h2{color:#459e00;font-size:1.2em;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc}h3{color:#459e00;font-size:1em;border-bottom-style:dotted;border-bottom-width:1px;border-bottom-color:#ccc}hr,hr.hrSpacer{margin-top:10px;margin-bottom:10px;height:1px;color:#ccc;background-color:#ccc;border:none}/* Links */ a,a:link,a:active,a:visited{color:#297ed3;text-decoration:none}a:hover{color:#1667b7;text-decoration:underline}/* End Links*/ label{font-size:12px}label.left{width:130px;margin-top:5px;float:left;font-weight:700}label.above{display:block}.clearall{clear:all}.floatLeft{float:left}.floatRight{float:right}/* Buttons */ .styled_button{padding:.4em 1em .4em 20px;text-decoration:none;position:relative}.styled_button span.ui-icon{margin:0 5px 0 0;position:absolute;left:.2em;top:50%;margin-top:-8px}#h1Main{background-image:url(../icons/block-icon.png);background-repeat:no-repeat;background-position:left bottom;padding-left:20px}.h2Page{border-bottom-style:none;margin-top:-15px;font-style:italic;color:#666;margin-left:50px;border-bottom:0;font-weight:400;font-size:1.1em}#divLeft{float:left;width:50%}#divRight{float:right;width:50%}.hidden{display:none}.description{font-size:xx-small}/*Todo:can be deleted ? */ .iconbutton{border:0;cursor:hand;padding-left:5px;padding-right:5px}/* Icon Select All */ #lnkSelectAll{background-image:url(../icons/ui-text-field-select-icon.png);background-repeat:no-repeat;background-position:left bottom;padding-left:20px}/* Icon Share */ #lnkShare{background-image:url(../icons/block-share-icon.png);background-repeat:no-repeat;background-position:left bottom;padding-left:20px}.even{background-color:#fff}.odd{background-color:#eee}.clsSetModifier{padding:4px 5px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#efefef}/* Personal Comment */ #lnkAddPersonalComment{background-image:url(../icons/comment_add.png);background-repeat:no-repeat;background-position:left bottom;padding-left:20px}#lblPersonalComment{background-image:url(../icons/comment.png);background-repeat:no-repeat;background-position:left bottom;padding-left:20px}/* Form Styles */ /*Todo:can be deleted */ .watermark{color:#999;font-style:italic}.icon{margin-left:5px;margin-right:5px;padding-bottom:-5px;vertical-align:top}/* Action Container */ #divActionContainer,#divActionContainerEmpty,#divActionContainerEmptyContent{width:700px;height:170px}#divActionContainer,#divActionContainerEmpty{border-style:solid;border-width:1px;border-color:#ccc;margin-top:10px;margin-bottom:10px}#divActionContainer{overflow-y:scroll;overflow-x:hidden}.noActions{text-align:center;color:#ccc;font-weight:700;font-size:20px;display:table-cell;vertical-align:middle}/* Output of generated code */ #txtOutput{width:900px;height:400px}/*for the qtips*/ /* BlockUI */ #domMessage{/* border-width:1px;border-color:#900;border-style:solid;text-align:center;*/ /*padding-top:30px;*/ /*height:100px;*/}#domMessage h1{font-size:1.2em}/* Header */ #divHeader{width:100%;height:25px;background-color:#f3f3f3;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ebebeb;position:absolute;left:0;top:0;float:left;margin-left:0}#divBack{position:absolute;left:3px;top:3px;background-image:url(../icons/arrow_back.gif);background-repeat:no-repeat;background-position:left bottom;padding-left:20px}#divBack a{text-decoration:none}#divBack a:hover{text-decoration:underline}/* QlikView Versions combo */ #divQVVersion{position:absolute;left:920px;top:90px}/* Beta Badge */ #divBetaBadge{position:absolute;left:1000px;top:0;z-index:2}/*divSAPreview - Main Page*/ #divSAPreview{font-family:Monospace}.hightLighted{background:#ff0}.divClearForm{position:relative;margin-left:870px;white-space:nowrap;margin-bottom:-16px}.aClearForm{background-image:url(../icons/application_form.png);background-repeat:no-repeat;background-position:left bottom;padding-left:20px}/* Action Form */ #aCopyOtherField{background-image:url(../icons/page_copy.png);background-repeat:no-repeat;background-position:left bottom;padding-left:20px;font-size:.9em}h2.examplePage{margin-top:0}.examplePage_Details{display:table-row;height:80px;width:100%;margin-left:30px}.example_Nr{padding:5px 10px;font-weight:700;font-size:150%;display:table-cell;vertical-align:middle}.example_Desc{padding:5px;display:table-cell;width:500px}.example_Desc pre{margin-left:25px}.example_Url{padding:5px 15px;display:table-cell;width:100px;vertical-align:middle}.example_odd{background-color:#efefef;border-top-width:1px;border-top-color:#ccc;border-top-style:solid}.example_even{background-color:inherit;border-top-width:1px;border-top-color:#ccc;border-top-style:solid}.redBold{font-weight:700;color:Red} /* wrapper divs */ .custom-checkbox,.custom-radio{position:relative}/* input,label positioning */ .custom-checkbox input,.custom-radio input{position:absolute;left:3px;top:3px;margin:0;z-index:0}.custom-checkbox label,.custom-radio label{display:block;position:relative;z-index:1;font-size:1em;padding-right:1em;line-height:1;padding:.5em 0 .5em 30px;margin:0 0 .3em;cursor:pointer}.custom-checkbox label{background:url(../sprites/checkbox_255_243_229.gif) no-repeat}.custom-radio label{background:url(../sprites/radiobutton_trans.gif) no-repeat}.custom-checkbox label,.custom-radio label{background-position:-10px -14px}.custom-checkbox label.hover,.custom-checkbox label.focus,.custom-radio label.hover,.custom-radio label.focus{background-position:-10px -114px}.custom-checkbox label.checked,.custom-radio label.checked{background-position:-10px -214px}.custom-checkbox label.checkedHover,.custom-checkbox label.checkedFocus{background-position:-10px -314px}.custom-checkbox label.focus,.custom-radio label.focus{/*outline:1px dotted #ccc;*/} \ No newline at end of file diff --git a/legacy_1/library/css/customInput.jquery.css b/legacy_1/library/css/customInput.jquery.css deleted file mode 100644 index d849f0e..0000000 --- a/legacy_1/library/css/customInput.jquery.css +++ /dev/null @@ -1,63 +0,0 @@ - - -/* wrapper divs */ -.custom-checkbox, .custom-radio { position: relative; } - -/* input, label positioning */ -.custom-checkbox input, -.custom-radio input { - position: absolute; - left: 3px; - top: 3px; - margin: 0; - z-index: 0; -} - -.custom-checkbox label, -.custom-radio label { - display: block; - position: relative; - z-index: 1; - font-size: 1em; - padding-right: 1em; - line-height: 1; - padding: .5em 0 .5em 30px; - margin: 0 0 .3em; - cursor: pointer; -} - -.custom-checkbox label { - background: url(../sprites/checkbox_255_243_229.gif) no-repeat; -} - -.custom-radio label { - background: url(../sprites/radiobutton_trans.gif) no-repeat; -} - -.custom-checkbox label, .custom-radio label { - background-position: -10px -14px; -} - -.custom-checkbox label.hover, -.custom-checkbox label.focus, -.custom-radio label.hover, -.custom-radio label.focus { - background-position: -10px -114px; -} - -.custom-checkbox label.checked, -.custom-radio label.checked { - background-position: -10px -214px; -} - -.custom-checkbox label.checkedHover, -.custom-checkbox label.checkedFocus { - background-position: -10px -314px; -} - -.custom-checkbox label.focus, -.custom-radio label.focus { - /*outline: 1px dotted #ccc;*/ -} - - diff --git a/legacy_1/library/css/examples.css b/legacy_1/library/css/examples.css deleted file mode 100644 index 77ab68b..0000000 --- a/legacy_1/library/css/examples.css +++ /dev/null @@ -1,71 +0,0 @@ -h2.examplePage -{ - margin-top:0px; -} - -.examplePage_Details -{ - display: table-row; - height:80px; - width:100%; - margin-left:30px; -} - -.example_Nr -{ - font-weight:bold; - font-size:150%; - padding-top:5px; - padding-bottom:5px; - padding-left:10px; - padding-right: 10px; - display:table-cell; - vertical-align:middle; -} -.example_Desc -{ - padding-top:5px; - padding-bottom:5px; - padding-left:5px; - padding-right: 5px; - display:table-cell; - width:500px; -} - -.example_Desc pre -{ - margin-left:25px; -} - -.example_Url -{ - padding-top:5px; - padding-bottom:5px; - padding-left:15px; - padding-right: 15px; - display:table-cell; - width:100px; - vertical-align:middle; -} - -.example_odd -{ - background-color: #efefef; - border-top-width:1px; - border-top-color:#cccccc; - border-top-style:solid; -} - -.example_even -{ - background-color:inherit; - border-top-width:1px; - border-top-color:#cccccc; - border-top-style:solid; -} - -.redBold -{ - font-weight:bold; - color:Red; -} \ No newline at end of file diff --git a/legacy_1/library/css/forms.css b/legacy_1/library/css/forms.css deleted file mode 100644 index 3ae9344..0000000 --- a/legacy_1/library/css/forms.css +++ /dev/null @@ -1,167 +0,0 @@ -@charset "UTF-8"; -/* -------------------------------------------------------------- - - forms.css - * Sets up some default styling for forms - * Gives you classes to enhance your forms - - Usage: - * For text fields, use class .title or .text - * For inline forms, use .inline (even when using columns) - --------------------------------------------------------------- */ - -/* - A special hack is included for IE8 since it does not apply padding - correctly on fieldsets - */ -label { font-weight: bold; } -fieldset { padding:0 1.4em 1.4em 1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; } -legend { font-weight: bold; font-size:1.2em; margin-top:-0.2em; margin-bottom:1em; } - -fieldset, #IE8#HACK { padding-top:1.4em; } -legend, #IE8#HACK { margin-top:0; margin-bottom:0; } - -/* Form fields --------------------------------------------------------------- */ - -/* - Attribute selectors are used to differentiate the different types - of input elements, but to support old browsers, you will have to - add classes for each one. ".title" simply creates a large text - field, this is purely for looks. - */ -input[type=text], input[type=password], -input.text, input.title, -textarea { - background-color:#fff; - border:1px solid #bbb; - margin-bottom:0px; -} - -select { background-color:#fff; border-width:1px; border-style:solid; } - -input[type=text], input[type=password], -input.text, input.title, -textarea, select { - margin:0em 0; - -} - -input.text, -input.title { width: 300px; padding:5px;} -input.title { font-size:1.5em;} -textarea { width: 390px; height: 250px; padding:5px; } - -/* - This is to be used on forms where a variety of elements are - placed side-by-side. Use the p tag to denote a line. - */ -form.inline { line-height:3; } -form.inline p { margin-bottom:0; } - -/* -/ Added by STW ------------------------------------------------------------------- */ -form { - overflow:auto; -} -input:focus,textarea:focus,select:focus { - outline-width:0; /* No outline border for Safary */ -} -input[type=text]:focus, input[type=password]:focus, -input.text:focus, input.title:focus, input.title.half:focus, -textarea:focus { - border-color:#cccccc; - margin-bottom:0px; -} -input[type="text"],input[type="password"],input[type="select"],input[type="search"],input[type="file"],input[type="date"],textarea,select { - border-color:#C4C4C4 #E9E9E9 #E9E9E9 #C4C4C4; - border-style:solid; - border-width:1px; - padding:4px; - color:#777; - font-family:inherit; - margin-bottom:0px; -} -textarea { - line-height:18px; - overflow:auto; - font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; -} -textarea.small { - height:5.5em; - margin-bottom:0px; -} -textarea.medium { - height:10em; - margin-bottom:0px; -} -textarea.large { - height:20em; - margin-bottom:0px; -} -input.half,select.half,textarea.half { - width:50%; - margin-bottom:0px; -} -input.full,select.full,textarea.full { - width:97%; - margin-bottom:0px; -} -input.title { - font-size:20px; -} -input[type="submit"],input[type="reset"],input[type="button"] { - margin-bottom:0; -} -input:focus,textarea:focus { - -moz-box-shadow:0 1px 1px rgba(196,196,196,0.5); - -webkit-box-shadow:0 1px 1px rgba(196,196,196,0.5); - box-shadow:0 1px 1px rgba(196,196,196,0.5); - -webkit-focus-ring-color:none; - border-color:#c4c4c4; - background-color:#FFFFF0; -} -fieldset { - border:0 none; - border-top:1px solid #ddd; - margin:10px 0; - padding:10px 0; - position:relative; -} -legend { - background:#fff; - color:#93BB3A; - font-weight:bold; - padding:0px 6px 0px 6px; -} -label { - font-size:11px; - text-transform:inherit; - font-weight:bold; -} -label.required:before { - content:"*"; - color:red; - font-family:"Lucida Grande",Verdana,Arial,Helvetica,sans-serif; -} -label.ok { - background:url("../icons-s/tick.png") no-repeat; - padding-left:18px; -} -label.error { - color:#d00; - text-transform:none; - margin-left:6px; -} -label.choice { - vertical-align:middle; - font-weight:normal; - text-transform:none; -} -fieldset small { - color:#999; - font-size:11px; - display: block; -} diff --git a/legacy_1/library/css/graytheme/images/ui-bg_flat_0_aaaaaa_40x100.png b/legacy_1/library/css/graytheme/images/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100644 index 5b5dab2..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-bg_flat_0_aaaaaa_40x100.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-bg_flat_75_ffffff_40x100.png b/legacy_1/library/css/graytheme/images/ui-bg_flat_75_ffffff_40x100.png deleted file mode 100644 index ac8b229..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-bg_flat_75_ffffff_40x100.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-bg_glass_55_fbf9ee_1x400.png b/legacy_1/library/css/graytheme/images/ui-bg_glass_55_fbf9ee_1x400.png deleted file mode 100644 index ad3d634..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-bg_glass_55_fbf9ee_1x400.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-bg_glass_65_ffffff_1x400.png b/legacy_1/library/css/graytheme/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100644 index 42ccba2..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-bg_glass_75_dadada_1x400.png b/legacy_1/library/css/graytheme/images/ui-bg_glass_75_dadada_1x400.png deleted file mode 100644 index 5a46b47..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-bg_glass_75_dadada_1x400.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-bg_glass_75_e6e6e6_1x400.png b/legacy_1/library/css/graytheme/images/ui-bg_glass_75_e6e6e6_1x400.png deleted file mode 100644 index 86c2baa..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-bg_glass_75_e6e6e6_1x400.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-bg_glass_95_fef1ec_1x400.png b/legacy_1/library/css/graytheme/images/ui-bg_glass_95_fef1ec_1x400.png deleted file mode 100644 index 4443fdc..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-bg_glass_95_fef1ec_1x400.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/legacy_1/library/css/graytheme/images/ui-bg_highlight-soft_75_cccccc_1x100.png deleted file mode 100644 index 7c9fa6c..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-bg_highlight-soft_75_cccccc_1x100.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-icons_222222_256x240.png b/legacy_1/library/css/graytheme/images/ui-icons_222222_256x240.png deleted file mode 100644 index b273ff1..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-icons_222222_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-icons_2e83ff_256x240.png b/legacy_1/library/css/graytheme/images/ui-icons_2e83ff_256x240.png deleted file mode 100644 index 09d1cdc..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-icons_2e83ff_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-icons_454545_256x240.png b/legacy_1/library/css/graytheme/images/ui-icons_454545_256x240.png deleted file mode 100644 index 59bd45b..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-icons_454545_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-icons_888888_256x240.png b/legacy_1/library/css/graytheme/images/ui-icons_888888_256x240.png deleted file mode 100644 index 6d02426..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-icons_888888_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/images/ui-icons_cd0a0a_256x240.png b/legacy_1/library/css/graytheme/images/ui-icons_cd0a0a_256x240.png deleted file mode 100644 index 2ab019b..0000000 Binary files a/legacy_1/library/css/graytheme/images/ui-icons_cd0a0a_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/graytheme/jquery-ui-1.8.16.custom.css b/legacy_1/library/css/graytheme/jquery-ui-1.8.16.custom.css deleted file mode 100644 index fcc2e20..0000000 --- a/legacy_1/library/css/graytheme/jquery-ui-1.8.16.custom.css +++ /dev/null @@ -1,569 +0,0 @@ -/* - * jQuery UI CSS Framework 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */ - -/* Layout helpers -----------------------------------*/ -.grayTheme .ui-helper-hidden { display: none; } -.grayTheme .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.grayTheme .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.grayTheme .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.grayTheme .ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera \*/ -* html .ui-helper-clearfix { height:1%; } -.grayTheme .ui-helper-clearfix { display:block; } -/* end clearfix */ -.grayTheme .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - - -/* Interaction Cues -----------------------------------*/ -.grayTheme .ui-state-disabled { cursor: default !important; } - - -/* Icons -----------------------------------*/ - -/* states and images */ -.grayTheme .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.grayTheme .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } - - -/* - * jQuery UI CSS Framework 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - * - * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px - */ - - -/* Component containers -----------------------------------*/ -/*Changed by SWR: font-size: 1em instead of 1.1em */ -.grayTheme .ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 0.9em; } -.grayTheme .ui-widget .ui-widget { font-size: 1em; } -.grayTheme .ui-widget input, .grayTheme .ui-widget select, .grayTheme .ui-widget textarea, .grayTheme .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; } -.grayTheme .ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; } -.grayTheme .ui-widget-content a { color: #222222; } -.grayTheme .ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; } -.grayTheme .ui-widget-header a { color: #222222; } - -/* Interaction states -----------------------------------*/ -.grayTheme .ui-state-default, .grayTheme .ui-widget-content .ui-state-default, .grayTheme .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; } -.grayTheme .ui-state-default a, .grayTheme .ui-state-default a:link, .grayTheme .ui-state-default a:visited { color: #555555; text-decoration: none; } -.grayTheme .ui-state-hover, .grayTheme .ui-widget-content .ui-state-hover, .grayTheme .ui-widget-header .ui-state-hover, .grayTheme .ui-state-focus, .grayTheme .ui-widget-content .ui-state-focus, .grayTheme .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } -.grayTheme .ui-state-hover a, .grayTheme .ui-state-hover a:hover { color: #212121; text-decoration: none; } -.grayTheme .ui-state-active, .grayTheme .ui-widget-content .ui-state-active, .grayTheme .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } -.grayTheme .ui-state-active a, .grayTheme .ui-state-active a:link, .grayTheme .ui-state-active a:visited { color: #212121; text-decoration: none; } -.grayTheme .ui-widget :active { outline: none; } - -/* Interaction Cues -----------------------------------*/ -.grayTheme .ui-state-highlight, .grayTheme .ui-widget-content .ui-state-highlight, .grayTheme .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; } -.grayTheme .ui-state-highlight a, .grayTheme .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } -.grayTheme .ui-state-error, .grayTheme .ui-widget-content .ui-state-error, .grayTheme .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } -.grayTheme .ui-state-error a, .grayTheme .ui-widget-content .ui-state-error a, .grayTheme .ui-widget-header .ui-state-error a { color: #cd0a0a; } -.grayTheme .ui-state-error-text, .grayTheme .ui-widget-content .ui-state-error-text, .grayTheme .ui-widget-header .ui-state-error-text { color: #cd0a0a; } -.grayTheme .ui-priority-primary, .grayTheme .ui-widget-content .ui-priority-primary, .grayTheme .ui-widget-header .ui-priority-primary { font-weight: bold; } -.grayTheme .ui-priority-secondary, .grayTheme .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } -.grayTheme .ui-state-disabled, .grayTheme .ui-widget-content .ui-state-disabled, .grayTheme .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } - -/* Icons -----------------------------------*/ - -/* states and images */ -.grayTheme .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } -.grayTheme .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } -.grayTheme .ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } -.grayTheme .ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); } -.grayTheme .ui-state-hover .ui-icon, .grayTheme .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } -.grayTheme .ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } -.grayTheme .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } -.grayTheme .ui-state-error .ui-icon, .grayTheme .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } - -/* positioning */ -.grayTheme .ui-icon-carat-1-n { background-position: 0 0; } -.grayTheme .ui-icon-carat-1-ne { background-position: -16px 0; } -.grayTheme .ui-icon-carat-1-e { background-position: -32px 0; } -.grayTheme .ui-icon-carat-1-se { background-position: -48px 0; } -.grayTheme .ui-icon-carat-1-s { background-position: -64px 0; } -.grayTheme .ui-icon-carat-1-sw { background-position: -80px 0; } -.grayTheme .ui-icon-carat-1-w { background-position: -96px 0; } -.grayTheme .ui-icon-carat-1-nw { background-position: -112px 0; } -.grayTheme .ui-icon-carat-2-n-s { background-position: -128px 0; } -.grayTheme .ui-icon-carat-2-e-w { background-position: -144px 0; } -.grayTheme .ui-icon-triangle-1-n { background-position: 0 -16px; } -.grayTheme .ui-icon-triangle-1-ne { background-position: -16px -16px; } -.grayTheme .ui-icon-triangle-1-e { background-position: -32px -16px; } -.grayTheme .ui-icon-triangle-1-se { background-position: -48px -16px; } -.grayTheme .ui-icon-triangle-1-s { background-position: -64px -16px; } -.grayTheme .ui-icon-triangle-1-sw { background-position: -80px -16px; } -.grayTheme .ui-icon-triangle-1-w { background-position: -96px -16px; } -.grayTheme .ui-icon-triangle-1-nw { background-position: -112px -16px; } -.grayTheme .ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.grayTheme .ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.grayTheme .ui-icon-arrow-1-n { background-position: 0 -32px; } -.grayTheme .ui-icon-arrow-1-ne { background-position: -16px -32px; } -.grayTheme .ui-icon-arrow-1-e { background-position: -32px -32px; } -.grayTheme .ui-icon-arrow-1-se { background-position: -48px -32px; } -.grayTheme .ui-icon-arrow-1-s { background-position: -64px -32px; } -.grayTheme .ui-icon-arrow-1-sw { background-position: -80px -32px; } -.grayTheme .ui-icon-arrow-1-w { background-position: -96px -32px; } -.grayTheme .ui-icon-arrow-1-nw { background-position: -112px -32px; } -.grayTheme .ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.grayTheme .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.grayTheme .ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.grayTheme .ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.grayTheme .ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.grayTheme .ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.grayTheme .ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.grayTheme .ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.grayTheme .ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.grayTheme .ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.grayTheme .ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.grayTheme .ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.grayTheme .ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.grayTheme .ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.grayTheme .ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.grayTheme .ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.grayTheme .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.grayTheme .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.grayTheme .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.grayTheme .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.grayTheme .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.grayTheme .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.grayTheme .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.grayTheme .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.grayTheme .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.grayTheme .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.grayTheme .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.grayTheme .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.grayTheme .ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.grayTheme .ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.grayTheme .ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.grayTheme .ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.grayTheme .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.grayTheme .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.grayTheme .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.grayTheme .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.grayTheme .ui-icon-arrow-4 { background-position: 0 -80px; } -.grayTheme .ui-icon-arrow-4-diag { background-position: -16px -80px; } -.grayTheme .ui-icon-extlink { background-position: -32px -80px; } -.grayTheme .ui-icon-newwin { background-position: -48px -80px; } -.grayTheme .ui-icon-refresh { background-position: -64px -80px; } -.grayTheme .ui-icon-shuffle { background-position: -80px -80px; } -.grayTheme .ui-icon-transfer-e-w { background-position: -96px -80px; } -.grayTheme .ui-icon-transferthick-e-w { background-position: -112px -80px; } -.grayTheme .ui-icon-folder-collapsed { background-position: 0 -96px; } -.grayTheme .ui-icon-folder-open { background-position: -16px -96px; } -.grayTheme .ui-icon-document { background-position: -32px -96px; } -.grayTheme .ui-icon-document-b { background-position: -48px -96px; } -.grayTheme .ui-icon-note { background-position: -64px -96px; } -.grayTheme .ui-icon-mail-closed { background-position: -80px -96px; } -.grayTheme .ui-icon-mail-open { background-position: -96px -96px; } -.grayTheme .ui-icon-suitcase { background-position: -112px -96px; } -.grayTheme .ui-icon-comment { background-position: -128px -96px; } -.grayTheme .ui-icon-person { background-position: -144px -96px; } -.grayTheme .ui-icon-print { background-position: -160px -96px; } -.grayTheme .ui-icon-trash { background-position: -176px -96px; } -.grayTheme .ui-icon-locked { background-position: -192px -96px; } -.grayTheme .ui-icon-unlocked { background-position: -208px -96px; } -.grayTheme .ui-icon-bookmark { background-position: -224px -96px; } -.grayTheme .ui-icon-tag { background-position: -240px -96px; } -.grayTheme .ui-icon-home { background-position: 0 -112px; } -.grayTheme .ui-icon-flag { background-position: -16px -112px; } -.grayTheme .ui-icon-calendar { background-position: -32px -112px; } -.grayTheme .ui-icon-cart { background-position: -48px -112px; } -.grayTheme .ui-icon-pencil { background-position: -64px -112px; } -.grayTheme .ui-icon-clock { background-position: -80px -112px; } -.grayTheme .ui-icon-disk { background-position: -96px -112px; } -.grayTheme .ui-icon-calculator { background-position: -112px -112px; } -.grayTheme .ui-icon-zoomin { background-position: -128px -112px; } -.grayTheme .ui-icon-zoomout { background-position: -144px -112px; } -.grayTheme .ui-icon-search { background-position: -160px -112px; } -.grayTheme .ui-icon-wrench { background-position: -176px -112px; } -.grayTheme .ui-icon-gear { background-position: -192px -112px; } -.grayTheme .ui-icon-heart { background-position: -208px -112px; } -.grayTheme .ui-icon-star { background-position: -224px -112px; } -.grayTheme .ui-icon-link { background-position: -240px -112px; } -.grayTheme .ui-icon-cancel { background-position: 0 -128px; } -.grayTheme .ui-icon-plus { background-position: -16px -128px; } -.grayTheme .ui-icon-plusthick { background-position: -32px -128px; } -.grayTheme .ui-icon-minus { background-position: -48px -128px; } -.grayTheme .ui-icon-minusthick { background-position: -64px -128px; } -.grayTheme .ui-icon-close { background-position: -80px -128px; } -.grayTheme .ui-icon-closethick { background-position: -96px -128px; } -.grayTheme .ui-icon-key { background-position: -112px -128px; } -.grayTheme .ui-icon-lightbulb { background-position: -128px -128px; } -.grayTheme .ui-icon-scissors { background-position: -144px -128px; } -.grayTheme .ui-icon-clipboard { background-position: -160px -128px; } -.grayTheme .ui-icon-copy { background-position: -176px -128px; } -.grayTheme .ui-icon-contact { background-position: -192px -128px; } -.grayTheme .ui-icon-image { background-position: -208px -128px; } -.grayTheme .ui-icon-video { background-position: -224px -128px; } -.grayTheme .ui-icon-script { background-position: -240px -128px; } -.grayTheme .ui-icon-alert { background-position: 0 -144px; } -.grayTheme .ui-icon-info { background-position: -16px -144px; } -.grayTheme .ui-icon-notice { background-position: -32px -144px; } -.grayTheme .ui-icon-help { background-position: -48px -144px; } -.grayTheme .ui-icon-check { background-position: -64px -144px; } -.grayTheme .ui-icon-bullet { background-position: -80px -144px; } -.grayTheme .ui-icon-radio-off { background-position: -96px -144px; } -.grayTheme .ui-icon-radio-on { background-position: -112px -144px; } -.grayTheme .ui-icon-pin-w { background-position: -128px -144px; } -.grayTheme .ui-icon-pin-s { background-position: -144px -144px; } -.grayTheme .ui-icon-play { background-position: 0 -160px; } -.grayTheme .ui-icon-pause { background-position: -16px -160px; } -.grayTheme .ui-icon-seek-next { background-position: -32px -160px; } -.grayTheme .ui-icon-seek-prev { background-position: -48px -160px; } -.grayTheme .ui-icon-seek-end { background-position: -64px -160px; } -.grayTheme .ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.grayTheme .ui-icon-seek-first { background-position: -80px -160px; } -.grayTheme .ui-icon-stop { background-position: -96px -160px; } -.grayTheme .ui-icon-eject { background-position: -112px -160px; } -.grayTheme .ui-icon-volume-off { background-position: -128px -160px; } -.grayTheme .ui-icon-volume-on { background-position: -144px -160px; } -.grayTheme .ui-icon-power { background-position: 0 -176px; } -.grayTheme .ui-icon-signal-diag { background-position: -16px -176px; } -.grayTheme .ui-icon-signal { background-position: -32px -176px; } -.grayTheme .ui-icon-battery-0 { background-position: -48px -176px; } -.grayTheme .ui-icon-battery-1 { background-position: -64px -176px; } -.grayTheme .ui-icon-battery-2 { background-position: -80px -176px; } -.grayTheme .ui-icon-battery-3 { background-position: -96px -176px; } -.grayTheme .ui-icon-circle-plus { background-position: 0 -192px; } -.grayTheme .ui-icon-circle-minus { background-position: -16px -192px; } -.grayTheme .ui-icon-circle-close { background-position: -32px -192px; } -.grayTheme .ui-icon-circle-triangle-e { background-position: -48px -192px; } -.grayTheme .ui-icon-circle-triangle-s { background-position: -64px -192px; } -.grayTheme .ui-icon-circle-triangle-w { background-position: -80px -192px; } -.grayTheme .ui-icon-circle-triangle-n { background-position: -96px -192px; } -.grayTheme .ui-icon-circle-arrow-e { background-position: -112px -192px; } -.grayTheme .ui-icon-circle-arrow-s { background-position: -128px -192px; } -.grayTheme .ui-icon-circle-arrow-w { background-position: -144px -192px; } -.grayTheme .ui-icon-circle-arrow-n { background-position: -160px -192px; } -.grayTheme .ui-icon-circle-zoomin { background-position: -176px -192px; } -.grayTheme .ui-icon-circle-zoomout { background-position: -192px -192px; } -.grayTheme .ui-icon-circle-check { background-position: -208px -192px; } -.grayTheme .ui-icon-circlesmall-plus { background-position: 0 -208px; } -.grayTheme .ui-icon-circlesmall-minus { background-position: -16px -208px; } -.grayTheme .ui-icon-circlesmall-close { background-position: -32px -208px; } -.grayTheme .ui-icon-squaresmall-plus { background-position: -48px -208px; } -.grayTheme .ui-icon-squaresmall-minus { background-position: -64px -208px; } -.grayTheme .ui-icon-squaresmall-close { background-position: -80px -208px; } -.grayTheme .ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.grayTheme .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.grayTheme .ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.grayTheme .ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.grayTheme .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.grayTheme .ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.grayTheme .ui-corner-all, .grayTheme .ui-corner-top, .grayTheme .ui-corner-left, .grayTheme .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; } -.grayTheme .ui-corner-all, .grayTheme .ui-corner-top, .grayTheme .ui-corner-right, .grayTheme .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; } -.grayTheme .ui-corner-all, .grayTheme .ui-corner-bottom, .grayTheme .ui-corner-left, .grayTheme .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } -.grayTheme .ui-corner-all, .grayTheme .ui-corner-bottom, .grayTheme .ui-corner-right, .grayTheme .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } - -/* Overlays */ -.grayTheme .ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } -.grayTheme .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/* - * jQuery UI Resizable 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */ -.grayTheme .ui-resizable { position: relative;} -.grayTheme .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; } -.grayTheme .ui-resizable-disabled .ui-resizable-handle, .grayTheme .ui-resizable-autohide .ui-resizable-handle { display: none; } -.grayTheme .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } -.grayTheme .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } -.grayTheme .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } -.grayTheme .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } -.grayTheme .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } -.grayTheme .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } -.grayTheme .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.grayTheme .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* - * jQuery UI Selectable 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Selectable#theming - */ -.grayTheme .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } -/* - * jQuery UI Accordion 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Accordion#theming - */ -/* IE/Win - Fix animation bug - #4615 */ -.grayTheme .ui-accordion { width: 100%; } -.grayTheme .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } -.grayTheme .ui-accordion .ui-accordion-li-fix { display: inline; } -.grayTheme .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } -.grayTheme .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } -.grayTheme .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } -.grayTheme .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } -.grayTheme .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } -.grayTheme .ui-accordion .ui-accordion-content-active { display: block; } -/* - * jQuery UI Autocomplete 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Autocomplete#theming - */ -.grayTheme .ui-autocomplete { position: absolute; cursor: default; } - -/* workarounds */ -* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ - -/* - * jQuery UI Menu 1.8.16 - * - * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Menu#theming - */ -.grayTheme .ui-menu { - list-style:none; - padding: 2px; - margin: 0; - display:block; - float: left; -} -.grayTheme .ui-menu .ui-menu { - margin-top: -3px; -} -.grayTheme .ui-menu .ui-menu-item { - margin:0; - padding: 0; - zoom: 1; - float: left; - clear: left; - width: 100%; -} -.grayTheme .ui-menu .ui-menu-item a { - text-decoration:none; - display:block; - padding:.2em .4em; - line-height:1.5; - zoom:1; -} -.grayTheme .ui-menu .ui-menu-item a.ui-state-hover, -.grayTheme .ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; -} -/* - * jQuery UI Button 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Button#theming - */ -.grayTheme .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ -.grayTheme .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ -button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ -.grayTheme .ui-button-icons-only { width: 3.4em; } -button.ui-button-icons-only { width: 3.7em; } - -/*button text element */ -.grayTheme .ui-button .ui-button-text { display: block; line-height: 1.4; } -.grayTheme .ui-button-text-only .ui-button-text { padding: .4em 1em; } -.grayTheme .ui-button-icon-only .ui-button-text, .grayTheme .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } -.grayTheme .ui-button-text-icon-primary .ui-button-text, .grayTheme .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } -.grayTheme .ui-button-text-icon-secondary .ui-button-text, .grayTheme .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } -.grayTheme .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } -/* no icon support for input elements, provide padding by default */ -input.ui-button { padding: .4em 1em; } - -/*button icon element(s) */ -.grayTheme .ui-button-icon-only .ui-icon, .grayTheme .ui-button-text-icon-primary .ui-icon, .grayTheme .ui-button-text-icon-secondary .ui-icon, .grayTheme .ui-button-text-icons .ui-icon, .grayTheme .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } -.grayTheme .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } -.grayTheme .ui-button-text-icon-primary .ui-button-icon-primary, .grayTheme .ui-button-text-icons .ui-button-icon-primary, .grayTheme .ui-button-icons-only .ui-button-icon-primary { left: .5em; } -.grayTheme .ui-button-text-icon-secondary .ui-button-icon-secondary, .grayTheme .ui-button-text-icons .ui-button-icon-secondary, .grayTheme .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } -.grayTheme .ui-button-text-icons .ui-button-icon-secondary, .grayTheme .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } - -/*button sets*/ -.grayTheme .ui-buttonset { margin-right: 7px; } -.grayTheme .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } - -/* workarounds */ -button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ -/* - * jQuery UI Dialog 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Dialog#theming - */ -.grayTheme .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } -.grayTheme .ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } -.grayTheme .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } -.grayTheme .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } -.grayTheme .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } -.grayTheme .ui-dialog .ui-dialog-titlebar-close:hover, .grayTheme .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } -.grayTheme .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } -.grayTheme .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } -.grayTheme .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } -.grayTheme .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } -.grayTheme .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } -.grayTheme .ui-draggable .ui-dialog-titlebar { cursor: move; } -/* - * jQuery UI Slider 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Slider#theming - */ -.grayTheme .ui-slider { position: relative; text-align: left; } -.grayTheme .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } -.grayTheme .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } - -.grayTheme .ui-slider-horizontal { height: .8em; } -.grayTheme .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } -.grayTheme .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } -.grayTheme .ui-slider-horizontal .ui-slider-range-min { left: 0; } -.grayTheme .ui-slider-horizontal .ui-slider-range-max { right: 0; } - -.grayTheme .ui-slider-vertical { width: .8em; height: 100px; } -.grayTheme .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } -.grayTheme .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } -.grayTheme .ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.grayTheme .ui-slider-vertical .ui-slider-range-max { top: 0; }/* - * jQuery UI Tabs 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Tabs#theming - */ -.grayTheme .ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ -.grayTheme .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } -.grayTheme .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } -.grayTheme .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } -.grayTheme .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } -.grayTheme .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .grayTheme .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .grayTheme .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } -.grayTheme .ui-tabs .ui-tabs-nav li a, .grayTheme .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.grayTheme .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } -.grayTheme .ui-tabs .ui-tabs-hide { display: none !important; } -/* - * jQuery UI Datepicker 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Datepicker#theming - */ -.grayTheme .ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } -.grayTheme .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } -.grayTheme .ui-datepicker .ui-datepicker-prev, .grayTheme .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } -.grayTheme .ui-datepicker .ui-datepicker-prev-hover, .grayTheme .ui-datepicker .ui-datepicker-next-hover { top: 1px; } -.grayTheme .ui-datepicker .ui-datepicker-prev { left:2px; } -.grayTheme .ui-datepicker .ui-datepicker-next { right:2px; } -.grayTheme .ui-datepicker .ui-datepicker-prev-hover { left:1px; } -.grayTheme .ui-datepicker .ui-datepicker-next-hover { right:1px; } -.grayTheme .ui-datepicker .ui-datepicker-prev span, .grayTheme .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } -.grayTheme .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } -.grayTheme .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } -.grayTheme .ui-datepicker select.ui-datepicker-month-year {width: 100%;} -.grayTheme .ui-datepicker select.ui-datepicker-month, -.grayTheme .ui-datepicker select.ui-datepicker-year { width: 49%;} -.grayTheme .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.grayTheme .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } -.grayTheme .ui-datepicker td { border: 0; padding: 1px; } -.grayTheme .ui-datepicker td span, .grayTheme .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } -.grayTheme .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; } -.grayTheme .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.grayTheme .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.grayTheme .ui-datepicker.ui-datepicker-multi { width:auto; } -.grayTheme .ui-datepicker-multi .ui-datepicker-group { float:left; } -.grayTheme .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.grayTheme .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.grayTheme .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.grayTheme .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.grayTheme .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.grayTheme .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.grayTheme .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.grayTheme .ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } - -/* RTL support */ -.grayTheme .ui-datepicker-rtl { direction: rtl; } -.grayTheme .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.grayTheme .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.grayTheme .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.grayTheme .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.grayTheme .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.grayTheme .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.grayTheme .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.grayTheme .ui-datepicker-rtl .ui-datepicker-group { float:right; } -.grayTheme .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.grayTheme .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ -.grayTheme .ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ -}/* - * jQuery UI Progressbar 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Progressbar#theming - */ -.grayTheme .ui-progressbar { height:2em; text-align: left; } -.grayTheme .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file diff --git a/legacy_1/library/css/jquery.qtip.min.css b/legacy_1/library/css/jquery.qtip.min.css deleted file mode 100644 index 7a7d7b0..0000000 --- a/legacy_1/library/css/jquery.qtip.min.css +++ /dev/null @@ -1,196 +0,0 @@ -.ui-tooltip,.qtip -{ - position:absolute; - left:-28000px; - top:-28000px; - display:none; - max-width:280px; - min-width:50px; - font-size:0.9em; - line-height:12px; - z-index:15000; -} - -.ui-tooltip-fluid -{ - display:block; - visibility:hidden; - position:static!important; - float:left!important; -} - -.ui-tooltip-content -{ - position:relative; - padding:5px 9px; - overflow:hidden; - border-width:1px; - border-style:solid; - text-align:left; - word-wrap:break-word; - overflow:hidden; -} - -.ui-tooltip-titlebar -{ - position:relative; - min-height:14px; - padding:5px 35px 5px 10px; - overflow:hidden; - border-width:1px 1px 0; - border-style:solid; - font-weight:bold; -} - -.ui-tooltip-titlebar+.ui-tooltip-content -{ - border-top-width:0!important; -} - -/*!Default close button class */ -.ui-tooltip-titlebar .ui-state-default -{ - position:absolute; - right:4px; - top:50%; - margin-top:-9px; - cursor:pointer; - outline:medium none; - border-width:1px; - border-style:solid; -} - -* html .ui-tooltip-titlebar .ui-state-default -{ - top:16px; -} - -.ui-tooltip-titlebar .ui-icon,.ui-tooltip-icon .ui-icon -{ - display:block; - text-indent:-1000em; -} - -.ui-tooltip-icon,.ui-tooltip-icon .ui-icon -{ - -moz-border-radius:3px; - -webkit-border-radius:3px; - border-radius:3px; -} - -.ui-tooltip-icon .ui-icon -{ - width:18px; - height:14px; - text-align:center; - text-indent:0; - font:normal bold 10px/13px Tahoma,sans-serif; - color:inherit; - background:transparent none no-repeat -100em -100em; - -} - -/*!Default tooltip style */ -.ui-tooltip-default .ui-tooltip-titlebar,.ui-tooltip-default .ui-tooltip-content -{ - border-color:#F1D031; - background-color:#FFFFA3; - color:#555; -} - -.ui-tooltip-default .ui-tooltip-titlebar -{ - background-color:#FFEF93; -} - -.ui-tooltip-default .ui-tooltip-icon -{ - border-color:#CCC; - background:#F1F1F1; - color:#777; -} - - -.ui-tooltip-default .ui-tooltip-titlebar .ui-state-hover -{ - border-color:#AAA; - color:#111; -} - - -.ui-tooltip .ui-tooltip-tip -{ - margin:0 auto; - overflow:hidden; - background:transparent!important; - border:0 dashed transparent!important; - z-index:10; -} - -.ui-tooltip .ui-tooltip-tip,.ui-tooltip .ui-tooltip-tip * -{ - position:absolute; - line-height:.1px!important; - font-size:.1px!important; - color:#123456; - background:transparent; - border:0 dashed transparent; -} - -.ui-tooltip .ui-tooltip-tip canvas -{ - top:0; - left:0; -} - -#qtip-overlay -{ - position:fixed; - left:-10000em; - top:-10000em; -} - -#qtip-overlay.blurs -{ - cursor:pointer; -} - -#qtip-overlay div{position:absolute;left:0;top:0;width:100%;height:100%;background-color:black;opacity:.7;filter:alpha(opacity=70);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";}/*!Light tooltip style */ .ui-tooltip-light .ui-tooltip-titlebar,.ui-tooltip-light .ui-tooltip-content{border-color:#E2E2E2;color:#454545;}.ui-tooltip-light .ui-tooltip-content{background-color:white;}.ui-tooltip-light .ui-tooltip-titlebar{background-color:#f1f1f1;}/*!Dark tooltip style */ .ui-tooltip-dark .ui-tooltip-titlebar,.ui-tooltip-dark .ui-tooltip-content{border-color:#303030;color:#f3f3f3;}.ui-tooltip-dark .ui-tooltip-content{background-color:#505050;}.ui-tooltip-dark .ui-tooltip-titlebar{background-color:#404040;}.ui-tooltip-dark .ui-tooltip-icon{border-color:#444;}.ui-tooltip-dark .ui-tooltip-titlebar .ui-state-hover{border-color:#303030;}/*!Cream tooltip style */ .ui-tooltip-cream .ui-tooltip-titlebar,.ui-tooltip-cream .ui-tooltip-content{border-color:#F9E98E;color:#A27D35;}.ui-tooltip-cream .ui-tooltip-content{background-color:#FBF7AA;}.ui-tooltip-cream .ui-tooltip-titlebar{background-color:#F0DE7D;}.ui-tooltip-cream .ui-state-default .ui-tooltip-icon{background-position:-82px 0;}/*!Red tooltip style */ .ui-tooltip-red .ui-tooltip-titlebar,.ui-tooltip-red .ui-tooltip-content{border-color:#D95252;color:#912323;}.ui-tooltip-red .ui-tooltip-content{background-color:#F78B83;}.ui-tooltip-red .ui-tooltip-titlebar{background-color:#F06D65;}.ui-tooltip-red .ui-state-default .ui-tooltip-icon{background-position:-102px 0;}.ui-tooltip-red .ui-tooltip-icon{border-color:#D95252;}.ui-tooltip-red .ui-tooltip-titlebar .ui-state-hover{border-color:#D95252;}/*!Green tooltip style */ .ui-tooltip-green .ui-tooltip-titlebar,.ui-tooltip-green .ui-tooltip-content{border-color:#90D93F;color:#3F6219;}.ui-tooltip-green .ui-tooltip-content{background-color:#CAED9E;}.ui-tooltip-green .ui-tooltip-titlebar{background-color:#B0DE78;}.ui-tooltip-green .ui-state-default .ui-tooltip-icon{background-position:-42px 0;}/*!Blue tooltip style */ .ui-tooltip-blue .ui-tooltip-titlebar,.ui-tooltip-blue .ui-tooltip-content{border-color:#ADD9ED;color:#5E99BD;}.ui-tooltip-blue .ui-tooltip-content{background-color:#E5F6FE;}.ui-tooltip-blue .ui-tooltip-titlebar{background-color:#D0E9F5;}.ui-tooltip-blue .ui-state-default .ui-tooltip-icon{background-position:-2px 0;}/*!Add shadows to your tooltips in:FF3+,Chrome 2+,Opera 10.6+,IE6+,Safari 2+*/ .ui-tooltip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,0.15);}.ui-tooltip-shadow .ui-tooltip-titlebar,.ui-tooltip-shadow .ui-tooltip-content{filter:progid:DXImageTransform.Microsoft.Shadow(Color='gray',Direction=135,Strength=3);-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Color='gray',Direction=135,Strength=3)";_margin-bottom:-3px;.margin-bottom:-3px;}/*!Add rounded corners to your tooltips in:FF3+,Chrome 2+,Opera 10.6+,IE9+,Safari 2+*/ .ui-tooltip-rounded,.ui-tooltip-rounded .ui-tooltip-content,.ui-tooltip-tipsy,.ui-tooltip-tipsy .ui-tooltip-content,.ui-tooltip-youtube,.ui-tooltip-youtube .ui-tooltip-content{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.ui-tooltip-rounded .ui-tooltip-titlebar,.ui-tooltip-tipsy .ui-tooltip-titlebar,.ui-tooltip-youtube .ui-tooltip-titlebar{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0;}.ui-tooltip-rounded .ui-tooltip-titlebar+.ui-tooltip-content,.ui-tooltip-tipsy .ui-tooltip-titlebar+.ui-tooltip-content,.ui-tooltip-youtube .ui-tooltip-titlebar+.ui-tooltip-content{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;}/*!Youtube tooltip style */ .ui-tooltip-youtube{-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333;}.ui-tooltip-youtube .ui-tooltip-titlebar,.ui-tooltip-youtube .ui-tooltip-content{_margin-bottom:0;.margin-bottom:0;background:transparent;background:rgba(0,0,0,0.85);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000)";color:white;border-color:#CCC;}.ui-tooltip-youtube .ui-tooltip-icon{border-color:#222;}.ui-tooltip-youtube .ui-tooltip-titlebar .ui-state-hover{border-color:#303030;}.ui-tooltip-jtools{background:#232323;background:rgba(0,0,0,0.7);background-image:-moz-linear-gradient(top,#717171,#232323);background-image:-webkit-gradient(linear,left top,left bottom,from(#717171),to(#232323));border:2px solid #ddd;border:2px solid rgba(241,241,241,1);-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333;}.ui-tooltip-jtools .ui-tooltip-titlebar{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A)";}.ui-tooltip-jtools .ui-tooltip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323)";}.ui-tooltip-jtools .ui-tooltip-titlebar,.ui-tooltip-jtools .ui-tooltip-content{background:transparent;color:white;border:0 dashed transparent;}.ui-tooltip-jtools .ui-tooltip-icon{border-color:#555;}.ui-tooltip-jtools .ui-tooltip-titlebar .ui-state-hover{border-color:#333;}.ui-tooltip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,0.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,0.4);box-shadow:4px 4px 5px rgba(0,0,0,0.4);}.ui-tooltip-cluetip .ui-tooltip-titlebar{background-color:#87876A;color:white;border:0 dashed transparent;}.ui-tooltip-cluetip .ui-tooltip-content{background-color:#D9D9C2;color:#111;border:0 dashed transparent;}.ui-tooltip-cluetip .ui-tooltip-icon{border-color:#808064;}.ui-tooltip-cluetip .ui-tooltip-titlebar .ui-state-hover{border-color:#696952;color:#696952;}.ui-tooltip-tipsy{border:0;} - - - -.ui-tooltip-tipsy .ui-tooltip-titlebar,.ui-tooltip-tipsy .ui-tooltip-content -{ - _margin-bottom:0; - .margin-bottom:0; - background:transparent; - background:rgba(0,0,0,.87); - filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000); - -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000)"; - color:white; - border:0 transparent; - font-size:11px; font-family:'Lucida Grande',sans-serif;font-weight:bold;line-height:16px;text-shadow:0 1px black;}.ui-tooltip-tipsy .ui-tooltip-titlebar{padding:6px 35px 0 10;}.ui-tooltip-tipsy .ui-tooltip-content{padding:6px 10;}.ui-tooltip-tipsy .ui-tooltip-icon{border-color:#222;text-shadow:none;}.ui-tooltip-tipsy .ui-tooltip-titlebar .ui-state-hover{border-color:#303030;}.ui-tooltip-tipped .ui-tooltip-titlebar,.ui-tooltip-tipped .ui-tooltip-content{border:3px solid #959FA9;filter:none;-ms-filter:none;}.ui-tooltip-tipped .ui-tooltip-titlebar{background-position: 0% 0%; - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D)"; - color: white; - font-weight: normal; - font-family: serif; - border-bottom-width: 0; - -moz-border-radius: 3px 3px 0 0; - -webkit-border-radius: 3px 3px 0 0; - border-radius: 3px 3px 0 0; - background-image: -webkit-gradient(linear,left top,left bottom,from(#3A79B8),to(#2E629D)); - background-color: #3A79B8; - background-repeat: repeat; - background-attachment: scroll; -} - -.ui-tooltip-tipped .ui-tooltip-content -{ - background-color:#F9F9F9; - color:#454545; - -moz-border-radius:0 0 3px 3px; - -webkit-border-radius:0 0 3px 3px; - border-radius:0 0 3px 3px; - } - - .ui-tooltip-tipped .ui-tooltip-icon{border:2px solid #285589;background:#285589;}.ui-tooltip-tipped .ui-tooltip-icon .ui-icon{background-color:#FBFBFB;color:#555;}.ui-tooltip:not(.ie9haxors) div.ui-tooltip-content,.ui-tooltip:not(.ie9haxors) div.ui-tooltip-titlebar{filter:none;-ms-filter:none;} \ No newline at end of file diff --git a/legacy_1/library/css/main.css b/legacy_1/library/css/main.css deleted file mode 100644 index 9b22c33..0000000 --- a/legacy_1/library/css/main.css +++ /dev/null @@ -1,93 +0,0 @@ -@charset "UTF-8"; -body -{ - font: 80% "Segoe UI", "Trebuchet MS", sans-serif; - margin: 50px; - margin-top:0px; -} - -h1 -{ - font-size:1.5em; -} - -h2 -{ - color: #459e00; - font-size:1.2em; - border-bottom-style:solid; - border-bottom-width:1px; - border-bottom-color:#cccccc; -} - -h3 -{ - color: #459e00; - font-size:1.0em; - border-bottom-style:dotted; - border-bottom-width:1px; - border-bottom-color:#cccccc; -} - -hr, hr.hrSpacer -{ - margin-top:10px; - margin-bottom:10px; - height: 1px; - color: #ccc; - background-color: #ccc; - border: none; -} - -/* Links */ -a, a:link, a:active, a:visited -{ - color:#297ed3; - text-decoration:none; -} -a:hover -{ - color:#1667b7; - text-decoration:underline; -} -/* End Links*/ - - -label -{ - font-size:12px; -} -label.left -{ - width:130px; - margin-top:5px; - float:left; - font-weight:bold; -} - -label.above -{ - display:block; -} - -.clearall -{ - clear:all; -} - -.floatLeft -{ - float:left; -} -.floatRight -{ - float:right; -} - -/* -Buttons -*/ -.styled_button {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;} -.styled_button span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;} - - diff --git a/legacy_1/library/css/qunit.css b/legacy_1/library/css/qunit.css deleted file mode 100644 index e114ea0..0000000 --- a/legacy_1/library/css/qunit.css +++ /dev/null @@ -1,226 +0,0 @@ -/** - * QUnit 1.2.0pre - A JavaScript Unit Testing Framework - * - * http://docs.jquery.com/QUnit - * - * Copyright (c) 2011 John Resig, Jörn Zaefferer - * Dual licensed under the MIT (MIT-LICENSE.txt) - * or GPL (GPL-LICENSE.txt) licenses. - */ - -/** Font Family and Sizes */ - -#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult { - font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif; -} - -#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; } -#qunit-tests { font-size: smaller; } - - -/** Resets */ - -#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult { - margin: 0; - padding: 0; -} - - -/** Header */ - -#qunit-header { - padding: 0.5em 0 0.5em 1em; - - color: #8699a4; - background-color: #0d3349; - - font-size: 1.5em; - line-height: 1em; - font-weight: normal; - - border-radius: 15px 15px 0 0; - -moz-border-radius: 15px 15px 0 0; - -webkit-border-top-right-radius: 15px; - -webkit-border-top-left-radius: 15px; -} - -#qunit-header a { - text-decoration: none; - color: #c2ccd1; -} - -#qunit-header a:hover, -#qunit-header a:focus { - color: #fff; -} - -#qunit-banner { - height: 5px; -} - -#qunit-testrunner-toolbar { - padding: 0.5em 0 0.5em 2em; - color: #5E740B; - background-color: #eee; -} - -#qunit-userAgent { - padding: 0.5em 0 0.5em 2.5em; - background-color: #2b81af; - color: #fff; - text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; -} - - -/** Tests: Pass/Fail */ - -#qunit-tests { - list-style-position: inside; -} - -#qunit-tests li { - padding: 0.4em 0.5em 0.4em 2.5em; - border-bottom: 1px solid #fff; - list-style-position: inside; -} - -#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running { - display: none; -} - -#qunit-tests li strong { - cursor: pointer; -} - -#qunit-tests li a { - padding: 0.5em; - color: #c2ccd1; - text-decoration: none; -} -#qunit-tests li a:hover, -#qunit-tests li a:focus { - color: #000; -} - -#qunit-tests ol { - margin-top: 0.5em; - padding: 0.5em; - - background-color: #fff; - - border-radius: 15px; - -moz-border-radius: 15px; - -webkit-border-radius: 15px; - - box-shadow: inset 0px 2px 13px #999; - -moz-box-shadow: inset 0px 2px 13px #999; - -webkit-box-shadow: inset 0px 2px 13px #999; -} - -#qunit-tests table { - border-collapse: collapse; - margin-top: .2em; -} - -#qunit-tests th { - text-align: right; - vertical-align: top; - padding: 0 .5em 0 0; -} - -#qunit-tests td { - vertical-align: top; -} - -#qunit-tests pre { - margin: 0; - white-space: pre-wrap; - word-wrap: break-word; -} - -#qunit-tests del { - background-color: #e0f2be; - color: #374e0c; - text-decoration: none; -} - -#qunit-tests ins { - background-color: #ffcaca; - color: #500; - text-decoration: none; -} - -/*** Test Counts */ - -#qunit-tests b.counts { color: black; } -#qunit-tests b.passed { color: #5E740B; } -#qunit-tests b.failed { color: #710909; } - -#qunit-tests li li { - margin: 0.5em; - padding: 0.4em 0.5em 0.4em 0.5em; - background-color: #fff; - border-bottom: none; - list-style-position: inside; -} - -/*** Passing Styles */ - -#qunit-tests li li.pass { - color: #5E740B; - background-color: #fff; - border-left: 26px solid #C6E746; -} - -#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; } -#qunit-tests .pass .test-name { color: #366097; } - -#qunit-tests .pass .test-actual, -#qunit-tests .pass .test-expected { color: #999999; } - -#qunit-banner.qunit-pass { background-color: #C6E746; } - -/*** Failing Styles */ - -#qunit-tests li li.fail { - color: #710909; - background-color: #fff; - border-left: 26px solid #EE5757; - white-space: pre; -} - -#qunit-tests > li:last-child { - border-radius: 0 0 15px 15px; - -moz-border-radius: 0 0 15px 15px; - -webkit-border-bottom-right-radius: 15px; - -webkit-border-bottom-left-radius: 15px; -} - -#qunit-tests .fail { color: #000000; background-color: #EE5757; } -#qunit-tests .fail .test-name, -#qunit-tests .fail .module-name { color: #000000; } - -#qunit-tests .fail .test-actual { color: #EE5757; } -#qunit-tests .fail .test-expected { color: green; } - -#qunit-banner.qunit-fail { background-color: #EE5757; } - - -/** Result */ - -#qunit-testresult { - padding: 0.5em 0.5em 0.5em 2.5em; - - color: #2b81af; - background-color: #D2E0E6; - - border-bottom: 1px solid white; -} - -/** Fixture */ - -#qunit-fixture { - position: absolute; - top: -10000px; - left: -10000px; -} diff --git a/legacy_1/library/css/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png b/legacy_1/library/css/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png deleted file mode 100644 index a95fa33..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png b/legacy_1/library/css/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png deleted file mode 100644 index 709b5ab..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png b/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png deleted file mode 100644 index f0d2e15..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png b/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png deleted file mode 100644 index bfc39c6..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png b/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png deleted file mode 100644 index 5f60925..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png b/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png deleted file mode 100644 index ca80bff..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png b/legacy_1/library/css/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png deleted file mode 100644 index b33bd7b..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png b/legacy_1/library/css/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png deleted file mode 100644 index 12686a5..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png b/legacy_1/library/css/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png deleted file mode 100644 index 8568394..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-icons_808080_256x240.png b/legacy_1/library/css/south-street/images/ui-icons_808080_256x240.png deleted file mode 100644 index e669d81..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-icons_808080_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-icons_847e71_256x240.png b/legacy_1/library/css/south-street/images/ui-icons_847e71_256x240.png deleted file mode 100644 index b20c322..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-icons_847e71_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-icons_8dc262_256x240.png b/legacy_1/library/css/south-street/images/ui-icons_8dc262_256x240.png deleted file mode 100644 index 0f58025..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-icons_8dc262_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-icons_cd0a0a_256x240.png b/legacy_1/library/css/south-street/images/ui-icons_cd0a0a_256x240.png deleted file mode 100644 index 2ab019b..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-icons_cd0a0a_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-icons_eeeeee_256x240.png b/legacy_1/library/css/south-street/images/ui-icons_eeeeee_256x240.png deleted file mode 100644 index 01bb36b..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-icons_eeeeee_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/images/ui-icons_ffffff_256x240.png b/legacy_1/library/css/south-street/images/ui-icons_ffffff_256x240.png deleted file mode 100644 index 42f8f99..0000000 Binary files a/legacy_1/library/css/south-street/images/ui-icons_ffffff_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/south-street/jquery-ui-1.8.16.custom.css b/legacy_1/library/css/south-street/jquery-ui-1.8.16.custom.css deleted file mode 100644 index b789d5e..0000000 --- a/legacy_1/library/css/south-street/jquery-ui-1.8.16.custom.css +++ /dev/null @@ -1,572 +0,0 @@ -/* - * jQuery UI CSS Framework 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { display: none; } -.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera \*/ -* html .ui-helper-clearfix { height:1%; } -.ui-helper-clearfix { display:block; } -/* end clearfix */ -.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { cursor: default !important; } - - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } - - -/* - * jQuery UI CSS Framework 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - * - * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=segoe%20ui,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=ece8da&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=100&borderColorHeader=d4ccb0&fcHeader=433f38&iconColorHeader=847e71&bgColorContent=f5f3e5&bgTextureContent=04_highlight_hard.png&bgImgOpacityContent=100&borderColorContent=dfd9c3&fcContent=312e25&iconColorContent=808080&bgColorDefault=459e00&bgTextureDefault=04_highlight_hard.png&bgImgOpacityDefault=15&borderColorDefault=327E04&fcDefault=ffffff&iconColorDefault=eeeeee&bgColorHover=67b021&bgTextureHover=03_highlight_soft.png&bgImgOpacityHover=25&borderColorHover=327E04&fcHover=ffffff&iconColorHover=ffffff&bgColorActive=fafaf4&bgTextureActive=04_highlight_hard.png&bgImgOpacityActive=100&borderColorActive=d4ccb0&fcActive=459e00&iconColorActive=8DC262&bgColorHighlight=fcf0ba&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=e8e1b5&fcHighlight=363636&iconColorHighlight=8DC262&bgColorError=ffedad&bgTextureError=03_highlight_soft.png&bgImgOpacityError=95&borderColorError=e3a345&fcError=cd5c0a&iconColorError=cd0a0a&bgColorOverlay=2b2922&bgTextureOverlay=05_inset_soft.png&bgImgOpacityOverlay=15&opacityOverlay=90&bgColorShadow=cccccc&bgTextureShadow=04_highlight_hard.png&bgImgOpacityShadow=95&opacityShadow=20&thicknessShadow=12px&offsetTopShadow=-12px&offsetLeftShadow=-12px&cornerRadiusShadow=10px - */ - - -/* Component containers -----------------------------------*/ -.ui-widget { font-family: segoe ui, Arial, sans-serif; font-size: 1.1em; } -.ui-widget .ui-widget { font-size: 1em; } -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: segoe ui, Arial, sans-serif; font-size: 1em; } -.ui-widget-content { border: 1px solid #dfd9c3; background: #f5f3e5 url(images/ui-bg_highlight-hard_100_f5f3e5_1x100.png) 50% top repeat-x; color: #312e25; } - - -/*Changed by SWR*/ -/*.ui-widget-content a { color: #312e25; }*/ - -.ui-widget-header { border: 1px solid #d4ccb0; background: #ece8da url(images/ui-bg_gloss-wave_100_ece8da_500x100.png) 50% 50% repeat-x; color: #433f38; font-weight: bold; } -.ui-widget-header a { color: #433f38; } - -/* Interaction states -----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #327e04; background: #459e00 url(images/ui-bg_highlight-hard_15_459e00_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #ffffff; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #327e04; background: #67b021 url(images/ui-bg_highlight-soft_25_67b021_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; } -.ui-state-hover a, .ui-state-hover a:hover { color: #ffffff; text-decoration: none; } -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #d4ccb0; background: #fafaf4 url(images/ui-bg_highlight-hard_100_fafaf4_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #459e00; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #459e00; text-decoration: none; } -.ui-widget :active { outline: none; } - -/* Interaction Cues -----------------------------------*/ -.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #e8e1b5; background: #fcf0ba url(images/ui-bg_glass_55_fcf0ba_1x400.png) 50% 50% repeat-x; color: #363636; } -.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } -.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #e3a345; background: #ffedad url(images/ui-bg_highlight-soft_95_ffedad_1x100.png) 50% top repeat-x; color: #cd5c0a; } -.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd5c0a; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd5c0a; } -.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_808080_256x240.png); } -.ui-widget-content .ui-icon {background-image: url(images/ui-icons_808080_256x240.png); } -.ui-widget-header .ui-icon {background-image: url(images/ui-icons_847e71_256x240.png); } -.ui-state-default .ui-icon { background-image: url(images/ui-icons_eeeeee_256x240.png); } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } -.ui-state-active .ui-icon {background-image: url(images/ui-icons_8dc262_256x240.png); } -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_8dc262_256x240.png); } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } - -/* positioning */ -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-off { background-position: -96px -144px; } -.ui-icon-radio-on { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; -khtml-border-top-left-radius: 6px; border-top-left-radius: 6px; } -.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; -khtml-border-top-right-radius: 6px; border-top-right-radius: 6px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; } - -/* Overlays */ -.ui-widget-overlay { background: #2b2922 url(images/ui-bg_inset-soft_15_2b2922_1x100.png) 50% bottom repeat-x; opacity: .90;filter:Alpha(Opacity=90); } -.ui-widget-shadow { margin: -12px 0 0 -12px; padding: 12px; background: #cccccc url(images/ui-bg_highlight-hard_95_cccccc_1x100.png) 50% top repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 10px; -khtml-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; }/* - * jQuery UI Resizable 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */ -.ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; } -.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } -.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } -.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } -.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } -.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } -.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } -.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } -.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* - * jQuery UI Selectable 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Selectable#theming - */ -.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } -/* - * jQuery UI Accordion 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Accordion#theming - */ -/* IE/Win - Fix animation bug - #4615 */ -.ui-accordion { width: 100%; } -.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } -.ui-accordion .ui-accordion-li-fix { display: inline; } -.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } -.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } -.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } -.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } -.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } -.ui-accordion .ui-accordion-content-active { display: block; } -/* - * jQuery UI Autocomplete 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Autocomplete#theming - */ -.ui-autocomplete { position: absolute; cursor: default; } - -/* workarounds */ -* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ - -/* - * jQuery UI Menu 1.8.16 - * - * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Menu#theming - */ -.ui-menu { - list-style:none; - padding: 2px; - margin: 0; - display:block; - float: left; -} -.ui-menu .ui-menu { - margin-top: -3px; -} -.ui-menu .ui-menu-item { - margin:0; - padding: 0; - zoom: 1; - float: left; - clear: left; - width: 100%; -} -.ui-menu .ui-menu-item a { - text-decoration:none; - display:block; - padding:.2em .4em; - line-height:1.5; - zoom:1; -} -.ui-menu .ui-menu-item a.ui-state-hover, -.ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; -} -/* - * jQuery UI Button 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Button#theming - */ -.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ -.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ -button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ -.ui-button-icons-only { width: 3.4em; } -button.ui-button-icons-only { width: 3.7em; } - -/*button text element */ -.ui-button .ui-button-text { display: block; line-height: 1.4; } -.ui-button-text-only .ui-button-text { padding: .4em 1em; } -.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } -.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } -.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } -.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } -/* no icon support for input elements, provide padding by default */ -input.ui-button { padding: .4em 1em; } - -/*button icon element(s) */ -.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } -.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } -.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } -.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } -.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } - -/*button sets*/ -.ui-buttonset { margin-right: 7px; } -.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } - -/* workarounds */ -button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ -/* - * jQuery UI Dialog 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Dialog#theming - */ -.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } -.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } -.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } -.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } -.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } -.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } -.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } -.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } -.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } -.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } -.ui-draggable .ui-dialog-titlebar { cursor: move; } -/* - * jQuery UI Slider 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/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; } -.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } - -.ui-slider-horizontal { height: .8em; } -.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } -.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } -.ui-slider-horizontal .ui-slider-range-min { left: 0; } -.ui-slider-horizontal .ui-slider-range-max { right: 0; } - -.ui-slider-vertical { width: .8em; height: 100px; } -.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } -.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } -.ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.ui-slider-vertical .ui-slider-range-max { top: 0; }/* - * jQuery UI Tabs 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Tabs#theming - */ -.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ -.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } -.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } -.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } -.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } -.ui-tabs .ui-tabs-hide { display: none !important; } -/* - * jQuery UI Datepicker 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/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-year {width: 100%;} -.ui-datepicker select.ui-datepicker-month, -.ui-datepicker select.ui-datepicker-year { width: 49%;} -.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } -.ui-datepicker td { border: 0; padding: 1px; } -.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } -.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } -.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { width:auto; } -.ui-datepicker-multi .ui-datepicker-group { float:left; } -.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } - -/* RTL support */ -.ui-datepicker-rtl { direction: rtl; } -.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.ui-datepicker-rtl .ui-datepicker-group { float:right; } -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ -.ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ -}/* - * jQuery UI Progressbar 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Progressbar#theming - */ -.ui-progressbar { height:2em; text-align: left; } -.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/help.png b/legacy_1/library/css/syntaxhighlighter/2_1_364/help.png deleted file mode 100644 index 5c87017..0000000 Binary files a/legacy_1/library/css/syntaxhighlighter/2_1_364/help.png and /dev/null differ diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/magnifier.png b/legacy_1/library/css/syntaxhighlighter/2_1_364/magnifier.png deleted file mode 100644 index cf3d97f..0000000 Binary files a/legacy_1/library/css/syntaxhighlighter/2_1_364/magnifier.png and /dev/null differ diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/page_white_code.png b/legacy_1/library/css/syntaxhighlighter/2_1_364/page_white_code.png deleted file mode 100644 index 0c76bd1..0000000 Binary files a/legacy_1/library/css/syntaxhighlighter/2_1_364/page_white_code.png and /dev/null differ diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/page_white_copy.png b/legacy_1/library/css/syntaxhighlighter/2_1_364/page_white_copy.png deleted file mode 100644 index a9f31a2..0000000 Binary files a/legacy_1/library/css/syntaxhighlighter/2_1_364/page_white_copy.png and /dev/null differ diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/printer.png b/legacy_1/library/css/syntaxhighlighter/2_1_364/printer.png deleted file mode 100644 index a350d18..0000000 Binary files a/legacy_1/library/css/syntaxhighlighter/2_1_364/printer.png and /dev/null differ diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/shCore.css b/legacy_1/library/css/syntaxhighlighter/2_1_364/shCore.css deleted file mode 100644 index 42062b4..0000000 --- a/legacy_1/library/css/syntaxhighlighter/2_1_364/shCore.css +++ /dev/null @@ -1,330 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - * - * @version - * 2.1.364 (October 15 2009) - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * @license - * This file is part of SyntaxHighlighter. - * - * SyntaxHighlighter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * SyntaxHighlighter is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with SyntaxHighlighter. If not, see . - */ -.syntaxhighlighter, -.syntaxhighlighter div, -.syntaxhighlighter code, -.syntaxhighlighter table, -.syntaxhighlighter table td, -.syntaxhighlighter table tr, -.syntaxhighlighter table tbody -{ - margin: 0 !important; - padding: 0 !important; - border: 0 !important; - outline: 0 !important; - background: none !important; - text-align: left !important; - float: none !important; - vertical-align: baseline !important; - position: static !important; - left: auto !important; - top: auto !important; - right: auto !important; - bottom: auto !important; - height: auto !important; - width: auto !important; - line-height: 1.1em !important; - font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; - font-weight: normal !important; - font-style: normal !important; - font-size: 1em !important; - min-height: inherit !important; /* For IE8, FF & WebKit */ - min-height: auto !important; /* For IE7 */ -} - -.syntaxhighlighter -{ - width: 99% !important; /* 99% fixes IE8 horizontal scrollbar */ - margin: 1em 0 1em 0 !important; - padding: 1px !important; /* adds a little border on top and bottom */ - position: relative !important; -} - -.syntaxhighlighter .bold -{ - font-weight: bold !important; -} - -.syntaxhighlighter .italic -{ - font-style: italic !important; -} - -.syntaxhighlighter .line -{ -} - -.syntaxhighlighter .no-wrap .line .content -{ - white-space: pre !important; -} - -.syntaxhighlighter .line table -{ - border-collapse: collapse !important; -} - -.syntaxhighlighter .line td -{ - vertical-align: top !important; -} - -.syntaxhighlighter .line .number -{ - width: 3em !important; -} - -.syntaxhighlighter .line .number code -{ - width: 2.7em !important; - padding-right: .3em !important; - text-align: right !important; - display: block !important; -} - -.syntaxhighlighter .line .content -{ - padding-left: .5em !important; -} - -.syntaxhighlighter .line .spaces -{ -} - -/* Disable border and margin on the lines when no gutter option is set */ -.syntaxhighlighter.nogutter .line .content -{ - border-left: none !important; -} - -.syntaxhighlighter .bar -{ - display: none !important; -} - -.syntaxhighlighter .bar.show -{ - display: block !important; -} - -.syntaxhighlighter.collapsed .bar -{ - display: block !important; -} - -/* Adjust some properties when collapsed */ - -.syntaxhighlighter.collapsed .lines -{ - display: none !important; -} - -.syntaxhighlighter .lines.no-wrap -{ - overflow: auto !important; - overflow-y: hidden !important; -} - -/* Styles for the toolbar */ - -.syntaxhighlighter .toolbar -{ - position: absolute !important; - right: 0px !important; - top: 0px !important; - font-size: 1px !important; - padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */ -} - -.syntaxhighlighter.collapsed .toolbar -{ - font-size: 80% !important; - padding: .2em 0 .5em .5em !important; - position: static !important; -} - -.syntaxhighlighter .toolbar a.item, -.syntaxhighlighter .toolbar .item -{ - display: block !important; - float: left !important; - margin-left: 8px !important; - background-repeat: no-repeat !important; - overflow: hidden !important; - text-indent: -5000px !important; -} - -.syntaxhighlighter.collapsed .toolbar .item -{ - display: none !important; -} - -.syntaxhighlighter.collapsed .toolbar .item.expandSource -{ - background-image: url(magnifier.png) !important; - display: inline !important; - text-indent: 0 !important; - width: auto !important; - float: none !important; - height: 16px !important; - padding-left: 20px !important; -} - -.syntaxhighlighter .toolbar .item.viewSource -{ - background-image: url(page_white_code.png) !important; -} - -.syntaxhighlighter .toolbar .item.printSource -{ - background-image: url(printer.png) !important; -} - -.syntaxhighlighter .toolbar .item.copyToClipboard -{ - text-indent: 0 !important; - background: none !important; - overflow: visible !important; -} - -.syntaxhighlighter .toolbar .item.about -{ - background-image: url(help.png) !important; -} - -/** - * Print view. - * Colors are based on the default theme without background. - */ - -.syntaxhighlighter.printing, -.syntaxhighlighter.printing .line.alt1 .content, -.syntaxhighlighter.printing .line.alt2 .content, -.syntaxhighlighter.printing .line.highlighted .number, -.syntaxhighlighter.printing .line.highlighted.alt1 .content, -.syntaxhighlighter.printing .line.highlighted.alt2 .content, -{ - background: none !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter.printing .line .number -{ - color: #bbb !important; -} - -/* Add border to the lines */ -.syntaxhighlighter.printing .line .content -{ - color: #000 !important; -} - -/* Toolbar when visible */ -.syntaxhighlighter.printing .toolbar -{ - display: none !important; -} - -.syntaxhighlighter.printing a -{ - text-decoration: none !important; -} - -.syntaxhighlighter.printing .plain, -.syntaxhighlighter.printing .plain a -{ - color: #000 !important; -} - -.syntaxhighlighter.printing .comments, -.syntaxhighlighter.printing .comments a -{ - color: #008200 !important; -} - -.syntaxhighlighter.printing .string, -.syntaxhighlighter.printing .string a -{ - color: blue !important; -} - -.syntaxhighlighter.printing .keyword -{ - color: #069 !important; - font-weight: bold !important; -} - -.syntaxhighlighter.printing .preprocessor -{ - color: gray !important; -} - -.syntaxhighlighter.printing .variable -{ - color: #a70 !important; -} - -.syntaxhighlighter.printing .value -{ - color: #090 !important; -} - -.syntaxhighlighter.printing .functions -{ - color: #ff1493 !important; -} - -.syntaxhighlighter.printing .constants -{ - color: #0066CC !important; -} - -.syntaxhighlighter.printing .script -{ - font-weight: bold !important; -} - -.syntaxhighlighter.printing .color1, -.syntaxhighlighter.printing .color1 a -{ - color: #808080 !important; -} - -.syntaxhighlighter.printing .color2, -.syntaxhighlighter.printing .color2 a -{ - color: #ff1493 !important; -} - -.syntaxhighlighter.printing .color3, -.syntaxhighlighter.printing .color3 a -{ - color: red !important; -} diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeDefault.css b/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeDefault.css deleted file mode 100644 index 3fef10d..0000000 --- a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeDefault.css +++ /dev/null @@ -1,173 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - * - * @version - * 2.1.364 (October 15 2009) - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * @license - * This file is part of SyntaxHighlighter. - * - * SyntaxHighlighter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * SyntaxHighlighter is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with SyntaxHighlighter. If not, see . - */ -/************************************ - * Default Syntax Highlighter theme. - * - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #fff !important; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - color: black !important; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted.alt1, -.syntaxhighlighter .line.highlighted.alt2 -{ - background-color: #e0e0e0 !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #afafaf !important; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #6CE26C !important; - color: #000 !important; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0 !important; -} - -/* First line */ -.syntaxhighlighter .line.alt1 -{ - background-color: #fff !important; -} - -/* Second line */ -.syntaxhighlighter .line.alt2 -{ - background-color: #F8F8F8 !important; -} - -.syntaxhighlighter .toolbar -{ - background-color: #F8F8F8 !important; - border: #E7E5DC solid 1px !important; -} - -.syntaxhighlighter .toolbar a -{ - color: #a0a0a0 !important; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: red !important; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #000 !important; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #008200 !important; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: blue !important; -} - -.syntaxhighlighter .keyword -{ - color: #069 !important; - font-weight: bold !important; -} - -.syntaxhighlighter .preprocessor -{ - color: gray !important; -} - -.syntaxhighlighter .variable -{ - color: #a70 !important; -} - -.syntaxhighlighter .value -{ - color: #090 !important; -} - -.syntaxhighlighter .functions -{ - color: #ff1493 !important; -} - -.syntaxhighlighter .constants -{ - color: #0066CC !important; -} - -.syntaxhighlighter .script -{ - background-color: yellow !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #808080 !important; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #ff1493 !important; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: red !important; -} diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeDjango.css b/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeDjango.css deleted file mode 100644 index 80a8b41..0000000 --- a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeDjango.css +++ /dev/null @@ -1,176 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - * - * @version - * 2.1.364 (October 15 2009) - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * @license - * This file is part of SyntaxHighlighter. - * - * SyntaxHighlighter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * SyntaxHighlighter is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with SyntaxHighlighter. If not, see . - */ -/** - * Django SyntaxHighlighter theme - */ - -/************************************ - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #0B2F20 !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #497958 !important; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #41A83E !important; - color: #B9BDB6 !important; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0 !important; -} - -/* First line */ -.syntaxhighlighter .line.alt1 -{ -} - -/* Second line */ -.syntaxhighlighter .line.alt2 -{ - background-color: #0a2b1d !important; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #336442 !important; - color: #fff !important; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted.alt1, -.syntaxhighlighter .line.highlighted.alt2 -{ - background-color: #336442 !important; -} - -.syntaxhighlighter .toolbar -{ - background-color: #245032 !important; - border: #0B2F20 solid 1px !important; -} - -.syntaxhighlighter .toolbar a -{ - color: #C4B14A !important; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: #FFE862 !important; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #F8F8F8 !important; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #336442 !important; - font-style: italic !important; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #9DF39F !important; -} - -.syntaxhighlighter .keyword -{ - color: #96DD3B !important; - font-weight: bold !important; -} - -.syntaxhighlighter .preprocessor -{ - color: #91BB9E !important; -} - -.syntaxhighlighter .variable -{ - color: #FFAA3E !important; -} - -.syntaxhighlighter .value -{ - color: #F7E741 !important; -} - -.syntaxhighlighter .functions -{ - color: #FFAA3E !important; -} - -.syntaxhighlighter .constants -{ - color: #E0E8FF !important; -} - -.syntaxhighlighter .script -{ - background-color: #497958 !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #EB939A !important; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #91BB9E !important; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: #EDEF7D !important; -} diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeEclipse.css b/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeEclipse.css deleted file mode 100644 index b9cfba0..0000000 --- a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeEclipse.css +++ /dev/null @@ -1,190 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - * - * @version - * 2.1.364 (October 15 2009) - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * @license - * This file is part of SyntaxHighlighter. - * - * SyntaxHighlighter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * SyntaxHighlighter is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with SyntaxHighlighter. If not, see . - */ -/** - * Eclipse IDE SyntaxHighlighter color theme - * (C) Code-House - * http://blog.code-house.org/2009/10/xml-i-adnotacje-kod-ogolnego-przeznaczenia-i-jpa/ - */ - -.syntaxhighlighter -{ - background-color: #fff !important; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #c3defe !important; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted.alt1, -.syntaxhighlighter .line.highlighted.alt2 -{ - background-color: #c3defe !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #787878 !important; - background-color: #fff !important; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 1px solid #d4d0c8 !important; - color: #000 !important; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0 !important; -} - -/* First line */ -.syntaxhighlighter .line.alt1 -{ - background-color: #fff !important; -} - -/* Second line */ -.syntaxhighlighter .line.alt2 -{ - background-color: #fff !important; -} - -.syntaxhighlighter .toolbar -{ - background-color: #F8F8F8 !important; - border: #E7E5DC solid 1px !important; -} - -.syntaxhighlighter .toolbar a -{ - color: #a0a0a0 !important; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: red !important; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #000 !important; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #3f5fbf !important; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #2a00ff !important; -} - -.syntaxhighlighter .keyword -{ - color: #7f0055 !important; - font-weight: bold !important; -} - -.syntaxhighlighter .preprocessor -{ - color: #646464 !important; -} - -.syntaxhighlighter .variable -{ - color: #a70 !important; -} - -.syntaxhighlighter .value -{ - color: #090 !important; -} - -.syntaxhighlighter .functions -{ - color: #ff1493 !important; -} - -.syntaxhighlighter .constants -{ - color: #0066CC !important; -} - -.syntaxhighlighter .script -{ - background-color: yellow !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #808080 !important; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #ff1493 !important; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: red !important; -} - - -.xml .keyword { - color: #3f7f7f !important; - font-weight: normal !important; -} - -.xml .color1, -.xml .color1 a{ - color: #7f007f !important; -} - -.xml .string { - font-style: italic !important; - color: #2a00ff !important; -} \ No newline at end of file diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeEmacs.css b/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeEmacs.css deleted file mode 100644 index ee940c9..0000000 --- a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeEmacs.css +++ /dev/null @@ -1,175 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - * - * @version - * 2.1.364 (October 15 2009) - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * @license - * This file is part of SyntaxHighlighter. - * - * SyntaxHighlighter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * SyntaxHighlighter is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with SyntaxHighlighter. If not, see . - */ -/** - * Emacs SyntaxHighlighter theme based on theme by Joshua Emmons - * http://www.skia.net/ - */ - -/************************************ - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #000000 !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #D3D3D3 !important; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #990000 !important; - color: #B9BDB6 !important; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0 !important; -} - -/* First line */ -.syntaxhighlighter .line.alt1 -{ -} - -/* Second line */ -.syntaxhighlighter .line.alt2 -{ - background-color: #0f0f0f !important; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #435A5F !important; - color: #fff !important; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted.alt1, -.syntaxhighlighter .line.highlighted.alt2 -{ - background-color: #435A5F !important; -} - -.syntaxhighlighter .toolbar -{ - background-color: #000000 !important; - border: #000000 solid 1px !important; -} - -.syntaxhighlighter .toolbar a -{ - color: #646763 !important; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: #9CCFF4 !important; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #D3D3D3 !important; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #FF7D27 !important; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #FF9E7B !important; -} - -.syntaxhighlighter .keyword -{ - color: #00FFFF !important; -} - -.syntaxhighlighter .preprocessor -{ - color: #AEC4DE !important; -} - -.syntaxhighlighter .variable -{ - color: #FFAA3E !important; -} - -.syntaxhighlighter .value -{ - color: #090 !important; -} - -.syntaxhighlighter .functions -{ - color: #81CEF9 !important; -} - -.syntaxhighlighter .constants -{ - color: #FF9E7B !important; -} - -.syntaxhighlighter .script -{ - background-color: #990000 !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #EBDB8D !important; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #FF7D27 !important; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: #AEC4DE !important; -} diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeFadeToGrey.css b/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeFadeToGrey.css deleted file mode 100644 index 879b474..0000000 --- a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeFadeToGrey.css +++ /dev/null @@ -1,177 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - * - * @version - * 2.1.364 (October 15 2009) - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * @license - * This file is part of SyntaxHighlighter. - * - * SyntaxHighlighter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * SyntaxHighlighter is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with SyntaxHighlighter. If not, see . - */ -/** - * Fade to Grey SyntaxHighlighter theme based on theme by Brasten Sager - * http://www.ibrasten.com/ - */ - -/************************************ - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #121212 !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #C3C3C3 !important; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #3185B9 !important; - color: #B9BDB6 !important; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0 !important; -} - -/* First line */ -.syntaxhighlighter .line.alt1 -{ -} - -/* Second line */ -.syntaxhighlighter .line.alt2 -{ - background-color: #000000 !important; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #3A3A00 !important; - color: #fff !important; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted.alt1, -.syntaxhighlighter .line.highlighted.alt2 -{ - background-color: #3A3A00 !important; -} - -.syntaxhighlighter .toolbar -{ - background-color: #000000 !important; - border: #000000 solid 1px !important; -} - -.syntaxhighlighter .toolbar a -{ - color: #808080 !important; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: #96DAFF !important; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #FFFFFF !important; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #696854 !important; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #E3E658 !important; -} - -.syntaxhighlighter .keyword -{ - color: #D01D33 !important; -} - -.syntaxhighlighter .preprocessor -{ - color: #435A5F !important; -} - -.syntaxhighlighter .variable -{ - color: #898989 !important; -} - -.syntaxhighlighter .value -{ - color: #090 !important; -} - -.syntaxhighlighter .functions -{ - color: #AAAAAA !important; - font-weight: bold !important; -} - -.syntaxhighlighter .constants -{ - color: #96DAFF !important; -} - -.syntaxhighlighter .script -{ - background-color: #C3C3C3 !important; - color: #000 !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #FFC074 !important; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #4A8CDB !important; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: #96DAFF !important; -} diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeMidnight.css b/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeMidnight.css deleted file mode 100644 index faf6185..0000000 --- a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeMidnight.css +++ /dev/null @@ -1,175 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - * - * @version - * 2.1.364 (October 15 2009) - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * @license - * This file is part of SyntaxHighlighter. - * - * SyntaxHighlighter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * SyntaxHighlighter is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with SyntaxHighlighter. If not, see . - */ -/** - * Midnight SyntaxHighlighter theme based on theme by J.D. Myers - * http://webdesign.lsnjd.com/ - */ - -/************************************ - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #0F192A !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #38566F !important; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #435A5F !important; - color: #B9BDB6 !important; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0 !important; -} - -/* First line */ -.syntaxhighlighter .line.alt1 -{ - background-color: #0F192A !important; -} - -/* Second line */ -.syntaxhighlighter .line.alt2 -{ - background-color: #0F192A !important; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #253E5A !important; - color: #fff !important; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted.alt1, -.syntaxhighlighter .line.highlighted.alt2 -{ - background-color: #253E5A !important; -} - -.syntaxhighlighter .toolbar -{ - background-color: #0F192A !important; -} - -.syntaxhighlighter .toolbar a -{ - color: #38566F !important; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: #8AA6C1 !important; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #D1EDFF !important; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #428BDD !important; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #1DC116 !important; -} - -.syntaxhighlighter .keyword -{ - color: #B43D3D !important; -} - -.syntaxhighlighter .preprocessor -{ - color: #8AA6C1 !important; -} - -.syntaxhighlighter .variable -{ - color: #FFAA3E !important; -} - -.syntaxhighlighter .value -{ - color: #F7E741 !important; -} - -.syntaxhighlighter .functions -{ - color: #FFAA3E !important; -} - -.syntaxhighlighter .constants -{ - color: #E0E8FF !important; -} - -.syntaxhighlighter .script -{ - background-color: #404040 !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #F8BB00 !important; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #FFFFFF !important; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: #FFAA3E !important; -} diff --git a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeRDark.css b/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeRDark.css deleted file mode 100644 index e87cdc1..0000000 --- a/legacy_1/library/css/syntaxhighlighter/2_1_364/shThemeRDark.css +++ /dev/null @@ -1,175 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - * - * @version - * 2.1.364 (October 15 2009) - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * @license - * This file is part of SyntaxHighlighter. - * - * SyntaxHighlighter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * SyntaxHighlighter is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with SyntaxHighlighter. If not, see . - */ -/** - * RDark SyntaxHighlighter theme based on theme by Radu Dineiu - * http://www.vim.org/scripts/script.php?script_id=1732 - */ - -/************************************ - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #1B2426 !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #B9BDB6 !important; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #435A5F !important; - color: #B9BDB6 !important; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0 !important; -} - -/* First line */ -.syntaxhighlighter .line.alt1 -{ - background-color: #1B2426 !important; -} - -/* Second line */ -.syntaxhighlighter .line.alt2 -{ - background-color: #1B2426 !important; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #435A5F !important; - color: #fff !important; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted.alt1, -.syntaxhighlighter .line.highlighted.alt2 -{ - background-color: #435A5F !important; -} - -.syntaxhighlighter .toolbar -{ - background-color: #1B2426 !important; -} - -.syntaxhighlighter .toolbar a -{ - color: #646763 !important; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: #E0E8FF !important; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #B9BDB6 !important; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #878A85 !important; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: #5CE638 !important; -} - -.syntaxhighlighter .keyword -{ - color: #5BA1CF !important; -} - -.syntaxhighlighter .preprocessor -{ - color: #435A5F !important; -} - -.syntaxhighlighter .variable -{ - color: #FFAA3E !important; -} - -.syntaxhighlighter .value -{ - color: #090 !important; -} - -.syntaxhighlighter .functions -{ - color: #FFAA3E !important; -} - -.syntaxhighlighter .constants -{ - color: #E0E8FF !important; -} - -.syntaxhighlighter .script -{ - background-color: #435A5F !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #E0E8FF !important; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #FFFFFF !important; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: #FFAA3E !important; -} diff --git a/legacy_1/library/css/syntaxhighlighter/shThemeQlikView.css b/legacy_1/library/css/syntaxhighlighter/shThemeQlikView.css deleted file mode 100644 index 6cf9190..0000000 --- a/legacy_1/library/css/syntaxhighlighter/shThemeQlikView.css +++ /dev/null @@ -1,191 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/ - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate - * - * @version - * 2.0.320 (May 03 2009) - * - * @copyright - * Copyright (C) 2004-2009 Alex Gorbatchev. - * - * @license - * This file is part of SyntaxHighlighter. - * - * SyntaxHighlighter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * SyntaxHighlighter is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with SyntaxHighlighter. If not, see . - */ -/************************************ - * Default Syntax Highlighter theme. - * - * Interface elements. - ************************************/ - -.syntaxhighlighter -{ - background-color: #E7E5DC !important; -} - -/* Highlighed line number */ -.syntaxhighlighter .line.highlighted .number -{ - background-color: #6CE26C !important; - color: black !important; -} - -/* Highlighed line */ -.syntaxhighlighter .line.highlighted.alt1 .content, -.syntaxhighlighter .line.highlighted.alt2 .content -{ - background-color: #6CE26C !important; -} - -/* Gutter line numbers */ -.syntaxhighlighter .line .number -{ - color: #5C5C5C !important; -} - -/* Add border to the lines */ -.syntaxhighlighter .line .content -{ - border-left: 3px solid #6CE26C !important; - color: #000 !important; -} - -.syntaxhighlighter.printing .line .content -{ - border: 0 !important; -} - -/* First line */ -.syntaxhighlighter .line.alt1 .content -{ - background-color: #fff !important; -} - -/* Second line */ -.syntaxhighlighter .line.alt2 .content -{ - background-color: #F8F8F8 !important; -} - -.syntaxhighlighter .line .content .block -{ - background: url(wrapping.png) 0 1.1em no-repeat !important; -} - -.syntaxhighlighter .ruler -{ - color: silver !important; - background-color: #F8F8F8 !important; - border-left: 3px solid #6CE26C !important; -} - -.syntaxhighlighter.nogutter .ruler -{ - border: 0 !important; -} - -.syntaxhighlighter .toolbar -{ - background-color: #F8F8F8 !important; - border: #E7E5DC solid 1px !important; -} - -.syntaxhighlighter .toolbar a -{ - color: #a0a0a0 !important; -} - -.syntaxhighlighter .toolbar a:hover -{ - color: red !important; -} - -/************************************ - * Actual syntax highlighter colors. - ************************************/ -.syntaxhighlighter .plain, -.syntaxhighlighter .plain a -{ - color: #000 !important; -} - -.syntaxhighlighter .comments, -.syntaxhighlighter .comments a -{ - color: #008200 !important; -} - -.syntaxhighlighter .string, -.syntaxhighlighter .string a -{ - color: blue !important; -} - -.syntaxhighlighter .keyword -{ - color: #069 !important; - font-weight: bold !important; -} - -.syntaxhighlighter .preprocessor -{ - color: gray !important; -} - -.syntaxhighlighter .variable -{ - color: #a70 !important; -} - -.syntaxhighlighter .value -{ - color: #090 !important; -} - -.syntaxhighlighter .functions -{ - color: #ff1493 !important; -} - -.syntaxhighlighter .constants -{ - color: #0066CC !important; -} - -.syntaxhighlighter .script -{ - background-color: yellow !important; -} - -.syntaxhighlighter .color1, -.syntaxhighlighter .color1 a -{ - color: #808080 !important; -} - -.syntaxhighlighter .color2, -.syntaxhighlighter .color2 a -{ - color: #ff1493 !important; -} - -.syntaxhighlighter .color3, -.syntaxhighlighter .color3 a -{ - color: red !important; -} diff --git a/legacy_1/library/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/legacy_1/library/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png deleted file mode 100644 index 954e22d..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png b/legacy_1/library/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png deleted file mode 100644 index 64ece57..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png b/legacy_1/library/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png deleted file mode 100644 index abdc010..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png b/legacy_1/library/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png deleted file mode 100644 index 9b383f4..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png b/legacy_1/library/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png deleted file mode 100644 index a23baad..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png b/legacy_1/library/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100644 index 42ccba2..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/legacy_1/library/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png deleted file mode 100644 index 1b1972b..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/legacy_1/library/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png deleted file mode 100644 index f127367..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/legacy_1/library/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png deleted file mode 100644 index 359397a..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-icons_222222_256x240.png b/legacy_1/library/css/ui-lightness/images/ui-icons_222222_256x240.png deleted file mode 100644 index b273ff1..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-icons_222222_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-icons_228ef1_256x240.png b/legacy_1/library/css/ui-lightness/images/ui-icons_228ef1_256x240.png deleted file mode 100644 index a641a37..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-icons_228ef1_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-icons_ef8c08_256x240.png b/legacy_1/library/css/ui-lightness/images/ui-icons_ef8c08_256x240.png deleted file mode 100644 index 2675cae..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-icons_ef8c08_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-icons_ffd27a_256x240.png b/legacy_1/library/css/ui-lightness/images/ui-icons_ffd27a_256x240.png deleted file mode 100644 index e117eff..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-icons_ffd27a_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/images/ui-icons_ffffff_256x240.png b/legacy_1/library/css/ui-lightness/images/ui-icons_ffffff_256x240.png deleted file mode 100644 index 42f8f99..0000000 Binary files a/legacy_1/library/css/ui-lightness/images/ui-icons_ffffff_256x240.png and /dev/null differ diff --git a/legacy_1/library/css/ui-lightness/jquery-ui-1.8.16.custom.css b/legacy_1/library/css/ui-lightness/jquery-ui-1.8.16.custom.css deleted file mode 100644 index 5547c7b..0000000 --- a/legacy_1/library/css/ui-lightness/jquery-ui-1.8.16.custom.css +++ /dev/null @@ -1,568 +0,0 @@ -/* - * jQuery UI CSS Framework 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { display: none; } -.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera \*/ -* html .ui-helper-clearfix { height:1%; } -.ui-helper-clearfix { display:block; } -/* end clearfix */ -.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { cursor: default !important; } - - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } - - -/* - * jQuery UI CSS Framework 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - * - * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px - */ - - -/* Component containers -----------------------------------*/ -.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; } -.ui-widget .ui-widget { font-size: 1em; } -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; } -.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; } -.ui-widget-content a { color: #333333; } -.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } -.ui-widget-header a { color: #ffffff; } - -/* Interaction states -----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; } -.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; } -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; } -.ui-widget :active { outline: none; } - -/* Interaction Cues -----------------------------------*/ -.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; } -.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } -.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; } -.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; } -.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } -.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } -.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } -.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } -.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); } - -/* positioning */ -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-off { background-position: -96px -144px; } -.ui-icon-radio-on { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; } -.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } - -/* Overlays */ -.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); } -.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/* - * jQuery UI Resizable 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */ -.ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; } -.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } -.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } -.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } -.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } -.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } -.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } -.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } -.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* - * jQuery UI Selectable 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Selectable#theming - */ -.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } -/* - * jQuery UI Accordion 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Accordion#theming - */ -/* IE/Win - Fix animation bug - #4615 */ -.ui-accordion { width: 100%; } -.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } -.ui-accordion .ui-accordion-li-fix { display: inline; } -.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } -.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } -.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } -.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } -.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } -.ui-accordion .ui-accordion-content-active { display: block; } -/* - * jQuery UI Autocomplete 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Autocomplete#theming - */ -.ui-autocomplete { position: absolute; cursor: default; } - -/* workarounds */ -* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ - -/* - * jQuery UI Menu 1.8.16 - * - * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Menu#theming - */ -.ui-menu { - list-style:none; - padding: 2px; - margin: 0; - display:block; - float: left; -} -.ui-menu .ui-menu { - margin-top: -3px; -} -.ui-menu .ui-menu-item { - margin:0; - padding: 0; - zoom: 1; - float: left; - clear: left; - width: 100%; -} -.ui-menu .ui-menu-item a { - text-decoration:none; - display:block; - padding:.2em .4em; - line-height:1.5; - zoom:1; -} -.ui-menu .ui-menu-item a.ui-state-hover, -.ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; -} -/* - * jQuery UI Button 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Button#theming - */ -.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ -.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ -button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ -.ui-button-icons-only { width: 3.4em; } -button.ui-button-icons-only { width: 3.7em; } - -/*button text element */ -.ui-button .ui-button-text { display: block; line-height: 1.4; } -.ui-button-text-only .ui-button-text { padding: .4em 1em; } -.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } -.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } -.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } -.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } -/* no icon support for input elements, provide padding by default */ -input.ui-button { padding: .4em 1em; } - -/*button icon element(s) */ -.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } -.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } -.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } -.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } -.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } - -/*button sets*/ -.ui-buttonset { margin-right: 7px; } -.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } - -/* workarounds */ -button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ -/* - * jQuery UI Dialog 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Dialog#theming - */ -.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } -.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } -.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } -.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } -.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } -.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } -.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } -.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } -.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } -.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } -.ui-draggable .ui-dialog-titlebar { cursor: move; } -/* - * jQuery UI Slider 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/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; } -.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } - -.ui-slider-horizontal { height: .8em; } -.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } -.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } -.ui-slider-horizontal .ui-slider-range-min { left: 0; } -.ui-slider-horizontal .ui-slider-range-max { right: 0; } - -.ui-slider-vertical { width: .8em; height: 100px; } -.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } -.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } -.ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.ui-slider-vertical .ui-slider-range-max { top: 0; }/* - * jQuery UI Tabs 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Tabs#theming - */ -.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ -.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } -.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } -.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } -.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } -.ui-tabs .ui-tabs-hide { display: none !important; } -/* - * jQuery UI Datepicker 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/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-year {width: 100%;} -.ui-datepicker select.ui-datepicker-month, -.ui-datepicker select.ui-datepicker-year { width: 49%;} -.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } -.ui-datepicker td { border: 0; padding: 1px; } -.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } -.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } -.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { width:auto; } -.ui-datepicker-multi .ui-datepicker-group { float:left; } -.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } - -/* RTL support */ -.ui-datepicker-rtl { direction: rtl; } -.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.ui-datepicker-rtl .ui-datepicker-group { float:right; } -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ -.ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ -}/* - * jQuery UI Progressbar 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Progressbar#theming - */ -.ui-progressbar { height:2em; text-align: left; } -.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file diff --git a/legacy_1/library/flash/2.1.364/clipboard.swf b/legacy_1/library/flash/2.1.364/clipboard.swf deleted file mode 100644 index 1b4d90a..0000000 Binary files a/legacy_1/library/flash/2.1.364/clipboard.swf and /dev/null differ diff --git a/legacy_1/library/icons/add.png b/legacy_1/library/icons/add.png deleted file mode 100644 index 6332fef..0000000 Binary files a/legacy_1/library/icons/add.png and /dev/null differ diff --git a/legacy_1/library/icons/application.png b/legacy_1/library/icons/application.png deleted file mode 100644 index 1dee9e3..0000000 Binary files a/legacy_1/library/icons/application.png and /dev/null differ diff --git a/legacy_1/library/icons/application_form.png b/legacy_1/library/icons/application_form.png deleted file mode 100644 index 807b862..0000000 Binary files a/legacy_1/library/icons/application_form.png and /dev/null differ diff --git a/legacy_1/library/icons/application_form_add.png b/legacy_1/library/icons/application_form_add.png deleted file mode 100644 index 28c2175..0000000 Binary files a/legacy_1/library/icons/application_form_add.png and /dev/null differ diff --git a/legacy_1/library/icons/application_form_edit.png b/legacy_1/library/icons/application_form_edit.png deleted file mode 100644 index af486c9..0000000 Binary files a/legacy_1/library/icons/application_form_edit.png and /dev/null differ diff --git a/legacy_1/library/icons/arrow_back.gif b/legacy_1/library/icons/arrow_back.gif deleted file mode 100644 index 5d9be9a..0000000 Binary files a/legacy_1/library/icons/arrow_back.gif and /dev/null differ diff --git a/legacy_1/library/icons/arrow_refresh_small.png b/legacy_1/library/icons/arrow_refresh_small.png deleted file mode 100644 index d3087df..0000000 Binary files a/legacy_1/library/icons/arrow_refresh_small.png and /dev/null differ diff --git a/legacy_1/library/icons/block-icon.png b/legacy_1/library/icons/block-icon.png deleted file mode 100644 index ed7ec0e..0000000 Binary files a/legacy_1/library/icons/block-icon.png and /dev/null differ diff --git a/legacy_1/library/icons/block-share-icon.png b/legacy_1/library/icons/block-share-icon.png deleted file mode 100644 index fb7c55b..0000000 Binary files a/legacy_1/library/icons/block-share-icon.png and /dev/null differ diff --git a/legacy_1/library/icons/comment.png b/legacy_1/library/icons/comment.png deleted file mode 100644 index 7bc9233..0000000 Binary files a/legacy_1/library/icons/comment.png and /dev/null differ diff --git a/legacy_1/library/icons/comment_add.png b/legacy_1/library/icons/comment_add.png deleted file mode 100644 index 75e78de..0000000 Binary files a/legacy_1/library/icons/comment_add.png and /dev/null differ diff --git a/legacy_1/library/icons/delete.png b/legacy_1/library/icons/delete.png deleted file mode 100644 index 08f2493..0000000 Binary files a/legacy_1/library/icons/delete.png and /dev/null differ diff --git a/legacy_1/library/icons/dialog_error_32x32.png b/legacy_1/library/icons/dialog_error_32x32.png deleted file mode 100644 index bd0b8a0..0000000 Binary files a/legacy_1/library/icons/dialog_error_32x32.png and /dev/null differ diff --git a/legacy_1/library/icons/highlight.gif b/legacy_1/library/icons/highlight.gif deleted file mode 100644 index 7fd2bf8..0000000 Binary files a/legacy_1/library/icons/highlight.gif and /dev/null differ diff --git a/legacy_1/library/icons/page_copy.png b/legacy_1/library/icons/page_copy.png deleted file mode 100644 index 195dc6d..0000000 Binary files a/legacy_1/library/icons/page_copy.png and /dev/null differ diff --git a/legacy_1/library/icons/table_go.png b/legacy_1/library/icons/table_go.png deleted file mode 100644 index 0528dfa..0000000 Binary files a/legacy_1/library/icons/table_go.png and /dev/null differ diff --git a/legacy_1/library/icons/ui-text-field-select-icon.png b/legacy_1/library/icons/ui-text-field-select-icon.png deleted file mode 100644 index 3cfe301..0000000 Binary files a/legacy_1/library/icons/ui-text-field-select-icon.png and /dev/null differ diff --git a/legacy_1/library/images/Beta_Badge.png b/legacy_1/library/images/Beta_Badge.png deleted file mode 100644 index 9ae2589..0000000 Binary files a/legacy_1/library/images/Beta_Badge.png and /dev/null differ diff --git a/legacy_1/library/js/SetAnalysisDefinition.js b/legacy_1/library/js/SetAnalysisDefinition.js deleted file mode 100644 index 638fe50..0000000 --- a/legacy_1/library/js/SetAnalysisDefinition.js +++ /dev/null @@ -1,259 +0,0 @@ -function SetAnalysisDefinition() { - - // Public Properties - this.SetIdentifier = '$'; // SetIdentifier - this.SetIdentifierDesc = null; // Description for the Set Identifier - this.AggregationType = null; // AggregationType (just a property bag) - this.AggregationTypeDesc = null; // AggregationType Description (just a property bag) - this.FieldExpression = null; // FieldExpression - this.Bookmark = null; // Id or name of the bookmark - this.PersonalComment = null; // PersonalComment - this.Expression = null; // Final expression - this.QlikViewVersion = 100000; // QlikView compatibility mode used ... - this.PureDescription = ""; // Pure Description - - this.Version = window.assemblyVersion; // Version of the application (based on the assembly) - - // Child class ... - this.SetModifierActions = null; // Array of SetModifierAction - - // ################################################################# - // Public Methods - // ################################################################# - - //Todo: Comment this - this.Calculate = function () { - this.Expression = this.GetSAExpression(); - } // (Calculate) - - // Initialize the simple values - this.Init = function (obj) { - for (var key in obj) { - if (obj.hasOwnProperty(key)) { - this[key] = obj[key]; - } - } - } // (Init) - - this.InitDeep = function (obj) { - this.Init(obj); - if (obj.SetModifierActions != null && obj.SetModifierActions.length > 0) { - var sm_Array = new Array(); - for (var i = 0; i < obj.SetModifierActions.length; i++) { - var sm = new SetModifierAction(); - sm.InitFromJson(obj.SetModifierActions[i]); - sm_Array.push(sm); - } - this.SetModifierActions = sm_Array; - } - } - - // Return only the expression - //Todo: Old: SADefinition_GetSAExpression - this.GetSAExpression = function () { - - // {aggr_type}({{set_expression}}{field_expression}) - // sum({{set_expression}}{field_expression}) - var templ = this.getBaseTemplate(); - - // First set the aggregation type - // (sum, count, etc.) - templ = templ.replace("{aggr_type}", this.AggregationType); - - // Build the set expression - templ = templ.replace("{set_expression}", this.getSetExpression()); - - // Set the field or expression - templ = templ.replace("{field_expression}", bracketize(this.FieldExpression)); - - return templ; - - } // (GetSAExpression) - - - this.GetSetIdentifierDescription = function () { - - switch (this.SetIdentifier) { - case "bookmark": - case "$+bookmark": - case "$*bookmark": - case "$-bookmark": - return this.SetIdentifierDesc.replace("{0}", this.Bookmark); - break; - default: - return this.SetIdentifierDesc; - break; - } - - } - - // Get the description for the SA - // Change this for working based on an object - //Todo:Comment - //Todo:Format comment - //Todo: Old: SADefinition_GetDescription - - - this.GetDescription = function (saveOnServer) { - - // Constants - var cSepMain = "// ---------------------------------------------------------------------\n"; // Main Separator - var cComment = "// "; // Comment - var cLB = "\n"; // Line Break - var cMarkerEndMain = ""; // Marker for the main set - - var descriptionFinal = this.InitPureDescription(saveOnServer); - descriptionFinal = descriptionFinal.replace(/{cSepMain}/g, cSepMain); - descriptionFinal = descriptionFinal.replace(/{cComment}/g, cComment); - descriptionFinal = descriptionFinal.replace(/{cLB}/g, cLB); - descriptionFinal = descriptionFinal.replace(/{cMarkerEndMain}/g, cMarkerEndMain); - - return descriptionFinal; - - } // (GetDescription) - - this.InitPureDescription = function (saveOnServer) { - - if (saveOnServer == null || saveOnServer == 'undefined') { - saveOnServer = false; - } - - var desc = ''; - - // sep - desc += "{cSepMain}"; - - // 1st line - desc += '{cComment}Calculate the '; - desc += this.AggregationTypeDesc + ' of \"'; - //Todo: distinguish between a field an expressions - desc += this.FieldExpression + '\"{cLB}'; - - desc += '{cComment}based on ' + this.GetSetIdentifierDescription() + '{cLB}'; - desc += '{cMarkerEndMain}'; - - if ($.isArray(this.SetModifierActions) && this.SetModifierActions.length > 0) { - - // 2nd line - desc += '{cComment}~~{cLB}'; - desc += '{cComment}but before calculating{cLB}'; - - // 3rd line - var sm_d = new Array(); //temporary array for building the string - for (var i = 0; i < this.SetModifierActions.length; i++) { - sm_d.push('{cComment}' + multiplyString(' ', 5) + '- ' + this.SetModifierActions[i].GetDescription()); - } - desc += sm_d.join('{cLB}'); - - desc += '{cLB}'; - } - - // Personal Comment - if (this.PersonalComment != null && this.PersonalComment != 'undefined' && this.PersonalComment != '') { - - desc += "{cComment}~~~~{cLB}"; - desc += '{cComment}Personal comment:{cLB}'; - //Todo: fix this, /g does not work?? - desc += '{cComment}' + multiplyString(' ', 4) + this.PersonalComment.replace(/\n/g, '\n// ') + '{cLB}'; - } - - - desc += "{cComment}~~~~{cLB}"; - if (saveOnServer) { - desc += "{cComment}Reopen or share this result by using the following Url:{cLB}"; - desc += "{cComment}http://tools.qlikblog.at/SetAnalysisWizard/?sa=" + $StorageKey + "{cLB}"; - } - else { - desc += "{cComment}Created by http://tools.qlikblog.at/SetAnalysisWizard/ {cLB}"; - } - - - // sep-end - desc += "{cSepMain}"; - - this.PureDescription = desc; - - return desc; - - - } // (InitPureDescription) - - // ################################################################# - // Private Methods - // ################################################################# - - // Return the base template for the set analysis expression - this.getBaseTemplate = function () { - - // sum({set}field) - var templ = "{aggr_type}({{set_expression}}{field_expression})" - return templ; - - } // (getBaseTemplate) - - - // Return the Set identifier from combo box - // (1 | $ | $N |$_N | bookmark_id | bookmark_name) - this.getSetIdentifier = function () { - - // Deal with the special case of bookmarks - // In any other case just return the set identifier ... - switch (this.SetIdentifier) { - case "bookmark": - return this.Bookmark; - break; - case "$*bookmark": - return "$*" + this.Bookmark; - break; - case "$-bookmark": - return "$-" + this.Bookmark; - break; - case "$+bookmark": - return "$+" + this.Bookmark; - break; - default: - return this.SetIdentifier; - break; - - } - } // (getSetIdentifier) - - - - // This is the main function to build the set expression - this.getSetExpression = function () { - var val = ""; - - var sa_templ = "{set_identifier}<{set_modifier}>"; - val = sa_templ.replace("{set_identifier}", this.getSetIdentifier()); - sm = this.getSetModifier(); - val = val.replace("{set_modifier}", sm); - if (sm.length == 0) { - val = val.replace('<>', ''); - } - return val; - - } // (getSetExpression) - - // Return a string representing all Set Modifiers for the SA expression - this.getSetModifier = function () { - - var r = ""; // return value - if (this.SetModifierActions != null && this.SetModifierActions.length > 0) { - - var sm = new Array(); - for (var i = 0; i < this.SetModifierActions.length; i++) { - sm.push(this.SetModifierActions[i].GetModifier()); - } - r = sm.join(','); - } - return r; - } // (getSetModifier) - - - -} //(SetAnalysisDefinition) - - - - diff --git a/legacy_1/library/js/SetAnalysisWizard.js b/legacy_1/library/js/SetAnalysisWizard.js deleted file mode 100644 index 03236cf..0000000 --- a/legacy_1/library/js/SetAnalysisWizard.js +++ /dev/null @@ -1,69 +0,0 @@ - -// JSON Validator -// http: //jsonlint.com/ - -// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -// General rule -// Storage is within the form -// the rest should be placed within the objects ... (if it makes sense) -// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -// -// Technical Note: -// All combo-boxes: if the click eventhandler is available, we do not need the change-event handler !!! -// Namespace: -// http://stackoverflow.com/questions/881515/javascript-namespace-declaration - -// Future versions: -// - Validation for SetModifier Form -// - Log Server Errors -// - Include validation on main definition -// - Log JS Errors -// - Idea: -// * when hovering a row in the actioncontainer, highlight the set modifier in the preview -// * add an icons and show only the set modifier -// - Open Key with Http-Get (separate page) => Test Expressions in QV -// - QlikView version => enable/disable functionality - - -// Examples: -// - Test {''} the quotes!!! as default!!! -// - Advanced Expressions -// - Date Comparison -// - Nested: http://community.qlikview.com/message/166796#166796 -// - Rolling -// - Concat -// - GetFieldSelections -// - Distinct - - - -// Todos: -// Add the Meta-Tags also to the sample-pages -// Close all inline-Todos (!!!) :) -// Add a "free" Set Modifier by just defining the modifier (without assistant) => Expert Mode -// Help: http://plugins.learningjquery.com/cluetip/demo/ or better http://craigsworks.com/projects/qtip2/demos/#tips -// Clean Code -// Work through all the "Todo"s ... -// Format help - - - - -// Not covered -// sum( {1} Total Sales ) - - -// Document Ready - All -$(document).ready(function () { - - - - - - -});// (document.ready()) - - - - - diff --git a/legacy_1/library/js/SetAnalysisWizard_HideDebugTab.js b/legacy_1/library/js/SetAnalysisWizard_HideDebugTab.js deleted file mode 100644 index 11582c2..0000000 --- a/legacy_1/library/js/SetAnalysisWizard_HideDebugTab.js +++ /dev/null @@ -1,5 +0,0 @@ -$(document).ready(function () { - if (!PAGE_DEBUG) { - $tabs = $("#tabs").tabs("remove", 4); - } -}); \ No newline at end of file diff --git a/legacy_1/library/js/SetAnalysisWizard_ServerStorage.js b/legacy_1/library/js/SetAnalysisWizard_ServerStorage.js deleted file mode 100644 index 7b7ecec..0000000 --- a/legacy_1/library/js/SetAnalysisWizard_ServerStorage.js +++ /dev/null @@ -1,149 +0,0 @@ -$(document).ready(function () { - - - // ----------------------------------------------------------------- - // Tiggers saving of the current SA-definition on server - // ~~ - // Callback function - // Saving_OnSuccess - // Saving_OnError - // ----------------------------------------------------------------- - window.SaveSADefinitionOnServer = function () { - - // First get the current SA definition - var currentSADefinition = new SetAnalysisDefinition(); - currentSADefinition = SADefinition_FromForm(); - - var currentSADefinitionString = JSON.stringify(currentSADefinition); ; - - block('Saving result ...'); - - - // Trigger saving on server (calling the webservice) - $.ajax({ - type: "POST", - contentType: "application/json; charset=utf-8", - url: "SetAnalysisWizardStorage.asmx/SaveSetAnalysisDefinition", - data: "{key:'" + $StorageKey + "',session:'" + $Session + "',value:'" + escape(currentSADefinitionString) + "'}", - dataType: "json", - success: Saving_OnSuccess, - error: Saving_OnError - }); // (ajax) - - } // (SaveSADefinitionOnServer) - - // ----------------------------------------------------------------- - // Callback for "SaveSADefinitionOnServer" - // ----------------------------------------------------------------- - function Saving_OnSuccess(result) { - try { - $StorageKey = result.d.Key; - $Session = result.d.Session; - Form_Update_ByCurrentSA(); - - if (window.$StorageKey != null) { - $('#lnkShare').removeAttr('disabled'); - } - - - } catch (e) { - errorAlert("An error occured after saving the definition:
" + e.message); - } - finally { - unblock(); - } - return; - - } // (Saving_OnSuccess) - - // ----------------------------------------------------------------- - //Todo: Comment - // ----------------------------------------------------------------- - function Saving_OnError(result) { - unblock(); - errorAlert('An error occured while saving the definition on server:

Status:' + result.status + '
Detailed Info:' + result.statusText); - } // (Saving_OnError) - - // ################################################################# - // Initialization by QueryString - // ################################################################# - window.initFromQueryString = function () { - - var q = getParameterByName('sa'); - if (q.length > 0) { - LoadDefinitionFromServer(q); - } - } // (initFromQueryString) - - // ----------------------------------------------------------------- - //Todo: Comment - // ----------------------------------------------------------------- - window.LoadDefinitionFromServer = function (key, successCallback, errorCallback) { - - block('Loading Set Analysis expression from server ...'); - - // Default values - if (successCallback == 'undefined' || successCallback == null) { - successCallback = LoadDefinition_OnSuccess; - } - if (errorCallback == 'undefined' || errorCallback == null) { - errorCallback = LoadDefinition_OnError; - } - - $.ajax({ - type: "POST", - contentType: "application/json; charset=utf-8", - url: "SetAnalysisWizardStorage.asmx/GetSetAnalysisDefinition", - data: "{key:'" + key + "'}", - dataType: "json", - success: successCallback, - error: errorCallback - }); // (ajax) - } // (LoadDefinitionFromServer) - - // ----------------------------------------------------------------- - //Todo: UIBlock - // ----------------------------------------------------------------- - window.LoadDefinition_OnSuccess = function (result) { - - if (result.d != null && result.d.length > 0) { - - var oSA = new SetAnalysisDefinition(); - var o = JSON.parse(result.d); - - oSA.InitDeep(o); - BindForm(oSA); - - } - else { - - window.errorAlert('Cannot bind existing definition!!!

Please try it again!'); - - } - unblock(); - } // (LoadDefinition_OnSuccess) - - // ----------------------------------------------------------------- - //Todo: Comment - // ----------------------------------------------------------------- - window.LoadDefinition_OnError = function (result) { - window.errorAlert('An error occured while loading the definition from server:

Status: ' + result.status + '
Detailed Info:' + result.statusText); - unblock(); - } // (LoadDefinition_OnError) - - - // ----------------------------------------------------------------- - // - // ----------------------------------------------------------------- - window.getParameterByName = function (name) { - name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); - var regexS = "[\\?&]" + name + "=([^&#]*)"; - var regex = new RegExp(regexS); - var results = regex.exec(window.location.href); - if (results == null) - return ""; - else - return decodeURIComponent(results[1].replace(/\+/g, " ")); - } // (getParameterByName) - -}); \ No newline at end of file diff --git a/legacy_1/library/js/SetAnalysisWizard_UI.js b/legacy_1/library/js/SetAnalysisWizard_UI.js deleted file mode 100644 index 04a7938..0000000 --- a/legacy_1/library/js/SetAnalysisWizard_UI.js +++ /dev/null @@ -1,1125 +0,0 @@ -$(document).ready(function () { - - // Initialize all global variables and calls - Init(); - - - // Global variables to store the SessionKey and StorageKey - //Todo: Rename $Session to $SessionKey (both client & server side) - //Todo: Still used?? - window.$Session = ""; - window.$StorageKey = ""; - - // Global variable to store the amount of actions within the action container - // Note: this is more not a counter but a unique id, so if an action will be - // deleted setModifiers_Num will not be redimensioned - window.setModifiers_Num = 0; - - - window.exampleLoaded = false; //Indicates, that the example has not been loaded, yet - - // Global variables - window.$SetExpression = null; //Todo: what's this - - - -}); - - // Initalize all global vars -window.Init = function () { - - // Init (Overall initialization) - InitSetAnalysisWizard(); - - // Add all event handler necessary ... - Form_AddEventHandler(); - ActionForm_AddEventHandler(); - - // Main Hide/Show - $('#divLoading').hide(); - $('#divMain').show(); - -} - -window.GetBaseLink = function () { - return window.location.protocol + "//" + window.location.hostname + "" + window.location.pathname.replace("QlikView-SetAnalysis_Wizard_and_Generator.aspx", ""); -} - -window.GetShareLink = function () { - return GetBaseLink() + "?sa=" + this.$StorageKey; -} - - - // ################################################################# - // General UI functionality - // ################################################################# - - // ----------------------------------------------------------------- - // Main function to get the Set Analysis expression ... - // ~~ - // Description: - // - // Returns: - // Returns the output to be used in the textarea to copy everythin - // (Description + Expression) - // ----------------------------------------------------------------- - window.GetSA_Output = function () { - - //Todo: Check that: - // Maybe recalling is not necessary at all if $SetExpression is up to date all the time - var s = new SetAnalysisDefinition(); - s = SADefinition_FromForm(); - s.Calculate(); - $SetExpression = s; //Todo: Check again, if we need that? - - var saveOnServer = $('#chkSaveResultOnServer').attr('checked'); - - return s.GetDescription(saveOnServer) + '=' + s.GetSAExpression(); - - } // (GetSA_Output) - - - // ----------------------------------------------------------------- - // Initialize the application, the form and everything :) - // ----------------------------------------------------------------- - window.InitSetAnalysisWizard = function () { - - - // Check wheater there is a querystring with "sa", if - // yes, load the value from the webservice - initFromQueryString(); - - //Todo: is this really the right place??? - ActionContainer_AfterUpdate(); - - //Todo: is this the right place?? - ActionForm_HideAllUIObjects(); - - setQVVersion(); - - Form_Update_ByCurrentSA(); - - // Accordion - Examples - // Must be activated before activating tabs!! - $("#accordion").accordion({ - //animated: 'bounceslide', - minHeight: 800, - autoheight: true, - fillSpace: true - - }); - - - - // Tabify - $tabs = $("#tabs").tabs(); - - - // Tooltips - // Match all links with a title tag and use it as the content (default). - $('a.qtippable[title]').qtip(); - - $('input').customInput(); - - - - } // (InitSetAnalysisWizard) - - - //Todo: can be deleted because it is replaced by BindActionFrom - //Todo: Comment & Format Comment - // Clear/Re-Initializes everything on the page - window.ClearForm = function () { - - // Reset all Select fields which are marked as "clearable" - $("select.clearable").each(function () { - // set its value to its first option - $(this).val($("#" + $(this).attr("id") + " option:first").val()); - }); - - // Reset all Select fields which are marked as "clearable" - $("input.clearable").each(function () { - // set its value to its first option - $(this).val(''); - }); - - } // (ClearForm) - - - // ################################################################# - // SetAnalysisDefinition - General - // ################################################################# - - // ----------------------------------------------------------------- - // Init_FromForm - // ~~ - // Inits all values from form and returns a SetAnalysisDefinition-object - // (SetAnalysisDefinition and Array of SetModifierActions) - // ----------------------------------------------------------------- - window.Init_FromForm = function () { - - var objSAD = new SetAnalysisDefinition(); - objSAD = SADefinition_FromForm(); - objSAD.SetModifierActions = ActionContainer_GetObjectsFromContainer(); - - return objSAD; - - - } - - - // ----------------------------------------------------------------- - // BindForm - // ~~ - // Set all form values from SetAnalysisDefinition object - // ----------------------------------------------------------------- - window.BindForm = function(setAnalysisDefinition) { - - $('#cboSetIdentifier').val(setAnalysisDefinition.SetIdentifier); - $('#cboAggregationType').val(setAnalysisDefinition.AggregationType); - $('#txtFieldExpression').val(setAnalysisDefinition.FieldExpression); - $('#txtBookmarkId').val(setAnalysisDefinition.Bookmark); - $('#txtPersonalComment').val(setAnalysisDefinition.PersonalComment); - $('#cboQVVersion').val(setAnalysisDefinition.QlikViewVersion); - - // Hide/Show Personal Comments depending on the props value - $('#divPersonalComment').toggle(!nullOrEmpty(setAnalysisDefinition.PersonalComment)); - $('#divPersonalCommentEOF').toggle(nullOrEmpty(setAnalysisDefinition.PersonalComment)); - - - // Bind the actions container - if (setAnalysisDefinition.SetModifierActions != null && $.isArray(setAnalysisDefinition.SetModifierActions)) { - - for (var i = 0; i < setAnalysisDefinition.SetModifierActions.length; i++) { - var o = setAnalysisDefinition.SetModifierActions[i]; - ActionContainer_AddChange_SetModifierAction(o); - } - } - - // Init form depending on various selections ... - Form_Update_BySetIdentifier(); - - // Set the output - Form_Update_ByCurrentSA(); - - - } // (BindForm) - - // ----------------------------------------------------------------- - // SADefinition_FromForm() - // ~~ - //Todo: //OLD: InitSADefinitionFromForm - // Load values (only for the SetAnalysisDefinition (without SetModifierActions) - // from existing form - // ----------------------------------------------------------------- - window.SADefinition_FromForm = function () { - - var objSAD = new SetAnalysisDefinition(); - - //objSAD.SetIdentifier = $('#cboSetIdentifier').val(); - objSAD.SetIdentifier = $("#cboSetIdentifier :selected").attr("value"); - objSAD.SetIdentifierDesc = $("#cboSetIdentifier :selected").attr("text"); - - // Get the type of aggregation from the combo box (sum | avg | xxx) - objSAD.AggregationType = $("#cboAggregationType :selected").val(); - - // Set the description for the AggregationType - objSAD.AggregationTypeDesc = $("#cboAggregationType :selected").text(); - - // Get the field expressions (will be trimmed but not bracketized) - objSAD.FieldExpression = trim($("#txtFieldExpression").val()); - objSAD.Bookmark = $('#txtBookmarkId').val(); - objSAD.PersonalComment = $('#txtPersonalComment').val(); - objSAD.QlikViewVersion = $('#cboQVVersion').val(); - - objSAD.SetModifierActions = ActionContainer_GetObjectsFromContainer(); - - objSAD.Calculate(); - - return objSAD; - - } // (SADefinition_FromForm) - - - - - - /* ----------------------------------------------------------------------------------*/ - /* Base Templates */ - - - - - // ################################################################# - // Event Handler Definition + Event Handler MAIN FORM - // ################################################################# - - // ----------------------------------------------------------------- - // Add all event handler needed for the main form - // ----------------------------------------------------------------- - window.Form_AddEventHandler = function () { - - // ----------------------------------------------------------------- - // Events on Tab 0 - Set Analysis Definition - - // SET IDENTIFIER (current selection, all values, etc.) - - $('#cboSetIdentifier').bind('click change', function () { - Form_Update_BySetIdentifier(); - Form_Update_ByCurrentSA(); - }); - // Events for keyup (only if the key is arrow-up or arrow-down) - $('#cboSetIdentifier').keyup(function (event) { - if (event.keyCode == '38' || event.keyCode == '40') { - Form_Update_BySetIdentifier(); - Form_Update_ByCurrentSA(); - } - }); - - // BOOKMARK (NAME OR ID) - $('#txtBookmarkId').bind('keyup', Form_Update_ByCurrentSA); - - // Personal Comment - //Todo: Delete the old one ... - //$('#txtPersonalComment').keyup(function () { Form_Update_ByCurrentSA(); }).attr("onkeyup", function () { Form_Update_ByCurrentSA(); }); - $('#txtPersonalComment').bind('keyup', Form_Update_ByCurrentSA); - - - // AGGREGATION TYPE (sum, count, etc.) - $('#cboAggregationType').bind('click change', Form_Update_ByCurrentSA); - // Events for keyup (only if the key is arrow-up or arrow-down) - $('#cboAggregationType').keyup(function (event) { - if (event.keyCode == '38' || event.keyCode == '40') { - Form_Update_ByCurrentSA(); - } - }); - - - // FIELD OR EXPRESSION - $('#txtFieldExpression').bind('keyup', Form_Update_ByCurrentSA); - - - // PERSONAL COMMENT - Click Event (Header) - - $('#lnkPersonalCommentRemove').bind('click', function () { - $('#divPersonalComment').toggle('slow'); - $('#divPersonalCommentEOF').toggle('slow'); - }); - $('#lnkAddPersonalComment').bind('click', function () { - $('#divPersonalComment').toggle('slow'); - $('#divPersonalCommentEOF').toggle('slow'); - }); - - - // Button "Add an action" trigger - $('#a_addSetModifierAction').bind('click', function () { - OpenActionFormDialog(null); - }); //(a_addSetModifierAction.click) - - - - // ----------------------------------------------------------------- - // Other Events - - // jump to the Detailed Expression - $('#divSAPreview').click(function () { $tabs.tabs('select', 1); }); - - - // ----------------------------------------------------------------- - // Events for tab selecting - $tabs.bind('tabsselect', function (event, ui) { - - // Objects available in the function context: - //ui.tab // anchor element of the selected (clicked) tab - //ui.panel // element, that contains the selected/clicked tab contents - //ui.index // zero-based index of the selected (clicked) tab - if (ui.index == 2 && !exampleLoaded) { - //Todo: Change this - //loadEx('Set-Analysis-Example--Simple-Expressions.aspx'); //Default example page - loadEx('Set-Analysis-Example--Simple-Expressions.aspx'); //Default example page - - exampleLoaded = true; - } - - }); - - - - // ----------------------------------------------------------------- - // Events on Tab 1 - Result - $('#lnkSelectAll').click(function () { $('#txtOutput').select(); }); - - $('#chkSaveResultOnServer').bind('click change', function () { - if ($('#chkSaveResultOnServer').attr('checked')) { - SaveSADefinitionOnServer(); - } - else { - // Just refresh the output - Form_Update_ByCurrentSA(); - $('#lnkShare').attr('disabled', 'disabled'); - } - }); // (chkSaveResultOnServer.Click) - - - // Share button - $('#lnkShare').bind('click', function () { - $('#txtShareLink').val(GetShareLink()); - $("#divShareDialog") - .dialog({ - width: '550px', - modal: true, - buttons: { - OK: function () { - $(this).dialog('close'); - } - } // (buttons) - }); // Share Dialog - }); - - // (Events on Tab 1 - Result) - - - // ----------------------------------------------------------------- - // Events for Tab 5 - Debug - $('#cmdGetDebugOutput').click(function () { - - var setAnalysisDefinition = new SetAnalysisDefinition(); - setAnalysisDefinition = SADefinition_FromForm(); - setAnalysisDefinition.InitPureDescription(false); // Initialize the pure description to save it ... - - var json = JSON.stringify(setAnalysisDefinition) - $('#txtDebugOutput').val(json); - - }); - - $('#cmdDebugClearForm').click(function () { - ClearForm(); - // GoTo first tab - $tabs.tabs('select', 0); - - }); //(cmdDebugClearForm.Click) - - - //Todo: Probably this will be changed ... - $('#cboQVersion').click(function () { setQVVersion(); }); - - } // (Form_AddEventHandler) - - // ----------------------------------------------------------------- - // Write the output to all defined destinations (tab 1 + tab 2) - // ----------------------------------------------------------------- - window.Form_Update_ByCurrentSA = function () { - - var output = GetSA_Output(); - - $('#txtOutput').val(output); - - // After GetSA_Output $SetExpression is up to date, so we can directly call this - $('#divSAPreview').text($SetExpression.Expression); - //$('#divSAPreview').html($SetExpression.Expression.replace('<', '<').replace('>', '>')); - - } // (Form_Update_ByCurrentSA) - - // ################################################################# - // Event Handler Definition + Event Handler ACTION FORM - // ################################################################# - - // ----------------------------------------------------------------- - // Add all event handlers for the action-form - // ----------------------------------------------------------------- - window.ActionForm_AddEventHandler = function () { - - - //Todo: should be capsulated (event + detailed function) - // event trigger for the dialog form - $('#cboSetModifierAction').click(function () { ActionForm_Update(); }).attr("onclick", function () { ActionForm_Update(); }); - //$('#cboSetModifierAction').change(function () { ActionForm_Update(); }).attr("onchange", function () { ActionForm_Update(); }); - // Events for keyup (only if the key is arrow-up or arrow-down) - $('#cboSetModifierAction').keyup(function (event) { - if (event.keyCode == '38' || event.keyCode == '40') { - ActionForm_Update(); - } - }); - - - $('#cboSelectionOperator').click(function () { ActionForm_Bind_BySelectionOperator(null); }).attr("onclick", function () { ActionForm_Bind_BySelectionOperator(null); }); - //$('#cboSelectionOperator').change(function () { ActionForm_Bind_BySelectionOperator(null); }).attr("onchange", function () { ActionForm_Bind_BySelectionOperator(null); }); - // Events for keyup (only if the key is arrow-up or arrow-down) - $('#cboSelectionOperator').keyup(function (event) { - if (event.keyCode == '38' || event.keyCode == '40') { - ActionForm_Bind_BySelectionOperator(null); - } - }); - - $('#sm_fieldoperator').click(function () { ActionForm_UpdatePreview(); }).attr("onclick", function () { ActionForm_UpdatePreview(); }); - //$('#cboSelectionOperator').change(function () { ActionForm_Bind_BySelectionOperator(null); }).attr("onchange", function () { ActionForm_Bind_BySelectionOperator(null); }); - // Events for keyup (only if the key is arrow-up or arrow-down) - $('#sm_fieldoperator').keyup(function (event) { - if (event.keyCode == '38' || event.keyCode == '40') { - ActionForm_UpdatePreview(); - } - }); - - $('#sm_field').keyup(function (event) { ActionForm_UpdatePreview(); }); - $('#sm_value_1').keyup(function (event) { ActionForm_UpdatePreview(); }); - $('#sm_value_2').keyup(function (event) { ActionForm_UpdatePreview(); }); - $('#sm_otherfield').keyup(function (event) { ActionForm_UpdatePreview(); }); - $('#sm_indirectfield').bind('keyup change', ActionForm_UpdatePreview); - - $('#aCopyOtherField').bind('click', function () { - $('#sm_indirectfield').val($('#sm_field').val()); - ActionForm_UpdatePreview(); - }); - - // Save on enter ... - $('#divActionDialog').keyup(function (e) { - if (e.keyCode == 13) { - $('.ui-dialog').find('button:first').trigger('click'); - } - }); - - // Exit on escape ... - $('#divActionDialog').keyup(function (e) { - if (e.keyCode == 27) { - $('.ui-dialog').find('button:second').trigger('click'); - } - }); - - } // (ActionForm_AddEventHandler) - - - //Todo: This does not really makes sense! - //Either bind by SelectionOperator or bind by ...?!! - window.ActionForm_Bind_BySelectionOperator = function (setModifierAction) { - - if (setModifierAction == null) { - setModifierAction = Action_ByForm(); - } - - switch (setModifierAction.SelectionOperator) { - case "equal_to": - case "greater_than": - case "less_than": - case "greater_than_or_equal": - case "less_than_or_equal": - case "contains": - $('#div_sm_value_and').hide(); - $('#div_sm_value_2').hide(); - break; - case "between_gt_lt": - case "between_gt=_lt": - case "between_gt=_lt=": - case "between_gt_lt=": - $('#div_sm_value_and').css('display', 'inline-block'); - $('#div_sm_value_2').css('display', 'inline-block'); - break; - default: - break; - } - - _bindActionFormPreview(setModifierAction); - - - - } // (ActionForm_Bind_BySelectionOperator) - - // ################################################################# - // ACTION - UI related - // ################################################################# - window.Action_ByForm = function () { - - var o = new SetModifierAction(); - o.Action = $('#cboSetModifierAction').val(); - o.Field = trim($('#sm_field').val()); - o.OtherField = trim($('#sm_otherfield').val()); - o.FieldOperator = trim($('#sm_fieldoperator').val()); - o.ValuesOrExpression_1 = trim($('#sm_value_1').val()); - o.ValuesOrExpression_2 = trim($('#sm_value_2').val()); - o.SelectionOperator = $('#cboSelectionOperator').val(); - o.IndirectField = $('#sm_indirectfield').val(); - return o; - - } // (Action_ByForm) - - - - - // ################################################################# - // BlockUI Lib - // ################################################################# - - // ----------------------------------------------------------------- - // blockUI - functionality .... - // ----------------------------------------------------------------- - window.block = function (msg) { - var displayMsg = (msg == null) ? "Loading ..." : msg; - $('#domMessage_H1').html(displayMsg); - if ($.blockUI != 'undefined') { - $.blockUI({ - message: $('#domMessage'), - css: { - border: 'none', - padding: '15px', - backgroundColor: '#eeeeee', - '-webkit-border-radius': '10px', - '-moz-border-radius': '10px', - opacity: .5, - color: '#000000' - }, - overlayCSS: { - backgroundColor: '#ccc', - opacity: .8 - } - }); - } - } // (block) - - window.unblock = function () { - if ($.unblockUI != 'undefined') { - $.unblockUI(); - } - } // (unblock) - - - - // ----------------------------------------------------------------- - // Event handler for cboSetIdentifier - // ~~ - // Layout function which should check the state - // of all fields depending on "cboSetIdentifier" (main form) - // ("current selection", "all values", etc.) - // ----------------------------------------------------------------- - window.Form_Update_BySetIdentifier = function () { - - var s = $('#cboSetIdentifier').val(); - - // default actions - $('#divBookmark').hide(); - - switch (s) { - case "bookmark": - case "$+bookmark": - case "$*bookmark": - case "$-bookmark": - $('#divBookmark').css('display', 'inline-block'); - break; - default: - break; - } - - } //(Form_Update_BySetIdentifier) - - - - - - - // ################################################################# - // QV Version - // ################################################################# - - // ----------------------------------------------------------------- - // Configure form based on QlikView version - // ~~ - // Based on the selected QV version some features - // should be shown or hidden - // ----------------------------------------------------------------- - window.setQVVersion = function () { - - var v = $('#cboQVVersion').val(); - - disableQVRelatedFeatures(); - - } - - // Disable all QV version related features ... - window.disableQVRelatedFeatures = function () { - - // Remove direct/indirect set analysis - $('#cboSetModifierAction option[value=set_pindirect]').hide(); - $('#cboSetModifierAction option[value=set_eindirect]').hide(); - } - - - // ################################################################# - // Error Dialog - // ################################################################# - window.errorAlert = function (msg, title) { - if (title == null) { - title = "An error occured!"; - } - $('#divErrorMsg').html(msg); - $("#divErrorDialog") - .dialog({ - width: '500px', - modal: true, - title: title, - buttons: { - OK: function () { - $(this).dialog('close'); - } - } // (buttons) - }); // error dialog - } // (errorAlert()) - - - - - // ################################################################# - // Dialog - // ################################################################# - - // ----------------------------------------------------------------- - // Open the dialog for defining a SetModifier action - // or editing an existing one ... - // ~~ - // Hints: - // If an existing one should be edited, the parameter "setModifierAction" - // needs to be passed, otherwise this parameter can be left null - // ----------------------------------------------------------------- - window.OpenActionFormDialog = function (setModifierAction, existingId) { - - // Init the dialog's settings - ActionForm_Bind(setModifierAction); - - $("#divActionDialog") - //.data('sm_a', setModifierAction) - .dialog({ - width: '980px', - modal: true, - buttons: { - Save: function () { - //classes (für Styling) ... - //http://stackoverflow.com/questions/1138291/jquery-dialog-save-cancel-button-styling - //className - // - //Icon hinzufügen: - //http: //stackoverflow.com/questions/1138291/jquery-dialog-save-cancel-button-styling - var o = new SetModifierAction(); - o = Action_ByForm(); - ActionContainer_AddChange_SetModifierAction(o, existingId); - $(this).dialog('close'); - - // refresh the output - Form_Update_ByCurrentSA(); - - }, - Cancel: function () { - $(this).dialog('close'); - Form_Update_ByCurrentSA(); - } - } // (buttons) - }); // dialog - - $("#divActionDialog").dialog('option', 'position', [50, 100]); - } // (OpenActionFormDialog) - - - - - // ################################################################# - // ActionContainer - // ################################################################# - - // ----------------------------------------------------------------- - // ActionContainer_AddChange_SetModifierAction() - // ~~ - // Parameters: - // oP - Set Modifier Action object - // existingId of the item (optional) - // Property sm_a holds the SetModiferActions - // Property sm holds a unique id for the object in the action container - // ----------------------------------------------------------------- - window.ActionContainer_AddChange_SetModifierAction = function (oP, existingId) { - - // id-counter to be used withing this function - // if the id is passed (existingId), this number will be used - // otherwise the setModifiers_Num will be increased and used - var numToUse = 0; - var objectId = ''; // internal var to hold the object id of the action-row - - // Check if we should increase the counter to get a new unique id or - // use the existing one (which will cause that the existing object will - // be replaced - if (existingId < 0 || existingId == 'undefined' || existingId == null) { - setModifiers_Num = setModifiers_Num + 1; - numToUse = setModifiers_Num; - } - else { - numToUse = existingId; - } - objectId = "divSetModifier_" + numToUse; - - var o = $("#divSetModifier").clone(true); - o.attr('id', objectId); - o.attr('sm', numToUse); - - //Todo: Check this - //Todo: Document this step, no idea at the moment what's happening here ... :) - //more elegant: http://paste.pocoo.org/show/87509/ - o.find('.lblSetModifierLabel').text(oP.GetDescription()); - - - - // ----------------------------------------------------------------- - // EDIT FUNCTIONALITY - // ----------------------------------------------------------------- - //o.find('.setModifier_EditButton').attr("value", "Edit " + numToUse); - o.find('.setModifier_EditButton').attr("id", "setModifier_EditButton_" + numToUse); - o.find('.setModifier_EditButton').attr("sm", numToUse); - o.find('.setModifier_EditButton').click(function () { - - var currentNr = $(this).attr("sm"); - // Get the current Set Modifier Action - var setModifierAction = $('#divSetModifier_' + currentNr).data('sm_a'); - - // open the dialog and bind the form - // (binding will be done at the beginning of OpenActionFormDialog) - OpenActionFormDialog(setModifierAction, currentNr); - - }); - - // ----------------------------------------------------------------- - // DELETE FUNCIONALITY - // ----------------------------------------------------------------- - // Set the value to find the row ... - o.find('.setModifier_DeleteButton').attr("sm", numToUse); - // Define the event handler for the delete button to - // delete the setModifier definition - o.find('.setModifier_DeleteButton').click(function () { - var currentNr = $(this).attr("sm"); - - $("#divSetModifier_" + currentNr).remove(); - ActionContainer_AfterUpdate(); - Form_Update_ByCurrentSA(); - }); - - // ----------------------------------------------------------------- - // HIGHLIGHT FUNCTIONIONALITY - // ----------------------------------------------------------------- - // Set the value to find the row ... - - - - o.bind('mouseover', function () { - var currentNr = $(this).attr("sm"); - var setModifierAction = $('#divSetModifier_' + currentNr).data('sm_a'); // Get the current Set Modifier Action - setModifierAction.GetModifier(); // I am not really sure at this moment why we have to do this, why is it not initialized?? - var highlightedExpression = safeHtml($SetExpression.Expression).replace(safeHtml(setModifierAction.TechnicalModifier), "" + safeHtml(setModifierAction.TechnicalModifier) + ""); - //alert(setModifierAction.TechnicalModifier); - //alert(highlightedExpression); - $('#divSAPreview').html(highlightedExpression); - }); - o.bind('mouseout', function () { - $('#divSAPreview').text($SetExpression.Expression); - }); - - o.find('.setModifier_HighlightButton').attr("sm", numToUse); - o.find('.setModifier_HighlightButton').bind('mouseover', function () { - // var currentNr = $(this).attr("sm"); - // var setModifierAction = $('#divSetModifier_' + currentNr).data('sm_a'); // Get the current Set Modifier Action - // setModifierAction.GetModifier(); // I am not really sure at this moment why we have to do this, why is it not initialized?? - // var highlightedExpression = safeHtml($SetExpression.Expression).replace(safeHtml(setModifierAction.TechnicalModifier), '' + safeHtml(setModifierAction.TechnicalModifier) + ''); - // $('#divSAPreview').html(highlightedExpression); - - }); // (setModifier_HighlightButton => mouseover) - - // Onmouse out Event for the button - o.find('.setModifier_HighlightButton').bind('mouseout', function () { - //$('#divSAPreview').text($SetExpression.Expression); - }); // (setModifier_HighlightButton => mouseout) - - // Set the object for the set modifier action - o.data('sm_a', oP); - $(o).show(); - - - - // ----------------------------------------------------------------- - // ADD TO DOM - // If we are dealing with an existing id, then replace the object, - // otherwise add it to the container - // ----------------------------------------------------------------- - if (existingId < 0 || existingId == 'undefined' || existingId == null) { - o.appendTo('#divActionContainer'); - } - else { - var oExisting = $('#' + objectId); - oExisting.replaceWith(o); - } - - ActionContainer_AfterUpdate(); - - - } // (ActionContainer_AddChange_SetModifierAction) - - - // ----------------------------------------------------------------- - // ActionContainer_GetObjectsFromContainer() - // ----------------------------------------------------------------- - // return an array of the setModifier objects - // read from divActionContainer - // ~~ - // Note: will be used by one of the objects !!! - // ----------------------------------------------------------------- - window.ActionContainer_GetObjectsFromContainer = function () { - - var size = $('#divActionContainer').children().size(); - var a = new Array(); - - $.each($('#divActionContainer').children(), function () { - var newAction = new SetModifierAction(); - newAction.Init($(this).data('sm_a')); - a.push(newAction); - }); - - return a; - } // (ActionContainer_GetObjectsFromContainer) - - - // ----------------------------------------------------------------- - // Configure the Action Container: - // ~~ - // If no items are saved a div with message should be shown - // otherwise the div with the items should be shown - // ~~ - // ==> this can/should be called every time the content of the action - // container changes ...! - // ----------------------------------------------------------------- - window.ActionContainer_AfterUpdate = function () { - - // empty => display message - if ($('#divActionContainer').children().length == 0) { - - $('#divActionContainer').hide(); - $('#divActionContainerEmpty').show(); - } - // We have records - else { - - - $('#divActionContainer').show(); - $('#divActionContainerEmpty').hide(); - - // this is perfect place to render the displaying of odd and even rows - $('#divActionContainer .clsSetModifier').removeClass('even odd'); //First remove all classes - // Then add them - $('#divActionContainer .clsSetModifier:even').addClass('even'); - $('#divActionContainer .clsSetModifier:odd').addClass('odd'); - - - } - } // (ActionContainer_AfterUpdate) - - - - // ################################################################# - // Action form (dialog) - // ################################################################# - - // ----------------------------------------------------------------- - // Primary function to bind the action form to an existing - // SetModifierAction (value or null) = (existing or new) - // ~~ - // Bind the form to a SetModifierAction - // ----------------------------------------------------------------- - window.ActionForm_Bind = function (setModifierAction) { - - - // If the action is null or undefined (so we are dealing with a new - // SetModifierAction ==> clean the form - if (setModifierAction == 'undefined' || setModifierAction == null) { - - // Reset all Select fields which are marked as "af_clearable" - $("select.af_clearable").each(function () { - // set its value to its first option - $(this).val($("#" + $(this).attr("id") + " option:first").val()); - }); - - // Reset all values in text boxes with the class "af_clearable" - $("input.af_clearable").each(function () { - // set its value to its first option - $(this).val(''); - }); - - // Since we have disable the onchange event, let's trigger one of the existing events - ActionForm_Update(); - } - else { - $('#cboSetModifierAction').val(setModifierAction.Action); - $('#sm_field').val(setModifierAction.Field); - $('#cboSelectionOperator').val(setModifierAction.SelectionOperator); - $('#sm_fieldoperator').val(setModifierAction.FieldOperator); - $('#sm_value_1').val(setModifierAction.ValuesOrExpression_1); - $('#sm_value_2').val(setModifierAction.ValuesOrExpression_2); - $('#sm_otherfield').val(setModifierAction.OtherField); - $('#sm_indirectfield').val(setModifierAction.IndirectField); - - ActionForm_BindByAction(setModifierAction); - ActionForm_Bind_BySelectionOperator(setModifierAction); - } - - } // (ActionForm_Bind) - - //Todo: Document this - // Bind the ActionForm - window.ActionForm_Update = function () { - - var o = new SetModifierAction(); - o = Action_ByForm(); - ActionForm_BindByAction(o); - - _bindActionFormPreview(o); - - } // (ActionForm_Update) - - // Update the Preview of the Action Form (semantic meaning) - window.ActionForm_UpdatePreview = function () { - - var o = new SetModifierAction(); - o = Action_ByForm(); - _bindActionFormPreview(o); - } // (ActionForm_UpdatePreview) - - - //Todo: This encapsulation is SHIT!!! - //Todo: Is this still used? - // Internal function - window._bindActionFormPreview = function (setModifierAction) { - // Bind the description - $('#spanActionPreviewDescription').html(setModifierAction.GetDescription()); - - } // (_bindActionFormPreview) - - - //Todo: Layouting and description - // Bind the ActionForm dialog by the "predefined action" - //Todo: old bindActionFormForAction - window.ActionForm_BindByAction = function (setModifierAction) { - - ActionForm_HideAllUIObjects(); - - //Todo: Cleanup (delete the deleted ones ....) - switch (setModifierAction.Action) { - case "set_remove": - $('#div_sm_field').show(); - break; - case "set_select_additionally": - case "set_modify_by_value": - $('#divActionForm_Condition').show(); - $('#div_sm_field').css('display', 'inline-block'); - $('#div_sm_fieldoperator').css('display', 'inline-block'); - $('#div_sm_fieldoperator_in').css('display', 'inline-block'); - $('#div_sm_selectionoperator').css('display', 'inline-block'); - $('#div_sm_value_1').css('display', 'inline-block'); - - $('.lblValueExpression').text('Value(s)'); - $('#tipValue_1').show(); - $('#tipValue_2').show(); - break; - case "set_modify_by_expression": - $('#divActionForm_Condition').show(); - $('#div_sm_field').css('display', 'inline-block'); - $('#div_sm_fieldoperator').css('display', 'inline-block'); - $('#div_sm_fieldoperator_in').css('display', 'inline-block'); - $('#div_sm_selectionoperator').css('display', 'inline-block'); - $('#div_sm_value_1').css('display', 'inline-block'); - $('.lblValueExpression').text('Expression(s)'); - $('#tipExpression_1').show(); - $('#tipExpression_2').show(); - break; - case "set_pindirect": - case "set_eindirect": - $('#divActionForm_Condition').show(); - $('#div_sm_field').css('display', 'inline-block'); - $('#div_sm_fieldoperator').css('display', 'inline-block'); - $('#div_sm_fieldoperator_in').css('display', 'inline-block'); - $('#div_sm_otherfield').css('display', 'inline-block'); - $('#div_sm_selectionoperator').css('display', 'inline-block'); - $('#div_sm_value_1').css('display', 'inline-block'); - $('.lblValueExpression').text('Value(s)'); - $('#tipValue_1').show(); - $('#tipValue_2').show(); - $('#div_sm_indirectfield').css('display', 'inline-block'); - break; - case "set_pindirect_exp": - case "set_eindirect_exp": - $('#divActionForm_Condition').show(); - $('#div_sm_field').css('display', 'inline-block'); - $('#div_sm_fieldoperator').css('display', 'inline-block'); - $('#div_sm_fieldoperator_in').css('display', 'inline-block'); - $('#div_sm_otherfield').css('display', 'inline-block'); - $('#div_sm_selectionoperator').css('display', 'inline-block'); - $('#div_sm_value_1').css('display', 'inline-block'); - $('.lblValueExpression').text('Expression(s)'); - $('#tipExpression_1').show(); - $('#tipExpression_2').show(); - $('#div_sm_indirectfield').css('display', 'inline-block'); - - - break; - default: - break; - } //(switch setModifierAction.Action) - - ActionForm_Bind_BySelectionOperator(setModifierAction); - - - } // (ActionForm_BindByAction) - - //Todo: Description - //Todo: Format Description - window.ActionForm_HideAllUIObjects = function () { - - $('#div_sm_field').hide(); - - $('#div_sm_field').hide(); - - // Container !!! - $('#divActionForm_Condition').hide(); - $('#div_sm_selectionoperator').hide(); - $('#div_sm_otherfield').hide(); - - $('#div_sm_fieldoperator').hide(); - $('#div_sm_fieldoperator_in').hide(); - - - $('#div_sm_value_1').hide(); - $('#div_sm_value_2').hide(); - $('#div_sm_value_and').hide(); - - // Dependent QTips - $('#tipValue_1').hide(); - $('#tipValue_2').hide(); - $('#tipExpression_1').hide(); - $('#tipExpression_2').hide(); - - // Indirect Field - $('#div_sm_indirectfield').hide(); - - - } // (ActionForm_HideAllUIObjects) - - - // ################################################################# - // Examples - // ################################################################# - window.loadEx = function (name) { - $('#divExampleContent').load(name + '?rnd=' + randomNumber() + ' #divExampleContainer', function () { - $('#divExampleContent a.lnkOpen').button(); - - // this is perfect place to render the displaying of odd and even rows - $('#divExampleContainer .examplePage_Details div').removeClass('example_odd example_even'); //First remove all classes - // Then add them - $('#divExampleContainer .examplePage_Details:even div').addClass('example_even'); - $('#divExampleContainer .examplePage_Details:odd div').addClass('example_odd'); - - }); - - - - - } // (loadEx) - - - diff --git a/legacy_1/library/js/SetAnalysisWizard_UI_Archive.js b/legacy_1/library/js/SetAnalysisWizard_UI_Archive.js deleted file mode 100644 index 0035915..0000000 --- a/legacy_1/library/js/SetAnalysisWizard_UI_Archive.js +++ /dev/null @@ -1,17 +0,0 @@ -$(document).ready(function () { - - // Archive (Not Needed anymore??) - //#region - // Todo: if this is not working, move that to Archvie - // Syntaxhighlighter - function hil() { - SyntaxHighlighter.config.clipboardSwf = 'library/flash/2.1.364/clipboard.swf'; - SyntaxHighlighter.highlight(); - } //(hil) - //#endregion - - - - -}); - diff --git a/legacy_1/library/js/SetAnalysisWizard_UnitTests_Core.js b/legacy_1/library/js/SetAnalysisWizard_UnitTests_Core.js deleted file mode 100644 index 5839a96..0000000 --- a/legacy_1/library/js/SetAnalysisWizard_UnitTests_Core.js +++ /dev/null @@ -1,596 +0,0 @@ -$(document).ready(function () { - - // Global variables for testing - var aggrTypes = new Array("Sum", "Minimum", "Maximum", "Count", "Only", "MissingCount", "Avg", "Mode", "FirstSortedValue"); - var fieldOperators = new Array("=", "+=", "-=", "*=", "/="); - var selectionOperators = new Array("equal_to", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "contains", "startswith", "endswith", "between_gt_lt", "between_gt=_lt", "between_gt=_lt=", "between_gt_lt="); - - - - module("Set Analysis Definition - Core"); - - test("SetIdentifier", function () { - - expect(20); - - var sad = new SetAnalysisDefinition(); - sad.AggregationType = "Sum"; - sad.FieldExpression = "Sales"; - - // current selection - sad.SetIdentifier = "$"; - sad.Calculate(); - equals(sad.Expression, "Sum({$}Sales)"); - - // all values - sad.SetIdentifier = "1"; - sad.Calculate(); - equals(sad.Expression, "Sum({1}Sales)"); - - // everything that the current selection excludes - sad.SetIdentifier = "1-$"; - sad.Calculate(); - equals(sad.Expression, "Sum({1-$}Sales)"); - - // previous selection - sad.SetIdentifier = "$1"; - sad.Calculate(); - equals(sad.Expression, "Sum({$1}Sales)"); - - // next selection - sad.SetIdentifier = "$_1"; - sad.Calculate(); - equals(sad.Expression, "Sum({$_1}Sales)"); - - // 2nd next selection - sad.SetIdentifier = "$_2"; - sad.Calculate(); - equals(sad.Expression, "Sum({$_2}Sales)"); - - // 3rd next selection - sad.SetIdentifier = "$_3"; - sad.Calculate(); - equals(sad.Expression, "Sum({$_3}Sales)"); - - // 2nd previous selection - sad.SetIdentifier = "$2"; - sad.Calculate(); - equals(sad.Expression, "Sum({$2}Sales)"); - - // 3rd previous selection - sad.SetIdentifier = "$3"; - sad.Calculate(); - equals(sad.Expression, "Sum({$3}Sales)"); - - // bookmark - document bookmark - sad.SetIdentifier = "bookmark"; - sad.Bookmark = "BM01" - sad.Calculate(); - equals(sad.Expression, "Sum({BM01}Sales)"); - - // bookmark - server bookmark - sad.SetIdentifier = "bookmark"; - sad.Bookmark = "Server\\BM01" - sad.Calculate(); - equals(sad.Expression, "Sum({Server\\BM01}Sales)"); - - for (i = 0; i < aggrTypes.length; i++) { - sad.AggregationType = aggrTypes[i]; - sad.SetIdentifier = "$"; - sad.Calculate(); - equals(sad.Expression, aggrTypes[i] + "({$}Sales)"); - } - - }); // (SetIdentifier) - - test("Simple SetModifierActions", function () { - - expect(7); - - // Local Init, no Test - var sad = new SetAnalysisDefinition(); - var sm = new SetModifierAction(); - - // Default Values - sad.AggregationType = "Sum"; - sad.FieldExpression = "Sales"; - sad.SetIdentifier = "$"; - - - // Test: Remove - sm.Action = "set_remove"; - sm.Field = "RemoveField"; - - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - - sad.Calculate(); - equals(sad.Expression, "Sum({$}Sales)"); - - - // Test: Select explicitely - sm.Action = "set_modify_by_value"; - sm.Field = "TargetField"; - sm.FieldOperator = "="; - sm.SelectionOperator = "equal_to"; - sm.ValuesOrExpression_1 = 100; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, "Sum({$}Sales)"); - - // Test the different field operators - for (i = 0; i < fieldOperators.length; i++) { - sm.FieldOperator = fieldOperators[i]; - - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - var resultMask = "Sum({$}Sales)"; - equals(sad.Expression, resultMask.replace("{0}", fieldOperators[i])); - } - - - }); - - - test("Test SelectionOperators modified by value directly", function () { - - expect(26); - - // Local Init, no Test - var sad = new SetAnalysisDefinition(); - var sm = new SetModifierAction(); - var result = null; - - // Default Values - sad.AggregationType = "Sum"; - sad.FieldExpression = "Sales"; - sad.SetIdentifier = "$"; - sm.Action = "set_modify_by_value"; - sm.Field = "TargetField"; - sm.FieldOperator = "="; - - - // Test simple Integer field - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "equal_to"; - sm.ValuesOrExpression_1 = 100; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, "Sum({$}Sales)"); - - // Test simple text expression - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "equal_to"; - sm.ValuesOrExpression_1 = 'Beverages'; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, "Sum({$}Sales)"); - - // Test simple list of delimited integers - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "equal_to"; - sm.ValuesOrExpression_1 = '100,200,300'; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, "Sum({$}Sales)"); - - // Test simple list of delimited strings - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "equal_to"; - sm.ValuesOrExpression_1 = 'A,B,C'; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, "Sum({$}Sales)"); - - // Test simple list 2 of delimited strings - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "equal_to"; - sm.ValuesOrExpression_1 = 'ABC, BDCD , CD,DAX XAD'; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, "Sum({$}Sales)"); - - - // SelectionOperator Test: greater_than with multiple int - result = "Sum({$100\"}>}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "greater_than"; - sm.ValuesOrExpression_1 = '100'; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - - // SelectionOperator Test: less_than - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "less_than"; - sm.ValuesOrExpression_1 = 100; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: greater_than_or_equal - result = "Sum({$=100\"}>}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "greater_than_or_equal"; - sm.ValuesOrExpression_1 = 100; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // SelectionOperator Test: less_than_or_equal - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "less_than_or_equal"; - sm.ValuesOrExpression_1 = 100; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // SelectionOperator Test: contains with int - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "contains"; - sm.ValuesOrExpression_1 = 100; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: contains with multiple int - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "contains"; - sm.ValuesOrExpression_1 = "199,200"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: contains with string - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "contains"; - sm.ValuesOrExpression_1 = "thern"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: contains with MULTIPLE string - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "contains"; - sm.ValuesOrExpression_1 = "thern,tern"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // SelectionOperator Test: startswith with int - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "startswith"; - sm.ValuesOrExpression_1 = 100; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: startswith with MULTIPLE int - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "startswith"; - sm.ValuesOrExpression_1 = "198,201"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: startswith with string - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "startswith"; - sm.ValuesOrExpression_1 = "Beverages"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: startswith with MULTIPLE string - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "startswith"; - sm.ValuesOrExpression_1 = "Bev,Cool"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // SelectionOperator Test: endswith with int - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "endswith"; - sm.ValuesOrExpression_1 = 100; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: endswith with multiple int - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "endswith"; - sm.ValuesOrExpression_1 = "1,2"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: endswith with string - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "endswith"; - sm.ValuesOrExpression_1 = "Southern"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: endswith with multiple string - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "endswith"; - sm.ValuesOrExpression_1 = "thern,tern"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: endwith with multiple values - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "endswith"; - sm.ValuesOrExpression_1 = "A,B,C"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: between_gt_lt - result = "Sum({$100<200\"}>}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "between_gt_lt"; - sm.ValuesOrExpression_1 = 100; - sm.ValuesOrExpression_2 = 200; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: between_gt=_lt - result = "Sum({$=100<200\"}>}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "between_gt=_lt"; - sm.ValuesOrExpression_1 = 100; - sm.ValuesOrExpression_2 = 200; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: between_gt_lt= - result = "Sum({$100<=200\"}>}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "between_gt_lt="; - sm.ValuesOrExpression_1 = 100; - sm.ValuesOrExpression_2 = 200; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // SelectionOperator Test: between_gt=_lt= - result = "Sum({$=100<=200\"}>}Sales)"; - sm.Action = "set_modify_by_value"; - sm.SelectionOperator = "between_gt=_lt="; - sm.ValuesOrExpression_1 = 100; - sm.ValuesOrExpression_2 = 200; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - }); // (Test SelectionOperators modified by value directly) - - test("Test SelectionOperators modified by expression", function () { - - expect(12); - - // Local Init, no Test - var sad = new SetAnalysisDefinition(); - var sm = new SetModifierAction(); - var result = null; - - // Default Values - sad.AggregationType = "Sum"; - sad.FieldExpression = "Sales"; - sad.SetIdentifier = "$"; - - // Simple Expression - equal to - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Max(Year)"; - sm.SelectionOperator = "equal_to"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // Simple Expression - greater_than - result = "Sum({$$(=Max(Year))\"}>}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Max(Year)"; - sm.SelectionOperator = "greater_than"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // Simple Expression - less_than - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Max(Year)"; - sm.SelectionOperator = "less_than"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // Simple Expression - greater_than_or_equal - result = "Sum({$=$(=Max(Year))\"}>}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Max(Year)"; - sm.SelectionOperator = "greater_than_or_equal"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // Simple Expression - less_than_or_equal - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Max(Year)"; - sm.SelectionOperator = "less_than_or_equal"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // Simple Expression - contains - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Max(Year)"; - sm.SelectionOperator = "contains"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // Simple Expression - startswith - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Max(Year)"; - sm.SelectionOperator = "startswith"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // Simple Expression - endswith - result = "Sum({$}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Max(Year)"; - sm.SelectionOperator = "endswith"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - - // Simple Expression - between_gt_lt - result = "Sum({$$(=Min(Year))<$(=Max(Year))\"}>}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Min(Year)"; - sm.ValuesOrExpression_2 = "Max(Year)"; - sm.SelectionOperator = "between_gt_lt"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // Simple Expression - between_gt=_lt - result = "Sum({$=$(=Min(Year))<$(=Max(Year))\"}>}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Min(Year)"; - sm.ValuesOrExpression_2 = "Max(Year)"; - sm.SelectionOperator = "between_gt=_lt"; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // Simple Expression - between_gt=_lt - result = "Sum({$=$(=Min(Year))<=$(=Max(Year))\"}>}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Min(Year)"; - sm.ValuesOrExpression_2 = "Max(Year)"; - sm.SelectionOperator = "between_gt=_lt="; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - // Simple Expression - between_gt_lt= - result = "Sum({$$(=Min(Year))<=$(=Max(Year))\"}>}Sales)"; - sm.Action = "set_modify_by_expression"; - sm.Field = "Year"; - sm.FieldOperator = "="; - sm.ValuesOrExpression_1 = "Min(Year)"; - sm.ValuesOrExpression_2 = "Max(Year)"; - sm.SelectionOperator = "between_gt_lt="; - sad.SetModifierActions = new Array(1); - sad.SetModifierActions[0] = sm; - sad.Calculate(); - equals(sad.Expression, result); - - }); - -}); - diff --git a/legacy_1/library/js/SetAnalysisWizard_UnitTests_Examples.js b/legacy_1/library/js/SetAnalysisWizard_UnitTests_Examples.js deleted file mode 100644 index 02aea52..0000000 --- a/legacy_1/library/js/SetAnalysisWizard_UnitTests_Examples.js +++ /dev/null @@ -1,71 +0,0 @@ -$(document).ready(function () { - - - - var baseLink = "http://localhost/qlikblog.Tools.SetAnalysisWizard.Web/QlikView-SetAnalysis_Wizard_and_Generator.aspx"; - - //var keys = ['_001', '_002', '_003', '_004', '_005', '_006', '_007', '_008', '_009', '_010', '_1ZZ2', '_29C5', '_2X65', '_4E53', '_DA4H', '_DN96', '_IPB4', '_J791', '_NDL1', '_NHFW', '_OEFA', '_OXLC', '_XKFS', '_OTI1','_NT6B']; - //var key = '_001'; - var waitMilliseconds = 0; - - $.ajax({ - type: "POST", - contentType: "application/json; charset=utf-8", - url: "UnitTesting.asmx/GetTestKeys", - dataType: "json", - success: function (result) { - - startExampleTest(result.d, waitMilliseconds); - - }, - error: function () { - ok(false, "Error calling web service"); - } - }); // (ajax) - - - - function startExampleTest(keys, waitMilliSeconds) { - - module("Examples"); - for (var i = 0; i < keys.length; i++) { - key = keys[i]; - testKeyAsync(key); - } - - - function testKeyAsync(testKey) { - asyncTest("Example " + testKey, function () { - $.ajax({ - type: "POST", - contentType: "application/json; charset=utf-8", - url: "SetAnalysisWizardStorage.asmx/GetSetAnalysisDefinition", - data: "{key:'" + testKey + "'}", - dataType: "json", - success: function (result) { - - var oSA = new SetAnalysisDefinition(); - var o = JSON.parse(result.d); - var savedExpression = o.Expression; - oSA.InitDeep(o); - oSA.Calculate(); - equals(oSA.Expression, savedExpression); - - }, - error: function () { - ok(false, "Error calling key " + testKey); - } - }); // (ajax) - setTimeout(function () { - start(); - }, waitMilliseconds); - - }); - } - - } - - - - -}); \ No newline at end of file diff --git a/legacy_1/library/js/SetAnalysisWizard_UnitTests_Utils.js b/legacy_1/library/js/SetAnalysisWizard_UnitTests_Utils.js deleted file mode 100644 index b202a29..0000000 --- a/legacy_1/library/js/SetAnalysisWizard_UnitTests_Utils.js +++ /dev/null @@ -1,88 +0,0 @@ - -//QUnit - Links -//http://msdn.microsoft.com/en-us/scriptjunkie/gg749824 -//http://docs.jquery.com/Qunit -//http://chanian.com/2011/05/10/managing-qunit-test-suites-with-async-module-dependencies/ -//http://stackoverflow.com/questions/941133/qunit-with-ajax-qunit-passes-the-failing-tests - -// Mock -//https://github.com/appendto/jquery-mockjax/tree/master/examples - -$(document).ready(function () { - - - module("Utilities"); - // ----------------------------------------------------------------- - test("qualifyElement Tests", function () { - - var mask; - var input; - expect(6); - - // Test Characters without spaces - input = "A,B,C,D"; - mask = "\"*{0}\""; - //equals(qualifyElement(input, mask), "\"*A\",\"*B\",\"*C\",\"*D\""); - equals(true, true); - - // Test Characters with spaces and ends with mask - input = " A, B,C, D"; - mask = "*{0}"; - //equals(qualifyElement(input, mask), "*A,*B,*C,*D"); - equals(true, true); - - // Test only numbers (without spaces) - input = "2007,2008,2009"; - mask = null; - equals(qualifyElement(input, mask), "2007,2008,2009"); - - // Test only numbers (with spaces) - input = " 2007,2008, 2009 "; - mask = null; - equals(qualifyElement(input, mask), "2007,2008,2009"); - - - // Test greater than (only one number) - input = "2009"; - mask = ">{0}"; - equals(qualifyElement(input, mask), ">2009"); - - input = "2009"; - mask = "\">{0}\""; - equals(qualifyElement(input, mask), "\">2009\""); - - }); // (qualifyElement Tests) - - - // ----------------------------------------------------------------- - test("bracketize Tests", function () { - - var input; - expect(4); - input = "Field Name"; - equals(bracketize(input), "[Field Name]"); - - input = "FieldName"; - equals(bracketize(input), "FieldName"); - - input = " Field Name "; - equals(bracketize(input), "[Field Name]"); - - input = "Field, Name"; - equals(bracketize(input), "[Field, Name]"); - - - }); // (bracketize Tests) - - // ----------------------------------------------------------------- - test("trimArray Tests", function () { - - var input = new Array(" A", "B", "C ", " D "); - var result = new Array("A", "B", "C", "D"); - - same(trimArray(input), result); - - }); - - -}); //($(document).ready) \ No newline at end of file diff --git a/legacy_1/library/js/SetAnalysisWizard_Utils.js b/legacy_1/library/js/SetAnalysisWizard_Utils.js deleted file mode 100644 index e72ce2a..0000000 --- a/legacy_1/library/js/SetAnalysisWizard_Utils.js +++ /dev/null @@ -1,106 +0,0 @@ -// ----------------------------------------------------------------- -// Bracketizes and trims a field name if necessary -// ~~ -// Examples: -// "FieldName" => Field Name -// "Field Name" => [Field Name] -// " Field Name " => [Field Name] -// ----------------------------------------------------------------- -function bracketize(fieldValue) { - - if (fieldValue != 'undefined' && fieldValue != null) { - - if (trim(fieldValue).indexOf(' ') > 0) { - return '[' + trim(fieldValue) + ']'; - } - else { - return trim(fieldValue); - } - } - else { - return fieldValue; - } - -} // (bracketize) - - - -// ----------------------------------------------------------------- -// Trim all elements of the array -// Relies on the external jQuery trim function ... -// ~~ -// Examples: -// {" A", "B "} => {"A","B"} -// ----------------------------------------------------------------- -function trimArray(arr) { - - if ($.isArray(arr)) { - var newArray = new Array(); - for (var i = 0; i < arr.length; i++) { - newArray.push($.trim(arr[i])); - } - return newArray; - } - return null; -} - - - -// ----------------------------------------------------------------- -//Todo: Description!!! -// ~~ -// Parameters: -// el string representing the values, e.g. "2007,2008,2009" or "AB,AC,AF" -// mask mask to be used for this element -// e.g.: -// "*{0}" will return "*AB","*AC","*AF" for "AB,AC,AF", -// ----------------------------------------------------------------- -function qualifyElement(el, mask, isWildCardExp) { - - // default value for isWildCardExp - if (isWildCardExp == 'undefined' || isWildCardExp == null) { - isWildCardExp = false; - } - - // empty, null or 0-string => return el - if (el == null || el == 'undefined' || el.length == 0) { - return el; - } - - // if we have a number, just return the number - if (isNumber(el)) { - return (!nullOrEmpty(mask)) ? mask.replace('{0}', el) : el; - } - - // Qualify if we have a delimited string ... - if (el.indexOf(',') > 0) { - var vals = el.split(','); - vals = trimArray(vals); - - var returnArr = new Array(); - for (var i = 0; i < vals.length; i++) { - var newVal = null; - var val = vals[i]; - var stringDel = ''; - // Here we should decide if we have an array of numbers, strings or mixed - if (isNumber(val)) { - stringDel = ''; - } - else { - stringDel = '\''; - } - newVal = (!nullOrEmpty(mask)) ? mask.replace('{0}', vals[i]) : vals[i]; - - // If we do not have a wildcard expression, we have to delimit the string/value - if (!isWildCardExp) { - newVal = stringDel + newVal + stringDel; - } - returnArr.push(newVal); - } - return returnArr.join(','); - } - // we just have a single string - else { - return (!nullOrEmpty(mask)) ? mask.replace('{0}', el) : "'" + el + "'"; - } -} \ No newline at end of file diff --git a/legacy_1/library/js/SetModifierAction.js b/legacy_1/library/js/SetModifierAction.js deleted file mode 100644 index 17d9b24..0000000 --- a/legacy_1/library/js/SetModifierAction.js +++ /dev/null @@ -1,272 +0,0 @@ -//Todo: Some documentation would be really nice :) -// Object definition for SetModifier -// (which is used in array of SetModifiers) -function SetModifierAction() { - - this.Action = null; // Action - this.Field = null; // Field - this.OtherField = null; // Other field (indirect SA) - this.FieldOperator = '='; // FieldOperator - this.ValuesOrExpression_1 = null; // ValuesOrExpression Nr1 - this.ValuesOrExpression_2 = null; // ValuesOrExpression Nr2 - this.SelectionOperator = null; // SelectionOperator - this.IndirectField = null; // Indirect Field for Indirect Set Selections - this.TechnicalModifier = null; // The expression for the set modifier - - // ----------------------------------------------------------------- - // Initialization - // ----------------------------------------------------------------- - - // Initialize values from simple object - this.Init = function (obj) { - for (var key in obj) { - if (obj.hasOwnProperty(key)) { - this[key] = obj[key]; - } - } - } // (Init) - - // Initialize object from Json object - this.InitFromJson = function (oJson) { - for (var key in oJson) { - if (oJson.hasOwnProperty(key)) { - this[key] = oJson[key]; - } - } - } // (InitFromJson) - - - - // ----------------------------------------------------------------- - // HasMultipleValues() - // ~~ - // Check if ValueOrExpression contains multiple values - // ----------------------------------------------------------------- - //Todo: Still used? - this.HasMultipleValues = function () { - //Todo: implement a trim (if necessary) ... - var a = this.ValuesOrExpression_1.split(','); - if ($.isArray(a)) { - if (a.length > 1) { - return true; - } - } - return false; - } // (HasMultipleValues) - - - - // ----------------------------------------------------------------- - // GetFieldOperatorDescription() - // ~~ - // Note: does only work, if this.FieldOperator has already been set - // ----------------------------------------------------------------- - this.GetFieldOperatorDescription = function () { - switch (this.FieldOperator) { - case "=": - return "Select records"; - break; - case "+=": - return "Additionally select records"; - break; - case "-=": - return "Exclude records"; - break; - case "*=": - return "Positively intersect with values"; - break; - case "/=": - return "Negatively intersect with values"; - break; - default: - return "Not defined"; - break; - } - } // (GetFieldOperatorDescription) - - // ----------------------------------------------------------------- - // GetModifier - // ~~ - // Get the technical modifier - // ----------------------------------------------------------------- - this.GetModifier = function () { - var indirectField; - var technicalModifier; - switch (this.Action) { - case "set_remove": // OK; done - technicalModifier = bracketize(this.Field) + "="; - break; - case "set_modify_by_value": - technicalModifier = bracketize(this.Field) + this.FieldOperator + "{" + this.GetFieldOperation() + "}"; - break; - case "set_modify_by_expression": - technicalModifier = bracketize(this.Field) + this.FieldOperator + "{" + this.GetFieldOperation(true) + "}"; - break; - case "set_pindirect": - //Customer = P({1} Customer) - indirectField = (nullOrEmpty(this.IndirectField) ? this.Field : this.IndirectField); //Use the target field as default - technicalModifier = bracketize(this.Field) + this.FieldOperator + "P({1<" + bracketize(this.OtherField) + "={" + this.GetFieldOperation(false) + "}>}" + bracketize(indirectField) + ")"; - break; - case "set_eindirect": - // same as set_pindirect but with E instead of P - indirectField = (nullOrEmpty(this.IndirectField) ? this.Field : this.IndirectField); //Use the target field as default - technicalModifier = bracketize(this.Field) + this.FieldOperator + "E({1<" + bracketize(this.OtherField) + "={" + this.GetFieldOperation(false) + "}>}" + bracketize(indirectField) + ")"; - break; - case "set_pindirect_exp": - indirectField = (nullOrEmpty(this.IndirectField) ? this.Field : this.IndirectField); //Use the target field as default - technicalModifier = bracketize(this.Field) + this.FieldOperator + "P({1<" + bracketize(this.OtherField) + "={" + this.GetFieldOperation(true) + "}>}" + bracketize(indirectField) + ")"; - break; - case "set_eindirect_exp": - indirectField = (nullOrEmpty(this.IndirectField) ? this.Field : this.IndirectField); //Use the target field as default - technicalModifier = bracketize(this.Field) + this.FieldOperator + "E({1<" + bracketize(this.OtherField) + "={" + this.GetFieldOperation(true) + "}>}" + bracketize(indirectField) + ")"; - break; - default: - technicalModifier = ''; - break; - } // (switch (Action) - debugger; - this.TechnicalModifier = technicalModifier; - return technicalModifier; - } // (GetModifier()) - - this.GetFieldOperation = function (isExp) { - - if (isExp == null || isExp == 'undefined') { - isExp = false; - } - - // Can be made easier ... just define mask1 and mask2 ... :) - switch (this.SelectionOperator) { - case "equal_to": - return (isExp) ? qualifyElement(this.ValuesOrExpression_1, "$(={0})") : qualifyElement(this.ValuesOrExpression_1); - break; - case "greater_than": - //">$(=max(Year))" - //">2000" - return (isExp) ? qualifyElement(this.ValuesOrExpression_1, "\">$(={0})\"") : qualifyElement(this.ValuesOrExpression_1, "\">{0}\"",true); - break; - case "less_than": - //"<$(=max(Year))" - //"<2000" - return (isExp) ? qualifyElement(this.ValuesOrExpression_1, "\"<$(={0})\"") : qualifyElement(this.ValuesOrExpression_1, "\"<{0}\"", true); - break; - case "greater_than_or_equal": - //">=$(=max(Year))" - //">=2000" - return (isExp) ? qualifyElement(this.ValuesOrExpression_1, "\">=$(={0})\"") : qualifyElement(this.ValuesOrExpression_1, "\">={0}\"", true); - break; - case "less_than_or_equal": - //"<=$(=max(Year))" - //"<=2000"return "\"<=" + this.ValuesOrExpression_1 + "\""; - return (isExp) ? qualifyElement(this.ValuesOrExpression_1, "\"<=$(={0})\"") : qualifyElement(this.ValuesOrExpression_1, "\"<={0}\"", true); - break; - case "contains": - return (isExp) ? qualifyElement(this.ValuesOrExpression_1, "\"*$(={0})*\"") : qualifyElement(this.ValuesOrExpression_1, "\"*{0}*\"", true) - break; - case "startswith": - return (isExp) ? qualifyElement(this.ValuesOrExpression_1, "\"$(={0})*\"") : qualifyElement(this.ValuesOrExpression_1, "\"{0}*\"", true) - break; - case "endswith": - return (isExp) ? qualifyElement(this.ValuesOrExpression_1, "\"*$(={0})\"") : qualifyElement(this.ValuesOrExpression_1, "\"*{0}\"", true) - break; - case "between_gt_lt": - //">2000<2010" - //">$(=min(Year))<$(=max(Year)) - //Todo: should we allow multiple values? - return (isExp) ? "\">$(=" + this.ValuesOrExpression_1 + ")<$(=" + this.ValuesOrExpression_2 + ")\"" : "\">" + this.ValuesOrExpression_1 + "<" + this.ValuesOrExpression_2 + "\""; - break; - case "between_gt=_lt=": - return (isExp) ? "\">=$(=" + this.ValuesOrExpression_1 + ")<=$(=" + this.ValuesOrExpression_2 + ")\"" : "\">=" + this.ValuesOrExpression_1 + "<=" + this.ValuesOrExpression_2 + "\""; - break; - case "between_gt_lt=": - return (isExp) ? "\">$(=" + this.ValuesOrExpression_1 + ")<=$(=" + this.ValuesOrExpression_2 + ")\"" : "\">" + this.ValuesOrExpression_1 + "<=" + this.ValuesOrExpression_2 + "\""; - break; - case "between_gt=_lt": - return (isExp) ? "\">=$(=" + this.ValuesOrExpression_1 + ")<$(=" + this.ValuesOrExpression_2 + ")\"" : "\">=" + this.ValuesOrExpression_1 + "<" + this.ValuesOrExpression_2 + "\""; - break; - } - - } // (GetFieldOperation) - - - this.GetSelectionOperatorDesc = function () { - switch (this.SelectionOperator) { - case "equal_to": - return "equal to \"{val1}\""; - break; - case "greater_than": - return "greater than \"{val1}\""; - break; - case "less_than": - return "less than \"{val1}\""; - break; - case "greater_than_or_equal": - return "greater than or equal \"{val1}\""; - break; - case "less_than_or_equal": - return "less than or equal \"{val1}\""; - break; - case "contains": - return "which contain the value \"{val1}\""; - break; - case "startswith": - return "starting with \"{val1}\""; - break; - case "endswith": - return "ending with \"{val1}\""; - break; - case "between_gt_lt": - return "greater than \"{val1}\" and less than \"{val2}\""; - break; - case "between_gt=_lt=": - return "greater or equal \"{val1}\" and less or equal \"{val2}\""; - break; - case "between_gt_lt=": - return "greater than \"{val1}\" and less or equal \"{val2}\""; - break; - case "between_gt=_lt": - return "greater or equal \"{val1}\" and less than \"{val2}\""; - break; - default: - return "unknown"; - break; - } // (switch) - } // (GetSelectionOperatorDesc) - - // ----------------------------------------------------------------- - // GetDescription - // ----------------------------------------------------------------- - this.GetDescription = function () { - - var indirectField = (nullOrEmpty(this.IndirectField) ? this.Field : this.IndirectField); - //return this.GetFieldOperatorDescription() + ' the value' + ((this.HasMultipleValues()) ? 's ' : ' ') + "\"" + this.ValuesOrExpression_1 + '\" in field \"' + this.Field + "\""; - switch (this.Action) { - case "set_remove": //OK, done - return "Remove selection in field \"" + this.Field + "\""; - break; - case "set_modify_by_value": //OK; done - return this.GetFieldOperatorDescription() + " " + this.GetSelectionOperatorDesc().replace("{val1}", this.ValuesOrExpression_1).replace("{val2}", this.ValuesOrExpression_2) + " in field \"" + this.Field + "\""; - break; - case "set_modify_by_expression": //OK; done - return this.GetFieldOperatorDescription() + " in field \"" + this.Field + "\" matching the condition: [" + this.GetSelectionOperatorDesc().replace("{val1}", this.ValuesOrExpression_1).replace("{val2}", this.ValuesOrExpression_2) + "]"; - break; - case "set_pindirect": //OK; done - return 'Select records in \"' + this.Field + '\" based on the indirect selections in \"' + indirectField + '\" for those records ' + this.GetSelectionOperatorDesc().replace("{val1}", this.ValuesOrExpression_1).replace("{val2}", this.ValuesOrExpression_2) + ' in field \"' + this.OtherField + '\"'; - break; - case "set_eindirect": - return 'Select records in \"' + this.Field + '\" based on the INVERSE indirect selections in \"' + indirectField + '\" for those records ' + this.GetSelectionOperatorDesc().replace("{val1}", this.ValuesOrExpression_1).replace("{val2}", this.ValuesOrExpression_2) + ' in field \"' + this.OtherField + '\"'; - break; - case "set_pindirect_exp": - return 'Select records in \"' + this.Field + '\" but only for those records matching the condition [' + this.GetSelectionOperatorDesc().replace("{val1}", this.ValuesOrExpression_1).replace("{val2}", this.ValuesOrExpression_2) + '] in field \"' + this.OtherField + '\"'; - break; - case "set_eindirect_exp": - return 'Select records in \"' + this.Field + '\" but only for those records NOT matching the condition [' + this.GetSelectionOperatorDesc().replace("{val1}", this.ValuesOrExpression_1).replace("{val2}", this.ValuesOrExpression_2) + '] in field \"' + this.OtherField + '\"'; - break; - default: - return null; - break; - } - } // (GetDescription) - - -} //(SetModifierAction Class ) \ No newline at end of file diff --git a/legacy_1/library/js/customInput.jquery.js b/legacy_1/library/js/customInput.jquery.js deleted file mode 100644 index 8002263..0000000 --- a/legacy_1/library/js/customInput.jquery.js +++ /dev/null @@ -1,68 +0,0 @@ -/*-------------------------------------------------------------------- - * jQuery plugin: customInput() - * by Maggie Wachs and Scott Jehl, http://www.filamentgroup.com - * Copyright (c) 2009 Filament Group - * Dual licensed under the MIT (filamentgroup.com/examples/mit-license.txt) and GPL (filamentgroup.com/examples/gpl-license.txt) licenses. - * Article: http://www.filamentgroup.com/lab/accessible_custom_designed_checkbox_radio_button_inputs_styled_css_jquery/ - * Usage example below (see comment "Run the script..."). ---------------------------------------------------------------------*/ - - -jQuery.fn.customInput = function(){ - $(this).each(function(i){ - if($(this).is('[type=checkbox],[type=radio]')){ - var input = $(this); - - // get the associated label using the input's id - var label = $('label[for='+input.attr('id')+']'); - - //get type, for classname suffix - var inputType = (input.is('[type=checkbox]')) ? 'checkbox' : 'radio'; - - // wrap the input + label in a div - $('
').insertBefore(input).append(input, label); - - // find all inputs in this set using the shared name attribute - var allInputs = $('input[name='+input.attr('name')+']'); - - // necessary for browsers that don't support the :hover pseudo class on labels - label.hover( - function(){ - $(this).addClass('hover'); - if(inputType == 'checkbox' && input.is(':checked')){ - $(this).addClass('checkedHover'); - } - }, - function(){ $(this).removeClass('hover checkedHover'); } - ); - - //bind custom event, trigger it, bind click,focus,blur events - input.bind('updateState', function(){ - if (input.is(':checked')) { - if (input.is(':radio')) { - allInputs.each(function(){ - $('label[for='+$(this).attr('id')+']').removeClass('checked'); - }); - }; - label.addClass('checked'); - } - else { label.removeClass('checked checkedHover checkedFocus'); } - - }) - .trigger('updateState') - .click(function(){ - $(this).trigger('updateState'); - }) - .focus(function(){ - label.addClass('focus'); - if(inputType == 'checkbox' && input.is(':checked')){ - $(this).addClass('checkedFocus'); - } - }) - .blur(function(){ label.removeClass('focus checkedFocus'); }); - } - }); -}; - - - diff --git a/legacy_1/library/js/jquery-1.4.1-vsdoc.js b/legacy_1/library/js/jquery-1.4.1-vsdoc.js deleted file mode 100644 index 5697522..0000000 --- a/legacy_1/library/js/jquery-1.4.1-vsdoc.js +++ /dev/null @@ -1,8061 +0,0 @@ -/* - * This file has been commented to support Visual Studio Intellisense. - * You should not use this file at runtime inside the browser--it is only - * intended to be used only for design-time IntelliSense. Please use the - * standard jQuery library for all production use. - * - * Comment version: 1.4.1a - */ - -/*! - * jQuery JavaScript Library v1.4.1 - * http://jquery.com/ - * - * Distributed in whole under the terms of the MIT - * - * Copyright 2010, John Resig - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files (the - * "Software"), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sublicense, and/or sell copies of the Software, and to - * permit persons to whom the Software is furnished to do so, subject to - * the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE - * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2010, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Mon Jan 25 19:43:33 2010 -0500 - */ - -(function( window, undefined ) { - -// Define a local copy of jQuery -var jQuery = function( selector, context ) { - /// - /// 1: $(expression, context) - This function accepts a string containing a CSS selector which is then used to match a set of elements. - /// 2: $(html) - Create DOM elements on-the-fly from the provided String of raw HTML. - /// 3: $(elements) - Wrap jQuery functionality around a single or multiple DOM Element(s). - /// 4: $(callback) - A shorthand for $(document).ready(). - /// 5: $() - As of jQuery 1.4, if you pass no arguments in to the jQuery() method, an empty jQuery set will be returned. - /// - /// - /// 1: expression - An expression to search with. - /// 2: html - A string of HTML to create on the fly. - /// 3: elements - DOM element(s) to be encapsulated by a jQuery object. - /// 4: callback - The function to execute when the DOM is ready. - /// - /// - /// 1: context - A DOM Element, Document or jQuery to use as context. - /// - /// - - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context ); - }, - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$, - - // Use the correct document accordingly with window argument (sandbox) - document = window.document, - - // A central reference to the root jQuery(document) - rootjQuery, - - // A simple way to check for HTML strings or ID strings - // (both of which we optimize for) - quickExpr = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/, - - // Is it a simple selector - isSimple = /^.[^:#\[\.,]*$/, - - // Check if a string has a non-whitespace character in it - rnotwhite = /\S/, - - // Used for trimming whitespace - rtrim = /^(\s|\u00A0)+|(\s|\u00A0)+$/g, - - // Match a standalone tag - rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, - - // Keep a UserAgent string for use with jQuery.browser - userAgent = navigator.userAgent, - - // For matching the engine and version of the browser - browserMatch, - - // Has the ready events already been bound? - readyBound = false, - - // The functions to execute on DOM ready - readyList = [], - - // The ready event handler - DOMContentLoaded, - - // Save a reference to some core methods - toString = Object.prototype.toString, - hasOwnProperty = Object.prototype.hasOwnProperty, - push = Array.prototype.push, - slice = Array.prototype.slice, - indexOf = Array.prototype.indexOf; - -jQuery.fn = jQuery.prototype = { - init: function( selector, context ) { - - var match, elem, ret, doc; - - // Handle $(""), $(null), or $(undefined) - if ( !selector ) { - return this; - } - - // Handle $(DOMElement) - if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - // Are we dealing with HTML string or an ID? - match = quickExpr.exec( selector ); - - // Verify a match, and that no context was specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - doc = (context ? context.ownerDocument || context : document); - - // If a single string is passed in and it's a single tag - // just do a createElement and skip the rest - ret = rsingleTag.exec( selector ); - - if ( ret ) { - if ( jQuery.isPlainObject( context ) ) { - selector = [ document.createElement( ret[1] ) ]; - jQuery.fn.attr.call( selector, context, true ); - - } else { - selector = [ doc.createElement( ret[1] ) ]; - } - - } else { - ret = buildFragment( [ match[1] ], [ doc ] ); - selector = (ret.cacheable ? ret.fragment.cloneNode(true) : ret.fragment).childNodes; - } - - // HANDLE: $("#id") - } else { - elem = document.getElementById( match[2] ); - - if ( elem ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $("TAG") - } else if ( !context && /^\w+$/.test( selector ) ) { - this.selector = selector; - this.context = document; - selector = document.getElementsByTagName( selector ); - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return (context || rootjQuery).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return jQuery( context ).find( selector ); - } - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return rootjQuery.ready( selector ); - } - - if (selector.selector !== undefined) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.isArray( selector ) ? - this.setArray( selector ) : - jQuery.makeArray( selector, this ); - }, - - // Start with an empty selector - selector: "", - - // The current version of jQuery being used - jquery: "1.4.1", - - // The default length of a jQuery object is 0 - length: 0, - - // The number of elements contained in the matched element set - size: function() { - /// - /// The number of elements currently matched. - /// Part of Core - /// - /// - - return this.length; - }, - - toArray: function() { - /// - /// Retrieve all the DOM elements contained in the jQuery set, as an array. - /// - /// - return slice.call( this, 0 ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - /// - /// Access a single matched element. num is used to access the - /// Nth element matched. - /// Part of Core - /// - /// - /// - /// Access the element in the Nth position. - /// - - return num == null ? - - // Return a 'clean' array - this.toArray() : - - // Return just the object - ( num < 0 ? this.slice(num)[ 0 ] : this[ num ] ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems, name, selector ) { - /// - /// Set the jQuery object to an array of elements, while maintaining - /// the stack. - /// Part of Core - /// - /// - /// - /// An array of elements - /// - - // Build a new jQuery matched element set - var ret = jQuery( elems || null ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - - ret.context = this.context; - - if ( name === "find" ) { - ret.selector = this.selector + (this.selector ? " " : "") + selector; - } else if ( name ) { - ret.selector = this.selector + "." + name + "(" + selector + ")"; - } - - // Return the newly-formed element set - return ret; - }, - - // Force the current matched set of elements to become - // the specified array of elements (destroying the stack in the process) - // You should use pushStack() in order to do this, but maintain the stack - setArray: function( elems ) { - /// - /// Set the jQuery object to an array of elements. This operation is - /// completely destructive - be sure to use .pushStack() if you wish to maintain - /// the jQuery stack. - /// Part of Core - /// - /// - /// - /// An array of elements - /// - - // Resetting the length to 0, then using the native Array push - // is a super-fast way to populate an object with array-like properties - this.length = 0; - push.apply( this, elems ); - - return this; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - /// - /// Execute a function within the context of every matched element. - /// This means that every time the passed-in function is executed - /// (which is once for every element matched) the 'this' keyword - /// points to the specific element. - /// Additionally, the function, when executed, is passed a single - /// argument representing the position of the element in the matched - /// set. - /// Part of Core - /// - /// - /// - /// A function to execute - /// - - return jQuery.each( this, callback, args ); - }, - - ready: function( fn ) { - /// - /// Binds a function to be executed whenever the DOM is ready to be traversed and manipulated. - /// - /// The function to be executed when the DOM is ready. - - // Attach the listeners - jQuery.bindReady(); - - // If the DOM is already ready - if ( jQuery.isReady ) { - // Execute the function immediately - fn.call( document, jQuery ); - - // Otherwise, remember the function for later - } else if ( readyList ) { - // Add the function to the wait list - readyList.push( fn ); - } - - return this; - }, - - eq: function( i ) { - /// - /// Reduce the set of matched elements to a single element. - /// The position of the element in the set of matched elements - /// starts at 0 and goes to length - 1. - /// Part of Core - /// - /// - /// - /// pos The index of the element that you wish to limit to. - /// - - return i === -1 ? - this.slice( i ) : - this.slice( i, +i + 1 ); - }, - - first: function() { - /// - /// Reduce the set of matched elements to the first in the set. - /// - /// - - return this.eq( 0 ); - }, - - last: function() { - /// - /// Reduce the set of matched elements to the final one in the set. - /// - /// - - return this.eq( -1 ); - }, - - slice: function() { - /// - /// Selects a subset of the matched elements. Behaves exactly like the built-in Array slice method. - /// - /// Where to start the subset (0-based). - /// Where to end the subset (not including the end element itself). - /// If omitted, ends at the end of the selection - /// The sliced elements - - return this.pushStack( slice.apply( this, arguments ), - "slice", slice.call(arguments).join(",") ); - }, - - map: function( callback ) { - /// - /// This member is internal. - /// - /// - /// - - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - end: function() { - /// - /// End the most recent 'destructive' operation, reverting the list of matched elements - /// back to its previous state. After an end operation, the list of matched elements will - /// revert to the last state of matched elements. - /// If there was no destructive operation before, an empty set is returned. - /// Part of DOM/Traversing - /// - /// - - return this.prevObject || jQuery(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: [].sort, - splice: [].splice -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -jQuery.extend = jQuery.fn.extend = function() { - /// - /// Extend one object with one or more others, returning the original, - /// modified, object. This is a great utility for simple inheritance. - /// jQuery.extend(settings, options); - /// var settings = jQuery.extend({}, defaults, options); - /// Part of JavaScript - /// - /// - /// The object to extend - /// - /// - /// The object that will be merged into the first. - /// - /// - /// (optional) More objects to merge into the first - /// - /// - - // copy reference to target object - var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( length === i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging object literal values or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || jQuery.isArray(copy) ) ) { - var clone = src && ( jQuery.isPlainObject(src) || jQuery.isArray(src) ) ? src - : jQuery.isArray(copy) ? [] : {}; - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - noConflict: function( deep ) { - /// - /// Run this function to give control of the $ variable back - /// to whichever library first implemented it. This helps to make - /// sure that jQuery doesn't conflict with the $ object - /// of other libraries. - /// By using this function, you will only be able to access jQuery - /// using the 'jQuery' variable. For example, where you used to do - /// $("div p"), you now must do jQuery("div p"). - /// Part of Core - /// - /// - - window.$ = _$; - - if ( deep ) { - window.jQuery = _jQuery; - } - - return jQuery; - }, - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // Handle when the DOM is ready - ready: function() { - /// - /// This method is internal. - /// - /// - - // Make sure that the DOM is not already loaded - if ( !jQuery.isReady ) { - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready, 13 ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If there are functions bound, to execute - if ( readyList ) { - // Execute all of them - var fn, i = 0; - while ( (fn = readyList[ i++ ]) ) { - fn.call( document, jQuery ); - } - - // Reset the list of functions - readyList = null; - } - - // Trigger any bound ready events - if ( jQuery.fn.triggerHandler ) { - jQuery( document ).triggerHandler( "ready" ); - } - } - }, - - bindReady: function() { - if ( readyBound ) { - return; - } - - readyBound = true; - - // Catch cases where $(document).ready() is called after the - // browser event has already occurred. - if ( document.readyState === "complete" ) { - return jQuery.ready(); - } - - // Mozilla, Opera and webkit nightlies currently support this event - if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", jQuery.ready, false ); - - // If IE event legacy_2 is used - } else if ( document.attachEvent ) { - // ensure firing before onload, - // maybe late but safe also for iframes - document.attachEvent("onreadystatechange", DOMContentLoaded); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", jQuery.ready ); - - // If IE and not a frame - // continually check to see if the document is ready - var toplevel = false; - - try { - toplevel = window.frameElement == null; - } catch(e) {} - - if ( document.documentElement.doScroll && toplevel ) { - doScrollCheck(); - } - } - }, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - /// - /// Determines if the parameter passed is a function. - /// - /// The object to check - /// True if the parameter is a function; otherwise false. - - return toString.call(obj) === "[object Function]"; - }, - - isArray: function( obj ) { - /// - /// Determine if the parameter passed is an array. - /// - /// Object to test whether or not it is an array. - /// True if the parameter is a function; otherwise false. - - return toString.call(obj) === "[object Array]"; - }, - - isPlainObject: function( obj ) { - /// - /// Check to see if an object is a plain object (created using "{}" or "new Object"). - /// - /// - /// The object that will be checked to see if it's a plain object. - /// - /// - - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || toString.call(obj) !== "[object Object]" || obj.nodeType || obj.setInterval ) { - return false; - } - - // Not own constructor property must be Object - if ( obj.constructor - && !hasOwnProperty.call(obj, "constructor") - && !hasOwnProperty.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - - var key; - for ( key in obj ) {} - - return key === undefined || hasOwnProperty.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - /// - /// Check to see if an object is empty (contains no properties). - /// - /// - /// The object that will be checked to see if it's empty. - /// - /// - - for ( var name in obj ) { - return false; - } - return true; - }, - - error: function( msg ) { - throw msg; - }, - - parseJSON: function( data ) { - if ( typeof data !== "string" || !data ) { - return null; - } - - // Make sure the incoming data is actual JSON - // Logic borrowed from http://json.org/json2.js - if ( /^[\],:{}\s]*$/.test(data.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, "@") - .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]") - .replace(/(?:^|:|,)(?:\s*\[)+/g, "")) ) { - - // Try to use the native JSON parser first - return window.JSON && window.JSON.parse ? - window.JSON.parse( data ) : - (new Function("return " + data))(); - - } else { - jQuery.error( "Invalid JSON: " + data ); - } - }, - - noop: function() { - /// - /// An empty function. - /// - /// - }, - - // Evalulates a script in a global context - globalEval: function( data ) { - /// - /// Internally evaluates a script in a global context. - /// - /// - - if ( data && rnotwhite.test(data) ) { - // Inspired by code by Andrea Giammarchi - // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html - var head = document.getElementsByTagName("head")[0] || document.documentElement, - script = document.createElement("script"); - - script.type = "text/javascript"; - - if ( jQuery.support.scriptEval ) { - script.appendChild( document.createTextNode( data ) ); - } else { - script.text = data; - } - - // Use insertBefore instead of appendChild to circumvent an IE6 bug. - // This arises when a base node is used (#2709). - head.insertBefore( script, head.firstChild ); - head.removeChild( script ); - } - }, - - nodeName: function( elem, name ) { - /// - /// Checks whether the specified element has the specified DOM node name. - /// - /// The element to examine - /// The node name to check - /// True if the specified node name matches the node's DOM node name; otherwise false - - return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase(); - }, - - // args is for internal usage only - each: function( object, callback, args ) { - /// - /// A generic iterator function, which can be used to seemlessly - /// iterate over both objects and arrays. This function is not the same - /// as $().each() - which is used to iterate, exclusively, over a jQuery - /// object. This function can be used to iterate over anything. - /// The callback has two arguments:the key (objects) or index (arrays) as first - /// the first, and the value as the second. - /// Part of JavaScript - /// - /// - /// The object, or array, to iterate over. - /// - /// - /// The function that will be executed on every object. - /// - /// - - var name, i = 0, - length = object.length, - isObj = length === undefined || jQuery.isFunction(object); - - if ( args ) { - if ( isObj ) { - for ( name in object ) { - if ( callback.apply( object[ name ], args ) === false ) { - break; - } - } - } else { - for ( ; i < length; ) { - if ( callback.apply( object[ i++ ], args ) === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isObj ) { - for ( name in object ) { - if ( callback.call( object[ name ], name, object[ name ] ) === false ) { - break; - } - } - } else { - for ( var value = object[0]; - i < length && callback.call( value, i, value ) !== false; value = object[++i] ) {} - } - } - - return object; - }, - - trim: function( text ) { - /// - /// Remove the whitespace from the beginning and end of a string. - /// Part of JavaScript - /// - /// - /// - /// The string to trim. - /// - - return (text || "").replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( array, results ) { - /// - /// Turns anything into a true array. This is an internal method. - /// - /// Anything to turn into an actual Array - /// - /// - - var ret = results || []; - - if ( array != null ) { - // The window, strings (and functions) also have 'length' - // The extra typeof function check is to prevent crashes - // in Safari 2 (See: #3039) - if ( array.length == null || typeof array === "string" || jQuery.isFunction(array) || (typeof array !== "function" && array.setInterval) ) { - push.call( ret, array ); - } else { - jQuery.merge( ret, array ); - } - } - - return ret; - }, - - inArray: function( elem, array ) { - if ( array.indexOf ) { - return array.indexOf( elem ); - } - - for ( var i = 0, length = array.length; i < length; i++ ) { - if ( array[ i ] === elem ) { - return i; - } - } - - return -1; - }, - - merge: function( first, second ) { - /// - /// Merge two arrays together, removing all duplicates. - /// The new array is: All the results from the first array, followed - /// by the unique results from the second array. - /// Part of JavaScript - /// - /// - /// - /// The first array to merge. - /// - /// - /// The second array to merge. - /// - - var i = first.length, j = 0; - - if ( typeof second.length === "number" ) { - for ( var l = second.length; j < l; j++ ) { - first[ i++ ] = second[ j ]; - } - } else { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, inv ) { - /// - /// Filter items out of an array, by using a filter function. - /// The specified function will be passed two arguments: The - /// current array item and the index of the item in the array. The - /// function must return 'true' to keep the item in the array, - /// false to remove it. - /// }); - /// Part of JavaScript - /// - /// - /// - /// array The Array to find items in. - /// - /// - /// The function to process each item against. - /// - /// - /// Invert the selection - select the opposite of the function. - /// - - var ret = []; - - // Go through the array, only saving the items - // that pass the validator function - for ( var i = 0, length = elems.length; i < length; i++ ) { - if ( !inv !== !callback( elems[ i ], i ) ) { - ret.push( elems[ i ] ); - } - } - - return ret; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - /// - /// Translate all items in an array to another array of items. - /// The translation function that is provided to this method is - /// called for each item in the array and is passed one argument: - /// The item to be translated. - /// The function can then return the translated value, 'null' - /// (to remove the item), or an array of values - which will - /// be flattened into the full array. - /// Part of JavaScript - /// - /// - /// - /// array The Array to translate. - /// - /// - /// The function to process each item against. - /// - - var ret = [], value; - - // Go through the array, translating each of the items to their - // new value (or values). - for ( var i = 0, length = elems.length; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - - return ret.concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - proxy: function( fn, proxy, thisObject ) { - /// - /// Takes a function and returns a new one that will always have a particular scope. - /// - /// - /// The function whose scope will be changed. - /// - /// - /// The object to which the scope of the function should be set. - /// - /// - - if ( arguments.length === 2 ) { - if ( typeof proxy === "string" ) { - thisObject = fn; - fn = thisObject[ proxy ]; - proxy = undefined; - - } else if ( proxy && !jQuery.isFunction( proxy ) ) { - thisObject = proxy; - proxy = undefined; - } - } - - if ( !proxy && fn ) { - proxy = function() { - return fn.apply( thisObject || this, arguments ); - }; - } - - // Set the guid of unique handler to the same of original handler, so it can be removed - if ( fn ) { - proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++; - } - - // So proxy can be declared as an argument - return proxy; - }, - - // Use of jQuery.browser is frowned upon. - // More details: http://docs.jquery.com/Utilities/jQuery.browser - uaMatch: function( ua ) { - ua = ua.toLowerCase(); - - var match = /(webkit)[ \/]([\w.]+)/.exec( ua ) || - /(opera)(?:.*version)?[ \/]([\w.]+)/.exec( ua ) || - /(msie) ([\w.]+)/.exec( ua ) || - !/compatible/.test( ua ) && /(mozilla)(?:.*? rv:([\w.]+))?/.exec( ua ) || - []; - - return { browser: match[1] || "", version: match[2] || "0" }; - }, - - browser: {} -}); - -browserMatch = jQuery.uaMatch( userAgent ); -if ( browserMatch.browser ) { - jQuery.browser[ browserMatch.browser ] = true; - jQuery.browser.version = browserMatch.version; -} - -// Deprecated, use jQuery.browser.webkit instead -if ( jQuery.browser.webkit ) { - jQuery.browser.safari = true; -} - -if ( indexOf ) { - jQuery.inArray = function( elem, array ) { - /// - /// Determines the index of the first parameter in the array. - /// - /// The value to see if it exists in the array. - /// The array to look through for the value - /// The 0-based index of the item if it was found, otherwise -1. - - return indexOf.call( array, elem ); - }; -} - -// All jQuery objects should point back to these -rootjQuery = jQuery(document); - -// Cleanup functions for the document ready method -if ( document.addEventListener ) { - DOMContentLoaded = function() { - document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); - jQuery.ready(); - }; - -} else if ( document.attachEvent ) { - DOMContentLoaded = function() { - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( document.readyState === "complete" ) { - document.detachEvent( "onreadystatechange", DOMContentLoaded ); - jQuery.ready(); - } - }; -} - -// The DOM ready check for Internet Explorer -function doScrollCheck() { - if ( jQuery.isReady ) { - return; - } - - try { - // If IE is used, use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - document.documentElement.doScroll("left"); - } catch( error ) { - setTimeout( doScrollCheck, 1 ); - return; - } - - // and execute any waiting functions - jQuery.ready(); -} - -function evalScript( i, elem ) { - /// - /// This method is internal. - /// - /// - - if ( elem.src ) { - jQuery.ajax({ - url: elem.src, - async: false, - dataType: "script" - }); - } else { - jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" ); - } - - if ( elem.parentNode ) { - elem.parentNode.removeChild( elem ); - } -} - -// Mutifunctional method to get and set values to a collection -// The value/s can be optionally by executed if its a function -function access( elems, key, value, exec, fn, pass ) { - var length = elems.length; - - // Setting many attributes - if ( typeof key === "object" ) { - for ( var k in key ) { - access( elems, k, key[k], exec, fn, value ); - } - return elems; - } - - // Setting one attribute - if ( value !== undefined ) { - // Optionally, function values get executed if exec is true - exec = !pass && exec && jQuery.isFunction(value); - - for ( var i = 0; i < length; i++ ) { - fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); - } - - return elems; - } - - // Getting an attribute - return length ? fn( elems[0], key ) : null; -} - -function now() { - /// - /// Gets the current date. - /// - /// The current date. - - return (new Date).getTime(); -} - -// [vsdoc] The following function has been modified for IntelliSense. -// [vsdoc] Stubbing support properties to "false" for IntelliSense compat. -(function() { - - jQuery.support = {}; - - // var root = document.documentElement, - // script = document.createElement("script"), - // div = document.createElement("div"), - // id = "script" + now(); - - // div.style.display = "none"; - // div.innerHTML = "
a"; - - // var all = div.getElementsByTagName("*"), - // a = div.getElementsByTagName("a")[0]; - - // // Can't get basic test support - // if ( !all || !all.length || !a ) { - // return; - // } - - jQuery.support = { - // IE strips leading whitespace when .innerHTML is used - leadingWhitespace: false, - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - tbody: false, - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - htmlSerialize: false, - - // Get the style information from getAttribute - // (IE uses .cssText insted) - style: false, - - // Make sure that URLs aren't manipulated - // (IE normalizes it by default) - hrefNormalized: false, - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - opacity: false, - - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - cssFloat: false, - - // Make sure that if no value is specified for a checkbox - // that it defaults to "on". - // (WebKit defaults to "" instead) - checkOn: false, - - // Make sure that a selected-by-default option has a working selected property. - // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) - optSelected: false, - - // Will be defined later - checkClone: false, - scriptEval: false, - noCloneEvent: false, - boxModel: false - }; - - // script.type = "text/javascript"; - // try { - // script.appendChild( document.createTextNode( "window." + id + "=1;" ) ); - // } catch(e) {} - - // root.insertBefore( script, root.firstChild ); - - // // Make sure that the execution of code works by injecting a script - // // tag with appendChild/createTextNode - // // (IE doesn't support this, fails, and uses .text instead) - // if ( window[ id ] ) { - // jQuery.support.scriptEval = true; - // delete window[ id ]; - // } - - // root.removeChild( script ); - - // if ( div.attachEvent && div.fireEvent ) { - // div.attachEvent("onclick", function click() { - // // Cloning a node shouldn't copy over any - // // bound event handlers (IE does this) - // jQuery.support.noCloneEvent = false; - // div.detachEvent("onclick", click); - // }); - // div.cloneNode(true).fireEvent("onclick"); - // } - - // div = document.createElement("div"); - // div.innerHTML = ""; - - // var fragment = document.createDocumentFragment(); - // fragment.appendChild( div.firstChild ); - - // // WebKit doesn't clone checked state correctly in fragments - // jQuery.support.checkClone = fragment.cloneNode(true).cloneNode(true).lastChild.checked; - - // // Figure out if the W3C box legacy_2 works as expected - // // document.body must exist before we can do this - // jQuery(function() { - // var div = document.createElement("div"); - // div.style.width = div.style.paddingLeft = "1px"; - - // document.body.appendChild( div ); - // jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2; - // document.body.removeChild( div ).style.display = 'none'; - // div = null; - // }); - - // // Technique from Juriy Zaytsev - // // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/ - // var eventSupported = function( eventName ) { - // var el = document.createElement("div"); - // eventName = "on" + eventName; - - // var isSupported = (eventName in el); - // if ( !isSupported ) { - // el.setAttribute(eventName, "return;"); - // isSupported = typeof el[eventName] === "function"; - // } - // el = null; - - // return isSupported; - // }; - - jQuery.support.submitBubbles = false; - jQuery.support.changeBubbles = false; - - // // release memory in IE - // root = script = div = all = a = null; -})(); - -jQuery.props = { - "for": "htmlFor", - "class": "className", - readonly: "readOnly", - maxlength: "maxLength", - cellspacing: "cellSpacing", - rowspan: "rowSpan", - colspan: "colSpan", - tabindex: "tabIndex", - usemap: "useMap", - frameborder: "frameBorder" -}; -var expando = "jQuery" + now(), uuid = 0, windowData = {}; -var emptyObject = {}; - -jQuery.extend({ - cache: {}, - - expando:expando, - - // The following elements throw uncatchable exceptions if you - // attempt to add expando properties to them. - noData: { - "embed": true, - "object": true, - "applet": true - }, - - data: function( elem, name, data ) { - /// - /// Store arbitrary data associated with the specified element. - /// - /// - /// The DOM element to associate with the data. - /// - /// - /// A string naming the piece of data to set. - /// - /// - /// The new data value. - /// - /// - - if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) { - return; - } - - elem = elem == window ? - windowData : - elem; - - var id = elem[ expando ], cache = jQuery.cache, thisCache; - - // Handle the case where there's no name immediately - if ( !name && !id ) { - return null; - } - - // Compute a unique ID for the element - if ( !id ) { - id = ++uuid; - } - - // Avoid generating a new cache unless none exists and we - // want to manipulate it. - if ( typeof name === "object" ) { - elem[ expando ] = id; - thisCache = cache[ id ] = jQuery.extend(true, {}, name); - } else if ( cache[ id ] ) { - thisCache = cache[ id ]; - } else if ( typeof data === "undefined" ) { - thisCache = emptyObject; - } else { - thisCache = cache[ id ] = {}; - } - - // Prevent overriding the named cache with undefined values - if ( data !== undefined ) { - elem[ expando ] = id; - thisCache[ name ] = data; - } - - return typeof name === "string" ? thisCache[ name ] : thisCache; - }, - - removeData: function( elem, name ) { - if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) { - return; - } - - elem = elem == window ? - windowData : - elem; - - var id = elem[ expando ], cache = jQuery.cache, thisCache = cache[ id ]; - - // If we want to remove a specific section of the element's data - if ( name ) { - if ( thisCache ) { - // Remove the section of cache data - delete thisCache[ name ]; - - // If we've removed all the data, remove the element's cache - if ( jQuery.isEmptyObject(thisCache) ) { - jQuery.removeData( elem ); - } - } - - // Otherwise, we want to remove all of the element's data - } else { - // Clean up the element expando - try { - delete elem[ expando ]; - } catch( e ) { - // IE has trouble directly removing the expando - // but it's ok with using removeAttribute - if ( elem.removeAttribute ) { - elem.removeAttribute( expando ); - } - } - - // Completely remove the data cache - delete cache[ id ]; - } - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - /// - /// Store arbitrary data associated with the matched elements. - /// - /// - /// A string naming the piece of data to set. - /// - /// - /// The new data value. - /// - /// - - if ( typeof key === "undefined" && this.length ) { - return jQuery.data( this[0] ); - - } else if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - var parts = key.split("."); - parts[1] = parts[1] ? "." + parts[1] : ""; - - if ( value === undefined ) { - var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); - - if ( data === undefined && this.length ) { - data = jQuery.data( this[0], key ); - } - return data === undefined && parts[1] ? - this.data( parts[0] ) : - data; - } else { - return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function() { - jQuery.data( this, key, value ); - }); - } - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); -jQuery.extend({ - queue: function( elem, type, data ) { - if ( !elem ) { - return; - } - - type = (type || "fx") + "queue"; - var q = jQuery.data( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( !data ) { - return q || []; - } - - if ( !q || jQuery.isArray(data) ) { - q = jQuery.data( elem, type, jQuery.makeArray(data) ); - - } else { - q.push( data ); - } - - return q; - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), fn = queue.shift(); - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - } - - if ( fn ) { - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift("inprogress"); - } - - fn.call(elem, function() { - jQuery.dequeue(elem, type); - }); - } - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - /// - /// 1: queue() - Returns a reference to the first element's queue (which is an array of functions). - /// 2: queue(callback) - Adds a new function, to be executed, onto the end of the queue of all matched elements. - /// 3: queue(queue) - Replaces the queue of all matched element with this new queue (the array of functions). - /// - /// The function to add to the queue. - /// - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - } - - if ( data === undefined ) { - return jQuery.queue( this[0], type ); - } - return this.each(function( i, elem ) { - var queue = jQuery.queue( this, type, data ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - /// - /// Removes a queued function from the front of the queue and executes it. - /// - /// The type of queue to access. - /// - - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - - // Based off of the plugin by Clint Helfers, with permission. - // http://blindsignals.com/index.php/2009/07/jquery-delay/ - delay: function( time, type ) { - /// - /// Set a timer to delay execution of subsequent items in the queue. - /// - /// - /// An integer indicating the number of milliseconds to delay execution of the next item in the queue. - /// - /// - /// A string containing the name of the queue. Defaults to fx, the standard effects queue. - /// - /// - - time = jQuery.fx ? jQuery.fx.speeds[time] || time : time; - type = type || "fx"; - - return this.queue( type, function() { - var elem = this; - setTimeout(function() { - jQuery.dequeue( elem, type ); - }, time ); - }); - }, - - clearQueue: function( type ) { - /// - /// Remove from the queue all items that have not yet been run. - /// - /// - /// A string containing the name of the queue. Defaults to fx, the standard effects queue. - /// - /// - - return this.queue( type || "fx", [] ); - } -}); -var rclass = /[\n\t]/g, - rspace = /\s+/, - rreturn = /\r/g, - rspecialurl = /href|src|style/, - rtype = /(button|input)/i, - rfocusable = /(button|input|object|select|textarea)/i, - rclickable = /^(a|area)$/i, - rradiocheck = /radio|checkbox/; - -jQuery.fn.extend({ - attr: function( name, value ) { - /// - /// Set a single property to a computed value, on all matched elements. - /// Instead of a value, a function is provided, that computes the value. - /// Part of DOM/Attributes - /// - /// - /// - /// The name of the property to set. - /// - /// - /// A function returning the value to set. - /// - - return access( this, name, value, true, jQuery.attr ); - }, - - removeAttr: function( name, fn ) { - /// - /// Remove an attribute from each of the matched elements. - /// Part of DOM/Attributes - /// - /// - /// An attribute to remove. - /// - /// - - return this.each(function(){ - jQuery.attr( this, name, "" ); - if ( this.nodeType === 1 ) { - this.removeAttribute( name ); - } - }); - }, - - addClass: function( value ) { - /// - /// Adds the specified class(es) to each of the set of matched elements. - /// Part of DOM/Attributes - /// - /// - /// One or more class names to be added to the class attribute of each matched element. - /// - /// - - if ( jQuery.isFunction(value) ) { - return this.each(function(i) { - var self = jQuery(this); - self.addClass( value.call(this, i, self.attr("class")) ); - }); - } - - if ( value && typeof value === "string" ) { - var classNames = (value || "").split( rspace ); - - for ( var i = 0, l = this.length; i < l; i++ ) { - var elem = this[i]; - - if ( elem.nodeType === 1 ) { - if ( !elem.className ) { - elem.className = value; - - } else { - var className = " " + elem.className + " "; - for ( var c = 0, cl = classNames.length; c < cl; c++ ) { - if ( className.indexOf( " " + classNames[c] + " " ) < 0 ) { - elem.className += " " + classNames[c]; - } - } - } - } - } - } - - return this; - }, - - removeClass: function( value ) { - /// - /// Removes all or the specified class(es) from the set of matched elements. - /// Part of DOM/Attributes - /// - /// - /// (Optional) A class name to be removed from the class attribute of each matched element. - /// - /// - - if ( jQuery.isFunction(value) ) { - return this.each(function(i) { - var self = jQuery(this); - self.removeClass( value.call(this, i, self.attr("class")) ); - }); - } - - if ( (value && typeof value === "string") || value === undefined ) { - var classNames = (value || "").split(rspace); - - for ( var i = 0, l = this.length; i < l; i++ ) { - var elem = this[i]; - - if ( elem.nodeType === 1 && elem.className ) { - if ( value ) { - var className = (" " + elem.className + " ").replace(rclass, " "); - for ( var c = 0, cl = classNames.length; c < cl; c++ ) { - className = className.replace(" " + classNames[c] + " ", " "); - } - elem.className = className.substring(1, className.length - 1); - - } else { - elem.className = ""; - } - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - /// - /// Add or remove a class from each element in the set of matched elements, depending - /// on either the class's presence or the value of the switch argument. - /// - /// - /// A class name to be toggled for each element in the matched set. - /// - /// - /// A boolean value to determine whether the class should be added or removed. - /// - /// - - var type = typeof value, isBool = typeof stateVal === "boolean"; - - if ( jQuery.isFunction( value ) ) { - return this.each(function(i) { - var self = jQuery(this); - self.toggleClass( value.call(this, i, self.attr("class"), stateVal), stateVal ); - }); - } - - return this.each(function() { - if ( type === "string" ) { - // toggle individual class names - var className, i = 0, self = jQuery(this), - state = stateVal, - classNames = value.split( rspace ); - - while ( (className = classNames[ i++ ]) ) { - // check each className given, space seperated list - state = isBool ? state : !self.hasClass( className ); - self[ state ? "addClass" : "removeClass" ]( className ); - } - - } else if ( type === "undefined" || type === "boolean" ) { - if ( this.className ) { - // store className if set - jQuery.data( this, "__className__", this.className ); - } - - // toggle whole className - this.className = this.className || value === false ? "" : jQuery.data( this, "__className__" ) || ""; - } - }); - }, - - hasClass: function( selector ) { - /// - /// Checks the current selection against a class and returns whether at least one selection has a given class. - /// - /// The class to check against - /// True if at least one element in the selection has the class, otherwise false. - - var className = " " + selector + " "; - for ( var i = 0, l = this.length; i < l; i++ ) { - if ( (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) { - return true; - } - } - - return false; - }, - - val: function( value ) { - /// - /// Set the value of every matched element. - /// Part of DOM/Attributes - /// - /// - /// - /// A string of text or an array of strings to set as the value property of each - /// matched element. - /// - - if ( value === undefined ) { - var elem = this[0]; - - if ( elem ) { - if ( jQuery.nodeName( elem, "option" ) ) { - return (elem.attributes.value || {}).specified ? elem.value : elem.text; - } - - // We need to handle select boxes special - if ( jQuery.nodeName( elem, "select" ) ) { - var index = elem.selectedIndex, - values = [], - options = elem.options, - one = elem.type === "select-one"; - - // Nothing was selected - if ( index < 0 ) { - return null; - } - - // Loop through all the selected options - for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) { - var option = options[ i ]; - - if ( option.selected ) { - // Get the specifc value for the option - value = jQuery(option).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - } - - // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified - if ( rradiocheck.test( elem.type ) && !jQuery.support.checkOn ) { - return elem.getAttribute("value") === null ? "on" : elem.value; - } - - - // Everything else, we just grab the value - return (elem.value || "").replace(rreturn, ""); - - } - - return undefined; - } - - var isFunction = jQuery.isFunction(value); - - return this.each(function(i) { - var self = jQuery(this), val = value; - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call(this, i, self.val()); - } - - // Typecast each time if the value is a Function and the appended - // value is therefore different each time. - if ( typeof val === "number" ) { - val += ""; - } - - if ( jQuery.isArray(val) && rradiocheck.test( this.type ) ) { - this.checked = jQuery.inArray( self.val(), val ) >= 0; - - } else if ( jQuery.nodeName( this, "select" ) ) { - var values = jQuery.makeArray(val); - - jQuery( "option", this ).each(function() { - this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; - }); - - if ( !values.length ) { - this.selectedIndex = -1; - } - - } else { - this.value = val; - } - }); - } -}); - -jQuery.extend({ - attrFn: { - val: true, - css: true, - html: true, - text: true, - data: true, - width: true, - height: true, - offset: true - }, - - attr: function( elem, name, value, pass ) { - /// - /// This method is internal. - /// - /// - - // don't set attributes on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) { - return undefined; - } - - if ( pass && name in jQuery.attrFn ) { - return jQuery(elem)[name](value); - } - - var notxml = elem.nodeType !== 1 || !jQuery.isXMLDoc( elem ), - // Whether we are setting (or getting) - set = value !== undefined; - - // Try to normalize/fix the name - name = notxml && jQuery.props[ name ] || name; - - // Only do all the following if this is a node (faster for style) - if ( elem.nodeType === 1 ) { - // These attributes require special treatment - var special = rspecialurl.test( name ); - - // Safari mis-reports the default selected property of an option - // Accessing the parent's selectedIndex property fixes it - if ( name === "selected" && !jQuery.support.optSelected ) { - var parent = elem.parentNode; - if ( parent ) { - parent.selectedIndex; - - // Make sure that it also works with optgroups, see #5701 - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - } - - // If applicable, access the attribute via the DOM 0 way - if ( name in elem && notxml && !special ) { - if ( set ) { - // We can't allow the type property to be changed (since it causes problems in IE) - if ( name === "type" && rtype.test( elem.nodeName ) && elem.parentNode ) { - jQuery.error( "type property can't be changed" ); - } - - elem[ name ] = value; - } - - // browsers index elements by id/name on forms, give priority to attributes. - if ( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) ) { - return elem.getAttributeNode( name ).nodeValue; - } - - // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - if ( name === "tabIndex" ) { - var attributeNode = elem.getAttributeNode( "tabIndex" ); - - return attributeNode && attributeNode.specified ? - attributeNode.value : - rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? - 0 : - undefined; - } - - return elem[ name ]; - } - - if ( !jQuery.support.style && notxml && name === "style" ) { - if ( set ) { - elem.style.cssText = "" + value; - } - - return elem.style.cssText; - } - - if ( set ) { - // convert the value to a string (all browsers do this but IE) see #1070 - elem.setAttribute( name, "" + value ); - } - - var attr = !jQuery.support.hrefNormalized && notxml && special ? - // Some attributes require a special call on IE - elem.getAttribute( name, 2 ) : - elem.getAttribute( name ); - - // Non-existent attributes return null, we normalize to undefined - return attr === null ? undefined : attr; - } - - // elem is actually elem.style ... set the style - // Using attr for specific style information is now deprecated. Use style insead. - return jQuery.style( elem, name, value ); - } -}); -var fcleanup = function( nm ) { - return nm.replace(/[^\w\s\.\|`]/g, function( ch ) { - return "\\" + ch; - }); -}; - -/* - * A number of helper functions used for managing events. - * Many of the ideas behind this code originated from - * Dean Edwards' addEvent library. - */ -jQuery.event = { - - // Bind an event to an element - // Original by Dean Edwards - add: function( elem, types, handler, data ) { - /// - /// This method is internal. - /// - /// - - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // For whatever reason, IE has trouble passing the window object - // around, causing it to be cloned in the process - if ( elem.setInterval && ( elem !== window && !elem.frameElement ) ) { - elem = window; - } - - // Make sure that the function being executed has a unique ID - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // if data is passed, bind to handler - if ( data !== undefined ) { - // Create temporary function pointer to original handler - var fn = handler; - - // Create unique handler function, wrapped around original handler - handler = jQuery.proxy( fn ); - - // Store data in unique handler - handler.data = data; - } - - // Init the element's event structure - var events = jQuery.data( elem, "events" ) || jQuery.data( elem, "events", {} ), - handle = jQuery.data( elem, "handle" ), eventHandle; - - if ( !handle ) { - eventHandle = function() { - // Handle the second event of a trigger and when - // an event is called after a page has unloaded - return typeof jQuery !== "undefined" && !jQuery.event.triggered ? - jQuery.event.handle.apply( eventHandle.elem, arguments ) : - undefined; - }; - - handle = jQuery.data( elem, "handle", eventHandle ); - } - - // If no handle is found then we must be trying to bind to one of the - // banned noData elements - if ( !handle ) { - return; - } - - // Add elem as a property of the handle function - // This is to prevent a memory leak with non-native - // event in IE. - handle.elem = elem; - - // Handle multiple events separated by a space - // jQuery(...).bind("mouseover mouseout", fn); - types = types.split( /\s+/ ); - - var type, i = 0; - - while ( (type = types[ i++ ]) ) { - // Namespaced event handlers - var namespaces = type.split("."); - type = namespaces.shift(); - - if ( i > 1 ) { - handler = jQuery.proxy( handler ); - - if ( data !== undefined ) { - handler.data = data; - } - } - - handler.type = namespaces.slice(0).sort().join("."); - - // Get the current list of functions bound to this event - var handlers = events[ type ], - special = this.special[ type ] || {}; - - // Init the event handler queue - if ( !handlers ) { - handlers = events[ type ] = {}; - - // Check for a special event handler - // Only use addEventListener/attachEvent if the special - // events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, handler) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, handle, false ); - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, handle ); - } - } - } - - if ( special.add ) { - var modifiedHandler = special.add.call( elem, handler, data, namespaces, handlers ); - if ( modifiedHandler && jQuery.isFunction( modifiedHandler ) ) { - modifiedHandler.guid = modifiedHandler.guid || handler.guid; - modifiedHandler.data = modifiedHandler.data || handler.data; - modifiedHandler.type = modifiedHandler.type || handler.type; - handler = modifiedHandler; - } - } - - // Add the function to the element's handler list - handlers[ handler.guid ] = handler; - - // Keep track of which events have been used, for global triggering - this.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - global: {}, - - // Detach an event or set of events from an element - remove: function( elem, types, handler ) { - /// - /// This method is internal. - /// - /// - - // don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - var events = jQuery.data( elem, "events" ), ret, type, fn; - - if ( events ) { - // Unbind all events for the element - if ( types === undefined || (typeof types === "string" && types.charAt(0) === ".") ) { - for ( type in events ) { - this.remove( elem, type + (types || "") ); - } - } else { - // types is actually an event object here - if ( types.type ) { - handler = types.handler; - types = types.type; - } - - // Handle multiple events separated by a space - // jQuery(...).unbind("mouseover mouseout", fn); - types = types.split(/\s+/); - var i = 0; - while ( (type = types[ i++ ]) ) { - // Namespaced event handlers - var namespaces = type.split("."); - type = namespaces.shift(); - var all = !namespaces.length, - cleaned = jQuery.map( namespaces.slice(0).sort(), fcleanup ), - namespace = new RegExp("(^|\\.)" + cleaned.join("\\.(?:.*\\.)?") + "(\\.|$)"), - special = this.special[ type ] || {}; - - if ( events[ type ] ) { - // remove the given handler for the given type - if ( handler ) { - fn = events[ type ][ handler.guid ]; - delete events[ type ][ handler.guid ]; - - // remove all handlers for the given type - } else { - for ( var handle in events[ type ] ) { - // Handle the removal of namespaced events - if ( all || namespace.test( events[ type ][ handle ].type ) ) { - delete events[ type ][ handle ]; - } - } - } - - if ( special.remove ) { - special.remove.call( elem, namespaces, fn); - } - - // remove generic event handler if no more handlers exist - for ( ret in events[ type ] ) { - break; - } - if ( !ret ) { - if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, jQuery.data( elem, "handle" ), false ); - } else if ( elem.detachEvent ) { - elem.detachEvent( "on" + type, jQuery.data( elem, "handle" ) ); - } - } - ret = null; - delete events[ type ]; - } - } - } - } - - // Remove the expando if it's no longer used - for ( ret in events ) { - break; - } - if ( !ret ) { - var handle = jQuery.data( elem, "handle" ); - if ( handle ) { - handle.elem = null; - } - jQuery.removeData( elem, "events" ); - jQuery.removeData( elem, "handle" ); - } - } - }, - - // bubbling is internal - trigger: function( event, data, elem /*, bubbling */ ) { - /// - /// This method is internal. - /// - /// - - // Event object or event type - var type = event.type || event, - bubbling = arguments[3]; - - if ( !bubbling ) { - event = typeof event === "object" ? - // jQuery.Event object - event[expando] ? event : - // Object literal - jQuery.extend( jQuery.Event(type), event ) : - // Just the event type (string) - jQuery.Event(type); - - if ( type.indexOf("!") >= 0 ) { - event.type = type = type.slice(0, -1); - event.exclusive = true; - } - - // Handle a global trigger - if ( !elem ) { - // Don't bubble custom events when global (to avoid too much overhead) - event.stopPropagation(); - - // Only trigger if we've ever bound an event for it - if ( this.global[ type ] ) { - jQuery.each( jQuery.cache, function() { - if ( this.events && this.events[type] ) { - jQuery.event.trigger( event, data, this.handle.elem ); - } - }); - } - } - - // Handle triggering a single element - - // don't do events on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) { - return undefined; - } - - // Clean up in case it is reused - event.result = undefined; - event.target = elem; - - // Clone the incoming data, if any - data = jQuery.makeArray( data ); - data.unshift( event ); - } - - event.currentTarget = elem; - - // Trigger the event, it is assumed that "handle" is a function - var handle = jQuery.data( elem, "handle" ); - if ( handle ) { - handle.apply( elem, data ); - } - - var parent = elem.parentNode || elem.ownerDocument; - - // Trigger an inline bound script - try { - if ( !(elem && elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()]) ) { - if ( elem[ "on" + type ] && elem[ "on" + type ].apply( elem, data ) === false ) { - event.result = false; - } - } - - // prevent IE from throwing an error for some elements with some event types, see #3533 - } catch (e) {} - - if ( !event.isPropagationStopped() && parent ) { - jQuery.event.trigger( event, data, parent, true ); - - } else if ( !event.isDefaultPrevented() ) { - var target = event.target, old, - isClick = jQuery.nodeName(target, "a") && type === "click"; - - if ( !isClick && !(target && target.nodeName && jQuery.noData[target.nodeName.toLowerCase()]) ) { - try { - if ( target[ type ] ) { - // Make sure that we don't accidentally re-trigger the onFOO events - old = target[ "on" + type ]; - - if ( old ) { - target[ "on" + type ] = null; - } - - this.triggered = true; - target[ type ](); - } - - // prevent IE from throwing an error for some elements with some event types, see #3533 - } catch (e) {} - - if ( old ) { - target[ "on" + type ] = old; - } - - this.triggered = false; - } - } - }, - - handle: function( event ) { - /// - /// This method is internal. - /// - /// - - // returned undefined or false - var all, handlers; - - event = arguments[0] = jQuery.event.fix( event || window.event ); - event.currentTarget = this; - - // Namespaced event handlers - var namespaces = event.type.split("."); - event.type = namespaces.shift(); - - // Cache this now, all = true means, any handler - all = !namespaces.length && !event.exclusive; - - var namespace = new RegExp("(^|\\.)" + namespaces.slice(0).sort().join("\\.(?:.*\\.)?") + "(\\.|$)"); - - handlers = ( jQuery.data(this, "events") || {} )[ event.type ]; - - for ( var j in handlers ) { - var handler = handlers[ j ]; - - // Filter the functions by class - if ( all || namespace.test(handler.type) ) { - // Pass in a reference to the handler function itself - // So that we can later remove it - event.handler = handler; - event.data = handler.data; - - var ret = handler.apply( this, arguments ); - - if ( ret !== undefined ) { - event.result = ret; - if ( ret === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - - if ( event.isImmediatePropagationStopped() ) { - break; - } - - } - } - - return event.result; - }, - - props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), - - fix: function( event ) { - /// - /// This method is internal. - /// - /// - - if ( event[ expando ] ) { - return event; - } - - // store a copy of the original event object - // and "clone" to set read-only properties - var originalEvent = event; - event = jQuery.Event( originalEvent ); - - for ( var i = this.props.length, prop; i; ) { - prop = this.props[ --i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Fix target property, if necessary - if ( !event.target ) { - event.target = event.srcElement || document; // Fixes #1925 where srcElement might not be defined either - } - - // check if target is a textnode (safari) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && event.fromElement ) { - event.relatedTarget = event.fromElement === event.target ? event.toElement : event.fromElement; - } - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && event.clientX != null ) { - var doc = document.documentElement, body = document.body; - event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0); - event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && doc.clientTop || body && body.clientTop || 0); - } - - // Add which for key events - if ( !event.which && ((event.charCode || event.charCode === 0) ? event.charCode : event.keyCode) ) { - event.which = event.charCode || event.keyCode; - } - - // Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs) - if ( !event.metaKey && event.ctrlKey ) { - event.metaKey = event.ctrlKey; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && event.button !== undefined ) { - event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) )); - } - - return event; - }, - - // Deprecated, use jQuery.guid instead - guid: 1E8, - - // Deprecated, use jQuery.proxy instead - proxy: jQuery.proxy, - - special: { - ready: { - // Make sure the ready event is setup - setup: jQuery.bindReady, - teardown: jQuery.noop - }, - - live: { - add: function( proxy, data, namespaces, live ) { - jQuery.extend( proxy, data || {} ); - - proxy.guid += data.selector + data.live; - data.liveProxy = proxy; - - jQuery.event.add( this, data.live, liveHandler, data ); - - }, - - remove: function( namespaces ) { - if ( namespaces.length ) { - var remove = 0, name = new RegExp("(^|\\.)" + namespaces[0] + "(\\.|$)"); - - jQuery.each( (jQuery.data(this, "events").live || {}), function() { - if ( name.test(this.type) ) { - remove++; - } - }); - - if ( remove < 1 ) { - jQuery.event.remove( this, namespaces[0], liveHandler ); - } - } - }, - special: {} - }, - beforeunload: { - setup: function( data, namespaces, fn ) { - // We only want to do this special case on windows - if ( this.setInterval ) { - this.onbeforeunload = fn; - } - - return false; - }, - teardown: function( namespaces, fn ) { - if ( this.onbeforeunload === fn ) { - this.onbeforeunload = null; - } - } - } - } -}; - -jQuery.Event = function( src ) { - // Allow instantiation without the 'new' keyword - if ( !this.preventDefault ) { - return new jQuery.Event( src ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - // Event type - } else { - this.type = src; - } - - // timeStamp is buggy for some events on Firefox(#3843) - // So we won't rely on the native value - this.timeStamp = now(); - - // Mark it as fixed - this[ expando ] = true; -}; - -function returnFalse() { - return false; -} -function returnTrue() { - return true; -} - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - preventDefault: function() { - this.isDefaultPrevented = returnTrue; - - var e = this.originalEvent; - if ( !e ) { - return; - } - - // if preventDefault exists run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - } - // otherwise set the returnValue property of the original event to false (IE) - e.returnValue = false; - }, - stopPropagation: function() { - this.isPropagationStopped = returnTrue; - - var e = this.originalEvent; - if ( !e ) { - return; - } - // if stopPropagation exists run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - // otherwise set the cancelBubble property of the original event to true (IE) - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - this.isImmediatePropagationStopped = returnTrue; - this.stopPropagation(); - }, - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse -}; - -// Checks if an event happened on an element within another element -// Used in jQuery.event.special.mouseenter and mouseleave handlers -var withinElement = function( event ) { - // Check if mouse(over|out) are still within the same parent element - var parent = event.relatedTarget; - - // Traverse up the tree - while ( parent && parent !== this ) { - // Firefox sometimes assigns relatedTarget a XUL element - // which we cannot access the parentNode property of - try { - parent = parent.parentNode; - - // assuming we've left the element since we most likely mousedover a xul element - } catch(e) { - break; - } - } - - if ( parent !== this ) { - // set the correct event type - event.type = event.data; - - // handle event if we actually just moused on to a non sub-element - jQuery.event.handle.apply( this, arguments ); - } - -}, - -// In case of event delegation, we only need to rename the event.type, -// liveHandler will take care of the rest. -delegate = function( event ) { - event.type = event.data; - jQuery.event.handle.apply( this, arguments ); -}; - -// Create mouseenter and mouseleave events -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - setup: function( data ) { - jQuery.event.add( this, fix, data && data.selector ? delegate : withinElement, orig ); - }, - teardown: function( data ) { - jQuery.event.remove( this, fix, data && data.selector ? delegate : withinElement ); - } - }; -}); - -// submit delegation -if ( !jQuery.support.submitBubbles ) { - -jQuery.event.special.submit = { - setup: function( data, namespaces, fn ) { - if ( this.nodeName.toLowerCase() !== "form" ) { - jQuery.event.add(this, "click.specialSubmit." + fn.guid, function( e ) { - var elem = e.target, type = elem.type; - - if ( (type === "submit" || type === "image") && jQuery( elem ).closest("form").length ) { - return trigger( "submit", this, arguments ); - } - }); - - jQuery.event.add(this, "keypress.specialSubmit." + fn.guid, function( e ) { - var elem = e.target, type = elem.type; - - if ( (type === "text" || type === "password") && jQuery( elem ).closest("form").length && e.keyCode === 13 ) { - return trigger( "submit", this, arguments ); - } - }); - - } else { - return false; - } - }, - - remove: function( namespaces, fn ) { - jQuery.event.remove( this, "click.specialSubmit" + (fn ? "."+fn.guid : "") ); - jQuery.event.remove( this, "keypress.specialSubmit" + (fn ? "."+fn.guid : "") ); - } -}; - -} - -// change delegation, happens here so we have bind. -if ( !jQuery.support.changeBubbles ) { - -var formElems = /textarea|input|select/i; - -function getVal( elem ) { - var type = elem.type, val = elem.value; - - if ( type === "radio" || type === "checkbox" ) { - val = elem.checked; - - } else if ( type === "select-multiple" ) { - val = elem.selectedIndex > -1 ? - jQuery.map( elem.options, function( elem ) { - return elem.selected; - }).join("-") : - ""; - - } else if ( elem.nodeName.toLowerCase() === "select" ) { - val = elem.selectedIndex; - } - - return val; -} - -function testChange( e ) { - var elem = e.target, data, val; - - if ( !formElems.test( elem.nodeName ) || elem.readOnly ) { - return; - } - - data = jQuery.data( elem, "_change_data" ); - val = getVal(elem); - - // the current data will be also retrieved by beforeactivate - if ( e.type !== "focusout" || elem.type !== "radio" ) { - jQuery.data( elem, "_change_data", val ); - } - - if ( data === undefined || val === data ) { - return; - } - - if ( data != null || val ) { - e.type = "change"; - return jQuery.event.trigger( e, arguments[1], elem ); - } -} - -jQuery.event.special.change = { - filters: { - focusout: testChange, - - click: function( e ) { - var elem = e.target, type = elem.type; - - if ( type === "radio" || type === "checkbox" || elem.nodeName.toLowerCase() === "select" ) { - return testChange.call( this, e ); - } - }, - - // Change has to be called before submit - // Keydown will be called before keypress, which is used in submit-event delegation - keydown: function( e ) { - var elem = e.target, type = elem.type; - - if ( (e.keyCode === 13 && elem.nodeName.toLowerCase() !== "textarea") || - (e.keyCode === 32 && (type === "checkbox" || type === "radio")) || - type === "select-multiple" ) { - return testChange.call( this, e ); - } - }, - - // Beforeactivate happens also before the previous element is blurred - // with this event you can't trigger a change event, but you can store - // information/focus[in] is not needed anymore - beforeactivate: function( e ) { - var elem = e.target; - - if ( elem.nodeName.toLowerCase() === "input" && elem.type === "radio" ) { - jQuery.data( elem, "_change_data", getVal(elem) ); - } - } - }, - setup: function( data, namespaces, fn ) { - for ( var type in changeFilters ) { - jQuery.event.add( this, type + ".specialChange." + fn.guid, changeFilters[type] ); - } - - return formElems.test( this.nodeName ); - }, - remove: function( namespaces, fn ) { - for ( var type in changeFilters ) { - jQuery.event.remove( this, type + ".specialChange" + (fn ? "."+fn.guid : ""), changeFilters[type] ); - } - - return formElems.test( this.nodeName ); - } -}; - -var changeFilters = jQuery.event.special.change.filters; - -} - -function trigger( type, elem, args ) { - args[0].type = type; - return jQuery.event.handle.apply( elem, args ); -} - -// Create "bubbling" focus and blur events -if ( document.addEventListener ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - jQuery.event.special[ fix ] = { - setup: function() { - /// - /// This method is internal. - /// - /// - - this.addEventListener( orig, handler, true ); - }, - teardown: function() { - /// - /// This method is internal. - /// - /// - - this.removeEventListener( orig, handler, true ); - } - }; - - function handler( e ) { - e = jQuery.event.fix( e ); - e.type = fix; - return jQuery.event.handle.call( this, e ); - } - }); -} - -// jQuery.each(["bind", "one"], function( i, name ) { -// jQuery.fn[ name ] = function( type, data, fn ) { -// // Handle object literals -// if ( typeof type === "object" ) { -// for ( var key in type ) { -// this[ name ](key, data, type[key], fn); -// } -// return this; -// } -// -// if ( jQuery.isFunction( data ) ) { -// fn = data; -// data = undefined; -// } -// -// var handler = name === "one" ? jQuery.proxy( fn, function( event ) { -// jQuery( this ).unbind( event, handler ); -// return fn.apply( this, arguments ); -// }) : fn; -// -// return type === "unload" && name !== "one" ? -// this.one( type, data, fn ) : -// this.each(function() { -// jQuery.event.add( this, type, handler, data ); -// }); -// }; -// }); - -jQuery.fn[ "bind" ] = function( type, data, fn ) { - /// - /// Binds a handler to one or more events for each matched element. Can also bind custom events. - /// - /// One or more event types separated by a space. Built-in event type values are: blur, focus, load, resize, scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, error . - /// Additional data passed to the event handler as event.data - /// A function to bind to the event on each of the set of matched elements. function callback(eventObject) such that this corresponds to the dom element. - - // Handle object literals - if ( typeof type === "object" ) { - for ( var key in type ) { - this[ "bind" ](key, data, type[key], fn); - } - return this; - } - - if ( jQuery.isFunction( data ) ) { - fn = data; - data = undefined; - } - - var handler = "bind" === "one" ? jQuery.proxy( fn, function( event ) { - jQuery( this ).unbind( event, handler ); - return fn.apply( this, arguments ); - }) : fn; - - return type === "unload" && "bind" !== "one" ? - this.one( type, data, fn ) : - this.each(function() { - jQuery.event.add( this, type, handler, data ); - }); -}; - -jQuery.fn[ "one" ] = function( type, data, fn ) { - /// - /// Binds a handler to one or more events to be executed exactly once for each matched element. - /// - /// One or more event types separated by a space. Built-in event type values are: blur, focus, load, resize, scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, error . - /// Additional data passed to the event handler as event.data - /// A function to bind to the event on each of the set of matched elements. function callback(eventObject) such that this corresponds to the dom element. - - // Handle object literals - if ( typeof type === "object" ) { - for ( var key in type ) { - this[ "one" ](key, data, type[key], fn); - } - return this; - } - - if ( jQuery.isFunction( data ) ) { - fn = data; - data = undefined; - } - - var handler = "one" === "one" ? jQuery.proxy( fn, function( event ) { - jQuery( this ).unbind( event, handler ); - return fn.apply( this, arguments ); - }) : fn; - - return type === "unload" && "one" !== "one" ? - this.one( type, data, fn ) : - this.each(function() { - jQuery.event.add( this, type, handler, data ); - }); -}; - -jQuery.fn.extend({ - unbind: function( type, fn ) { - /// - /// Unbinds a handler from one or more events for each matched element. - /// - /// One or more event types separated by a space. Built-in event type values are: blur, focus, load, resize, scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, error . - /// A function to bind to the event on each of the set of matched elements. function callback(eventObject) such that this corresponds to the dom element. - - // Handle object literals - if ( typeof type === "object" && !type.preventDefault ) { - for ( var key in type ) { - this.unbind(key, type[key]); - } - return this; - } - - return this.each(function() { - jQuery.event.remove( this, type, fn ); - }); - }, - trigger: function( type, data ) { - /// - /// Triggers a type of event on every matched element. - /// - /// One or more event types separated by a space. Built-in event type values are: blur, focus, load, resize, scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, error . - /// Additional data passed to the event handler as additional arguments. - /// This parameter is undocumented. - - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - - triggerHandler: function( type, data ) { - /// - /// Triggers all bound event handlers on an element for a specific event type without executing the browser's default actions. - /// - /// One or more event types separated by a space. Built-in event type values are: blur, focus, load, resize, scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, error . - /// Additional data passed to the event handler as additional arguments. - /// This parameter is undocumented. - - if ( this[0] ) { - var event = jQuery.Event( type ); - event.preventDefault(); - event.stopPropagation(); - jQuery.event.trigger( event, data, this[0] ); - return event.result; - } - }, - - toggle: function( fn ) { - /// - /// Toggles among two or more function calls every other click. - /// - /// The functions among which to toggle execution - - // Save reference to arguments for access in closure - var args = arguments, i = 1; - - // link all the functions, so any of them can unbind this click handler - while ( i < args.length ) { - jQuery.proxy( fn, args[ i++ ] ); - } - - return this.click( jQuery.proxy( fn, function( event ) { - // Figure out which function to execute - var lastToggle = ( jQuery.data( this, "lastToggle" + fn.guid ) || 0 ) % i; - jQuery.data( this, "lastToggle" + fn.guid, lastToggle + 1 ); - - // Make sure that clicks stop - event.preventDefault(); - - // and execute the function - return args[ lastToggle ].apply( this, arguments ) || false; - })); - }, - - hover: function( fnOver, fnOut ) { - /// - /// Simulates hovering (moving the mouse on or off of an object). - /// - /// The function to fire when the mouse is moved over a matched element. - /// The function to fire when the mouse is moved off of a matched element. - - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); - } -}); - -// jQuery.each(["live", "die"], function( i, name ) { -// jQuery.fn[ name ] = function( types, data, fn ) { -// var type, i = 0; -// -// if ( jQuery.isFunction( data ) ) { -// fn = data; -// data = undefined; -// } -// -// types = (types || "").split( /\s+/ ); -// -// while ( (type = types[ i++ ]) != null ) { -// type = type === "focus" ? "focusin" : // focus --> focusin -// type === "blur" ? "focusout" : // blur --> focusout -// type === "hover" ? types.push("mouseleave") && "mouseenter" : // hover support -// type; -// -// if ( name === "live" ) { -// // bind live handler -// jQuery( this.context ).bind( liveConvert( type, this.selector ), { -// data: data, selector: this.selector, live: type -// }, fn ); -// -// } else { -// // unbind live handler -// jQuery( this.context ).unbind( liveConvert( type, this.selector ), fn ? { guid: fn.guid + this.selector + type } : null ); -// } -// } -// -// return this; -// } -// }); - -jQuery.fn[ "live" ] = function( types, data, fn ) { - /// - /// Attach a handler to the event for all elements which match the current selector, now or - /// in the future. - /// - /// - /// A string containing a JavaScript event type, such as "click" or "keydown". - /// - /// - /// A map of data that will be passed to the event handler. - /// - /// - /// A function to execute at the time the event is triggered. - /// - /// - - var type, i = 0; - - if ( jQuery.isFunction( data ) ) { - fn = data; - data = undefined; - } - - types = (types || "").split( /\s+/ ); - - while ( (type = types[ i++ ]) != null ) { - type = type === "focus" ? "focusin" : // focus --> focusin - type === "blur" ? "focusout" : // blur --> focusout - type === "hover" ? types.push("mouseleave") && "mouseenter" : // hover support - type; - - if ( "live" === "live" ) { - // bind live handler - jQuery( this.context ).bind( liveConvert( type, this.selector ), { - data: data, selector: this.selector, live: type - }, fn ); - - } else { - // unbind live handler - jQuery( this.context ).unbind( liveConvert( type, this.selector ), fn ? { guid: fn.guid + this.selector + type } : null ); - } - } - - return this; -} - -jQuery.fn[ "die" ] = function( types, data, fn ) { - /// - /// Remove all event handlers previously attached using .live() from the elements. - /// - /// - /// A string containing a JavaScript event type, such as click or keydown. - /// - /// - /// The function that is to be no longer executed. - /// - /// - - var type, i = 0; - - if ( jQuery.isFunction( data ) ) { - fn = data; - data = undefined; - } - - types = (types || "").split( /\s+/ ); - - while ( (type = types[ i++ ]) != null ) { - type = type === "focus" ? "focusin" : // focus --> focusin - type === "blur" ? "focusout" : // blur --> focusout - type === "hover" ? types.push("mouseleave") && "mouseenter" : // hover support - type; - - if ( "die" === "live" ) { - // bind live handler - jQuery( this.context ).bind( liveConvert( type, this.selector ), { - data: data, selector: this.selector, live: type - }, fn ); - - } else { - // unbind live handler - jQuery( this.context ).unbind( liveConvert( type, this.selector ), fn ? { guid: fn.guid + this.selector + type } : null ); - } - } - - return this; -} - -function liveHandler( event ) { - var stop, elems = [], selectors = [], args = arguments, - related, match, fn, elem, j, i, l, data, - live = jQuery.extend({}, jQuery.data( this, "events" ).live); - - // Make sure we avoid non-left-click bubbling in Firefox (#3861) - if ( event.button && event.type === "click" ) { - return; - } - - for ( j in live ) { - fn = live[j]; - if ( fn.live === event.type || - fn.altLive && jQuery.inArray(event.type, fn.altLive) > -1 ) { - - data = fn.data; - if ( !(data.beforeFilter && data.beforeFilter[event.type] && - !data.beforeFilter[event.type](event)) ) { - selectors.push( fn.selector ); - } - } else { - delete live[j]; - } - } - - match = jQuery( event.target ).closest( selectors, event.currentTarget ); - - for ( i = 0, l = match.length; i < l; i++ ) { - for ( j in live ) { - fn = live[j]; - elem = match[i].elem; - related = null; - - if ( match[i].selector === fn.selector ) { - // Those two events require additional checking - if ( fn.live === "mouseenter" || fn.live === "mouseleave" ) { - related = jQuery( event.relatedTarget ).closest( fn.selector )[0]; - } - - if ( !related || related !== elem ) { - elems.push({ elem: elem, fn: fn }); - } - } - } - } - - for ( i = 0, l = elems.length; i < l; i++ ) { - match = elems[i]; - event.currentTarget = match.elem; - event.data = match.fn.data; - if ( match.fn.apply( match.elem, args ) === false ) { - stop = false; - break; - } - } - - return stop; -} - -function liveConvert( type, selector ) { - return "live." + (type ? type + "." : "") + selector.replace(/\./g, "`").replace(/ /g, "&"); -} - -// jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + -// "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + -// "change select submit keydown keypress keyup error").split(" "), function( i, name ) { -// -// // Handle event binding -// jQuery.fn[ name ] = function( fn ) { -// return fn ? this.bind( name, fn ) : this.trigger( name ); -// }; -// -// if ( jQuery.attrFn ) { -// jQuery.attrFn[ name ] = true; -// } -// }); - -jQuery.fn[ "blur" ] = function( fn ) { - /// - /// 1: blur() - Triggers the blur event of each matched element. - /// 2: blur(fn) - Binds a function to the blur event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "blur", fn ) : this.trigger( "blur" ); -}; - -jQuery.fn[ "focus" ] = function( fn ) { - /// - /// 1: focus() - Triggers the focus event of each matched element. - /// 2: focus(fn) - Binds a function to the focus event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "focus", fn ) : this.trigger( "focus" ); -}; - -jQuery.fn[ "focusin" ] = function( fn ) { - /// - /// Bind an event handler to the "focusin" JavaScript event. - /// - /// - /// A function to execute each time the event is triggered. - /// - /// - - return fn ? this.bind( "focusin", fn ) : this.trigger( "focusin" ); -}; - -jQuery.fn[ "focusout" ] = function( fn ) { - /// - /// Bind an event handler to the "focusout" JavaScript event. - /// - /// - /// A function to execute each time the event is triggered. - /// - /// - - return fn ? this.bind( "focusout", fn ) : this.trigger( "focusout" ); -}; - -jQuery.fn[ "load" ] = function( fn ) { - /// - /// 1: load() - Triggers the load event of each matched element. - /// 2: load(fn) - Binds a function to the load event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "load", fn ) : this.trigger( "load" ); -}; - -jQuery.fn[ "resize" ] = function( fn ) { - /// - /// 1: resize() - Triggers the resize event of each matched element. - /// 2: resize(fn) - Binds a function to the resize event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "resize", fn ) : this.trigger( "resize" ); -}; - -jQuery.fn[ "scroll" ] = function( fn ) { - /// - /// 1: scroll() - Triggers the scroll event of each matched element. - /// 2: scroll(fn) - Binds a function to the scroll event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "scroll", fn ) : this.trigger( "scroll" ); -}; - -jQuery.fn[ "unload" ] = function( fn ) { - /// - /// 1: unload() - Triggers the unload event of each matched element. - /// 2: unload(fn) - Binds a function to the unload event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "unload", fn ) : this.trigger( "unload" ); -}; - -jQuery.fn[ "click" ] = function( fn ) { - /// - /// 1: click() - Triggers the click event of each matched element. - /// 2: click(fn) - Binds a function to the click event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "click", fn ) : this.trigger( "click" ); -}; - -jQuery.fn[ "dblclick" ] = function( fn ) { - /// - /// 1: dblclick() - Triggers the dblclick event of each matched element. - /// 2: dblclick(fn) - Binds a function to the dblclick event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "dblclick", fn ) : this.trigger( "dblclick" ); -}; - -jQuery.fn[ "mousedown" ] = function( fn ) { - /// - /// Binds a function to the mousedown event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "mousedown", fn ) : this.trigger( "mousedown" ); -}; - -jQuery.fn[ "mouseup" ] = function( fn ) { - /// - /// Bind a function to the mouseup event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "mouseup", fn ) : this.trigger( "mouseup" ); -}; - -jQuery.fn[ "mousemove" ] = function( fn ) { - /// - /// Bind a function to the mousemove event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "mousemove", fn ) : this.trigger( "mousemove" ); -}; - -jQuery.fn[ "mouseover" ] = function( fn ) { - /// - /// Bind a function to the mouseover event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "mouseover", fn ) : this.trigger( "mouseover" ); -}; - -jQuery.fn[ "mouseout" ] = function( fn ) { - /// - /// Bind a function to the mouseout event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "mouseout", fn ) : this.trigger( "mouseout" ); -}; - -jQuery.fn[ "mouseenter" ] = function( fn ) { - /// - /// Bind a function to the mouseenter event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "mouseenter", fn ) : this.trigger( "mouseenter" ); -}; - -jQuery.fn[ "mouseleave" ] = function( fn ) { - /// - /// Bind a function to the mouseleave event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "mouseleave", fn ) : this.trigger( "mouseleave" ); -}; - -jQuery.fn[ "change" ] = function( fn ) { - /// - /// 1: change() - Triggers the change event of each matched element. - /// 2: change(fn) - Binds a function to the change event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "change", fn ) : this.trigger( "change" ); -}; - -jQuery.fn[ "select" ] = function( fn ) { - /// - /// 1: select() - Triggers the select event of each matched element. - /// 2: select(fn) - Binds a function to the select event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "select", fn ) : this.trigger( "select" ); -}; - -jQuery.fn[ "submit" ] = function( fn ) { - /// - /// 1: submit() - Triggers the submit event of each matched element. - /// 2: submit(fn) - Binds a function to the submit event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "submit", fn ) : this.trigger( "submit" ); -}; - -jQuery.fn[ "keydown" ] = function( fn ) { - /// - /// 1: keydown() - Triggers the keydown event of each matched element. - /// 2: keydown(fn) - Binds a function to the keydown event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "keydown", fn ) : this.trigger( "keydown" ); -}; - -jQuery.fn[ "keypress" ] = function( fn ) { - /// - /// 1: keypress() - Triggers the keypress event of each matched element. - /// 2: keypress(fn) - Binds a function to the keypress event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "keypress", fn ) : this.trigger( "keypress" ); -}; - -jQuery.fn[ "keyup" ] = function( fn ) { - /// - /// 1: keyup() - Triggers the keyup event of each matched element. - /// 2: keyup(fn) - Binds a function to the keyup event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "keyup", fn ) : this.trigger( "keyup" ); -}; - -jQuery.fn[ "error" ] = function( fn ) { - /// - /// 1: error() - Triggers the error event of each matched element. - /// 2: error(fn) - Binds a function to the error event of each matched element. - /// - /// The function to execute. - /// - - return fn ? this.bind( "error", fn ) : this.trigger( "error" ); -}; - -// Prevent memory leaks in IE -// Window isn't included so as not to unbind existing unload events -// More info: -// - http://isaacschlueter.com/2006/10/msie-memory-leaks/ -if ( window.attachEvent && !window.addEventListener ) { - window.attachEvent("onunload", function() { - for ( var id in jQuery.cache ) { - if ( jQuery.cache[ id ].handle ) { - // Try/Catch is to handle iframes being unloaded, see #4280 - try { - jQuery.event.remove( jQuery.cache[ id ].handle.elem ); - } catch(e) {} - } - } - }); -} -/*! - * Sizzle CSS Selector Engine - v1.0 - * Copyright 2009, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){ - -var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, - done = 0, - toString = Object.prototype.toString, - hasDuplicate = false, - baseHasDuplicate = true; - -// Here we check if the JavaScript engine is using some sort of -// optimization where it does not always call our comparision -// function. If that is the case, discard the hasDuplicate value. -// Thus far that includes Google Chrome. -[0, 0].sort(function(){ - baseHasDuplicate = false; - return 0; -}); - -var Sizzle = function(selector, context, results, seed) { - results = results || []; - var origContext = context = context || document; - - if ( context.nodeType !== 1 && context.nodeType !== 9 ) { - return []; - } - - if ( !selector || typeof selector !== "string" ) { - return results; - } - - var parts = [], m, set, checkSet, extra, prune = true, contextXML = isXML(context), - soFar = selector; - - // Reset the position of the chunker regexp (start from head) - while ( (chunker.exec(""), m = chunker.exec(soFar)) !== null ) { - soFar = m[3]; - - parts.push( m[1] ); - - if ( m[2] ) { - extra = m[3]; - break; - } - } - - if ( parts.length > 1 && origPOS.exec( selector ) ) { - if ( parts.length === 2 && Expr.relative[ parts[0] ] ) { - set = posProcess( parts[0] + parts[1], context ); - } else { - set = Expr.relative[ parts[0] ] ? - [ context ] : - Sizzle( parts.shift(), context ); - - while ( parts.length ) { - selector = parts.shift(); - - if ( Expr.relative[ selector ] ) { - selector += parts.shift(); - } - - set = posProcess( selector, set ); - } - } - } else { - // Take a shortcut and set the context if the root selector is an ID - // (but not if it'll be faster if the inner selector is an ID) - if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML && - Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) { - var ret = Sizzle.find( parts.shift(), context, contextXML ); - context = ret.expr ? Sizzle.filter( ret.expr, ret.set )[0] : ret.set[0]; - } - - if ( context ) { - var ret = seed ? - { expr: parts.pop(), set: makeArray(seed) } : - Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML ); - set = ret.expr ? Sizzle.filter( ret.expr, ret.set ) : ret.set; - - if ( parts.length > 0 ) { - checkSet = makeArray(set); - } else { - prune = false; - } - - while ( parts.length ) { - var cur = parts.pop(), pop = cur; - - if ( !Expr.relative[ cur ] ) { - cur = ""; - } else { - pop = parts.pop(); - } - - if ( pop == null ) { - pop = context; - } - - Expr.relative[ cur ]( checkSet, pop, contextXML ); - } - } else { - checkSet = parts = []; - } - } - - if ( !checkSet ) { - checkSet = set; - } - - if ( !checkSet ) { - Sizzle.error( cur || selector ); - } - - if ( toString.call(checkSet) === "[object Array]" ) { - if ( !prune ) { - results.push.apply( results, checkSet ); - } else if ( context && context.nodeType === 1 ) { - for ( var i = 0; checkSet[i] != null; i++ ) { - if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && contains(context, checkSet[i])) ) { - results.push( set[i] ); - } - } - } else { - for ( var i = 0; checkSet[i] != null; i++ ) { - if ( checkSet[i] && checkSet[i].nodeType === 1 ) { - results.push( set[i] ); - } - } - } - } else { - makeArray( checkSet, results ); - } - - if ( extra ) { - Sizzle( extra, origContext, results, seed ); - Sizzle.uniqueSort( results ); - } - - return results; -}; - -Sizzle.uniqueSort = function(results){ - /// - /// Removes all duplicate elements from an array of elements. - /// - /// The array to translate - /// The array after translation. - - if ( sortOrder ) { - hasDuplicate = baseHasDuplicate; - results.sort(sortOrder); - - if ( hasDuplicate ) { - for ( var i = 1; i < results.length; i++ ) { - if ( results[i] === results[i-1] ) { - results.splice(i--, 1); - } - } - } - } - - return results; -}; - -Sizzle.matches = function(expr, set){ - return Sizzle(expr, null, null, set); -}; - -Sizzle.find = function(expr, context, isXML){ - var set, match; - - if ( !expr ) { - return []; - } - - for ( var i = 0, l = Expr.order.length; i < l; i++ ) { - var type = Expr.order[i], match; - - if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { - var left = match[1]; - match.splice(1,1); - - if ( left.substr( left.length - 1 ) !== "\\" ) { - match[1] = (match[1] || "").replace(/\\/g, ""); - set = Expr.find[ type ]( match, context, isXML ); - if ( set != null ) { - expr = expr.replace( Expr.match[ type ], "" ); - break; - } - } - } - } - - if ( !set ) { - set = context.getElementsByTagName("*"); - } - - return {set: set, expr: expr}; -}; - -Sizzle.filter = function(expr, set, inplace, not){ - var old = expr, result = [], curLoop = set, match, anyFound, - isXMLFilter = set && set[0] && isXML(set[0]); - - while ( expr && set.length ) { - for ( var type in Expr.filter ) { - if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) { - var filter = Expr.filter[ type ], found, item, left = match[1]; - anyFound = false; - - match.splice(1,1); - - if ( left.substr( left.length - 1 ) === "\\" ) { - continue; - } - - if ( curLoop === result ) { - result = []; - } - - if ( Expr.preFilter[ type ] ) { - match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter ); - - if ( !match ) { - anyFound = found = true; - } else if ( match === true ) { - continue; - } - } - - if ( match ) { - for ( var i = 0; (item = curLoop[i]) != null; i++ ) { - if ( item ) { - found = filter( item, match, i, curLoop ); - var pass = not ^ !!found; - - if ( inplace && found != null ) { - if ( pass ) { - anyFound = true; - } else { - curLoop[i] = false; - } - } else if ( pass ) { - result.push( item ); - anyFound = true; - } - } - } - } - - if ( found !== undefined ) { - if ( !inplace ) { - curLoop = result; - } - - expr = expr.replace( Expr.match[ type ], "" ); - - if ( !anyFound ) { - return []; - } - - break; - } - } - } - - // Improper expression - if ( expr === old ) { - if ( anyFound == null ) { - Sizzle.error( expr ); - } else { - break; - } - } - - old = expr; - } - - return curLoop; -}; - -Sizzle.error = function( msg ) { - throw "Syntax error, unrecognized expression: " + msg; -}; - -var Expr = Sizzle.selectors = { - order: [ "ID", "NAME", "TAG" ], - match: { - ID: /#((?:[\w\u00c0-\uFFFF-]|\\.)+)/, - CLASS: /\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/, - NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/, - ATTR: /\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/, - TAG: /^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/, - CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/, - POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/, - PSEUDO: /:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ - }, - leftMatch: {}, - attrMap: { - "class": "className", - "for": "htmlFor" - }, - attrHandle: { - href: function(elem){ - return elem.getAttribute("href"); - } - }, - relative: { - "+": function(checkSet, part){ - var isPartStr = typeof part === "string", - isTag = isPartStr && !/\W/.test(part), - isPartStrNotTag = isPartStr && !isTag; - - if ( isTag ) { - part = part.toLowerCase(); - } - - for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) { - if ( (elem = checkSet[i]) ) { - while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {} - - checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ? - elem || false : - elem === part; - } - } - - if ( isPartStrNotTag ) { - Sizzle.filter( part, checkSet, true ); - } - }, - ">": function(checkSet, part){ - var isPartStr = typeof part === "string"; - - if ( isPartStr && !/\W/.test(part) ) { - part = part.toLowerCase(); - - for ( var i = 0, l = checkSet.length; i < l; i++ ) { - var elem = checkSet[i]; - if ( elem ) { - var parent = elem.parentNode; - checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false; - } - } - } else { - for ( var i = 0, l = checkSet.length; i < l; i++ ) { - var elem = checkSet[i]; - if ( elem ) { - checkSet[i] = isPartStr ? - elem.parentNode : - elem.parentNode === part; - } - } - - if ( isPartStr ) { - Sizzle.filter( part, checkSet, true ); - } - } - }, - "": function(checkSet, part, isXML){ - var doneName = done++, checkFn = dirCheck; - - if ( typeof part === "string" && !/\W/.test(part) ) { - var nodeCheck = part = part.toLowerCase(); - checkFn = dirNodeCheck; - } - - checkFn("parentNode", part, doneName, checkSet, nodeCheck, isXML); - }, - "~": function(checkSet, part, isXML){ - var doneName = done++, checkFn = dirCheck; - - if ( typeof part === "string" && !/\W/.test(part) ) { - var nodeCheck = part = part.toLowerCase(); - checkFn = dirNodeCheck; - } - - checkFn("previousSibling", part, doneName, checkSet, nodeCheck, isXML); - } - }, - find: { - ID: function(match, context, isXML){ - if ( typeof context.getElementById !== "undefined" && !isXML ) { - var m = context.getElementById(match[1]); - return m ? [m] : []; - } - }, - NAME: function(match, context){ - if ( typeof context.getElementsByName !== "undefined" ) { - var ret = [], results = context.getElementsByName(match[1]); - - for ( var i = 0, l = results.length; i < l; i++ ) { - if ( results[i].getAttribute("name") === match[1] ) { - ret.push( results[i] ); - } - } - - return ret.length === 0 ? null : ret; - } - }, - TAG: function(match, context){ - return context.getElementsByTagName(match[1]); - } - }, - preFilter: { - CLASS: function(match, curLoop, inplace, result, not, isXML){ - match = " " + match[1].replace(/\\/g, "") + " "; - - if ( isXML ) { - return match; - } - - for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { - if ( elem ) { - if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n]/g, " ").indexOf(match) >= 0) ) { - if ( !inplace ) { - result.push( elem ); - } - } else if ( inplace ) { - curLoop[i] = false; - } - } - } - - return false; - }, - ID: function(match){ - return match[1].replace(/\\/g, ""); - }, - TAG: function(match, curLoop){ - return match[1].toLowerCase(); - }, - CHILD: function(match){ - if ( match[1] === "nth" ) { - // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6' - var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec( - match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" || - !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]); - - // calculate the numbers (first)n+(last) including if they are negative - match[2] = (test[1] + (test[2] || 1)) - 0; - match[3] = test[3] - 0; - } - - // TODO: Move to normal caching system - match[0] = done++; - - return match; - }, - ATTR: function(match, curLoop, inplace, result, not, isXML){ - var name = match[1].replace(/\\/g, ""); - - if ( !isXML && Expr.attrMap[name] ) { - match[1] = Expr.attrMap[name]; - } - - if ( match[2] === "~=" ) { - match[4] = " " + match[4] + " "; - } - - return match; - }, - PSEUDO: function(match, curLoop, inplace, result, not){ - if ( match[1] === "not" ) { - // If we're dealing with a complex expression, or a simple one - if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) { - match[3] = Sizzle(match[3], null, null, curLoop); - } else { - var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not); - if ( !inplace ) { - result.push.apply( result, ret ); - } - return false; - } - } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) { - return true; - } - - return match; - }, - POS: function(match){ - match.unshift( true ); - return match; - } - }, - filters: { - enabled: function(elem){ - return elem.disabled === false && elem.type !== "hidden"; - }, - disabled: function(elem){ - return elem.disabled === true; - }, - checked: function(elem){ - return elem.checked === true; - }, - selected: function(elem){ - // Accessing this property makes selected-by-default - // options in Safari work properly - elem.parentNode.selectedIndex; - return elem.selected === true; - }, - parent: function(elem){ - return !!elem.firstChild; - }, - empty: function(elem){ - return !elem.firstChild; - }, - has: function(elem, i, match){ - /// - /// Internal use only; use hasClass('class') - /// - /// - - return !!Sizzle( match[3], elem ).length; - }, - header: function(elem){ - return /h\d/i.test( elem.nodeName ); - }, - text: function(elem){ - return "text" === elem.type; - }, - radio: function(elem){ - return "radio" === elem.type; - }, - checkbox: function(elem){ - return "checkbox" === elem.type; - }, - file: function(elem){ - return "file" === elem.type; - }, - password: function(elem){ - return "password" === elem.type; - }, - submit: function(elem){ - return "submit" === elem.type; - }, - image: function(elem){ - return "image" === elem.type; - }, - reset: function(elem){ - return "reset" === elem.type; - }, - button: function(elem){ - return "button" === elem.type || elem.nodeName.toLowerCase() === "button"; - }, - input: function(elem){ - return /input|select|textarea|button/i.test(elem.nodeName); - } - }, - setFilters: { - first: function(elem, i){ - return i === 0; - }, - last: function(elem, i, match, array){ - return i === array.length - 1; - }, - even: function(elem, i){ - return i % 2 === 0; - }, - odd: function(elem, i){ - return i % 2 === 1; - }, - lt: function(elem, i, match){ - return i < match[3] - 0; - }, - gt: function(elem, i, match){ - return i > match[3] - 0; - }, - nth: function(elem, i, match){ - return match[3] - 0 === i; - }, - eq: function(elem, i, match){ - return match[3] - 0 === i; - } - }, - filter: { - PSEUDO: function(elem, match, i, array){ - var name = match[1], filter = Expr.filters[ name ]; - - if ( filter ) { - return filter( elem, i, match, array ); - } else if ( name === "contains" ) { - return (elem.textContent || elem.innerText || getText([ elem ]) || "").indexOf(match[3]) >= 0; - } else if ( name === "not" ) { - var not = match[3]; - - for ( var i = 0, l = not.length; i < l; i++ ) { - if ( not[i] === elem ) { - return false; - } - } - - return true; - } else { - Sizzle.error( "Syntax error, unrecognized expression: " + name ); - } - }, - CHILD: function(elem, match){ - var type = match[1], node = elem; - switch (type) { - case 'only': - case 'first': - while ( (node = node.previousSibling) ) { - if ( node.nodeType === 1 ) { - return false; - } - } - if ( type === "first" ) { - return true; - } - node = elem; - case 'last': - while ( (node = node.nextSibling) ) { - if ( node.nodeType === 1 ) { - return false; - } - } - return true; - case 'nth': - var first = match[2], last = match[3]; - - if ( first === 1 && last === 0 ) { - return true; - } - - var doneName = match[0], - parent = elem.parentNode; - - if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) { - var count = 0; - for ( node = parent.firstChild; node; node = node.nextSibling ) { - if ( node.nodeType === 1 ) { - node.nodeIndex = ++count; - } - } - parent.sizcache = doneName; - } - - var diff = elem.nodeIndex - last; - if ( first === 0 ) { - return diff === 0; - } else { - return ( diff % first === 0 && diff / first >= 0 ); - } - } - }, - ID: function(elem, match){ - return elem.nodeType === 1 && elem.getAttribute("id") === match; - }, - TAG: function(elem, match){ - return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match; - }, - CLASS: function(elem, match){ - return (" " + (elem.className || elem.getAttribute("class")) + " ") - .indexOf( match ) > -1; - }, - ATTR: function(elem, match){ - var name = match[1], - result = Expr.attrHandle[ name ] ? - Expr.attrHandle[ name ]( elem ) : - elem[ name ] != null ? - elem[ name ] : - elem.getAttribute( name ), - value = result + "", - type = match[2], - check = match[4]; - - return result == null ? - type === "!=" : - type === "=" ? - value === check : - type === "*=" ? - value.indexOf(check) >= 0 : - type === "~=" ? - (" " + value + " ").indexOf(check) >= 0 : - !check ? - value && result !== false : - type === "!=" ? - value !== check : - type === "^=" ? - value.indexOf(check) === 0 : - type === "$=" ? - value.substr(value.length - check.length) === check : - type === "|=" ? - value === check || value.substr(0, check.length + 1) === check + "-" : - false; - }, - POS: function(elem, match, i, array){ - var name = match[2], filter = Expr.setFilters[ name ]; - - if ( filter ) { - return filter( elem, i, match, array ); - } - } - } -}; - -var origPOS = Expr.match.POS; - -for ( var type in Expr.match ) { - Expr.match[ type ] = new RegExp( Expr.match[ type ].source + /(?![^\[]*\])(?![^\(]*\))/.source ); - Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, function(all, num){ - return "\\" + (num - 0 + 1); - })); -} - -var makeArray = function(array, results) { - array = Array.prototype.slice.call( array, 0 ); - - if ( results ) { - results.push.apply( results, array ); - return results; - } - - return array; -}; - -// Perform a simple check to determine if the browser is capable of -// converting a NodeList to an array using builtin methods. -try { - Array.prototype.slice.call( document.documentElement.childNodes, 0 ); - -// Provide a fallback method if it does not work -} catch(e){ - makeArray = function(array, results) { - var ret = results || []; - - if ( toString.call(array) === "[object Array]" ) { - Array.prototype.push.apply( ret, array ); - } else { - if ( typeof array.length === "number" ) { - for ( var i = 0, l = array.length; i < l; i++ ) { - ret.push( array[i] ); - } - } else { - for ( var i = 0; array[i]; i++ ) { - ret.push( array[i] ); - } - } - } - - return ret; - }; -} - -var sortOrder; - -if ( document.documentElement.compareDocumentPosition ) { - sortOrder = function( a, b ) { - if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) { - if ( a == b ) { - hasDuplicate = true; - } - return a.compareDocumentPosition ? -1 : 1; - } - - var ret = a.compareDocumentPosition(b) & 4 ? -1 : a === b ? 0 : 1; - if ( ret === 0 ) { - hasDuplicate = true; - } - return ret; - }; -} else if ( "sourceIndex" in document.documentElement ) { - sortOrder = function( a, b ) { - if ( !a.sourceIndex || !b.sourceIndex ) { - if ( a == b ) { - hasDuplicate = true; - } - return a.sourceIndex ? -1 : 1; - } - - var ret = a.sourceIndex - b.sourceIndex; - if ( ret === 0 ) { - hasDuplicate = true; - } - return ret; - }; -} else if ( document.createRange ) { - sortOrder = function( a, b ) { - if ( !a.ownerDocument || !b.ownerDocument ) { - if ( a == b ) { - hasDuplicate = true; - } - return a.ownerDocument ? -1 : 1; - } - - var aRange = a.ownerDocument.createRange(), bRange = b.ownerDocument.createRange(); - aRange.setStart(a, 0); - aRange.setEnd(a, 0); - bRange.setStart(b, 0); - bRange.setEnd(b, 0); - var ret = aRange.compareBoundaryPoints(Range.START_TO_END, bRange); - if ( ret === 0 ) { - hasDuplicate = true; - } - return ret; - }; -} - -// Utility function for retreiving the text value of an array of DOM nodes -function getText( elems ) { - var ret = "", elem; - - for ( var i = 0; elems[i]; i++ ) { - elem = elems[i]; - - // Get the text from text nodes and CDATA nodes - if ( elem.nodeType === 3 || elem.nodeType === 4 ) { - ret += elem.nodeValue; - - // Traverse everything else, except comment nodes - } else if ( elem.nodeType !== 8 ) { - ret += getText( elem.childNodes ); - } - } - - return ret; -} - -// [vsdoc] The following function has been modified for IntelliSense. -// Check to see if the browser returns elements by name when -// querying by getElementById (and provide a workaround) -(function(){ - // We're going to inject a fake input element with a specified name - // var form = document.createElement("div"), - // id = "script" + (new Date).getTime(); - // form.innerHTML = ""; - - // // Inject it into the root element, check its status, and remove it quickly - // var root = document.documentElement; - // root.insertBefore( form, root.firstChild ); - - // The workaround has to do additional checks after a getElementById - // Which slows things down for other browsers (hence the branching) - // if ( document.getElementById( id ) ) { - Expr.find.ID = function(match, context, isXML){ - if ( typeof context.getElementById !== "undefined" && !isXML ) { - var m = context.getElementById(match[1]); - return m ? m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? [m] : undefined : []; - } - }; - - Expr.filter.ID = function(elem, match){ - var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); - return elem.nodeType === 1 && node && node.nodeValue === match; - }; - // } - - // root.removeChild( form ); - root = form = null; // release memory in IE -})(); - -// [vsdoc] The following function has been modified for IntelliSense. -(function(){ - // Check to see if the browser returns only elements - // when doing getElementsByTagName("*") - - // Create a fake element - // var div = document.createElement("div"); - // div.appendChild( document.createComment("") ); - - // Make sure no comments are found - // if ( div.getElementsByTagName("*").length > 0 ) { - Expr.find.TAG = function(match, context){ - var results = context.getElementsByTagName(match[1]); - - // Filter out possible comments - if ( match[1] === "*" ) { - var tmp = []; - - for ( var i = 0; results[i]; i++ ) { - if ( results[i].nodeType === 1 ) { - tmp.push( results[i] ); - } - } - - results = tmp; - } - - return results; - }; - // } - - // Check to see if an attribute returns normalized href attributes - // div.innerHTML = ""; - // if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" && - // div.firstChild.getAttribute("href") !== "#" ) { - Expr.attrHandle.href = function(elem){ - return elem.getAttribute("href", 2); - }; - // } - - div = null; // release memory in IE -})(); - -if ( document.querySelectorAll ) { - (function(){ - var oldSizzle = Sizzle, div = document.createElement("div"); - div.innerHTML = "

"; - - // Safari can't handle uppercase or unicode characters when - // in quirks mode. - if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) { - return; - } - - Sizzle = function(query, context, extra, seed){ - context = context || document; - - // Only use querySelectorAll on non-XML documents - // (ID selectors don't work in non-HTML documents) - if ( !seed && context.nodeType === 9 && !isXML(context) ) { - try { - return makeArray( context.querySelectorAll(query), extra ); - } catch(e){} - } - - return oldSizzle(query, context, extra, seed); - }; - - for ( var prop in oldSizzle ) { - Sizzle[ prop ] = oldSizzle[ prop ]; - } - - div = null; // release memory in IE - })(); -} - -(function(){ - var div = document.createElement("div"); - - div.innerHTML = "
"; - - // Opera can't find a second classname (in 9.6) - // Also, make sure that getElementsByClassName actually exists - if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) { - return; - } - - // Safari caches class attributes, doesn't catch changes (in 3.2) - div.lastChild.className = "e"; - - if ( div.getElementsByClassName("e").length === 1 ) { - return; - } - - Expr.order.splice(1, 0, "CLASS"); - Expr.find.CLASS = function(match, context, isXML) { - if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) { - return context.getElementsByClassName(match[1]); - } - }; - - div = null; // release memory in IE -})(); - -function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { - for ( var i = 0, l = checkSet.length; i < l; i++ ) { - var elem = checkSet[i]; - if ( elem ) { - elem = elem[dir]; - var match = false; - - while ( elem ) { - if ( elem.sizcache === doneName ) { - match = checkSet[elem.sizset]; - break; - } - - if ( elem.nodeType === 1 && !isXML ){ - elem.sizcache = doneName; - elem.sizset = i; - } - - if ( elem.nodeName.toLowerCase() === cur ) { - match = elem; - break; - } - - elem = elem[dir]; - } - - checkSet[i] = match; - } - } -} - -function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { - for ( var i = 0, l = checkSet.length; i < l; i++ ) { - var elem = checkSet[i]; - if ( elem ) { - elem = elem[dir]; - var match = false; - - while ( elem ) { - if ( elem.sizcache === doneName ) { - match = checkSet[elem.sizset]; - break; - } - - if ( elem.nodeType === 1 ) { - if ( !isXML ) { - elem.sizcache = doneName; - elem.sizset = i; - } - if ( typeof cur !== "string" ) { - if ( elem === cur ) { - match = true; - break; - } - - } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) { - match = elem; - break; - } - } - - elem = elem[dir]; - } - - checkSet[i] = match; - } - } -} - -var contains = document.compareDocumentPosition ? function(a, b){ - /// - /// Check to see if a DOM node is within another DOM node. - /// - /// - /// The DOM element that may contain the other element. - /// - /// - /// The DOM node that may be contained by the other element. - /// - /// - - return a.compareDocumentPosition(b) & 16; -} : function(a, b){ - /// - /// Check to see if a DOM node is within another DOM node. - /// - /// - /// The DOM element that may contain the other element. - /// - /// - /// The DOM node that may be contained by the other element. - /// - /// - - return a !== b && (a.contains ? a.contains(b) : true); -}; - -var isXML = function(elem){ - /// - /// Determines if the parameter passed is an XML document. - /// - /// The object to test - /// True if the parameter is an XML document; otherwise false. - - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -var posProcess = function(selector, context){ - var tmpSet = [], later = "", match, - root = context.nodeType ? [context] : context; - - // Position selectors must be done after the filter - // And so must :not(positional) so we move all PSEUDOs to the end - while ( (match = Expr.match.PSEUDO.exec( selector )) ) { - later += match[0]; - selector = selector.replace( Expr.match.PSEUDO, "" ); - } - - selector = Expr.relative[selector] ? selector + "*" : selector; - - for ( var i = 0, l = root.length; i < l; i++ ) { - Sizzle( selector, root[i], tmpSet ); - } - - return Sizzle.filter( later, tmpSet ); -}; - -// EXPOSE -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.filters; -jQuery.unique = Sizzle.uniqueSort; -jQuery.getText = getText; -jQuery.isXMLDoc = isXML; -jQuery.contains = contains; - -return; - -window.Sizzle = Sizzle; - -})(); -var runtil = /Until$/, - rparentsprev = /^(?:parents|prevUntil|prevAll)/, - // Note: This RegExp should be improved, or likely pulled from Sizzle - rmultiselector = /,/, - slice = Array.prototype.slice; - -// Implement the identical functionality for filter and not -var winnow = function( elements, qualifier, keep ) { - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep(elements, function( elem, i ) { - return !!qualifier.call( elem, i, elem ) === keep; - }); - - } else if ( qualifier.nodeType ) { - return jQuery.grep(elements, function( elem, i ) { - return (elem === qualifier) === keep; - }); - - } else if ( typeof qualifier === "string" ) { - var filtered = jQuery.grep(elements, function( elem ) { - return elem.nodeType === 1; - }); - - if ( isSimple.test( qualifier ) ) { - return jQuery.filter(qualifier, filtered, !keep); - } else { - qualifier = jQuery.filter( qualifier, filtered ); - } - } - - return jQuery.grep(elements, function( elem, i ) { - return (jQuery.inArray( elem, qualifier ) >= 0) === keep; - }); -}; - -jQuery.fn.extend({ - find: function( selector ) { - /// - /// Searches for all elements that match the specified expression. - /// This method is a good way to find additional descendant - /// elements with which to process. - /// All searching is done using a jQuery expression. The expression can be - /// written using CSS 1-3 Selector syntax, or basic XPath. - /// Part of DOM/Traversing - /// - /// - /// - /// An expression to search with. - /// - /// - - var ret = this.pushStack( "", "find", selector ), length = 0; - - for ( var i = 0, l = this.length; i < l; i++ ) { - length = ret.length; - jQuery.find( selector, this[i], ret ); - - if ( i > 0 ) { - // Make sure that the results are unique - for ( var n = length; n < ret.length; n++ ) { - for ( var r = 0; r < length; r++ ) { - if ( ret[r] === ret[n] ) { - ret.splice(n--, 1); - break; - } - } - } - } - } - - return ret; - }, - - has: function( target ) { - /// - /// Reduce the set of matched elements to those that have a descendant that matches the - /// selector or DOM element. - /// - /// - /// A string containing a selector expression to match elements against. - /// - /// - - var targets = jQuery( target ); - return this.filter(function() { - for ( var i = 0, l = targets.length; i < l; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - not: function( selector ) { - /// - /// Removes any elements inside the array of elements from the set - /// of matched elements. This method is used to remove one or more - /// elements from a jQuery object. - /// Part of DOM/Traversing - /// - /// - /// A set of elements to remove from the jQuery set of matched elements. - /// - /// - - return this.pushStack( winnow(this, selector, false), "not", selector); - }, - - filter: function( selector ) { - /// - /// Removes all elements from the set of matched elements that do not - /// pass the specified filter. This method is used to narrow down - /// the results of a search. - /// }) - /// Part of DOM/Traversing - /// - /// - /// - /// A function to use for filtering - /// - /// - - return this.pushStack( winnow(this, selector, true), "filter", selector ); - }, - - is: function( selector ) { - /// - /// Checks the current selection against an expression and returns true, - /// if at least one element of the selection fits the given expression. - /// Does return false, if no element fits or the expression is not valid. - /// filter(String) is used internally, therefore all rules that apply there - /// apply here, too. - /// Part of DOM/Traversing - /// - /// - /// - /// The expression with which to filter - /// - - return !!selector && jQuery.filter( selector, this ).length > 0; - }, - - closest: function( selectors, context ) { - /// - /// Get a set of elements containing the closest parent element that matches the specified selector, the starting element included. - /// - /// - /// A string containing a selector expression to match elements against. - /// - /// - /// A DOM element within which a matching element may be found. If no context is passed - /// in then the context of the jQuery set will be used instead. - /// - /// - - if ( jQuery.isArray( selectors ) ) { - var ret = [], cur = this[0], match, matches = {}, selector; - - if ( cur && selectors.length ) { - for ( var i = 0, l = selectors.length; i < l; i++ ) { - selector = selectors[i]; - - if ( !matches[selector] ) { - matches[selector] = jQuery.expr.match.POS.test( selector ) ? - jQuery( selector, context || this.context ) : - selector; - } - } - - while ( cur && cur.ownerDocument && cur !== context ) { - for ( selector in matches ) { - match = matches[selector]; - - if ( match.jquery ? match.index(cur) > -1 : jQuery(cur).is(match) ) { - ret.push({ selector: selector, elem: cur }); - delete matches[selector]; - } - } - cur = cur.parentNode; - } - } - - return ret; - } - - var pos = jQuery.expr.match.POS.test( selectors ) ? - jQuery( selectors, context || this.context ) : null; - - return this.map(function( i, cur ) { - while ( cur && cur.ownerDocument && cur !== context ) { - if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selectors) ) { - return cur; - } - cur = cur.parentNode; - } - return null; - }); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - /// - /// Searches every matched element for the object and returns - /// the index of the element, if found, starting with zero. - /// Returns -1 if the object wasn't found. - /// Part of Core - /// - /// - /// - /// Object to search for - /// - - if ( !elem || typeof elem === "string" ) { - return jQuery.inArray( this[0], - // If it receives a string, the selector is used - // If it receives nothing, the siblings are used - elem ? jQuery( elem ) : this.parent().children() ); - } - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - /// - /// Adds one or more Elements to the set of matched elements. - /// Part of DOM/Traversing - /// - /// - /// A string containing a selector expression to match additional elements against. - /// - /// - /// Add some elements rooted against the specified context. - /// - /// - - var set = typeof selector === "string" ? - jQuery( selector, context || this.context ) : - jQuery.makeArray( selector ), - all = jQuery.merge( this.get(), set ); - - return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ? - all : - jQuery.unique( all ) ); - }, - - andSelf: function() { - /// - /// Adds the previous selection to the current selection. - /// - /// - - return this.add( this.prevObject ); - } -}); - -// A painfully simple check to see if an element is disconnected -// from a document (should be improved, where feasible). -function isDisconnected( node ) { - return !node || !node.parentNode || node.parentNode.nodeType === 11; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - next: function( elem ) { - return jQuery.nth( elem, 2, "nextSibling" ); - }, - prev: function( elem ) { - return jQuery.nth( elem, 2, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - siblings: function( elem ) { - return jQuery.sibling( elem.parentNode.firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.makeArray( elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ); - - if ( !runtil.test( name ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 ? jQuery.unique( ret ) : ret; - - if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret, name, slice.call(arguments).join(",") ); - }; -}); - -jQuery.fn[ "parentsUntil" ] = function( until, selector ) { - /// - /// Get the ancestors of each element in the current set of matched elements, up to but not - /// including the element matched by the selector. - /// - /// - /// A string containing a selector expression to indicate where to stop matching ancestor - /// elements. - /// - /// - - var fn = function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - } - - var ret = jQuery.map( this, fn, until ); - - if ( !runtil.test( "parentsUntil" ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 ? jQuery.unique( ret ) : ret; - - if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( "parentsUntil" ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret, "parentsUntil", slice.call(arguments).join(",") ); -}; - -jQuery.fn[ "nextUntil" ] = function( until, selector ) { - /// - /// Get all following siblings of each element up to but not including the element matched - /// by the selector. - /// - /// - /// A string containing a selector expression to indicate where to stop matching following - /// sibling elements. - /// - /// - - var fn = function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - } - - var ret = jQuery.map( this, fn, until ); - - if ( !runtil.test( "nextUntil" ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 ? jQuery.unique( ret ) : ret; - - if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( "nextUntil" ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret, "nextUntil", slice.call(arguments).join(",") ); -}; - -jQuery.fn[ "prevUntil" ] = function( until, selector ) { - /// - /// Get all preceding siblings of each element up to but not including the element matched - /// by the selector. - /// - /// - /// A string containing a selector expression to indicate where to stop matching preceding - /// sibling elements. - /// - /// - - var fn = function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - } - - var ret = jQuery.map( this, fn, until ); - - if ( !runtil.test( "prevUntil" ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 ? jQuery.unique( ret ) : ret; - - if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( "prevUntil" ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret, "prevUntil", slice.call(arguments).join(",") ); -}; - -jQuery.extend({ - filter: function( expr, elems, not ) { - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return jQuery.find.matches(expr, elems); - }, - - dir: function( elem, dir, until ) { - /// - /// This member is internal only. - /// - /// - - var matched = [], cur = elem[dir]; - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - nth: function( cur, result, dir, elem ) { - /// - /// This member is internal only. - /// - /// - - result = result || 1; - var num = 0; - - for ( ; cur; cur = cur[dir] ) { - if ( cur.nodeType === 1 && ++num === result ) { - break; - } - } - - return cur; - }, - - sibling: function( n, elem ) { - /// - /// This member is internal only. - /// - /// - - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); -var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, - rleadingWhitespace = /^\s+/, - rxhtmlTag = /(<([\w:]+)[^>]*?)\/>/g, - rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, - rtagName = /<([\w:]+)/, - rtbody = /"; - }, - wrapMap = { - option: [ 1, "" ], - legend: [ 1, "
", "
" ], - thead: [ 1, "", "
" ], - tr: [ 2, "", "
" ], - td: [ 3, "", "
" ], - col: [ 2, "", "
" ], - area: [ 1, "", "" ], - _default: [ 0, "", "" ] - }; - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -// IE can't serialize and