mdt-client 31.3.39 → 31.3.40

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 (179) hide show
  1. package/dist/index.d.ts +11 -11
  2. package/dist/index.js +16 -16
  3. package/dist/index.js.map +1 -1
  4. package/package.json +38 -38
  5. package/readme.md +15 -15
  6. package/types/common/Datasource.d.ts +9 -9
  7. package/types/common/Field.d.ts +51 -51
  8. package/types/common/FieldSettings.schema.d.ts +17 -17
  9. package/types/common/MdtField.d.ts +9 -9
  10. package/types/common/MdtObject.d.ts +7 -7
  11. package/types/common/Record.d.ts +27 -27
  12. package/types/common/Table.d.ts +66 -66
  13. package/types/common/form/tabs/TabsFormExtenderOptions.d.ts +12 -12
  14. package/types/common/list/aggregation/AggregayionTypes.d.ts +2 -2
  15. package/types/common/list/cacheUpdateTime/CacheUpdateTimePublicOptions.d.ts +6 -6
  16. package/types/common/list/cellControlExtender/CellControlExtender.d.ts +1 -1
  17. package/types/common/list/columnMenu/ColumnMenuOptions.d.ts +17 -17
  18. package/types/common/list/columnMenu/QuickFilterOptions.d.ts +7 -7
  19. package/types/common/list/columnMenu/ValuesFilterOptions.d.ts +24 -24
  20. package/types/common/list/form/FormListPublicOptions.d.ts +44 -44
  21. package/types/common/list/gallery/GalleryListExtenderPublicOptions.d.ts +11 -11
  22. package/types/common/list/group/groupTypes.d.ts +177 -177
  23. package/types/common/list/hierarchy/hierarchyTypes.d.ts +48 -48
  24. package/types/common/list/historyType/HistoryTypeListExtenderOptions.d.ts +3 -3
  25. package/types/common/list/labelStyle/LabelStylePublicOptions.d.ts +6 -6
  26. package/types/common/list/legend/LegendListExtenderOptions.d.ts +8 -8
  27. package/types/common/list/listView/ListViewListExtenderOptions.d.ts +25 -25
  28. package/types/common/list/namedFilter/InMemoryNamedFilterOptions.d.ts +23 -23
  29. package/types/common/list/namedFilter/NamedFilterListExtenderPublicOptions.d.ts +29 -29
  30. package/types/common/list/reorder/ReorderListExtenderPublicOptions.d.ts +4 -4
  31. package/types/common/list/select/SelectPublicOptions.d.ts +18 -18
  32. package/types/common/list/styleField/StyleFieldListExtenderPublicOptions.d.ts +3 -3
  33. package/types/common/list/toolbar/ToolbarPublicOptions.d.ts +23 -23
  34. package/types/common/list/virtualScroll/VIrtualScrollPublicOptions.d.ts +7 -7
  35. package/types/common/serverMessage/ServerMessageTypes.d.ts +17 -17
  36. package/types/components/baseFormControls/input/inputOptions.d.ts +31 -31
  37. package/types/components/baseFormControls/maskedInput/MaskFormatter.types.d.ts +2 -2
  38. package/types/components/button/baseButton/buttonOptions.d.ts +12 -12
  39. package/types/components/buttonGroup/buttonGroupOptions.d.ts +7 -7
  40. package/types/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -5
  41. package/types/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +20 -20
  42. package/types/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +32 -32
  43. package/types/components/form/fieldView/fieldViewOptions.d.ts +13 -13
  44. package/types/components/form/header/types.d.ts +14 -14
  45. package/types/components/form/label/labelOptions.d.ts +23 -23
  46. package/types/components/icon/iconOptions.d.ts +24 -24
  47. package/types/components/iconButton/iconButtonOptions.d.ts +10 -10
  48. package/types/components/navigation/header/userButton/UserMenuSlot.d.ts +10 -10
  49. package/types/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -5
  50. package/types/components/resizablePanels/panelTitle/panelTitleOptions.d.ts +16 -16
  51. package/types/components/resizablePanels/panelToolbar/panelToolbarOptions.d.ts +4 -4
  52. package/types/components/resizablePanels/resizablePanel/resizablePanelOptions.d.ts +24 -24
  53. package/types/components/resizablePanels/resizablePanelsOptions.d.ts +22 -22
  54. package/types/components/textWithIcon/textWithIconOptions.d.ts +17 -17
  55. package/types/components/toggleablePanels/toggleablePanelsOptions.d.ts +40 -40
  56. package/types/data/active/ActivationListAdapterTypes.d.ts +6 -6
  57. package/types/data/fieldFilter/ToolbarFieldFilterOptions.d.ts +21 -21
  58. package/types/data/periods/helpers/types.d.ts +4 -4
  59. package/types/datasources/FetchResult.d.ts +5 -5
  60. package/types/helpers/IUi.d.ts +2 -2
  61. package/types/helpers/dateUtils.d.ts +23 -23
  62. package/types/helpers/deleteFromArray.d.ts +1 -1
  63. package/types/helpers/events/EventEmitter.d.ts +12 -12
  64. package/types/helpers/fireEvent.d.ts +4 -4
  65. package/types/helpers/formatOptions.d.ts +16 -16
  66. package/types/helpers/formattedText.d.ts +8 -8
  67. package/types/helpers/pipeline/ImmutableArgPipeline.d.ts +8 -8
  68. package/types/helpers/pipeline/Pipeline.d.ts +20 -20
  69. package/types/helpers/redraw.d.ts +16 -16
  70. package/types/helpers/types.d.ts +85 -85
  71. package/types/helpers/ui/elementModificators/focusableComponent.d.ts +15 -15
  72. package/types/helpers/ui/elementModificators/modificatorsTypes.d.ts +4 -4
  73. package/types/helpers/ui/keyboardUtils/getKeySymbol.d.ts +2 -2
  74. package/types/helpers/ui/keyboardUtils/keyboardUtils.d.ts +23 -23
  75. package/types/helpers/ui/keyboardUtils/osByUserAgent.d.ts +1 -1
  76. package/types/helpers/utils/classNames.d.ts +20 -20
  77. package/types/helpers/utils/keyStorage/KeyStorage.d.ts +6 -6
  78. package/types/helpers/utils/memoization/memoize.d.ts +18 -18
  79. package/types/helpers/utils/object.d.ts +4 -4
  80. package/types/helpers/utils/stringifyControlSize.d.ts +3 -3
  81. package/types/helpers/utils/valued/getValued.d.ts +18 -18
  82. package/types/helpers/zone/IZone.d.ts +8 -8
  83. package/types/security/PermissionLevel.d.ts +40 -40
  84. package/types/security/User.d.ts +20 -20
  85. package/types/services/HotkeyManager.d.ts +6 -6
  86. package/types/services/IFilter.d.ts +322 -322
  87. package/types/services/ModuleData.d.ts +9 -9
  88. package/types/services/api/ApiAccessor/apiV1Types.d.ts +266 -266
  89. package/types/services/api/ApiAccessor/apiV2Types.d.ts +586 -586
  90. package/types/services/api/ApiAccessor/binding/bindingApiTypes.d.ts +42 -42
  91. package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/count/count.d.ts +10 -10
  92. package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/hierarchy/hierarchyQueryHelpersTypes.d.ts +28 -28
  93. package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/placeIn/placeInQueryTypes.d.ts +9 -9
  94. package/types/services/api/ApiAccessorRequestAdapter/handlers/messageTypes.d.ts +37 -37
  95. package/types/services/api/ApiAccessorRequestAdapter/message/apiV2MessageTypes.d.ts +2 -2
  96. package/types/services/api/ApiRequestOptions.d.ts +43 -43
  97. package/types/services/api/BaseQuery.d.ts +25 -25
  98. package/types/services/api/Query.d.ts +56 -56
  99. package/types/services/api/QuerySorting.d.ts +18 -18
  100. package/types/services/api/ServerResonseType.d.ts +2 -2
  101. package/types/services/commands/Command.d.ts +22 -22
  102. package/types/services/commands/CommandGroup.d.ts +15 -15
  103. package/types/services/commands/CommandManager.d.ts +77 -77
  104. package/types/services/customModules/facades/Form/IFieldControlFacade.d.ts +26 -26
  105. package/types/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +38 -36
  106. package/types/services/customModules/facades/Form/IFieldStateFacade.d.ts +13 -13
  107. package/types/services/customModules/facades/Form/IFormControlFacade.d.ts +133 -133
  108. package/types/services/customModules/facades/Form/IFormFacade.d.ts +102 -102
  109. package/types/services/customModules/facades/Form/IFormLayout.d.ts +12 -12
  110. package/types/services/customModules/facades/IAppFacade.d.ts +38 -38
  111. package/types/services/customModules/facades/IAuthFacade.d.ts +9 -9
  112. package/types/services/customModules/facades/ILegacyFacade.d.ts +239 -239
  113. package/types/services/customModules/facades/IMdtFacade.d.ts +91 -88
  114. package/types/services/customModules/facades/IModuleRegistryFacade.d.ts +5 -5
  115. package/types/services/customModules/facades/IPageFacade.d.ts +7 -7
  116. package/types/services/customModules/facades/List/Column/IColumnFacade.d.ts +7 -7
  117. package/types/services/customModules/facades/List/IListCellFacade.d.ts +8 -8
  118. package/types/services/customModules/facades/List/IListComponentFacade.d.ts +10 -10
  119. package/types/services/customModules/facades/List/IListControlFacade.d.ts +88 -88
  120. package/types/services/customModules/facades/List/IListRowFacade.d.ts +2 -2
  121. package/types/services/customModules/facades/List/IListServiceFacade.d.ts +96 -96
  122. package/types/services/customModules/facades/List/ListOptions/IListOptions.d.ts +4 -4
  123. package/types/services/customModules/facades/components/CodeEditorFacade.d.ts +9 -9
  124. package/types/services/customModules/facades/components/ModalFacade.d.ts +4 -4
  125. package/types/services/customModules/facades/formDashboard/IFormDashboard.d.ts +20 -20
  126. package/types/services/customModules/facades/internalModules/importFormCtrl.types.d.ts +83 -83
  127. package/types/services/customModules/facades/internalModules/importModuleFacade.d.ts +53 -53
  128. package/types/services/customModules/facades/internalModules/modulesFacadeTypes.d.ts +11 -11
  129. package/types/services/customModules/facades/internalModules/statusFacade.d.ts +13 -13
  130. package/types/services/customModules/facades/record/IRecordFacade.d.ts +13 -13
  131. package/types/services/customModules/facades/record/IRecordManagerFacade.d.ts +5 -5
  132. package/types/services/customModules/facades/schema/IFieldFacade.d.ts +14 -14
  133. package/types/services/customModules/facades/schema/IObjectFacade.d.ts +20 -20
  134. package/types/services/customModules/facades/schema/ISchemaFacade.d.ts +24 -24
  135. package/types/services/customModules/facades/schema/fieldBuilder/fieldBuilder/IFieldBuilder.d.ts +23 -23
  136. package/types/services/customModules/facades/schema/fieldBuilder/fieldFkBuilder/IFieldFkBuilder.d.ts +8 -8
  137. package/types/services/customModules/facades/services/CommandManagerFacade.d.ts +11 -11
  138. package/types/services/customModules/facades/services/IListButtonExtendPipelineService.d.ts +13 -13
  139. package/types/services/customModules/facades/services/INavigationFacade.d.ts +91 -91
  140. package/types/services/customModules/facades/services/ISecurityFacade.d.ts +13 -13
  141. package/types/services/customModules/facades/sharedModules/ISharedModulesFacade.d.ts +4 -0
  142. package/types/services/customModules/facades/ui-kit/UiKitFacade.d.ts +8 -0
  143. package/types/services/customModules/facades/utils/IApiFacade.d.ts +91 -91
  144. package/types/services/customModules/facades/utils/IUiComponentsFacade.d.ts +191 -191
  145. package/types/services/customModules/facades/utils/IUiFacade.d.ts +84 -84
  146. package/types/services/customModules/facades/utils/IUtilsFacade.d.ts +225 -225
  147. package/types/services/customModules/facades/utils/ImUtilsFacade.d.ts +42 -42
  148. package/types/services/dropdown/IDropDownMenu.d.ts +41 -41
  149. package/types/services/e2e/e2eServiceType.d.ts +11 -11
  150. package/types/ui-kit/IUiKitUtilsFacade.d.ts +35 -35
  151. package/types/ui-kit/UiKitFacade.d.ts +106 -106
  152. package/types/ui-kit/components/calendar/Calendar.d.ts +3 -3
  153. package/types/views/controls/Control.d.ts +7 -7
  154. package/types/views/controls/panels/panelOptions.d.ts +15 -15
  155. package/types/views/form/controls/commonControl/ICommonControl.d.ts +29 -29
  156. package/types/views/form/controls/fileupload/FileInputFacade.types.d.ts +6 -6
  157. package/types/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +24 -24
  158. package/types/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +70 -70
  159. package/types/views/form/controls/picker/multiPickerFacade/IMultiPickerFacade.d.ts +36 -36
  160. package/types/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +21 -21
  161. package/types/views/form/formTypes.d.ts +5 -5
  162. package/types/views/form/schema/FormPageExtOptions.schema.d.ts +22 -22
  163. package/types/views/form/schema/FormPageOptions.schema.d.ts +19 -19
  164. package/types/views/gallery/ImageFetchOptions.d.ts +5 -5
  165. package/types/views/list/ListViewOptions.d.ts +102 -102
  166. package/types/views/list/features/aggregation/AggregationRowListOptions.d.ts +23 -23
  167. package/types/views/list/schema/ListPageExtOptions.schema.d.ts +123 -123
  168. package/types/views/list/schema/ListPageOptions.schema.d.ts +145 -145
  169. package/types/views/list/tabular/TabularListTypes.d.ts +53 -53
  170. package/types/views/page/PageZoneTypes.d.ts +1 -1
  171. package/types/views/page/charts/ChartControlOptions.schema.d.ts +850 -850
  172. package/types/views/page/charts/facade/IChartControlFacade.d.ts +29 -29
  173. package/types/views/page/charts/reportDashboard/config/chartConfig.d.ts +31 -31
  174. package/types/views/page/charts/reportDashboard/config/filterConfig.d.ts +56 -56
  175. package/types/views/page/charts/reportDashboard/config/listConfig.d.ts +9 -9
  176. package/types/views/page/charts/reportDashboard/config/reportDashboardConfig.d.ts +55 -55
  177. package/types/views/page/charts/reportDashboard/controls/dynamicChart/dynamicChartControlPublicOptions.d.ts +3 -3
  178. package/types/views/page/charts/reportDashboard/index.d.ts +5 -5
  179. package/types/views/page/charts/reportDashboard/utils/formJsonVarParser.d.ts +13 -13
