mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Package updates
This commit is contained in:
parent
b5a3e016ee
commit
abff919edd
|
@ -37,8 +37,8 @@
|
|||
<Reference Include="DnsClient, Version=1.0.7.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\DnsClient.1.0.7\lib\net45\DnsClient.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="HtmlAgilityPack, Version=1.6.13.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\HtmlAgilityPack.1.6.13\lib\Net45\HtmlAgilityPack.dll</HintPath>
|
||||
<Reference Include="HtmlAgilityPack, Version=1.6.16.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\HtmlAgilityPack.1.6.16\lib\Net45\HtmlAgilityPack.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<packages>
|
||||
<package id="AutoMapper" version="6.2.2" targetFramework="net47" />
|
||||
<package id="DnsClient" version="1.0.7" targetFramework="net47" />
|
||||
<package id="HtmlAgilityPack" version="1.6.13" targetFramework="net47" />
|
||||
<package id="HtmlAgilityPack" version="1.6.16" targetFramework="net47" />
|
||||
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net47" />
|
||||
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net47" />
|
||||
<package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net47" />
|
||||
|
|
|
@ -74,8 +74,8 @@
|
|||
<Reference Include="DnsClient, Version=1.0.7.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\DnsClient.1.0.7\lib\net45\DnsClient.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="HtmlAgilityPack, Version=1.6.13.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\HtmlAgilityPack.1.6.13\lib\Net45\HtmlAgilityPack.dll</HintPath>
|
||||
<Reference Include="HtmlAgilityPack, Version=1.6.16.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\HtmlAgilityPack.1.6.16\lib\Net45\HtmlAgilityPack.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Humanizer, Version=2.2.0.0, Culture=neutral, PublicKeyToken=979442b78dfc278e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Humanizer.Core.2.2.0\lib\netstandard1.0\Humanizer.dll</HintPath>
|
||||
|
@ -371,13 +371,11 @@
|
|||
<Content Include="res\css\inc\_variables.scss" />
|
||||
<Content Include="res\css\inc\_nord.scss" />
|
||||
<Content Include="res\css\winter.scss" />
|
||||
<None Include="Scripts\jquery-3.2.1.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-3.2.1.js" />
|
||||
<Content Include="Scripts\jquery-3.2.1.min.js" />
|
||||
<Content Include="Scripts\jquery-3.2.1.slim.js" />
|
||||
<Content Include="Scripts\jquery-3.2.1.slim.min.js" />
|
||||
<Content Include="Scripts\jquery-3.2.1.slim.min.map" />
|
||||
<Content Include="Scripts\jquery-3.2.1.min.map" />
|
||||
<None Include="Scripts\jquery-3.3.1.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-3.3.1.js" />
|
||||
<Content Include="Scripts\jquery-3.3.1.min.js" />
|
||||
<Content Include="Scripts\jquery-3.3.1.slim.js" />
|
||||
<Content Include="Scripts\jquery-3.3.1.slim.min.js" />
|
||||
<None Include="Scripts\jquery.validate-vsdoc.js" />
|
||||
<Content Include="Scripts\jquery.validate.js" />
|
||||
<Content Include="Scripts\jquery.validate.min.js" />
|
||||
|
@ -483,6 +481,8 @@
|
|||
<Content Include="Views\front\AddBulk.cshtml" />
|
||||
<Content Include="Views\account\validate-success.cshtml" />
|
||||
<Content Include="Views\account\validate-failure.cshtml" />
|
||||
<Content Include="Scripts\jquery-3.3.1.slim.min.map" />
|
||||
<Content Include="Scripts\jquery-3.3.1.min.map" />
|
||||
<None Include="tsconfig.json" />
|
||||
<Content Include="Views\front\ViewFamily.cshtml" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/// <reference path="jquery-3.2.1.js" />
|
||||
/// <reference path="jquery-3.3.1.js" />
|
||||
/// <autosync enabled="true" />
|
||||
/// <reference path="../res/ts/bfs.js" />
|
||||
/// <reference path="jquery.validate.min.js" />
|
||||
|
|
4
BuildFeed/Scripts/jquery-3.2.1.min.js
vendored
4
BuildFeed/Scripts/jquery-3.2.1.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
BuildFeed/Scripts/jquery-3.2.1.slim.min.js
vendored
4
BuildFeed/Scripts/jquery-3.2.1.slim.min.js
vendored
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 it is too large
Load Diff
2
BuildFeed/Scripts/jquery-3.3.1.min.js
vendored
Normal file
2
BuildFeed/Scripts/jquery-3.3.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
BuildFeed/Scripts/jquery-3.3.1.min.map
Normal file
1
BuildFeed/Scripts/jquery-3.3.1.min.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
2
BuildFeed/Scripts/jquery-3.3.1.slim.min.js
vendored
Normal file
2
BuildFeed/Scripts/jquery-3.3.1.slim.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
BuildFeed/Scripts/jquery-3.3.1.slim.min.map
Normal file
1
BuildFeed/Scripts/jquery-3.3.1.slim.min.map
Normal file
File diff suppressed because one or more lines are too long
4
BuildFeed/Scripts/jquery.validate-vsdoc.js
vendored
4
BuildFeed/Scripts/jquery.validate-vsdoc.js
vendored
|
@ -4,7 +4,7 @@
|
|||
* intended to be used only for design-time IntelliSense. Please use the
|
||||
* standard jQuery library for all production use.
|
||||
*
|
||||
* Comment version: 1.16.0
|
||||
* Comment version: 1.17.0
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -15,7 +15,7 @@
|
|||
* for informational purposes only and are not the license terms under
|
||||
* which Microsoft distributed this file.
|
||||
*
|
||||
* jQuery Validation Plugin - v1.16.0 - 12/5/2016
|
||||
* jQuery Validation Plugin - v1.17.0 - 12/5/2016
|
||||
* https://github.com/jzaefferer/jquery-validation
|
||||
* Copyright (c) 2013 Jörn Zaefferer; Licensed MIT
|
||||
*
|
||||
|
|
151
BuildFeed/Scripts/jquery.validate.js
vendored
151
BuildFeed/Scripts/jquery.validate.js
vendored
|
@ -1,9 +1,9 @@
|
|||
/*!
|
||||
* jQuery Validation Plugin v1.16.0
|
||||
* jQuery Validation Plugin v1.17.0
|
||||
*
|
||||
* http://jqueryvalidation.org/
|
||||
* https://jqueryvalidation.org/
|
||||
*
|
||||
* Copyright (c) 2016 Jörn Zaefferer
|
||||
* Copyright (c) 2017 Jörn Zaefferer
|
||||
* Released under the MIT license
|
||||
*/
|
||||
(function( factory ) {
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
$.extend( $.fn, {
|
||||
|
||||
// http://jqueryvalidation.org/validate/
|
||||
// https://jqueryvalidation.org/validate/
|
||||
validate: function( options ) {
|
||||
|
||||
// If nothing is selected, return nothing; can't chain anyway
|
||||
|
@ -44,9 +44,10 @@ $.extend( $.fn, {
|
|||
if ( validator.settings.onsubmit ) {
|
||||
|
||||
this.on( "click.validate", ":submit", function( event ) {
|
||||
if ( validator.settings.submitHandler ) {
|
||||
validator.submitButton = event.target;
|
||||
}
|
||||
|
||||
// Track the used submit button to properly handle scripted
|
||||
// submits later.
|
||||
validator.submitButton = event.currentTarget;
|
||||
|
||||
// Allow suppressing validation by adding a cancel class to the submit button
|
||||
if ( $( this ).hasClass( "cancel" ) ) {
|
||||
|
@ -68,17 +69,22 @@ $.extend( $.fn, {
|
|||
}
|
||||
function handle() {
|
||||
var hidden, result;
|
||||
if ( validator.settings.submitHandler ) {
|
||||
if ( validator.submitButton ) {
|
||||
|
||||
// Insert a hidden input as a replacement for the missing submit button
|
||||
hidden = $( "<input type='hidden'/>" )
|
||||
.attr( "name", validator.submitButton.name )
|
||||
.val( $( validator.submitButton ).val() )
|
||||
.appendTo( validator.currentForm );
|
||||
}
|
||||
// Insert a hidden input as a replacement for the missing submit button
|
||||
// The hidden input is inserted in two cases:
|
||||
// - A user defined a `submitHandler`
|
||||
// - There was a pending request due to `remote` method and `stopRequest()`
|
||||
// was called to submit the form in case it's valid
|
||||
if ( validator.submitButton && ( validator.settings.submitHandler || validator.formSubmitted ) ) {
|
||||
hidden = $( "<input type='hidden'/>" )
|
||||
.attr( "name", validator.submitButton.name )
|
||||
.val( $( validator.submitButton ).val() )
|
||||
.appendTo( validator.currentForm );
|
||||
}
|
||||
|
||||
if ( validator.settings.submitHandler ) {
|
||||
result = validator.settings.submitHandler.call( validator, validator.currentForm, event );
|
||||
if ( validator.submitButton ) {
|
||||
if ( hidden ) {
|
||||
|
||||
// And clean up afterwards; thanks to no-block-scope, hidden can be referenced
|
||||
hidden.remove();
|
||||
|
@ -112,7 +118,7 @@ $.extend( $.fn, {
|
|||
return validator;
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/valid/
|
||||
// https://jqueryvalidation.org/valid/
|
||||
valid: function() {
|
||||
var valid, validator, errorList;
|
||||
|
||||
|
@ -133,13 +139,22 @@ $.extend( $.fn, {
|
|||
return valid;
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/rules/
|
||||
// https://jqueryvalidation.org/rules/
|
||||
rules: function( command, argument ) {
|
||||
var element = this[ 0 ],
|
||||
settings, staticRules, existingRules, data, param, filtered;
|
||||
|
||||
// If nothing is selected, return empty object; can't chain anyway
|
||||
if ( element == null || element.form == null ) {
|
||||
if ( element == null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( !element.form && element.hasAttribute( "contenteditable" ) ) {
|
||||
element.form = this.closest( "form" )[ 0 ];
|
||||
element.name = this.attr( "name" );
|
||||
}
|
||||
|
||||
if ( element.form == null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -167,9 +182,6 @@ $.extend( $.fn, {
|
|||
$.each( argument.split( /\s/ ), function( index, method ) {
|
||||
filtered[ method ] = existingRules[ method ];
|
||||
delete existingRules[ method ];
|
||||
if ( method === "required" ) {
|
||||
$( element ).removeAttr( "aria-required" );
|
||||
}
|
||||
} );
|
||||
return filtered;
|
||||
}
|
||||
|
@ -189,7 +201,6 @@ $.extend( $.fn, {
|
|||
param = data.required;
|
||||
delete data.required;
|
||||
data = $.extend( { required: param }, data );
|
||||
$( element ).attr( "aria-required", "true" );
|
||||
}
|
||||
|
||||
// Make sure remote is at back
|
||||
|
@ -206,18 +217,18 @@ $.extend( $.fn, {
|
|||
// Custom selectors
|
||||
$.extend( $.expr.pseudos || $.expr[ ":" ], { // '|| $.expr[ ":" ]' here enables backwards compatibility to jQuery 1.7. Can be removed when dropping jQ 1.7.x support
|
||||
|
||||
// http://jqueryvalidation.org/blank-selector/
|
||||
// https://jqueryvalidation.org/blank-selector/
|
||||
blank: function( a ) {
|
||||
return !$.trim( "" + $( a ).val() );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/filled-selector/
|
||||
// https://jqueryvalidation.org/filled-selector/
|
||||
filled: function( a ) {
|
||||
var val = $( a ).val();
|
||||
return val !== null && !!$.trim( "" + val );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/unchecked-selector/
|
||||
// https://jqueryvalidation.org/unchecked-selector/
|
||||
unchecked: function( a ) {
|
||||
return !$( a ).prop( "checked" );
|
||||
}
|
||||
|
@ -230,7 +241,7 @@ $.validator = function( options, form ) {
|
|||
this.init();
|
||||
};
|
||||
|
||||
// http://jqueryvalidation.org/jQuery.validator.format/
|
||||
// https://jqueryvalidation.org/jQuery.validator.format/
|
||||
$.validator.format = function( source, params ) {
|
||||
if ( arguments.length === 1 ) {
|
||||
return function() {
|
||||
|
@ -343,7 +354,7 @@ $.extend( $.validator, {
|
|||
}
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/jQuery.validator.setDefaults/
|
||||
// https://jqueryvalidation.org/jQuery.validator.setDefaults/
|
||||
setDefaults: function( settings ) {
|
||||
$.extend( $.validator.defaults, settings );
|
||||
},
|
||||
|
@ -402,6 +413,7 @@ $.extend( $.validator, {
|
|||
// Set form expando on contenteditable
|
||||
if ( !this.form && this.hasAttribute( "contenteditable" ) ) {
|
||||
this.form = $( this ).closest( "form" )[ 0 ];
|
||||
this.name = $( this ).attr( "name" );
|
||||
}
|
||||
|
||||
var validator = $.data( this.form, "validator" ),
|
||||
|
@ -426,13 +438,9 @@ $.extend( $.validator, {
|
|||
if ( this.settings.invalidHandler ) {
|
||||
$( this.currentForm ).on( "invalid-form.validate", this.settings.invalidHandler );
|
||||
}
|
||||
|
||||
// Add aria-required to any Static/Data/Class required fields before first validation
|
||||
// Screen readers require this attribute to be present before the initial submission http://www.w3.org/TR/WCAG-TECHS/ARIA2.html
|
||||
$( this.currentForm ).find( "[required], [data-rule-required], .required" ).attr( "aria-required", "true" );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/Validator.form/
|
||||
// https://jqueryvalidation.org/Validator.form/
|
||||
form: function() {
|
||||
this.checkForm();
|
||||
$.extend( this.submitted, this.errorMap );
|
||||
|
@ -452,7 +460,7 @@ $.extend( $.validator, {
|
|||
return this.valid();
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/Validator.element/
|
||||
// https://jqueryvalidation.org/Validator.element/
|
||||
element: function( element ) {
|
||||
var cleanElement = this.clean( element ),
|
||||
checkElement = this.validationTargetFor( cleanElement ),
|
||||
|
@ -503,7 +511,7 @@ $.extend( $.validator, {
|
|||
return result;
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/Validator.showErrors/
|
||||
// https://jqueryvalidation.org/Validator.showErrors/
|
||||
showErrors: function( errors ) {
|
||||
if ( errors ) {
|
||||
var validator = this;
|
||||
|
@ -529,7 +537,7 @@ $.extend( $.validator, {
|
|||
}
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/Validator.resetForm/
|
||||
// https://jqueryvalidation.org/Validator.resetForm/
|
||||
resetForm: function() {
|
||||
if ( $.fn.resetForm ) {
|
||||
$( this.currentForm ).resetForm();
|
||||
|
@ -570,7 +578,10 @@ $.extend( $.validator, {
|
|||
var count = 0,
|
||||
i;
|
||||
for ( i in obj ) {
|
||||
if ( obj[ i ] ) {
|
||||
|
||||
// This check allows counting elements with empty error
|
||||
// message as invalid elements
|
||||
if ( obj[ i ] !== undefined && obj[ i ] !== null && obj[ i ] !== false ) {
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
@ -635,6 +646,7 @@ $.extend( $.validator, {
|
|||
// Set form expando on contenteditable
|
||||
if ( this.hasAttribute( "contenteditable" ) ) {
|
||||
this.form = $( this ).closest( "form" )[ 0 ];
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
// Select only the first element for each name, and only those with rules specified
|
||||
|
@ -735,21 +747,27 @@ $.extend( $.validator, {
|
|||
} ).length,
|
||||
dependencyMismatch = false,
|
||||
val = this.elementValue( element ),
|
||||
result, method, rule;
|
||||
result, method, rule, normalizer;
|
||||
|
||||
// If a normalizer is defined for this element, then
|
||||
// call it to retreive the changed value instead
|
||||
// Prioritize the local normalizer defined for this element over the global one
|
||||
// if the former exists, otherwise user the global one in case it exists.
|
||||
if ( typeof rules.normalizer === "function" ) {
|
||||
normalizer = rules.normalizer;
|
||||
} else if ( typeof this.settings.normalizer === "function" ) {
|
||||
normalizer = this.settings.normalizer;
|
||||
}
|
||||
|
||||
// If normalizer is defined, then call it to retreive the changed value instead
|
||||
// of using the real one.
|
||||
// Note that `this` in the normalizer is `element`.
|
||||
if ( typeof rules.normalizer === "function" ) {
|
||||
val = rules.normalizer.call( element, val );
|
||||
if ( normalizer ) {
|
||||
val = normalizer.call( element, val );
|
||||
|
||||
if ( typeof val !== "string" ) {
|
||||
throw new TypeError( "The normalizer should return a string value." );
|
||||
}
|
||||
|
||||
// Delete the normalizer from rules to avoid treating
|
||||
// it as a pre-defined method.
|
||||
// Delete the normalizer from rules to avoid treating it as a pre-defined method.
|
||||
delete rules.normalizer;
|
||||
}
|
||||
|
||||
|
@ -1089,6 +1107,15 @@ $.extend( $.validator, {
|
|||
$( element ).removeClass( this.settings.pendingClass );
|
||||
if ( valid && this.pendingRequest === 0 && this.formSubmitted && this.form() ) {
|
||||
$( this.currentForm ).submit();
|
||||
|
||||
// Remove the hidden input that was used as a replacement for the
|
||||
// missing submit button. The hidden input is added by `handle()`
|
||||
// to ensure that the value of the used submit button is passed on
|
||||
// for scripted submits triggered by this method
|
||||
if ( this.submitButton ) {
|
||||
$( "input:hidden[name='" + this.submitButton.name + "']", this.currentForm ).remove();
|
||||
}
|
||||
|
||||
this.formSubmitted = false;
|
||||
} else if ( !valid && this.pendingRequest === 0 && this.formSubmitted ) {
|
||||
$( this.currentForm ).triggerHandler( "invalid-form", [ this ] );
|
||||
|
@ -1316,7 +1343,7 @@ $.extend( $.validator, {
|
|||
return data;
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/jQuery.validator.addMethod/
|
||||
// https://jqueryvalidation.org/jQuery.validator.addMethod/
|
||||
addMethod: function( name, method, message ) {
|
||||
$.validator.methods[ name ] = method;
|
||||
$.validator.messages[ name ] = message !== undefined ? message : $.validator.messages[ name ];
|
||||
|
@ -1325,10 +1352,10 @@ $.extend( $.validator, {
|
|||
}
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/jQuery.validator.methods/
|
||||
// https://jqueryvalidation.org/jQuery.validator.methods/
|
||||
methods: {
|
||||
|
||||
// http://jqueryvalidation.org/required-method/
|
||||
// https://jqueryvalidation.org/required-method/
|
||||
required: function( value, element, param ) {
|
||||
|
||||
// Check if dependency is met
|
||||
|
@ -1347,7 +1374,7 @@ $.extend( $.validator, {
|
|||
return value.length > 0;
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/email-method/
|
||||
// https://jqueryvalidation.org/email-method/
|
||||
email: function( value, element ) {
|
||||
|
||||
// From https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address
|
||||
|
@ -1357,7 +1384,7 @@ $.extend( $.validator, {
|
|||
return this.optional( element ) || /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test( value );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/url-method/
|
||||
// https://jqueryvalidation.org/url-method/
|
||||
url: function( value, element ) {
|
||||
|
||||
// Copyright (c) 2010-2013 Diego Perini, MIT licensed
|
||||
|
@ -1367,60 +1394,60 @@ $.extend( $.validator, {
|
|||
return this.optional( element ) || /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test( value );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/date-method/
|
||||
// https://jqueryvalidation.org/date-method/
|
||||
date: function( value, element ) {
|
||||
return this.optional( element ) || !/Invalid|NaN/.test( new Date( value ).toString() );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/dateISO-method/
|
||||
// https://jqueryvalidation.org/dateISO-method/
|
||||
dateISO: function( value, element ) {
|
||||
return this.optional( element ) || /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test( value );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/number-method/
|
||||
// https://jqueryvalidation.org/number-method/
|
||||
number: function( value, element ) {
|
||||
return this.optional( element ) || /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test( value );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/digits-method/
|
||||
// https://jqueryvalidation.org/digits-method/
|
||||
digits: function( value, element ) {
|
||||
return this.optional( element ) || /^\d+$/.test( value );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/minlength-method/
|
||||
// https://jqueryvalidation.org/minlength-method/
|
||||
minlength: function( value, element, param ) {
|
||||
var length = $.isArray( value ) ? value.length : this.getLength( value, element );
|
||||
return this.optional( element ) || length >= param;
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/maxlength-method/
|
||||
// https://jqueryvalidation.org/maxlength-method/
|
||||
maxlength: function( value, element, param ) {
|
||||
var length = $.isArray( value ) ? value.length : this.getLength( value, element );
|
||||
return this.optional( element ) || length <= param;
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/rangelength-method/
|
||||
// https://jqueryvalidation.org/rangelength-method/
|
||||
rangelength: function( value, element, param ) {
|
||||
var length = $.isArray( value ) ? value.length : this.getLength( value, element );
|
||||
return this.optional( element ) || ( length >= param[ 0 ] && length <= param[ 1 ] );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/min-method/
|
||||
// https://jqueryvalidation.org/min-method/
|
||||
min: function( value, element, param ) {
|
||||
return this.optional( element ) || value >= param;
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/max-method/
|
||||
// https://jqueryvalidation.org/max-method/
|
||||
max: function( value, element, param ) {
|
||||
return this.optional( element ) || value <= param;
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/range-method/
|
||||
// https://jqueryvalidation.org/range-method/
|
||||
range: function( value, element, param ) {
|
||||
return this.optional( element ) || ( value >= param[ 0 ] && value <= param[ 1 ] );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/step-method/
|
||||
// https://jqueryvalidation.org/step-method/
|
||||
step: function( value, element, param ) {
|
||||
var type = $( element ).attr( "type" ),
|
||||
errorMessage = "Step attribute on input type " + type + " is not supported.",
|
||||
|
@ -1458,7 +1485,7 @@ $.extend( $.validator, {
|
|||
return this.optional( element ) || valid;
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/equalTo-method/
|
||||
// https://jqueryvalidation.org/equalTo-method/
|
||||
equalTo: function( value, element, param ) {
|
||||
|
||||
// Bind to the blur event of the target in order to revalidate whenever the target field is updated
|
||||
|
@ -1471,7 +1498,7 @@ $.extend( $.validator, {
|
|||
return value === target.val();
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/remote-method/
|
||||
// https://jqueryvalidation.org/remote-method/
|
||||
remote: function( value, element, param, method ) {
|
||||
if ( this.optional( element ) ) {
|
||||
return "dependency-mismatch";
|
||||
|
|
8
BuildFeed/Scripts/jquery.validate.min.js
vendored
8
BuildFeed/Scripts/jquery.validate.min.js
vendored
File diff suppressed because one or more lines are too long
159
BuildFeed/package-lock.json
generated
159
BuildFeed/package-lock.json
generated
|
@ -10,7 +10,7 @@
|
|||
"integrity": "sha1-z6I7xYQPkQTOMqZedNt+epdLvuE=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"acorn": "5.3.0",
|
||||
"acorn": "5.4.1",
|
||||
"css": "2.2.1",
|
||||
"normalize-path": "2.1.1",
|
||||
"source-map": "0.5.7",
|
||||
|
@ -34,9 +34,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"acorn": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-5.3.0.tgz",
|
||||
"integrity": "sha512-Yej+zOJ1Dm/IMZzzj78OntP/r3zHEaKcyNoU2lAaxPtrseM6rF0xwqoz5Q5ysAiED9hTjI2hgtvLXitlCN1/Ug==",
|
||||
"version": "5.4.1",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-5.4.1.tgz",
|
||||
"integrity": "sha512-XLmq3H/BVvW6/GbxKryGxWORz1ebilSsUDlyC27bXhWGWAZWkGwS6FLHjOlwFXNFoWFQEO/Df4u0YYd0K3BQgQ==",
|
||||
"dev": true
|
||||
},
|
||||
"ajv": {
|
||||
|
@ -413,12 +413,29 @@
|
|||
"integrity": "sha1-Jgt6meux7f4kdTgXX3gyQ8sZ0Uk=",
|
||||
"dev": true
|
||||
},
|
||||
"clone-buffer": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz",
|
||||
"integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg=",
|
||||
"dev": true
|
||||
},
|
||||
"clone-stats": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz",
|
||||
"integrity": "sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE=",
|
||||
"dev": true
|
||||
},
|
||||
"cloneable-readable": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/cloneable-readable/-/cloneable-readable-1.0.0.tgz",
|
||||
"integrity": "sha1-pikNQT8hemEjL5XkWP84QYz7ARc=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"inherits": "2.0.3",
|
||||
"process-nextick-args": "1.0.7",
|
||||
"through2": "2.0.3"
|
||||
}
|
||||
},
|
||||
"co": {
|
||||
"version": "4.6.0",
|
||||
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
|
||||
|
@ -480,9 +497,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"convert-source-map": {
|
||||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz",
|
||||
"integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=",
|
||||
"version": "1.5.1",
|
||||
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz",
|
||||
"integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=",
|
||||
"dev": true
|
||||
},
|
||||
"core-util-is": {
|
||||
|
@ -571,7 +588,7 @@
|
|||
"integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"es5-ext": "0.10.37"
|
||||
"es5-ext": "0.10.38"
|
||||
}
|
||||
},
|
||||
"dashdash": {
|
||||
|
@ -675,21 +692,21 @@
|
|||
}
|
||||
},
|
||||
"duplexify": {
|
||||
"version": "3.5.1",
|
||||
"resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.5.1.tgz",
|
||||
"integrity": "sha512-j5goxHTwVED1Fpe5hh3q9R93Kip0Bg2KVAt4f8CEYM3UEwYcPSvWbXaUQOzdX/HtiNomipv+gU7ASQPDbV7pGQ==",
|
||||
"version": "3.5.3",
|
||||
"resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.5.3.tgz",
|
||||
"integrity": "sha512-g8ID9OroF9hKt2POf8YLayy+9594PzmM3scI00/uBXocX3TWNgoB67hjzkFe9ITAbQOne/lLdBxHXvYUM4ZgGA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"end-of-stream": "1.4.0",
|
||||
"end-of-stream": "1.4.1",
|
||||
"inherits": "2.0.3",
|
||||
"readable-stream": "2.3.3",
|
||||
"stream-shift": "1.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"end-of-stream": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.0.tgz",
|
||||
"integrity": "sha1-epDYM+/abPpurA9JSduw+tOmMgY=",
|
||||
"version": "1.4.1",
|
||||
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
|
||||
"integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"once": "1.4.0"
|
||||
|
@ -780,9 +797,9 @@
|
|||
}
|
||||
},
|
||||
"es5-ext": {
|
||||
"version": "0.10.37",
|
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.37.tgz",
|
||||
"integrity": "sha1-DudB0Ui4AGm6J9AgOTdWryV978M=",
|
||||
"version": "0.10.38",
|
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.38.tgz",
|
||||
"integrity": "sha512-jCMyePo7AXbUESwbl8Qi01VSH2piY9s/a3rSU/5w/MlTIx8HPL1xn2InGN8ejt/xulcJgnTO7vqNtOAxzYd2Kg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"es6-iterator": "2.0.3",
|
||||
|
@ -796,7 +813,7 @@
|
|||
"dev": true,
|
||||
"requires": {
|
||||
"d": "1.0.0",
|
||||
"es5-ext": "0.10.37",
|
||||
"es5-ext": "0.10.38",
|
||||
"es6-symbol": "3.1.1"
|
||||
}
|
||||
},
|
||||
|
@ -807,7 +824,7 @@
|
|||
"dev": true,
|
||||
"requires": {
|
||||
"d": "1.0.0",
|
||||
"es5-ext": "0.10.37"
|
||||
"es5-ext": "0.10.38"
|
||||
}
|
||||
},
|
||||
"es6-weak-map": {
|
||||
|
@ -817,7 +834,7 @@
|
|||
"dev": true,
|
||||
"requires": {
|
||||
"d": "1.0.0",
|
||||
"es5-ext": "0.10.37",
|
||||
"es5-ext": "0.10.38",
|
||||
"es6-iterator": "2.0.3",
|
||||
"es6-symbol": "3.1.1"
|
||||
}
|
||||
|
@ -835,7 +852,7 @@
|
|||
"dev": true,
|
||||
"requires": {
|
||||
"d": "1.0.0",
|
||||
"es5-ext": "0.10.37"
|
||||
"es5-ext": "0.10.38"
|
||||
}
|
||||
},
|
||||
"expand-brackets": {
|
||||
|
@ -1380,20 +1397,20 @@
|
|||
}
|
||||
},
|
||||
"gulp-sourcemaps": {
|
||||
"version": "2.6.3",
|
||||
"resolved": "https://registry.npmjs.org/gulp-sourcemaps/-/gulp-sourcemaps-2.6.3.tgz",
|
||||
"integrity": "sha1-EbAz91n5CeCl8Vt730esKcxU76Q=",
|
||||
"version": "2.6.4",
|
||||
"resolved": "https://registry.npmjs.org/gulp-sourcemaps/-/gulp-sourcemaps-2.6.4.tgz",
|
||||
"integrity": "sha1-y7IAhFCxvM5s0jv5gze+dRv24wo=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@gulp-sourcemaps/identity-map": "1.0.1",
|
||||
"@gulp-sourcemaps/map-sources": "1.0.0",
|
||||
"acorn": "5.3.0",
|
||||
"convert-source-map": "1.5.0",
|
||||
"acorn": "5.4.1",
|
||||
"convert-source-map": "1.5.1",
|
||||
"css": "2.2.1",
|
||||
"debug-fabulous": "1.0.0",
|
||||
"detect-newline": "2.1.0",
|
||||
"graceful-fs": "4.1.11",
|
||||
"source-map": "0.5.7",
|
||||
"source-map": "0.6.1",
|
||||
"strip-bom-string": "1.0.0",
|
||||
"through2": "2.0.3"
|
||||
},
|
||||
|
@ -1403,13 +1420,19 @@
|
|||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
|
||||
"integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
|
||||
"dev": true
|
||||
},
|
||||
"source-map": {
|
||||
"version": "0.6.1",
|
||||
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
||||
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"gulp-typescript": {
|
||||
"version": "3.2.3",
|
||||
"resolved": "https://registry.npmjs.org/gulp-typescript/-/gulp-typescript-3.2.3.tgz",
|
||||
"integrity": "sha512-Np2sJXgtDUwIAoMtlJ9uXsVmpu1FWXlKZw164hLuo56uJa7qo5W2KZ0yAYiYH/HUsaz5L0O2toMOcLIokpFCPg==",
|
||||
"version": "3.2.4",
|
||||
"resolved": "https://registry.npmjs.org/gulp-typescript/-/gulp-typescript-3.2.4.tgz",
|
||||
"integrity": "sha512-bZosNvbUGzFA4bjjWoUPyjU5vfgJSzlYKkU0Jutbsrj+td8yvtqxethhqfzB9MwyamaUODIuidj5gIytZ523Bw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"gulp-util": "3.0.8",
|
||||
|
@ -1505,7 +1528,7 @@
|
|||
"integrity": "sha1-uG/zSdgBzrVuHZ59x7vLS33uYAw=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"convert-source-map": "1.5.0",
|
||||
"convert-source-map": "1.5.1",
|
||||
"graceful-fs": "4.1.11",
|
||||
"strip-bom": "2.0.0",
|
||||
"through2": "2.0.3",
|
||||
|
@ -1609,7 +1632,7 @@
|
|||
"integrity": "sha1-vm/zJwy1Xf19MGNkDegfJddTIjk=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"duplexify": "3.5.1",
|
||||
"duplexify": "3.5.3",
|
||||
"glob-stream": "5.3.5",
|
||||
"graceful-fs": "4.1.11",
|
||||
"gulp-sourcemaps": "1.6.0",
|
||||
|
@ -1631,14 +1654,50 @@
|
|||
}
|
||||
},
|
||||
"gulp-uglify-es": {
|
||||
"version": "0.1.9",
|
||||
"resolved": "https://registry.npmjs.org/gulp-uglify-es/-/gulp-uglify-es-0.1.9.tgz",
|
||||
"integrity": "sha512-Vp3IL66RInqqYrzAqRtZ9wfQ1ikrizruKM9ks1+k5fP4hcwlqluMkHfHEfMj/dR6A/uN0mOvRF/BOtFudm0qSg==",
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/gulp-uglify-es/-/gulp-uglify-es-1.0.0.tgz",
|
||||
"integrity": "sha512-xs7yGyEjtNRbbIjFL8KAD3AuqL+L4ipEf871aN0+uohxBB2SVNnkZscQ2+oyHW++BYffv3cIgddIvYprroPAdA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"o-stream": "0.2.2",
|
||||
"uglify-es": "3.2.2",
|
||||
"plugin-error": "0.1.2",
|
||||
"uglify-es": "3.3.9",
|
||||
"vinyl": "2.1.0",
|
||||
"vinyl-sourcemaps-apply": "0.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"clone": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz",
|
||||
"integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=",
|
||||
"dev": true
|
||||
},
|
||||
"clone-stats": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz",
|
||||
"integrity": "sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=",
|
||||
"dev": true
|
||||
},
|
||||
"replace-ext": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz",
|
||||
"integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=",
|
||||
"dev": true
|
||||
},
|
||||
"vinyl": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.1.0.tgz",
|
||||
"integrity": "sha1-Ah+cLPlR1rk5lDyJ617lrdT9kkw=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"clone": "2.1.1",
|
||||
"clone-buffer": "1.0.0",
|
||||
"clone-stats": "1.0.0",
|
||||
"cloneable-readable": "1.0.0",
|
||||
"remove-trailing-separator": "1.1.0",
|
||||
"replace-ext": "1.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"gulp-util": {
|
||||
|
@ -2404,7 +2463,7 @@
|
|||
"integrity": "sha1-Jzi9nw089PhEkMVzbEhpmsYyzaM=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"es5-ext": "0.10.37"
|
||||
"es5-ext": "0.10.38"
|
||||
}
|
||||
},
|
||||
"map-cache": {
|
||||
|
@ -2426,7 +2485,7 @@
|
|||
"dev": true,
|
||||
"requires": {
|
||||
"d": "1.0.0",
|
||||
"es5-ext": "0.10.37",
|
||||
"es5-ext": "0.10.38",
|
||||
"es6-weak-map": "2.0.2",
|
||||
"event-emitter": "0.3.5",
|
||||
"is-promise": "2.1.0",
|
||||
|
@ -3974,7 +4033,7 @@
|
|||
"integrity": "sha1-YcxHp2wavTGV8UUn+XjViulMUgQ=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"es5-ext": "0.10.37",
|
||||
"es5-ext": "0.10.38",
|
||||
"next-tick": "1.0.0"
|
||||
}
|
||||
},
|
||||
|
@ -4043,25 +4102,25 @@
|
|||
"optional": true
|
||||
},
|
||||
"typescript": {
|
||||
"version": "2.6.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.6.2.tgz",
|
||||
"integrity": "sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q=",
|
||||
"version": "2.7.1",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.7.1.tgz",
|
||||
"integrity": "sha512-bqB1yS6o9TNA9ZC/MJxM0FZzPnZdtHj0xWK/IZ5khzVqdpGul/R/EIiHRgFXlwTD7PSIaYVnGKq1QgMCu2mnqw==",
|
||||
"dev": true
|
||||
},
|
||||
"uglify-es": {
|
||||
"version": "3.2.2",
|
||||
"resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.2.2.tgz",
|
||||
"integrity": "sha512-l+s5VLzFwGJfS+fbqaGf/Dfwo1MF13jLOF2ekL0PytzqEqQ6cVppvHf4jquqFok+35USMpKjqkYxy6pQyUcuug==",
|
||||
"version": "3.3.9",
|
||||
"resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz",
|
||||
"integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"commander": "2.12.2",
|
||||
"commander": "2.13.0",
|
||||
"source-map": "0.6.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"commander": {
|
||||
"version": "2.12.2",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.12.2.tgz",
|
||||
"integrity": "sha512-BFnaq5ZOGcDN7FlrtBT4xxkgIToalIIxwjxLWVJ8bGTpe1LroqMiqQXdA7ygc7CRvaYS+9zfPGFnJqFSayx+AA==",
|
||||
"version": "2.13.0",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz",
|
||||
"integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==",
|
||||
"dev": true
|
||||
},
|
||||
"source-map": {
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
"gulp-autoprefixer": "^4.1.0",
|
||||
"gulp-clean-css": "^3.9.2",
|
||||
"gulp-sass": "^3.1.0",
|
||||
"gulp-sourcemaps": "^2.6.3",
|
||||
"gulp-typescript": "^3.2.3",
|
||||
"gulp-uglify-es": "^0.1.9",
|
||||
"typescript": "^2.6.2",
|
||||
"gulp-sourcemaps": "^2.6.4",
|
||||
"gulp-typescript": "^3.2.4",
|
||||
"gulp-uglify-es": "^1.0.0",
|
||||
"typescript": "^2.7.1",
|
||||
"node-sass": "^4.7.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<package id="AutoMapper" version="6.2.2" targetFramework="net47" />
|
||||
<package id="DnsClient" version="1.0.7" targetFramework="net47" />
|
||||
<package id="google.analytics.TypeScript.DefinitelyTyped" version="0.3.8" targetFramework="net47" />
|
||||
<package id="HtmlAgilityPack" version="1.6.13" targetFramework="net47" />
|
||||
<package id="HtmlAgilityPack" version="1.6.16" targetFramework="net47" />
|
||||
<package id="Humanizer" version="2.2.0" targetFramework="net47" />
|
||||
<package id="Humanizer.Core" version="2.2.0" targetFramework="net47" />
|
||||
<package id="Humanizer.Core.af" version="2.2.0" targetFramework="net47" />
|
||||
|
@ -46,9 +46,9 @@
|
|||
<package id="Humanizer.Core.zh-CN" version="2.2.0" targetFramework="net47" />
|
||||
<package id="Humanizer.Core.zh-Hans" version="2.2.0" targetFramework="net47" />
|
||||
<package id="Humanizer.Core.zh-Hant" version="2.2.0" targetFramework="net47" />
|
||||
<package id="jQuery" version="3.2.1" targetFramework="net47" />
|
||||
<package id="jQuery" version="3.3.1" targetFramework="net47" />
|
||||
<package id="jquery.TypeScript.DefinitelyTyped" version="3.1.2" targetFramework="net47" />
|
||||
<package id="jQuery.Validation" version="1.16.0" targetFramework="net47" />
|
||||
<package id="jQuery.Validation" version="1.17.0" targetFramework="net47" />
|
||||
<package id="jsrender.TypeScript.DefinitelyTyped" version="0.1.8" targetFramework="net47" />
|
||||
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net47" />
|
||||
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net47" />
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
"use strict";var BuildFeed;!function(e){function t(e){e.preventDefault();this.nextElementSibling.classList.toggle("open")}function n(e){e.preventDefault();const t=this.parentElement.classList.contains("open");if(a(e),!t){this.parentElement.classList.toggle("open");document.getElementById("menu-open-overlay").classList.add("open")}}function a(e){e.preventDefault();const t=document.getElementsByClassName("dropdown-parent");for(let e=0;e<t.length;e++)t[e].classList.remove("open");document.getElementById("menu-open-overlay").classList.remove("open")}function o(e){e.preventDefault();document.cookie=`bf_theme=${this.dataset.theme}; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/`,location.reload(!0)}function l(e){e.preventDefault();document.cookie=`bf_lang=${this.dataset.lang}; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/`,location.reload(!0)}function d(e){e.preventDefault();document.getElementById("modal-search-overlay").classList.add("open")}function s(e){e.preventDefault();document.getElementById("modal-search-overlay").classList.remove("open")}function c(e){e.preventDefault(),e.stopPropagation()}function i(e){document.getElementById("modal-search-result").innerHTML="",void 0!==p&&clearTimeout(p),void 0!==m&&m.readyState!==XMLHttpRequest.DONE&&m.abort(),p=setInterval(r,200)}function r(){void 0!==p&&clearTimeout(p);const e=document.getElementById("modal-search-input");(m=new XMLHttpRequest).onreadystatechange=u,m.open("GET",`/api/GetSearchResult/${e.value}/`,!0),m.setRequestHeader("accept","application/json"),m.send(null)}function u(e){if(m.readyState!==XMLHttpRequest.DONE||200!==m.status)return;const t=document.getElementById("modal-search-result"),n=document.getElementById("result-template"),a=jsrender.templates(n.innerHTML).render(JSON.parse(m.responseText));t.innerHTML=a;const o=t.getElementsByTagName("a");for(let e=0;e<o.length;e++)o[e].addEventListener("click",e=>{e.preventDefault();const t=document.getElementById("modal-search-input");ga("send","pageview",`/api/GetSearchResult/${t.value}/`),location.assign(e.currentTarget.href)})}let m,p;e.MobileMenuToggle=t,e.DropdownClick=n,e.CloseDropdowns=a,e.SwitchTheme=o,e.SwitchLanguage=l,e.OpenSearch=d,e.CloseSearch=s,e.StopClick=c,e.InitiateSearch=i,e.SendSearch=r,e.CompleteSearch=u,e.BuildFeedSetup=function(e){const r=document.getElementsByClassName("dropdown-parent");for(let e=0;e<r.length;e++)for(let t=0;t<r[e].childNodes.length;t++){const a=r[e].childNodes[t];"A"===a.nodeName&&a.addEventListener("click",n)}document.getElementById("menu-open-overlay").addEventListener("click",a);const u=document.getElementById("settings-theme-menu").getElementsByTagName("a");for(let e=0;e<u.length;e++)u[e].addEventListener("click",o);const m=document.getElementById("settings-lang-menu").getElementsByTagName("a");for(let e=0;e<m.length;e++)m[e].addEventListener("click",l);document.getElementById("page-navigation-toggle").addEventListener("click",t),document.getElementById("page-navigation-search").addEventListener("click",d),document.getElementById("modal-search-overlay").addEventListener("click",s),document.getElementById("modal-search").addEventListener("click",c),document.getElementById("modal-search-input").addEventListener("keyup",i)}}(BuildFeed||(BuildFeed={})),window.addEventListener("load",BuildFeed.BuildFeedSetup);
|
||||
"use strict";var BuildFeed;!function(e){let t,n;function a(e){e.preventDefault();this.nextElementSibling.classList.toggle("open")}function o(e){e.preventDefault();const t=this,n=t.parentElement.classList.contains("open");if(l(e),!n){t.parentElement.classList.toggle("open"),document.getElementById("menu-open-overlay").classList.add("open")}}function l(e){e.preventDefault();const t=document.getElementsByClassName("dropdown-parent");for(let e=0;e<t.length;e++)t[e].classList.remove("open");document.getElementById("menu-open-overlay").classList.remove("open")}function d(e){e.preventDefault();document.cookie=`bf_theme=${this.dataset.theme}; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/`,location.reload(!0)}function c(e){e.preventDefault();document.cookie=`bf_lang=${this.dataset.lang}; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/`,location.reload(!0)}function s(e){e.preventDefault(),document.getElementById("modal-search-overlay").classList.add("open")}function i(e){e.preventDefault(),document.getElementById("modal-search-overlay").classList.remove("open")}function r(e){e.preventDefault(),e.stopPropagation()}function u(e){document.getElementById("modal-search-result").innerHTML="",void 0!==n&&clearTimeout(n),void 0!==t&&t.readyState!==XMLHttpRequest.DONE&&t.abort(),n=setInterval(m,200)}function m(){void 0!==n&&clearTimeout(n);const e=document.getElementById("modal-search-input");(t=new XMLHttpRequest).onreadystatechange=p,t.open("GET",`/api/GetSearchResult/${e.value}/`,!0),t.setRequestHeader("accept","application/json"),t.send(null)}function p(e){if(t.readyState!==XMLHttpRequest.DONE||200!==t.status)return;const n=document.getElementById("modal-search-result"),a=document.getElementById("result-template"),o=jsrender.templates(a.innerHTML).render(JSON.parse(t.responseText));n.innerHTML=o;const l=n.getElementsByTagName("a");for(let e=0;e<l.length;e++)l[e].addEventListener("click",e=>{e.preventDefault();const t=document.getElementById("modal-search-input");ga("send","pageview",`/api/GetSearchResult/${t.value}/`),location.assign(e.currentTarget.href)})}e.MobileMenuToggle=a,e.DropdownClick=o,e.CloseDropdowns=l,e.SwitchTheme=d,e.SwitchLanguage=c,e.OpenSearch=s,e.CloseSearch=i,e.StopClick=r,e.InitiateSearch=u,e.SendSearch=m,e.CompleteSearch=p,e.BuildFeedSetup=function(e){const t=document.getElementsByClassName("dropdown-parent");for(let e=0;e<t.length;e++)for(let n=0;n<t[e].childNodes.length;n++){const a=t[e].childNodes[n];"A"===a.nodeName&&a.addEventListener("click",o)}document.getElementById("menu-open-overlay").addEventListener("click",l);const n=document.getElementById("settings-theme-menu").getElementsByTagName("a");for(let e=0;e<n.length;e++)n[e].addEventListener("click",d);const m=document.getElementById("settings-lang-menu").getElementsByTagName("a");for(let e=0;e<m.length;e++)m[e].addEventListener("click",c);document.getElementById("page-navigation-toggle").addEventListener("click",a),document.getElementById("page-navigation-search").addEventListener("click",s),document.getElementById("modal-search-overlay").addEventListener("click",i),document.getElementById("modal-search").addEventListener("click",r),document.getElementById("modal-search-input").addEventListener("keyup",u)}}(BuildFeed||(BuildFeed={})),window.addEventListener("load",BuildFeed.BuildFeedSetup);
|
||||
//# sourceMappingURL=bfs.js.map
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
"use script";var BuildFeed;!function(t){!function(e){function n(){window.requestAnimationFrame(i)}function i(){if(a%5==0)for(let t=0;t<2;t++){const t=new d;r.push(t),s.appendChild(t.getElement())}for(const t of r){t.bumpElement(!0)&&r.splice(r.indexOf(t),1)}a++}const o=5;let s,r=[],a=0;class d{getElement(){return this.element}bumpElement(t){let e=Math.round((Math.random()/2+.5)*o);return this.top=this.top+e,this.top<-10||this.top>window.innerHeight+10?(this.element.remove(),!0):t&&(e=Math.round((Math.random()/2+.5)*o),this.left=Math.random()>.5?this.left+e:this.left-e,this.left<-10||this.left>window.innerWidth+10)?(this.element.remove(),!0):(this.element.style.transform=`translate(${this.left}px, ${this.top}px)`,!1)}constructor(){this.element=document.createElement("div"),this.top=0,this.left=Math.round(Math.random()*window.innerWidth)}}(t.Christmas||(t.Christmas={})).Setup=function(){(s=document.createElement("div")).className="snow-container";const t=window.navigator.userAgent.match(/Firefox\/([0-9]+)\./);(t?parseInt(t[1]):0)>=57&&(s.className+=" quantum-snow-container"),document.body.appendChild(s),window.requestAnimationFrame(i),setInterval(n,125)}}()}(BuildFeed||(BuildFeed={})),window.addEventListener("load",BuildFeed.Christmas.Setup);
|
||||
"use script";var BuildFeed;!function(t){!function(t){const e=5;let n,i=[],o=0;class s{getElement(){return this.element}bumpElement(t){let n=Math.round((Math.random()/2+.5)*e);return this.top=this.top+n,this.top<-10||this.top>window.innerHeight+10?(this.element.remove(),!0):t&&(n=Math.round((Math.random()/2+.5)*e),this.left=Math.random()>.5?this.left+n:this.left-n,this.left<-10||this.left>window.innerWidth+10)?(this.element.remove(),!0):(this.element.style.transform=`translate(${this.left}px, ${this.top}px)`,!1)}constructor(){this.element=document.createElement("div"),this.top=0,this.left=Math.round(Math.random()*window.innerWidth)}}function r(){window.requestAnimationFrame(a)}function a(){if(o%5==0)for(let t=0;t<2;t++){const t=new s;i.push(t),n.appendChild(t.getElement())}for(const t of i){t.bumpElement(!0)&&i.splice(i.indexOf(t),1)}o++}t.Setup=function(){(n=document.createElement("div")).className="snow-container";const t=window.navigator.userAgent.match(/Firefox\/([0-9]+)\./);(t?parseInt(t[1]):0)>=57&&(n.className+=" quantum-snow-container"),document.body.appendChild(n),window.requestAnimationFrame(a),setInterval(r,125)}}(t.Christmas||(t.Christmas={}))}(BuildFeed||(BuildFeed={})),window.addEventListener("load",BuildFeed.Christmas.Setup);
|
||||
//# sourceMappingURL=christmas.js.map
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user