@infomaximum/widget-sdk 5.29.0-0 → 5.29.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,17 +2,15 @@
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.29.0-0](https://github.com/Infomaximum/widget-sdk/compare/v5.28.0...v5.29.0-0) (2025-07-10)
5
+ ## [5.29.0](https://github.com/Infomaximum/widget-sdk/compare/v5.28.1...v5.29.0) (2025-07-14)
6
6
 
7
7
 
8
8
  ### Features
9
9
 
10
- * отказ от имени процесса ([4fa01d5](https://github.com/Infomaximum/widget-sdk/commit/4fa01d5c2602211810277d0b6aef6b4d5f62e19c))
10
+ * в параметры запуска скрипта добавлены свойства onComplete и onError, а onSuccess сделан опциональным ([b989b84](https://github.com/Infomaximum/widget-sdk/commit/b989b84fe5008f6455fa7dacd51cf42beadb75dc))
11
+ * Для способов ввода Вручную, Динамический и Статический список добавлен флаг acceptEmptyValue ([8ad56ae](https://github.com/Infomaximum/widget-sdk/commit/8ad56ae6b3f57d06c2e1aa54f0354b25490fcf14))
11
12
 
12
-
13
- ### Bug Fixes
14
-
15
- * deprecated поле processName для интерфейса IProcessGraphCalculatorInput сделано необзятельным ([859f959](https://github.com/Infomaximum/widget-sdk/commit/859f959ea963ea2ed9214ccc4a4dc43a8b49142c))
13
+ ### [5.28.1](https://github.com/Infomaximum/widget-sdk/compare/v5.28.0...v5.28.1) (2025-07-11)
16
14
 
17
15
  ## [5.28.0](https://github.com/Infomaximum/widget-sdk/compare/v5.27.0...v5.28.0) (2025-07-07)
18
16
 
package/dist/index.d.ts CHANGED
@@ -248,7 +248,7 @@ declare const formulaFilterMethods: {
248
248
  readonly LAST_TIME: "LAST_TIME";
249
249
  readonly EQUAL_TO: ECalculatorFilterMethods.EQUAL_TO;
250
250
  readonly NOT_EQUAL_TO: ECalculatorFilterMethods.NOT_EQUAL_TO;
251
- readonly GREATER_THAN: ECalculatorFilterMethods.GREATER_THAN;
251
+ readonly GREATER_THAN: ECalculatorFilterMethods.GREATER_THAN; /** Фильтры событий */
252
252
  readonly LESS_THAN: ECalculatorFilterMethods.LESS_THAN;
253
253
  readonly GREATER_THAN_OR_EQUAL_TO: ECalculatorFilterMethods.GREATER_THAN_OR_EQUAL_TO;
254
254
  readonly LESS_THAN_OR_EQUAL_TO: ECalculatorFilterMethods.LESS_THAN_OR_EQUAL_TO;
@@ -282,30 +282,22 @@ interface IProcessFilterValue {
282
282
  * но не учитываются при применении фильтра.
283
283
  */
284
284
  interface IProcessFilterPreviewParams {
285
- /** @deprecated необходимо использовать eventsNamesByProcessKey */
286
- eventsNamesByProcessName?: Map<string, (string | null)[]>;
287
285
  /**
288
286
  * События, доступные при выборе процесса.
289
287
  * Если параметр не передан, используются все события процесса на основе запроса к вычислителю.
290
288
  */
291
- eventsNamesByProcessKey?: Map<string, (string | null)[]>;
289
+ eventsNamesByProcessName?: Map<string, (string | null)[]>;
292
290
  /** Фильтры событий */
293
291
  eventFilters?: TExtendedFormulaFilterValue[];
294
292
  }
295
293
  interface IProcessEventFilterValue extends IProcessFilterValue {
296
- /** @deprecated необходимо использовать processKey */
297
- processName?: string;
298
- processKey: string;
294
+ processName: string;
299
295
  eventName: string;
300
296
  }
301
297
  interface IProcessTransitionFilterValue extends IProcessFilterValue {
302
- /** @deprecated необходимо использовать startEventProcessKey */
303
- startEventProcessName?: string;
304
- startEventProcessKey: string;
298
+ startEventProcessName: string;
305
299
  startEventName: string;
306
- /** @deprecated необходимо использовать endEventProcessKey */
307
- endEventProcessName?: string;
308
- endEventProcessKey: string;
300
+ endEventProcessName: string;
309
301
  endEventName: string;
310
302
  }
311
303
  interface IClickPosition {
@@ -734,7 +726,7 @@ declare enum EDurationTemplateName {
734
726
  type TWidgetIndicatorAggregationValue = {
735
727
  mode: EWidgetIndicatorValueModes.AGGREGATION;
736
728
  templateName: string;
737
- processKey: string | null;
729
+ processName: string | null;
738
730
  eventName: string | null;
739
731
  caseCaseIdFormula: string | null;
740
732
  eventNameFormula: string | null;
@@ -750,12 +742,12 @@ declare enum EEventAppearances {
750
742
  type TWidgetIndicatorConversionValue = {
751
743
  mode: EWidgetIndicatorValueModes.CONVERSION;
752
744
  startEventNameFormula: string | null;
753
- startEventProcessKey: string | null;
745
+ startEventProcessName: string | null;
754
746
  startEventName: string | null;
755
747
  startEventFilters: TExtendedFormulaFilterValue[];
756
748
  startEventTimeFormula: string | null;
757
749
  endEventNameFormula: string | null;
758
- endEventProcessKey: string | null;
750
+ endEventProcessName: string | null;
759
751
  endEventName: string | null;
760
752
  endEventFilters: TExtendedFormulaFilterValue[];
761
753
  endCaseCaseIdFormula: string | null;
@@ -770,7 +762,7 @@ type TWidgetIndicatorDurationValue = {
770
762
  type TWidgetIndicatorTimeValue = {
771
763
  templateName: string;
772
764
  mode: EWidgetIndicatorValueModes.START_TIME | EWidgetIndicatorValueModes.END_TIME;
773
- processKey: string;
765
+ processName: string;
774
766
  eventName: string;
775
767
  eventTimeFormula: string;
776
768
  caseCaseIdFormula: string;
@@ -836,10 +828,8 @@ interface IGlobalContext {
836
828
  unsetVariableValue(name: string): TWidgetVariable["value"];
837
829
  /** Состояния(название сущности) отчета */
838
830
  states: Map<string, ICommonState>;
839
- /** @deprecated Процессы из модели данных (по имени) */
831
+ /** Процессы из модели данных */
840
832
  processes: Map<string, IWidgetProcess>;
841
- /** Процессы из модели данных (по ключу) */
842
- processByKey: Map<string, IWidgetProcess>;
843
833
  /** Имена таблиц из модели данных */
844
834
  tables: Set<string>;
845
835
  /** Функция для запроса информации о колонках таблицы из модели данных */
@@ -1019,11 +1009,13 @@ interface IParameterFromManualInput {
1019
1009
  dbDataType?: string;
1020
1010
  filterByRows?: boolean;
1021
1011
  validation?: string;
1012
+ acceptEmptyValue?: boolean;
1022
1013
  }
1023
1014
  interface IParameterFromStaticList {
1024
1015
  inputMethod: EWidgetActionInputMethod.STATIC_LIST;
1025
1016
  options: string;
1026
1017
  defaultValue: string | string[];
1018
+ acceptEmptyValue?: boolean;
1027
1019
  }
1028
1020
  interface IParameterFromDynamicList {
1029
1021
  inputMethod: EWidgetActionInputMethod.DYNAMIC_LIST;
@@ -1034,8 +1026,9 @@ interface IParameterFromDynamicList {
1034
1026
  filters: TExtendedFormulaFilterValue[];
1035
1027
  filterByRows?: boolean;
1036
1028
  considerFilters: boolean;
1037
- enableCustomValue?: boolean;
1029
+ insertAnyValues?: boolean;
1038
1030
  validation?: string;
1031
+ acceptEmptyValue?: boolean;
1039
1032
  }
1040
1033
  interface IParameterFromDataModelBase {
1041
1034
  inputMethod: EWidgetActionInputMethod.DATA_MODEL;
@@ -1073,11 +1066,11 @@ interface IActionRunScript extends IActionCommon {
1073
1066
  scriptKey: string;
1074
1067
  autoUpdate: EAutoUpdateMode;
1075
1068
  hideInactiveButton?: boolean;
1076
- blockingCondition?: {
1077
- mode: EBlockingConditionMode.FORMULA;
1069
+ activateCondition?: {
1070
+ mode: EActivateConditionMode.FORMULA;
1078
1071
  formula: string;
1079
1072
  } | {
1080
- mode: EBlockingConditionMode.VARIABLE;
1073
+ mode: EActivateConditionMode.VARIABLE;
1081
1074
  variableName: string;
1082
1075
  variableValue: string;
1083
1076
  };
@@ -1125,7 +1118,7 @@ type TActionOpenView = IActionCommon & {
1125
1118
  openIn: EViewOpenIn.PLACEHOLDER;
1126
1119
  }>));
1127
1120
  type TActionsOnClick = IActionGoToUrl | IActionRunScript | IActionUpdateVariable | TActionOpenView;
1128
- declare enum EBlockingConditionMode {
1121
+ declare enum EActivateConditionMode {
1129
1122
  FORMULA = "FORMULA",
1130
1123
  VARIABLE = "VARIABLE"
1131
1124
  }
@@ -1135,11 +1128,11 @@ interface IWidgetAction extends IActionCommon {
1135
1128
  scriptKey: string;
1136
1129
  autoUpdate: EAutoUpdateMode;
1137
1130
  description: string;
1138
- blockingCondition: {
1139
- mode: EBlockingConditionMode.FORMULA;
1131
+ activateCondition: {
1132
+ mode: EActivateConditionMode.FORMULA;
1140
1133
  formula: string;
1141
1134
  } | {
1142
- mode: EBlockingConditionMode.VARIABLE;
1135
+ mode: EActivateConditionMode.VARIABLE;
1143
1136
  variableName: string;
1144
1137
  variableValue: string;
1145
1138
  };
@@ -1878,9 +1871,7 @@ interface IEdge extends IGraphElement {
1878
1871
  endName: string | null;
1879
1872
  }
1880
1873
  interface IProcessGraphCalculatorInput {
1881
- /** @deprecated необходимо использовать processKey */
1882
- processName?: string;
1883
- processKey: string;
1874
+ processName: string;
1884
1875
  vertexLimit: number | null;
1885
1876
  edgeLimit: number;
1886
1877
  vertexMeasures: ICalculatorMeasureInput[];
@@ -2326,8 +2317,6 @@ interface IPanelDescription<Settings extends object, GroupSettings extends IGrou
2326
2317
  interface IWidgetProcess {
2327
2318
  /** @deprecated */
2328
2319
  guid: string;
2329
- /** Ключ процесса */
2330
- key: string;
2331
2320
  /** Имя процесса */
2332
2321
  name: string;
2333
2322
  /** Формула имени события */
@@ -2504,8 +2493,12 @@ interface IViewContext {
2504
2493
  type TLaunchActionParams = {
2505
2494
  /** Запускаемое действие */
2506
2495
  action: TAction;
2496
+ /** Callback, вызываемый при успешном выполнении действия */
2497
+ onComplete?: () => void;
2498
+ /** Callback, вызываемый при ошибке запуска или выполнения действия */
2499
+ onError?: () => void;
2507
2500
  /** Callback, вызываемый при успешном запуске действия */
2508
- onSuccess: () => void;
2501
+ onSuccess?: () => void;
2509
2502
  /** Требуется ли подтверждение о запуске (откроется модальное окно) */
2510
2503
  needConfirmation?: boolean;
2511
2504
  /** Фильтрация для способов ввода COLUMN и FORMULA */
@@ -2729,4 +2722,4 @@ declare global {
2729
2722
  }
2730
2723
  }
2731
2724
 
2732
- 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 ICalculatorOptions, 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 };
2725
+ export { EActionButtonsTypes, EActionTypes, EActivateConditionMode, EAutoUpdateMode, 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 ICalculatorOptions, 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
@@ -58,11 +58,11 @@ var EDataModelOption;
58
58
  EDataModelOption["TABLE_LIST"] = "TABLE_LIST";
59
59
  EDataModelOption["COLUMN_LIST"] = "COLUMN_LIST";
60
60
  })(EDataModelOption || (EDataModelOption = {}));
61
- var EBlockingConditionMode;
62
- (function (EBlockingConditionMode) {
63
- EBlockingConditionMode["FORMULA"] = "FORMULA";
64
- EBlockingConditionMode["VARIABLE"] = "VARIABLE";
65
- })(EBlockingConditionMode || (EBlockingConditionMode = {}));
61
+ var EActivateConditionMode;
62
+ (function (EActivateConditionMode) {
63
+ EActivateConditionMode["FORMULA"] = "FORMULA";
64
+ EActivateConditionMode["VARIABLE"] = "VARIABLE";
65
+ })(EActivateConditionMode || (EActivateConditionMode = {}));
66
66
  var EActionButtonsTypes;
67
67
  (function (EActionButtonsTypes) {
68
68
  EActionButtonsTypes["LINK"] = "link";
@@ -882,7 +882,7 @@ var prepareDimensionAggregationParams = function (value) {
882
882
  if (!value.eventName ||
883
883
  !value.caseCaseIdFormula ||
884
884
  !value.eventNameFormula ||
885
- !value.processKey ||
885
+ !value.processName ||
886
886
  !value.templateName) {
887
887
  return null;
888
888
  }
@@ -933,7 +933,7 @@ var prepareTimeParams = function (value) {
933
933
  if (!value.eventName ||
934
934
  !value.caseCaseIdFormula ||
935
935
  !value.eventNameFormula ||
936
- !value.processKey ||
936
+ !value.processName ||
937
937
  !value.templateName ||
938
938
  !value.eventTimeFormula) {
939
939
  return;
@@ -1040,7 +1040,7 @@ var prepareMeasureAggregationParams = function (value) {
1040
1040
  !value.caseCaseIdFormula ||
1041
1041
  !value.eventNameFormula ||
1042
1042
  !value.outerAggregation ||
1043
- !value.processKey ||
1043
+ !value.processName ||
1044
1044
  !value.templateName) {
1045
1045
  return null;
1046
1046
  }
@@ -1100,10 +1100,10 @@ var prepareConversionParams = function (value) {
1100
1100
  !value.endEventName ||
1101
1101
  !value.endCaseCaseIdFormula ||
1102
1102
  !value.endEventNameFormula ||
1103
- !value.endEventProcessKey ||
1103
+ !value.endEventProcessName ||
1104
1104
  !value.endEventTimeFormula ||
1105
1105
  !value.startEventNameFormula ||
1106
- !value.startEventProcessKey ||
1106
+ !value.startEventProcessName ||
1107
1107
  !value.startEventTimeFormula) {
1108
1108
  return null;
1109
1109
  }
@@ -1136,10 +1136,10 @@ var prepareDurationParams = function (value) {
1136
1136
  !value.endEventName ||
1137
1137
  !value.endCaseCaseIdFormula ||
1138
1138
  !value.endEventNameFormula ||
1139
- !value.endEventProcessKey ||
1139
+ !value.endEventProcessName ||
1140
1140
  !value.endEventTimeFormula ||
1141
1141
  !value.startEventNameFormula ||
1142
- !value.startEventProcessKey ||
1142
+ !value.startEventProcessName ||
1143
1143
  !value.startEventTimeFormula) {
1144
1144
  return null;
1145
1145
  }
@@ -2025,4 +2025,4 @@ var getColorByIndex = function (index) {
2025
2025
  return color;
2026
2026
  };
2027
2027
 
2028
- 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, OuterAggregation, 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 };
2028
+ export { EActionButtonsTypes, EActionTypes, EActivateConditionMode, EAutoUpdateMode, 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, OuterAggregation, 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.js CHANGED
@@ -59,11 +59,11 @@ exports.EDataModelOption = void 0;
59
59
  EDataModelOption["TABLE_LIST"] = "TABLE_LIST";
60
60
  EDataModelOption["COLUMN_LIST"] = "COLUMN_LIST";
61
61
  })(exports.EDataModelOption || (exports.EDataModelOption = {}));
62
- exports.EBlockingConditionMode = void 0;
63
- (function (EBlockingConditionMode) {
64
- EBlockingConditionMode["FORMULA"] = "FORMULA";
65
- EBlockingConditionMode["VARIABLE"] = "VARIABLE";
66
- })(exports.EBlockingConditionMode || (exports.EBlockingConditionMode = {}));
62
+ exports.EActivateConditionMode = void 0;
63
+ (function (EActivateConditionMode) {
64
+ EActivateConditionMode["FORMULA"] = "FORMULA";
65
+ EActivateConditionMode["VARIABLE"] = "VARIABLE";
66
+ })(exports.EActivateConditionMode || (exports.EActivateConditionMode = {}));
67
67
  exports.EActionButtonsTypes = void 0;
68
68
  (function (EActionButtonsTypes) {
69
69
  EActionButtonsTypes["LINK"] = "link";
@@ -883,7 +883,7 @@ var prepareDimensionAggregationParams = function (value) {
883
883
  if (!value.eventName ||
884
884
  !value.caseCaseIdFormula ||
885
885
  !value.eventNameFormula ||
886
- !value.processKey ||
886
+ !value.processName ||
887
887
  !value.templateName) {
888
888
  return null;
889
889
  }
@@ -934,7 +934,7 @@ var prepareTimeParams = function (value) {
934
934
  if (!value.eventName ||
935
935
  !value.caseCaseIdFormula ||
936
936
  !value.eventNameFormula ||
937
- !value.processKey ||
937
+ !value.processName ||
938
938
  !value.templateName ||
939
939
  !value.eventTimeFormula) {
940
940
  return;
@@ -1041,7 +1041,7 @@ var prepareMeasureAggregationParams = function (value) {
1041
1041
  !value.caseCaseIdFormula ||
1042
1042
  !value.eventNameFormula ||
1043
1043
  !value.outerAggregation ||
1044
- !value.processKey ||
1044
+ !value.processName ||
1045
1045
  !value.templateName) {
1046
1046
  return null;
1047
1047
  }
@@ -1101,10 +1101,10 @@ var prepareConversionParams = function (value) {
1101
1101
  !value.endEventName ||
1102
1102
  !value.endCaseCaseIdFormula ||
1103
1103
  !value.endEventNameFormula ||
1104
- !value.endEventProcessKey ||
1104
+ !value.endEventProcessName ||
1105
1105
  !value.endEventTimeFormula ||
1106
1106
  !value.startEventNameFormula ||
1107
- !value.startEventProcessKey ||
1107
+ !value.startEventProcessName ||
1108
1108
  !value.startEventTimeFormula) {
1109
1109
  return null;
1110
1110
  }
@@ -1137,10 +1137,10 @@ var prepareDurationParams = function (value) {
1137
1137
  !value.endEventName ||
1138
1138
  !value.endCaseCaseIdFormula ||
1139
1139
  !value.endEventNameFormula ||
1140
- !value.endEventProcessKey ||
1140
+ !value.endEventProcessName ||
1141
1141
  !value.endEventTimeFormula ||
1142
1142
  !value.startEventNameFormula ||
1143
- !value.startEventProcessKey ||
1143
+ !value.startEventProcessName ||
1144
1144
  !value.startEventTimeFormula) {
1145
1145
  return null;
1146
1146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "5.29.0-0",
3
+ "version": "5.29.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",