ids-enterprise 4.52.0 → 4.52.4
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/css/theme-classic-contrast.css +3 -3
- package/dist/css/theme-classic-contrast.min.css +3 -3
- package/dist/css/theme-classic-dark.css +3 -3
- package/dist/css/theme-classic-dark.min.css +3 -3
- package/dist/css/theme-classic-light.css +3 -3
- package/dist/css/theme-classic-light.min.css +3 -3
- package/dist/css/theme-new-contrast.css +3 -3
- package/dist/css/theme-new-contrast.min.css +3 -3
- package/dist/css/theme-new-dark.css +3 -3
- package/dist/css/theme-new-dark.min.css +3 -3
- package/dist/css/theme-new-light.css +3 -3
- package/dist/css/theme-new-light.min.css +3 -3
- package/dist/css/theme-soho-contrast.css +3 -3
- package/dist/css/theme-soho-contrast.min.css +3 -3
- package/dist/css/theme-soho-dark.css +3 -3
- package/dist/css/theme-soho-dark.min.css +3 -3
- package/dist/css/theme-soho-light.css +3 -3
- package/dist/css/theme-soho-light.min.css +3 -3
- package/dist/css/theme-uplift-contrast.css +3 -3
- package/dist/css/theme-uplift-contrast.min.css +3 -3
- package/dist/css/theme-uplift-dark.css +3 -3
- package/dist/css/theme-uplift-dark.min.css +3 -3
- package/dist/css/theme-uplift-light.css +3 -3
- package/dist/css/theme-uplift-light.min.css +3 -3
- package/dist/js/sohoxi.esm.js +47 -41
- package/dist/js/sohoxi.js +47 -41
- package/dist/js/sohoxi.js.map +1 -1
- package/dist/js/sohoxi.min.js +4 -4
- package/dist/js/sohoxi.min.js.map +1 -1
- package/dist/svg/theme-classic-svg-empty.html +5 -5
- package/dist/svg/theme-classic-svg.html +206 -206
- package/dist/svg/theme-new-svg-empty.html +8 -8
- package/dist/svg/theme-new-svg.html +223 -223
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* IDS Enterprise Components - v4.52.
|
|
4
|
-
* Date: 2021-
|
|
5
|
-
* Revision:
|
|
3
|
+
* IDS Enterprise Components - v4.52.4
|
|
4
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
5
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* Apache License
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:36.675Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
package/dist/js/sohoxi.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* IDS Enterprise Components - v4.52.
|
|
3
|
-
* Date: 2021-
|
|
4
|
-
* Revision:
|
|
2
|
+
* IDS Enterprise Components - v4.52.4
|
|
3
|
+
* Date: 2021-09-21T19:52:38.948Z
|
|
4
|
+
* Revision: 4dd24e44e6f9c658dd1c5a5df25bf697e9fc0685
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
7
|
* Apache License
|
|
@@ -345,7 +345,7 @@ if (!isIE11) {
|
|
|
345
345
|
|
|
346
346
|
var name = "ids-enterprise";
|
|
347
347
|
var slug = "ids-enterprise";
|
|
348
|
-
var version = "4.52.
|
|
348
|
+
var version = "4.52.4";
|
|
349
349
|
var description = "Infor Design System (IDS) Enterprise Components for the web";
|
|
350
350
|
var repository = {
|
|
351
351
|
type: "git",
|
|
@@ -895,9 +895,7 @@ xssUtils.htmlEntities = function (string) {
|
|
|
895
895
|
|
|
896
896
|
xssUtils.isUrlLocal = function (url) {
|
|
897
897
|
var isEmpty = url === '';
|
|
898
|
-
return !isEmpty && (url[0] === '/' && (url.length === 1 || url[1] !== '/' && url[1] !== '\\') ||
|
|
899
|
-
url.length > 1 && url[0] === '~' && url[1] === '/') || // "~/" or "~/foo"
|
|
900
|
-
url.length >= 1 && url[0] === '#'; // "#" or "#foo"
|
|
898
|
+
return !isEmpty && (url[0] === '/' && (url.length === 1 || url[1] !== '/' && url[1] !== '\\') || url.length > 1 && url[0] === '~' && url[1] === '/') || url.length >= 1 && url[0] === '#'; // "#" or "#foo"
|
|
901
899
|
};
|
|
902
900
|
|
|
903
901
|
var DOM = {};
|
|
@@ -3794,6 +3792,14 @@ numberUtils.round = function round(number) {
|
|
|
3794
3792
|
|
|
3795
3793
|
numberUtils.fixTo = function toFixed(number) {
|
|
3796
3794
|
var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
|
|
3795
|
+
|
|
3796
|
+
if (decimals > 10 && number.toString().indexOf('.') > -1) {
|
|
3797
|
+
return number.toLocaleString('en-US', {
|
|
3798
|
+
useGrouping: false,
|
|
3799
|
+
minimumFractionDigits: decimals
|
|
3800
|
+
});
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3797
3803
|
return (+(Math.round(+(number + 'e' + decimals)) + 'e' + -decimals)).toFixed(decimals); //eslint-disable-line
|
|
3798
3804
|
};
|
|
3799
3805
|
/**
|
|
@@ -3811,6 +3817,13 @@ numberUtils.toFixed = function toFixed(number) {
|
|
|
3811
3817
|
var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
|
|
3812
3818
|
// Parse the number into three parts. Max supported number is 18.6
|
|
3813
3819
|
var numStr = number.toString();
|
|
3820
|
+
var hasMinus = false;
|
|
3821
|
+
|
|
3822
|
+
if (numStr.substr(0, 1) === '-') {
|
|
3823
|
+
hasMinus = true;
|
|
3824
|
+
numStr = numStr.replace('-', '');
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3814
3827
|
var parsedNum = '';
|
|
3815
3828
|
var noDecimals = numStr.split('.');
|
|
3816
3829
|
var parts = [noDecimals[0].substr(0, 10), noDecimals[0].substr(10), noDecimals[1]];
|
|
@@ -3828,7 +3841,11 @@ numberUtils.toFixed = function toFixed(number) {
|
|
|
3828
3841
|
}
|
|
3829
3842
|
|
|
3830
3843
|
if (lastPart && lastPart.substr(0, 1) === '0') {
|
|
3831
|
-
parsedNum = "".concat(firstPart
|
|
3844
|
+
parsedNum = "".concat(firstPart).concat(parsedNum);
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
if (hasMinus) {
|
|
3848
|
+
return "-".concat(parsedNum);
|
|
3832
3849
|
}
|
|
3833
3850
|
|
|
3834
3851
|
return parsedNum;
|
|
@@ -5838,8 +5855,8 @@ var Locale = {
|
|
|
5838
5855
|
percentFormat = percentFormat.replace('¤', percentSign);
|
|
5839
5856
|
}
|
|
5840
5857
|
|
|
5841
|
-
if (typeof number === 'string') {
|
|
5842
|
-
number = Locale.parseNumber(number);
|
|
5858
|
+
if (typeof number === 'string' && !((options === null || options === void 0 ? void 0 : options == null ? void 0 : options.parseNumber) === false)) {
|
|
5859
|
+
number = Locale.parseNumber(number, options);
|
|
5843
5860
|
}
|
|
5844
5861
|
|
|
5845
5862
|
if (number.toString().indexOf('e') > -1) {
|
|
@@ -5993,18 +6010,18 @@ var Locale = {
|
|
|
5993
6010
|
numString = numString.toString();
|
|
5994
6011
|
}
|
|
5995
6012
|
|
|
5996
|
-
var group = options && options.group ? options.group : numSettings ? numSettings.group : ',';
|
|
6013
|
+
var group = options && options.group !== undefined ? options.group : numSettings ? numSettings.group : ',';
|
|
5997
6014
|
var decimal = options && options.decimal ? options.decimal : numSettings ? numSettings.decimal : '.';
|
|
5998
6015
|
var percentSign = options && options.percentSign ? options.percentSign : numSettings ? numSettings.percentSign : '%';
|
|
5999
6016
|
var currencySign = options && options.currencySign ? options.currencySign : localeData.currencySign || '$';
|
|
6000
|
-
var exp = group === ' ' ? new RegExp(/\s/g) : new RegExp("\\".concat(group), 'g');
|
|
6017
|
+
var exp = group === ' ' || group === '' ? new RegExp(/\s/g) : new RegExp("\\".concat(group), 'g');
|
|
6001
6018
|
numString = numString.replace(exp, '');
|
|
6002
6019
|
numString = numString.replace(decimal, '.');
|
|
6003
6020
|
numString = numString.replace(percentSign, '');
|
|
6004
6021
|
numString = numString.replace(currencySign, '');
|
|
6005
6022
|
numString = numString.replace('$', '');
|
|
6006
6023
|
numString = numString.replace(' ', '');
|
|
6007
|
-
return numString.length >=
|
|
6024
|
+
return numString.length >= 18 ? numString : parseFloat(numString);
|
|
6008
6025
|
},
|
|
6009
6026
|
|
|
6010
6027
|
/**
|
|
@@ -16753,9 +16770,7 @@ MaskAPI.prototype = {
|
|
|
16753
16770
|
}).length; // The number of times we need to see occurrences of the `targetChar` before we
|
|
16754
16771
|
// know it is the one we're looking for is:
|
|
16755
16772
|
|
|
16756
|
-
var requiredNumberOfMatches = countTargetCharInPlaceholder + countTargetCharInIntersection + countTargetCharInPipedChars + ( //
|
|
16757
|
-
// so add one if we are tracking the character to the right
|
|
16758
|
-
trackRightCharacter ? 1 : 0); // Now we start looking for the location of the `targetChar`.
|
|
16773
|
+
var requiredNumberOfMatches = countTargetCharInPlaceholder + countTargetCharInIntersection + countTargetCharInPipedChars + (trackRightCharacter ? 1 : 0); // Now we start looking for the location of the `targetChar`.
|
|
16759
16774
|
// We keep looping forward and store the index in every iteration. Once we have encountered
|
|
16760
16775
|
// enough occurrences of the target character, we break out of the loop
|
|
16761
16776
|
// If are searching for the second `1` in `1214`, `startingSearchIndex` will point at `4`.
|
|
@@ -31229,8 +31244,7 @@ CompletionChart.prototype = {
|
|
|
31229
31244
|
var value = isPrivate ? obj._value : obj.value; //eslint-disable-line
|
|
31230
31245
|
|
|
31231
31246
|
return obj && !isUndefined(value) && obj.format ? //eslint-disable-line
|
|
31232
|
-
format(fixPercent(value, ds), obj.format, ds) :
|
|
31233
|
-
obj ? fixPercent(value, ds) : 0;
|
|
31247
|
+
format(fixPercent(value, ds), obj.format, ds) : obj ? fixPercent(value, ds) : 0;
|
|
31234
31248
|
};
|
|
31235
31249
|
|
|
31236
31250
|
var self = this;
|
|
@@ -34227,8 +34241,7 @@ Column.prototype = {
|
|
|
34227
34241
|
}
|
|
34228
34242
|
|
|
34229
34243
|
if (selected < 1) {
|
|
34230
|
-
if (typeof o.fieldName !== 'undefined' && typeof o.fieldValue !== 'undefined' && o.fieldValue === (isSingle && self.settings.isStacked ? d[0][o.fieldName] : d[o.fieldName]) ||
|
|
34231
|
-
typeof o.index !== 'undefined' && o.index === i || o.data && equals(o.data, dataset[gIdx].data[i]) || o.elem && $(this).is(o.elem)) {
|
|
34244
|
+
if (typeof o.fieldName !== 'undefined' && typeof o.fieldValue !== 'undefined' && o.fieldValue === (isSingle && self.settings.isStacked ? d[0][o.fieldName] : d[o.fieldName]) || typeof o.index !== 'undefined' && o.index === i || o.data && equals(o.data, dataset[gIdx].data[i]) || o.elem && $(this).is(o.elem)) {
|
|
34232
34245
|
selected++;
|
|
34233
34246
|
selector = d3.select(this);
|
|
34234
34247
|
barIndex = i;
|
|
@@ -35103,10 +35116,7 @@ Bar.prototype = {
|
|
|
35103
35116
|
}).attr('class', function (d, i) {
|
|
35104
35117
|
return "bar series-".concat(i);
|
|
35105
35118
|
}).style('fill', function (d, i) {
|
|
35106
|
-
return s.isStacked ?
|
|
35107
|
-
series.length === 1 ? charts.chartColor(i, 'bar-single', d) : // eslint-disable-line
|
|
35108
|
-
charts.chartColor(d.index, 'bar', series[d.index]) : // eslint-disable-line
|
|
35109
|
-
charts.chartColor(i, 'bar', legendMap[i]);
|
|
35119
|
+
return s.isStacked ? series.length === 1 ? charts.chartColor(i, 'bar-single', d) : charts.chartColor(d.index, 'bar', series[d.index]) : charts.chartColor(i, 'bar', legendMap[i]);
|
|
35110
35120
|
}) // eslint-disable-line
|
|
35111
35121
|
.attr('mask', function (d, i) {
|
|
35112
35122
|
if (dataset.length === 1 && dataset[0][i].pattern) {
|
|
@@ -35427,8 +35437,7 @@ Bar.prototype = {
|
|
|
35427
35437
|
return 0;
|
|
35428
35438
|
}
|
|
35429
35439
|
|
|
35430
|
-
return s.isStacked && !s.isSingle ? xScale(d.x0) + 1 :
|
|
35431
|
-
d.x < 0 ? xScale(d.x) + 1 : xScale(0) + 1;
|
|
35440
|
+
return s.isStacked && !s.isSingle ? xScale(d.x0) + 1 : d.x < 0 ? xScale(d.x) + 1 : xScale(0) + 1;
|
|
35432
35441
|
});
|
|
35433
35442
|
s.svg = self.svg; // Add Legends
|
|
35434
35443
|
|
|
@@ -41324,9 +41333,7 @@ Dropdown.prototype = {
|
|
|
41324
41333
|
* @returns {boolean} true if the key is a control key.
|
|
41325
41334
|
*/
|
|
41326
41335
|
isControl: function isControl(keycode) {
|
|
41327
|
-
var valid = keycode > 7 && keycode < 48 || //
|
|
41328
|
-
keycode > 90 && keycode < 94 || // windows keys
|
|
41329
|
-
keycode > 111 && keycode < 146; // function keys
|
|
41336
|
+
var valid = keycode > 7 && keycode < 48 || keycode > 90 && keycode < 94 || keycode > 111 && keycode < 146; // function keys
|
|
41330
41337
|
|
|
41331
41338
|
return valid;
|
|
41332
41339
|
},
|
|
@@ -84309,14 +84316,9 @@ Textarea.prototype = {
|
|
|
84309
84316
|
var valid = false;
|
|
84310
84317
|
|
|
84311
84318
|
if (shiftKey) {
|
|
84312
|
-
valid = keycode > 64 && keycode < 91 ||
|
|
84313
|
-
keycode >= 33 && keycode <= 38 || keycode >= 40 && keycode <= 43 || keycode === 126 || keycode === 58 || keycode === 60 || keycode >= 123 && keycode <= 125 || keycode === 94 || keycode === 95 || keycode >= 62 && keycode <= 64;
|
|
84319
|
+
valid = keycode > 64 && keycode < 91 || keycode >= 33 && keycode <= 38 || keycode >= 40 && keycode <= 43 || keycode === 126 || keycode === 58 || keycode === 60 || keycode >= 123 && keycode <= 125 || keycode === 94 || keycode === 95 || keycode >= 62 && keycode <= 64;
|
|
84314
84320
|
} else {
|
|
84315
|
-
valid = keycode === 13 || //
|
|
84316
|
-
keycode >= 48 && keycode <= 57 || // number keys
|
|
84317
|
-
keycode >= 97 && keycode <= 122 || // letter keys
|
|
84318
|
-
keycode === 59 || keycode === 61 || keycode >= 44 && keycode <= 47 || keycode === 96 || // ;=,-./` (in order)
|
|
84319
|
-
keycode >= 91 && keycode <= 93 || keycode === 39; // [\]' (in order)
|
|
84321
|
+
valid = keycode === 13 || keycode >= 48 && keycode <= 57 || keycode >= 97 && keycode <= 122 || keycode === 59 || keycode === 61 || keycode >= 44 && keycode <= 47 || keycode === 96 || keycode >= 91 && keycode <= 93 || keycode === 39; // [\]' (in order)
|
|
84320
84322
|
}
|
|
84321
84323
|
|
|
84322
84324
|
return valid;
|
|
@@ -84391,8 +84393,7 @@ Textarea.prototype = {
|
|
|
84391
84393
|
var length = value.length + (isExtraLinebreaks ? this.countLinebreaks(value) : 0);
|
|
84392
84394
|
var max = self.getMaxLength();
|
|
84393
84395
|
var remaining = parseInt(max, 10) - length;
|
|
84394
|
-
var text = (self.settings.charRemainingText ? self.settings.charRemainingText :
|
|
84395
|
-
Locale.translate('CharactersLeft') === 'CharactersLeft' ? 'Characters Left' : Locale.translate('CharactersLeft')).replace('{0}', remaining.toString());
|
|
84396
|
+
var text = (self.settings.charRemainingText ? self.settings.charRemainingText : Locale.translate('CharactersLeft') === 'CharactersLeft' ? 'Characters Left' : Locale.translate('CharactersLeft')).replace('{0}', remaining.toString());
|
|
84396
84397
|
|
|
84397
84398
|
if (self.counter) {
|
|
84398
84399
|
if (length >= max) {
|
|
@@ -98437,7 +98438,13 @@ Datagrid.prototype = {
|
|
|
98437
98438
|
this.settings.columns[idx].hidden = true;
|
|
98438
98439
|
this.headerNodeCheckbox = this.headerNodes().eq(idx);
|
|
98439
98440
|
if (!((_this$settings4 = this.settings) !== null && _this$settings4 !== void 0 && (_this$settings4$froze = _this$settings4 == null ? void 0 : _this$settings4.frozenColumns) !== null && _this$settings4$froze !== void 0 && (_this$settings4$froze == null ? void 0 : _this$settings4$froze.left.length))) this.headerNodes().eq(idx).addClass('is-hidden');
|
|
98440
|
-
|
|
98441
|
+
|
|
98442
|
+
if (idx === 0 && id === 'selectionCheckbox') {
|
|
98443
|
+
this.headerNodes().eq(idx).off().remove();
|
|
98444
|
+
} else {
|
|
98445
|
+
this.headerNodes().eq(idx).addClass('is-hidden');
|
|
98446
|
+
}
|
|
98447
|
+
|
|
98441
98448
|
this.colGroupNodes().eq(idx).addClass('is-hidden');
|
|
98442
98449
|
var frozenLeft = ((_this$settings5 = this.settings) === null || _this$settings5 === void 0 ? void 0 : (_this$settings5$froze = _this$settings5 == null ? void 0 : _this$settings5.frozenColumns) === null || _this$settings5$froze === void 0 ? void 0 : _this$settings5$froze == null ? void 0 : _this$settings5$froze.left.length) || 0;
|
|
98443
98450
|
this.tableBody.find("> tr > td:nth-child(".concat(idx - frozenLeft + 1, ")")).addClass('is-hidden');
|
|
@@ -101991,8 +101998,7 @@ Datagrid.prototype = {
|
|
|
101991
101998
|
if (key === 9 && e.shiftKey && target.is('.code-block-actions')) {
|
|
101992
101999
|
self.focusNextPrev('prev', node);
|
|
101993
102000
|
} else {
|
|
101994
|
-
if (!isRTL && (key === 37 || key === 9 && e.shiftKey) ||
|
|
101995
|
-
isRTL && (key === 39 || key === 9)) {
|
|
102001
|
+
if (!isRTL && (key === 37 || key === 9 && e.shiftKey) || isRTL && (key === 39 || key === 9)) {
|
|
101996
102002
|
// eslint-disable-line
|
|
101997
102003
|
cell = getNextVisibleCell(cell, lastCell, true);
|
|
101998
102004
|
} else {
|