mdt-client 31.3.32-alpha.0 → 31.3.32-alpha.1

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.32-alpha.0",
3
+ "version": "31.3.32-alpha.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +1,5 @@
1
+ /// <reference types="../../../../mithril" />
2
+ /// <reference types="mithril" />
1
3
  /// <reference types="react" />
2
4
  import { MdtRecord } from "mdtScripts/common/Record";
3
5
  import { ButtonFacade } from "./Form/IFormFacade";
@@ -157,6 +159,18 @@ export interface ILegacyFacade {
157
159
  SCROLLBAR_APPEARANCE_COMPENSATION: string;
158
160
  DATEPICKER_CLASS: string;
159
161
  };
162
+ tabsView: {
163
+ wrapper: (children: ViewElement) => _mithril.MithrilVirtualElement;
164
+ linksWrapper: (children: ViewElement) => _mithril.MithrilVirtualElement;
165
+ linkItem: ({ isActive, onclick, index, icon, title }: {
166
+ isActive: boolean;
167
+ onclick: () => void;
168
+ index: number;
169
+ icon?: string;
170
+ title: string;
171
+ }) => _mithril.MithrilVirtualElement;
172
+ contentWrapper: (children: ViewElement) => _mithril.MithrilVirtualElement;
173
+ };
160
174
  /**
161
175
  * Функция для рендера React компонента в mithril.
162
176
  *
@@ -39,6 +39,9 @@ import * as toast from "ics-ui-kit/dist/components/toast";
39
39
  import * as toggleGroup from "ics-ui-kit/dist/components/toggle-group";
40
40
  import * as tooltip from "ics-ui-kit/dist/components/tooltip";
41
41
  import * as toolbar from "ics-ui-kit/dist/components/toolbar";
42
+ import * as reactTable from "ics-ui-kit/dist/vendors/tanstack/react-table";
43
+ import * as zod from "ics-ui-kit/dist/vendors/zod";
44
+ import * as reactHookForm from "ics-ui-kit/dist/vendors/react-hook-form";
42
45
  /**
43
46
  * Фасад для ре-экспорта компонентов из UI Kit.
44
47
  * В этом классе должны быть только ре-экспорты из UI Kit с сохранением структуры.
@@ -88,4 +91,11 @@ export declare class UiKitFacade {
88
91
  readonly tooltip: typeof tooltip;
89
92
  readonly toolbar: typeof toolbar;
90
93
  };
94
+ vendors: {
95
+ tanstack: {
96
+ "react-table": typeof reactTable;
97
+ };
98
+ zod: typeof zod;
99
+ "react-hook-form": typeof reactHookForm;
100
+ };
91
101
  }