@syncfusion/ej2-base 24.2.7 → 25.1.35
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/CHANGELOG.md +0 -36
- 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 +121 -52
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +114 -43
- 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/e2e/protractor.config.js +58 -1
- package/package.json +59 -8
- package/src/ajax.js +0 -1
- package/src/animation.d.ts +6 -6
- package/src/animation.js +6 -6
- package/src/base.d.ts +2 -1
- package/src/base.js +9 -7
- package/src/component.d.ts +9 -3
- package/src/component.js +33 -2
- package/src/draggable.d.ts +2 -0
- package/src/draggable.js +26 -10
- package/src/event-handler.js +2 -1
- package/src/intl/date-parser.js +1 -0
- package/src/intl/intl-base.js +0 -8
- package/src/intl/number-formatter.d.ts +3 -0
- package/src/intl/number-formatter.js +7 -7
- package/src/intl/number-parser.js +1 -0
- package/src/module-loader.d.ts +12 -0
- package/src/module-loader.js +11 -0
- package/src/notify-property-change.js +3 -2
- package/src/observer.js +2 -0
- package/src/sanitize-helper.js +5 -0
- package/src/template-engine.js +1 -0
- package/src/template.js +3 -2
- package/src/validate-lic.d.ts +1 -1
- package/src/validate-lic.js +7 -5
- package/styles/_bds-dark-definition.scss +15 -0
- package/styles/_bds-definition.scss +15 -0
- package/styles/bootstrap-dark.css +10 -1
- package/styles/bootstrap.css +10 -1
- package/styles/bootstrap4.css +10 -1
- package/styles/bootstrap5-dark.css +10 -1
- package/styles/bootstrap5.css +10 -1
- package/styles/definition/_bds-dark.scss +1178 -0
- package/styles/definition/_bds.scss +1458 -0
- package/styles/fabric-dark.css +10 -1
- package/styles/fabric.css +10 -1
- package/styles/fluent-dark.css +10 -1
- package/styles/fluent.css +10 -1
- package/styles/highcontrast-light.css +10 -1
- package/styles/highcontrast.css +10 -1
- package/styles/material-dark.css +10 -1
- package/styles/material.css +10 -1
- package/styles/material3-dark.css +10 -1
- package/styles/material3.css +10 -1
- package/styles/offline-theme/material-dark.css +10 -1
- package/styles/offline-theme/material.css +10 -1
- package/styles/offline-theme/tailwind-dark.css +10 -1
- package/styles/offline-theme/tailwind.css +10 -1
- package/styles/tailwind-dark.css +10 -1
- package/styles/tailwind.css +10 -1
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -60
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -42
package/src/intl/intl-base.js
CHANGED
|
@@ -773,7 +773,6 @@ export var IntlBase;
|
|
|
773
773
|
var ret = {};
|
|
774
774
|
var pattern = matches[1].toUpperCase();
|
|
775
775
|
ret.isAccount = (pattern === 'A');
|
|
776
|
-
// eslint-disable-next-line
|
|
777
776
|
ret.type = IntlBase.patternMatcher[pattern];
|
|
778
777
|
if (skeleton.length > 1) {
|
|
779
778
|
ret.fractionDigits = parseInt(matches[2], 10);
|
|
@@ -861,7 +860,6 @@ export var IntlBase;
|
|
|
861
860
|
var formatSplit = format.split(';');
|
|
862
861
|
var data = ['pData', 'nData', 'zeroData'];
|
|
863
862
|
for (var i = 0; i < formatSplit.length; i++) {
|
|
864
|
-
// eslint-disable-next-line
|
|
865
863
|
options[data[i]] = customNumberFormat(formatSplit[i], dOptions, obj);
|
|
866
864
|
}
|
|
867
865
|
if (isNullOrUndefined(options.nData)) {
|
|
@@ -921,7 +919,6 @@ export var IntlBase;
|
|
|
921
919
|
if (!isNullOrUndefined(numObject)) {
|
|
922
920
|
var symbolPattern = getSymbolPattern(cOptions.type, dOptions.numberMapper.numberSystem, numObject, false);
|
|
923
921
|
if (cOptions.useGrouping) {
|
|
924
|
-
// eslint-disable-next-line
|
|
925
922
|
cOptions.groupSeparator = spaceGrouping ? ' ' : dOptions.numberMapper.numberSymbols[mapper[2]];
|
|
926
923
|
cOptions.groupData = NumberFormat.getGroupingDetails(symbolPattern.split(';')[0]);
|
|
927
924
|
}
|
|
@@ -946,9 +943,7 @@ export var IntlBase;
|
|
|
946
943
|
var part = parts[parseInt(i.toString(), 10)];
|
|
947
944
|
var loc = part.indexOf(actual);
|
|
948
945
|
if ((loc !== -1) && ((loc < part.indexOf('\'')) || (loc > part.lastIndexOf('\'')))) {
|
|
949
|
-
// eslint-disable-next-line
|
|
950
946
|
options[typeMapper[i]] = part.substr(0, loc) + symbol + part.substr(loc + 1);
|
|
951
|
-
// eslint-disable-next-line
|
|
952
947
|
options[typeMapper[actual]] = true;
|
|
953
948
|
options.type = options.isCurrency ? 'currency' : 'percent';
|
|
954
949
|
break;
|
|
@@ -987,7 +982,6 @@ export var IntlBase;
|
|
|
987
982
|
var actualPattern = options.format || getResultantPattern(options.skeleton, dependable.dateObject, options.type);
|
|
988
983
|
if (isExcelFormat) {
|
|
989
984
|
actualPattern = actualPattern.replace(patternRegex, function (pattern) {
|
|
990
|
-
// eslint-disable-next-line
|
|
991
985
|
return patternMatch[pattern];
|
|
992
986
|
});
|
|
993
987
|
if (actualPattern.indexOf('z') !== -1) {
|
|
@@ -1020,10 +1014,8 @@ export var IntlBase;
|
|
|
1020
1014
|
* @param {any} option ?
|
|
1021
1015
|
* @returns {any} ?
|
|
1022
1016
|
*/
|
|
1023
|
-
// eslint-disable-next-line
|
|
1024
1017
|
function processSymbol(actual, option) {
|
|
1025
1018
|
if (actual.indexOf(',') !== -1) {
|
|
1026
|
-
// eslint-disable-next-line
|
|
1027
1019
|
var split = actual.split(',');
|
|
1028
1020
|
actual = (split[0] + getValue('numberMapper.numberSymbols.group', option) +
|
|
1029
1021
|
split[1].replace('.', getValue('numberMapper.numberSymbols.decimal', option)));
|
|
@@ -78,6 +78,7 @@ export declare class NumberFormat {
|
|
|
78
78
|
* @param {number} value ?
|
|
79
79
|
* @param {base.GenericFormatOptions} fOptions ?
|
|
80
80
|
* @param {CommonOptions} dOptions ?
|
|
81
|
+
* @param {NumberFormatOptions} [option] ?
|
|
81
82
|
* @returns {string} ?
|
|
82
83
|
*/
|
|
83
84
|
private static intNumberFormatter;
|
|
@@ -107,6 +108,7 @@ export declare class NumberFormat {
|
|
|
107
108
|
* @param {number} value ?
|
|
108
109
|
* @param {number} min ?
|
|
109
110
|
* @param {number} max ?
|
|
111
|
+
* @param {NumberFormatOptions} [option] ?
|
|
110
112
|
* @returns {string} ?
|
|
111
113
|
*/
|
|
112
114
|
private static processFraction;
|
|
@@ -122,6 +124,7 @@ export declare class NumberFormat {
|
|
|
122
124
|
* Returns custom format for pivot table
|
|
123
125
|
*
|
|
124
126
|
* @param {number} value ?
|
|
127
|
+
* @returns {string} ?
|
|
125
128
|
*/
|
|
126
129
|
private static customPivotFormat;
|
|
127
130
|
}
|
|
@@ -8,13 +8,9 @@ var errorText = {
|
|
|
8
8
|
'mf': 'minimumFractionDigits',
|
|
9
9
|
'lf': 'maximumFractionDigits'
|
|
10
10
|
};
|
|
11
|
-
var integerError = 'minimumIntegerDigits';
|
|
12
11
|
var percentSign = 'percentSign';
|
|
13
12
|
var minusSign = 'minusSign';
|
|
14
|
-
var spaceRegex = /\s/;
|
|
15
13
|
var mapper = ['infinity', 'nan', 'group', 'decimal', 'exponential'];
|
|
16
|
-
var infinity = 'infinity';
|
|
17
|
-
var nan = 'nan';
|
|
18
14
|
/**
|
|
19
15
|
* Module for number formatting.
|
|
20
16
|
*
|
|
@@ -192,6 +188,7 @@ var NumberFormat = /** @class */ (function () {
|
|
|
192
188
|
* @param {number} value ?
|
|
193
189
|
* @param {base.GenericFormatOptions} fOptions ?
|
|
194
190
|
* @param {CommonOptions} dOptions ?
|
|
191
|
+
* @param {NumberFormatOptions} [option] ?
|
|
195
192
|
* @returns {string} ?
|
|
196
193
|
*/
|
|
197
194
|
NumberFormat.intNumberFormatter = function (value, fOptions, dOptions, option) {
|
|
@@ -243,7 +240,7 @@ var NumberFormat = /** @class */ (function () {
|
|
|
243
240
|
fValue = fValue.replace('e', dOptions.numberMapper.numberSymbols[mapper[4]]);
|
|
244
241
|
}
|
|
245
242
|
fValue = fValue.replace('.', dOptions.numberMapper.numberSymbols[mapper[3]]);
|
|
246
|
-
fValue = curData.format ===
|
|
243
|
+
fValue = curData.format === '#,###,,;(#,###,,)' ? this.customPivotFormat(parseInt(fValue, 10)) : fValue;
|
|
247
244
|
if (curData.useGrouping) {
|
|
248
245
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
249
246
|
fValue = this.groupNumbers(fValue, curData.groupData.primary, curData.groupSeparator || ',', dOptions.numberMapper.numberSymbols[mapper[3]] || '.', curData.groupData.secondary);
|
|
@@ -315,6 +312,7 @@ var NumberFormat = /** @class */ (function () {
|
|
|
315
312
|
* @param {number} value ?
|
|
316
313
|
* @param {number} min ?
|
|
317
314
|
* @param {number} max ?
|
|
315
|
+
* @param {NumberFormatOptions} [option] ?
|
|
318
316
|
* @returns {string} ?
|
|
319
317
|
*/
|
|
320
318
|
NumberFormat.processFraction = function (value, min, max, option) {
|
|
@@ -366,16 +364,18 @@ var NumberFormat = /** @class */ (function () {
|
|
|
366
364
|
* Returns custom format for pivot table
|
|
367
365
|
*
|
|
368
366
|
* @param {number} value ?
|
|
367
|
+
* @returns {string} ?
|
|
369
368
|
*/
|
|
370
369
|
NumberFormat.customPivotFormat = function (value) {
|
|
371
370
|
if (value >= 500000) {
|
|
372
371
|
value /= 1000000;
|
|
373
|
-
|
|
372
|
+
// eslint-disable-next-line
|
|
373
|
+
var _a = value.toString().split('.'), integer = _a[0], decimal = _a[1];
|
|
374
374
|
return decimal && +decimal.substring(0, 1) >= 5
|
|
375
375
|
? Math.ceil(value).toString()
|
|
376
376
|
: Math.floor(value).toString();
|
|
377
377
|
}
|
|
378
|
-
return
|
|
378
|
+
return '';
|
|
379
379
|
};
|
|
380
380
|
return NumberFormat;
|
|
381
381
|
}());
|
|
@@ -2,6 +2,7 @@ import { extend, isNullOrUndefined, isBlazor, getValue } from '../util';
|
|
|
2
2
|
import { ParserBase as parser } from './parser-base';
|
|
3
3
|
import { IntlBase as base } from './intl-base';
|
|
4
4
|
var regExp = RegExp;
|
|
5
|
+
// eslint-disable-next-line
|
|
5
6
|
var parseRegex = new regExp('^([^0-9]*)' + '(([0-9,]*[0-9]+)(\.[0-9]+)?)' + '([Ee][+-]?[0-9]+)?([^0-9]*)$');
|
|
6
7
|
var groupRegex = /,/g;
|
|
7
8
|
var keys = ['minusSign', 'infinity'];
|
package/src/module-loader.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export interface ModuleDeclaration {
|
|
|
10
10
|
* Specifies the member for module declaration.
|
|
11
11
|
*/
|
|
12
12
|
member: string;
|
|
13
|
+
/**
|
|
14
|
+
* Specifies the name for module declaration.
|
|
15
|
+
*/
|
|
16
|
+
name?: string;
|
|
13
17
|
/**
|
|
14
18
|
* Specifies whether it is a property or not.
|
|
15
19
|
*/
|
|
@@ -36,6 +40,14 @@ export declare class ModuleLoader {
|
|
|
36
40
|
* @returns {void}
|
|
37
41
|
*/
|
|
38
42
|
clean(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the array of modules that are not loaded in the component library.
|
|
45
|
+
*
|
|
46
|
+
* @param {ModuleDeclaration[]} requiredModules - Array of modules to be required
|
|
47
|
+
* @returns {ModuleDeclaration[]} ?
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
getNonInjectedModules(requiredModules: ModuleDeclaration[]): ModuleDeclaration[];
|
|
39
51
|
/**
|
|
40
52
|
* Removes all unused modules
|
|
41
53
|
*
|
package/src/module-loader.js
CHANGED
|
@@ -59,6 +59,17 @@ var ModuleLoader = /** @class */ (function () {
|
|
|
59
59
|
}
|
|
60
60
|
this.loadedModules = [];
|
|
61
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* Returns the array of modules that are not loaded in the component library.
|
|
64
|
+
*
|
|
65
|
+
* @param {ModuleDeclaration[]} requiredModules - Array of modules to be required
|
|
66
|
+
* @returns {ModuleDeclaration[]} ?
|
|
67
|
+
* @private
|
|
68
|
+
*/
|
|
69
|
+
ModuleLoader.prototype.getNonInjectedModules = function (requiredModules) {
|
|
70
|
+
var _this = this;
|
|
71
|
+
return requiredModules.filter(function (module) { return !_this.isModuleLoaded(module.member); });
|
|
72
|
+
};
|
|
62
73
|
/**
|
|
63
74
|
* Removes all unused modules
|
|
64
75
|
*
|
|
@@ -244,8 +244,9 @@ function complexArrayDefinedCallback(dFunc, curKey, type, prop) {
|
|
|
244
244
|
switch (dFunc) {
|
|
245
245
|
case 'push':
|
|
246
246
|
for (var i = 0; i < newValue.length; i++) {
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
var newValueParse = newValue[parseInt(i.toString(), 10)];
|
|
248
|
+
Array.prototype["" + dFunc].apply(prop, [newValueParse]);
|
|
249
|
+
var model_1 = getArrayModel(keyString + (prop.length - 1), newValueParse, !this.controlParent, dFunc);
|
|
249
250
|
this.serverDataBind(model_1, newValue[parseInt(i.toString(), 10)], false, dFunc);
|
|
250
251
|
}
|
|
251
252
|
break;
|
package/src/observer.js
CHANGED
|
@@ -170,9 +170,11 @@ var Observer = /** @class */ (function () {
|
|
|
170
170
|
* @returns {void} ?
|
|
171
171
|
*/
|
|
172
172
|
Observer.prototype.offIntlEvents = function () {
|
|
173
|
+
// eslint-disable-next-line
|
|
173
174
|
var eventsArr = this.boundedEvents['notifyExternalChange'];
|
|
174
175
|
if (eventsArr) {
|
|
175
176
|
for (var i = 0; i < eventsArr.length; i++) {
|
|
177
|
+
// eslint-disable-next-line
|
|
176
178
|
var curContext = eventsArr["" + i].context;
|
|
177
179
|
if (curContext && curContext.detectFunction && curContext.randomId && !curContext.isRendered) {
|
|
178
180
|
this.off('notifyExternalChange', curContext.detectFunction, curContext.randomId);
|
package/src/sanitize-helper.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* SanitizeHtmlHelper for sanitize the value.
|
|
3
3
|
*/
|
|
4
4
|
import { detach } from './dom';
|
|
5
|
+
import { isNullOrUndefined } from './util';
|
|
5
6
|
var removeTags = [
|
|
6
7
|
'script',
|
|
7
8
|
'style',
|
|
@@ -120,6 +121,9 @@ var SanitizeHtmlHelper = /** @class */ (function () {
|
|
|
120
121
|
};
|
|
121
122
|
};
|
|
122
123
|
SanitizeHtmlHelper.sanitize = function (value) {
|
|
124
|
+
if (isNullOrUndefined(value)) {
|
|
125
|
+
return value;
|
|
126
|
+
}
|
|
123
127
|
var item = this.beforeSanitize();
|
|
124
128
|
var output = this.serializeValue(item, value);
|
|
125
129
|
return output;
|
|
@@ -134,6 +138,7 @@ var SanitizeHtmlHelper = /** @class */ (function () {
|
|
|
134
138
|
this.removeXssAttrs();
|
|
135
139
|
var tempEleValue = this.wrapElement.innerHTML;
|
|
136
140
|
this.removeElement();
|
|
141
|
+
this.wrapElement = null;
|
|
137
142
|
return tempEleValue.replace(/&/g, '&');
|
|
138
143
|
};
|
|
139
144
|
SanitizeHtmlHelper.removeElement = function () {
|
package/src/template-engine.js
CHANGED
package/src/template.js
CHANGED
|
@@ -65,9 +65,10 @@ export function compile(template, helper, ignorePrefix) {
|
|
|
65
65
|
else {
|
|
66
66
|
var argName = 'data';
|
|
67
67
|
var evalExpResult = evalExp(template, argName, helper, ignorePrefix);
|
|
68
|
-
|
|
68
|
+
/* eslint-disable */
|
|
69
69
|
var condtion = "var valueRegEx = (/value=\\'([A-Za-z0-9 _]*)((.)([\\w)(!-;?-\u25A0\\s]+)['])/g);\n var hrefRegex = (/(?:href)([\\s='\"./]+)([\\w-./?=&\\\\#\"]+)((.)([\\w)(!-;/?-\u25A0\\s]+)['])/g);\n if(str.match(valueRegEx)){\n var check = str.match(valueRegEx);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(valueRegEx)[i].split('value=')[1];\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n str = str.replace(str, str1);\n }\n else if (str.match(/(?:href='')/) === null) {\n if(str.match(hrefRegex)) {\n var check = str.match(hrefRegex);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(hrefRegex)[i].split('href=')[1];\n if (check1) {\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n }\n str = str.replace(str, str1);\n }\n }\n ";
|
|
70
70
|
var fnCode = 'var str=\"' + evalExpResult + '\";' + condtion + ' return str;';
|
|
71
|
+
/* eslint-enable */
|
|
71
72
|
var fn = new Function(argName, fnCode);
|
|
72
73
|
return fn.bind(helper);
|
|
73
74
|
}
|
|
@@ -214,7 +215,7 @@ function evalExp(str, nameSpace, helper, ignorePrefix) {
|
|
|
214
215
|
* @returns {string} ?
|
|
215
216
|
*/
|
|
216
217
|
function addNameSpace(str, addNS, nameSpace, ignoreList, ignorePrefix) {
|
|
217
|
-
return ((addNS && !(NOT_NUMBER.test(str)) && ignoreList.indexOf(str.split('.')[0]) === -1 && !ignorePrefix && str !==
|
|
218
|
+
return ((addNS && !(NOT_NUMBER.test(str)) && ignoreList.indexOf(str.split('.')[0]) === -1 && !ignorePrefix && str !== 'true' && str !== 'false') ? nameSpace + '.' + str : str);
|
|
218
219
|
}
|
|
219
220
|
/**
|
|
220
221
|
*
|
package/src/validate-lic.d.ts
CHANGED
package/src/validate-lic.js
CHANGED
|
@@ -14,7 +14,7 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
14
14
|
function LicenseValidator(key) {
|
|
15
15
|
this.isValidated = false;
|
|
16
16
|
this.isLicensed = true;
|
|
17
|
-
this.version = '
|
|
17
|
+
this.version = '25';
|
|
18
18
|
this.platform = /JavaScript|ASPNET|ASPNETCORE|ASPNETMVC|FileFormats|essentialstudio/i;
|
|
19
19
|
this.errors = {
|
|
20
20
|
noLicense: '<span>This application was built using a trial version of Syncfusion Essential Studio.' +
|
|
@@ -67,7 +67,9 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* To validate the provided license key.
|
|
70
|
-
|
|
70
|
+
*
|
|
71
|
+
* @returns {boolean} ?
|
|
72
|
+
*/
|
|
71
73
|
LicenseValidator.prototype.validate = function () {
|
|
72
74
|
var contentKey = [115, 121, 110, 99, 102, 117, 115, 105, 111, 110, 46,
|
|
73
75
|
108, 105, 99, 101, 110, 115, 101, 67, 111, 110, 116, 101, 110, 116];
|
|
@@ -116,7 +118,7 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
120
|
if (validateMsg && typeof document !== 'undefined' && !isNullOrUndefined(document)) {
|
|
119
|
-
accountURL = (validateURL && validateURL !== '') ? validateURL :
|
|
121
|
+
accountURL = (validateURL && validateURL !== '') ? validateURL : 'https://www.syncfusion.com/account/claim-license-key?pl=SmF2YVNjcmlwdA==&vs=MjU=&utm_source=es_license_validation_banner&utm_medium=listing&utm_campaign=license-information';
|
|
120
122
|
var errorDiv = createElement('div', {
|
|
121
123
|
innerHTML: "<img src='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE5OV80KSI+CjxwYXRoIGQ9Ik0xMiAyMUMxNi45NzA2IDIxIDIxIDE2Ljk3MDYgMjEgMTJDMjEgNy4wMjk0NCAxNi45NzA2IDMgMTIgM0M3LjAyOTQ0IDMgMyA3LjAyOTQ0IDMgMTJDMyAxNi45NzA2IDcuMDI5NDQgMjEgMTIgMjFaIiBzdHJva2U9IiM3MzczNzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMS4yNSAxMS4yNUgxMlYxNi41SDEyLjc1IiBmaWxsPSIjNjE2MDYzIi8+CjxwYXRoIGQ9Ik0xMS4yNSAxMS4yNUgxMlYxNi41SDEyLjc1IiBzdHJva2U9IiM3MzczNzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMS44MTI1IDlDMTIuNDMzOCA5IDEyLjkzNzUgOC40OTYzMiAxMi45Mzc1IDcuODc1QzEyLjkzNzUgNy4yNTM2OCAxMi40MzM4IDYuNzUgMTEuODEyNSA2Ljc1QzExLjE5MTIgNi43NSAxMC42ODc1IDcuMjUzNjggMTAuNjg3NSA3Ljg3NUMxMC42ODc1IDguNDk2MzIgMTEuMTkxMiA5IDExLjgxMjUgOVoiIGZpbGw9IiM3MzczNzMiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xOTlfNCI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K' style=\"top: 6px;\n position: absolute;\n left: 16px;\n width: 24px;\n height: 24px;\"/>" + validateMsg + ' ' + '<a style="text-decoration: none;color: #0D6EFD;font-weight: 500;" href=' + accountURL + '>Claim your free account</a>'
|
|
122
124
|
});
|
|
@@ -181,7 +183,7 @@ var LicenseValidator = /** @class */ (function () {
|
|
|
181
183
|
var charKey = decodeStr[decodeStr.length - 1];
|
|
182
184
|
var decryptedKey = [];
|
|
183
185
|
for (var i = 0; i < decodeStr.length; i++) {
|
|
184
|
-
decryptedKey[
|
|
186
|
+
decryptedKey["" + i] = decodeStr["" + i].charCodeAt(0) - charKey.charCodeAt(0);
|
|
185
187
|
}
|
|
186
188
|
for (var i = 0; i < decryptedKey.length; i++) {
|
|
187
189
|
buffr += String.fromCharCode(decryptedKey[parseInt(i.toString(), 10)]);
|
|
@@ -219,7 +221,7 @@ var licenseValidator = new LicenseValidator();
|
|
|
219
221
|
* Converts the given number to characters.
|
|
220
222
|
*
|
|
221
223
|
* @param {number} cArr - Specifies the license key as number.
|
|
222
|
-
* @returns {string}
|
|
224
|
+
* @returns {string} ?
|
|
223
225
|
*/
|
|
224
226
|
function convertToChar(cArr) {
|
|
225
227
|
var ret = '';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@import 'definition/bds-dark.scss';
|
|
2
|
+
|
|
3
|
+
@if not variable-exists('is-inter-loaded') {
|
|
4
|
+
//sass-lint:disable no-url-protocols,no-url-domains
|
|
5
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');// stylelint-disable-line no-invalid-position-at-import-rule
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
$font-family: 'Inter' !default;
|
|
9
|
+
$font-size: 12px !default;
|
|
10
|
+
$font-weight: normal !default;
|
|
11
|
+
$error-font-color: $danger !default;
|
|
12
|
+
$overlay-bg-color: rgba($cool-gray-500, .75) !default;
|
|
13
|
+
$warning-font-color: $orange-700 !default;
|
|
14
|
+
$success-font-color: $green-700 !default;
|
|
15
|
+
$information-font-color: $cyan-700 !default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@import 'definition/bds.scss';
|
|
2
|
+
|
|
3
|
+
@if not variable-exists('is-inter-loaded') {
|
|
4
|
+
//sass-lint:disable no-url-protocols,no-url-domains
|
|
5
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');// stylelint-disable-line no-invalid-position-at-import-rule
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
$font-family: 'Inter' !default;
|
|
9
|
+
$font-size: 12px !default;
|
|
10
|
+
$font-weight: normal !default;
|
|
11
|
+
$error-font-color: $danger !default;
|
|
12
|
+
$overlay-bg-color: rgba($cool-gray-500, .75) !default;
|
|
13
|
+
$warning-font-color: $orange-700 !default;
|
|
14
|
+
$success-font-color: $green-700 !default;
|
|
15
|
+
$information-font-color: $cyan-700 !default;
|