@infomaximum/widget-sdk 3.25.0-24.3.01-1 → 3.25.0-24.3.01-2
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 +1 -2
- package/dist/index.js +3 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1407,7 +1407,7 @@ declare const replaceFiltersBySelection: (filters: ICalculatorFilter[], selectio
|
|
|
1407
1407
|
* @param {P} [props] - Дополнительные параметры локализации.
|
|
1408
1408
|
* @returns {string} - Локализованный текст для указанного языка.
|
|
1409
1409
|
*/
|
|
1410
|
-
declare const getLocalizedText: <L extends TLocalizationDescription, P extends ILocalizationProps = TExtractLocalizationParams<L>>(language: ELanguages, locObj: L, props?: P) => string;
|
|
1410
|
+
declare const getLocalizedText: <L extends TLocalizationDescription, P extends ILocalizationProps = TExtractLocalizationParams<L>>(language: ELanguages, locObj: L, props?: P | undefined) => string;
|
|
1411
1411
|
|
|
1412
1412
|
type TDefineWidgetOptions = {
|
|
1413
1413
|
manifest?: Record<string, unknown>;
|
package/dist/index.esm.js
CHANGED
|
@@ -526,8 +526,7 @@ var escapeSpecialCharacters = function (formula) {
|
|
|
526
526
|
return formula
|
|
527
527
|
.replaceAll("\\", "\\\\")
|
|
528
528
|
.replaceAll('"', '\\"')
|
|
529
|
-
.replaceAll("`", "\\`")
|
|
530
|
-
.replaceAll("-", "\\-");
|
|
529
|
+
.replaceAll("`", "\\`");
|
|
531
530
|
};
|
|
532
531
|
|
|
533
532
|
function generateColumnFormula(tableName, columnName) {
|
package/dist/index.js
CHANGED
|
@@ -527,8 +527,7 @@ var escapeSpecialCharacters = function (formula) {
|
|
|
527
527
|
return formula
|
|
528
528
|
.replaceAll("\\", "\\\\")
|
|
529
529
|
.replaceAll('"', '\\"')
|
|
530
|
-
.replaceAll("`", "\\`")
|
|
531
|
-
.replaceAll("-", "\\-");
|
|
530
|
+
.replaceAll("`", "\\`");
|
|
532
531
|
};
|
|
533
532
|
|
|
534
533
|
function generateColumnFormula(tableName, columnName) {
|
|
@@ -1058,11 +1057,11 @@ var getLocalizedText = function (language, locObj, props) {
|
|
|
1058
1057
|
return localization.getLocalized(locObj, props);
|
|
1059
1058
|
};
|
|
1060
1059
|
|
|
1061
|
-
Object.defineProperty(exports,
|
|
1060
|
+
Object.defineProperty(exports, 'ELanguages', {
|
|
1062
1061
|
enumerable: true,
|
|
1063
1062
|
get: function () { return localization$1.ELanguages; }
|
|
1064
1063
|
});
|
|
1065
|
-
Object.defineProperty(exports,
|
|
1064
|
+
Object.defineProperty(exports, 'EFilteringMethodValues', {
|
|
1066
1065
|
enumerable: true,
|
|
1067
1066
|
get: function () { return baseFilter.EFilteringMethodValues; }
|
|
1068
1067
|
});
|