@infomaximum/widget-sdk 6.0.0-wefi344-2 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1101 -0
- package/README.md +3 -1
- package/dist/index.d.ts +256 -219
- package/dist/index.esm.js +235 -96
- package/dist/index.js +239 -95
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,216 @@ interface IExportColumnOrder {
|
|
|
73
73
|
exportName: string;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
declare enum EDimensionTemplateNames {
|
|
77
|
+
dateTime = "dateTime",
|
|
78
|
+
date = "date",
|
|
79
|
+
year = "year",
|
|
80
|
+
yearAndQuarter = "yearAndQuarter",
|
|
81
|
+
quarter = "quarter",
|
|
82
|
+
yearAndMonth = "yearAndMonth",
|
|
83
|
+
dayOfMonth = "dayOfMonth",
|
|
84
|
+
month = "month",
|
|
85
|
+
week = "week",
|
|
86
|
+
dayOfWeek = "dayOfWeek",
|
|
87
|
+
hour = "hour"
|
|
88
|
+
}
|
|
89
|
+
/** Стандартные шаблоны разреза */
|
|
90
|
+
declare const dimensionTemplateFormulas: Record<EDimensionTemplateNames, string>;
|
|
91
|
+
|
|
92
|
+
declare function getDimensionFormula({ value }: IWidgetDimension): string;
|
|
93
|
+
declare function getProcessDimensionValueFormula(value: (TWidgetIndicatorAggregationValue & {
|
|
94
|
+
innerTemplateName?: string;
|
|
95
|
+
}) | TWidgetIndicatorTimeValue): string | undefined;
|
|
96
|
+
|
|
97
|
+
declare enum EDimensionAggregationTemplateName {
|
|
98
|
+
avg = "avg",
|
|
99
|
+
median = "median",
|
|
100
|
+
count = "count",
|
|
101
|
+
countDistinct = "countDistinct",
|
|
102
|
+
min = "min",
|
|
103
|
+
max = "max",
|
|
104
|
+
sum = "sum",
|
|
105
|
+
top = "top",
|
|
106
|
+
firstValue = "firstValue",
|
|
107
|
+
lastValue = "lastValue",
|
|
108
|
+
countExecutions = "countExecutions",
|
|
109
|
+
countReworks = "countReworks"
|
|
110
|
+
}
|
|
111
|
+
/** Шаблоны процессных метрик разреза с режимом AGGREGATION */
|
|
112
|
+
declare const dimensionAggregationTemplates: Record<EDimensionAggregationTemplateName, string>;
|
|
113
|
+
/** На основе значения режима AGGREGATION подготовить параметры для подстановки в шаблонную формулу */
|
|
114
|
+
declare const prepareDimensionAggregationParams: (value: Extract<IWidgetDimension["value"], {
|
|
115
|
+
mode: EWidgetIndicatorValueModes.AGGREGATION;
|
|
116
|
+
}>) => {
|
|
117
|
+
eventNameFormula: string;
|
|
118
|
+
caseCaseIdFormula: string;
|
|
119
|
+
eventName: string;
|
|
120
|
+
filters: string;
|
|
121
|
+
eventTimeFormula: string;
|
|
122
|
+
columnFormula: string;
|
|
123
|
+
} | null;
|
|
124
|
+
|
|
125
|
+
/** Шаблоны процессных метрик разреза с режимами START_TIME/END_TIME */
|
|
126
|
+
declare const timeTemplates: {
|
|
127
|
+
START_TIME: Record<EDimensionTemplateNames, string>;
|
|
128
|
+
END_TIME: Record<EDimensionTemplateNames, string>;
|
|
129
|
+
};
|
|
130
|
+
/** На основе значения режимов START_TIME/END_TIME подготовить параметры для подстановки в шаблонную формулу */
|
|
131
|
+
declare const prepareTimeParams: (value: TWidgetIndicatorTimeValue) => {
|
|
132
|
+
eventTimeFormula: string;
|
|
133
|
+
eventNameFormula: string;
|
|
134
|
+
caseCaseIdFormula: string;
|
|
135
|
+
filters: string;
|
|
136
|
+
eventName: string;
|
|
137
|
+
} | undefined;
|
|
138
|
+
|
|
139
|
+
declare function getMeasureFormula({ value }: IWidgetMeasure): string;
|
|
140
|
+
|
|
141
|
+
declare enum EMeasureTemplateNames {
|
|
142
|
+
avg = "avg",
|
|
143
|
+
median = "median",
|
|
144
|
+
count = "count",
|
|
145
|
+
countDistinct = "countDistinct",
|
|
146
|
+
min = "min",
|
|
147
|
+
max = "max",
|
|
148
|
+
sum = "sum"
|
|
149
|
+
}
|
|
150
|
+
declare enum EMeasureInnerTemplateNames {
|
|
151
|
+
begin = "begin",
|
|
152
|
+
end = "end"
|
|
153
|
+
}
|
|
154
|
+
/** Стандартные шаблоны меры */
|
|
155
|
+
declare const measureTemplateFormulas: {
|
|
156
|
+
readonly avg: "avg({columnFormula})";
|
|
157
|
+
readonly count: "count({columnFormula})";
|
|
158
|
+
readonly countDistinct: "count(distinct {columnFormula})";
|
|
159
|
+
readonly median: "medianExact({columnFormula})";
|
|
160
|
+
readonly min: "min({columnFormula})";
|
|
161
|
+
readonly max: "max({columnFormula})";
|
|
162
|
+
readonly sum: "sum({columnFormula})";
|
|
163
|
+
};
|
|
164
|
+
declare const measureInnerTemplateFormulas: {
|
|
165
|
+
readonly begin: "begin({columnFormula})";
|
|
166
|
+
readonly end: "end({columnFormula})";
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
declare enum EMeasureAggregationTemplateName {
|
|
170
|
+
agvIf = "agvIf",
|
|
171
|
+
medianIf = "medianIf",
|
|
172
|
+
countIf = "countIf",
|
|
173
|
+
countIfDistinct = "countIfDistinct",
|
|
174
|
+
minIf = "minIf",
|
|
175
|
+
maxIf = "maxIf",
|
|
176
|
+
sumIf = "sumIf",
|
|
177
|
+
top = "top",
|
|
178
|
+
firstValue = "firstValue",
|
|
179
|
+
lastValue = "lastValue",
|
|
180
|
+
countExecutions = "countExecutions",
|
|
181
|
+
countReworks = "countReworks"
|
|
182
|
+
}
|
|
183
|
+
/** На основе значения режима AGGREGATION подготовить параметры для подстановки в шаблонную формулу */
|
|
184
|
+
declare const prepareMeasureAggregationParams: (value: Extract<IWidgetMeasure["value"], {
|
|
185
|
+
mode: EWidgetIndicatorValueModes.AGGREGATION;
|
|
186
|
+
}>) => {
|
|
187
|
+
outerAggregation: EOuterAggregation;
|
|
188
|
+
eventNameFormula: string;
|
|
189
|
+
caseCaseIdFormula: string;
|
|
190
|
+
eventName: string;
|
|
191
|
+
filters: string;
|
|
192
|
+
eventTimeFormula: string;
|
|
193
|
+
columnFormula: string;
|
|
194
|
+
} | null;
|
|
195
|
+
|
|
196
|
+
/** Шаблон процессной метрики меры с режимом CONVERSION */
|
|
197
|
+
declare const conversionTemplate = "countIf(\n process(\n minIf(\n {startEventTimeFormula}, \n {startEventNameFormula} = {startEventName}{startEventFilters}\n ), \n {endCaseCaseIdFormula}\n ) < \n process(\n maxIf(\n {endEventTimeFormula}, \n {endEventNameFormula} = {endEventName}{endEventFilters}\n ), \n {endCaseCaseIdFormula}\n ) \n and \n process(\n countIf(\n {startEventNameFormula} = {startEventName}{startEventFilters}\n ) != 0, \n {endCaseCaseIdFormula}\n ) != 0\n) / countIf(\n process(\n countIf(\n {startEventNameFormula} = {startEventName}{startEventFilters}\n ) != 0, \n {endCaseCaseIdFormula}\n ) != 0\n)";
|
|
198
|
+
/** На основе значения режима CONVERSION подготовить параметры для подстановки в шаблонную формулу */
|
|
199
|
+
declare const prepareConversionParams: (value: TWidgetIndicatorConversionValue) => {
|
|
200
|
+
startEventTimeFormula: string;
|
|
201
|
+
startEventNameFormula: string;
|
|
202
|
+
startEventFilters: string;
|
|
203
|
+
startEventName: string;
|
|
204
|
+
endEventTimeFormula: string;
|
|
205
|
+
endCaseCaseIdFormula: string;
|
|
206
|
+
endEventNameFormula: string;
|
|
207
|
+
endEventName: string;
|
|
208
|
+
endEventFilters: string;
|
|
209
|
+
} | null;
|
|
210
|
+
|
|
211
|
+
declare function createAggregationTemplate(templateName: EMeasureAggregationTemplateName, { outerAggregation, anyEvent, }: Pick<TWidgetIndicatorAggregationValue, "anyEvent"> & {
|
|
212
|
+
outerAggregation: EOuterAggregation;
|
|
213
|
+
}): string;
|
|
214
|
+
|
|
215
|
+
/** Шаблоны процессных метрик меры с режимом DURATION */
|
|
216
|
+
declare const durationTemplates: Record<EDurationTemplateName, string>;
|
|
217
|
+
/** На основе значения режима DURATION подготовить параметры для подстановки в шаблонную формулу */
|
|
218
|
+
declare const prepareDurationParams: (value: TWidgetIndicatorDurationValue) => {
|
|
219
|
+
startEventTimeFormula: string;
|
|
220
|
+
startEventNameFormula: string;
|
|
221
|
+
startEventFilters: string;
|
|
222
|
+
startEventName: string;
|
|
223
|
+
startEventAggregationName: string;
|
|
224
|
+
endEventTimeFormula: string;
|
|
225
|
+
endCaseCaseIdFormula: string;
|
|
226
|
+
endEventNameFormula: string;
|
|
227
|
+
endEventName: string;
|
|
228
|
+
endEventFilters: string;
|
|
229
|
+
endEventAggregationName: string;
|
|
230
|
+
} | null;
|
|
231
|
+
|
|
232
|
+
declare function getEventMeasureFormula({ value }: IProcessIndicator, process: Omit<IWidgetProcess, "isValid">): string;
|
|
233
|
+
|
|
234
|
+
declare enum EEventMeasureTemplateNames {
|
|
235
|
+
eventsCount = "eventsCount",
|
|
236
|
+
reworksCount = "reworksCount"
|
|
237
|
+
}
|
|
238
|
+
declare const eventMeasureTemplateFormulas: {
|
|
239
|
+
readonly eventsCount: "count()";
|
|
240
|
+
readonly reworksCount: "count() - uniqExact({caseCaseIdFormula})";
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
declare function getTransitionMeasureFormula({ value }: IProcessIndicator, process: Omit<IWidgetProcess, "isValid">): string;
|
|
244
|
+
|
|
245
|
+
declare enum ETransitionMeasureTemplateNames {
|
|
246
|
+
transitionsCount = "transitionsCount",
|
|
247
|
+
medianTime = "medianTime"
|
|
248
|
+
}
|
|
249
|
+
declare const transitionMeasureTemplateFormulas: {
|
|
250
|
+
readonly transitionsCount: "count()";
|
|
251
|
+
readonly medianTime: "medianExact(date_diff(second, begin({eventTimeFormula}), end({eventTimeFormula})))";
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
declare const countExecutionsTemplate = "process(countIf({eventNameFormula} in {eventName}{filters}), {caseCaseIdFormula})";
|
|
255
|
+
|
|
256
|
+
/** @deprecated - следует использовать fillTemplateSql */
|
|
257
|
+
declare function fillTemplateString(templateString: string, params: Record<string, any>): string;
|
|
258
|
+
/** Функция для безопасного заполнения SQL шаблонов с защитой от однострочных SQL комментариев в подставляемых значениях. */
|
|
259
|
+
declare function fillTemplateSql(templateString: string, params: Record<string, string>): string;
|
|
260
|
+
|
|
261
|
+
declare function generateColumnFormula(tableName: string, columnName: string): string;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Паттерн подстроки, валидной для использования внутри фигурных скобок.
|
|
265
|
+
* Требование к подстроке - отсутствие закрывающих фигурных скобок (кроме экранированных).
|
|
266
|
+
*/
|
|
267
|
+
declare const curlyBracketsContentPattern: string;
|
|
268
|
+
/**
|
|
269
|
+
* Паттерн подстроки, валидной для использования внутри двойных кавычек.
|
|
270
|
+
* Требование к подстроке - отсутствие двойных кавычек (кроме экранированных).
|
|
271
|
+
*/
|
|
272
|
+
declare const doubleQuoteContentPattern: string;
|
|
273
|
+
declare const dashboardLinkRegExp: RegExp;
|
|
274
|
+
declare const workspaceLinkRegExp: RegExp;
|
|
275
|
+
/** Экранирование спец.символов при подстановке названий таблиц и колонок */
|
|
276
|
+
declare const escapeDoubleQuoteLinkName: (str: string) => string;
|
|
277
|
+
/** Экранирование спец.символов при подстановке названий переменных и показателей */
|
|
278
|
+
declare const escapeCurlyBracketLinkName: (str: string) => string;
|
|
279
|
+
interface IIndicatorLink {
|
|
280
|
+
/** string - имя группы пространства, null - используется текущий отчет */
|
|
281
|
+
scopeName: string | null;
|
|
282
|
+
indicatorName: string;
|
|
283
|
+
}
|
|
284
|
+
declare const parseIndicatorLink: (formula: string) => IIndicatorLink | null;
|
|
285
|
+
|
|
76
286
|
declare enum EWidgetFilterMode {
|
|
77
287
|
DEFAULT = "DEFAULT",
|
|
78
288
|
SINGLE = "SINGLE",
|
|
@@ -255,7 +465,7 @@ interface IBaseWidgetSettings {
|
|
|
255
465
|
markdownMeasures?: IMarkdownMeasure[];
|
|
256
466
|
markdownText?: string;
|
|
257
467
|
markdownTextSize?: number;
|
|
258
|
-
filters?:
|
|
468
|
+
filters?: TSettingsFilter[];
|
|
259
469
|
filterMode?: EWidgetFilterMode;
|
|
260
470
|
ignoreFilters?: boolean;
|
|
261
471
|
sorting?: IWidgetSortingIndicator[];
|
|
@@ -364,10 +574,11 @@ interface ICommonDimensions {
|
|
|
364
574
|
name: string;
|
|
365
575
|
formula: string;
|
|
366
576
|
}
|
|
367
|
-
type
|
|
577
|
+
type TWidgetIndicatorFormulaValue = {
|
|
368
578
|
mode: EWidgetIndicatorValueModes.FORMULA;
|
|
369
579
|
formula?: string;
|
|
370
|
-
}
|
|
580
|
+
};
|
|
581
|
+
type TWidgetIndicatorTemplateValue = {
|
|
371
582
|
mode: EWidgetIndicatorValueModes.TEMPLATE;
|
|
372
583
|
/** Имя шаблонной формулы, использующей колонку таблицы */
|
|
373
584
|
templateName?: string;
|
|
@@ -376,6 +587,13 @@ type TColumnIndicatorValue = {
|
|
|
376
587
|
/** Имя колонки */
|
|
377
588
|
columnName?: string;
|
|
378
589
|
};
|
|
590
|
+
type TMeasureValue = TWidgetIndicatorFormulaValue | (TWidgetIndicatorTemplateValue & {
|
|
591
|
+
innerTemplateName?: EMeasureInnerTemplateNames;
|
|
592
|
+
});
|
|
593
|
+
type TDimensionValue = TWidgetIndicatorFormulaValue | (TWidgetIndicatorTemplateValue & {
|
|
594
|
+
innerTemplateName?: never;
|
|
595
|
+
});
|
|
596
|
+
type TColumnIndicatorValue = TMeasureValue | TDimensionValue;
|
|
379
597
|
declare enum EFormatOrFormattingMode {
|
|
380
598
|
BASE = "BASE",
|
|
381
599
|
TEMPLATE = "TEMPLATE"
|
|
@@ -554,11 +772,11 @@ type TWidgetIndicatorDurationValue = {
|
|
|
554
772
|
type TWidgetIndicatorTimeValue = {
|
|
555
773
|
templateName: string;
|
|
556
774
|
mode: EWidgetIndicatorValueModes.START_TIME | EWidgetIndicatorValueModes.END_TIME;
|
|
557
|
-
processKey: string;
|
|
558
|
-
eventName: string;
|
|
559
|
-
eventTimeFormula: string;
|
|
560
|
-
caseCaseIdFormula: string;
|
|
561
|
-
eventNameFormula: string;
|
|
775
|
+
processKey: string | null;
|
|
776
|
+
eventName: string | null;
|
|
777
|
+
eventTimeFormula: string | null;
|
|
778
|
+
caseCaseIdFormula: string | null;
|
|
779
|
+
eventNameFormula: string | null;
|
|
562
780
|
filters: TExtendedFormulaFilterValue[];
|
|
563
781
|
};
|
|
564
782
|
|
|
@@ -849,6 +1067,24 @@ interface IFormulaFilterValue {
|
|
|
849
1067
|
[EFormulaFilterFieldKeys.durationUnit]: EDurationUnit;
|
|
850
1068
|
}>;
|
|
851
1069
|
}
|
|
1070
|
+
declare enum EDimensionProcessFilterTimeUnit {
|
|
1071
|
+
YEARS = "YEARS",
|
|
1072
|
+
MONTHS = "MONTHS",
|
|
1073
|
+
HOURS = "HOURS",
|
|
1074
|
+
DAYS = "DAYS",
|
|
1075
|
+
MINUTES = "MINUTES"
|
|
1076
|
+
}
|
|
1077
|
+
interface IDimensionProcessFilter {
|
|
1078
|
+
value: Extract<IFormulaControl["value"]["value"], {
|
|
1079
|
+
mode: EWidgetIndicatorValueModes.AGGREGATION | EWidgetIndicatorValueModes.START_TIME | EWidgetIndicatorValueModes.END_TIME | EWidgetIndicatorValueModes.FORMULA;
|
|
1080
|
+
}>;
|
|
1081
|
+
dbDataType: string;
|
|
1082
|
+
condition: {
|
|
1083
|
+
filteringMethod: valueof<typeof formulaFilterMethods>;
|
|
1084
|
+
timeUnit?: EDimensionProcessFilterTimeUnit;
|
|
1085
|
+
values: (string | null)[];
|
|
1086
|
+
};
|
|
1087
|
+
}
|
|
852
1088
|
type TExtendedFormulaFilterValue = {
|
|
853
1089
|
formula: string;
|
|
854
1090
|
} | IFormulaFilterValue;
|
|
@@ -907,7 +1143,9 @@ interface IWidgetFiltration {
|
|
|
907
1143
|
/** Удалить фильтр по этапам */
|
|
908
1144
|
removeStagesFilter(widgetKey: string): void;
|
|
909
1145
|
}
|
|
1146
|
+
type TSettingsFilter = TExtendedFormulaFilterValue | IDimensionProcessFilter;
|
|
910
1147
|
declare const isFormulaFilterValue: (value: TExtendedFormulaFilterValue) => value is IFormulaFilterValue;
|
|
1148
|
+
declare const isDimensionProcessFilter: (filter: TSettingsFilter) => filter is IDimensionProcessFilter;
|
|
911
1149
|
|
|
912
1150
|
declare enum EWidgetActionInputMethod {
|
|
913
1151
|
COLUMN = "COLUMN",
|
|
@@ -1064,15 +1302,18 @@ interface IActionUpdateVariable extends IActionCommon {
|
|
|
1064
1302
|
type TActionOpenIn = {
|
|
1065
1303
|
openIn: EViewOpenIn.DRAWER_WINDOW;
|
|
1066
1304
|
alignment: EDrawerPlacement;
|
|
1305
|
+
inheritFilter?: boolean;
|
|
1067
1306
|
} | {
|
|
1068
1307
|
openIn: EViewOpenIn.PLACEHOLDER;
|
|
1069
1308
|
placeholderName: string;
|
|
1070
1309
|
} | {
|
|
1071
1310
|
openIn: EViewOpenIn.MODAL_WINDOW;
|
|
1072
1311
|
positionByClick?: boolean;
|
|
1312
|
+
inheritFilter?: boolean;
|
|
1073
1313
|
} | {
|
|
1074
1314
|
openIn: EViewOpenIn.WINDOW;
|
|
1075
1315
|
newWindow: boolean;
|
|
1316
|
+
inheritFilter?: boolean;
|
|
1076
1317
|
};
|
|
1077
1318
|
type TActionOpenView = IActionCommon & {
|
|
1078
1319
|
type: EActionTypes.OPEN_VIEW;
|
|
@@ -1122,7 +1363,7 @@ interface IActionButton extends IAutoIdentifiedArrayItem {
|
|
|
1122
1363
|
color: TColor;
|
|
1123
1364
|
hint?: string;
|
|
1124
1365
|
}
|
|
1125
|
-
type TViewActionParameter = (IParameterFromAggregation | IParameterFromVariable) & {
|
|
1366
|
+
type TViewActionParameter = (IParameterFromAggregation | IParameterFromVariable) & IAutoIdentifiedArrayItem & {
|
|
1126
1367
|
name: string;
|
|
1127
1368
|
};
|
|
1128
1369
|
interface IViewAction {
|
|
@@ -1313,7 +1554,6 @@ interface IInputControl {
|
|
|
1313
1554
|
type: EControlType.input;
|
|
1314
1555
|
value: string;
|
|
1315
1556
|
props: {
|
|
1316
|
-
isBordered?: boolean;
|
|
1317
1557
|
placeholder?: string;
|
|
1318
1558
|
/** Максимальное количество символов которое можно ввести в поле */
|
|
1319
1559
|
maxLength?: number;
|
|
@@ -1447,10 +1687,10 @@ interface IFormulaControl {
|
|
|
1447
1687
|
dbDataType: string | undefined;
|
|
1448
1688
|
};
|
|
1449
1689
|
props: {
|
|
1450
|
-
showModeToggle?: boolean;
|
|
1451
1690
|
indicatorConfig?: ({
|
|
1452
1691
|
type: "measure";
|
|
1453
1692
|
templates?: TWidgetMeasureData["templates"];
|
|
1693
|
+
innerTemplateNames?: EMeasureInnerTemplateNames[];
|
|
1454
1694
|
} & {
|
|
1455
1695
|
/** @deprecated временное решение для виджета "Воронка", не следует использовать [BI-14710] */
|
|
1456
1696
|
allowClear?: boolean;
|
|
@@ -1535,6 +1775,7 @@ interface IDisplayConditionControl {
|
|
|
1535
1775
|
props: {
|
|
1536
1776
|
isInMeasure?: boolean;
|
|
1537
1777
|
labelFontSize?: number;
|
|
1778
|
+
modes?: EDisplayConditionMode[];
|
|
1538
1779
|
};
|
|
1539
1780
|
}
|
|
1540
1781
|
interface IColorPickerControl {
|
|
@@ -1753,6 +1994,8 @@ interface ITypeCalculator extends ICalculator<ITypeCalculatorInput, ITypeCalcula
|
|
|
1753
1994
|
|
|
1754
1995
|
declare const prepareValuesForSql: (simpleType: ESimpleDataType, values: (string | null)[]) => (string | null)[];
|
|
1755
1996
|
|
|
1997
|
+
declare const mapSettingsFiltersToInputs: (filters: TSettingsFilter[]) => ICalculatorFilter[];
|
|
1998
|
+
|
|
1756
1999
|
declare function checkDisplayCondition(displayCondition: TNullable<TDisplayCondition>, variables: Map<string, TWidgetVariable>): boolean;
|
|
1757
2000
|
declare function getDisplayConditionFormula(displayCondition: TNullable<TDisplayCondition>): TNullable<string>;
|
|
1758
2001
|
declare const replaceDisplayCondition: <I extends IWidgetColumnIndicator>(dimension: I, displayCondition: TNullable<TDisplayCondition>) => TNullable<I>;
|
|
@@ -1894,206 +2137,6 @@ interface ICalculatorFactory {
|
|
|
1894
2137
|
type: (options?: ICalculatorOptions) => ITypeCalculator;
|
|
1895
2138
|
}
|
|
1896
2139
|
|
|
1897
|
-
declare enum EDimensionTemplateNames {
|
|
1898
|
-
dateTime = "dateTime",
|
|
1899
|
-
date = "date",
|
|
1900
|
-
year = "year",
|
|
1901
|
-
yearAndQuarter = "yearAndQuarter",
|
|
1902
|
-
quarter = "quarter",
|
|
1903
|
-
yearAndMonth = "yearAndMonth",
|
|
1904
|
-
dayOfMonth = "dayOfMonth",
|
|
1905
|
-
month = "month",
|
|
1906
|
-
week = "week",
|
|
1907
|
-
dayOfWeek = "dayOfWeek",
|
|
1908
|
-
hour = "hour"
|
|
1909
|
-
}
|
|
1910
|
-
/** Стандартные шаблоны разреза */
|
|
1911
|
-
declare const dimensionTemplateFormulas: Record<EDimensionTemplateNames, string>;
|
|
1912
|
-
|
|
1913
|
-
declare function getDimensionFormula({ value }: IWidgetDimension): string;
|
|
1914
|
-
|
|
1915
|
-
declare enum EDimensionAggregationTemplateName {
|
|
1916
|
-
avg = "avg",
|
|
1917
|
-
median = "median",
|
|
1918
|
-
count = "count",
|
|
1919
|
-
countDistinct = "countDistinct",
|
|
1920
|
-
min = "min",
|
|
1921
|
-
max = "max",
|
|
1922
|
-
sum = "sum",
|
|
1923
|
-
top = "top",
|
|
1924
|
-
firstValue = "firstValue",
|
|
1925
|
-
lastValue = "lastValue",
|
|
1926
|
-
countExecutions = "countExecutions",
|
|
1927
|
-
countReworks = "countReworks"
|
|
1928
|
-
}
|
|
1929
|
-
/** Шаблоны процессных метрик разреза с режимом AGGREGATION */
|
|
1930
|
-
declare const dimensionAggregationTemplates: Record<EDimensionAggregationTemplateName, string>;
|
|
1931
|
-
/** На основе значения режима AGGREGATION подготовить параметры для подстановки в шаблонную формулу */
|
|
1932
|
-
declare const prepareDimensionAggregationParams: (value: Extract<IWidgetDimension["value"], {
|
|
1933
|
-
mode: EWidgetIndicatorValueModes.AGGREGATION;
|
|
1934
|
-
}>) => {
|
|
1935
|
-
eventNameFormula: string;
|
|
1936
|
-
caseCaseIdFormula: string;
|
|
1937
|
-
eventName: string;
|
|
1938
|
-
objectFilters: string;
|
|
1939
|
-
filters: string;
|
|
1940
|
-
eventTimeFormula: string;
|
|
1941
|
-
columnFormula: string;
|
|
1942
|
-
} | null;
|
|
1943
|
-
|
|
1944
|
-
/** Шаблоны процессных метрик разреза с режимами START_TIME/END_TIME */
|
|
1945
|
-
declare const timeTemplates: {
|
|
1946
|
-
START_TIME: Record<EDimensionTemplateNames, string>;
|
|
1947
|
-
END_TIME: Record<EDimensionTemplateNames, string>;
|
|
1948
|
-
};
|
|
1949
|
-
/** На основе значения режимов START_TIME/END_TIME подготовить параметры для подстановки в шаблонную формулу */
|
|
1950
|
-
declare const prepareTimeParams: (value: TWidgetIndicatorTimeValue) => {
|
|
1951
|
-
eventTimeFormula: string;
|
|
1952
|
-
eventNameFormula: string;
|
|
1953
|
-
caseCaseIdFormula: string;
|
|
1954
|
-
filters: string;
|
|
1955
|
-
eventName: string;
|
|
1956
|
-
} | undefined;
|
|
1957
|
-
|
|
1958
|
-
declare function getMeasureFormula({ value }: IWidgetMeasure): string;
|
|
1959
|
-
|
|
1960
|
-
declare enum EMeasureTemplateNames {
|
|
1961
|
-
avg = "avg",
|
|
1962
|
-
median = "median",
|
|
1963
|
-
count = "count",
|
|
1964
|
-
countDistinct = "countDistinct",
|
|
1965
|
-
min = "min",
|
|
1966
|
-
max = "max",
|
|
1967
|
-
sum = "sum"
|
|
1968
|
-
}
|
|
1969
|
-
/** Стандартные шаблоны меры */
|
|
1970
|
-
declare const measureTemplateFormulas: {
|
|
1971
|
-
readonly avg: "avg({columnFormula})";
|
|
1972
|
-
readonly count: "count({columnFormula})";
|
|
1973
|
-
readonly countDistinct: "count(distinct {columnFormula})";
|
|
1974
|
-
readonly median: "medianExact({columnFormula})";
|
|
1975
|
-
readonly min: "min({columnFormula})";
|
|
1976
|
-
readonly max: "max({columnFormula})";
|
|
1977
|
-
readonly sum: "sum({columnFormula})";
|
|
1978
|
-
};
|
|
1979
|
-
|
|
1980
|
-
declare enum EMeasureAggregationTemplateName {
|
|
1981
|
-
agvIf = "agvIf",
|
|
1982
|
-
medianIf = "medianIf",
|
|
1983
|
-
countIf = "countIf",
|
|
1984
|
-
countIfDistinct = "countIfDistinct",
|
|
1985
|
-
minIf = "minIf",
|
|
1986
|
-
maxIf = "maxIf",
|
|
1987
|
-
sumIf = "sumIf",
|
|
1988
|
-
top = "top",
|
|
1989
|
-
firstValue = "firstValue",
|
|
1990
|
-
lastValue = "lastValue",
|
|
1991
|
-
countExecutions = "countExecutions",
|
|
1992
|
-
countReworks = "countReworks"
|
|
1993
|
-
}
|
|
1994
|
-
/** На основе значения режима AGGREGATION подготовить параметры для подстановки в шаблонную формулу */
|
|
1995
|
-
declare const prepareMeasureAggregationParams: (value: Extract<IWidgetMeasure["value"], {
|
|
1996
|
-
mode: EWidgetIndicatorValueModes.AGGREGATION;
|
|
1997
|
-
}>) => {
|
|
1998
|
-
outerAggregation: EOuterAggregation;
|
|
1999
|
-
eventNameFormula: string;
|
|
2000
|
-
caseCaseIdFormula: string;
|
|
2001
|
-
eventName: string | null;
|
|
2002
|
-
objectFilters: string;
|
|
2003
|
-
filters: string;
|
|
2004
|
-
eventTimeFormula: string;
|
|
2005
|
-
columnFormula: string;
|
|
2006
|
-
} | null;
|
|
2007
|
-
|
|
2008
|
-
/** Шаблон процессной метрики меры с режимом CONVERSION */
|
|
2009
|
-
declare const conversionTemplate = "countIf(\n process(\n minIf(\n {startEventTimeFormula}, \n {startEventNameFormula} = '{startEventName}'{startEventFilters}\n ), \n {endCaseCaseIdFormula}\n ) < \n process(\n maxIf(\n {endEventTimeFormula}, \n {endEventNameFormula} = '{endEventName}'{endEventFilters}\n ), \n {endCaseCaseIdFormula}\n ) \n and \n process(\n countIf(\n {startEventNameFormula} = '{startEventName}'{startEventFilters}\n ) != 0, \n {endCaseCaseIdFormula}\n ) != 0\n) / countIf(\n process(\n countIf(\n {startEventNameFormula} = '{startEventName}'{startEventFilters}\n ) != 0, \n {endCaseCaseIdFormula}\n ) != 0\n)";
|
|
2010
|
-
/** На основе значения режима CONVERSION подготовить параметры для подстановки в шаблонную формулу */
|
|
2011
|
-
declare const prepareConversionParams: (value: TWidgetIndicatorConversionValue) => {
|
|
2012
|
-
objectFilters: string;
|
|
2013
|
-
startEventTimeFormula: string;
|
|
2014
|
-
startEventNameFormula: string;
|
|
2015
|
-
startEventFilters: string;
|
|
2016
|
-
startEventName: string;
|
|
2017
|
-
endEventTimeFormula: string;
|
|
2018
|
-
endCaseCaseIdFormula: string;
|
|
2019
|
-
endEventNameFormula: string;
|
|
2020
|
-
endEventName: string;
|
|
2021
|
-
endEventFilters: string;
|
|
2022
|
-
} | null;
|
|
2023
|
-
|
|
2024
|
-
declare function createAggregationTemplate(templateName: EMeasureAggregationTemplateName, { outerAggregation, anyEvent, }: Pick<TWidgetIndicatorAggregationValue, "anyEvent"> & {
|
|
2025
|
-
outerAggregation: EOuterAggregation;
|
|
2026
|
-
}): string;
|
|
2027
|
-
|
|
2028
|
-
/** Шаблоны процессных метрик меры с режимом DURATION */
|
|
2029
|
-
declare const durationTemplates: Record<EDurationTemplateName, string>;
|
|
2030
|
-
/** На основе значения режима DURATION подготовить параметры для подстановки в шаблонную формулу */
|
|
2031
|
-
declare const prepareDurationParams: (value: TWidgetIndicatorDurationValue) => {
|
|
2032
|
-
objectFilters: string;
|
|
2033
|
-
startEventTimeFormula: string;
|
|
2034
|
-
startEventNameFormula: string;
|
|
2035
|
-
startEventFilters: string;
|
|
2036
|
-
startEventName: string;
|
|
2037
|
-
startEventAggregationName: string;
|
|
2038
|
-
endEventTimeFormula: string;
|
|
2039
|
-
endCaseCaseIdFormula: string;
|
|
2040
|
-
endEventNameFormula: string;
|
|
2041
|
-
endEventName: string;
|
|
2042
|
-
endEventFilters: string;
|
|
2043
|
-
endEventAggregationName: string;
|
|
2044
|
-
} | null;
|
|
2045
|
-
|
|
2046
|
-
declare function getEventMeasureFormula({ value }: IProcessIndicator, process: IWidgetProcess): string;
|
|
2047
|
-
|
|
2048
|
-
declare enum EEventMeasureTemplateNames {
|
|
2049
|
-
eventsCount = "eventsCount",
|
|
2050
|
-
reworksCount = "reworksCount"
|
|
2051
|
-
}
|
|
2052
|
-
declare const eventMeasureTemplateFormulas: {
|
|
2053
|
-
readonly eventsCount: "count()";
|
|
2054
|
-
readonly reworksCount: "count() - uniqExact({caseCaseIdFormula})";
|
|
2055
|
-
};
|
|
2056
|
-
|
|
2057
|
-
declare function getTransitionMeasureFormula({ value }: IProcessIndicator, process: IWidgetProcess): string;
|
|
2058
|
-
|
|
2059
|
-
declare enum ETransitionMeasureTemplateNames {
|
|
2060
|
-
transitionsCount = "transitionsCount",
|
|
2061
|
-
medianTime = "medianTime"
|
|
2062
|
-
}
|
|
2063
|
-
declare const transitionMeasureTemplateFormulas: {
|
|
2064
|
-
readonly transitionsCount: "count()";
|
|
2065
|
-
readonly medianTime: "medianExact(date_diff(second, begin({eventTimeFormula}), end({eventTimeFormula})))";
|
|
2066
|
-
};
|
|
2067
|
-
|
|
2068
|
-
declare const countExecutionsTemplate = "process(countIf({eventNameFormula} in '{eventName}'{filters}), {caseCaseIdFormula})";
|
|
2069
|
-
|
|
2070
|
-
declare function fillTemplateString(templateString: string, params: Record<string, any>): string;
|
|
2071
|
-
|
|
2072
|
-
declare function generateColumnFormula(tableName: string, columnName: string): string;
|
|
2073
|
-
|
|
2074
|
-
/**
|
|
2075
|
-
* Паттерн подстроки, валидной для использования внутри фигурных скобок.
|
|
2076
|
-
* Требование к подстроке - отсутствие закрывающих фигурных скобок (кроме экранированных).
|
|
2077
|
-
*/
|
|
2078
|
-
declare const curlyBracketsContentPattern: string;
|
|
2079
|
-
/**
|
|
2080
|
-
* Паттерн подстроки, валидной для использования внутри двойных кавычек.
|
|
2081
|
-
* Требование к подстроке - отсутствие двойных кавычек (кроме экранированных).
|
|
2082
|
-
*/
|
|
2083
|
-
declare const doubleQuoteContentPattern: string;
|
|
2084
|
-
declare const dashboardLinkRegExp: RegExp;
|
|
2085
|
-
declare const workspaceLinkRegExp: RegExp;
|
|
2086
|
-
/** Экранирование спец.символов при подстановке названий таблиц и колонок */
|
|
2087
|
-
declare const escapeDoubleQuoteLinkName: (str: string) => string;
|
|
2088
|
-
/** Экранирование спец.символов при подстановке названий переменных и показателей */
|
|
2089
|
-
declare const escapeCurlyBracketLinkName: (str: string) => string;
|
|
2090
|
-
interface IIndicatorLink {
|
|
2091
|
-
/** string - имя группы пространства, null - используется текущий отчет */
|
|
2092
|
-
scopeName: string | null;
|
|
2093
|
-
indicatorName: string;
|
|
2094
|
-
}
|
|
2095
|
-
declare const parseIndicatorLink: (formula: string) => IIndicatorLink | null;
|
|
2096
|
-
|
|
2097
2140
|
interface ILens<T extends TNullable<object>, Value> {
|
|
2098
2141
|
get(obj: T): TNullable<Value>;
|
|
2099
2142
|
set(obj: T, value: Value): void;
|
|
@@ -2491,7 +2534,7 @@ type TContextMenuButtonOptions = {
|
|
|
2491
2534
|
|
|
2492
2535
|
/** Контекст с данными образа (будет заполняться по мере необходимости) */
|
|
2493
2536
|
interface IViewContext {
|
|
2494
|
-
filters:
|
|
2537
|
+
filters: TSettingsFilter[];
|
|
2495
2538
|
}
|
|
2496
2539
|
|
|
2497
2540
|
type TLaunchActionParams = {
|
|
@@ -2667,12 +2710,6 @@ interface IWidgetEntity<WidgetSettings extends IBaseWidgetSettings, GroupSetting
|
|
|
2667
2710
|
definition: IDefinition<WidgetSettings, GroupSettings>;
|
|
2668
2711
|
}
|
|
2669
2712
|
|
|
2670
|
-
type SystemWidgetExternals = {
|
|
2671
|
-
react: "React";
|
|
2672
|
-
"react-dom": "ReactDOM";
|
|
2673
|
-
"react-dom/client": "ReactDOMClient";
|
|
2674
|
-
};
|
|
2675
|
-
|
|
2676
2713
|
interface IDimensionSelection {
|
|
2677
2714
|
values: Set<string | null>;
|
|
2678
2715
|
replacedFilter: ICalculatorFilter | null;
|
|
@@ -2736,4 +2773,4 @@ declare global {
|
|
|
2736
2773
|
}
|
|
2737
2774
|
}
|
|
2738
2775
|
|
|
2739
|
-
export { EActionButtonsTypes, EActionTypes, EActivateConditionMode, EAutoUpdateMode, ECalculatorFilterMethods, EClickHouseBaseTypes, EColorMode, EControlType, ECustomSelectTemplates, EDataModelOption, EDimensionAggregationTemplateName, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationTemplateName, EDurationUnit, EEventAppearances, EEventMeasureTemplateNames, EFontWeight, EFormatOrFormattingMode, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureAggregationTemplateName, EMeasureTemplateNames, EOuterAggregation, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESimpleInputType, ESortDirection, ESortingValueModes, ESystemRecordKey, ETransitionMeasureTemplateNames, EUnitMode, EViewMode, EViewOpenIn, EWidgetActionInputMethod, EWidgetFilterMode, EWidgetIndicatorType, EWidgetIndicatorValueModes, type IActionButton, type IActionGoToUrl, type IActionOnClickControl, type IActionRunScript, type IActionScript, type IActionUpdateVariable, type IAddButtonSelectOption, type IAddDurationOfTransitionFilter, type IAddPresenceOfEventFilter, type IAddPresenceOfTransitionFilter, type IAddRepetitionOfEventFilter, type IAutoIdentifiedArrayItem, type IBaseDimensionsAndMeasuresCalculator, type IBaseDimensionsAndMeasuresCalculatorInput, type IBaseDimensionsAndMeasuresCalculatorOutput, type IBaseWidgetSettings, type ICalculator, type ICalculatorDimensionInput, type ICalculatorDimensionOutput, type ICalculatorFactory, type ICalculatorFilter, type ICalculatorIndicatorInput, type ICalculatorIndicatorOutput, type ICalculatorMeasureInput, type ICalculatorMeasureOutput, type ICalculatorOptions, type ICollapseRecord, type IColorPickerControl, type IColoredValue, type ICommonDimensions, type ICommonMeasures, type ICommonState, type IControlRecord, type ICustomAddButtonProps, type ICustomWidgetProps, type IDefinition, type IDimensionSelection, type IDimensionSelectionByFormula, type IDisplayConditionControl, type IDisplayPredicate, type IDisplayRule, type IDivePanelDescription, type IDividerRecord, type IEdge, type IEventsColorControl, type IEventsPickerControl, type IExportColumnOrder, type IFillSettings, type IFilterControl, type IFormattingControl, type IFormattingTemplateControl, type IFormulaControl, type IFormulaFilterValue, type IGeneralCalculator, type IGeneralCalculatorExportInput, type IGeneralCalculatorInput, type IGeneralCalculatorOutput, type IGlobalContext, type IGraphElement, type IGroupSetDescription, type IGroupSetRecord, type IGroupSettings, type IHistogramBin, type IHistogramCalculator, type IHistogramCalculatorInput, type IHistogramCalculatorOutput, type IIndicatorLink, type IInitialSettings, type IInputControl, type IInputMarkdownControl, type IInputNumberControl, type IInputRangeControl, type IInputTemplatedControl, type ILens, type IMarkdownMeasure, type IMeasureAddButtonProps, type IPanelDescription, type IPanelDescriptionCreator, type IParameterColumnList, type IParameterFromAggregation, type IParameterFromColumn, type IParameterFromDynamicList, type IParameterFromEndEvent, type IParameterFromEvent, type IParameterFromFormula, type IParameterFromManualInput, type IParameterFromStartEvent, type IParameterFromStaticList, type IParameterFromVariable, type IParameterTableList, type IPieCalculator, type IPieCalculatorInput, type IPieCalculatorOutput, type IProcessEventFilterValue, type IProcessEventIndicator, type IProcessFilterPreviewParams, type IProcessGraphCalculator, type IProcessGraphCalculatorInput, type IProcessGraphCalculatorOutput, type IProcessIndicator, type IProcessTransitionFilterValue, type IProcessTransitionIndicator, type IRadioIconGroupControl, type IRange, type ISelectBranchOption, type ISelectControl, type ISelectDividerOption, type ISelectGroupOption, type ISelectLeafOption, type ISelectNode, type ISelectOption, type ISelectSystemOption, type ISettingsMigratorParams, type ISizeControl, type ISortOrder, type ISortingAddButtonProps, type IStagesFilterValue, type IStaticListLabeledOption, type ISwitchControl, type ITagSetControl, type ITwoLimitsCalculator, type ITwoLimitsCalculatorExportInput, type ITwoLimitsCalculatorInput, type ITwoLimitsCalculatorOutput, type ITypeCalculator, type ITypeCalculatorInput, type ITypeCalculatorOutput, type ITypeCalculatorOutputItem, type ITypedFormulaControl, type IVertex, type IViewAction, type IViewContext, type IWidget, type IWidgetAction, type IWidgetColumnIndicator, type IWidgetColumnListVariable, type IWidgetDimension, type IWidgetDimensionHierarchy, type IWidgetDynamicListVariable, type IWidgetEntity, type IWidgetFilter, type IWidgetFiltration, type IWidgetFormatting, type IWidgetIndicator, type IWidgetIndicatorAddButtonProps, type IWidgetManifest, type IWidgetMeasure, type IWidgetMigrator, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetPresetSettings, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetStaticListVariable, type IWidgetStaticVariable, type IWidgetStruct, type IWidgetTable, type IWidgetTableColumn, OuterAggregation, type
|
|
2776
|
+
export { EActionButtonsTypes, EActionTypes, EActivateConditionMode, EAutoUpdateMode, ECalculatorFilterMethods, EClickHouseBaseTypes, EColorMode, EControlType, ECustomSelectTemplates, EDataModelOption, EDimensionAggregationTemplateName, EDimensionProcessFilterTimeUnit, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationTemplateName, EDurationUnit, EEventAppearances, EEventMeasureTemplateNames, EFontWeight, EFormatOrFormattingMode, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureAggregationTemplateName, EMeasureInnerTemplateNames, EMeasureTemplateNames, EOuterAggregation, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESimpleInputType, ESortDirection, ESortingValueModes, ESystemRecordKey, ETransitionMeasureTemplateNames, EUnitMode, EViewMode, EViewOpenIn, EWidgetActionInputMethod, EWidgetFilterMode, EWidgetIndicatorType, EWidgetIndicatorValueModes, type IActionButton, type IActionGoToUrl, type IActionOnClickControl, type IActionRunScript, type IActionScript, type IActionUpdateVariable, type IAddButtonSelectOption, type IAddDurationOfTransitionFilter, type IAddPresenceOfEventFilter, type IAddPresenceOfTransitionFilter, type IAddRepetitionOfEventFilter, type IAutoIdentifiedArrayItem, type IBaseDimensionsAndMeasuresCalculator, type IBaseDimensionsAndMeasuresCalculatorInput, type IBaseDimensionsAndMeasuresCalculatorOutput, type IBaseWidgetSettings, type ICalculator, type ICalculatorDimensionInput, type ICalculatorDimensionOutput, type ICalculatorFactory, type ICalculatorFilter, type ICalculatorIndicatorInput, type ICalculatorIndicatorOutput, type ICalculatorMeasureInput, type ICalculatorMeasureOutput, type ICalculatorOptions, type ICollapseRecord, type IColorPickerControl, type IColoredValue, type ICommonDimensions, type ICommonMeasures, type ICommonState, type IControlRecord, type ICustomAddButtonProps, type ICustomWidgetProps, type IDefinition, type IDimensionProcessFilter, type IDimensionSelection, type IDimensionSelectionByFormula, type IDisplayConditionControl, type IDisplayPredicate, type IDisplayRule, type IDivePanelDescription, type IDividerRecord, type IEdge, type IEventsColorControl, type IEventsPickerControl, type IExportColumnOrder, type IFillSettings, type IFilterControl, type IFormattingControl, type IFormattingTemplateControl, type IFormulaControl, type IFormulaFilterValue, type IGeneralCalculator, type IGeneralCalculatorExportInput, type IGeneralCalculatorInput, type IGeneralCalculatorOutput, type IGlobalContext, type IGraphElement, type IGroupSetDescription, type IGroupSetRecord, type IGroupSettings, type IHistogramBin, type IHistogramCalculator, type IHistogramCalculatorInput, type IHistogramCalculatorOutput, type IIndicatorLink, type IInitialSettings, type IInputControl, type IInputMarkdownControl, type IInputNumberControl, type IInputRangeControl, type IInputTemplatedControl, type ILens, type IMarkdownMeasure, type IMeasureAddButtonProps, type IPanelDescription, type IPanelDescriptionCreator, type IParameterColumnList, type IParameterFromAggregation, type IParameterFromColumn, type IParameterFromDynamicList, type IParameterFromEndEvent, type IParameterFromEvent, type IParameterFromFormula, type IParameterFromManualInput, type IParameterFromStartEvent, type IParameterFromStaticList, type IParameterFromVariable, type IParameterTableList, type IPieCalculator, type IPieCalculatorInput, type IPieCalculatorOutput, type IProcessEventFilterValue, type IProcessEventIndicator, type IProcessFilterPreviewParams, type IProcessGraphCalculator, type IProcessGraphCalculatorInput, type IProcessGraphCalculatorOutput, type IProcessIndicator, type IProcessTransitionFilterValue, type IProcessTransitionIndicator, type IRadioIconGroupControl, type IRange, type ISelectBranchOption, type ISelectControl, type ISelectDividerOption, type ISelectGroupOption, type ISelectLeafOption, type ISelectNode, type ISelectOption, type ISelectSystemOption, type ISettingsMigratorParams, type ISizeControl, type ISortOrder, type ISortingAddButtonProps, type IStagesFilterValue, type IStaticListLabeledOption, type ISwitchControl, type ITagSetControl, type ITwoLimitsCalculator, type ITwoLimitsCalculatorExportInput, type ITwoLimitsCalculatorInput, type ITwoLimitsCalculatorOutput, type ITypeCalculator, type ITypeCalculatorInput, type ITypeCalculatorOutput, type ITypeCalculatorOutputItem, type ITypedFormulaControl, type IVertex, type IViewAction, type IViewContext, type IWidget, type IWidgetAction, type IWidgetColumnIndicator, type IWidgetColumnListVariable, type IWidgetDimension, type IWidgetDimensionHierarchy, type IWidgetDynamicListVariable, type IWidgetEntity, type IWidgetFilter, type IWidgetFiltration, type IWidgetFormatting, type IWidgetIndicator, type IWidgetIndicatorAddButtonProps, type IWidgetManifest, type IWidgetMeasure, type IWidgetMigrator, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetPresetSettings, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetStaticListVariable, type IWidgetStaticVariable, type IWidgetStruct, type IWidgetTable, type IWidgetTableColumn, OuterAggregation, type TAction, type TActionOnClickParameter, type TActionOpenView, type TActionValidator, type TActionsOnClick, type TAddButton, type TBoundedContentWithIndicator, type TColor, type TColorBase, type TColorRule, type TColumnIndicatorValue, type TContextMenu, type TContextMenuButton, type TContextMenuButtonActions, type TContextMenuButtonApply, type TContextMenuButtonClose, type TContextMenuButtonCustom, type TContextMenuButtonGroup, type TContextMenuButtonOptions, type TContextMenuList, type TContextMenuPositionUnit, type TContextMenuRow, type TControlUnion, type TCustomAddButtonSelectOption, type TDefineWidgetOptions, type TDimensionValue, type TDisplayCondition, type TDisplayMode, type TEmptyRecord, type TExtendedFormulaFilterValue, type TFiltrationAccessibility, type TGroupLevelRecord, type THintPlacement, type TLaunchActionParams, type TMeasureAddButtonSelectOption, type TMeasureValue, type TMigrateProcessor, type TMigrationStruct, type TParameterFromDataModel, type TProcessIndicatorValue, type TRecordAccessor, type TSelectChildOptions, type TSelectFetchNodes, type TSelectivePartial, type TSettingsFilter, type TSortDirection, type TUpdateSelection, type TValuePath, type TVersion, type TViewActionParameter, type TWidgetActionParameter, type TWidgetContainer, type TWidgetDimensionData, type TWidgetFilterValue, type TWidgetFiltering, type TWidgetIndicatorAggregationValue, type TWidgetIndicatorConversionValue, type TWidgetIndicatorDurationValue, type TWidgetIndicatorFormulaValue, type TWidgetIndicatorTemplateValue, type TWidgetIndicatorTimeValue, type TWidgetLevelRecord, type TWidgetMeasureData, type TWidgetSortingValue, type TWidgetVariable, applyIndexToArrayFormula, bindContentWithIndicator, bindContentsWithIndicators, checkDisplayCondition, clearMultiLineComments, clearSingleLineComments, colors, conversionTemplate, convertFiltersToFormula, convertToFormulasChain, countExecutionsTemplate, createEscaper, createAggregationTemplate as createMeasureAggregationTemplate, curlyBracketsContentPattern, dashboardLinkRegExp, dimensionAggregationTemplates, dimensionTemplateFormulas, displayConditionTemplate, doubleQuoteContentPattern, durationTemplates, escapeCurlyBracketLinkName, escapeDoubleQuoteLinkName, eventMeasureTemplateFormulas, fillTemplateSql, fillTemplateString, formattingConfig, formulaFilterMethods, generateColumnFormula, getColorByIndex, getDefaultSortOrders, getDimensionFormula, getDisplayConditionFormula, getEventMeasureFormula, getLocalizedText, getMeasureFormula, getProcessDimensionValueFormula, getRuleColor, getTransitionMeasureFormula, isDimensionProcessFilter, isDimensionsHierarchy, isFormulaFilterValue, isValidColor, mapDimensionsToInputs, mapEventMeasuresToInputs, mapFormulaFilterToCalculatorInput, mapFormulaFiltersToInputs, mapMeasuresToInputs, mapSettingsFiltersToInputs, mapSortingToInputs, mapTransitionMeasuresToInputs, measureInnerTemplateFormulas, measureTemplateFormulas, parseClickHouseType, parseIndicatorLink, prepareConversionParams, prepareDimensionAggregationParams, prepareDurationParams, prepareFormulaForSql, prepareMeasureAggregationParams, prepareSortOrders, prepareTimeParams, prepareValuesForSql, replaceDisplayCondition, replaceFiltersBySelection, replaceHierarchiesWithDimensions, selectDimensionFromHierarchy, timeTemplates, transitionMeasureTemplateFormulas, unescapeSpecialCharacters, updateDefaultModeSelection, updateSingleModeSelection, workspaceLinkRegExp };
|