jsuites 5.0.27 → 5.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/jsuites.css +4 -2
- package/dist/jsuites.js +2 -5
- package/package.json +1 -1
package/dist/jsuites.css
CHANGED
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
--safe-area-bottom: env(safe-area-inset-bottom);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
[data-visible="false"] {
|
|
8
|
+
[data-visible="false"], .row[data-visible="false"] {
|
|
9
9
|
display: none;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
|
|
12
13
|
div[data-before]:before {
|
|
13
14
|
content: attr(data-before);
|
|
14
15
|
}
|
|
@@ -944,7 +945,8 @@ div[data-before]:before {
|
|
|
944
945
|
}
|
|
945
946
|
|
|
946
947
|
.jcontextmenu > div span {
|
|
947
|
-
margin-right:10px;
|
|
948
|
+
margin-right: 10px;
|
|
949
|
+
font-size: 0.9em;
|
|
948
950
|
}
|
|
949
951
|
|
|
950
952
|
.jcontextmenu .jcontextmenu-disabled a {
|
package/dist/jsuites.js
CHANGED
|
@@ -598,11 +598,9 @@ function HelpersDate() {
|
|
|
598
598
|
jsDate = new Date(jsDate + ' GMT+0');
|
|
599
599
|
}
|
|
600
600
|
var jsDateInMilliseconds = jsDate.getTime();
|
|
601
|
-
|
|
602
601
|
if (jsDateInMilliseconds >= excelLeapYearBug) {
|
|
603
602
|
jsDateInMilliseconds += millisecondsPerDay;
|
|
604
603
|
}
|
|
605
|
-
|
|
606
604
|
jsDateInMilliseconds -= excelInitialTime;
|
|
607
605
|
|
|
608
606
|
return jsDateInMilliseconds / millisecondsPerDay;
|
|
@@ -615,7 +613,6 @@ function HelpersDate() {
|
|
|
615
613
|
*/
|
|
616
614
|
Component.numToDate = function (excelSerialNumber) {
|
|
617
615
|
var jsDateInMilliseconds = excelInitialTime + excelSerialNumber * millisecondsPerDay;
|
|
618
|
-
|
|
619
616
|
if (jsDateInMilliseconds >= excelLeapYearBug) {
|
|
620
617
|
jsDateInMilliseconds -= millisecondsPerDay;
|
|
621
618
|
}
|
|
@@ -9850,7 +9847,7 @@ function Validations() {
|
|
|
9850
9847
|
return null;
|
|
9851
9848
|
}
|
|
9852
9849
|
|
|
9853
|
-
component.url = function() {
|
|
9850
|
+
component.url = function(data) {
|
|
9854
9851
|
var pattern = new RegExp(/(((https?:\/\/)|(www\.))[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|]+)/ig);
|
|
9855
9852
|
return pattern.test(data) ? true : false;
|
|
9856
9853
|
}
|
|
@@ -9861,7 +9858,7 @@ function Validations() {
|
|
|
9861
9858
|
}
|
|
9862
9859
|
|
|
9863
9860
|
component.required = function(data) {
|
|
9864
|
-
return data.trim() ? true : false;
|
|
9861
|
+
return data && data.trim() ? true : false;
|
|
9865
9862
|
}
|
|
9866
9863
|
|
|
9867
9864
|
component.exist = function(data, options) {
|
package/package.json
CHANGED