@infomaximum/widget-sdk 5.29.0-1 → 5.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +364 -271
- package/dist/index.d.ts +11 -25
- package/dist/index.esm.js +7 -7
- package/dist/index.js +7 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -248,7 +248,7 @@ declare const formulaFilterMethods: {
|
|
|
248
248
|
readonly LAST_TIME: "LAST_TIME";
|
|
249
249
|
readonly EQUAL_TO: ECalculatorFilterMethods.EQUAL_TO;
|
|
250
250
|
readonly NOT_EQUAL_TO: ECalculatorFilterMethods.NOT_EQUAL_TO;
|
|
251
|
-
readonly GREATER_THAN: ECalculatorFilterMethods.GREATER_THAN;
|
|
251
|
+
readonly GREATER_THAN: ECalculatorFilterMethods.GREATER_THAN; /** Фильтры событий */
|
|
252
252
|
readonly LESS_THAN: ECalculatorFilterMethods.LESS_THAN;
|
|
253
253
|
readonly GREATER_THAN_OR_EQUAL_TO: ECalculatorFilterMethods.GREATER_THAN_OR_EQUAL_TO;
|
|
254
254
|
readonly LESS_THAN_OR_EQUAL_TO: ECalculatorFilterMethods.LESS_THAN_OR_EQUAL_TO;
|
|
@@ -282,30 +282,22 @@ interface IProcessFilterValue {
|
|
|
282
282
|
* но не учитываются при применении фильтра.
|
|
283
283
|
*/
|
|
284
284
|
interface IProcessFilterPreviewParams {
|
|
285
|
-
/** @deprecated необходимо использовать eventsNamesByProcessKey */
|
|
286
|
-
eventsNamesByProcessName?: Map<string, (string | null)[]>;
|
|
287
285
|
/**
|
|
288
286
|
* События, доступные при выборе процесса.
|
|
289
287
|
* Если параметр не передан, используются все события процесса на основе запроса к вычислителю.
|
|
290
288
|
*/
|
|
291
|
-
|
|
289
|
+
eventsNamesByProcessName?: Map<string, (string | null)[]>;
|
|
292
290
|
/** Фильтры событий */
|
|
293
291
|
eventFilters?: TExtendedFormulaFilterValue[];
|
|
294
292
|
}
|
|
295
293
|
interface IProcessEventFilterValue extends IProcessFilterValue {
|
|
296
|
-
|
|
297
|
-
processName?: string;
|
|
298
|
-
processKey: string;
|
|
294
|
+
processName: string;
|
|
299
295
|
eventName: string;
|
|
300
296
|
}
|
|
301
297
|
interface IProcessTransitionFilterValue extends IProcessFilterValue {
|
|
302
|
-
|
|
303
|
-
startEventProcessName?: string;
|
|
304
|
-
startEventProcessKey: string;
|
|
298
|
+
startEventProcessName: string;
|
|
305
299
|
startEventName: string;
|
|
306
|
-
|
|
307
|
-
endEventProcessName?: string;
|
|
308
|
-
endEventProcessKey: string;
|
|
300
|
+
endEventProcessName: string;
|
|
309
301
|
endEventName: string;
|
|
310
302
|
}
|
|
311
303
|
interface IClickPosition {
|
|
@@ -734,7 +726,7 @@ declare enum EDurationTemplateName {
|
|
|
734
726
|
type TWidgetIndicatorAggregationValue = {
|
|
735
727
|
mode: EWidgetIndicatorValueModes.AGGREGATION;
|
|
736
728
|
templateName: string;
|
|
737
|
-
|
|
729
|
+
processName: string | null;
|
|
738
730
|
eventName: string | null;
|
|
739
731
|
caseCaseIdFormula: string | null;
|
|
740
732
|
eventNameFormula: string | null;
|
|
@@ -750,12 +742,12 @@ declare enum EEventAppearances {
|
|
|
750
742
|
type TWidgetIndicatorConversionValue = {
|
|
751
743
|
mode: EWidgetIndicatorValueModes.CONVERSION;
|
|
752
744
|
startEventNameFormula: string | null;
|
|
753
|
-
|
|
745
|
+
startEventProcessName: string | null;
|
|
754
746
|
startEventName: string | null;
|
|
755
747
|
startEventFilters: TExtendedFormulaFilterValue[];
|
|
756
748
|
startEventTimeFormula: string | null;
|
|
757
749
|
endEventNameFormula: string | null;
|
|
758
|
-
|
|
750
|
+
endEventProcessName: string | null;
|
|
759
751
|
endEventName: string | null;
|
|
760
752
|
endEventFilters: TExtendedFormulaFilterValue[];
|
|
761
753
|
endCaseCaseIdFormula: string | null;
|
|
@@ -770,7 +762,7 @@ type TWidgetIndicatorDurationValue = {
|
|
|
770
762
|
type TWidgetIndicatorTimeValue = {
|
|
771
763
|
templateName: string;
|
|
772
764
|
mode: EWidgetIndicatorValueModes.START_TIME | EWidgetIndicatorValueModes.END_TIME;
|
|
773
|
-
|
|
765
|
+
processName: string;
|
|
774
766
|
eventName: string;
|
|
775
767
|
eventTimeFormula: string;
|
|
776
768
|
caseCaseIdFormula: string;
|
|
@@ -836,10 +828,8 @@ interface IGlobalContext {
|
|
|
836
828
|
unsetVariableValue(name: string): TWidgetVariable["value"];
|
|
837
829
|
/** Состояния(название сущности) отчета */
|
|
838
830
|
states: Map<string, ICommonState>;
|
|
839
|
-
/**
|
|
831
|
+
/** Процессы из модели данных */
|
|
840
832
|
processes: Map<string, IWidgetProcess>;
|
|
841
|
-
/** Процессы из модели данных (по ключу) */
|
|
842
|
-
processByKey: Map<string, IWidgetProcess>;
|
|
843
833
|
/** Имена таблиц из модели данных */
|
|
844
834
|
tables: Set<string>;
|
|
845
835
|
/** Функция для запроса информации о колонках таблицы из модели данных */
|
|
@@ -1881,9 +1871,7 @@ interface IEdge extends IGraphElement {
|
|
|
1881
1871
|
endName: string | null;
|
|
1882
1872
|
}
|
|
1883
1873
|
interface IProcessGraphCalculatorInput {
|
|
1884
|
-
|
|
1885
|
-
processName?: string;
|
|
1886
|
-
processKey: string;
|
|
1874
|
+
processName: string;
|
|
1887
1875
|
vertexLimit: number | null;
|
|
1888
1876
|
edgeLimit: number;
|
|
1889
1877
|
vertexMeasures: ICalculatorMeasureInput[];
|
|
@@ -2329,8 +2317,6 @@ interface IPanelDescription<Settings extends object, GroupSettings extends IGrou
|
|
|
2329
2317
|
interface IWidgetProcess {
|
|
2330
2318
|
/** @deprecated */
|
|
2331
2319
|
guid: string;
|
|
2332
|
-
/** Ключ процесса */
|
|
2333
|
-
key: string;
|
|
2334
2320
|
/** Имя процесса */
|
|
2335
2321
|
name: string;
|
|
2336
2322
|
/** Формула имени события */
|
package/dist/index.esm.js
CHANGED
|
@@ -882,7 +882,7 @@ var prepareDimensionAggregationParams = function (value) {
|
|
|
882
882
|
if (!value.eventName ||
|
|
883
883
|
!value.caseCaseIdFormula ||
|
|
884
884
|
!value.eventNameFormula ||
|
|
885
|
-
!value.
|
|
885
|
+
!value.processName ||
|
|
886
886
|
!value.templateName) {
|
|
887
887
|
return null;
|
|
888
888
|
}
|
|
@@ -933,7 +933,7 @@ var prepareTimeParams = function (value) {
|
|
|
933
933
|
if (!value.eventName ||
|
|
934
934
|
!value.caseCaseIdFormula ||
|
|
935
935
|
!value.eventNameFormula ||
|
|
936
|
-
!value.
|
|
936
|
+
!value.processName ||
|
|
937
937
|
!value.templateName ||
|
|
938
938
|
!value.eventTimeFormula) {
|
|
939
939
|
return;
|
|
@@ -1040,7 +1040,7 @@ var prepareMeasureAggregationParams = function (value) {
|
|
|
1040
1040
|
!value.caseCaseIdFormula ||
|
|
1041
1041
|
!value.eventNameFormula ||
|
|
1042
1042
|
!value.outerAggregation ||
|
|
1043
|
-
!value.
|
|
1043
|
+
!value.processName ||
|
|
1044
1044
|
!value.templateName) {
|
|
1045
1045
|
return null;
|
|
1046
1046
|
}
|
|
@@ -1100,10 +1100,10 @@ var prepareConversionParams = function (value) {
|
|
|
1100
1100
|
!value.endEventName ||
|
|
1101
1101
|
!value.endCaseCaseIdFormula ||
|
|
1102
1102
|
!value.endEventNameFormula ||
|
|
1103
|
-
!value.
|
|
1103
|
+
!value.endEventProcessName ||
|
|
1104
1104
|
!value.endEventTimeFormula ||
|
|
1105
1105
|
!value.startEventNameFormula ||
|
|
1106
|
-
!value.
|
|
1106
|
+
!value.startEventProcessName ||
|
|
1107
1107
|
!value.startEventTimeFormula) {
|
|
1108
1108
|
return null;
|
|
1109
1109
|
}
|
|
@@ -1136,10 +1136,10 @@ var prepareDurationParams = function (value) {
|
|
|
1136
1136
|
!value.endEventName ||
|
|
1137
1137
|
!value.endCaseCaseIdFormula ||
|
|
1138
1138
|
!value.endEventNameFormula ||
|
|
1139
|
-
!value.
|
|
1139
|
+
!value.endEventProcessName ||
|
|
1140
1140
|
!value.endEventTimeFormula ||
|
|
1141
1141
|
!value.startEventNameFormula ||
|
|
1142
|
-
!value.
|
|
1142
|
+
!value.startEventProcessName ||
|
|
1143
1143
|
!value.startEventTimeFormula) {
|
|
1144
1144
|
return null;
|
|
1145
1145
|
}
|
package/dist/index.js
CHANGED
|
@@ -883,7 +883,7 @@ var prepareDimensionAggregationParams = function (value) {
|
|
|
883
883
|
if (!value.eventName ||
|
|
884
884
|
!value.caseCaseIdFormula ||
|
|
885
885
|
!value.eventNameFormula ||
|
|
886
|
-
!value.
|
|
886
|
+
!value.processName ||
|
|
887
887
|
!value.templateName) {
|
|
888
888
|
return null;
|
|
889
889
|
}
|
|
@@ -934,7 +934,7 @@ var prepareTimeParams = function (value) {
|
|
|
934
934
|
if (!value.eventName ||
|
|
935
935
|
!value.caseCaseIdFormula ||
|
|
936
936
|
!value.eventNameFormula ||
|
|
937
|
-
!value.
|
|
937
|
+
!value.processName ||
|
|
938
938
|
!value.templateName ||
|
|
939
939
|
!value.eventTimeFormula) {
|
|
940
940
|
return;
|
|
@@ -1041,7 +1041,7 @@ var prepareMeasureAggregationParams = function (value) {
|
|
|
1041
1041
|
!value.caseCaseIdFormula ||
|
|
1042
1042
|
!value.eventNameFormula ||
|
|
1043
1043
|
!value.outerAggregation ||
|
|
1044
|
-
!value.
|
|
1044
|
+
!value.processName ||
|
|
1045
1045
|
!value.templateName) {
|
|
1046
1046
|
return null;
|
|
1047
1047
|
}
|
|
@@ -1101,10 +1101,10 @@ var prepareConversionParams = function (value) {
|
|
|
1101
1101
|
!value.endEventName ||
|
|
1102
1102
|
!value.endCaseCaseIdFormula ||
|
|
1103
1103
|
!value.endEventNameFormula ||
|
|
1104
|
-
!value.
|
|
1104
|
+
!value.endEventProcessName ||
|
|
1105
1105
|
!value.endEventTimeFormula ||
|
|
1106
1106
|
!value.startEventNameFormula ||
|
|
1107
|
-
!value.
|
|
1107
|
+
!value.startEventProcessName ||
|
|
1108
1108
|
!value.startEventTimeFormula) {
|
|
1109
1109
|
return null;
|
|
1110
1110
|
}
|
|
@@ -1137,10 +1137,10 @@ var prepareDurationParams = function (value) {
|
|
|
1137
1137
|
!value.endEventName ||
|
|
1138
1138
|
!value.endCaseCaseIdFormula ||
|
|
1139
1139
|
!value.endEventNameFormula ||
|
|
1140
|
-
!value.
|
|
1140
|
+
!value.endEventProcessName ||
|
|
1141
1141
|
!value.endEventTimeFormula ||
|
|
1142
1142
|
!value.startEventNameFormula ||
|
|
1143
|
-
!value.
|
|
1143
|
+
!value.startEventProcessName ||
|
|
1144
1144
|
!value.startEventTimeFormula) {
|
|
1145
1145
|
return null;
|
|
1146
1146
|
}
|