mdt-client 31.3.45 → 31.3.47

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdt-client",
3
- "version": "31.3.45",
3
+ "version": "31.3.47",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -62,10 +62,12 @@ export interface QueryExecutionOptions {
62
62
  background?: boolean;
63
63
  }
64
64
  export type IApiFacadeV2FetchOptions = QueryExecutionOptions;
65
+ export type IApiFacadeV2SaveOptions = QueryExecutionOptions;
65
66
  export interface IApiFacadeV2 {
66
67
  fetch(data: ApiV2.Request.Fetch, options?: IApiFacadeV2FetchOptions): Promise<{
67
68
  rows: any[];
68
69
  }>;
70
+ save(data: ApiV2.Request.Save, options?: IApiFacadeV2SaveOptions): Promise<ApiV2.Response.Save>;
69
71
  }
70
72
  export interface MdtRecord {
71
73
  $id?: RecordId;
@@ -10,8 +10,6 @@ export interface IUiKitUtilsFacade {
10
10
  /**
11
11
  * Адаптирует React-компонент из UI Kit для использования в Mithril-представлениях.
12
12
  *
13
- * Автоматически добавляет класс 'ui-kit' для корректного применения стилей компонентов.
14
- *
15
13
  * @param Component React-компонент из UI Kit
16
14
  * @param props Пропсы для компонента
17
15
  * @returns ViewElement для использования в Mithril
@@ -27,6 +27,7 @@ import * as popover from "ics-ui-kit/dist/components/popover";
27
27
  import * as progress from "ics-ui-kit/dist/components/progress";
28
28
  import * as prose from "ics-ui-kit/dist/components/prose";
29
29
  import * as resizable from "ics-ui-kit/dist/components/resizable";
30
+ import * as searchSelect from "ics-ui-kit/dist/components/search-select";
30
31
  import * as select from "ics-ui-kit/dist/components/select";
31
32
  import * as sheet from "ics-ui-kit/dist/components/sheet";
32
33
  import * as sidebar from "ics-ui-kit/dist/components/sidebar";
@@ -84,6 +85,7 @@ export declare class UiKitFacade {
84
85
  readonly progress: typeof progress;
85
86
  readonly prose: typeof prose;
86
87
  readonly resizable: typeof resizable;
88
+ readonly "search-select": typeof searchSelect;
87
89
  readonly select: typeof select;
88
90
  readonly sheet: typeof sheet;
89
91
  readonly sidebar: typeof sidebar;