@infomaximum/widget-sdk 5.28.0 → 5.28.1
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 +2 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.esm.js +6 -6
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.28.1](https://github.com/Infomaximum/widget-sdk/compare/v5.28.0...v5.28.1) (2025-07-11)
|
|
6
|
+
|
|
5
7
|
## [5.28.0](https://github.com/Infomaximum/widget-sdk/compare/v5.27.0...v5.28.0) (2025-07-07)
|
|
6
8
|
|
|
7
9
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1024,7 +1024,7 @@ interface IParameterFromDynamicList {
|
|
|
1024
1024
|
filters: TExtendedFormulaFilterValue[];
|
|
1025
1025
|
filterByRows?: boolean;
|
|
1026
1026
|
considerFilters: boolean;
|
|
1027
|
-
|
|
1027
|
+
insertAnyValues?: boolean;
|
|
1028
1028
|
validation?: string;
|
|
1029
1029
|
}
|
|
1030
1030
|
interface IParameterFromDataModelBase {
|
|
@@ -1063,11 +1063,11 @@ interface IActionRunScript extends IActionCommon {
|
|
|
1063
1063
|
scriptKey: string;
|
|
1064
1064
|
autoUpdate: EAutoUpdateMode;
|
|
1065
1065
|
hideInactiveButton?: boolean;
|
|
1066
|
-
|
|
1067
|
-
mode:
|
|
1066
|
+
activateCondition?: {
|
|
1067
|
+
mode: EActivateConditionMode.FORMULA;
|
|
1068
1068
|
formula: string;
|
|
1069
1069
|
} | {
|
|
1070
|
-
mode:
|
|
1070
|
+
mode: EActivateConditionMode.VARIABLE;
|
|
1071
1071
|
variableName: string;
|
|
1072
1072
|
variableValue: string;
|
|
1073
1073
|
};
|
|
@@ -1115,7 +1115,7 @@ type TActionOpenView = IActionCommon & {
|
|
|
1115
1115
|
openIn: EViewOpenIn.PLACEHOLDER;
|
|
1116
1116
|
}>));
|
|
1117
1117
|
type TActionsOnClick = IActionGoToUrl | IActionRunScript | IActionUpdateVariable | TActionOpenView;
|
|
1118
|
-
declare enum
|
|
1118
|
+
declare enum EActivateConditionMode {
|
|
1119
1119
|
FORMULA = "FORMULA",
|
|
1120
1120
|
VARIABLE = "VARIABLE"
|
|
1121
1121
|
}
|
|
@@ -1125,11 +1125,11 @@ interface IWidgetAction extends IActionCommon {
|
|
|
1125
1125
|
scriptKey: string;
|
|
1126
1126
|
autoUpdate: EAutoUpdateMode;
|
|
1127
1127
|
description: string;
|
|
1128
|
-
|
|
1129
|
-
mode:
|
|
1128
|
+
activateCondition: {
|
|
1129
|
+
mode: EActivateConditionMode.FORMULA;
|
|
1130
1130
|
formula: string;
|
|
1131
1131
|
} | {
|
|
1132
|
-
mode:
|
|
1132
|
+
mode: EActivateConditionMode.VARIABLE;
|
|
1133
1133
|
variableName: string;
|
|
1134
1134
|
variableValue: string;
|
|
1135
1135
|
};
|
|
@@ -2715,4 +2715,4 @@ declare global {
|
|
|
2715
2715
|
}
|
|
2716
2716
|
}
|
|
2717
2717
|
|
|
2718
|
-
export { EActionButtonsTypes, EActionTypes,
|
|
2718
|
+
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
|
|
62
|
-
(function (
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
})(
|
|
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";
|
|
@@ -2025,4 +2025,4 @@ var getColorByIndex = function (index) {
|
|
|
2025
2025
|
return color;
|
|
2026
2026
|
};
|
|
2027
2027
|
|
|
2028
|
-
export { EActionButtonsTypes, EActionTypes,
|
|
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.
|
|
63
|
-
(function (
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
})(exports.
|
|
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";
|