@docsvision/webclient 5.16.0 → 5.17.0-beta.11

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 (273) hide show
  1. package/Approval/AgreementHistoryImpl.d.ts +2 -0
  2. package/Approval/AgreementList.d.ts +2 -2
  3. package/Approval/AgreementListImpl.d.ts +3 -0
  4. package/BackOffice/Address.d.ts +3 -2
  5. package/BackOffice/CardKind.d.ts +3 -2
  6. package/BackOffice/ChangeBoundaryValuesSection.d.ts +4 -0
  7. package/BackOffice/ChangeSectionValues.d.ts +4 -0
  8. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  9. package/BackOffice/ColumnSettingsDialog.d.ts +2 -0
  10. package/BackOffice/ConvertSizetoMegabytes.d.ts +1 -0
  11. package/BackOffice/CreateWindow.d.ts +2 -1
  12. package/BackOffice/Department.d.ts +3 -2
  13. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  14. package/BackOffice/DepartmentImpl.d.ts +2 -0
  15. package/BackOffice/DirectoryDesignerRow.d.ts +3 -2
  16. package/BackOffice/DirectorySearchResultView.d.ts +1 -1
  17. package/BackOffice/EditTaskDescription.d.ts +2 -1
  18. package/BackOffice/EditTaskDescriptionDialog.d.ts +2 -0
  19. package/BackOffice/EditTaskDuration.d.ts +2 -2
  20. package/BackOffice/EditTaskDurationDialog.d.ts +2 -1
  21. package/BackOffice/EditWindow.d.ts +2 -1
  22. package/BackOffice/EmailButton.d.ts +21 -0
  23. package/BackOffice/EmailButton.stories.d.ts +10 -0
  24. package/BackOffice/EmailButtonContainer.d.ts +8 -0
  25. package/BackOffice/EmailButtonFiles.d.ts +7 -0
  26. package/BackOffice/EmailButtonItem.d.ts +12 -0
  27. package/BackOffice/EmailButtonLogic.d.ts +42 -0
  28. package/BackOffice/EmailButtonOptions.d.ts +36 -0
  29. package/BackOffice/EmailButtonSectionId.d.ts +2 -0
  30. package/BackOffice/EmailButtonSelectedSize.d.ts +9 -0
  31. package/BackOffice/EmailButtonView.d.ts +19 -0
  32. package/BackOffice/ExistingCardLinkDialog.d.ts +12 -4
  33. package/BackOffice/FileRenamingDialog.d.ts +2 -2
  34. package/BackOffice/FileSignCreateDialog.d.ts +1 -2
  35. package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
  36. package/BackOffice/GetEmlUrl.d.ts +11 -0
  37. package/BackOffice/ITaskTableSorting.d.ts +27 -0
  38. package/BackOffice/InitialCheckboxes.d.ts +4 -0
  39. package/BackOffice/NumeratorImpl.d.ts +1 -1
  40. package/BackOffice/PartnerBase.d.ts +4 -3
  41. package/BackOffice/PartnerBaseImpl.d.ts +2 -0
  42. package/BackOffice/PartnerDirectoryBase.d.ts +5 -4
  43. package/BackOffice/PartnerSelectDialog.d.ts +8 -1
  44. package/BackOffice/PartnerTypeaheadVariant.d.ts +3 -2
  45. package/BackOffice/PrepareTasksTableModel.d.ts +2 -1
  46. package/BackOffice/PrintButtonView.d.ts +1 -1
  47. package/BackOffice/SearchBar.d.ts +4 -0
  48. package/BackOffice/SortingRows.d.ts +6 -0
  49. package/BackOffice/StaffDirectoryConstants.d.ts +15 -0
  50. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  51. package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
  52. package/BackOffice/TaskTasksTreeNodeResolver.d.ts +5 -3
  53. package/BackOffice/Tasks.d.ts +2 -1
  54. package/BackOffice/TasksTable.d.ts +5 -1
  55. package/BackOffice/TasksTableHeaderCell.d.ts +3 -0
  56. package/BackOffice/TasksTableLogic.d.ts +12 -0
  57. package/BackOffice/TasksTableView.d.ts +3 -3
  58. package/BackOffice/TasksTree.d.ts +3 -1
  59. package/BackOffice/TasksTreeImpl.d.ts +3 -0
  60. package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
  61. package/BackOffice/UserProfile.d.ts +1 -0
  62. package/BackOffice/UserStatus.d.ts +5 -0
  63. package/BackOffice/WebFrameDirectorySearchPanel.d.ts +2 -1
  64. package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -0
  65. package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
  66. package/Generated/DocsVision.WebClient.Controllers.d.ts +106 -5
  67. package/Generated/DocsVision.WebClient.Models.d.ts +334 -33
  68. package/Helpers/DateRangePicker/DateRangePicker.d.ts +24 -0
  69. package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
  70. package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
  71. package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +14 -0
  72. package/Helpers/IconButton.d.ts +2 -0
  73. package/Helpers/Menu/AdaptiveMenuBar.d.ts +2 -0
  74. package/Helpers/Menu/MobileMenuBar.d.ts +1 -0
  75. package/Helpers/MessageBox/MessageBox.d.ts +6 -1
  76. package/Helpers/ModalDialog/CommonModalDialog.d.ts +8 -0
  77. package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +5 -2
  78. package/Helpers/ModalDialog/ModalDialogBox.d.ts +2 -0
  79. package/Helpers/ModalDialog/ModalDialogMaximizeButton.d.ts +23 -0
  80. package/Helpers/ModalDialog/ScrollableModal.d.ts +8 -0
  81. package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
  82. package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
  83. package/Legacy/ApprovalFilePanel.d.ts +1 -0
  84. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  85. package/Legacy/GroupTaskCardPerformersPanelRazorControl.d.ts +2 -1
  86. package/Legacy/ModalWindow.d.ts +7 -2
  87. package/Legacy/ModalWindowParams.d.ts +6 -0
  88. package/Legacy/SelectFolderModalDialog.d.ts +2 -1
  89. package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +0 -1
  90. package/MainBundle.d.ts +2 -2
  91. package/Platform/$AggregatesCheckbox.d.ts +19 -0
  92. package/Platform/$ContextMenuOptions.d.ts +17 -10
  93. package/Platform/$CurrentFolder.d.ts +1 -0
  94. package/Platform/$FileDownload.d.ts +2 -1
  95. package/Platform/$FolderDataLoading.d.ts +5 -1
  96. package/Platform/$FolderGrid.d.ts +14 -6
  97. package/Platform/$HoverPanel.d.ts +8 -0
  98. package/Platform/$SearchText.d.ts +11 -0
  99. package/Platform/$TablePresentationToggle.d.ts +8 -0
  100. package/Platform/$ToolbarDaughterControls.d.ts +20 -0
  101. package/Platform/AggregateItemCheckbox.d.ts +12 -0
  102. package/Platform/Aggregates.stories.d.ts +8 -0
  103. package/Platform/AggregatesCheckbox.d.ts +10 -0
  104. package/Platform/AggregatesCheckboxPlugins.d.ts +11 -0
  105. package/Platform/AggregatesCheckboxService.d.ts +37 -0
  106. package/Platform/AggregatesExtendedData.d.ts +4 -0
  107. package/Platform/AggregatesGroup.d.ts +13 -0
  108. package/Platform/AggregatesListItem.d.ts +5 -0
  109. package/Platform/AggregatesNotAvailable.d.ts +6 -0
  110. package/Platform/AggregatesPanelHeader.d.ts +6 -0
  111. package/Platform/AggregatesRequestResolver.d.ts +12 -0
  112. package/Platform/AggregatesResponseResolver.d.ts +10 -0
  113. package/Platform/AggregatesTree.d.ts +17 -0
  114. package/Platform/AggregatesTreeLoader.d.ts +2 -0
  115. package/Platform/AggregatesUtils.d.ts +5 -0
  116. package/Platform/ArchivedCardsIcon.d.ts +4 -1
  117. package/Platform/ArchivedCardsPlugin.d.ts +1 -1
  118. package/Platform/ArchivedCardsResponseResolver.d.ts +1 -2
  119. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  120. package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
  121. package/Platform/CalendarInput.d.ts +1 -1
  122. package/Platform/ClearButton.d.ts +7 -5
  123. package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
  124. package/Platform/ContextMenu.d.ts +7 -1
  125. package/Platform/ContextMenuOptionsService.d.ts +7 -4
  126. package/Platform/DateInput.d.ts +3 -13
  127. package/Platform/DefaultFolderDataLoader.d.ts +1 -1
  128. package/Platform/DefaultFolderTablePluginFactory.d.ts +4 -1
  129. package/Platform/DeleteBatchOperation.d.ts +31 -0
  130. package/Platform/DeleteBatchOperationImpl.d.ts +23 -0
  131. package/Platform/DownloadBatchOperationFileInfoCard.d.ts +7 -0
  132. package/Platform/DownloadDocumentFileMode.d.ts +5 -0
  133. package/Platform/DownloadFilesBatchOperation.d.ts +36 -0
  134. package/Platform/DownloadFilesBatchOperationImpl.d.ts +26 -0
  135. package/Platform/Dropdown.d.ts +4 -0
  136. package/Platform/ExportPlugin.d.ts +10 -4
  137. package/Platform/Favorite.d.ts +22 -0
  138. package/Platform/FavoritesPageRouteHandler.d.ts +18 -0
  139. package/Platform/FavoritesRouteHandler.d.ts +18 -0
  140. package/Platform/FileDownloadService.d.ts +2 -1
  141. package/Platform/FilterDate.d.ts +11 -0
  142. package/Platform/FilterDateRangePicker.d.ts +6 -0
  143. package/Platform/FilterDateTextListInput.d.ts +5 -0
  144. package/Platform/FocusableTextInput.d.ts +3 -8
  145. package/Platform/Folder.d.ts +2 -1
  146. package/Platform/FolderContent.d.ts +2 -0
  147. package/Platform/FolderDataContext.d.ts +4 -1
  148. package/Platform/FolderDataLoadingService.d.ts +13 -7
  149. package/Platform/FolderGrid.d.ts +4 -2
  150. package/Platform/FolderGrid.stories.d.ts +1 -0
  151. package/Platform/FolderGridBatchOperationsNode.d.ts +2 -1
  152. package/Platform/FolderGridConstants.d.ts +7 -0
  153. package/Platform/FolderGridService.d.ts +7 -3
  154. package/Platform/FolderImpl.d.ts +2 -0
  155. package/Platform/FolderMainMenuItem.d.ts +1 -1
  156. package/Platform/FolderNameImpl.d.ts +1 -0
  157. package/Platform/FolderRouteTypeMapper.d.ts +1 -0
  158. package/Platform/HoverPanelService.d.ts +5 -0
  159. package/Platform/IAggregates.d.ts +34 -0
  160. package/Platform/ICommonFolderInfo.d.ts +1 -0
  161. package/Platform/IFavoritesPageRouteData.d.ts +6 -0
  162. package/Platform/IFavoritesRouteData.d.ts +7 -0
  163. package/Platform/IFileHasSignature.d.ts +4 -0
  164. package/Platform/IFileInfo.d.ts +5 -0
  165. package/Platform/IFilterComponent.d.ts +29 -0
  166. package/Platform/IFolderDataLoader.d.ts +1 -1
  167. package/Platform/IFolderLoadRequest.d.ts +2 -1
  168. package/Platform/InputWithMask.d.ts +4 -3
  169. package/Platform/LayoutIconButton.d.ts +2 -0
  170. package/Platform/LayoutIconButtonImpl.d.ts +1 -0
  171. package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
  172. package/Platform/ListCheckbox.d.ts +6 -0
  173. package/Platform/ListContent.d.ts +8 -0
  174. package/Platform/ListContentHightlight.d.ts +9 -0
  175. package/Platform/ListEmpty.d.ts +6 -0
  176. package/Platform/ListEmptySearchIcon.d.ts +6 -0
  177. package/Platform/ListInput.d.ts +9 -0
  178. package/Platform/ListItem.d.ts +6 -0
  179. package/Platform/ListLoading.d.ts +6 -0
  180. package/Platform/ListSearchIcon.d.ts +6 -0
  181. package/Platform/ListSlot.d.ts +7 -0
  182. package/Platform/ListTotalItem.d.ts +8 -0
  183. package/Platform/ListViewResponseResolver.d.ts +13 -0
  184. package/Platform/LoaderDialog.d.ts +1 -1
  185. package/Platform/{MoveShortcutsBatchOperation.d.ts → MoveShortcutBatchOperation.d.ts} +5 -5
  186. package/Platform/{MoveShortcutsBatchOperationImpl.d.ts → MoveShortcutBatchOperationImpl.d.ts} +5 -5
  187. package/Platform/ReadAllPlugin.d.ts +10 -5
  188. package/Platform/ReadBatchOperation.d.ts +2 -1
  189. package/Platform/RefreshPlugin.d.ts +10 -4
  190. package/Platform/ResetSettingsPlugin.d.ts +10 -4
  191. package/Platform/ScanDialogService.d.ts +2 -1
  192. package/Platform/SearchResultsRequestResolver.d.ts +6 -0
  193. package/Platform/SearchTextInput.d.ts +6 -0
  194. package/Platform/SearchTextProvider.d.ts +7 -0
  195. package/Platform/SearchTextService.d.ts +10 -0
  196. package/Platform/SearchingResultsImpl.d.ts +1 -1
  197. package/Platform/SecurityDescriptorDialog.d.ts +3 -3
  198. package/Platform/SecurityDialogFrame.d.ts +2 -1
  199. package/Platform/SettingsPlugin.d.ts +12 -7
  200. package/Platform/SettingsPopup.d.ts +5 -3
  201. package/Platform/SettingsPopup.stories.d.ts +1 -0
  202. package/Platform/SettingsPopupExtendedData.d.ts +2 -2
  203. package/Platform/SettingsPopupLogic.d.ts +16 -1
  204. package/Platform/SettingsPopupRequestResolver.d.ts +2 -1
  205. package/Platform/SettingsPopupResponseResolver.d.ts +0 -2
  206. package/Platform/ShowAllButton.d.ts +3 -1
  207. package/Platform/Table.d.ts +4 -4
  208. package/Platform/TableCreateRowWindow.d.ts +2 -1
  209. package/Platform/TableEditRowWindow.d.ts +2 -1
  210. package/Platform/TableImpl.d.ts +2 -2
  211. package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
  212. package/Platform/TablePresentationToggleService.d.ts +8 -0
  213. package/Platform/TestUtils.d.ts +10 -1
  214. package/Platform/TextListInput.d.ts +6 -0
  215. package/Platform/TextListInputLogic.d.ts +55 -0
  216. package/Platform/TextListInputView.d.ts +40 -0
  217. package/Platform/TextListInputWrapper.d.ts +7 -0
  218. package/Platform/ToggleArrowIcon.d.ts +5 -0
  219. package/Platform/ToolbarDaughterControl.d.ts +18 -0
  220. package/Platform/ToolbarDaughterControlImpl.d.ts +14 -0
  221. package/Platform/ToolbarDaughterControlsPlugin.d.ts +6 -0
  222. package/Platform/ToolbarDaughterControlsService.d.ts +13 -0
  223. package/Platform/UnreadBarTablePlugins.d.ts +3 -0
  224. package/Platform/UserProfileDialog.d.ts +1 -1
  225. package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
  226. package/Platform/WebFrameSearchPanel.d.ts +8 -5
  227. package/Platform/WebFrameUserPanel.d.ts +4 -2
  228. package/Platform/applyCurrentSettings.d.ts +7 -1
  229. package/Platform/filterViews.d.ts +3 -0
  230. package/Platform/setColumnsSettings.d.ts +6 -0
  231. package/Platform/updateValueCheckedColumn.d.ts +5 -1
  232. package/StandardServices.d.ts +4 -1
  233. package/System/$LastSearchResponse.d.ts +13 -0
  234. package/System/$PollService.d.ts +10 -0
  235. package/System/BaseControl.d.ts +3 -0
  236. package/System/ButtonPositionsSelectionUtils.d.ts +2 -1
  237. package/System/CancelableEvent.d.ts +1 -1
  238. package/System/DateTimeUtils.d.ts +2 -0
  239. package/System/DirectoryBaseImpl.d.ts +5 -1
  240. package/System/DirectorySelectDialog.d.ts +9 -2
  241. package/System/GridAggregatesModelStub.d.ts +13 -0
  242. package/System/LastSearchResponseService.d.ts +19 -0
  243. package/System/Layout.d.ts +3 -3
  244. package/System/LayoutCardControllerStub.d.ts +1 -1
  245. package/System/LayoutContainer.d.ts +1 -1
  246. package/System/LocationContainerControl.d.ts +2 -1
  247. package/System/PageLeaveConfirmation.d.ts +1 -0
  248. package/System/Poll.d.ts +10 -0
  249. package/System/PollService.d.ts +27 -0
  250. package/System/ResourcesStub.d.ts +2 -1
  251. package/System/StandardRoutes.d.ts +4 -0
  252. package/System/summernote-paste-without-formating.d.ts +10 -0
  253. package/package.json +1 -1
  254. package/Legacy/SearchPanelRouteHandler.d.ts +0 -18
  255. package/Platform/$PluginTemplate.d.ts +0 -12
  256. package/Platform/GridConstants.d.ts +0 -4
  257. package/Platform/PluginTemplateExtendedData.d.ts +0 -4
  258. package/Platform/PluginTemplatePlugins.d.ts +0 -15
  259. package/Platform/PluginTemplateService.d.ts +0 -11
  260. package/Platform/Settings.d.ts +0 -3
  261. package/Platform/TemplateRequestResolver.d.ts +0 -12
  262. package/Platform/TemplateResponseResolver.d.ts +0 -11
  263. package/System/$ServiceTemplate.d.ts +0 -16
  264. package/System/ControlTemplate.d.ts +0 -23
  265. package/System/ControlTemplate.stories.d.ts +0 -9
  266. package/System/ControlTemplateContainer.d.ts +0 -7
  267. package/System/ControlTemplateEffect.d.ts +0 -3
  268. package/System/ControlTemplateFrame.d.ts +0 -8
  269. package/System/ControlTemplateLogic.d.ts +0 -17
  270. package/System/ControlTemplateOptions.d.ts +0 -30
  271. package/System/ControlTemplateText.d.ts +0 -7
  272. package/System/ControlTemplateView.d.ts +0 -10
  273. package/System/ServiceTemplateService.d.ts +0 -13
