@infomaximum/widget-sdk 4.5.0 → 4.7.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +117 -96
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1016,6 +1016,8 @@ type TWidgetVariable = {
1016
1016
  defaultValue: string;
1017
1017
  /** Тип данных */
1018
1018
  dataType: ESimpleDataType;
1019
+ /** Общее значения */
1020
+ isValueShared: boolean;
1019
1021
  /** @deprecated */
1020
1022
  guid: string;
1021
1023
  } | {
@@ -1033,6 +1035,8 @@ type TWidgetVariable = {
1033
1035
  dataType: ESimpleDataType.STRING;
1034
1036
  /** Множественный выбор */
1035
1037
  multipleChoice: boolean;
1038
+ /** Общее значения */
1039
+ isValueShared: boolean;
1036
1040
  /** @deprecated */
1037
1041
  guid: string;
1038
1042
  } | {
@@ -1050,6 +1054,8 @@ type TWidgetVariable = {
1050
1054
  dataType: ESimpleDataType;
1051
1055
  /** Множественный выбор */
1052
1056
  multipleChoice: boolean;
1057
+ /** Общее значения */
1058
+ isValueShared: boolean;
1053
1059
  /** Фильтры */
1054
1060
  filters: TExtendedFormulaFilterValue[];
1055
1061
  /** @deprecated */
@@ -1355,6 +1361,98 @@ interface ICalculatorFactory {
1355
1361
  type: () => ITypeCalculator;
1356
1362
  }
1357
1363
 
1364
+ declare function generateColumnFormula(tableName: string, columnName: string): string;
1365
+ declare function fillTemplateString(templateString: string, params: Record<string, any>): string;
1366
+
1367
+ declare enum EDimensionTemplateNames {
1368
+ dateTime = "dateTime",
1369
+ date = "date",
1370
+ year = "year",
1371
+ yearAndQuarter = "yearAndQuarter",
1372
+ quarter = "quarter",
1373
+ yearAndMonth = "yearAndMonth",
1374
+ dayOfMonth = "dayOfMonth",
1375
+ month = "month",
1376
+ week = "week",
1377
+ dayOfWeek = "dayOfWeek",
1378
+ hour = "hour"
1379
+ }
1380
+ declare const dimensionTemplateFormulas: {
1381
+ readonly dateTime: "toDateTime({columnFormula})";
1382
+ readonly date: "toDate({columnFormula})";
1383
+ readonly year: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toYear({columnFormula}))";
1384
+ readonly yearAndQuarter: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toYear({columnFormula}) * 10 + toQuarter({columnFormula}))";
1385
+ readonly quarter: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toQuarter({columnFormula}))";
1386
+ readonly yearAndMonth: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toYYYYMM({columnFormula}))";
1387
+ readonly month: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toMonth({columnFormula}))";
1388
+ readonly dayOfMonth: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toDayOfMonth({columnFormula}))";
1389
+ readonly week: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toWeek({columnFormula}))";
1390
+ readonly dayOfWeek: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toDayOfWeek({columnFormula}))";
1391
+ readonly hour: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toHour({columnFormula}))";
1392
+ };
1393
+ declare function getDimensionFormula({ value }: IWidgetDimension): string;
1394
+
1395
+ declare enum EMeasureTemplateNames {
1396
+ avg = "avg",
1397
+ median = "median",
1398
+ count = "count",
1399
+ countDistinct = "countDistinct",
1400
+ min = "min",
1401
+ max = "max",
1402
+ sum = "sum"
1403
+ }
1404
+ declare const measureTemplateFormulas: {
1405
+ readonly avg: "avg({columnFormula})";
1406
+ readonly count: "count({columnFormula})";
1407
+ readonly countDistinct: "count(distinct {columnFormula})";
1408
+ readonly median: "medianExact({columnFormula})";
1409
+ readonly min: "min({columnFormula})";
1410
+ readonly max: "max({columnFormula})";
1411
+ readonly sum: "sum({columnFormula})";
1412
+ };
1413
+ declare function getMeasureFormula({ value }: IWidgetMeasure): string;
1414
+
1415
+ declare enum EEventMeasureTemplateNames {
1416
+ eventsCount = "eventsCount",
1417
+ reworksCount = "reworksCount"
1418
+ }
1419
+ declare const eventMeasureTemplateFormulas: {
1420
+ readonly eventsCount: "count()";
1421
+ readonly reworksCount: "count() - uniqExact({caseCaseIdFormula})";
1422
+ };
1423
+ declare function getEventMeasureFormula({ value }: IProcessIndicator, process: IWidgetProcess): string;
1424
+
1425
+ declare enum ETransitionMeasureTemplateNames {
1426
+ transitionsCount = "transitionsCount",
1427
+ medianTime = "medianTime"
1428
+ }
1429
+ declare const transitionMeasureTemplateFormulas: {
1430
+ readonly transitionsCount: "count()";
1431
+ readonly medianTime: "medianExact(date_diff(second, begin({eventTimeFormula}), end({eventTimeFormula})))";
1432
+ };
1433
+ declare function getTransitionMeasureFormula({ value }: IProcessIndicator, process: IWidgetProcess): string;
1434
+
1435
+ /**
1436
+ * Регулярное выражение для поиска имени ссылки внутри формулы.
1437
+ * Учитывает, что имя внутри формулы содержит экраны.
1438
+ *
1439
+ * Принцип работы:
1440
+ * Пробовать следующие вхождения:
1441
+ * - \\\\ - экранированный символ обратного слэша.
1442
+ * - Иначе \\" - экранированный символ кавычки.
1443
+ * - Иначе [^"] - любой символ кроме кавычки.
1444
+ * Если встречается любой другой символ, то это закрывающая кавычка имени переменной.
1445
+ */
1446
+ declare const linkNameRegExp = "(?:\\\\\\\\|\\\\\"|[^\"])+";
1447
+ declare const dashboardLinkRegExp: RegExp;
1448
+ declare const workspaceLinkRegExp: RegExp;
1449
+ interface IIndicatorLink {
1450
+ /** string - имя группы пространства, null - используется текущий отчет */
1451
+ scopeName: string | null;
1452
+ indicatorName: string;
1453
+ }
1454
+ declare const parseIndicatorLink: (formula: string) => IIndicatorLink | null;
1455
+
1358
1456
  interface ILens<T extends TNullable<object>, Value> {
1359
1457
  get(obj: T): TNullable<Value>;
1360
1458
  set(obj: T, value: Value): void;
@@ -1462,6 +1560,16 @@ type TAddButton = {
1462
1560
  };
1463
1561
  interface IGroupSettings extends IAutoIdentifiedArrayItem, Record<string, any> {
1464
1562
  }
1563
+ /** Конфигурация разреза */
1564
+ type TWidgetDimensionData = {
1565
+ type: EWidgetIndicatorType.DIMENSION;
1566
+ /** Типы данных, поддерживаемые разрезом */
1567
+ dataTypes?: ESimpleDataType[];
1568
+ /** Шаблоны формул, доступные для выбора в разрезе */
1569
+ templates?: Partial<Record<ESimpleDataType, EDimensionTemplateNames[]>>;
1570
+ };
1571
+ /** Конфигурация показателя */
1572
+ type TWidgetIndicatorData = TWidgetDimensionData;
1465
1573
  /**
1466
1574
  * Конфигурация набора групп настроек.
1467
1575
  *
@@ -1482,13 +1590,18 @@ interface IGroupSetDescription<Settings extends object, GroupSettings extends ob
1482
1590
  /** Получить название, отображаемое на плашке (по умолчанию используется поле name из группы) */
1483
1591
  getGroupTitle?(group: IGroupSettings): string;
1484
1592
  /**
1485
- * Получить тип показателя для группы, если группа описывает системный показатель.
1593
+ * @deprecated Необходимо использовать {@link IGroupSetDescription.getIndicatorData }.
1594
+ */
1595
+ getType?: (settings: IInitialSettings) => EWidgetIndicatorType;
1596
+ /**
1597
+ * Получить описание показателя для группы, если группа описывает системный показатель.
1486
1598
  *
1487
- * Тип будет использоваться для:
1599
+ * Описание может использоваться для:
1488
1600
  * - отображения иконки показателя на плашке.
1489
1601
  * - предустановленного мета-описания показателя.
1602
+ * - содержимого выпадающего списка.
1490
1603
  */
1491
- getType?: (settings: IInitialSettings) => EWidgetIndicatorType;
1604
+ getIndicatorData?: (settings: IInitialSettings) => EWidgetIndicatorType | TWidgetIndicatorData;
1492
1605
  /** Создать конфигурацию группы для вкладки настроек данных */
1493
1606
  createDataRecords?(group: IGroupSettings): TGroupLevelRecord<GroupSettings>[];
1494
1607
  /** Создать конфигурацию группы для вкладки настроек отображения */
@@ -1820,98 +1933,6 @@ interface IWidgetEntity<WidgetSettings extends IBaseWidgetSettings, GroupSetting
1820
1933
  definition: IDefinition<WidgetSettings, GroupSettings>;
1821
1934
  }