@@ -1,239 +1,239 @@
1
- /// <reference types="../../../../mithril" />
2
- /// <reference types="mithril" />
3
- /// <reference types="react" />
4
- import { MdtRecord } from "mdtScripts/common/Record";
5
- import { ButtonFacade } from "./Form/IFormFacade";
6
- import { ClassNamesArg } from "mdtScripts/helpers/utils/classNames";
7
- import { ViewElement } from "mdtScripts/helpers/types";
8
- /** @deprecated */
9
- export interface ILegacyFacade {
10
- SchemaManagerInstance: any;
11
- SchemaManager: any;
12
- NavigationManagerInstance: any;
13
- DateTextFieldCtrl: any;
14
- FormlessFieldCtrl: any;
15
- MonthPicker: any;
16
- UiMarked: any;
17
- prop: any;
18
- ImageService: any;
19
- FormLayoutManager: any;
20
- removeSpecial: any;
21
- ServerErrorCtrl: any;
22
- ExportApiAccessor: any;
23
- showErrors: any;
24
- CheckboxListFieldCtrl: any;
25
- SplitBlockCtrl: any;
26
- SplitBlockSection: any;
27
- pickRecordModal: any;
28
- uiCtxEvent: any;
29
- uiRedraw: any;
30
- ApiAccessorInstance: any;
31
- ApiAccessor: any;
32
- ApiUtils: any;
33
- ApiUrlManager: any;
34
- clone: any;
35
- mClassNames: any;
36
- isDev: any;
37
- ModuleService: any;
38
- ApiServiceInstance: any;
39
- SecurityManagerInstance: any;
40
- FormControlManagerInstance: any;
41
- RecordManagerInstance: any;
42
- RecordManager: any;
43
- utils: any;
44
- FormServiceInstance: any;
45
- ListServiceInstance: any;
46
- ui: any;
47
- viewer: any;
48
- deleteFromArray: any;
49
- onDocumentVisibilityChange: any;
50
- fireEvent: any;
51
- combine: any;
52
- app: any;
53
- ContentListCtrl: any;
54
- ListCtrl: any;
55
- FormCtrl: any;
56
- SideCtrl: any;
57
- FieldCtrl: any;
58
- FileInputCtrl: any;
59
- FkPanels: any;
60
- FramePage: any;
61
- PageZones: any;
62
- modules: ModulesLegacyFacade;
63
- pageConfig: any;
64
- view: any;
65
- NavigationControlManager: any;
66
- NavigationControlManagerInstance: any;
67
- messages: any;
68
- registerForm: any;
69
- components: any;
70
- FieldControlManagerInstance: any;
71
- ServerMessageCtrl: any;
72
- ContainerMixin: any;
73
- SelectFieldCtrl: any;
74
- FormFieldMode: any;
75
- FormFieldCtrl: any;
76
- FullPageForm: any;
77
- LabelMode: any;
78
- WarningText: any;
79
- showError: any;
80
- SelectMixin: any;
81
- CacheManager: any;
82
- ControlSize: any;
83
- LayoutBuilder: any;
84
- ServerMessageHelper: any;
85
- showSidebar: any;
86
- uiShow: any;
87
- GlobalVarManager: any;
88
- list: {
89
- ToolbarCtrl: any;
90
- SwitchButtons: any;
91
- CustomColumnCtrl: any;
92
- HierarchyListExtender: any;
93
- LabelStyleHelper: any;
94
- LabelStyleCellView: any;
95
- };
96
- CenteredMessageCtrl: any;
97
- PageHeaderControls: any;
98
- confirmModal: any;
99
- DropdownMenuCtrl: any;
100
- DeleteService: any;
101
- ApiService: any;
102
- ApiUrlHelper: any;
103
- URLHelper: any;
104
- SchemaError: any;
105
- MemoryDatasource: any;
106
- ChangePasswordCtrl: any;
107
- layoutFormGroup: any;
108
- FilterSettings: any;
109
- TextFieldCtrl: any;
110
- QuickFilterPipelines: any;
111
- textWithIcon: any;
112
- isElementContentOverflowing: any;
113
- labeledCheckboxView: any;
114
- toolbarView: any;
115
- uiComponents: {
116
- alert: any;
117
- };
118
- PlaceInQueryHelpers: any;
119
- isApiV2: () => boolean;
120
- ProgressBarCtrl: any;
121
- ProgressBarStateController: any;
122
- getChartElByCode: (code: string) => Element;
123
- linkIcon: any;
124
- ApiJSActionsPipeline: any;
125
- DatePickerInput: any;
126
- OneToManyGridCtrl: any;
127
- /**
128
- * Преобразует дату в строку формата ISO (YYYY-MM-DD)
129
- * @param date Объект даты
130
- * @returns Строка в формате YYYY-MM-DD
131
- */
132
- toISO8601DateString: any;
133
- /**
134
- * Преобразует дату в строку формата ISO с временем (YYYY-MM-DDThh:mm:ssZ)
135
- * @param date Объект даты
136
- * @param dateOnly Если true, возвращает только дату без времени
137
- * @returns Строка в формате ISO
138
- */
139
- toISOString: any;
140
- Skeleton: any;
141
- PipelineSync: any;
142
- compareDates: any;
143
- isEmpty: any;
144
- dateFromUiDateString: any;
145
- toUiDateString: any;
146
- parseRowsToV1: any;
147
- DatePicker: any;
148
- getDateForCalendarControl: any;
149
- locale: any;
150
- datePickerViewModes: any;
151
- formatByMask: any;
152
- classes: {
153
- borderRadiusNormal: string;
154
- borderRadiusSmall: string;
155
- borderRadiusLarge: string;
156
- borderRadiusXLarge: string;
157
- SCROLLBAR_INVISIBLE_CLASSNAME: string;
158
- SCROLLBAR_VANISHED_CLASSNAME: string;
159
- SCROLLBAR_APPEARANCE_COMPENSATION: string;
160
- DATEPICKER_CLASS: string;
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
- };
174
- /**
175
- * Функция для рендера React компонента в mithril.
176
- *
177
- * @param Component React компонент
178
- * @param props props для компонента
179
- * @param options опции для обертки. Например, className
180
- */
181
- reactComponentWrap<P>(Component: React.FC<P>, props: P, options?: {
182
- className?: ClassNamesArg;
183
- }): ViewElement;
184
- /**
185
- * Функция для рендера компонента UI Kit в mithril.
186
- *
187
- * @param Component React компонент из UI Kit
188
- * @param props props для компонента
189
- */
190
- uiKitWrap<P>(Component: React.FC<P>, props: P): ViewElement;
191
- }
192
- export interface ModulesLegacyFacade {
193
- audit?: {
194
- PrepareAuditRecords: any;
195
- };
196
- pbi?: {
197
- PbiFrameCtrl: any;
198
- };
199
- etl?: {
200
- FormValueManager: any;
201
- EtlPanel: any;
202
- };
203
- dm?: {
204
- MergeHelper: any;
205
- };
206
- mapping?: {
207
- MappingListExtender: any;
208
- MappingManager: any;
209
- MappingManagerInstance: any;
210
- };
211
- admin?: {
212
- DesignerHelper: any;
213
- };
214
- binding?: {
215
- UnbindingForm: any;
216
- };
217
- status?: {
218
- StatusButton: any;
219
- StatusManager: any;
220
- statusSchema: any;
221
- };
222
- help?: {
223
- HelpManagerInstance: any;
224
- };
225
- job?: {
226
- JobHelper: any;
227
- };
228
- ExportApiAccessor?: any;
229
- password?: {
230
- buttons: {
231
- changePassword: (args?: {
232
- mdtPrincipalRecord?: MdtRecord;
233
- }) => ButtonFacade;
234
- sendInvitation: (args?: {
235
- mdtPrincipalRecord?: MdtRecord;
236
- }) => ButtonFacade;
237
- };
238
- };
239
- }
1
+ /// <reference types="../../../../mithril" />
2
+ /// <reference types="mithril" />
3
+ /// <reference types="react" />
4
+ import { MdtRecord } from "mdtScripts/common/Record";
5
+ import { ButtonFacade } from "./Form/IFormFacade";
6
+ import { ClassNamesArg } from "mdtScripts/helpers/utils/classNames";
7
+ import { ViewElement } from "mdtScripts/helpers/types";
8
+ /** @deprecated */
9
+ export interface ILegacyFacade {
10
+ SchemaManagerInstance: any;
11
+ SchemaManager: any;
12
+ NavigationManagerInstance: any;
13
+ DateTextFieldCtrl: any;
14
+ FormlessFieldCtrl: any;
15
+ MonthPicker: any;
16
+ UiMarked: any;
17
+ prop: any;
18
+ ImageService: any;
19
+ FormLayoutManager: any;
20
+ removeSpecial: any;
21
+ ServerErrorCtrl: any;
22
+ ExportApiAccessor: any;
23
+ showErrors: any;
24
+ CheckboxListFieldCtrl: any;
25
+ SplitBlockCtrl: any;
26
+ SplitBlockSection: any;
27
+ pickRecordModal: any;
28
+ uiCtxEvent: any;
29
+ uiRedraw: any;
30
+ ApiAccessorInstance: any;
31
+ ApiAccessor: any;
32
+ ApiUtils: any;
33
+ ApiUrlManager: any;
34
+ clone: any;
35
+ mClassNames: any;
36
+ isDev: any;
37
+ ModuleService: any;
38
+ ApiServiceInstance: any;
39
+ SecurityManagerInstance: any;
40
+ FormControlManagerInstance: any;
41
+ RecordManagerInstance: any;
42
+ RecordManager: any;
43
+ utils: any;
44
+ FormServiceInstance: any;
45
+ ListServiceInstance: any;
46
+ ui: any;
47
+ viewer: any;
48
+ deleteFromArray: any;
49
+ onDocumentVisibilityChange: any;
50
+ fireEvent: any;
51
+ combine: any;
52
+ app: any;
53
+ ContentListCtrl: any;
54
+ ListCtrl: any;
55
+ FormCtrl: any;
56
+ SideCtrl: any;
57
+ FieldCtrl: any;
58
+ FileInputCtrl: any;
59
+ FkPanels: any;
60
+ FramePage: any;
61
+ PageZones: any;
62
+ modules: ModulesLegacyFacade;
63
+ pageConfig: any;
64
+ view: any;
65
+ NavigationControlManager: any;
66
+ NavigationControlManagerInstance: any;
67
+ messages: any;
68
+ registerForm: any;
69
+ components: any;
70
+ FieldControlManagerInstance: any;
71
+ ServerMessageCtrl: any;
72
+ ContainerMixin: any;
73
+ SelectFieldCtrl: any;
74
+ FormFieldMode: any;
75
+ FormFieldCtrl: any;
76
+ FullPageForm: any;
77
+ LabelMode: any;
78
+ WarningText: any;
79
+ showError: any;
80
+ SelectMixin: any;
81
+ CacheManager: any;
82
+ ControlSize: any;
83
+ LayoutBuilder: any;
84
+ ServerMessageHelper: any;
85
+ showSidebar: any;
86
+ uiShow: any;
87
+ GlobalVarManager: any;
88
+ list: {
89
+ ToolbarCtrl: any;
90
+ SwitchButtons: any;
91
+ CustomColumnCtrl: any;
92
+ HierarchyListExtender: any;
93
+ LabelStyleHelper: any;
94
+ LabelStyleCellView: any;
95
+ };
96
+ CenteredMessageCtrl: any;
97
+ PageHeaderControls: any;
98
+ confirmModal: any;
99
+ DropdownMenuCtrl: any;
100
+ DeleteService: any;
101
+ ApiService: any;
102
+ ApiUrlHelper: any;
103
+ URLHelper: any;
104
+ SchemaError: any;
105
+ MemoryDatasource: any;
106
+ ChangePasswordCtrl: any;
107
+ layoutFormGroup: any;
108
+ FilterSettings: any;
109
+ TextFieldCtrl: any;
110
+ QuickFilterPipelines: any;
111
+ textWithIcon: any;
112
+ isElementContentOverflowing: any;
113
+ labeledCheckboxView: any;
114
+ toolbarView: any;
115
+ uiComponents: {
116
+ alert: any;
117
+ };
118
+ PlaceInQueryHelpers: any;
119
+ isApiV2: () => boolean;
120
+ ProgressBarCtrl: any;
121
+ ProgressBarStateController: any;
122
+ getChartElByCode: (code: string) => Element;
123
+ linkIcon: any;
124
+ ApiJSActionsPipeline: any;
125
+ DatePickerInput: any;
126
+ OneToManyGridCtrl: any;
127
+ /**
128
+ * Преобразует дату в строку формата ISO (YYYY-MM-DD)
129
+ * @param date Объект даты
130
+ * @returns Строка в формате YYYY-MM-DD
131
+ */
132
+ toISO8601DateString: any;
133
+ /**
134
+ * Преобразует дату в строку формата ISO с временем (YYYY-MM-DDThh:mm:ssZ)
135
+ * @param date Объект даты
136
+ * @param dateOnly Если true, возвращает только дату без времени
137
+ * @returns Строка в формате ISO
138
+ */
139
+ toISOString: any;
140
+ Skeleton: any;
141
+ PipelineSync: any;
142
+ compareDates: any;
143
+ isEmpty: any;
144
+ dateFromUiDateString: any;
145
+ toUiDateString: any;
146
+ parseRowsToV1: any;
147
+ DatePicker: any;
148
+ getDateForCalendarControl: any;
149
+ locale: any;
150
+ datePickerViewModes: any;
151
+ formatByMask: any;
152
+ classes: {
153
+ borderRadiusNormal: string;
154
+ borderRadiusSmall: string;
155
+ borderRadiusLarge: string;
156
+ borderRadiusXLarge: string;
157
+ SCROLLBAR_INVISIBLE_CLASSNAME: string;
158
+ SCROLLBAR_VANISHED_CLASSNAME: string;
159
+ SCROLLBAR_APPEARANCE_COMPENSATION: string;
160
+ DATEPICKER_CLASS: string;
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
+ };
174
+ /**
175
+ * Функция для рендера React компонента в mithril.
176
+ *
177
+ * @param Component React компонент
178
+ * @param props props для компонента
179
+ * @param options опции для обертки. Например, className
180
+ */
181
+ reactComponentWrap<P>(Component: React.FC<P>, props: P, options?: {
182
+ className?: ClassNamesArg;
183
+ }): ViewElement;
184
+ /**
185
+ * Функция для рендера компонента UI Kit в mithril.
186
+ *
187
+ * @param Component React компонент из UI Kit
188
+ * @param props props для компонента
189
+ */
190
+ uiKitWrap<P>(Component: React.FC<P>, props: P): ViewElement;
191
+ }
192
+ export interface ModulesLegacyFacade {
193
+ audit?: {
194
+ PrepareAuditRecords: any;
195
+ };
196
+ pbi?: {
197
+ PbiFrameCtrl: any;
198
+ };
199
+ etl?: {
200
+ FormValueManager: any;
201
+ EtlPanel: any;
202
+ };
203
+ dm?: {
204
+ MergeHelper: any;
205
+ };
206
+ mapping?: {
207
+ MappingListExtender: any;
208
+ MappingManager: any;
209
+ MappingManagerInstance: any;
210
+ };
211
+ admin?: {
212
+ DesignerHelper: any;
213
+ };
214
+ binding?: {
215
+ UnbindingForm: any;
216
+ };
217
+ status?: {
218
+ StatusButton: any;
219
+ StatusManager: any;
220
+ statusSchema: any;
221
+ };
222
+ help?: {
223
+ HelpManagerInstance: any;
224
+ };
225
+ job?: {
226
+ JobHelper: any;
227
+ };
228
+ ExportApiAccessor?: any;
229
+ password?: {
230
+ buttons: {
231
+ changePassword: (args?: {
232
+ mdtPrincipalRecord?: MdtRecord;
233
+ }) => ButtonFacade;
234
+ sendInvitation: (args?: {
235
+ mdtPrincipalRecord?: MdtRecord;
236
+ }) => ButtonFacade;
237
+ };
238
+ };
239
+ }
@@ -1,88 +1,91 @@
1
- /// <reference types="../../../../mithril" />
2
- /// <reference types="mithril" />
3
- import { E2eServiceType } from "mdtServices/e2e/e2eServiceType";
4
- import { FilterConstructor } from "../../../services/IFilter";
5
- import { IFieldControlFacadeContstructor } from "./Form/IFieldControlFacade";
6
- import { IFieldControlManagerFacade } from "./Form/IFieldControlManagerFacade";
7
- import { IFormControlFacadeContstructor } from "./Form/IFormControlFacade";
8
- import { IFormDashboard } from "./formDashboard/IFormDashboard";
9
- import { IFormServiceFacade } from "./Form/IFormFacade";
10
- import { IAppFacade } from "./IAppFacade";
11
- import { IAuthFacade } from "./IAuthFacade";
12
- import { ILegacyFacade } from "./ILegacyFacade";
13
- import { IModuleRegistryFacade } from "./IModuleRegistryFacade";
14
- import { InternalModulesFacade } from "./internalModules/modulesFacadeTypes";
15
- import { IPageFacade } from "./IPageFacade";
16
- import { IListControlFacadeContstructor } from "./List/IListControlFacade";
17
- import { IListServiceFacade } from "./List/IListServiceFacade";
18
- import { IRecordManagerFacade } from "./record/IRecordManagerFacade";
19
- import { ISchemaFacade } from "./schema/ISchemaFacade";
20
- import { CommandManagerFacade } from "./services/CommandManagerFacade";
21
- import { INavigationFacade } from "./services/INavigationFacade";
22
- import { ISecurityFacade } from "./services/ISecurityFacade";
23
- import { IApiFacade } from "./utils/IApiFacade";
24
- import { ImUtilsFacade } from "./utils/ImUtilsFacade";
25
- import { IUiComponentsFacade } from "./utils/IUiComponentsFacade";
26
- import { IUiFacade } from "./utils/IUiFacade";
27
- import { IUtilsFacade } from "./utils/IUtilsFacade";
28
- import { ReportDashboard } from "mdtScripts/views/page/charts/reportDashboard";
29
- import { UiKitFacade } from "../../../ui-kit/UiKitFacade";
30
- import { IUiKitUtilsFacade } from "../../../ui-kit/IUiKitUtilsFacade";
31
- export type ModulePackageInfo = {
32
- version: string;
33
- name?: string;
34
- };
35
- export type ModuleCallback = () => Promise<void> | void;
36
- export interface IMDTFacade {
37
- /** Mithril библиотека */
38
- m: _mithril.MithrilStatic;
39
- /** Управление навигацией */
40
- Navigation: INavigationFacade;
41
- /** Управление пользователем и безопасностью */
42
- SecurityManager: ISecurityFacade;
43
- /** Управление списками */
44
- ListService: IListServiceFacade;
45
- /** Компонент списка */
46
- List: IListControlFacadeContstructor;
47
- /** Управление формами */
48
- FormService: IFormServiceFacade;
49
- /** Компонент формы */
50
- Form: IFormControlFacadeContstructor;
51
- /** Управление контролами */
52
- ControlManager: IFieldControlManagerFacade;
53
- /** Компонент контрола */
54
- FieldControl: IFieldControlFacadeContstructor;
55
- /** Управление дашбордом */
56
- FormDashboard: IFormDashboard;
57
- /** Утилиты для Mithril */
58
- mUtils: ImUtilsFacade;
59
- /** Утилиты */
60
- Utils: IUtilsFacade;
61
- /** Управление UI компонентами */
62
- Ui: IUiFacade;
63
- UiComponents: IUiComponentsFacade;
64
- /** Управление запросами к API */
65
- Api: IApiFacade;
66
- /** Компонент фильтра */
67
- Filter: FilterConstructor;
68
- Schema: ISchemaFacade;
69
- RecordManager: IRecordManagerFacade;
70
- ModuleRegistry: IModuleRegistryFacade;
71
- /** Управление способами авторизации */
72
- Auth: IAuthFacade;
73
- /** Управление страницей */
74
- Page: IPageFacade;
75
- /** Управление приложением */
76
- App: IAppFacade;
77
- /** Управление командами */
78
- CommandManager: CommandManagerFacade;
79
- /** @deprecated */
80
- legacy: ILegacyFacade;
81
- modules: InternalModulesFacade;
82
- e2e: E2eServiceType;
83
- ReportDashboard: ReportDashboard;
84
- /** Зарегистрировать модуль */
85
- registerModule(callback: ModuleCallback, moduleData: ModulePackageInfo): void;
86
- UiKit: UiKitFacade;
87
- UiKitUtils: IUiKitUtilsFacade;
88
- }
1
+ /// <reference types="../../../../mithril" />
2
+ /// <reference types="mithril" />
3
+ import { E2eServiceType } from "mdtServices/e2e/e2eServiceType";
4
+ import { FilterConstructor } from "../../../services/IFilter";
5
+ import { IFieldControlFacadeContstructor } from "./Form/IFieldControlFacade";
6
+ import { IFieldControlManagerFacade } from "./Form/IFieldControlManagerFacade";
7
+ import { IFormControlFacadeContstructor } from "./Form/IFormControlFacade";
8
+ import { IFormDashboard } from "./formDashboard/IFormDashboard";
9
+ import { IFormServiceFacade } from "./Form/IFormFacade";
10
+ import { IAppFacade } from "./IAppFacade";
11
+ import { IAuthFacade } from "./IAuthFacade";
12
+ import { ILegacyFacade } from "./ILegacyFacade";
13
+ import { IModuleRegistryFacade } from "./IModuleRegistryFacade";
14
+ import { InternalModulesFacade } from "./internalModules/modulesFacadeTypes";
15
+ import { IPageFacade } from "./IPageFacade";
16
+ import { IListControlFacadeContstructor } from "./List/IListControlFacade";
17
+ import { IListServiceFacade } from "./List/IListServiceFacade";
18
+ import { IRecordManagerFacade } from "./record/IRecordManagerFacade";
19
+ import { ISchemaFacade } from "./schema/ISchemaFacade";
20
+ import { CommandManagerFacade } from "./services/CommandManagerFacade";
21
+ import { INavigationFacade } from "./services/INavigationFacade";
22
+ import { ISecurityFacade } from "./services/ISecurityFacade";
23
+ import { IApiFacade } from "./utils/IApiFacade";
24
+ import { ImUtilsFacade } from "./utils/ImUtilsFacade";
25
+ import { IUiComponentsFacade } from "./utils/IUiComponentsFacade";
26
+ import { IUiFacade } from "./utils/IUiFacade";
27
+ import { IUtilsFacade } from "./utils/IUtilsFacade";
28
+ import { ReportDashboard } from "mdtScripts/views/page/charts/reportDashboard";
29
+ import { UiKitFacade } from "../../../ui-kit/UiKitFacade";
30
+ import { IUiKitUtilsFacade } from "../../../ui-kit/IUiKitUtilsFacade";
31
+ import { ISharedModulesFacade } from "./sharedModules/ISharedModulesFacade";
32
+ export type ModulePackageInfo = {
33
+ version: string;
34
+ name?: string;
35
+ };
36
+ export type ModuleCallback = () => Promise<void> | void;
37
+ export interface IMDTFacade {
38
+ /** Mithril библиотека */
39
+ m: _mithril.MithrilStatic;
40
+ /** Управление навигацией */
41
+ Navigation: INavigationFacade;
42
+ /** Управление пользователем и безопасностью */
43
+ SecurityManager: ISecurityFacade;
44
+ /** Управление списками */
45
+ ListService: IListServiceFacade;
46
+ /** Компонент списка */
47
+ List: IListControlFacadeContstructor;
48
+ /** Управление формами */
49
+ FormService: IFormServiceFacade;
50
+ /** Компонент формы */
51
+ Form: IFormControlFacadeContstructor;
52
+ /** Управление контролами */
53
+ ControlManager: IFieldControlManagerFacade;
54
+ /** Компонент контрола */
55
+ FieldControl: IFieldControlFacadeContstructor;
56
+ /** Управление дашбордом */
57
+ FormDashboard: IFormDashboard;
58
+ /** Утилиты для Mithril */
59
+ mUtils: ImUtilsFacade;
60
+ /** Утилиты */
61
+ Utils: IUtilsFacade;
62
+ /** Управление UI компонентами */
63
+ Ui: IUiFacade;
64
+ UiComponents: IUiComponentsFacade;
65
+ /** Управление запросами к API */
66
+ Api: IApiFacade;
67
+ /** Компонент фильтра */
68
+ Filter: FilterConstructor;
69
+ Schema: ISchemaFacade;
70
+ RecordManager: IRecordManagerFacade;
71
+ ModuleRegistry: IModuleRegistryFacade;
72
+ /** Управление способами авторизации */
73
+ Auth: IAuthFacade;
74
+ /** Управление страницей */
75
+ Page: IPageFacade;
76
+ /** Управление приложением */
77
+ App: IAppFacade;
78
+ /** Управление командами */
79
+ CommandManager: CommandManagerFacade;
80
+ /** @deprecated */
81
+ legacy: ILegacyFacade;
82
+ modules: InternalModulesFacade;
83
+ /** Реестр компонентов, доступных между модулями */
84
+ sharedModules: ISharedModulesFacade;
85
+ e2e: E2eServiceType;
86
+ ReportDashboard: ReportDashboard;
87
+ /** Зарегистрировать модуль */
88
+ registerModule(callback: ModuleCallback, moduleData: ModulePackageInfo): void;
89
+ UiKit: UiKitFacade;
90
+ UiKitUtils: IUiKitUtilsFacade;
91
+ }