@syncfusion/ej2-base 26.2.4 → 26.2.10
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/bin/syncfusion-license.js +1 -1
- package/dist/ej2-base.min.js +2 -2
- package/dist/ej2-base.umd.min.js +2 -2
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +4 -3
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +4 -3
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +2 -2
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/internationalization.d.ts +4 -0
- package/src/intl/intl-base.d.ts +2 -1
- package/src/intl/intl-base.js +3 -2
- package/src/intl/number-formatter.js +1 -1
- package/hotfix/26.1.35_Vol2.txt +0 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.2.
|
|
3
|
+
* version : 26.2.10
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-base@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-base@26.
|
|
3
|
+
"_id": "@syncfusion/ej2-base@26.2.5",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-hmbcoSt1GDYrtbupg/oVFFrIr4WLycu+n8hIoCVOxVPYeDGSei1G+bRoUxQS04Kb9WFJKlyftjBt8syY9HUknQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-base",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
"/@syncfusion/ej2-vue-treegrid",
|
|
169
169
|
"/@syncfusion/ej2-vue-treemap"
|
|
170
170
|
],
|
|
171
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-26.
|
|
172
|
-
"_shasum": "
|
|
171
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-26.2.5.tgz",
|
|
172
|
+
"_shasum": "967752fe26e7ef6cfc359461cf2ce4063a11ddff",
|
|
173
173
|
"_spec": "@syncfusion/ej2-base@*",
|
|
174
174
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
175
175
|
"author": {
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
},
|
|
184
184
|
"bundleDependencies": false,
|
|
185
185
|
"dependencies": {
|
|
186
|
-
"@syncfusion/ej2-icons": "~26.2.
|
|
186
|
+
"@syncfusion/ej2-icons": "~26.2.10"
|
|
187
187
|
},
|
|
188
188
|
"deprecated": false,
|
|
189
189
|
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
|
|
@@ -224,6 +224,6 @@
|
|
|
224
224
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
225
225
|
},
|
|
226
226
|
"typings": "index.d.ts",
|
|
227
|
-
"version": "26.2.
|
|
227
|
+
"version": "26.2.10",
|
|
228
228
|
"sideEffects": true
|
|
229
229
|
}
|
|
@@ -58,6 +58,10 @@ export interface NumberFormatOptions {
|
|
|
58
58
|
* Specifies whether to use grouping or not in formatted value,
|
|
59
59
|
*/
|
|
60
60
|
useGrouping?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies whether to ignore currency symbol in formatted value,
|
|
63
|
+
*/
|
|
64
|
+
ignoreCurrency?: boolean;
|
|
61
65
|
/**
|
|
62
66
|
* Specifies the skeleton for perform formatting.
|
|
63
67
|
*/
|
package/src/intl/intl-base.d.ts
CHANGED
|
@@ -148,9 +148,10 @@ export declare namespace IntlBase {
|
|
|
148
148
|
* @param {Object} numericObject ?
|
|
149
149
|
* @param {string} currencyCode ?
|
|
150
150
|
* @param {string} altSymbol ?
|
|
151
|
+
* @param {string} ignoreCurrency ?
|
|
151
152
|
* @returns {string} ?
|
|
152
153
|
*/
|
|
153
|
-
function getCurrencySymbol(numericObject: Object, currencyCode: string, altSymbol?: string): string;
|
|
154
|
+
function getCurrencySymbol(numericObject: Object, currencyCode: string, altSymbol?: string, ignoreCurrency?: boolean): string;
|
|
154
155
|
/**
|
|
155
156
|
* Returns formatting options for custom number format
|
|
156
157
|
*
|
package/src/intl/intl-base.js
CHANGED
|
@@ -836,11 +836,12 @@ export var IntlBase;
|
|
|
836
836
|
* @param {Object} numericObject ?
|
|
837
837
|
* @param {string} currencyCode ?
|
|
838
838
|
* @param {string} altSymbol ?
|
|
839
|
+
* @param {string} ignoreCurrency ?
|
|
839
840
|
* @returns {string} ?
|
|
840
841
|
*/
|
|
841
|
-
function getCurrencySymbol(numericObject, currencyCode, altSymbol) {
|
|
842
|
+
function getCurrencySymbol(numericObject, currencyCode, altSymbol, ignoreCurrency) {
|
|
842
843
|
var symbol = altSymbol ? ('.' + altSymbol) : '.symbol';
|
|
843
|
-
var getCurrency = getValue('currencies.' + currencyCode + symbol, numericObject) ||
|
|
844
|
+
var getCurrency = ignoreCurrency ? '$' : getValue('currencies.' + currencyCode + symbol, numericObject) ||
|
|
844
845
|
getValue('currencies.' + currencyCode + '.symbol-alt-narrow', numericObject) || '$';
|
|
845
846
|
return getCurrency;
|
|
846
847
|
}
|
|
@@ -38,7 +38,7 @@ var NumberFormat = /** @class */ (function () {
|
|
|
38
38
|
var numObject = dependable.numericObject;
|
|
39
39
|
dOptions.numberMapper = isBlazor() ? extend({}, numObject) :
|
|
40
40
|
parser.getNumberMapper(dependable.parserObject, parser.getNumberingSystem(cldr), true);
|
|
41
|
-
dOptions.currencySymbol = isBlazor() ? getValue('currencySymbol', numObject) : base.getCurrencySymbol(dependable.numericObject, fOptions.currency || defaultCurrencyCode, option.altSymbol);
|
|
41
|
+
dOptions.currencySymbol = isBlazor() ? getValue('currencySymbol', numObject) : base.getCurrencySymbol(dependable.numericObject, fOptions.currency || defaultCurrencyCode, option.altSymbol, option.ignoreCurrency);
|
|
42
42
|
dOptions.percentSymbol = isBlazor() ? getValue('numberSymbols.percentSign', numObject) :
|
|
43
43
|
dOptions.numberMapper.numberSymbols["" + percentSign];
|
|
44
44
|
dOptions.minusSymbol = isBlazor() ? getValue('numberSymbols.minusSign', numObject) :
|
package/hotfix/26.1.35_Vol2.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
hotfix/26.1.35_Vol2
|