@infomaximum/widget-sdk 4.0.0-beta41 → 4.0.0-beta43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +208 -205
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -76,6 +76,8 @@ interface ICalculatorIndicatorInput {
76
76
  }
77
77
  interface ICalculatorIndicatorOutput {
78
78
  values: (string | null)[];
79
+ dataType: ESimpleDataType;
80
+ isArrayDataType: boolean;
79
81
  }
80
82
  interface ICalculatorDimensionInput extends ICalculatorIndicatorInput {
81
83
  formula: string;
@@ -567,7 +569,7 @@ interface IWidgetsContext {
567
569
  filtrationMode: TFiltrationMode;
568
570
  reportDisplayRules: Map<string, IDisplayRule>;
569
571
  workspaceDisplayRules: Map<number, Map<string, IDisplayRule>>;
570
- viewKeyByName: Map<string, string>;
572
+ viewNameByKey: Map<string, string>;
571
573
  fetchColumnsByTableName(tableName: string): Promise<IWidgetTableColumn[] | undefined>;
572
574
  }
573
575
 
@@ -910,205 +912,6 @@ interface IBaseWidgetSettings {
910
912
  displayConditionComment?: string;
911
913
  }
912
914
 
913
- interface ILens<T extends TNullable<object>, Value> {
914
- get(obj: T): TNullable<Value>;
915
- set(obj: T, value: Value): void;
916
- }
917
- type TValuePath = string | string[];
918
- type TRecordAccessor<Settings extends object, Value> = TValuePath | ILens<Settings, Value>;
919
- interface IDisplayPredicate<Settings> {
920
- (s: Settings): boolean;
921
- }
922
- /** Конфигурация разделителя */
923
- interface IDividerRecord<Settings extends object = object> {
924
- type: "divider";
925
- shouldDisplay?: IDisplayPredicate<Settings>;
926
- }
927
- /** Конфигурация набора групп */
928
- interface IGroupSetRecord {
929
- type: "groupSet";
930
- groupSetKey: string;
931
- }
932
- type TEmptyRecord = boolean | null | undefined;
933
- /** Набор конфигураций, которые могут встречаться на уровне виджета */
934
- type TWidgetLevelRecord<Settings extends object> = IControlRecord<Settings, any, EControlType> | IDividerRecord<Settings> | IGroupSetRecord | TEmptyRecord;
935
- /** Набор конфигураций, которые могут встречаться на уровне группы */
936
- type TGroupLevelRecord<LevelGroupSettings extends object> = IControlRecord<LevelGroupSettings, any, EControlType> | IDividerRecord<LevelGroupSettings> | TEmptyRecord;
937
- interface ISelectOption {
938
- value: string;
939
- label: string;
940
- disabled?: boolean;
941
- rightIcon?: "fx" | string;
942
- }
943
- declare enum ESelectOptionTypes {
944
- DIVIDER = "DIVIDER",
945
- SYSTEM = "SYSTEM",
946
- GROUP = "GROUP",
947
- BRANCH = "BRANCH",
948
- LEAF = "LEAF"
949
- }
950
- declare enum ECustomSelectTemplates {
951
- FORMULA = "FORMULA",
952
- DIMENSION_GROUPS = "DIMENSION_GROUPS"
953
- }
954
- interface ISelectDividerOption {
955
- type: ESelectOptionTypes.DIVIDER;
956
- }
957
- interface ISelectSystemOption<T extends string = string> {
958
- type: ESelectOptionTypes.SYSTEM;
959
- template: T;
960
- }
961
- interface ISelectGroupOption {
962
- type: ESelectOptionTypes.GROUP;
963
- label: string;
964
- options: IAddButtonSelectOption[];
965
- icon: string;
966
- }
967
- type TSelectFetchOptions = () => Promise<IAddButtonSelectOption[]>;
968
- type TSelectChildOptions = IAddButtonSelectOption[] | TSelectFetchOptions;
969
- interface ISelectBranchOption {
970
- type: ESelectOptionTypes.BRANCH;
971
- label: string;
972
- options: TSelectChildOptions;
973
- icon?: string;
974
- disabled?: boolean;
975
- }
976
- interface ISelectLeafOption {
977
- type: ESelectOptionTypes.LEAF;
978
- label: string;
979
- value: string;
980
- onSelect: <T = object>(value: string, update: <R extends object>(f: (prevItems: (T | R)[]) => (T | R)[]) => void) => void;
981
- /** Строка в формате base64 */
982
- icon?: string;
983
- disabled?: boolean;
984
- }
985
- type IAddButtonSelectOption = ISelectDividerOption | ISelectGroupOption | ISelectBranchOption | ISelectLeafOption;
986
- type TCustomAddButtonSelectOption = ISelectSystemOption<ECustomSelectTemplates> | IAddButtonSelectOption;
987
- type TMeasureAddButtonSelectOption = IAddButtonSelectOption;
988
- interface ICustomAddButtonProps {
989
- options: TSelectChildOptions;
990
- hasDropdown?: boolean;
991
- onClick?: ISelectLeafOption["onSelect"];
992
- }
993
- interface IWidgetIndicatorMenuConfig {
994
- hideTablesColumnsOptions?: boolean;
995
- hideCommonOptions?: boolean;
996
- hideQuantityOption?: boolean;
997
- }
998
- interface IMeasureMenuConfig extends IWidgetIndicatorMenuConfig {
999
- options?: TMeasureAddButtonSelectOption[];
1000
- }
1001
- interface ISortingMenuConfig extends IWidgetIndicatorMenuConfig {
1002
- }
1003
- /** Кнопка добавления группы в набор */
1004
- type TAddButton = {
1005
- title: string;
1006
- indicatorType: Exclude<EWidgetIndicatorType, EWidgetIndicatorType.CUSTOM | EWidgetIndicatorType.MEASURE | EWidgetIndicatorType.SORTING>;
1007
- } | {
1008
- title: string;
1009
- indicatorType: EWidgetIndicatorType.CUSTOM;
1010
- props: ICustomAddButtonProps;
1011
- } | {
1012
- title: string;
1013
- indicatorType: EWidgetIndicatorType.MEASURE;
1014
- menuConfig?: IMeasureMenuConfig;
1015
- } | {
1016
- title: string;
1017
- indicatorType: EWidgetIndicatorType.SORTING;
1018
- menuConfig?: ISortingMenuConfig;
1019
- };
1020
- interface IAutoIdentifiedArrayItem {
1021
- /**
1022
- * Идентификатор, добавляемый системой "на лету" для удобства разработки, не сохраняется на сервер.
1023
- * Гарантируется уникальность id в пределах settings виджета.
1024
- */
1025
- id: number;
1026
- }
1027
- interface IGroupSettings extends IAutoIdentifiedArrayItem, Record<string, any> {
1028
- }
1029
- /** Конфигурация набора групп */
1030
- interface IGroupSetDescription<Settings extends object, GroupSettings extends object> {
1031
- /** Заголовок */
1032
- title: string;
1033
- /** Максимальное количество групп в наборе */
1034
- maxCount: number;
1035
- /** Описание доступа к настройкам групп */
1036
- accessor: TRecordAccessor<Settings, GroupSettings[]>;
1037
- /** Кнопки добавления группы в набор */
1038
- addButtons: TAddButton[];
1039
- /** Создать элементы управления внутри группы (для вкладки настроек данных) */
1040
- createDataRecords?(group: IGroupSettings): TGroupLevelRecord<GroupSettings>[];
1041
- /** Создать элементы управления внутри группы (для вкладки настроек отображения) */
1042
- createDisplayRecords?(group: IGroupSettings): TGroupLevelRecord<GroupSettings>[];
1043
- /** Получить название для плашки */
1044
- getGroupTitle?(group: IGroupSettings): string;
1045
- /** Валидная ли группа */
1046
- isValid?(group: IGroupSettings): boolean;
1047
- /** Находится ли группа в состоянии загрузки */
1048
- isLoading?(group: IGroupSettings): boolean;
1049
- /** Можно ли удалять группу по умолчанию true */
1050
- isRemovable?(group: IGroupSettings): boolean;
1051
- /** Можно ли сортировать группу по умолчанию true */
1052
- isDraggable?: boolean;
1053
- /** Опциональный верхний отступ для группы */
1054
- marginTop?: number;
1055
- }
1056
- /** Конфигурация левой панели */
1057
- interface IPanelDescription<Settings extends object, GroupSettings extends IGroupSettings = IGroupSettings> {
1058
- /** Добавить заголовок для виджета */
1059
- useHeader?: boolean;
1060
- /** Добавить описание для виджета */
1061
- useMarkdown?: boolean;
1062
- /** Конфигурация настроек данных виджета */
1063
- dataRecords?: TWidgetLevelRecord<Settings>[];
1064
- /** Конфигурация настроек отображения виджета */
1065
- displayRecords?: TWidgetLevelRecord<Settings>[];
1066
- /** Конфигурации наборов групп */
1067
- groupSetDescriptions?: Record<string, IGroupSetDescription<Settings, GroupSettings>>;
1068
- }
1069
- interface IWidgetProcess {
1070
- guid: string;
1071
- /** Имя процесса */
1072
- name: string;
1073
- /** Формула имени события */
1074
- eventNameFormula: string;
1075
- /** Формула времени события */
1076
- eventTimeFormula: string;
1077
- /** Формула CaseId события */
1078
- eventCaseIdFormula: string;
1079
- /** Формула CaseId кейса */
1080
- caseCaseIdFormula: string;
1081
- /** Имя колонки CaseId события */
1082
- eventCaseIdColumnName: string;
1083
- /** Тип данных CaseId */
1084
- caseIdDataType: ESimpleDataType;
1085
- /** Тип данных времени события */
1086
- eventTimeDataType: ESimpleDataType;
1087
- /** Является ли процесс валидным */
1088
- isValid: boolean;
1089
- }
1090
- /** Конфигурация левой панели при погружении на уровень вниз */
1091
- interface IDivePanelDescription<Settings extends object, GroupSettings extends IGroupSettings = IGroupSettings> extends IPanelDescription<Settings, GroupSettings> {
1092
- }
1093
- interface IPanelDescriptionCreator<Settings extends IBaseWidgetSettings, GroupSettings extends IGroupSettings> {
1094
- (context: IWidgetsContext, panelSettings: Settings): IPanelDescription<Settings, GroupSettings>;
1095
- }
1096
-
1097
- interface IWidgetPlaceholderController {
1098
- setError(value: Error | null): void;
1099
- setConfigured(value: boolean): void;
1100
- setDisplay(value: boolean): void;
1101
- setEmpty(value: boolean): void;
1102
- setOverlay(value: boolean): void;
1103
- }
1104
- interface IWidgetPlaceholderValues {
1105
- error: Error | null;
1106
- isConfigured: boolean;
1107
- isDisplay: boolean | undefined;
1108
- isEmpty: boolean;
1109
- isOverlay: boolean;
1110
- }
1111
-
1112
915
  /** Формат входного параметра GeneralCalculator */
1113
916
  interface IBaseDimensionsAndMeasuresCalculatorInput {
1114
917
  /** Разрезы */
@@ -1367,6 +1170,205 @@ interface ICalculatorFactory {
1367
1170
  type: () => ITypeCalculator;
1368
1171
  }
1369
1172
 
1173
+ interface ILens<T extends TNullable<object>, Value> {
1174
+ get(obj: T): TNullable<Value>;
1175
+ set(obj: T, value: Value): void;
1176
+ }
1177
+ type TValuePath = string | string[];
1178
+ type TRecordAccessor<Settings extends object, Value> = TValuePath | ILens<Settings, Value>;
1179
+ interface IDisplayPredicate<Settings> {
1180
+ (s: Settings): boolean;
1181
+ }
1182
+ /** Конфигурация разделителя */
1183
+ interface IDividerRecord<Settings extends object = object> {
1184
+ type: "divider";
1185
+ shouldDisplay?: IDisplayPredicate<Settings>;
1186
+ }
1187
+ /** Конфигурация набора групп */
1188
+ interface IGroupSetRecord {
1189
+ type: "groupSet";
1190
+ groupSetKey: string;
1191
+ }
1192
+ type TEmptyRecord = boolean | null | undefined;
1193
+ /** Набор конфигураций, которые могут встречаться на уровне виджета */
1194
+ type TWidgetLevelRecord<Settings extends object> = IControlRecord<Settings, any, EControlType> | IDividerRecord<Settings> | IGroupSetRecord | TEmptyRecord;
1195
+ /** Набор конфигураций, которые могут встречаться на уровне группы */
1196
+ type TGroupLevelRecord<LevelGroupSettings extends object> = IControlRecord<LevelGroupSettings, any, EControlType> | IDividerRecord<LevelGroupSettings> | TEmptyRecord;
1197
+ interface ISelectOption {
1198
+ value: string;
1199
+ label: string;
1200
+ disabled?: boolean;
1201
+ rightIcon?: "fx" | string;
1202
+ }
1203
+ declare enum ESelectOptionTypes {
1204
+ DIVIDER = "DIVIDER",
1205
+ SYSTEM = "SYSTEM",
1206
+ GROUP = "GROUP",
1207
+ BRANCH = "BRANCH",
1208
+ LEAF = "LEAF"
1209
+ }
1210
+ declare enum ECustomSelectTemplates {
1211
+ FORMULA = "FORMULA",
1212
+ DIMENSION_GROUPS = "DIMENSION_GROUPS"
1213
+ }
1214
+ interface ISelectDividerOption {
1215
+ type: ESelectOptionTypes.DIVIDER;
1216
+ }
1217
+ interface ISelectSystemOption<T extends string = string> {
1218
+ type: ESelectOptionTypes.SYSTEM;
1219
+ template: T;
1220
+ }
1221
+ interface ISelectGroupOption {
1222
+ type: ESelectOptionTypes.GROUP;
1223
+ label: string;
1224
+ options: IAddButtonSelectOption[];
1225
+ icon: string;
1226
+ }
1227
+ type TSelectFetchOptions = () => Promise<IAddButtonSelectOption[]>;
1228
+ type TSelectChildOptions = IAddButtonSelectOption[] | TSelectFetchOptions;
1229
+ interface ISelectBranchOption {
1230
+ type: ESelectOptionTypes.BRANCH;
1231
+ label: string;
1232
+ options: TSelectChildOptions;
1233
+ icon?: string;
1234
+ disabled?: boolean;
1235
+ }
1236
+ interface ISelectLeafOption {
1237
+ type: ESelectOptionTypes.LEAF;
1238
+ label: string;
1239
+ value: string;
1240
+ onSelect: <T extends object>(value: string, update: <R extends object>(f: (prevItems: (T | R)[]) => (T | R)[]) => void) => void;
1241
+ /** Строка в формате base64 */
1242
+ icon?: string;
1243
+ disabled?: boolean;
1244
+ }
1245
+ type IAddButtonSelectOption = ISelectDividerOption | ISelectGroupOption | ISelectBranchOption | ISelectLeafOption;
1246
+ type TCustomAddButtonSelectOption = ISelectSystemOption<ECustomSelectTemplates> | IAddButtonSelectOption;
1247
+ type TMeasureAddButtonSelectOption = IAddButtonSelectOption;
1248
+ interface ICustomAddButtonProps {
1249
+ options: TSelectChildOptions;
1250
+ hasDropdown?: boolean;
1251
+ onClick?: ISelectLeafOption["onSelect"];
1252
+ }
1253
+ interface IWidgetIndicatorMenuConfig {
1254
+ hideTablesColumnsOptions?: boolean;
1255
+ hideCommonOptions?: boolean;
1256
+ hideQuantityOption?: boolean;
1257
+ }
1258
+ interface IMeasureMenuConfig extends IWidgetIndicatorMenuConfig {
1259
+ options?: TMeasureAddButtonSelectOption[];
1260
+ }
1261
+ interface ISortingMenuConfig extends IWidgetIndicatorMenuConfig {
1262
+ }
1263
+ /** Кнопка добавления группы в набор */
1264
+ type TAddButton = {
1265
+ title: string;
1266
+ indicatorType: Exclude<EWidgetIndicatorType, EWidgetIndicatorType.CUSTOM | EWidgetIndicatorType.MEASURE | EWidgetIndicatorType.SORTING>;
1267
+ } | {
1268
+ title: string;
1269
+ indicatorType: EWidgetIndicatorType.CUSTOM;
1270
+ props: ICustomAddButtonProps;
1271
+ } | {
1272
+ title: string;
1273
+ indicatorType: EWidgetIndicatorType.MEASURE;
1274
+ menuConfig?: IMeasureMenuConfig;
1275
+ } | {
1276
+ title: string;
1277
+ indicatorType: EWidgetIndicatorType.SORTING;
1278
+ menuConfig?: ISortingMenuConfig;
1279
+ };
1280
+ interface IAutoIdentifiedArrayItem {
1281
+ /**
1282
+ * Идентификатор, добавляемый системой "на лету" для удобства разработки, не сохраняется на сервер.
1283
+ * Гарантируется уникальность id в пределах settings виджета.
1284
+ */
1285
+ id: number;
1286
+ }
1287
+ interface IGroupSettings extends IAutoIdentifiedArrayItem, Record<string, any> {
1288
+ }
1289
+ /** Конфигурация набора групп */
1290
+ interface IGroupSetDescription<Settings extends object, GroupSettings extends object> {
1291
+ /** Заголовок */
1292
+ title: string;
1293
+ /** Максимальное количество групп в наборе */
1294
+ maxCount: number;
1295
+ /** Описание доступа к настройкам групп */
1296
+ accessor: TRecordAccessor<Settings, GroupSettings[]>;
1297
+ /** Кнопки добавления группы в набор */
1298
+ addButtons: TAddButton[];
1299
+ /** Создать элементы управления внутри группы (для вкладки настроек данных) */
1300
+ createDataRecords?(group: IGroupSettings): TGroupLevelRecord<GroupSettings>[];
1301
+ /** Создать элементы управления внутри группы (для вкладки настроек отображения) */
1302
+ createDisplayRecords?(group: IGroupSettings): TGroupLevelRecord<GroupSettings>[];
1303
+ /** Получить название для плашки */
1304
+ getGroupTitle?(group: IGroupSettings): string;
1305
+ /** Валидная ли группа */
1306
+ isValid?(group: IGroupSettings): boolean;
1307
+ /** Находится ли группа в состоянии загрузки */
1308
+ isLoading?(group: IGroupSettings): boolean;
1309
+ /** Можно ли удалять группу по умолчанию true */
1310
+ isRemovable?(group: IGroupSettings): boolean;
1311
+ /** Можно ли сортировать группу по умолчанию true */
1312
+ isDraggable?: boolean;
1313
+ /** Опциональный верхний отступ для группы */
1314
+ marginTop?: number;
1315
+ }
1316
+ /** Конфигурация левой панели */
1317
+ interface IPanelDescription<Settings extends object, GroupSettings extends IGroupSettings = IGroupSettings> {
1318
+ /** Добавить заголовок для виджета */
1319
+ useHeader?: boolean;
1320
+ /** Добавить описание для виджета */
1321
+ useMarkdown?: boolean;
1322
+ /** Конфигурация настроек данных виджета */
1323
+ dataRecords?: TWidgetLevelRecord<Settings>[];
1324
+ /** Конфигурация настроек отображения виджета */
1325
+ displayRecords?: TWidgetLevelRecord<Settings>[];
1326
+ /** Конфигурации наборов групп */
1327
+ groupSetDescriptions?: Record<string, IGroupSetDescription<Settings, GroupSettings>>;
1328
+ }
1329
+ interface IWidgetProcess {
1330
+ guid: string;
1331
+ /** Имя процесса */
1332
+ name: string;
1333
+ /** Формула имени события */
1334
+ eventNameFormula: string;
1335
+ /** Формула времени события */
1336
+ eventTimeFormula: string;
1337
+ /** Формула CaseId события */
1338
+ eventCaseIdFormula: string;
1339
+ /** Формула CaseId кейса */
1340
+ caseCaseIdFormula: string;
1341
+ /** Имя колонки CaseId события */
1342
+ eventCaseIdColumnName: string;
1343
+ /** Тип данных CaseId */
1344
+ caseIdDataType: ESimpleDataType;
1345
+ /** Тип данных времени события */
1346
+ eventTimeDataType: ESimpleDataType;
1347
+ /** Является ли процесс валидным */
1348
+ isValid: boolean;
1349
+ }
1350
+ /** Конфигурация левой панели при погружении на уровень вниз */
1351
+ interface IDivePanelDescription<Settings extends object, GroupSettings extends IGroupSettings = IGroupSettings> extends IPanelDescription<Settings, GroupSettings> {
1352
+ }
1353
+ interface IPanelDescriptionCreator<Settings extends IBaseWidgetSettings, GroupSettings extends IGroupSettings> {
1354
+ (context: IWidgetsContext, panelSettings: Settings, calculatorFactory: ICalculatorFactory): IPanelDescription<Settings, GroupSettings>;
1355
+ }
1356
+
1357
+ interface IWidgetPlaceholderController {
1358
+ setError(value: Error | null): void;
1359
+ setConfigured(value: boolean): void;
1360
+ setDisplay(value: boolean): void;
1361
+ setEmpty(value: boolean): void;
1362
+ setOverlay(value: boolean): void;
1363
+ }
1364
+ interface IWidgetPlaceholderValues {
1365
+ error: Error | null;
1366
+ isConfigured: boolean;
1367
+ isDisplay: boolean | undefined;
1368
+ isEmpty: boolean;
1369
+ isOverlay: boolean;
1370
+ }
1371
+
1370
1372
  interface IDefinition<WidgetSettings extends IBaseWidgetSettings, GroupSettings extends IGroupSettings> {
1371
1373
  /** иконка виджета отображаемая в системе (в base64, svg или png) */
1372
1374
  icon?: string;
@@ -1402,6 +1404,10 @@ type TContextMenuRow = {
1402
1404
  key: string;
1403
1405
  label: string;
1404
1406
  onClick: () => void;
1407
+ tooltip?: {
1408
+ title: string;
1409
+ offset?: [number | `${number}%`, number | `${number}%`];
1410
+ };
1405
1411
  };
1406
1412
  type TContextMenuButton = TContextMenuButtonActions | TContextMenuButtonClose | TContextMenuButtonApply | TContextMenuButtonCustom | TContextMenuButtonOptions;
1407
1413
  type TContextMenuButtonActions = {
@@ -1436,9 +1442,6 @@ type TLaunchActionParams = {
1436
1442
  filters: ICalculatorFilter[];
1437
1443
  needConfirmation?: boolean;
1438
1444
  };
1439
- interface ILaunchActionSubscribers {
1440
- onActionSuccess(callback: () => void): void;
1441
- }
1442
1445
  type TWidgetContainer = {
1443
1446
  /** Имеет ли контейнер виджета ограниченную максимальную высоту */
1444
1447
  isMaxHeightLimited: boolean;
@@ -1476,7 +1479,7 @@ interface IWidgetProps<WidgetSettings extends IBaseWidgetSettings = IBaseWidgetS
1476
1479
  /** Данные о контейнере виджета */
1477
1480
  widgetContainer: TWidgetContainer;
1478
1481
  /** Запуск действия */
1479
- launchAction(params: TLaunchActionParams): ILaunchActionSubscribers;
1482
+ launchAction(params: TLaunchActionParams): void;
1480
1483
  /** Значение, сохраняемое в localStorage и URL */
1481
1484
  persistValue: IWidgetPersistValue;
1482
1485
  /** функция для управления контекстными меню */
@@ -1652,4 +1655,4 @@ declare global {
1652
1655
  }
1653
1656
  }
1654
1657
 
1655
- export { EActionTypes, ECalculatorFilterMethods, EColorMode, EColorScope, EControlType, ECustomSelectTemplates, EDbType, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationUnit, EEventMeasureTemplateNames, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureTemplateNames, EOpenViewMode, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESortDirection, ESortingValueModes, ETransitionMeasureTemplateNames, EViewType, EWidgetActionInputMode, EWidgetFilterMode, EWidgetIndicatorType, EWidgetIndicatorValueModes, type IActionCommon, type IActionGoToUrl, type IActionOpenView, type IActionRunScript, type IActionScript, type IActionScriptField, type IActionUpdateVariable, type IAddButtonSelectOption, type IAddDurationOfTransitionFilter, type IAddPresenceOfEventFilter, type IAddPresenceOfTransitionFilter, type IAddRepetitionOfEventFilter, 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 ICommonColumnIndicator, 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 IGraphElement, type IGroupSetDescription, type IGroupSetRecord, type IGroupSettings, type IHistogramBin, type IHistogramCalculator, type IHistogramCalculatorInput, type IHistogramCalculatorOutput, type ILaunchActionSubscribers, type ILens, type IMarkdownMeasure, type IMeasureMenuConfig, 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 ISortingMenuConfig, type IStagesFilterValue, type ITwoLimitsCalculator, type ITwoLimitsCalculatorExportInput, type ITwoLimitsCalculatorInput, type ITwoLimitsCalculatorOutput, type ITypeCalculator, type ITypeCalculatorInput, type ITypeCalculatorOutput, type IVertex, type IWidget, type IWidgetActionInput, type IWidgetColumnIndicator, type IWidgetDimension, type IWidgetDimensionHierarchy, type IWidgetEntity, type IWidgetFilter, type IWidgetFiltration, type IWidgetFormatting, type IWidgetFormulaFilterValue, type IWidgetIndicator, type IWidgetIndicatorMenuConfig, type IWidgetMeasure, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetTable, type IWidgetTableColumn, type IWidgetsContext, type TActionsOnClick, 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 TFiltrationMode, type TGroupLevelRecord, type TLaunchActionParams, type TMeasureAddButtonSelectOption, type TProcessIndicatorValue, type TRecordAccessor, type TSelectChildOptions, type TSelectFetchOptions, type TSelectivePartial, type TSortDirection, type TUpdateSelection, type TValuePath, type TWidgetActionCommonInputValue, type TWidgetActionInputValue, type TWidgetContainer, type TWidgetFilterValue, type TWidgetFiltering, type TWidgetLevelRecord, type TWidgetSortingValue, type TWidgetSortingValueRelatedWidgetDimension, type TWidgetSortingValueRelatedWidgetIndicator, type TWidgetSortingValueRelatedWidgetMeasure, type TWidgetVariable, bindContentWithIndicator, bindContentsWithIndicators, checkDisplayCondition, dimensionTemplateFormulas, escapeSpecialCharacters, eventMeasureTemplateFormulas, fillTemplateString, formulaFilterMethods, generateColumnFormula, getDimensionFormula, getDisplayConditionFormula, getEventMeasureFormula, getLocalizedText, getMeasureFormula, getTransitionMeasureFormula, isActionValid, isHierarchy, mapDimensionsToInputs, mapEventMeasuresToInputs, mapFormulaFilterToCalculatorInput, mapFormulaFiltersToInputs, mapMeasuresToInputs, mapSortingToInputs, mapTransitionMeasuresToInputs, measureTemplateFormulas, prepareValuesForSql, replaceDisplayCondition, replaceFiltersBySelection, replaceHierarchiesWithDimensions, selectDimensionFromHierarchy, transitionMeasureTemplateFormulas, unescapeSpecialCharacters, updateDefaultModeSelection, updateMultiModeSelection, updateSingleModeSelection };
1658
+ export { EActionTypes, ECalculatorFilterMethods, EColorMode, EColorScope, EControlType, ECustomSelectTemplates, EDbType, EDimensionTemplateNames, EDisplayConditionMode, EDrawerPlacement, EDurationUnit, EEventMeasureTemplateNames, EFormatTypes, EFormattingPresets, EFormulaFilterFieldKeys, EIndicatorType, ELastTimeUnit, EMarkdownDisplayMode, EMeasureTemplateNames, EOpenViewMode, EProcessFilterNames, ESelectOptionTypes, ESimpleDataType, ESortDirection, ESortingValueModes, ETransitionMeasureTemplateNames, EViewType, EWidgetActionInputMode, EWidgetFilterMode, EWidgetIndicatorType, EWidgetIndicatorValueModes, type IActionCommon, type IActionGoToUrl, type IActionOpenView, type IActionRunScript, type IActionScript, type IActionScriptField, type IActionUpdateVariable, type IAddButtonSelectOption, type IAddDurationOfTransitionFilter, type IAddPresenceOfEventFilter, type IAddPresenceOfTransitionFilter, type IAddRepetitionOfEventFilter, 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 ICommonColumnIndicator, 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 IGraphElement, type IGroupSetDescription, type IGroupSetRecord, type IGroupSettings, type IHistogramBin, type IHistogramCalculator, type IHistogramCalculatorInput, type IHistogramCalculatorOutput, type ILens, type IMarkdownMeasure, type IMeasureMenuConfig, 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 ISortingMenuConfig, type IStagesFilterValue, type ITwoLimitsCalculator, type ITwoLimitsCalculatorExportInput, type ITwoLimitsCalculatorInput, type ITwoLimitsCalculatorOutput, type ITypeCalculator, type ITypeCalculatorInput, type ITypeCalculatorOutput, type IVertex, type IWidget, type IWidgetActionInput, type IWidgetColumnIndicator, type IWidgetDimension, type IWidgetDimensionHierarchy, type IWidgetEntity, type IWidgetFilter, type IWidgetFiltration, type IWidgetFormatting, type IWidgetFormulaFilterValue, type IWidgetIndicator, type IWidgetIndicatorMenuConfig, type IWidgetMeasure, type IWidgetPersistValue, type IWidgetPlaceholderController, type IWidgetPlaceholderValues, type IWidgetProcess, type IWidgetProps, type IWidgetSortingIndicator, type IWidgetTable, type IWidgetTableColumn, type IWidgetsContext, type TActionsOnClick, 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 TFiltrationMode, type TGroupLevelRecord, type TLaunchActionParams, type TMeasureAddButtonSelectOption, type TProcessIndicatorValue, type TRecordAccessor, type TSelectChildOptions, type TSelectFetchOptions, type TSelectivePartial, type TSortDirection, type TUpdateSelection, type TValuePath, type TWidgetActionCommonInputValue, type TWidgetActionInputValue, type TWidgetContainer, type TWidgetFilterValue, type TWidgetFiltering, type TWidgetLevelRecord, type TWidgetSortingValue, type TWidgetSortingValueRelatedWidgetDimension, type TWidgetSortingValueRelatedWidgetIndicator, type TWidgetSortingValueRelatedWidgetMeasure, type TWidgetVariable, bindContentWithIndicator, bindContentsWithIndicators, checkDisplayCondition, dimensionTemplateFormulas, escapeSpecialCharacters, eventMeasureTemplateFormulas, fillTemplateString, formulaFilterMethods, generateColumnFormula, getDimensionFormula, getDisplayConditionFormula, getEventMeasureFormula, getLocalizedText, getMeasureFormula, getTransitionMeasureFormula, isActionValid, isHierarchy, mapDimensionsToInputs, mapEventMeasuresToInputs, mapFormulaFilterToCalculatorInput, mapFormulaFiltersToInputs, mapMeasuresToInputs, mapSortingToInputs, mapTransitionMeasuresToInputs, measureTemplateFormulas, prepareValuesForSql, replaceDisplayCondition, replaceFiltersBySelection, replaceHierarchiesWithDimensions, selectDimensionFromHierarchy, transitionMeasureTemplateFormulas, unescapeSpecialCharacters, updateDefaultModeSelection, updateMultiModeSelection, updateSingleModeSelection };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "4.0.0-beta41",
3
+ "version": "4.0.0-beta43",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",