@infomaximum/widget-sdk 5.12.1 → 5.14.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 +15 -0
- package/dist/index.d.ts +33 -16
- package/dist/index.esm.js +7 -1
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
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.14.0](https://github.com/Infomaximum/widget-sdk/compare/v5.13.0...v5.14.0) (2025-04-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* добавлен новый inputMethod DATA_MODEL ([70b3d43](https://github.com/Infomaximum/widget-sdk/commit/70b3d434778f87777acbd18336286dde44dd9814))
|
|
11
|
+
* добавлена возможность автоматического вызова fillSettings при изменении настройки через элемент управления ([e4fce52](https://github.com/Infomaximum/widget-sdk/commit/e4fce528b715fe5e748130402e07052b73c1a4cd))
|
|
12
|
+
|
|
13
|
+
## [5.13.0](https://github.com/Infomaximum/widget-sdk/compare/v5.12.1...v5.13.0) (2025-04-16)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* удалены интефейсы расширенных настроек, добавлено поле paddings в интерфейс базовых настроек виджетов ([d704c81](https://github.com/Infomaximum/widget-sdk/commit/d704c81aa3dbf21d62b74580c654ffd08de17907))
|
|
19
|
+
|
|
5
20
|
### [5.12.1](https://github.com/Infomaximum/widget-sdk/compare/v5.12.0...v5.12.1) (2025-04-11)
|
|
6
21
|
|
|
7
22
|
## [5.12.0](https://github.com/Infomaximum/widget-sdk/compare/v5.11.1...v5.12.0) (2025-04-11)
|
package/dist/index.d.ts
CHANGED
|
@@ -446,16 +446,6 @@ declare enum EFontWeight {
|
|
|
446
446
|
NORMAL = "NORMAL",
|
|
447
447
|
BOLD = "BOLD"
|
|
448
448
|
}
|
|
449
|
-
interface IAppearanceEnabledSettings {
|
|
450
|
-
enabled: true;
|
|
451
|
-
horizontalPaddings: string | number;
|
|
452
|
-
verticalPaddings: string | number;
|
|
453
|
-
cornerRadius: string | number;
|
|
454
|
-
}
|
|
455
|
-
interface IAppearanceDisabledSettings {
|
|
456
|
-
enabled: false;
|
|
457
|
-
}
|
|
458
|
-
type TAppearanceSettings = IAppearanceEnabledSettings | IAppearanceDisabledSettings;
|
|
459
449
|
|
|
460
450
|
declare enum ESortDirection {
|
|
461
451
|
descend = "DESC",
|
|
@@ -902,7 +892,7 @@ interface IBaseWidgetSettings {
|
|
|
902
892
|
ignoreFilters?: boolean;
|
|
903
893
|
sorting?: IWidgetSortingIndicator[];
|
|
904
894
|
actions?: IWidgetAction[];
|
|
905
|
-
|
|
895
|
+
paddings?: number | string;
|
|
906
896
|
}
|
|
907
897
|
|
|
908
898
|
declare enum EWidgetActionInputMethod {
|
|
@@ -915,7 +905,8 @@ declare enum EWidgetActionInputMethod {
|
|
|
915
905
|
EVENT = "EVENT",
|
|
916
906
|
START_EVENT = "START_EVENT",
|
|
917
907
|
FINISH_EVENT = "FINISH_EVENT",
|
|
918
|
-
AGGREGATION = "AGGREGATION"
|
|
908
|
+
AGGREGATION = "AGGREGATION",
|
|
909
|
+
DATA_MODEL = "DATA_MODEL"
|
|
919
910
|
}
|
|
920
911
|
declare enum EActionTypes {
|
|
921
912
|
OPEN_URL = "OPEN_URL",
|
|
@@ -944,6 +935,10 @@ declare enum EAutoUpdateMode {
|
|
|
944
935
|
THIS_WIDGET = "THIS_WIDGET",
|
|
945
936
|
ALL_WIDGETS = "ALL_WIDGETS"
|
|
946
937
|
}
|
|
938
|
+
declare enum EDataModelOption {
|
|
939
|
+
TABLE_LIST = "TABLE_LIST",
|
|
940
|
+
COLUMN_LIST = "COLUMN_LIST"
|
|
941
|
+
}
|
|
947
942
|
interface IParameterFromColumn {
|
|
948
943
|
inputMethod: EWidgetActionInputMethod.COLUMN;
|
|
949
944
|
tableName: string;
|
|
@@ -989,16 +984,28 @@ interface IParameterFromDynamicList {
|
|
|
989
984
|
filters: TExtendedFormulaFilterValue[];
|
|
990
985
|
filterByRows?: boolean;
|
|
991
986
|
}
|
|
987
|
+
interface IParameterFromDataModelBase {
|
|
988
|
+
inputMethod: EWidgetActionInputMethod.DATA_MODEL;
|
|
989
|
+
option: EDataModelOption;
|
|
990
|
+
}
|
|
991
|
+
interface IParameterColumnList extends IParameterFromDataModelBase {
|
|
992
|
+
option: EDataModelOption.COLUMN_LIST;
|
|
993
|
+
parent: string;
|
|
994
|
+
}
|
|
995
|
+
interface IParameterTableList extends IParameterFromDataModelBase {
|
|
996
|
+
option: EDataModelOption.TABLE_LIST;
|
|
997
|
+
}
|
|
998
|
+
type TParameterFromDataModel = IParameterColumnList | IParameterTableList;
|
|
992
999
|
interface IWidgetActionParameterCommon {
|
|
993
1000
|
name: string;
|
|
994
1001
|
displayName: string;
|
|
995
1002
|
isHidden: boolean;
|
|
996
1003
|
}
|
|
997
|
-
type TWidgetActionParameter = IWidgetActionParameterCommon & (IParameterFromColumn | IParameterFromVariable | IParameterFromFormula | IParameterFromManualInput | IParameterFromStaticList | IParameterFromDynamicList | IParameterFromAggregation);
|
|
1004
|
+
type TWidgetActionParameter = IWidgetActionParameterCommon & (IParameterFromColumn | IParameterFromVariable | IParameterFromFormula | IParameterFromManualInput | IParameterFromStaticList | IParameterFromDynamicList | IParameterFromAggregation | TParameterFromDataModel);
|
|
998
1005
|
interface IActionOnClickParameterCommon extends IAutoIdentifiedArrayItem {
|
|
999
1006
|
name: string;
|
|
1000
1007
|
}
|
|
1001
|
-
type TActionOnClickParameter = IActionOnClickParameterCommon & (IParameterFromColumn | IParameterFromVariable | IParameterFromFormula | IParameterFromEvent | IParameterFromStartEvent | IParameterFromEndEvent | IParameterFromAggregation | IParameterFromManualInput | IParameterFromStaticList | IParameterFromDynamicList);
|
|
1008
|
+
type TActionOnClickParameter = IActionOnClickParameterCommon & (IParameterFromColumn | IParameterFromVariable | IParameterFromFormula | IParameterFromEvent | IParameterFromStartEvent | IParameterFromEndEvent | IParameterFromAggregation | IParameterFromManualInput | IParameterFromStaticList | IParameterFromDynamicList | TParameterFromDataModel);
|
|
1002
1009
|
interface IActionCommon extends IAutoIdentifiedArrayItem {
|
|
1003
1010
|
name: string;
|
|
1004
1011
|
}
|
|
@@ -1188,6 +1195,16 @@ interface IControlRecord<Settings extends object, T extends TControlConstraint =
|
|
|
1188
1195
|
props?: T["props"] | ((settings: Settings) => T["props"]);
|
|
1189
1196
|
/** Описание доступа к значению настройки */
|
|
1190
1197
|
accessor: TRecordAccessor<Settings, T["value"]>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Определяет, нужно ли вызывать метод `fillSettings` виджета после изменения настройки
|
|
1200
|
+
* через элемент управления (для сохранения согласованности зависимых настроек).
|
|
1201
|
+
*
|
|
1202
|
+
* @note
|
|
1203
|
+
* В будущем, кроме boolean, может быть разрешено передавать функцию (локальный `fillSettings`),
|
|
1204
|
+
* но сейчас это избыточно.
|
|
1205
|
+
* @default false
|
|
1206
|
+
*/
|
|
1207
|
+
fillSettings?: boolean;
|
|
1191
1208
|
/**
|
|
1192
1209
|
* Рекурсивное определение мета-описания, в элемент управления будет передана функция dive
|
|
1193
1210
|
* для перехода в указанное мета-описание.
|
|
@@ -2229,7 +2246,6 @@ interface IWidgetPlaceholderValues {
|
|
|
2229
2246
|
}
|
|
2230
2247
|
|
|
2231
2248
|
interface IWidgetPresetSettings {
|
|
2232
|
-
appearance: TAppearanceSettings;
|
|
2233
2249
|
filterMode: EWidgetFilterMode;
|
|
2234
2250
|
ignoreFilters: boolean;
|
|
2235
2251
|
stateName: string | null;
|
|
@@ -2237,6 +2253,7 @@ interface IWidgetPresetSettings {
|
|
|
2237
2253
|
titleSize: number;
|
|
2238
2254
|
titleWeight: EFontWeight;
|
|
2239
2255
|
textSize: number;
|
|
2256
|
+
paddings: number | string;
|
|
2240
2257
|
}
|
|
2241
2258
|
|
|
2242
2259
|
type TVersion = string;
|
|
@@ -2574,4 +2591,4 @@ declare global {
|
|
|
2574
2591
|
}
|
|
2575
2592
|
}
|
|
2576
2593
|
|
|
2577
|
-
export { EActionButtonsTypes, EActionTypes, EAutoUpdateMode, EBlockingConditionMode, ECalculatorFilterMethods, EClickHouseBaseTypes, EColorMode, EControlType, ECustomSelectTemplates, 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 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
|
|
2594
|
+
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 IParameterFromColumn, 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, 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
|
@@ -14,6 +14,7 @@ var EWidgetActionInputMethod;
|
|
|
14
14
|
EWidgetActionInputMethod["START_EVENT"] = "START_EVENT";
|
|
15
15
|
EWidgetActionInputMethod["FINISH_EVENT"] = "FINISH_EVENT";
|
|
16
16
|
EWidgetActionInputMethod["AGGREGATION"] = "AGGREGATION";
|
|
17
|
+
EWidgetActionInputMethod["DATA_MODEL"] = "DATA_MODEL";
|
|
17
18
|
})(EWidgetActionInputMethod || (EWidgetActionInputMethod = {}));
|
|
18
19
|
var EActionTypes;
|
|
19
20
|
(function (EActionTypes) {
|
|
@@ -47,6 +48,11 @@ var EAutoUpdateMode;
|
|
|
47
48
|
EAutoUpdateMode["THIS_WIDGET"] = "THIS_WIDGET";
|
|
48
49
|
EAutoUpdateMode["ALL_WIDGETS"] = "ALL_WIDGETS";
|
|
49
50
|
})(EAutoUpdateMode || (EAutoUpdateMode = {}));
|
|
51
|
+
var EDataModelOption;
|
|
52
|
+
(function (EDataModelOption) {
|
|
53
|
+
EDataModelOption["TABLE_LIST"] = "TABLE_LIST";
|
|
54
|
+
EDataModelOption["COLUMN_LIST"] = "COLUMN_LIST";
|
|
55
|
+
})(EDataModelOption || (EDataModelOption = {}));
|
|
50
56
|
var EBlockingConditionMode;
|
|
51
57
|
(function (EBlockingConditionMode) {
|
|
52
58
|
EBlockingConditionMode["FORMULA"] = "FORMULA";
|
|
@@ -1996,4 +2002,4 @@ var getColorByIndex = function (index) {
|
|
|
1996
2002
|
return color;
|
|
1997
2003
|
};
|
|
1998
2004
|
|
|
1999
|
-
export { EActionButtonsTypes, EActionTypes, EAutoUpdateMode, EBlockingConditionMode, ECalculatorFilterMethods, EClickHouseBaseTypes, EColorMode, EControlType, ECustomSelectTemplates, 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, 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 };
|
|
2005
|
+
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, 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
|
@@ -15,6 +15,7 @@ exports.EWidgetActionInputMethod = void 0;
|
|
|
15
15
|
EWidgetActionInputMethod["START_EVENT"] = "START_EVENT";
|
|
16
16
|
EWidgetActionInputMethod["FINISH_EVENT"] = "FINISH_EVENT";
|
|
17
17
|
EWidgetActionInputMethod["AGGREGATION"] = "AGGREGATION";
|
|
18
|
+
EWidgetActionInputMethod["DATA_MODEL"] = "DATA_MODEL";
|
|
18
19
|
})(exports.EWidgetActionInputMethod || (exports.EWidgetActionInputMethod = {}));
|
|
19
20
|
exports.EActionTypes = void 0;
|
|
20
21
|
(function (EActionTypes) {
|
|
@@ -48,6 +49,11 @@ exports.EAutoUpdateMode = void 0;
|
|
|
48
49
|
EAutoUpdateMode["THIS_WIDGET"] = "THIS_WIDGET";
|
|
49
50
|
EAutoUpdateMode["ALL_WIDGETS"] = "ALL_WIDGETS";
|
|
50
51
|
})(exports.EAutoUpdateMode || (exports.EAutoUpdateMode = {}));
|
|
52
|
+
exports.EDataModelOption = void 0;
|
|
53
|
+
(function (EDataModelOption) {
|
|
54
|
+
EDataModelOption["TABLE_LIST"] = "TABLE_LIST";
|
|
55
|
+
EDataModelOption["COLUMN_LIST"] = "COLUMN_LIST";
|
|
56
|
+
})(exports.EDataModelOption || (exports.EDataModelOption = {}));
|
|
51
57
|
exports.EBlockingConditionMode = void 0;
|
|
52
58
|
(function (EBlockingConditionMode) {
|
|
53
59
|
EBlockingConditionMode["FORMULA"] = "FORMULA";
|