@infomaximum/widget-sdk 4.6.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 +111 -96
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1361,6 +1361,98 @@ interface ICalculatorFactory {
1361
1361
  type: () => ITypeCalculator;
1362
1362
  }
1363
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
+
1364
1456
  interface ILens<T extends TNullable<object>, Value> {
1365
1457
  get(obj: T): TNullable<Value>;
1366
1458
  set(obj: T, value: Value): void;
@@ -1468,6 +1560,16 @@ type TAddButton = {
1468
1560
  };
1469
1561
  interface IGroupSettings extends IAutoIdentifiedArrayItem, Record<string, any> {
1470
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;
1471
1573
  /**
1472
1574
  * Конфигурация набора групп настроек.
1473
1575
  *
@@ -1488,13 +1590,18 @@ interface IGroupSetDescription<Settings extends object, GroupSettings extends ob
1488
1590
  /** Получить название, отображаемое на плашке (по умолчанию используется поле name из группы) */
1489
1591
  getGroupTitle?(group: IGroupSettings): string;
1490
1592
  /**
1491
- * Получить тип показателя для группы, если группа описывает системный показатель.
1593
+ * @deprecated Необходимо использовать {@link IGroupSetDescription.getIndicatorData }.
1594
+ */
1595
+ getType?: (settings: IInitialSettings) => EWidgetIndicatorType;
1596
+ /**
1597
+ * Получить описание показателя для группы, если группа описывает системный показатель.
1492
1598
  *
1493
- * Тип будет использоваться для:
1599
+ * Описание может использоваться для:
1494
1600
  * - отображения иконки показателя на плашке.
1495
1601
  * - предустановленного мета-описания показателя.
1602
+ * - содержимого выпадающего списка.
1496
1603
  */
1497
- getType?: (settings: IInitialSettings) => EWidgetIndicatorType;
1604
+ getIndicatorData?: (settings: IInitialSettings) => EWidgetIndicatorType | TWidgetIndicatorData;
1498
1605
  /** Создать конфигурацию группы для вкладки настроек данных */
1499
1606
  createDataRecords?(group: IGroupSettings): TGroupLevelRecord<GroupSettings>[];
1500
1607
  /** Создать конфигурацию группы для вкладки настроек отображения */
@@ -1826,98 +1933,6 @@ interface IWidgetEntity<WidgetSettings extends IBaseWidgetSettings, GroupSetting
1826
1933
  definition: IDefinition<WidgetSettings, GroupSettings>;
1827
1934
  }
1828
1935
 
1829
- declare function generateColumnFormula(tableName: string, columnName: string): string;
1830
- declare function fillTemplateString(templateString: string, params: Record<string, any>): string;
1831
-
1832
- declare enum EDimensionTemplateNames {
1833
- dateTime = "dateTime",
1834
- date = "date",
1835
- year = "year",
1836
- yearAndQuarter = "yearAndQuarter",
1837
- quarter = "quarter",
1838
- yearAndMonth = "yearAndMonth",
1839
- dayOfMonth = "dayOfMonth",
1840
- month = "month",
1841
- week = "week",
1842
- dayOfWeek = "dayOfWeek",
1843
- hour = "hour"
1844
- }
1845
- declare const dimensionTemplateFormulas: {
1846
- readonly dateTime: "toDateTime({columnFormula})";
1847
- readonly date: "toDate({columnFormula})";
1848
- readonly year: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toYear({columnFormula}))";
1849
- readonly yearAndQuarter: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toYear({columnFormula}) * 10 + toQuarter({columnFormula}))";
1850
- readonly quarter: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toQuarter({columnFormula}))";
1851
- readonly yearAndMonth: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toYYYYMM({columnFormula}))";
1852
- readonly month: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toMonth({columnFormula}))";
1853
- readonly dayOfMonth: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toDayOfMonth({columnFormula}))";
1854
- readonly week: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toWeek({columnFormula}))";
1855
- readonly dayOfWeek: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toDayOfWeek({columnFormula}))";
1856
- readonly hour: "if(defaultValueOfArgumentType({columnFormula}) = {columnFormula}, 0, toHour({columnFormula}))";
1857
- };
1858
- declare function getDimensionFormula({ value }: IWidgetDimension): string;
1859
-
1860
- declare enum EMeasureTemplateNames {
1861
- avg = "avg",
1862
- median = "median",
1863
- count = "count",
1864
- countDistinct = "countDistinct",
1865
- min = "min",
1866
- max = "max",
1867
- sum = "sum"
1868
- }
1869
- declare const measureTemplateFormulas: {
1870
- readonly avg: "avg({columnFormula})";
1871
- readonly count: "count({columnFormula})";
1872
- readonly countDistinct: "count(distinct {columnFormula})";
1873
- readonly median: "medianExact({columnFormula})";
1874
- readonly min: "min({columnFormula})";
1875
- readonly max: "max({columnFormula})";
1876
- readonly sum: "sum({columnFormula})";
1877
- };
1878
- declare function getMeasureFormula({ value }: IWidgetMeasure): string;
1879
-
1880
- declare enum EEventMeasureTemplateNames {
1881
- eventsCount = "eventsCount",
1882
- reworksCount = "reworksCount"
1883
- }
1884
- declare const eventMeasureTemplateFormulas: {
1885
- readonly eventsCount: "count()";
1886
- readonly reworksCount: "count() - uniqExact({caseCaseIdFormula})";
1887
- };
1888
- declare function getEventMeasureFormula({ value }: IProcessIndicator, process: IWidgetProcess): string;
1889
-
1890
- declare enum ETransitionMeasureTemplateNames {
1891
- transitionsCount = "transitionsCount",
1892
- medianTime = "medianTime"
1893
- }
1894
- declare const transitionMeasureTemplateFormulas: {
1895
- readonly transitionsCount: "count()";
1896
- readonly medianTime: "medianExact(date_diff(second, begin({eventTimeFormula}), end({eventTimeFormula})))";
1897
- };
1898
- declare function getTransitionMeasureFormula({ value }: IProcessIndicator, process: IWidgetProcess): string;
1899
-
1900
- /**
1901
- * Регулярное выражение для поиска имени ссылки внутри формулы.
1902
- * Учитывает, что имя внутри формулы содержит экраны.
1903
- *
1904
- * Принцип работы:
1905
- * Пробовать следующие вхождения:
1906
- * - \\\\ - экранированный символ обратного слэша.
1907
- * - Иначе \\" - экранированный символ кавычки.
1908
- * - Иначе [^"] - любой символ кроме кавычки.
1909
- * Если встречается любой другой символ, то это закрывающая кавычка имени переменной.
1910
- */
1911
- declare const linkNameRegExp = "(?:\\\\\\\\|\\\\\"|[^\"])+";
1912
- declare const dashboardLinkRegExp: RegExp;
1913
- declare const workspaceLinkRegExp: RegExp;
1914
- interface IIndicatorLink {
1915
- /** string - имя группы пространства, null - используется текущий отчет */
1916
- scopeName: string | null;
1917
- indicatorName: string;
1918
- }
1919
- declare const parseIndicatorLink: (formula: string) => IIndicatorLink | null;
1920
-
1921
1936
  interface IDimensionSelection {
1922
1937
  values: Set<string | null>;
1923
1938
  replacedFilter: ICalculatorFilter | null;
@@ -1951,4 +1966,4 @@ declare global {
1951
1966
  }
1952
1967
  }
1953
1968
 
1954
- 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.6.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",