@infomaximum/widget-sdk 4.0.0-beta57 → 4.0.0-beta59
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/dist/index.d.ts +185 -226
- package/dist/index.esm.js +195 -106
- package/dist/index.js +201 -106
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { EFilteringMethodValues } from '@infomaximum/base-filter';
|
|
|
4
4
|
|
|
5
5
|
type TNullable<T> = T | null | undefined;
|
|
6
6
|
type valueof<T> = T[keyof T];
|
|
7
|
+
type StringKeyOf<T> = Exclude<keyof T, number | symbol>;
|
|
7
8
|
|
|
8
9
|
declare enum ESimpleDataType {
|
|
9
10
|
OTHER = "OTHER",
|
|
@@ -32,8 +33,6 @@ declare enum EControlType {
|
|
|
32
33
|
typedFormula = "typedFormula",
|
|
33
34
|
inputRange = "inputRange",
|
|
34
35
|
colorPicker = "colorPicker",
|
|
35
|
-
/** @deprecated - удалится в ближайшее время */
|
|
36
|
-
filterMode = "filterMode",
|
|
37
36
|
displayCondition = "displayCondition",
|
|
38
37
|
eventsColor = "eventsColor",
|
|
39
38
|
inputMarkdown = "inputMarkdown",
|
|
@@ -81,21 +80,15 @@ interface ICalculatorIndicatorInput {
|
|
|
81
80
|
}
|
|
82
81
|
interface ICalculatorIndicatorOutput {
|
|
83
82
|
values: (string | null)[];
|
|
84
|
-
dataType: ESimpleDataType;
|
|
85
|
-
isArrayDataType: boolean;
|
|
86
83
|
}
|
|
87
84
|
interface ICalculatorDimensionInput extends ICalculatorIndicatorInput {
|
|
88
85
|
formula: string;
|
|
89
86
|
hideEmpty?: boolean;
|
|
90
|
-
/** Временно поддерживается обратная совместимость с форматом { alias: string; formula: string }[] */
|
|
91
|
-
/** Появилась необходимость в ленточном графике, т.к. разрез длительность используется, как мера */
|
|
92
|
-
additionalFormulas?: Map<string, string>;
|
|
93
87
|
}
|
|
94
88
|
interface ICalculatorDimensionOutput extends ICalculatorIndicatorOutput {
|
|
95
89
|
}
|
|
96
90
|
interface ICalculatorMeasureInput extends ICalculatorIndicatorInput {
|
|
97
91
|
mainFormula: string;
|
|
98
|
-
/** Временно поддерживается обратная совместимость с форматом { alias: string; formula: string }[] */
|
|
99
92
|
additionalFormulas?: Map<string, string>;
|
|
100
93
|
}
|
|
101
94
|
interface ICalculatorMeasureOutput extends ICalculatorIndicatorOutput {
|
|
@@ -169,7 +162,7 @@ declare enum EFormatTypes {
|
|
|
169
162
|
}
|
|
170
163
|
declare enum EFormattingPresets {
|
|
171
164
|
"AUTO" = "AUTO",
|
|
172
|
-
"
|
|
165
|
+
"CUSTOM" = "CUSTOM",
|
|
173
166
|
"DD/M/YYYY" = "DD/M/YYYY",
|
|
174
167
|
"DD-MM-YYYY" = "DD-MM-YYYY",
|
|
175
168
|
"DD-MM-YY" = "DD-MM-YY",
|
|
@@ -302,18 +295,6 @@ declare enum EProcessFilterNames {
|
|
|
302
295
|
/** Длительность перехода */
|
|
303
296
|
durationOfTransition = "durationOfTransition"
|
|
304
297
|
}
|
|
305
|
-
/** @deprecated необходимо использовать @see {@link IFormulaFilterValue} */
|
|
306
|
-
interface IWidgetFormulaFilterValue extends ICalculatorFilter {
|
|
307
|
-
/**
|
|
308
|
-
* Название фильтра
|
|
309
|
-
* @deprecated необходимо использовать @see {@link IWidgetFormulaFilterValue.name}
|
|
310
|
-
*/
|
|
311
|
-
caption?: TNullable<string>;
|
|
312
|
-
/** Название фильтра */
|
|
313
|
-
name: TNullable<string>;
|
|
314
|
-
/** Формат */
|
|
315
|
-
format?: EFormatTypes;
|
|
316
|
-
}
|
|
317
298
|
interface IProcessFilterValue {
|
|
318
299
|
/**
|
|
319
300
|
* События, доступные при выборе процесса.
|
|
@@ -419,7 +400,7 @@ interface IWidgetFiltration {
|
|
|
419
400
|
preparedFilterValues: ICalculatorFilter[];
|
|
420
401
|
filters: IWidgetFilter[];
|
|
421
402
|
/** Добавить фильтр по формуле */
|
|
422
|
-
addFormulaFilter(value:
|
|
403
|
+
addFormulaFilter(value: TSelectivePartial<IFormulaFilterValue, "format" | "formValues">): void;
|
|
423
404
|
/** Удалить фильтр по формуле */
|
|
424
405
|
removeFormulaFilter(formula: string): void;
|
|
425
406
|
addProcessFilter(...args: Parameters<IAddPresenceOfEventFilter> | Parameters<IAddRepetitionOfEventFilter> | Parameters<IAddPresenceOfTransitionFilter> | Parameters<IAddDurationOfTransitionFilter>): void;
|
|
@@ -443,65 +424,10 @@ type TWidgetFiltering = {
|
|
|
443
424
|
ignore: false;
|
|
444
425
|
mode: EWidgetFilterMode;
|
|
445
426
|
};
|
|
446
|
-
declare enum EColorMode {
|
|
447
|
-
DISABLED = "DISABLED",
|
|
448
|
-
FORMULA = "FORMULA",
|
|
449
|
-
BASE = "BASE",
|
|
450
|
-
GRADIENT = "GRADIENT",
|
|
451
|
-
AUTO = "AUTO",
|
|
452
|
-
RULE = "RULE",
|
|
453
|
-
VALUES = "VALUES",
|
|
454
|
-
BY_DIMENSION = "BY_DIMENSION"
|
|
455
|
-
}
|
|
456
|
-
type TColorBase = {
|
|
457
|
-
mode: EColorMode.BASE;
|
|
458
|
-
value?: string;
|
|
459
|
-
defaultColor?: string;
|
|
460
|
-
};
|
|
461
|
-
declare enum EColorScope {
|
|
462
|
-
WORKSPACE = "WORKSPACE",
|
|
463
|
-
DASHBOARD = "DASHBOARD"
|
|
464
|
-
}
|
|
465
|
-
type TColorRuleCommon = {
|
|
466
|
-
mode: EColorMode.RULE;
|
|
467
|
-
ruleName: string;
|
|
468
|
-
};
|
|
469
|
-
type TColorRule = ({
|
|
470
|
-
scope: EColorScope.DASHBOARD | null;
|
|
471
|
-
} | {
|
|
472
|
-
scope: EColorScope.WORKSPACE;
|
|
473
|
-
workspaceGroupId: number | null;
|
|
474
|
-
}) & TColorRuleCommon;
|
|
475
|
-
interface IColoredValue {
|
|
476
|
-
value: string;
|
|
477
|
-
color: TColorBase | TColorRule;
|
|
478
|
-
}
|
|
479
427
|
declare enum EMarkdownDisplayMode {
|
|
480
428
|
NONE = "NONE",
|
|
481
429
|
INDICATOR = "INDICATOR"
|
|
482
430
|
}
|
|
483
|
-
/** Настройка цвета */
|
|
484
|
-
type TColor = {
|
|
485
|
-
mode: EColorMode.FORMULA;
|
|
486
|
-
formula: string;
|
|
487
|
-
} | TColorBase | {
|
|
488
|
-
mode: EColorMode.GRADIENT;
|
|
489
|
-
startValue: string;
|
|
490
|
-
endValue: string;
|
|
491
|
-
classCount?: TNullable<number>;
|
|
492
|
-
} | {
|
|
493
|
-
mode: EColorMode.AUTO;
|
|
494
|
-
} | TColorRule | {
|
|
495
|
-
mode: EColorMode.VALUES;
|
|
496
|
-
dimensionFormula: string;
|
|
497
|
-
items: IColoredValue[];
|
|
498
|
-
} | {
|
|
499
|
-
mode: EColorMode.BY_DIMENSION;
|
|
500
|
-
dimensionName: string;
|
|
501
|
-
items: IColoredValue[];
|
|
502
|
-
} | {
|
|
503
|
-
mode: EColorMode.DISABLED;
|
|
504
|
-
};
|
|
505
431
|
declare enum EDisplayConditionMode {
|
|
506
432
|
DISABLED = "DISABLED",
|
|
507
433
|
FORMULA = "FORMULA",
|
|
@@ -567,10 +493,7 @@ type TDisplayMode = "preview" | "full";
|
|
|
567
493
|
interface IDisplayRule {
|
|
568
494
|
color: TColor;
|
|
569
495
|
}
|
|
570
|
-
interface
|
|
571
|
-
groupName: string;
|
|
572
|
-
}
|
|
573
|
-
interface IWidgetsContext {
|
|
496
|
+
interface IGlobalContext {
|
|
574
497
|
/** используемый язык в системе */
|
|
575
498
|
language: ELanguages;
|
|
576
499
|
processes: Map<string, IWidgetProcess>;
|
|
@@ -578,29 +501,105 @@ interface IWidgetsContext {
|
|
|
578
501
|
workspaceMeasures: TNullable<Map<string, ICommonMeasures>>;
|
|
579
502
|
reportDimensions: TNullable<Map<string, ICommonDimensions>>;
|
|
580
503
|
workspaceDimensions: TNullable<Map<string, Map<string, ICommonDimensions>>>;
|
|
504
|
+
/** @deprecated удалить после окончания поддержки миграций BI-13650 */
|
|
505
|
+
workspaceGroupNameById: Map<number, string>;
|
|
581
506
|
/** Переменные отчета */
|
|
582
507
|
variables: Map<string, TWidgetVariable>;
|
|
583
508
|
/** Метод установки значения переменной отчета */
|
|
584
509
|
setVariableValue(name: string, value: TNullable<string> | string[]): void;
|
|
585
510
|
states: Map<string, ICommonState>;
|
|
586
511
|
reportName: string;
|
|
587
|
-
/**
|
|
588
|
-
* режим дашборда
|
|
589
|
-
* @deprecated 2401 - необходимо использовать displayMode */
|
|
590
|
-
isViewMode: boolean;
|
|
591
512
|
/** Режим отображения виджета */
|
|
592
513
|
displayMode: TDisplayMode;
|
|
593
|
-
/** @deprecated необходимо получать из системной переменной "Login" */
|
|
594
|
-
userLogin: string;
|
|
595
514
|
scripts: Map<string, IActionScript>;
|
|
596
515
|
tables: Set<string>;
|
|
597
516
|
filtrationMode: TFiltrationMode;
|
|
598
517
|
reportDisplayRules: Map<string, IDisplayRule>;
|
|
599
|
-
workspaceDisplayRules: Map<
|
|
518
|
+
workspaceDisplayRules: Map<string, Map<string, IDisplayRule>>;
|
|
600
519
|
viewNameByKey: Map<string, string>;
|
|
601
520
|
fetchColumnsByTableName(tableName: string): Promise<IWidgetTableColumn[] | undefined>;
|
|
602
521
|
}
|
|
603
522
|
|
|
523
|
+
declare enum EColorMode {
|
|
524
|
+
/** Окрашивание отключено */
|
|
525
|
+
DISABLED = "DISABLED",
|
|
526
|
+
/** Цвет каждого значения вычисляется по формуле */
|
|
527
|
+
FORMULA = "FORMULA",
|
|
528
|
+
/** Один цвет для всех значений */
|
|
529
|
+
BASE = "BASE",
|
|
530
|
+
/** Окрашивание каждого значения по градиенту относительно минимального и максимального значений */
|
|
531
|
+
GRADIENT = "GRADIENT",
|
|
532
|
+
/** Использовать автоматический цвет: по умолчанию определяется порядковым номером показателя */
|
|
533
|
+
AUTO = "AUTO",
|
|
534
|
+
/** Использовать цвет из правила отображения (в правиле отображения рекурсивно определен цвет) */
|
|
535
|
+
RULE = "RULE",
|
|
536
|
+
/** Задать цвет конкретным значениям разреза */
|
|
537
|
+
VALUES = "VALUES",
|
|
538
|
+
/** Задать цвет конкретным значениям общего разреза. Режим используется только для настроек правила отображения */
|
|
539
|
+
BY_DIMENSION = "BY_DIMENSION"
|
|
540
|
+
}
|
|
541
|
+
type TColorBase = {
|
|
542
|
+
mode: EColorMode.BASE;
|
|
543
|
+
value?: string;
|
|
544
|
+
};
|
|
545
|
+
type TColorRule = {
|
|
546
|
+
mode: EColorMode.RULE;
|
|
547
|
+
formula: string;
|
|
548
|
+
};
|
|
549
|
+
interface IColoredValue {
|
|
550
|
+
value: string;
|
|
551
|
+
color: TColorBase | TColorRule;
|
|
552
|
+
}
|
|
553
|
+
/** Настройка цвета */
|
|
554
|
+
type TColor = {
|
|
555
|
+
mode: EColorMode.FORMULA;
|
|
556
|
+
formula: string;
|
|
557
|
+
} | TColorBase | {
|
|
558
|
+
mode: EColorMode.GRADIENT;
|
|
559
|
+
startValue: string;
|
|
560
|
+
endValue: string;
|
|
561
|
+
classCount?: TNullable<number>;
|
|
562
|
+
} | {
|
|
563
|
+
mode: EColorMode.AUTO;
|
|
564
|
+
} | TColorRule | {
|
|
565
|
+
mode: EColorMode.VALUES;
|
|
566
|
+
items: IColoredValue[];
|
|
567
|
+
} | {
|
|
568
|
+
mode: EColorMode.BY_DIMENSION;
|
|
569
|
+
/** Имя разреза из области видимости правила отображения */
|
|
570
|
+
dimensionName: string;
|
|
571
|
+
items: IColoredValue[];
|
|
572
|
+
} | {
|
|
573
|
+
mode: EColorMode.DISABLED;
|
|
574
|
+
};
|
|
575
|
+
declare const getRuleColor: (ruleFormula: string, globalContext: Pick<IGlobalContext, "reportDisplayRules" | "workspaceDisplayRules">) => TColor | undefined;
|
|
576
|
+
declare const isValidColor: (color: TColor, globalContext: Pick<IGlobalContext, "reportDisplayRules" | "workspaceDisplayRules">) => boolean;
|
|
577
|
+
|
|
578
|
+
interface IAutoIdentifiedArrayItem {
|
|
579
|
+
/**
|
|
580
|
+
* Идентификатор, добавляемый системой "на лету" для удобства разработки, не сохраняется на сервер.
|
|
581
|
+
* Гарантируется уникальность id в пределах settings виджета.
|
|
582
|
+
*/
|
|
583
|
+
id: number;
|
|
584
|
+
}
|
|
585
|
+
interface IBaseWidgetSettings {
|
|
586
|
+
title?: string;
|
|
587
|
+
titleSize?: number;
|
|
588
|
+
titleColor?: TColor;
|
|
589
|
+
titleWeight?: EFontWeight;
|
|
590
|
+
stateName?: string | null;
|
|
591
|
+
showMarkdown?: boolean;
|
|
592
|
+
markdownMeasures?: IMarkdownMeasure[];
|
|
593
|
+
markdownText?: string;
|
|
594
|
+
filters?: TExtendedFormulaFilterValue[];
|
|
595
|
+
filterMode?: EWidgetFilterMode;
|
|
596
|
+
ignoreFilters?: boolean;
|
|
597
|
+
sorting?: IWidgetSortingIndicator[];
|
|
598
|
+
actions?: IWidgetAction[];
|
|
599
|
+
displayCondition?: TDisplayCondition;
|
|
600
|
+
displayConditionComment?: string;
|
|
601
|
+
}
|
|
602
|
+
|
|
604
603
|
declare enum EWidgetActionInputMethod {
|
|
605
604
|
COLUMN = "COLUMN",
|
|
606
605
|
VARIABLE = "VARIABLE",
|
|
@@ -677,15 +676,11 @@ interface IWidgetActionParameterCommon {
|
|
|
677
676
|
isHidden: boolean;
|
|
678
677
|
}
|
|
679
678
|
type TWidgetActionParameter = IWidgetActionParameterCommon & (IParameterFromColumn | IParameterFromVariable | IParameterFromFormula | IParameterFromManualInput | IParameterFromStaticList | IParameterFromDynamicList);
|
|
680
|
-
interface IActionOnClickParameterCommon {
|
|
681
|
-
/** @deprecated удалить [BI-13546] */
|
|
682
|
-
id: number;
|
|
679
|
+
interface IActionOnClickParameterCommon extends IAutoIdentifiedArrayItem {
|
|
683
680
|
name: string;
|
|
684
681
|
}
|
|
685
682
|
type TActionOnClickParameter = IActionOnClickParameterCommon & (IParameterFromColumn | IParameterFromVariable | IParameterFromFormula | IParameterFromEvent | IParameterFromStartEvent | IParameterFromEndEvent);
|
|
686
|
-
interface IActionCommon {
|
|
687
|
-
/** @deprecated удалить [BI-13546] */
|
|
688
|
-
id: number;
|
|
683
|
+
interface IActionCommon extends IAutoIdentifiedArrayItem {
|
|
689
684
|
name: string;
|
|
690
685
|
}
|
|
691
686
|
interface IActionGoToUrl extends IActionCommon {
|
|
@@ -741,7 +736,7 @@ interface IWidgetAction extends IActionCommon {
|
|
|
741
736
|
type TAction = TActionsOnClick | IWidgetAction;
|
|
742
737
|
declare const isExecuteScriptActionValid: (action: Extract<TAction, {
|
|
743
738
|
type: EActionTypes.EXECUTE_SCRIPT;
|
|
744
|
-
}>, { scripts, tables, variables }:
|
|
739
|
+
}>, { scripts, tables, variables }: Pick<IGlobalContext, "scripts" | "tables" | "variables">) => boolean;
|
|
745
740
|
|
|
746
741
|
declare enum ESortDirection {
|
|
747
742
|
descend = "DESC",
|
|
@@ -755,22 +750,13 @@ interface ISortOrder {
|
|
|
755
750
|
direction: TSortDirection;
|
|
756
751
|
displayCondition?: TNullable<string>;
|
|
757
752
|
}
|
|
758
|
-
type TWidgetSortingValueRelatedWidgetMeasure = {
|
|
759
|
-
mode: ESortingValueModes.MEASURE_IN_WIDGET;
|
|
760
|
-
index: number;
|
|
761
|
-
};
|
|
762
|
-
type TWidgetSortingValueRelatedWidgetDimension = {
|
|
763
|
-
mode: ESortingValueModes.DIMENSION_IN_WIDGET | ESortingValueModes.HIERARCHY;
|
|
764
|
-
index: number;
|
|
765
|
-
};
|
|
766
|
-
type TWidgetSortingValueRelatedWidgetIndicator = TWidgetSortingValueRelatedWidgetMeasure | TWidgetSortingValueRelatedWidgetDimension;
|
|
767
753
|
type TWidgetSortingValue = {
|
|
768
|
-
mode: ESortingValueModes.FORMULA
|
|
769
|
-
formula: string;
|
|
770
|
-
} | TWidgetSortingValueRelatedWidgetIndicator | {
|
|
771
|
-
mode: ESortingValueModes.IN_DASHBOARD | ESortingValueModes.IN_WORKSPACE;
|
|
772
|
-
name: string;
|
|
754
|
+
mode: ESortingValueModes.FORMULA;
|
|
773
755
|
formula: string;
|
|
756
|
+
} | {
|
|
757
|
+
mode: ESortingValueModes.IN_WIDGET;
|
|
758
|
+
group: string;
|
|
759
|
+
index: number;
|
|
774
760
|
};
|
|
775
761
|
|
|
776
762
|
declare enum EWidgetIndicatorType {
|
|
@@ -778,18 +764,13 @@ declare enum EWidgetIndicatorType {
|
|
|
778
764
|
EVENT_INDICATOR = "EVENT_INDICATOR",
|
|
779
765
|
TRANSITION_INDICATOR = "TRANSITION_INDICATOR",
|
|
780
766
|
DIMENSION = "DIMENSION",
|
|
781
|
-
|
|
782
|
-
SORTING = "SORTING",
|
|
783
|
-
CUSTOM = "CUSTOM"
|
|
767
|
+
SORTING = "SORTING"
|
|
784
768
|
}
|
|
785
769
|
declare enum EDbType {
|
|
786
770
|
CH = "CH",
|
|
787
771
|
HADOOP = "HADOOP"
|
|
788
772
|
}
|
|
789
|
-
interface IWidgetIndicator {
|
|
790
|
-
/** Идентификатор, генерируемый на основе текущего времени */
|
|
791
|
-
id: number;
|
|
792
|
-
type: EWidgetIndicatorType;
|
|
773
|
+
interface IWidgetIndicator extends IAutoIdentifiedArrayItem {
|
|
793
774
|
name: string;
|
|
794
775
|
}
|
|
795
776
|
type TProcessIndicatorValue = {
|
|
@@ -816,10 +797,8 @@ interface IProcessIndicator extends IWidgetIndicator {
|
|
|
816
797
|
displayCondition?: TDisplayCondition;
|
|
817
798
|
}
|
|
818
799
|
interface IProcessEventIndicator extends IProcessIndicator {
|
|
819
|
-
type: EWidgetIndicatorType.EVENT_INDICATOR;
|
|
820
800
|
}
|
|
821
801
|
interface IProcessTransitionIndicator extends IProcessIndicator {
|
|
822
|
-
type: EWidgetIndicatorType.TRANSITION_INDICATOR;
|
|
823
802
|
}
|
|
824
803
|
/** Индикатор для сортировки */
|
|
825
804
|
interface IWidgetSortingIndicator extends IWidgetIndicator {
|
|
@@ -837,18 +816,8 @@ declare enum EWidgetIndicatorValueModes {
|
|
|
837
816
|
declare enum ESortingValueModes {
|
|
838
817
|
/** Сортировка по формуле */
|
|
839
818
|
FORMULA = "FORMULA",
|
|
840
|
-
/**
|
|
841
|
-
|
|
842
|
-
/** @deprecated Для сортировки по иерархии используется режим DIMENSION_IN_WIDGET */
|
|
843
|
-
HIERARCHY = "HIERARCHY",
|
|
844
|
-
/** Сортировка по мере виджета */
|
|
845
|
-
MEASURE_IN_WIDGET = "MEASURE_IN_WIDGET",
|
|
846
|
-
/** Сортировка по разрезу(в т.ч. по иерархии) виджета */
|
|
847
|
-
DIMENSION_IN_WIDGET = "DIMENSION_IN_WIDGET",
|
|
848
|
-
/** Сортировка по мере отчета */
|
|
849
|
-
IN_DASHBOARD = "IN_DASHBOARD",
|
|
850
|
-
/** Сортировка по мере пространства */
|
|
851
|
-
IN_WORKSPACE = "IN_WORKSPACE"
|
|
819
|
+
/** Сортировка по показателю(разрезу или мере) виджета */
|
|
820
|
+
IN_WIDGET = "IN_WIDGET"
|
|
852
821
|
}
|
|
853
822
|
interface ICommonState {
|
|
854
823
|
name: string;
|
|
@@ -893,24 +862,19 @@ interface IWidgetColumnIndicator extends IWidgetIndicator {
|
|
|
893
862
|
displayCondition?: TDisplayCondition;
|
|
894
863
|
onclick?: TActionsOnClick[];
|
|
895
864
|
}
|
|
896
|
-
interface IWidgetDimensionHierarchy<D extends IWidgetDimension = IWidgetDimension> {
|
|
897
|
-
/** Идентификатор, генерируемый на основе текущего времени */
|
|
898
|
-
id: number;
|
|
899
|
-
type: EWidgetIndicatorType.DIMENSION_HIERARCHY;
|
|
865
|
+
interface IWidgetDimensionHierarchy<D extends IWidgetDimension = IWidgetDimension> extends IAutoIdentifiedArrayItem {
|
|
900
866
|
name: string;
|
|
901
|
-
|
|
867
|
+
hierarchyDimensions: D[];
|
|
902
868
|
displayCondition?: TDisplayCondition;
|
|
903
869
|
}
|
|
904
870
|
interface IWidgetDimension extends IWidgetColumnIndicator {
|
|
905
|
-
type: EWidgetIndicatorType.DIMENSION;
|
|
906
871
|
hideEmptyValues: boolean;
|
|
907
872
|
}
|
|
908
873
|
interface IWidgetMeasure extends IWidgetColumnIndicator {
|
|
909
|
-
type: EWidgetIndicatorType.MEASURE;
|
|
910
874
|
}
|
|
911
875
|
interface IMarkdownMeasure extends IWidgetMeasure {
|
|
912
876
|
format: EFormatTypes;
|
|
913
|
-
|
|
877
|
+
displaySign: EMarkdownDisplayMode;
|
|
914
878
|
}
|
|
915
879
|
/** Тип показателя */
|
|
916
880
|
declare enum EIndicatorType {
|
|
@@ -981,25 +945,7 @@ type TWidgetVariable = {
|
|
|
981
945
|
/** @deprecated удалить после выполнения BI-13602, задача BI-13650 */
|
|
982
946
|
guid: string;
|
|
983
947
|
};
|
|
984
|
-
declare function
|
|
985
|
-
|
|
986
|
-
interface IBaseWidgetSettings {
|
|
987
|
-
title?: string;
|
|
988
|
-
titleSize?: number;
|
|
989
|
-
titleColor?: TColor;
|
|
990
|
-
titleWeight?: EFontWeight;
|
|
991
|
-
stateName?: string | null;
|
|
992
|
-
showMarkdown?: boolean;
|
|
993
|
-
markdownMeasures?: IMarkdownMeasure[];
|
|
994
|
-
markdownText?: string;
|
|
995
|
-
filters?: TExtendedFormulaFilterValue[];
|
|
996
|
-
filterMode?: EWidgetFilterMode;
|
|
997
|
-
ignoreFilters?: boolean;
|
|
998
|
-
sorting?: IWidgetSortingIndicator[];
|
|
999
|
-
actions?: IWidgetAction[];
|
|
1000
|
-
displayCondition?: TDisplayCondition;
|
|
1001
|
-
displayConditionComment?: string;
|
|
1002
|
-
}
|
|
948
|
+
declare function isDimensionsHierarchy(indicator: IWidgetColumnIndicator): indicator is IWidgetDimensionHierarchy;
|
|
1003
949
|
|
|
1004
950
|
/** Формат входного параметра GeneralCalculator */
|
|
1005
951
|
interface IBaseDimensionsAndMeasuresCalculatorInput {
|
|
@@ -1017,12 +963,8 @@ interface IBaseDimensionsAndMeasuresCalculatorInput {
|
|
|
1017
963
|
dimensionsLimit?: number;
|
|
1018
964
|
/** Удалять ли строки, в которых значения всех мер пустые */
|
|
1019
965
|
isHideEmptyMeasures?: boolean;
|
|
1020
|
-
/**
|
|
1021
|
-
|
|
1022
|
-
* todo: widgets - удалить вариант с Map, т.к. при сортировке важен порядок элементов,
|
|
1023
|
-
* правильнее будет указывать его явно через массив.
|
|
1024
|
-
*/
|
|
1025
|
-
sortOrders?: ISortOrder[] | Map<string, TSortDirection>;
|
|
966
|
+
/** Сортировка */
|
|
967
|
+
sortOrders?: ISortOrder[];
|
|
1026
968
|
/** Формула условия отображения */
|
|
1027
969
|
displayConditionFormula?: TNullable<string>;
|
|
1028
970
|
}
|
|
@@ -1144,12 +1086,8 @@ interface ITwoLimitsCalculatorInput {
|
|
|
1144
1086
|
measuresLimit?: number;
|
|
1145
1087
|
/** Удалять ли строки, в которых значения всех мер пустые */
|
|
1146
1088
|
isHideEmptyMeasures?: boolean;
|
|
1147
|
-
/**
|
|
1148
|
-
|
|
1149
|
-
* todo: widgets - удалить вариант с Map, т.к. при сортировке важен порядок элементов,
|
|
1150
|
-
* правильнее будет указывать его явно через массив.
|
|
1151
|
-
*/
|
|
1152
|
-
sortOrders?: ISortOrder[] | Map<string, TSortDirection>;
|
|
1089
|
+
/** Сортировка */
|
|
1090
|
+
sortOrders?: ISortOrder[];
|
|
1153
1091
|
/** Формула условия отображения */
|
|
1154
1092
|
displayConditionFormula?: TNullable<string>;
|
|
1155
1093
|
/** Лимит строк */
|
|
@@ -1183,8 +1121,13 @@ interface ITypeCalculatorInput {
|
|
|
1183
1121
|
formula: string;
|
|
1184
1122
|
}[];
|
|
1185
1123
|
}
|
|
1124
|
+
interface ITypeCalculatorOutputItem {
|
|
1125
|
+
simpleType: ESimpleDataType;
|
|
1126
|
+
dataType: ESimpleDataType;
|
|
1127
|
+
isArrayDataType: boolean;
|
|
1128
|
+
}
|
|
1186
1129
|
interface ITypeCalculatorOutput {
|
|
1187
|
-
types: Map<string,
|
|
1130
|
+
types: Map<string, ITypeCalculatorOutputItem>;
|
|
1188
1131
|
}
|
|
1189
1132
|
interface ITypeCalculator extends ICalculator<ITypeCalculatorInput, ITypeCalculatorOutput> {
|
|
1190
1133
|
}
|
|
@@ -1199,7 +1142,7 @@ declare const replaceDisplayCondition: <I extends IWidgetColumnIndicator>(dimens
|
|
|
1199
1142
|
declare function mapMeasuresToInputs<T extends IWidgetMeasure>(measures: T[], variables: Map<string, TWidgetVariable>, addFormulas?: (measure: T) => Map<string, string>): ICalculatorMeasureInput[];
|
|
1200
1143
|
|
|
1201
1144
|
/** Конвертировать разрезы виджета во входы для вычислителя */
|
|
1202
|
-
declare function mapDimensionsToInputs<T extends IWidgetDimension>(dimensions: T[], variables: Map<string, TWidgetVariable
|
|
1145
|
+
declare function mapDimensionsToInputs<T extends IWidgetDimension>(dimensions: T[], variables: Map<string, TWidgetVariable>): ICalculatorDimensionInput[];
|
|
1203
1146
|
|
|
1204
1147
|
/** Конвертировать процессные показатели виджета во входы для вычислителя */
|
|
1205
1148
|
declare function mapTransitionMeasuresToInputs<T extends IProcessIndicator>(indicators: T[], process: IWidgetProcess, variables: Map<string, TWidgetVariable>, addFormulas?: (indicator: T) => Map<string, string>): ICalculatorMeasureInput[];
|
|
@@ -1207,14 +1150,17 @@ declare function mapTransitionMeasuresToInputs<T extends IProcessIndicator>(indi
|
|
|
1207
1150
|
/** Конвертировать показатели процессных событий виджета во входы для вычислителя */
|
|
1208
1151
|
declare function mapEventMeasuresToInputs<T extends IProcessIndicator>(indicators: T[], process: IWidgetProcess, variables: Map<string, TWidgetVariable>, addFormulas?: (indicator: T) => Map<string, string>): ICalculatorMeasureInput[];
|
|
1209
1152
|
|
|
1210
|
-
/**
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
*/
|
|
1217
|
-
|
|
1153
|
+
/** Преобразовать объекты сортировок из settings виджета в sortOrders вычислителя */
|
|
1154
|
+
interface IMapSortingToInputsParams<Settings, Indicator> {
|
|
1155
|
+
settings: Settings;
|
|
1156
|
+
variables: Map<string, TWidgetVariable>;
|
|
1157
|
+
filters: ICalculatorFilter[];
|
|
1158
|
+
getIndicatorType(key: string, indicator: Indicator): EWidgetIndicatorType.DIMENSION | EWidgetIndicatorType.MEASURE;
|
|
1159
|
+
/** При отсутствии сортировки использовать предустановленную сортировку(на основе sortableIndicatorsKeys) */
|
|
1160
|
+
withDefaultSortOrder?: boolean;
|
|
1161
|
+
sortableIndicatorsKeys?: Readonly<StringKeyOf<Settings>[]>;
|
|
1162
|
+
}
|
|
1163
|
+
declare function mapSortingToInputs<Settings extends IBaseWidgetSettings = IBaseWidgetSettings, Indicator extends IWidgetColumnIndicator = IWidgetColumnIndicator>({ settings, variables, filters, getIndicatorType, withDefaultSortOrder, sortableIndicatorsKeys, }: IMapSortingToInputsParams<Settings, Indicator>): ISortOrder[];
|
|
1218
1164
|
|
|
1219
1165
|
/**
|
|
1220
1166
|
* Выбрать активный разрез иерархии на основе активных фильтров.
|
|
@@ -1222,7 +1168,7 @@ declare function mapSortingToInputs(sortingIndicators: IWidgetSortingIndicator[]
|
|
|
1222
1168
|
* Если к разрезу иерархии применяется INCLUDE-фильтр с одним значением - выбираем следующий за ним разрез
|
|
1223
1169
|
* Если к разрезу иерархии применяется INCLUDE-фильтр с несколькими значениями - выбираем данный разрез
|
|
1224
1170
|
*/
|
|
1225
|
-
declare function selectDimensionFromHierarchy<H extends IWidgetDimensionHierarchy<D>, D extends IWidgetDimension>({
|
|
1171
|
+
declare function selectDimensionFromHierarchy<H extends IWidgetDimensionHierarchy<D>, D extends IWidgetDimension>({ hierarchyDimensions }: H, filters: ICalculatorFilter[]): TNullable<D>;
|
|
1226
1172
|
|
|
1227
1173
|
declare const replaceHierarchiesWithDimensions: <D extends IWidgetDimension = IWidgetDimension>(dimensions: (D | IWidgetDimensionHierarchy<D>)[], filters: ICalculatorFilter[]) => D[];
|
|
1228
1174
|
|
|
@@ -1341,40 +1287,31 @@ interface ICustomAddButtonProps {
|
|
|
1341
1287
|
hasDropdown?: boolean;
|
|
1342
1288
|
onClick?: ISelectLeafOption["onSelect"];
|
|
1343
1289
|
}
|
|
1344
|
-
interface
|
|
1290
|
+
interface IWidgetIndicatorAddButtonProps {
|
|
1345
1291
|
hideTablesColumnsOptions?: boolean;
|
|
1346
1292
|
hideCommonOptions?: boolean;
|
|
1347
1293
|
hideQuantityOption?: boolean;
|
|
1348
1294
|
}
|
|
1349
|
-
interface
|
|
1295
|
+
interface IMeasureAddButtonProps extends IWidgetIndicatorAddButtonProps {
|
|
1350
1296
|
options?: TMeasureAddButtonSelectOption[];
|
|
1351
1297
|
}
|
|
1352
|
-
interface
|
|
1298
|
+
interface ISortingAddButtonProps extends IWidgetIndicatorAddButtonProps {
|
|
1299
|
+
}
|
|
1300
|
+
interface IInitialSettings extends Record<string, any> {
|
|
1353
1301
|
}
|
|
1354
1302
|
/** Кнопка добавления группы в набор */
|
|
1355
1303
|
type TAddButton = {
|
|
1356
1304
|
title: string;
|
|
1357
|
-
|
|
1358
|
-
} | {
|
|
1359
|
-
title: string;
|
|
1360
|
-
indicatorType: EWidgetIndicatorType.CUSTOM;
|
|
1361
|
-
props: ICustomAddButtonProps;
|
|
1362
|
-
} | {
|
|
1363
|
-
title: string;
|
|
1364
|
-
indicatorType: EWidgetIndicatorType.MEASURE;
|
|
1365
|
-
menuConfig?: IMeasureMenuConfig;
|
|
1366
|
-
} | {
|
|
1367
|
-
title: string;
|
|
1368
|
-
indicatorType: EWidgetIndicatorType.SORTING;
|
|
1369
|
-
menuConfig?: ISortingMenuConfig;
|
|
1370
|
-
};
|
|
1371
|
-
interface IAutoIdentifiedArrayItem {
|
|
1305
|
+
props?: ICustomAddButtonProps | IMeasureAddButtonProps | ISortingAddButtonProps;
|
|
1372
1306
|
/**
|
|
1373
|
-
*
|
|
1374
|
-
*
|
|
1307
|
+
* Начальные настройки, которые получит показатель при создании через кнопку добавления.
|
|
1308
|
+
* Возможность не поддерживается для иерархии разрезов.
|
|
1309
|
+
*
|
|
1310
|
+
* Кейс использования:
|
|
1311
|
+
* - Добавление поля type разрезам и мерам виджета "Таблица", т.к. разрезы и меры хранятся в одном массиве.
|
|
1375
1312
|
*/
|
|
1376
|
-
|
|
1377
|
-
}
|
|
1313
|
+
initialSettings?: IInitialSettings;
|
|
1314
|
+
};
|
|
1378
1315
|
interface IGroupSettings extends IAutoIdentifiedArrayItem, Record<string, any> {
|
|
1379
1316
|
}
|
|
1380
1317
|
/** Конфигурация набора групп */
|
|
@@ -1385,6 +1322,8 @@ interface IGroupSetDescription<Settings extends object, GroupSettings extends ob
|
|
|
1385
1322
|
maxCount: number;
|
|
1386
1323
|
/** Описание доступа к настройкам групп */
|
|
1387
1324
|
accessor: TRecordAccessor<Settings, GroupSettings[]>;
|
|
1325
|
+
/** Получить тип индикатора */
|
|
1326
|
+
getType?: (settings: IInitialSettings) => EWidgetIndicatorType;
|
|
1388
1327
|
/** Кнопки добавления группы в набор */
|
|
1389
1328
|
addButtons: TAddButton[];
|
|
1390
1329
|
/** Создать элементы управления внутри группы (для вкладки настроек данных) */
|
|
@@ -1416,6 +1355,10 @@ interface IPanelDescription<Settings extends object, GroupSettings extends IGrou
|
|
|
1416
1355
|
displayRecords?: TWidgetLevelRecord<Settings>[];
|
|
1417
1356
|
/** Конфигурации наборов групп */
|
|
1418
1357
|
groupSetDescriptions?: Record<string, IGroupSetDescription<Settings, GroupSettings>>;
|
|
1358
|
+
/** Добавить вкладку с действиями (по умолчанию false) */
|
|
1359
|
+
useActions?: boolean;
|
|
1360
|
+
/** Добавить вкладку с фильтрацией (по умолчанию true) */
|
|
1361
|
+
useFiltration?: boolean;
|
|
1419
1362
|
/** Конфигурация настроек фильтров */
|
|
1420
1363
|
filtrationRecords?: Exclude<TWidgetLevelRecord<Settings>, IGroupSetRecord>[];
|
|
1421
1364
|
/** Режимы фильтрации */
|
|
@@ -1446,12 +1389,19 @@ interface IWidgetProcess {
|
|
|
1446
1389
|
interface IDivePanelDescription<Settings extends object, GroupSettings extends IGroupSettings = IGroupSettings> extends IPanelDescription<Settings, GroupSettings> {
|
|
1447
1390
|
}
|
|
1448
1391
|
interface IPanelDescriptionCreator<Settings extends IBaseWidgetSettings, GroupSettings extends IGroupSettings> {
|
|
1449
|
-
(context:
|
|
1392
|
+
(context: IGlobalContext, panelSettings: Settings, calculatorFactory: ICalculatorFactory): IPanelDescription<Settings, GroupSettings>;
|
|
1450
1393
|
}
|
|
1451
1394
|
|
|
1452
1395
|
interface IWidgetPlaceholderController {
|
|
1453
1396
|
setError(value: Error | null): void;
|
|
1454
1397
|
setConfigured(value: boolean): void;
|
|
1398
|
+
/**
|
|
1399
|
+
* Устанавливает состояние видимости виджета.
|
|
1400
|
+
*
|
|
1401
|
+
* После вызова данного метода виджет станет доступен для отображения.
|
|
1402
|
+
* Это предотвращает мерцание при первом появлении виджета на экране.
|
|
1403
|
+
* Метод должен быть вызван после полной готовности виджета: все необходимые данные загружены, высота установлена.
|
|
1404
|
+
*/
|
|
1455
1405
|
setDisplay(value: boolean): void;
|
|
1456
1406
|
setEmpty(value: boolean): void;
|
|
1457
1407
|
setOverlay(value: boolean): void;
|
|
@@ -1471,8 +1421,8 @@ interface IDefinition<WidgetSettings extends IBaseWidgetSettings, GroupSettings
|
|
|
1471
1421
|
createPanelDescription: IPanelDescriptionCreator<WidgetSettings, GroupSettings>;
|
|
1472
1422
|
/** заполняет настройки значениями по умолчанию */
|
|
1473
1423
|
fillSettings: IFillSettings<WidgetSettings>;
|
|
1474
|
-
|
|
1475
|
-
|
|
1424
|
+
/** возвращает ключи показателей(разрезов или мер), для которых должна работать системная сортировка */
|
|
1425
|
+
getSortableIndicatorsKeys(): Readonly<StringKeyOf<WidgetSettings>[]>;
|
|
1476
1426
|
}
|
|
1477
1427
|
|
|
1478
1428
|
type TContextMenu = (TContextMenuList | TContextMenuButtonGroup) & {
|
|
@@ -1578,9 +1528,9 @@ interface IWidgetProps<WidgetSettings extends IBaseWidgetSettings = IBaseWidgetS
|
|
|
1578
1528
|
placeholder: IWidgetPlaceholderController;
|
|
1579
1529
|
/** Объект для получения значений плейсхолдера */
|
|
1580
1530
|
placeholderValues: IWidgetPlaceholderValues;
|
|
1581
|
-
/**
|
|
1582
|
-
|
|
1583
|
-
|
|
1531
|
+
/** Глобальный контекст. Содержит информацию из отчета, пространства и платформы системы */
|
|
1532
|
+
globalContext: IGlobalContext;
|
|
1533
|
+
/** Контекст образа */
|
|
1584
1534
|
viewContext: IViewContext;
|
|
1585
1535
|
/** Данные о контейнере виджета */
|
|
1586
1536
|
widgetContainer: TWidgetContainer;
|
|
@@ -1592,20 +1542,10 @@ interface IWidgetProps<WidgetSettings extends IBaseWidgetSettings = IBaseWidgetS
|
|
|
1592
1542
|
setContextMenu: (key: string, value: TContextMenu | null) => void;
|
|
1593
1543
|
}
|
|
1594
1544
|
interface ICustomWidgetProps<WidgetSettings extends IBaseWidgetSettings = IBaseWidgetSettings> extends IWidgetProps<WidgetSettings> {
|
|
1595
|
-
/** @deprecated - нужно использовать из widgetsContext */
|
|
1596
|
-
language: ELanguages;
|
|
1597
|
-
/**
|
|
1598
|
-
* режим дашборда
|
|
1599
|
-
* @deprecated 2401 - необходимо использовать displayMode из widgetsContext */
|
|
1600
|
-
isViewMode: boolean;
|
|
1601
1545
|
/** манифест виджета */
|
|
1602
1546
|
manifest: Record<string, any>;
|
|
1603
|
-
/** @deprecated - процессы приходят в widgetsContext */
|
|
1604
|
-
processes: Map<string, IWidgetProcess>;
|
|
1605
1547
|
/** body DOM элемент родительского приложения */
|
|
1606
1548
|
bodyElement: HTMLBodyElement;
|
|
1607
|
-
/** @deprecated - значения переменных на дашборде нужно использовать из widgetsContext */
|
|
1608
|
-
variables: Map<string, TWidgetVariable>;
|
|
1609
1549
|
/** Форматирование */
|
|
1610
1550
|
formatting: IWidgetFormatting;
|
|
1611
1551
|
/** Получить ресурс виджета по имени файла */
|
|
@@ -1648,7 +1588,7 @@ interface IWidget<WidgetSettings extends IBaseWidgetSettings> {
|
|
|
1648
1588
|
unmount(container: HTMLElement): void;
|
|
1649
1589
|
}
|
|
1650
1590
|
interface IFillSettings<WidgetSettings extends IBaseWidgetSettings> {
|
|
1651
|
-
(settings: Partial<WidgetSettings>, context:
|
|
1591
|
+
(settings: Partial<WidgetSettings>, context: IGlobalContext): void;
|
|
1652
1592
|
}
|
|
1653
1593
|
interface IWidgetEntity<WidgetSettings extends IBaseWidgetSettings, GroupSettings extends IGroupSettings> {
|
|
1654
1594
|
new (): IWidget<WidgetSettings>;
|
|
@@ -1707,25 +1647,46 @@ declare const measureTemplateFormulas: {
|
|
|
1707
1647
|
declare function getMeasureFormula({ value }: IWidgetMeasure): string;
|
|
1708
1648
|
|
|
1709
1649
|
declare enum EEventMeasureTemplateNames {
|
|
1710
|
-
|
|
1650
|
+
eventsCount = "eventsCount",
|
|
1711
1651
|
reworksCount = "reworksCount"
|
|
1712
1652
|
}
|
|
1713
1653
|
declare const eventMeasureTemplateFormulas: {
|
|
1714
|
-
readonly
|
|
1654
|
+
readonly eventsCount: "count()";
|
|
1715
1655
|
readonly reworksCount: "count() - uniqExact({caseCaseIdFormula})";
|
|
1716
1656
|
};
|
|
1717
1657
|
declare function getEventMeasureFormula({ value }: IProcessIndicator, process: IWidgetProcess): string;
|
|
1718
1658
|
|
|
1719
1659
|
declare enum ETransitionMeasureTemplateNames {
|
|
1720
|
-
|
|
1660
|
+
transitionsCount = "transitionsCount",
|
|
1721
1661
|
medianTime = "medianTime"
|
|
1722
1662
|
}
|
|
1723
1663
|
declare const transitionMeasureTemplateFormulas: {
|
|
1724
|
-
readonly
|
|
1664
|
+
readonly transitionsCount: "count()";
|
|
1725
1665
|
readonly medianTime: "medianExact(date_diff(second, begin({eventTimeFormula}), end({eventTimeFormula})))";
|
|
1726
1666
|
};
|
|
1727
1667
|
declare function getTransitionMeasureFormula({ value }: IProcessIndicator, process: IWidgetProcess): string;
|
|
1728
1668
|
|
|
1669
|
+
/**
|
|
1670
|
+
* Регулярное выражение для поиска имени ссылки внутри формулы.
|
|
1671
|
+
* Учитывает, что имя внутри формулы содержит экраны.
|
|
1672
|
+
*
|
|
1673
|
+
* Принцип работы:
|
|
1674
|
+
* Пробовать следующие вхождения:
|
|
1675
|
+
* - \\\\ - экранированный символ обратного слэша.
|
|
1676
|
+
* - Иначе \\" - экранированный символ кавычки.
|
|
1677
|
+
* - Иначе [^"] - любой символ кроме кавычки.
|
|
1678
|
+
* Если встречается любой другой символ, то это закрывающая кавычка имени переменной.
|
|
1679
|
+
*/
|
|
1680
|
+
declare const linkNameRegExp = "(?:\\\\\\\\|\\\\\"|[^\"])+";
|
|
1681
|
+
declare const dashboardLinkRegExp: RegExp;
|
|
1682
|
+
declare const workspaceLinkRegExp: RegExp;
|
|
1683
|
+
interface IIndicatorLink {
|
|
1684
|
+
/** string - имя группы пространства, null - используется текущий отчет */
|
|
1685
|
+
scopeName: string | null;
|
|
1686
|
+
indicatorName: string;
|
|
1687
|
+
}
|
|
1688
|
+
declare const parseIndicatorLink: (formula: string) => IIndicatorLink | null;
|
|
1689
|
+
|
|
1729
1690
|
interface IDimensionSelection {
|
|
1730
1691
|
values: Set<string | null>;
|
|
1731
1692
|
replacedFilter: ICalculatorFilter | null;
|
|
@@ -1752,8 +1713,6 @@ type TDefineWidgetOptions = {
|
|
|
1752
1713
|
};
|
|
1753
1714
|
declare global {
|
|
1754
1715
|
interface Infomaximum {
|
|
1755
|
-
/** @deprecated 2402 - необходимо использовать window.im.widget.defineWidget */
|
|
1756
|
-
defineWidget: <WidgetSettings extends IBaseWidgetSettings, GroupSettings extends IGroupSettings>(uuid: string, Widget: IWidgetEntity<WidgetSettings, GroupSettings>) => void;
|
|
1757
1716
|
widget: {
|
|
1758
1717
|
currentSdkVersion: number;
|
|
1759
1718
|
defineWidget: <WidgetSettings extends IBaseWidgetSettings, GroupSettings extends IGroupSettings>(uuid: string, Widget: IWidgetEntity<WidgetSettings, GroupSettings>, options?: TDefineWidgetOptions) => void;
|
|
@@ -1761,4 +1720,4 @@ declare global {
|
|
|
1761
1720
|
}
|
|
1762
1721
|
}
|
|
1763
1722
|
|
|
1764
|
-
export { EActionTypes, ECalculatorFilterMethods, EColorMode,
|
|
1723
|
+
export { EActionTypes, ECalculatorFilterMethods, EColorMode, EControlType, ECustomSelectTemplates, EDbType, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationUnit, EEventMeasureTemplateNames, EFontWeight, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureTemplateNames, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESortDirection, ESortingValueModes, 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 ICalculatorVariable, type ICalculatorVariablesValues, 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 IWidgetMeasure, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetTable, type IWidgetTableColumn, type TAction, type TActionOnClickParameter, type TActionOpenView, type TActionsOnClick, type TAddButton, 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 TUpdateSelection, type TValuePath, type TWidgetActionParameter, type TWidgetContainer, type TWidgetFilterValue, type TWidgetFiltering, type TWidgetLevelRecord, type TWidgetSortingValue, type TWidgetVariable, bindContentWithIndicator, bindContentsWithIndicators, checkDisplayCondition, dashboardLinkRegExp, dimensionTemplateFormulas, escapeSpecialCharacters, eventMeasureTemplateFormulas, fillTemplateString, formulaFilterMethods, generateColumnFormula, getDimensionFormula, getDisplayConditionFormula, getEventMeasureFormula, getLocalizedText, getMeasureFormula, getRuleColor, getTransitionMeasureFormula, isDimensionsHierarchy, isExecuteScriptActionValid, isFormulaFilterValue, isValidColor, linkNameRegExp, mapDimensionsToInputs, mapEventMeasuresToInputs, mapFormulaFilterToCalculatorInput, mapFormulaFiltersToInputs, mapMeasuresToInputs, mapSortingToInputs, mapTransitionMeasuresToInputs, measureTemplateFormulas, parseIndicatorLink, prepareValuesForSql, replaceDisplayCondition, replaceFiltersBySelection, replaceHierarchiesWithDimensions, selectDimensionFromHierarchy, transitionMeasureTemplateFormulas, unescapeSpecialCharacters, updateDefaultModeSelection, updateMultiModeSelection, updateSingleModeSelection, workspaceLinkRegExp };
|