@@ -1,15 +0,0 @@
1
- import { TablePlugins, ITablePlugins } from '@docsvision/web/components/table/interfaces';
2
- import { $Domain } from '@docsvision/web/core/state-management';
3
- import { $PluginTemplate } from '@docsvision/webclient/Platform/$PluginTemplate';
4
- import "./PluginTemplatePlugins.css";
5
- export declare const PluginTemplateFeature = "PluginTemplateFeature";
6
- /** Шаблон плагина сервис-провайдера. */
7
- export declare const PluginTemplateServiceProvider: TablePlugins.ServiceProvider<$PluginTemplate & $Domain>;
8
- /** Шаблон плагина, добавляющего компонент в ячейку таблицы. */
9
- export declare const PluginTemplateCellPlugin: TablePlugins.Cell.Component<$PluginTemplate>;
10
- /** Шаблон плагина, реагирующего на монтирование и размонтирование DOM. */
11
- export declare const PluginTemplateRowMountEffect: TablePlugins.Row.MountEffect<$PluginTemplate>;
12
- /** Шаблон плагина, добавляющего стили для строки. */
13
- export declare const PluginTemplateRowDecorator: TablePlugins.Row.Decorator<$PluginTemplate>;
14
- /** Образец регистрации плагинов данной функциональности. */
15
- export declare const PluginTemplatePlugins: ITablePlugins;
@@ -1,11 +0,0 @@
1
- import { IRowData } from '@docsvision/web/components/table/interfaces';
2
- import { $Domain } from '@docsvision/web/core/state-management';
3
- import { Event } from 'effector';
4
- import { IPluginTemplateService } from '@docsvision/webclient/Platform/$PluginTemplate';
5
- /** Шаблон реализации сервиса грида. */
6
- export declare class PluginTemplateService implements IPluginTemplateService {
7
- private services;
8
- somethingToggled: Event<IRowData>;
9
- constructor(services: $Domain);
10
- toggleSomething(rowData: IRowData): void;
11
- }
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { SettingsPluginComponent } from '@docsvision/webclient/Platform/SettingsPlugin';
3
- export declare const Settings: (props: SettingsPluginComponent) => JSX.Element;
@@ -1,12 +0,0 @@
1
- import { IFolderDataLoadingPlugin } from '@docsvision/webclient/Platform/IFolderDataLoadingPlugin';
2
- import { PluginOrder } from '@docsvision/webclient/System/PluginOrder';
3
- import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
4
- import { ITableData } from '@docsvision/web/components/table/interfaces';
5
- import { IFolderLoadRequest } from '@docsvision/webclient/Platform/IFolderLoadRequest';
6
- /** Шаблон плагина формирования запроса грида. */
7
- export declare class TemplateRequestResolver implements IFolderDataLoadingPlugin {
8
- id: string;
9
- description: string;
10
- order: PluginOrder;
11
- resolveRequest(options: IFolderLoadRequest, request: GenModels.CardListRequestModel, currentData: ITableData, previousResponse?: GenModels.GridViewModel): Promise<void>;
12
- }
@@ -1,11 +0,0 @@
1
- import { IFolderDataLoadingPlugin, ResponseResolveResult } from '@docsvision/webclient/Platform/IFolderDataLoadingPlugin';
2
- import { PluginOrder } from '@docsvision/webclient/System/PluginOrder';
3
- import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
4
- import { ITableData } from '@docsvision/web/components/table/interfaces';
5
- /** Шаблон плагина парсинга ответа грида. */
6
- export declare class TemplateResponseResolver implements IFolderDataLoadingPlugin {
7
- id: string;
8
- description: string;
9
- order: PluginOrder;
10
- resolveResponse(data: ITableData, response: GenModels.GridViewModel): Promise<void | ResponseResolveResult>;
11
- }
@@ -1,16 +0,0 @@
1
- import { Store, Event } from 'effector';
2
- /** Шаблон сервиса. */
3
- export interface IServiceTemplateService {
4
- /** Содержит некоторые данные. */
5
- $someData: Store<number>;
6
- /** Событие, возникающее при каких-то обстоятельствах. */
7
- somethingHappened: Event<{
8
- info: number;
9
- }>;
10
- /** Выполняет некоторое действие. */
11
- doSomething(someNumber: number): Promise<number>;
12
- }
13
- export declare type $ServiceTemplate = {
14
- serviceTemplate: IServiceTemplateService;
15
- };
16
- export declare const $ServiceTemplate: string | ((model?: $ServiceTemplate) => IServiceTemplateService);
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- import { BaseControl } from '@docsvision/webclient/System/BaseControl';
3
- import { ControlTemplateView } from '@docsvision/webclient/System/ControlTemplateView';
4
- import { ControlTemplateLogic } from '@docsvision/webclient/System/ControlTemplateLogic';
5
- import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
6
- import { BaseControlImplState } from '@docsvision/webclient/System/BaseControlImpl';
7
- import { ControlTemplateParams } from '@docsvision/webclient/System/ControlTemplateOptions';
8
- export interface ControlTemplateState extends BaseControlImplState, ControlTemplateParams {
9
- logic: ControlTemplateLogic;
10
- view: ControlTemplateView;
11
- }
12
- /**
13
- * Класс элемента управления ControlTemplate.
14
- */
15
- export declare class ControlTemplate extends BaseControl<ControlTemplateParams, ControlTemplateState> {
16
- construct(): void;
17
- protected createParams(): ControlTemplateParams;
18
- protected createImpl(): ControlImpl;
19
- private get someText();
20
- /** Выполняет действие аналогичное нажатию кнопки */
21
- doSomeAction(): Promise<void>;
22
- renderControl(): JSX.Element;
23
- }
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ControlTemplate } from '@docsvision/webclient/System/ControlTemplate';
3
- import "./ControlTemplate.stories.css";
4
- declare const _default: {
5
- title: string;
6
- component: typeof ControlTemplate;
7
- };
8
- export default _default;
9
- export declare const Default: () => JSX.Element;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { ControlTemplateLogic } from '@docsvision/webclient/System/ControlTemplateLogic';
3
- import { ControlTemplateView } from '@docsvision/webclient/System/ControlTemplateView';
4
- export declare const ControlTemplateContainer: (props: {
5
- logic: ControlTemplateLogic;
6
- view: ControlTemplateView;
7
- }) => JSX.Element;
@@ -1,3 +0,0 @@
1
- export declare function controlTemplateEffect(param: {
2
- someOption: number;
3
- }): Promise<string>;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { HtmlProps } from '@docsvision/web/core/component';
3
- import './ControlTemplateFrame.css';
4
- export interface IControlTemplateFrameProps extends HtmlProps.div {
5
- renderText: () => React.ReactElement;
6
- renderButton: () => React.ReactElement;
7
- }
8
- export declare function ControlTemplateFrame(props: IControlTemplateFrameProps): JSX.Element;
@@ -1,17 +0,0 @@
1
- import { ControlTemplateParams } from "@docsvision/webclient/System/ControlTemplateOptions";
2
- export declare class ControlTemplateLogic {
3
- options: ControlTemplateParams;
4
- constructor(options: ControlTemplateParams);
5
- domain:
6
- import("effector").Domain;
7
- $someText:
8
- import("effector").Store<string>;
9
- someEvent:
10
- import("effector").Event<void>;
11
- someEffectFx:
12
- import("effector").Effect<{
13
- someOption: number;
14
- }, string, Error>;
15
- initSomeFeature(): void;
16
- init(): void;
17
- }
@@ -1,30 +0,0 @@
1
- import { BaseControlParams } from "@docsvision/webclient/System/BaseControl";
2
- import { ControlTemplateLogic } from "@docsvision/webclient/System/ControlTemplateLogic";
3
- import { ControlTemplateView } from "@docsvision/webclient/System/ControlTemplateView";
4
- import { CancelableApiEvent, BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
5
- import { IControlOptions } from "@docsvision/webclient/System/IControlOptions";
6
- import { Optional } from "@docsvision/web/core/services";
7
- /**
8
- * Содержит публичные свойства элемента управления [ControlTemplate]{@link ControlTemplate}.
9
- */
10
- export declare class ControlTemplateParams extends BaseControlParams {
11
- /** Стандартный CSS класс со стилями элемента управления */
12
- standardCssClass?: string;
13
- /** Некоторая опция */
14
- someOption?: number;
15
- /** Некоторое состояние контрола */
16
- someText?: string;
17
- /** Событие, возникающее перед выполнением действия */
18
- somethingDoing?: CancelableApiEvent<{
19
- someOption: number;
20
- }>;
21
- /** Событие, возникающее после выполнения действия */
22
- somethingDone?: BasicApiEvent<{
23
- someOption: number;
24
- }>;
25
- services?: Optional<$ControlTemplateOptions>;
26
- }
27
- export declare type $ControlTemplateOptions = {
28
- controlTemplateOptions: IControlOptions<ControlTemplateParams, ControlTemplateLogic, ControlTemplateView>;
29
- };
30
- export declare const $ControlTemplateOptions: string | ((model?: $ControlTemplateOptions) => IControlOptions<ControlTemplateParams, ControlTemplateLogic, ControlTemplateView>);
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { HtmlProps } from '@docsvision/web/core/component';
3
- import './ControlTemplateText.css';
4
- export interface IControlTemplateTextProps extends HtmlProps.div {
5
- text: string;
6
- }
7
- export declare function ControlTemplateText(props: IControlTemplateTextProps): JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { ControlTemplateFrame } from "@docsvision/webclient/System/ControlTemplateFrame";
3
- import { ControlTemplateText } from "@docsvision/webclient/System/ControlTemplateText";
4
- export declare class ControlTemplateView {
5
- text: typeof ControlTemplateText;
6
- button: (props:
7
- import("C:/Dev/WebC16/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
8
- frame: typeof ControlTemplateFrame;
9
- buttonText: string;
10
- }
@@ -1,13 +0,0 @@
1
- import { IServiceTemplateService } from '@docsvision/webclient/System/$ServiceTemplate';
2
- import { $Domain } from '@docsvision/web/core/state-management';
3
- import { Store, Event } from 'effector';
4
- /** @internal Реализация {@link IServiceTemplateService}. */
5
- export declare class ServiceTemplateService implements IServiceTemplateService {
6
- private services;
7
- $someData: Store<number>;
8
- somethingHappened: Event<{
9
- info: number;
10
- }>;
11
- constructor(services: $Domain);
12
- doSomething(someNumber: number): Promise<number>;
13
- }