@infomaximum/widget-sdk 5.18.0 → 5.20.0

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 CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [5.20.0](https://github.com/Infomaximum/widget-sdk/compare/v5.19.0...v5.20.0) (2025-05-22)
6
+
7
+
8
+ ### Features
9
+
10
+ * в EViewOpenIn CURRENT_WINDOW и NEW_WINDOW отмечены как deprecated и добавлен WINDOW ([91db750](https://github.com/Infomaximum/widget-sdk/commit/91db750f3c16bbb7132fce2f24fa70abecdbdb09))
11
+ * добавлена возможность показывать каретку в кнопке опций контекстного меню ([ae2ca8d](https://github.com/Infomaximum/widget-sdk/commit/ae2ca8d0470a2d555f6a4c91d09d7864ade08a5a))
12
+ * добавлены типы для действий образа ([5d5942c](https://github.com/Infomaximum/widget-sdk/commit/5d5942c78f682668e5420e151da54c9b3ddac66a))
13
+
14
+ ## [5.19.0](https://github.com/Infomaximum/widget-sdk/compare/v5.18.0...v5.19.0) (2025-05-19)
15
+
16
+
17
+ ### Features
18
+
19
+ * добавлено поле dbDataType в настройки способов ввода ([58e9f49](https://github.com/Infomaximum/widget-sdk/commit/58e9f4994bf31c99eefe077935deb9482e68aa22))
20
+
5
21
  ## [5.18.0](https://github.com/Infomaximum/widget-sdk/compare/v5.18.0-0...v5.18.0) (2025-04-30)
6
22
 
7
23
  ## [5.18.0-0](https://github.com/Infomaximum/widget-sdk/compare/v5.17.0...v5.18.0-0) (2025-04-30)
package/dist/index.d.ts CHANGED
@@ -945,11 +945,14 @@ declare enum EViewMode {
945
945
  EMPTY = "EMPTY"
946
946
  }
947
947
  declare enum EViewOpenIn {
948
- NEW_WINDOW = "NEW_WINDOW",
949
- CURRENT_WINDOW = "CURRENT_WINDOW",
948
+ WINDOW = "WINDOW",
950
949
  PLACEHOLDER = "PLACEHOLDER",
951
950
  MODAL_WINDOW = "MODAL_WINDOW",
952
- DRAWER_WINDOW = "DRAWER_WINDOW"
951
+ DRAWER_WINDOW = "DRAWER_WINDOW",
952
+ /** @deprecated необходимо использовать EViewOpenIn.WINDOW с флагом newWindow - true */
953
+ NEW_WINDOW = "NEW_WINDOW",
954
+ /** @deprecated необходимо использовать EViewOpenIn.WINDOW с флагом newWindow - false */
955
+ CURRENT_WINDOW = "CURRENT_WINDOW"
953
956
  }
954
957
  declare enum EDrawerPlacement {
955
958
  LEFT = "LEFT",
@@ -968,6 +971,7 @@ interface IParameterFromColumn {
968
971
  inputMethod: EWidgetActionInputMethod.COLUMN;
969
972
  tableName: string;
970
973
  columnName: string;
974
+ dbDataType?: string;
971
975
  }
972
976
  interface IParameterFromVariable {
973
977
  inputMethod: EWidgetActionInputMethod.VARIABLE;
@@ -977,11 +981,13 @@ interface IParameterFromFormula {
977
981
  inputMethod: EWidgetActionInputMethod.FORMULA;
978
982
  formula: string;
979
983
  considerFilters: boolean;
984
+ dbDataType?: string;
980
985
  }
981
986
  interface IParameterFromAggregation {
982
987
  inputMethod: EWidgetActionInputMethod.AGGREGATION;
983
988
  formula: string;
984
989
  considerFilters: boolean;
990
+ dbDataType?: string;
985
991
  }
986
992
  interface IParameterFromEvent {
987
993
  inputMethod: EWidgetActionInputMethod.EVENT;
@@ -996,6 +1002,7 @@ interface IParameterFromManualInput {
996
1002
  inputMethod: EWidgetActionInputMethod.MANUALLY;
997
1003
  description: string;
998
1004
  defaultValue?: string;
1005
+ dbDataType?: string;
999
1006
  filterByRows?: boolean;
1000
1007
  }
1001
1008
  interface IParameterFromStaticList {
@@ -1007,6 +1014,7 @@ interface IParameterFromDynamicList {
1007
1014
  inputMethod: EWidgetActionInputMethod.DYNAMIC_LIST;
1008
1015
  options: string;
1009
1016
  defaultValue: string;
1017
+ dbDataType?: string;
1010
1018
  displayOptions: string;
1011
1019
  filters: TExtendedFormulaFilterValue[];
1012
1020
  filterByRows?: boolean;
@@ -1056,15 +1064,24 @@ interface IActionUpdateVariable extends IActionCommon {
1056
1064
  type TActionOpenIn = {
1057
1065
  openIn: EViewOpenIn.DRAWER_WINDOW;
1058
1066
  alignment: EDrawerPlacement;
1067
+ actinButtons: boolean;
1059
1068
  } | {
1060
1069
  openIn: EViewOpenIn.PLACEHOLDER;
1061
1070
  placeholderName: string;
1062
- } | {
1071
+ }
1072
+ /** @deprecated необходимо использовать EViewOpenIn.WINDOW с флагом newWindow - true */
1073
+ | {
1063
1074
  openIn: EViewOpenIn.NEW_WINDOW;
1064
1075
  } | {
1065
1076
  openIn: EViewOpenIn.MODAL_WINDOW;
1066
- } | {
1077
+ actinButtons: boolean;
1078
+ }
1079
+ /** @deprecated необходимо использовать EViewOpenIn.WINDOW с флагом newWindow - false */
1080
+ | {
1067
1081
  openIn: EViewOpenIn.CURRENT_WINDOW;
1082
+ } | {
1083
+ openIn: EViewOpenIn.WINDOW;
1084
+ newWindow: boolean;
1068
1085
  };
1069
1086
  type TActionOpenView = IActionCommon & {
1070
1087
  type: EActionTypes.OPEN_VIEW;
@@ -1107,7 +1124,18 @@ interface IWidgetAction extends IActionCommon {
1107
1124
  borderColor?: TColor;
1108
1125
  color: TColor;
1109
1126
  }
1110
- type TAction = TActionsOnClick | IWidgetAction;
1127
+ type TViewActionParameter = (IParameterFromAggregation | IParameterFromVariable) & {
1128
+ name: string;
1129
+ };
1130
+ interface IViewAction {
1131
+ name: string;
1132
+ buttonType: EActionButtonsTypes;
1133
+ type: EActionTypes.EXECUTE_SCRIPT;
1134
+ parameters: TViewActionParameter[];
1135
+ scriptKey: string;
1136
+ id?: number;
1137
+ }
1138
+ type TAction = TActionsOnClick | IWidgetAction | IViewAction;
1111
1139
  type TActionValidator = (action: TAction) => boolean;
1112
1140
  declare enum EActionButtonsTypes {
1113
1141
  LINK = "link",
@@ -2418,6 +2446,7 @@ type TContextMenuButtonOptions = {
2418
2446
  type: "options";
2419
2447
  icon: string;
2420
2448
  items: TContextMenuRow[];
2449
+ showCaret?: boolean;
2421
2450
  };
2422
2451
 
2423
2452
  /** Контекст с данными образа (будет заполняться по мере необходимости) */
@@ -2653,4 +2682,4 @@ declare global {
2653
2682
  }
2654
2683
  }
2655
2684
 
2656
- export { EActionButtonsTypes, EActionTypes, EAutoUpdateMode, EBlockingConditionMode, ECalculatorFilterMethods, EClickHouseBaseTypes, EColorMode, EControlType, ECustomSelectTemplates, EDataModelOption, EDimensionAggregationTemplateName, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationTemplateName, EDurationUnit, EEventAppearances, EEventMeasureTemplateNames, EFontWeight, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureAggregationTemplateName, EMeasureTemplateNames, EOuterAggregation, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESimpleInputType, ESortDirection, ESortingValueModes, ESystemRecordKey, ETransitionMeasureTemplateNames, EUnitMode, EViewMode, EViewOpenIn, EWidgetActionInputMethod, EWidgetFilterMode, EWidgetIndicatorType, EWidgetIndicatorValueModes, type IActionGoToUrl, type IActionOnClickControl, type IActionRunScript, type IActionScript, type IActionUpdateVariable, type IAddButtonSelectOption, type IAddDurationOfTransitionFilter, type IAddPresenceOfEventFilter, type IAddPresenceOfTransitionFilter, type IAddRepetitionOfEventFilter, type IAutoIdentifiedArrayItem, type IBaseDimensionsAndMeasuresCalculator, type IBaseDimensionsAndMeasuresCalculatorInput, type IBaseDimensionsAndMeasuresCalculatorOutput, type IBaseWidgetSettings, type ICalculator, type ICalculatorDimensionInput, type ICalculatorDimensionOutput, type ICalculatorFactory, type ICalculatorFilter, type ICalculatorIndicatorInput, type ICalculatorIndicatorOutput, type ICalculatorMeasureInput, type ICalculatorMeasureOutput, type ICollapseRecord, type IColorPickerControl, type IColoredValue, type ICommonDimensions, type ICommonMeasures, type ICommonState, type IControlRecord, type ICustomAddButtonProps, type ICustomWidgetProps, type IDefinition, type IDimensionSelection, type IDimensionSelectionByFormula, type IDisplayConditionControl, type IDisplayPredicate, type IDisplayRule, type IDivePanelDescription, type IDividerRecord, type IEdge, type IEventsColorControl, type IEventsPickerControl, type IExportColumnOrder, type IFillSettings, type IFilterControl, type IFormattingControl, type IFormattingTemplateControl, type IFormulaControl, type IFormulaFilterValue, type IGeneralCalculator, type IGeneralCalculatorExportInput, type IGeneralCalculatorInput, type IGeneralCalculatorOutput, type IGlobalContext, type IGraphElement, type IGroupSetDescription, type IGroupSetRecord, type IGroupSettings, type IHistogramBin, type IHistogramCalculator, type IHistogramCalculatorInput, type IHistogramCalculatorOutput, type IIndicatorLink, type IInitialSettings, type IInputControl, type IInputMarkdownControl, type IInputNumberControl, type IInputRangeControl, type ILens, type IMarkdownMeasure, type IMeasureAddButtonProps, type IPanelDescription, type IPanelDescriptionCreator, type IParameterColumnList, type IParameterFromAggregation, type IParameterFromColumn, type IParameterFromDynamicList, type IParameterFromEndEvent, type IParameterFromEvent, type IParameterFromFormula, type IParameterFromManualInput, type IParameterFromStartEvent, type IParameterFromStaticList, type IParameterFromVariable, type IParameterTableList, type IPieCalculator, type IPieCalculatorInput, type IPieCalculatorOutput, type IProcessEventFilterValue, type IProcessEventIndicator, type IProcessFilterPreviewParams, type IProcessGraphCalculator, type IProcessGraphCalculatorInput, type IProcessGraphCalculatorOutput, type IProcessIndicator, type IProcessTransitionFilterValue, type IProcessTransitionIndicator, type IRadioIconGroupControl, type IRange, type ISelectBranchOption, type ISelectControl, type ISelectDividerOption, type ISelectGroupOption, type ISelectLeafOption, type ISelectNode, type ISelectOption, type ISelectSystemOption, type ISettingsMigratorParams, type ISizeControl, type ISortOrder, type ISortingAddButtonProps, type IStagesFilterValue, type IStaticListLabeledOption, type ISwitchControl, type ITagSetControl, type ITwoLimitsCalculator, type ITwoLimitsCalculatorExportInput, type ITwoLimitsCalculatorInput, type ITwoLimitsCalculatorOutput, type ITypeCalculator, type ITypeCalculatorInput, type ITypeCalculatorOutput, type ITypeCalculatorOutputItem, type ITypedFormulaControl, type IVertex, type IViewContext, type IWidget, type IWidgetAction, type IWidgetColumnIndicator, type IWidgetColumnListVariable, type IWidgetDimension, type IWidgetDimensionHierarchy, type IWidgetDynamicListVariable, type IWidgetEntity, type IWidgetFilter, type IWidgetFiltration, type IWidgetFormatting, type IWidgetIndicator, type IWidgetIndicatorAddButtonProps, type IWidgetManifest, type IWidgetMeasure, type IWidgetMigrator, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetPresetSettings, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetStaticListVariable, type IWidgetStaticVariable, type IWidgetStruct, type IWidgetTable, type IWidgetTableColumn, OuterAggregation, type TAction, type TActionOnClickParameter, type TActionOpenView, type TActionValidator, type TActionsOnClick, type TAddButton, type TBoundedContentWithIndicator, type TColor, type TColorBase, type TColorRule, type TColumnIndicatorValue, type TContextMenu, type TContextMenuButton, type TContextMenuButtonActions, type TContextMenuButtonApply, type TContextMenuButtonClose, type TContextMenuButtonCustom, type TContextMenuButtonGroup, type TContextMenuButtonOptions, type TContextMenuList, type TContextMenuPositionUnit, type TContextMenuRow, type TControlUnion, type TCustomAddButtonSelectOption, type TDefineWidgetOptions, type TDisplayCondition, type TDisplayMode, type TEmptyRecord, type TExtendedFormulaFilterValue, type TFiltrationAccessibility, type TGroupLevelRecord, type TLaunchActionParams, type TMeasureAddButtonSelectOption, type TMigrateProcessor, type TMigrationStruct, type TParameterFromDataModel, type TProcessIndicatorValue, type TRecordAccessor, type TSelectChildOptions, type TSelectFetchNodes, type TSelectivePartial, type TSortDirection, type TUpdateSelection, type TValuePath, type TVersion, type TWidgetActionParameter, type TWidgetContainer, type TWidgetDimensionData, type TWidgetFilterValue, type TWidgetFiltering, type TWidgetIndicatorAggregationValue, type TWidgetIndicatorConversionValue, type TWidgetIndicatorDurationValue, type TWidgetIndicatorTimeValue, type TWidgetLevelRecord, type TWidgetMeasureData, type TWidgetSortingValue, type TWidgetVariable, applyIndexToArrayFormula, bindContentWithIndicator, bindContentsWithIndicators, checkDisplayCondition, clearMultiLineComments, clearSingleLineComments, colors, conversionTemplate, convertFiltersToFormula, convertToFormulasChain, countExecutionsTemplate, dashboardLinkRegExp, dimensionAggregationTemplates, dimensionTemplateFormulas, displayConditionTemplate, durationTemplates, escapeSpecialCharacters, eventMeasureTemplateFormulas, fillTemplateString, formattingConfig, formulaFilterMethods, generateColumnFormula, getColorByIndex, getDefaultSortOrders, getDimensionFormula, getDisplayConditionFormula, getEventMeasureFormula, getLocalizedText, getMeasureFormula, getRuleColor, getTransitionMeasureFormula, isDimensionsHierarchy, isFormulaFilterValue, isValidColor, linkNameRegExp, mapDimensionsToInputs, mapEventMeasuresToInputs, mapFormulaFilterToCalculatorInput, mapFormulaFiltersToInputs, mapMeasuresToInputs, mapSortingToInputs, mapTransitionMeasuresToInputs, measureAggregationTemplates, measureTemplateFormulas, parseClickHouseType, parseIndicatorLink, prepareConversionParams, prepareDimensionAggregationParams, prepareDurationParams, prepareFormulaForSql, prepareMeasureAggregationParams, prepareSortOrders, prepareTimeParams, prepareValuesForSql, replaceDisplayCondition, replaceFiltersBySelection, replaceHierarchiesWithDimensions, selectDimensionFromHierarchy, timeTemplates, transitionMeasureTemplateFormulas, unescapeSpecialCharacters, updateDefaultModeSelection, updateMultiModeSelection, updateSingleModeSelection, workspaceLinkRegExp };
2685
+ export { EActionButtonsTypes, EActionTypes, EAutoUpdateMode, EBlockingConditionMode, ECalculatorFilterMethods, EClickHouseBaseTypes, EColorMode, EControlType, ECustomSelectTemplates, EDataModelOption, EDimensionAggregationTemplateName, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationTemplateName, EDurationUnit, EEventAppearances, EEventMeasureTemplateNames, EFontWeight, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureAggregationTemplateName, EMeasureTemplateNames, EOuterAggregation, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESimpleInputType, ESortDirection, ESortingValueModes, ESystemRecordKey, ETransitionMeasureTemplateNames, EUnitMode, EViewMode, EViewOpenIn, EWidgetActionInputMethod, EWidgetFilterMode, EWidgetIndicatorType, EWidgetIndicatorValueModes, type IActionGoToUrl, type IActionOnClickControl, type IActionRunScript, type IActionScript, type IActionUpdateVariable, type IAddButtonSelectOption, type IAddDurationOfTransitionFilter, type IAddPresenceOfEventFilter, type IAddPresenceOfTransitionFilter, type IAddRepetitionOfEventFilter, type IAutoIdentifiedArrayItem, type IBaseDimensionsAndMeasuresCalculator, type IBaseDimensionsAndMeasuresCalculatorInput, type IBaseDimensionsAndMeasuresCalculatorOutput, type IBaseWidgetSettings, type ICalculator, type ICalculatorDimensionInput, type ICalculatorDimensionOutput, type ICalculatorFactory, type ICalculatorFilter, type ICalculatorIndicatorInput, type ICalculatorIndicatorOutput, type ICalculatorMeasureInput, type ICalculatorMeasureOutput, type ICollapseRecord, type IColorPickerControl, type IColoredValue, type ICommonDimensions, type ICommonMeasures, type ICommonState, type IControlRecord, type ICustomAddButtonProps, type ICustomWidgetProps, type IDefinition, type IDimensionSelection, type IDimensionSelectionByFormula, type IDisplayConditionControl, type IDisplayPredicate, type IDisplayRule, type IDivePanelDescription, type IDividerRecord, type IEdge, type IEventsColorControl, type IEventsPickerControl, type IExportColumnOrder, type IFillSettings, type IFilterControl, type IFormattingControl, type IFormattingTemplateControl, type IFormulaControl, type IFormulaFilterValue, type IGeneralCalculator, type IGeneralCalculatorExportInput, type IGeneralCalculatorInput, type IGeneralCalculatorOutput, type IGlobalContext, type IGraphElement, type IGroupSetDescription, type IGroupSetRecord, type IGroupSettings, type IHistogramBin, type IHistogramCalculator, type IHistogramCalculatorInput, type IHistogramCalculatorOutput, type IIndicatorLink, type IInitialSettings, type IInputControl, type IInputMarkdownControl, type IInputNumberControl, type IInputRangeControl, type ILens, type IMarkdownMeasure, type IMeasureAddButtonProps, type IPanelDescription, type IPanelDescriptionCreator, type IParameterColumnList, type IParameterFromAggregation, type IParameterFromColumn, type IParameterFromDynamicList, type IParameterFromEndEvent, type IParameterFromEvent, type IParameterFromFormula, type IParameterFromManualInput, type IParameterFromStartEvent, type IParameterFromStaticList, type IParameterFromVariable, type IParameterTableList, type IPieCalculator, type IPieCalculatorInput, type IPieCalculatorOutput, type IProcessEventFilterValue, type IProcessEventIndicator, type IProcessFilterPreviewParams, type IProcessGraphCalculator, type IProcessGraphCalculatorInput, type IProcessGraphCalculatorOutput, type IProcessIndicator, type IProcessTransitionFilterValue, type IProcessTransitionIndicator, type IRadioIconGroupControl, type IRange, type ISelectBranchOption, type ISelectControl, type ISelectDividerOption, type ISelectGroupOption, type ISelectLeafOption, type ISelectNode, type ISelectOption, type ISelectSystemOption, type ISettingsMigratorParams, type ISizeControl, type ISortOrder, type ISortingAddButtonProps, type IStagesFilterValue, type IStaticListLabeledOption, type ISwitchControl, type ITagSetControl, type ITwoLimitsCalculator, type ITwoLimitsCalculatorExportInput, type ITwoLimitsCalculatorInput, type ITwoLimitsCalculatorOutput, type ITypeCalculator, type ITypeCalculatorInput, type ITypeCalculatorOutput, type ITypeCalculatorOutputItem, type ITypedFormulaControl, type IVertex, type IViewAction, type IViewContext, type IWidget, type IWidgetAction, type IWidgetColumnIndicator, type IWidgetColumnListVariable, type IWidgetDimension, type IWidgetDimensionHierarchy, type IWidgetDynamicListVariable, type IWidgetEntity, type IWidgetFilter, type IWidgetFiltration, type IWidgetFormatting, type IWidgetIndicator, type IWidgetIndicatorAddButtonProps, type IWidgetManifest, type IWidgetMeasure, type IWidgetMigrator, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetPresetSettings, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetStaticListVariable, type IWidgetStaticVariable, type IWidgetStruct, type IWidgetTable, type IWidgetTableColumn, OuterAggregation, type TAction, type TActionOnClickParameter, type TActionOpenView, type TActionValidator, type TActionsOnClick, type TAddButton, type TBoundedContentWithIndicator, type TColor, type TColorBase, type TColorRule, type TColumnIndicatorValue, type TContextMenu, type TContextMenuButton, type TContextMenuButtonActions, type TContextMenuButtonApply, type TContextMenuButtonClose, type TContextMenuButtonCustom, type TContextMenuButtonGroup, type TContextMenuButtonOptions, type TContextMenuList, type TContextMenuPositionUnit, type TContextMenuRow, type TControlUnion, type TCustomAddButtonSelectOption, type TDefineWidgetOptions, type TDisplayCondition, type TDisplayMode, type TEmptyRecord, type TExtendedFormulaFilterValue, type TFiltrationAccessibility, type TGroupLevelRecord, type TLaunchActionParams, type TMeasureAddButtonSelectOption, type TMigrateProcessor, type TMigrationStruct, type TParameterFromDataModel, type TProcessIndicatorValue, type TRecordAccessor, type TSelectChildOptions, type TSelectFetchNodes, type TSelectivePartial, type TSortDirection, type TUpdateSelection, type TValuePath, type TVersion, type TViewActionParameter, type TWidgetActionParameter, type TWidgetContainer, type TWidgetDimensionData, type TWidgetFilterValue, type TWidgetFiltering, type TWidgetIndicatorAggregationValue, type TWidgetIndicatorConversionValue, type TWidgetIndicatorDurationValue, type TWidgetIndicatorTimeValue, type TWidgetLevelRecord, type TWidgetMeasureData, type TWidgetSortingValue, type TWidgetVariable, applyIndexToArrayFormula, bindContentWithIndicator, bindContentsWithIndicators, checkDisplayCondition, clearMultiLineComments, clearSingleLineComments, colors, conversionTemplate, convertFiltersToFormula, convertToFormulasChain, countExecutionsTemplate, dashboardLinkRegExp, dimensionAggregationTemplates, dimensionTemplateFormulas, displayConditionTemplate, durationTemplates, escapeSpecialCharacters, eventMeasureTemplateFormulas, fillTemplateString, formattingConfig, formulaFilterMethods, generateColumnFormula, getColorByIndex, getDefaultSortOrders, getDimensionFormula, getDisplayConditionFormula, getEventMeasureFormula, getLocalizedText, getMeasureFormula, getRuleColor, getTransitionMeasureFormula, isDimensionsHierarchy, isFormulaFilterValue, isValidColor, linkNameRegExp, mapDimensionsToInputs, mapEventMeasuresToInputs, mapFormulaFilterToCalculatorInput, mapFormulaFiltersToInputs, mapMeasuresToInputs, mapSortingToInputs, mapTransitionMeasuresToInputs, measureAggregationTemplates, measureTemplateFormulas, parseClickHouseType, parseIndicatorLink, prepareConversionParams, prepareDimensionAggregationParams, prepareDurationParams, prepareFormulaForSql, prepareMeasureAggregationParams, prepareSortOrders, prepareTimeParams, prepareValuesForSql, replaceDisplayCondition, replaceFiltersBySelection, replaceHierarchiesWithDimensions, selectDimensionFromHierarchy, timeTemplates, transitionMeasureTemplateFormulas, unescapeSpecialCharacters, updateDefaultModeSelection, updateMultiModeSelection, updateSingleModeSelection, workspaceLinkRegExp };
package/dist/index.esm.js CHANGED
@@ -31,11 +31,16 @@ var EViewMode;
31
31
  })(EViewMode || (EViewMode = {}));
32
32
  var EViewOpenIn;
33
33
  (function (EViewOpenIn) {
34
- EViewOpenIn["NEW_WINDOW"] = "NEW_WINDOW";
35
- EViewOpenIn["CURRENT_WINDOW"] = "CURRENT_WINDOW";
34
+ EViewOpenIn["WINDOW"] = "WINDOW";
36
35
  EViewOpenIn["PLACEHOLDER"] = "PLACEHOLDER";
37
36
  EViewOpenIn["MODAL_WINDOW"] = "MODAL_WINDOW";
38
37
  EViewOpenIn["DRAWER_WINDOW"] = "DRAWER_WINDOW";
38
+ // TODO: удалить при выполении BI-14979
39
+ /** @deprecated необходимо использовать EViewOpenIn.WINDOW с флагом newWindow - true */
40
+ EViewOpenIn["NEW_WINDOW"] = "NEW_WINDOW";
41
+ // TODO: удалить при выполении BI-14979
42
+ /** @deprecated необходимо использовать EViewOpenIn.WINDOW с флагом newWindow - false */
43
+ EViewOpenIn["CURRENT_WINDOW"] = "CURRENT_WINDOW";
39
44
  })(EViewOpenIn || (EViewOpenIn = {}));
40
45
  var EDrawerPlacement;
41
46
  (function (EDrawerPlacement) {
package/dist/index.js CHANGED
@@ -32,11 +32,16 @@ exports.EViewMode = void 0;
32
32
  })(exports.EViewMode || (exports.EViewMode = {}));
33
33
  exports.EViewOpenIn = void 0;
34
34
  (function (EViewOpenIn) {
35
- EViewOpenIn["NEW_WINDOW"] = "NEW_WINDOW";
36
- EViewOpenIn["CURRENT_WINDOW"] = "CURRENT_WINDOW";
35
+ EViewOpenIn["WINDOW"] = "WINDOW";
37
36
  EViewOpenIn["PLACEHOLDER"] = "PLACEHOLDER";
38
37
  EViewOpenIn["MODAL_WINDOW"] = "MODAL_WINDOW";
39
38
  EViewOpenIn["DRAWER_WINDOW"] = "DRAWER_WINDOW";
39
+ // TODO: удалить при выполении BI-14979
40
+ /** @deprecated необходимо использовать EViewOpenIn.WINDOW с флагом newWindow - true */
41
+ EViewOpenIn["NEW_WINDOW"] = "NEW_WINDOW";
42
+ // TODO: удалить при выполении BI-14979
43
+ /** @deprecated необходимо использовать EViewOpenIn.WINDOW с флагом newWindow - false */
44
+ EViewOpenIn["CURRENT_WINDOW"] = "CURRENT_WINDOW";
40
45
  })(exports.EViewOpenIn || (exports.EViewOpenIn = {}));
41
46
  exports.EDrawerPlacement = void 0;
42
47
  (function (EDrawerPlacement) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "5.18.0",
3
+ "version": "5.20.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -13,10 +13,10 @@
13
13
  "scripts": {
14
14
  "build": "rollup -c",
15
15
  "lint": "tsc --noEmit",
16
- "release": "npm run lint && standard-version && npm run build",
17
- "prerelease": "npm run lint && standard-version -p && npm run build",
16
+ "release": "standard-version",
17
+ "release:rc": "standard-version -p",
18
18
  "format": "prettier --find-config-path --write 'src/**/*'",
19
- "prepublishOnly": "npm run build",
19
+ "prepublishOnly": "npm run lint && npm run build",
20
20
  "test": "jest"
21
21
  },
22
22
  "dependencies": {