1822
1935
 
1823
- declare function generateColumnFormula(tableName: string, columnName: string): string;
1824
- declare function fillTemplateString(templateString: string, params: Record<string, any>): string;
1825
-
1826
- declare enum EDimensionTemplateNames {
1827
- dateTime = "dateTime",
1828
- date = "date",
1829
- year = "year",
1830
- yearAndQuarter = "yearAndQuarter",
1831
- quarter = "quarter",
1832
- yearAndMonth = "yearAndMonth",
1833
- dayOfMonth = "dayOfMonth",
1834
- month = "month",
1835
- week = "week",
1836
- dayOfWeek = "dayOfWeek",
1837
- hour = "hour"
1838
- }
1839
- declare const dimensionTemplateFormulas: {
1840
- readonly dateTime: "toDateTime({columnFormula})";
1841
- readonly date: "toDate({columnFormula})";
1842
- readonly year: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toYear({columnFormula}))";
1843
- readonly yearAndQuarter: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toYear({columnFormula}) * 10 + toQuarter({columnFormula}))";
1844
- readonly quarter: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toQuarter({columnFormula}))";
1845
- readonly yearAndMonth: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toYYYYMM({columnFormula}))";
1846
- readonly month: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toMonth({columnFormula}))";
1847
- readonly dayOfMonth: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toDayOfMonth({columnFormula}))";
1848
- readonly week: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toWeek({columnFormula}))";
1849
- readonly dayOfWeek: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toDayOfWeek({columnFormula}))";
1850
- readonly hour: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toHour({columnFormula}))";
1851
- };
1852
- declare function getDimensionFormula({ value }: IWidgetDimension): string;
1853
-
1854
- declare enum EMeasureTemplateNames {
1855
- avg = "avg",
1856
- median = "median",
1857
- count = "count",
1858
- countDistinct = "countDistinct",
1859
- min = "min",
1860
- max = "max",
1861
- sum = "sum"
1862
- }
1863
- declare const measureTemplateFormulas: {
1864
- readonly avg: "avg({columnFormula})";
1865
- readonly count: "count({columnFormula})";
1866
- readonly countDistinct: "count(distinct {columnFormula})";
1867
- readonly median: "medianExact({columnFormula})";
1868
- readonly min: "min({columnFormula})";
1869
- readonly max: "max({columnFormula})";
1870
- readonly sum: "sum({columnFormula})";
1871
- };
1872
- declare function getMeasureFormula({ value }: IWidgetMeasure): string;
1873
-
1874
- declare enum EEventMeasureTemplateNames {
1875
- eventsCount = "eventsCount",
1876
- reworksCount = "reworksCount"
1877
- }
1878
- declare const eventMeasureTemplateFormulas: {
1879
- readonly eventsCount: "count()";
1880
- readonly reworksCount: "count() - uniqExact({caseCaseIdFormula})";
1881
- };
1882
- declare function getEventMeasureFormula({ value }: IProcessIndicator, process: IWidgetProcess): string;
1883
-
1884
- declare enum ETransitionMeasureTemplateNames {
1885
- transitionsCount = "transitionsCount",
1886
- medianTime = "medianTime"
1887
- }
1888
- declare const transitionMeasureTemplateFormulas: {
1889
- readonly transitionsCount: "count()";
1890
- readonly medianTime: "medianExact(date_diff(second, begin({eventTimeFormula}), end({eventTimeFormula})))";
1891
- };
1892
- declare function getTransitionMeasureFormula({ value }: IProcessIndicator, process: IWidgetProcess): string;
1893
-
1894
- /**
1895
- * Регулярное выражение для поиска имени ссылки внутри формулы.
1896
- * Учитывает, что имя внутри формулы содержит экраны.
1897
- *
1898
- * Принцип работы:
1899
- * Пробовать следующие вхождения:
1900
- * - \\\\ - экранированный символ обратного слэша.
1901
- * - Иначе \\" - экранированный символ кавычки.
1902
- * - Иначе [^"] - любой символ кроме кавычки.
1903
- * Если встречается любой другой символ, то это закрывающая кавычка имени переменной.
1904
- */
1905
- declare const linkNameRegExp = "(?:\\\\\\\\|\\\\\"|[^\"])+";
1906
- declare const dashboardLinkRegExp: RegExp;
1907
- declare const workspaceLinkRegExp: RegExp;
1908
- interface IIndicatorLink {
1909
- /** string - имя группы пространства, null - используется текущий отчет */
1910
- scopeName: string | null;
1911
- indicatorName: string;
1912
- }
1913
- declare const parseIndicatorLink: (formula: string) => IIndicatorLink | null;
1914
-
1915
1936
  interface IDimensionSelection {
1916
1937
  values: Set<string | null>;
1917
1938
  replacedFilter: ICalculatorFilter | null;
@@ -1945,4 +1966,4 @@ declare global {
1945
1966
  }
1946
1967
  }
