Skip to content

Commit 53c6934

Browse files
committed
upgrade js libs
1 parent b977c12 commit 53c6934

File tree

8 files changed

+8920
-7496
lines changed

8 files changed

+8920
-7496
lines changed

MyApp/wwwroot/css/app.css

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
2+
! tailwindcss v3.4.11 | MIT License | https://tailwindcss.com
33
*/
44

55
/*
@@ -929,10 +929,6 @@ select{
929929
grid-column: span 6 / span 6;
930930
}
931931

932-
.-m-2 {
933-
margin: -0.5rem;
934-
}
935-
936932
.-m-2\.5 {
937933
margin: -0.625rem;
938934
}
@@ -949,11 +945,6 @@ select{
949945
margin: 1.5rem;
950946
}
951947

952-
.-mx-1 {
953-
margin-left: -0.25rem;
954-
margin-right: -0.25rem;
955-
}
956-
957948
.-mx-1\.5 {
958949
margin-left: -0.375rem;
959950
margin-right: -0.375rem;
@@ -964,11 +955,6 @@ select{
964955
margin-right: -1rem;
965956
}
966957

967-
.-my-1 {
968-
margin-top: -0.25rem;
969-
margin-bottom: -0.25rem;
970-
}
971-
972958
.-my-1\.5 {
973959
margin-top: -0.375rem;
974960
margin-bottom: -0.375rem;
@@ -1118,10 +1104,6 @@ select{
11181104
margin-bottom: 2rem;
11191105
}
11201106

1121-
.ml-0 {
1122-
margin-left: 0px;
1123-
}
1124-
11251107
.ml-0\.5 {
11261108
margin-left: 0.125rem;
11271109
}
@@ -2277,11 +2259,6 @@ select{
22772259
padding-right: 1.5rem;
22782260
}
22792261

2280-
.py-0 {
2281-
padding-top: 0px;
2282-
padding-bottom: 0px;
2283-
}
2284-
22852262
.py-0\.5 {
22862263
padding-top: 0.125rem;
22872264
padding-bottom: 0.125rem;
@@ -2438,10 +2415,6 @@ select{
24382415
padding-right: 2.25rem;
24392416
}
24402417

2441-
.pt-0 {
2442-
padding-top: 0px;
2443-
}
2444-
24452418
.pt-0\.5 {
24462419
padding-top: 0.125rem;
24472420
}

MyApp/wwwroot/lib/js/additional-methods.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MyApp/wwwroot/lib/js/jquery.validate.js

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*!
2-
* jQuery Validation Plugin v1.20.0
2+
* jQuery Validation Plugin v1.21.0
33
*
44
* https://jqueryvalidation.org/
55
*
6-
* Copyright (c) 2023 Jörn Zaefferer
6+
* Copyright (c) 2024 Jörn Zaefferer
77
* Released under the MIT license
88
*/
99
(function( factory ) {
@@ -293,6 +293,7 @@ $.extend( $.validator, {
293293
onsubmit: true,
294294
ignore: ":hidden",
295295
ignoreTitle: false,
296+
customElements: [],
296297
onfocusin: function( element ) {
297298
this.lastActive = element;
298299

@@ -440,17 +441,17 @@ $.extend( $.validator, {
440441
settings[ eventType ].call( validator, this, event );
441442
}
442443
}
443-
444+
var focusListeners = [ ":text", "[type='password']", "[type='file']", "select", "textarea", "[type='number']", "[type='search']",
445+
"[type='tel']", "[type='url']", "[type='email']", "[type='datetime']", "[type='date']", "[type='month']",
446+
"[type='week']", "[type='time']", "[type='datetime-local']", "[type='range']", "[type='color']",
447+
"[type='radio']", "[type='checkbox']", "[contenteditable]", "[type='button']" ];
448+
var clickListeners = [ "select", "option", "[type='radio']", "[type='checkbox']" ];
444449
$( this.currentForm )
445-
.on( "focusin.validate focusout.validate keyup.validate",
446-
":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], " +
447-
"[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], " +
448-
"[type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], " +
449-
"[type='radio'], [type='checkbox'], [contenteditable], [type='button']", delegate )
450+
.on( "focusin.validate focusout.validate keyup.validate", focusListeners.concat( this.settings.customElements ).join( ", " ), delegate )
450451

451452
// Support: Chrome, oldIE
452453
// "select" is provided as event.target when clicking a option
453-
.on( "click.validate", "select, option, [type='radio'], [type='checkbox']", delegate );
454+
.on( "click.validate", clickListeners.concat( this.settings.customElements ).join( ", " ), delegate );
454455

455456
if ( this.settings.invalidHandler ) {
456457
$( this.currentForm ).on( "invalid-form.validate", this.settings.invalidHandler );
@@ -647,11 +648,12 @@ $.extend( $.validator, {
647648

648649
elements: function() {
649650
var validator = this,
650-
rulesCache = {};
651+
rulesCache = {},
652+
selectors = [ "input", "select", "textarea", "[contenteditable]" ];
651653

652654
// Select all valid inputs inside the form (no submit or reset buttons)
653655
return $( this.currentForm )
654-
.find( "input, select, textarea, [contenteditable]" )
656+
.find( selectors.concat( this.settings.customElements ).join( ", " ) )
655657
.not( ":submit, :reset, :image, :disabled" )
656658
.not( this.settings.ignore )
657659
.filter( function() {
@@ -1501,7 +1503,7 @@ $.extend( $.validator, {
15011503

15021504
// https://jqueryvalidation.org/number-method/
15031505
number: function( value, element ) {
1504-
return this.optional( element ) || /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test( value );
1506+
return this.optional( element ) || /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:-?\.\d+)?$/.test( value );
15051507
},
15061508

15071509
// https://jqueryvalidation.org/digits-method/
@@ -1612,11 +1614,12 @@ $.extend( $.validator, {
16121614

16131615
param = typeof param === "string" && { url: param } || param;
16141616
optionDataString = $.param( $.extend( { data: value }, param.data ) );
1615-
if ( previous.old === optionDataString ) {
1617+
if ( previous.valid !== null && previous.old === optionDataString ) {
16161618
return previous.valid;
16171619
}
16181620

16191621
previous.old = optionDataString;
1622+
previous.valid = null;
16201623
validator = this;
16211624
this.startRequest( element );
16221625
data = {};

MyApp/wwwroot/lib/js/jquery.validate.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MyApp/wwwroot/lib/mjs/servicestack-vue.min.mjs

Lines changed: 26 additions & 26 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)