@infomaximum/widget-sdk 4.0.0-beta61 → 4.0.0-beta64
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/index.d.ts +1 -1
- package/dist/index.esm.js +5 -5
- package/dist/index.js +5 -5
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -498,7 +498,7 @@ interface IGlobalContext {
|
|
|
498
498
|
language: ELanguages;
|
|
499
499
|
processes: Map<string, IWidgetProcess>;
|
|
500
500
|
reportMeasures: TNullable<Map<string, ICommonMeasures>>;
|
|
501
|
-
workspaceMeasures: TNullable<Map<string, ICommonMeasures
|
|
501
|
+
workspaceMeasures: TNullable<Map<string, Map<string, ICommonMeasures>>>;
|
|
502
502
|
reportDimensions: TNullable<Map<string, ICommonDimensions>>;
|
|
503
503
|
workspaceDimensions: TNullable<Map<string, Map<string, ICommonDimensions>>>;
|
|
504
504
|
/** @deprecated удалить после окончания поддержки миграций BI-13650 */
|
package/dist/index.esm.js
CHANGED
|
@@ -722,6 +722,11 @@ function getTransitionMeasureFormula(_a, process) {
|
|
|
722
722
|
return "";
|
|
723
723
|
}
|
|
724
724
|
|
|
725
|
+
/** Удалить из строки символы экранирования */
|
|
726
|
+
function unescapeSpecialCharacters(str) {
|
|
727
|
+
return str.replace(/\\(?!\\)/g, "").replace(/\\\\/g, "\\");
|
|
728
|
+
}
|
|
729
|
+
|
|
725
730
|
/**
|
|
726
731
|
* Регулярное выражение для поиска имени ссылки внутри формулы.
|
|
727
732
|
* Учитывает, что имя внутри формулы содержит экраны.
|
|
@@ -1005,11 +1010,6 @@ function bindContentsWithIndicators(outputs, indicators) {
|
|
|
1005
1010
|
return compactMap(indicators, function (indicator) { return bindContentWithIndicator(outputs, indicator); });
|
|
1006
1011
|
}
|
|
1007
1012
|
|
|
1008
|
-
/** Удалить из строки символы экранирования */
|
|
1009
|
-
function unescapeSpecialCharacters(str) {
|
|
1010
|
-
return str.replace(/\\(?!\\)/g, "").replace(/\\\\/g, "\\");
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
1013
|
var EUnitMode;
|
|
1014
1014
|
(function (EUnitMode) {
|
|
1015
1015
|
EUnitMode["PIXEL"] = "PIXEL";
|
package/dist/index.js
CHANGED
|
@@ -723,6 +723,11 @@ function getTransitionMeasureFormula(_a, process) {
|
|
|
723
723
|
return "";
|
|
724
724
|
}
|
|
725
725
|
|
|
726
|
+
/** Удалить из строки символы экранирования */
|
|
727
|
+
function unescapeSpecialCharacters(str) {
|
|
728
|
+
return str.replace(/\\(?!\\)/g, "").replace(/\\\\/g, "\\");
|
|
729
|
+
}
|
|
730
|
+
|
|
726
731
|
/**
|
|
727
732
|
* Регулярное выражение для поиска имени ссылки внутри формулы.
|
|
728
733
|
* Учитывает, что имя внутри формулы содержит экраны.
|
|
@@ -1006,11 +1011,6 @@ function bindContentsWithIndicators(outputs, indicators) {
|
|
|
1006
1011
|
return compactMap(indicators, function (indicator) { return bindContentWithIndicator(outputs, indicator); });
|
|
1007
1012
|
}
|
|
1008
1013
|
|
|
1009
|
-
/** Удалить из строки символы экранирования */
|
|
1010
|
-
function unescapeSpecialCharacters(str) {
|
|
1011
|
-
return str.replace(/\\(?!\\)/g, "").replace(/\\\\/g, "\\");
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
1014
|
exports.EUnitMode = void 0;
|
|
1015
1015
|
(function (EUnitMode) {
|
|
1016
1016
|
EUnitMode["PIXEL"] = "PIXEL";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infomaximum/widget-sdk",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-beta64",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,12 +12,13 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rollup -c",
|
|
14
14
|
"lint": "tsc --noEmit",
|
|
15
|
-
"release": "
|
|
16
|
-
"format": "prettier --find-config-path --write 'src/**/*'"
|
|
15
|
+
"release": "npm run lint && standard-version && npm run build",
|
|
16
|
+
"format": "prettier --find-config-path --write 'src/**/*'",
|
|
17
|
+
"prepublishOnly": "npm run build"
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"@infomaximum/base-filter": "^1.1.0",
|
|
20
|
-
"@infomaximum/global-types": "^1.
|
|
21
|
+
"@infomaximum/global-types": "^1.3.0",
|
|
21
22
|
"@infomaximum/localization": "^1.0.4"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|