This commit is contained in:
2025-12-26 22:35:18 +08:00
commit 9cf62f793b
4263 changed files with 728989 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2013 Rafael J. Staib
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.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,96 @@
/*!
* jQuery Cookie Plugin v1.3.1
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2013 Klaus Hartl
* Released under the MIT license
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as anonymous module.
define(['jquery'], factory);
} else {
// Browser globals.
factory(jQuery);
}
}(function ($) {
var pluses = /\+/g;
function raw(s) {
return s;
}
function decoded(s) {
return decodeURIComponent(s.replace(pluses, ' '));
}
function converted(s) {
if (s.indexOf('"') === 0) {
// This is a quoted cookie as according to RFC2068, unescape
s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
}
try {
return config.json ? JSON.parse(s) : s;
} catch(er) {}
}
var config = $.cookie = function (key, value, options) {
// write
if (value !== undefined) {
options = $.extend({}, config.defaults, options);
if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}
value = config.json ? JSON.stringify(value) : String(value);
return (document.cookie = [
config.raw ? key : encodeURIComponent(key),
'=',
config.raw ? value : encodeURIComponent(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
// read
var decode = config.raw ? raw : decoded;
var cookies = document.cookie.split('; ');
var result = key ? undefined : {};
for (var i = 0, l = cookies.length; i < l; i++) {
var parts = cookies[i].split('=');
var name = decode(parts.shift());
var cookie = decode(parts.join('='));
if (key && key === name) {
result = converted(cookie);
break;
}
if (!key) {
result[name] = converted(cookie);
}
}
return result;
};
config.defaults = {};
$.removeCookie = function (key, options) {
if ($.cookie(key) !== undefined) {
// Must not alter options, thus extending a fresh object...
$.cookie(key, '', $.extend({}, options, { expires: -1 }));
return true;
}
return false;
};
}));

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>jQuery.Steps</id>
<version>$version$</version>
<title>jQuery Steps</title>
<authors>Rafael Staib</authors>
<owners>r_staib</owners>
<licenseUrl>https://github.com/rstaib/jquery-steps/blob/master/LICENSE.txt</licenseUrl>
<projectUrl>http://www.jquery-steps.com</projectUrl>
<iconUrl>http://www.jquery-steps.com/icon.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>An all-in-one wizard plugin that is extremely flexible, compact and feature-rich.</description>
<summary>An all-in-one wizard plugin that is extremely flexible, compact and feature-rich.</summary>
<copyright><3E> Copyright 2014, Rafael Staib</copyright>
<tags>jQuery, Accessibility, Forms, HTML5, Navigation, Steps, Tabs, UI, Validation, Wizard</tags>
<dependencies>
<dependency id="jQuery" version="1.10.2" />
</dependencies>
</metadata>
<files>
<file src="..\build\*.js" target="Content\Scripts" />
<file src="..\demo\css\jquery.steps.css" target="Content\Content" />
</files>
</package>

View File

@@ -0,0 +1,34 @@
{
"name": "steps",
"title": "jQuery Steps",
"description": "A powerful jQuery wizard plugin that supports accessibility and HTML5.",
"keywords": [
"wizard",
"navigation",
"forms",
"UI",
"component",
"HTML5",
"accessibility",
"validation",
"tabs",
"steps"
],
"version": "1.1.0",
"author": {
"name": "Rafael Staib",
"email": "me@rafaelstaib.com",
"url": "http://www.rafaelstaib.com"
},
"licenses": [
{ "type": "MIT", "url": "http://www.opensource.org/licenses/MIT" }
],
"bugs": "https://github.com/rstaib/jquery-steps/issues",
"homepage": "http://www.jquery-steps.com",
"docs": "https://github.com/rstaib/jquery-steps/wiki",
"download": "http://www.jquery-steps.com",
"demo": "http://www.jquery-steps.com/Examples",
"dependencies": {
"jquery": ">=1.9.0"
}
}