1947
1968
 
1948
- export { EActionButtonsTypes, EActionTypes, ECalculatorFilterMethods, EColorMode, EControlType, ECustomSelectTemplates, EDbType, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationUnit, EEventMeasureTemplateNames, EFontWeight, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureTemplateNames, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESortDirection, ESortingValueModes, ESystemRecordKey, ETransitionMeasureTemplateNames, EUnitMode, EViewMode, EViewOpenIn, EWidgetActionInputMethod, EWidgetFilterMode, EWidgetIndicatorType, EWidgetIndicatorValueModes, type IActionGoToUrl, 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 IColoredValue, type ICommonDimensions, type ICommonMeasures, type ICommonState, type IControlRecord, type ICustomAddButtonProps, type ICustomWidgetProps, type IDefinition, type IDimensionSelection, type IDimensionSelectionByFormula, type IDisplayPredicate, type IDisplayRule, type IDivePanelDescription, type IDividerRecord, type IEdge, type IExportColumnOrder, type IFillSettings, 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 ILens, type IMarkdownMeasure, type IMeasureAddButtonProps, type IPanelDescription, type IPanelDescriptionCreator, type IPieCalculator, type IPieCalculatorInput, type IPieCalculatorOutput, type IProcessEventFilterValue, type IProcessEventIndicator, type IProcessGraphCalculator, type IProcessGraphCalculatorInput, type IProcessGraphCalculatorOutput, type IProcessIndicator, type IProcessTransitionFilterValue, type IProcessTransitionIndicator, type IRange, type ISelectBranchOption, type ISelectDividerOption, type ISelectGroupOption, type ISelectLeafOption, type ISelectOption, type ISelectSystemOption, type ISortOrder, type ISortingAddButtonProps, type IStagesFilterValue, type ITwoLimitsCalculator, type ITwoLimitsCalculatorExportInput, type ITwoLimitsCalculatorInput, type ITwoLimitsCalculatorOutput, type ITypeCalculator, type ITypeCalculatorInput, type ITypeCalculatorOutput, type ITypeCalculatorOutputItem, type IVertex, type IViewContext, type IViewInputValue, type IWidget, type IWidgetAction, type IWidgetColumnIndicator, type IWidgetDimension, type IWidgetDimensionHierarchy, type IWidgetEntity, type IWidgetFilter, type IWidgetFiltration, type IWidgetFormatting, type IWidgetIndicator, type IWidgetIndicatorAddButtonProps, type IWidgetManifest, type IWidgetMeasure, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetTable, type IWidgetTableColumn, type TAction, type TActionOnClickParameter, type TActionOpenView, type TActionValidator, type TActionsOnClick, type TAddButton, type TAppearanceSettings, type TBoundedContentWithIndicator, type TColor, 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 TCustomAddButtonSelectOption, type TDefineWidgetOptions, type TDisplayCondition, type TDisplayMode, type TEmptyRecord, type TExtendedFormulaFilterValue, type TFiltrationMode, type TGroupLevelRecord, type TLaunchActionParams, type TMeasureAddButtonSelectOption, type TProcessIndicatorValue, type TRecordAccessor, type TSelectChildOptions, type TSelectFetchOptions, type TSelectivePartial, type TSortDirection, type TSystemVariable, type TUpdateSelection, type TValuePath, type TWidgetActionParameter, type TWidgetContainer, type TWidgetFilterValue, type TWidgetFiltering, type TWidgetLevelRecord, type TWidgetSortingValue, type TWidgetVariable, bindContentWithIndicator, bindContentsWithIndicators, checkDisplayCondition, colors, dashboardLinkRegExp, dimensionTemplateFormulas, escapeSpecialCharacters, eventMeasureTemplateFormulas, fillTemplateString, formattingConfig, formulaFilterMethods, generateColumnFormula, getColorByIndex, getDefaultSortOrders, getDimensionFormula, getDisplayConditionFormula, getEventMeasureFormula, getLocalizedText, getMeasureFormula, getRuleColor, getTransitionMeasureFormula, isDimensionsHierarchy, isExecuteScriptActionValid, isFormulaFilterValue, isValidColor, linkNameRegExp, mapDimensionsToInputs, mapEventMeasuresToInputs, mapFormulaFilterToCalculatorInput, mapFormulaFiltersToInputs, mapMeasuresToInputs, mapSortingToInputs, mapTransitionMeasuresToInputs, measureTemplateFormulas, parseIndicatorLink, prepareSortOrders, prepareValuesForSql, replaceDisplayCondition, replaceFiltersBySelection, replaceHierarchiesWithDimensions, selectDimensionFromHierarchy, transitionMeasureTemplateFormulas, unescapeSpecialCharacters, updateDefaultModeSelection, updateMultiModeSelection, updateSingleModeSelection, workspaceLinkRegExp };
1969
+ export { EActionButtonsTypes, EActionTypes, ECalculatorFilterMethods, EColorMode, EControlType, ECustomSelectTemplates, EDbType, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationUnit, EEventMeasureTemplateNames, EFontWeight, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureTemplateNames, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESortDirection, ESortingValueModes, ESystemRecordKey, ETransitionMeasureTemplateNames, EUnitMode, EViewMode, EViewOpenIn, EWidgetActionInputMethod, EWidgetFilterMode, EWidgetIndicatorType, EWidgetIndicatorValueModes, type IActionGoToUrl, 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 IColoredValue, type ICommonDimensions, type ICommonMeasures, type ICommonState, type IControlRecord, type ICustomAddButtonProps, type ICustomWidgetProps, type IDefinition, type IDimensionSelection, type IDimensionSelectionByFormula, type IDisplayPredicate, type IDisplayRule, type IDivePanelDescription, type IDividerRecord, type IEdge, type IExportColumnOrder, type IFillSettings, 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 ILens, type IMarkdownMeasure, type IMeasureAddButtonProps, type IPanelDescription, type IPanelDescriptionCreator, type IPieCalculator, type IPieCalculatorInput, type IPieCalculatorOutput, type IProcessEventFilterValue, type IProcessEventIndicator, type IProcessGraphCalculator, type IProcessGraphCalculatorInput, type IProcessGraphCalculatorOutput, type IProcessIndicator, type IProcessTransitionFilterValue, type IProcessTransitionIndicator, type IRange, type ISelectBranchOption, type ISelectDividerOption, type ISelectGroupOption, type ISelectLeafOption, type ISelectOption, type ISelectSystemOption, type ISortOrder, type ISortingAddButtonProps, type IStagesFilterValue, type ITwoLimitsCalculator, type ITwoLimitsCalculatorExportInput, type ITwoLimitsCalculatorInput, type ITwoLimitsCalculatorOutput, type ITypeCalculator, type ITypeCalculatorInput, type ITypeCalculatorOutput, type ITypeCalculatorOutputItem, type IVertex, type IViewContext, type IViewInputValue, type IWidget, type IWidgetAction, type IWidgetColumnIndicator, type IWidgetDimension, type IWidgetDimensionHierarchy, type IWidgetEntity, type IWidgetFilter, type IWidgetFiltration, type IWidgetFormatting, type IWidgetIndicator, type IWidgetIndicatorAddButtonProps, type IWidgetManifest, type IWidgetMeasure, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetTable, type IWidgetTableColumn, type TAction, type TActionOnClickParameter, type TActionOpenView, type TActionValidator, type TActionsOnClick, type TAddButton, type TAppearanceSettings, type TBoundedContentWithIndicator, type TColor, 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 TCustomAddButtonSelectOption, type TDefineWidgetOptions, type TDisplayCondition, type TDisplayMode, type TEmptyRecord, type TExtendedFormulaFilterValue, type TFiltrationMode, type TGroupLevelRecord, type TLaunchActionParams, type TMeasureAddButtonSelectOption, type TProcessIndicatorValue, type TRecordAccessor, type TSelectChildOptions, type TSelectFetchOptions, type TSelectivePartial, type TSortDirection, type TSystemVariable, type TUpdateSelection, type TValuePath, type TWidgetActionParameter, type TWidgetContainer, type TWidgetDimensionData, type TWidgetFilterValue, type TWidgetFiltering, type TWidgetIndicatorData, type TWidgetLevelRecord, type TWidgetSortingValue, type TWidgetVariable, bindContentWithIndicator, bindContentsWithIndicators, checkDisplayCondition, colors, dashboardLinkRegExp, dimensionTemplateFormulas, escapeSpecialCharacters, eventMeasureTemplateFormulas, fillTemplateString, formattingConfig, formulaFilterMethods, generateColumnFormula, getColorByIndex, getDefaultSortOrders, getDimensionFormula, getDisplayConditionFormula, getEventMeasureFormula, getLocalizedText, getMeasureFormula, getRuleColor, getTransitionMeasureFormula, isDimensionsHierarchy, isExecuteScriptActionValid, isFormulaFilterValue, isValidColor, linkNameRegExp, mapDimensionsToInputs, mapEventMeasuresToInputs, mapFormulaFilterToCalculatorInput, mapFormulaFiltersToInputs, mapMeasuresToInputs, mapSortingToInputs, mapTransitionMeasuresToInputs, measureTemplateFormulas, parseIndicatorLink, prepareSortOrders, prepareValuesForSql, replaceDisplayCondition, replaceFiltersBySelection, replaceHierarchiesWithDimensions, selectDimensionFromHierarchy, transitionMeasureTemplateFormulas, unescapeSpecialCharacters, updateDefaultModeSelection, updateMultiModeSelection, updateSingleModeSelection, workspaceLinkRegExp };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "4.5.0",
3
+ "version": "4.7.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",