mdt-client 31.3.24 → 31.3.25
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/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @default { "op": "eq", "p1": "", "p2": "" }
|
|
5
5
|
*/
|
|
6
|
-
export declare type IFilter = IFilterItem | IFilterGroup | IFilterIn;
|
|
6
|
+
export declare type IFilter = IFilterItem | IFilterGroup | IFilterIn | IFilterQueryIn;
|
|
7
7
|
export declare type FilterKeys = keyof IFilter | keyof IFilterItem | keyof IFilterGroup;
|
|
8
8
|
export declare type FilterUserIdOp = "userId";
|
|
9
9
|
export declare type FilterOp = "eq" | "ne" | "gt" | "ge" | "lt" | "le" | "startsWith" | "endsWith" | "contains" | "fulltext" | "equalTemplate" | "queryIn" | "notStartsWith" | "notContains" | "notEndsWith" | "null" | "notNull" | FilterUserIdOp | FilterInOperation;
|
|
@@ -41,7 +41,7 @@ export interface IFilterIn extends Omit<IFilterItem, "op" | "p2"> {
|
|
|
41
41
|
field: string;
|
|
42
42
|
filter?: IFilter;
|
|
43
43
|
args?: QueryInArgs;
|
|
44
|
-
} | (string | Date)[];
|
|
44
|
+
} | (string | Date | number)[];
|
|
45
45
|
}
|
|
46
46
|
export declare type QueryInArgs = ArgValue[] | {
|
|
47
47
|
[k: string]: ArgValue;
|
|
@@ -113,7 +113,21 @@ export interface ILegacyFacade {
|
|
|
113
113
|
ProgressBarStateController: any;
|
|
114
114
|
getChartElByCode: (code: string) => Element;
|
|
115
115
|
linkIcon: any;
|
|
116
|
-
|
|
116
|
+
ApiJSActionsPipeline: any;
|
|
117
|
+
DatePickerInput: any;
|
|
118
|
+
/**
|
|
119
|
+
* Преобразует дату в строку формата ISO (YYYY-MM-DD)
|
|
120
|
+
* @param date Объект даты
|
|
121
|
+
* @returns Строка в формате YYYY-MM-DD
|
|
122
|
+
*/
|
|
123
|
+
toISO8601DateString: any;
|
|
124
|
+
/**
|
|
125
|
+
* Преобразует дату в строку формата ISO с временем (YYYY-MM-DDThh:mm:ssZ)
|
|
126
|
+
* @param date Объект даты
|
|
127
|
+
* @param dateOnly Если true, возвращает только дату без времени
|
|
128
|
+
* @returns Строка в формате ISO
|
|
129
|
+
*/
|
|
130
|
+
toISOString: any;
|
|
117
131
|
}
|
|
118
132
|
export interface ModulesLegacyFacade {
|
|
119
133
|
pbi?: {
|
|
@@ -9,10 +9,13 @@ declare type AxisPosition = "start" | "end";
|
|
|
9
9
|
export declare type AxisLabelPosition = "vertical" | "horizontal";
|
|
10
10
|
export declare type TwoDimChartLegendPosition = "top" | "bottom";
|
|
11
11
|
declare type ChartField = string;
|
|
12
|
-
export declare type
|
|
12
|
+
export declare type ChartFieldWithTitle = {
|
|
13
|
+
title?: string;
|
|
13
14
|
name: string;
|
|
14
|
-
color?: string;
|
|
15
15
|
};
|
|
16
|
+
export declare type TwoDimensionalValueField = ChartField | (ChartFieldWithTitle & {
|
|
17
|
+
color?: string;
|
|
18
|
+
});
|
|
16
19
|
/**
|
|
17
20
|
* @defaultSnippets
|
|
18
21
|
* [
|
|
@@ -561,7 +564,7 @@ export interface PolarChart {
|
|
|
561
564
|
/**
|
|
562
565
|
* @title Наименование отображаемого поля-значения
|
|
563
566
|
*/
|
|
564
|
-
valueField: ChartField;
|
|
567
|
+
valueField: ChartField | ChartFieldWithTitle;
|
|
565
568
|
/**
|
|
566
569
|
* @title Управление агрегатором
|
|
567
570
|
*/
|