@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.
- package/Approval/AgreementHistoryImpl.d.ts +2 -0
- package/Approval/AgreementList.d.ts +2 -2
- package/Approval/AgreementListImpl.d.ts +3 -0
- package/BackOffice/Address.d.ts +3 -2
- package/BackOffice/CardKind.d.ts +3 -2
- package/BackOffice/ChangeBoundaryValuesSection.d.ts +4 -0
- package/BackOffice/ChangeSectionValues.d.ts +4 -0
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ColumnSettingsDialog.d.ts +2 -0
- package/BackOffice/ConvertSizetoMegabytes.d.ts +1 -0
- package/BackOffice/CreateWindow.d.ts +2 -1
- package/BackOffice/Department.d.ts +3 -2
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DepartmentImpl.d.ts +2 -0
- package/BackOffice/DirectoryDesignerRow.d.ts +3 -2
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/EditTaskDescription.d.ts +2 -1
- package/BackOffice/EditTaskDescriptionDialog.d.ts +2 -0
- package/BackOffice/EditTaskDuration.d.ts +2 -2
- package/BackOffice/EditTaskDurationDialog.d.ts +2 -1
- package/BackOffice/EditWindow.d.ts +2 -1
- package/BackOffice/EmailButton.d.ts +21 -0
- package/BackOffice/EmailButton.stories.d.ts +10 -0
- package/BackOffice/EmailButtonContainer.d.ts +8 -0
- package/BackOffice/EmailButtonFiles.d.ts +7 -0
- package/BackOffice/EmailButtonItem.d.ts +12 -0
- package/BackOffice/EmailButtonLogic.d.ts +42 -0
- package/BackOffice/EmailButtonOptions.d.ts +36 -0
- package/BackOffice/EmailButtonSectionId.d.ts +2 -0
- package/BackOffice/EmailButtonSelectedSize.d.ts +9 -0
- package/BackOffice/EmailButtonView.d.ts +19 -0
- package/BackOffice/ExistingCardLinkDialog.d.ts +12 -4
- package/BackOffice/FileRenamingDialog.d.ts +2 -2
- package/BackOffice/FileSignCreateDialog.d.ts +1 -2
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +1 -1
- package/BackOffice/GetEmlUrl.d.ts +11 -0
- package/BackOffice/ITaskTableSorting.d.ts +27 -0
- package/BackOffice/InitialCheckboxes.d.ts +4 -0
- package/BackOffice/NumeratorImpl.d.ts +1 -1
- package/BackOffice/PartnerBase.d.ts +4 -3
- package/BackOffice/PartnerBaseImpl.d.ts +2 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +5 -4
- package/BackOffice/PartnerSelectDialog.d.ts +8 -1
- package/BackOffice/PartnerTypeaheadVariant.d.ts +3 -2
- package/BackOffice/PrepareTasksTableModel.d.ts +2 -1
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SearchBar.d.ts +4 -0
- package/BackOffice/SortingRows.d.ts +6 -0
- package/BackOffice/StaffDirectoryConstants.d.ts +15 -0
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +5 -3
- package/BackOffice/Tasks.d.ts +2 -1
- package/BackOffice/TasksTable.d.ts +5 -1
- package/BackOffice/TasksTableHeaderCell.d.ts +3 -0
- package/BackOffice/TasksTableLogic.d.ts +12 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/TasksTree.d.ts +3 -1
- package/BackOffice/TasksTreeImpl.d.ts +3 -0
- package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
- package/BackOffice/UserProfile.d.ts +1 -0
- package/BackOffice/UserStatus.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +2 -1
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +106 -5
- package/Generated/DocsVision.WebClient.Models.d.ts +334 -33
- package/Helpers/DateRangePicker/DateRangePicker.d.ts +24 -0
- package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
- package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
- package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +14 -0
- package/Helpers/IconButton.d.ts +2 -0
- package/Helpers/Menu/AdaptiveMenuBar.d.ts +2 -0
- package/Helpers/Menu/MobileMenuBar.d.ts +1 -0
- package/Helpers/MessageBox/MessageBox.d.ts +6 -1
- package/Helpers/ModalDialog/CommonModalDialog.d.ts +8 -0
- package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +5 -2
- package/Helpers/ModalDialog/ModalDialogBox.d.ts +2 -0
- package/Helpers/ModalDialog/ModalDialogMaximizeButton.d.ts +23 -0
- package/Helpers/ModalDialog/ScrollableModal.d.ts +8 -0
- package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
- package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
- package/Legacy/ApprovalFilePanel.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/GroupTaskCardPerformersPanelRazorControl.d.ts +2 -1
- package/Legacy/ModalWindow.d.ts +7 -2
- package/Legacy/ModalWindowParams.d.ts +6 -0
- package/Legacy/SelectFolderModalDialog.d.ts +2 -1
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +0 -1
- package/MainBundle.d.ts +2 -2
- package/Platform/$AggregatesCheckbox.d.ts +19 -0
- package/Platform/$ContextMenuOptions.d.ts +17 -10
- package/Platform/$CurrentFolder.d.ts +1 -0
- package/Platform/$FileDownload.d.ts +2 -1
- package/Platform/$FolderDataLoading.d.ts +5 -1
- package/Platform/$FolderGrid.d.ts +14 -6
- package/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/$SearchText.d.ts +11 -0
- package/Platform/$TablePresentationToggle.d.ts +8 -0
- package/Platform/$ToolbarDaughterControls.d.ts +20 -0
- package/Platform/AggregateItemCheckbox.d.ts +12 -0
- package/Platform/Aggregates.stories.d.ts +8 -0
- package/Platform/AggregatesCheckbox.d.ts +10 -0
- package/Platform/AggregatesCheckboxPlugins.d.ts +11 -0
- package/Platform/AggregatesCheckboxService.d.ts +37 -0
- package/Platform/AggregatesExtendedData.d.ts +4 -0
- package/Platform/AggregatesGroup.d.ts +13 -0
- package/Platform/AggregatesListItem.d.ts +5 -0
- package/Platform/AggregatesNotAvailable.d.ts +6 -0
- package/Platform/AggregatesPanelHeader.d.ts +6 -0
- package/Platform/AggregatesRequestResolver.d.ts +12 -0
- package/Platform/AggregatesResponseResolver.d.ts +10 -0
- package/Platform/AggregatesTree.d.ts +17 -0
- package/Platform/AggregatesTreeLoader.d.ts +2 -0
- package/Platform/AggregatesUtils.d.ts +5 -0
- package/Platform/ArchivedCardsIcon.d.ts +4 -1
- package/Platform/ArchivedCardsPlugin.d.ts +1 -1
- package/Platform/ArchivedCardsResponseResolver.d.ts +1 -2
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
- package/Platform/CalendarInput.d.ts +1 -1
- package/Platform/ClearButton.d.ts +7 -5
- package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
- package/Platform/ContextMenu.d.ts +7 -1
- package/Platform/ContextMenuOptionsService.d.ts +7 -4
- package/Platform/DateInput.d.ts +3 -13
- package/Platform/DefaultFolderDataLoader.d.ts +1 -1
- package/Platform/DefaultFolderTablePluginFactory.d.ts +4 -1
- package/Platform/DeleteBatchOperation.d.ts +31 -0
- package/Platform/DeleteBatchOperationImpl.d.ts +23 -0
- package/Platform/DownloadBatchOperationFileInfoCard.d.ts +7 -0
- package/Platform/DownloadDocumentFileMode.d.ts +5 -0
- package/Platform/DownloadFilesBatchOperation.d.ts +36 -0
- package/Platform/DownloadFilesBatchOperationImpl.d.ts +26 -0
- package/Platform/Dropdown.d.ts +4 -0
- package/Platform/ExportPlugin.d.ts +10 -4
- package/Platform/Favorite.d.ts +22 -0
- package/Platform/FavoritesPageRouteHandler.d.ts +18 -0
- package/Platform/FavoritesRouteHandler.d.ts +18 -0
- package/Platform/FileDownloadService.d.ts +2 -1
- package/Platform/FilterDate.d.ts +11 -0
- package/Platform/FilterDateRangePicker.d.ts +6 -0
- package/Platform/FilterDateTextListInput.d.ts +5 -0
- package/Platform/FocusableTextInput.d.ts +3 -8
- package/Platform/Folder.d.ts +2 -1
- package/Platform/FolderContent.d.ts +2 -0
- package/Platform/FolderDataContext.d.ts +4 -1
- package/Platform/FolderDataLoadingService.d.ts +13 -7
- package/Platform/FolderGrid.d.ts +4 -2
- package/Platform/FolderGrid.stories.d.ts +1 -0
- package/Platform/FolderGridBatchOperationsNode.d.ts +2 -1
- package/Platform/FolderGridConstants.d.ts +7 -0
- package/Platform/FolderGridService.d.ts +7 -3
- package/Platform/FolderImpl.d.ts +2 -0
- package/Platform/FolderMainMenuItem.d.ts +1 -1
- package/Platform/FolderNameImpl.d.ts +1 -0
- package/Platform/FolderRouteTypeMapper.d.ts +1 -0
- package/Platform/HoverPanelService.d.ts +5 -0
- package/Platform/IAggregates.d.ts +34 -0
- package/Platform/ICommonFolderInfo.d.ts +1 -0
- package/Platform/IFavoritesPageRouteData.d.ts +6 -0
- package/Platform/IFavoritesRouteData.d.ts +7 -0
- package/Platform/IFileHasSignature.d.ts +4 -0
- package/Platform/IFileInfo.d.ts +5 -0
- package/Platform/IFilterComponent.d.ts +29 -0
- package/Platform/IFolderDataLoader.d.ts +1 -1
- package/Platform/IFolderLoadRequest.d.ts +2 -1
- package/Platform/InputWithMask.d.ts +4 -3
- package/Platform/LayoutIconButton.d.ts +2 -0
- package/Platform/LayoutIconButtonImpl.d.ts +1 -0
- package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
- package/Platform/ListCheckbox.d.ts +6 -0
- package/Platform/ListContent.d.ts +8 -0
- package/Platform/ListContentHightlight.d.ts +9 -0
- package/Platform/ListEmpty.d.ts +6 -0
- package/Platform/ListEmptySearchIcon.d.ts +6 -0
- package/Platform/ListInput.d.ts +9 -0
- package/Platform/ListItem.d.ts +6 -0
- package/Platform/ListLoading.d.ts +6 -0
- package/Platform/ListSearchIcon.d.ts +6 -0
- package/Platform/ListSlot.d.ts +7 -0
- package/Platform/ListTotalItem.d.ts +8 -0
- package/Platform/ListViewResponseResolver.d.ts +13 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/{MoveShortcutsBatchOperation.d.ts → MoveShortcutBatchOperation.d.ts} +5 -5
- package/Platform/{MoveShortcutsBatchOperationImpl.d.ts → MoveShortcutBatchOperationImpl.d.ts} +5 -5
- package/Platform/ReadAllPlugin.d.ts +10 -5
- package/Platform/ReadBatchOperation.d.ts +2 -1
- package/Platform/RefreshPlugin.d.ts +10 -4
- package/Platform/ResetSettingsPlugin.d.ts +10 -4
- package/Platform/ScanDialogService.d.ts +2 -1
- package/Platform/SearchResultsRequestResolver.d.ts +6 -0
- package/Platform/SearchTextInput.d.ts +6 -0
- package/Platform/SearchTextProvider.d.ts +7 -0
- package/Platform/SearchTextService.d.ts +10 -0
- package/Platform/SearchingResultsImpl.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +3 -3
- package/Platform/SecurityDialogFrame.d.ts +2 -1
- package/Platform/SettingsPlugin.d.ts +12 -7
- package/Platform/SettingsPopup.d.ts +5 -3
- package/Platform/SettingsPopup.stories.d.ts +1 -0
- package/Platform/SettingsPopupExtendedData.d.ts +2 -2
- package/Platform/SettingsPopupLogic.d.ts +16 -1
- package/Platform/SettingsPopupRequestResolver.d.ts +2 -1
- package/Platform/SettingsPopupResponseResolver.d.ts +0 -2
- package/Platform/ShowAllButton.d.ts +3 -1
- package/Platform/Table.d.ts +4 -4
- package/Platform/TableCreateRowWindow.d.ts +2 -1
- package/Platform/TableEditRowWindow.d.ts +2 -1
- package/Platform/TableImpl.d.ts +2 -2
- package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
- package/Platform/TablePresentationToggleService.d.ts +8 -0
- package/Platform/TestUtils.d.ts +10 -1
- package/Platform/TextListInput.d.ts +6 -0
- package/Platform/TextListInputLogic.d.ts +55 -0
- package/Platform/TextListInputView.d.ts +40 -0
- package/Platform/TextListInputWrapper.d.ts +7 -0
- package/Platform/ToggleArrowIcon.d.ts +5 -0
- package/Platform/ToolbarDaughterControl.d.ts +18 -0
- package/Platform/ToolbarDaughterControlImpl.d.ts +14 -0
- package/Platform/ToolbarDaughterControlsPlugin.d.ts +6 -0
- package/Platform/ToolbarDaughterControlsService.d.ts +13 -0
- package/Platform/UnreadBarTablePlugins.d.ts +3 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
- package/Platform/WebFrameSearchPanel.d.ts +8 -5
- package/Platform/WebFrameUserPanel.d.ts +4 -2
- package/Platform/applyCurrentSettings.d.ts +7 -1
- package/Platform/filterViews.d.ts +3 -0
- package/Platform/setColumnsSettings.d.ts +6 -0
- package/Platform/updateValueCheckedColumn.d.ts +5 -1
- package/StandardServices.d.ts +4 -1
- package/System/$LastSearchResponse.d.ts +13 -0
- package/System/$PollService.d.ts +10 -0
- package/System/BaseControl.d.ts +3 -0
- package/System/ButtonPositionsSelectionUtils.d.ts +2 -1
- package/System/CancelableEvent.d.ts +1 -1
- package/System/DateTimeUtils.d.ts +2 -0
- package/System/DirectoryBaseImpl.d.ts +5 -1
- package/System/DirectorySelectDialog.d.ts +9 -2
- package/System/GridAggregatesModelStub.d.ts +13 -0
- package/System/LastSearchResponseService.d.ts +19 -0
- package/System/Layout.d.ts +3 -3
- package/System/LayoutCardControllerStub.d.ts +1 -1
- package/System/LayoutContainer.d.ts +1 -1
- package/System/LocationContainerControl.d.ts +2 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/Poll.d.ts +10 -0
- package/System/PollService.d.ts +27 -0
- package/System/ResourcesStub.d.ts +2 -1
- package/System/StandardRoutes.d.ts +4 -0
- package/System/summernote-paste-without-formating.d.ts +10 -0
- package/package.json +1 -1
- package/Legacy/SearchPanelRouteHandler.d.ts +0 -18
- package/Platform/$PluginTemplate.d.ts +0 -12
- package/Platform/GridConstants.d.ts +0 -4
- package/Platform/PluginTemplateExtendedData.d.ts +0 -4
- package/Platform/PluginTemplatePlugins.d.ts +0 -15
- package/Platform/PluginTemplateService.d.ts +0 -11
- package/Platform/Settings.d.ts +0 -3
- package/Platform/TemplateRequestResolver.d.ts +0 -12
- package/Platform/TemplateResponseResolver.d.ts +0 -11
- package/System/$ServiceTemplate.d.ts +0 -16
- package/System/ControlTemplate.d.ts +0 -23
- package/System/ControlTemplate.stories.d.ts +0 -9
- package/System/ControlTemplateContainer.d.ts +0 -7
- package/System/ControlTemplateEffect.d.ts +0 -3
- package/System/ControlTemplateFrame.d.ts +0 -8
- package/System/ControlTemplateLogic.d.ts +0 -17
- package/System/ControlTemplateOptions.d.ts +0 -30
- package/System/ControlTemplateText.d.ts +0 -7
- package/System/ControlTemplateView.d.ts +0 -10
- package/System/ServiceTemplateService.d.ts +0 -13
|
@@ -11,6 +11,7 @@ export interface AgreementHistoryState extends BaseControlState, AgreementHistor
|
|
|
11
11
|
dialog: ModalHost;
|
|
12
12
|
isHistoryDataReceived: boolean;
|
|
13
13
|
loading: boolean;
|
|
14
|
+
maximized: boolean;
|
|
14
15
|
lastLoadedData: GenModels.ApprovalHistoryViewModel;
|
|
15
16
|
}
|
|
16
17
|
/** @internal */
|
|
@@ -27,6 +28,7 @@ export declare class AgreementHistoryImpl extends BaseControlImpl<AgreementHisto
|
|
|
27
28
|
/** Показать отчёт. */
|
|
28
29
|
showReport(): void;
|
|
29
30
|
private closeDialog;
|
|
31
|
+
private onMaximize;
|
|
30
32
|
/** Скрыть отчёт. */
|
|
31
33
|
hideReport(): void;
|
|
32
34
|
/** Можно ли показать отчёт. */
|
|
@@ -3,7 +3,7 @@ import { IAgreementListReportOpenedEventArgs } from "@docsvision/webclient/Appro
|
|
|
3
3
|
import { IAgreementListReportOpeningEventArgs } from "@docsvision/webclient/Approval/IAgreementListReportOpeningEventArgs";
|
|
4
4
|
import { $LayoutAgreementController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
5
5
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
6
|
-
import { $
|
|
6
|
+
import { $DeviceType, $SiteUrl, $IsIE } from "@docsvision/webclient/StandardServices";
|
|
7
7
|
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
8
8
|
import { $CardId, $EditOperationStore } from "@docsvision/webclient/System/LayoutServices";
|
|
9
9
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
@@ -37,7 +37,7 @@ export declare class AgreementListParams extends BaseControlParams {
|
|
|
37
37
|
agreementReportOpened?: BasicApiEvent<IAgreementListReportOpenedEventArgs>;
|
|
38
38
|
/** События возникает после закрытия окна листа согласования. */
|
|
39
39
|
agreementReportClosed?: BasicApiEvent<IEventArgs>;
|
|
40
|
-
services?: $LayoutAgreementController & $EditOperationStore & Optional<$CardId> & Optional<$SiteUrl> & $IsIE;
|
|
40
|
+
services?: $LayoutAgreementController & $EditOperationStore & Optional<$CardId> & Optional<$SiteUrl> & $DeviceType & $IsIE;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Класс элемента управления Лист согласования.
|
|
@@ -11,6 +11,8 @@ export interface AgreementListState extends AgreementListParams, BaseControlStat
|
|
|
11
11
|
loading: boolean;
|
|
12
12
|
dialog: ModalWindow;
|
|
13
13
|
lastLoadedData: GenModels.AgreementListModel;
|
|
14
|
+
/** Развернуто ли модальное окно */
|
|
15
|
+
maximized?: boolean;
|
|
14
16
|
}
|
|
15
17
|
/** @internal */
|
|
16
18
|
export declare type AgreementListImplState = AgreementListState;
|
|
@@ -22,6 +24,7 @@ export declare class AgreementListImpl extends BaseControlImpl<AgreementListPara
|
|
|
22
24
|
getCssClass(): string;
|
|
23
25
|
showReport(): void;
|
|
24
26
|
hideReport(): void;
|
|
27
|
+
onMaximize(): void;
|
|
25
28
|
showModalWindow(data: GenModels.AgreementListModel): void;
|
|
26
29
|
renderControl(): JSX.Element;
|
|
27
30
|
}
|
package/BackOffice/Address.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AddressImpl, AddressState } from '@docsvision/webclient/BackOffice/AddressImpl';
|
|
2
2
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
3
4
|
import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
|
|
4
5
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
5
6
|
import { $CardId, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
@@ -12,7 +13,7 @@ export declare class AddressParams extends InputBasedControlParams<GenModels.Add
|
|
|
12
13
|
standardCssClass?: string;
|
|
13
14
|
/** Режим представления данных в элементе управления. */
|
|
14
15
|
addressType?: number;
|
|
15
|
-
services?: $LayoutInfo & $CardId & $Layout & $EditOperationStore;
|
|
16
|
+
services?: $LayoutInfo & $CardId & $Layout & $EditOperationStore & $DeviceType;
|
|
16
17
|
}
|
|
17
18
|
/**
|
|
18
19
|
* Класс элемента управления Адрес.
|
|
@@ -20,7 +21,7 @@ export declare class AddressParams extends InputBasedControlParams<GenModels.Add
|
|
|
20
21
|
*/
|
|
21
22
|
export declare class Address extends InputBasedControl<GenModels.AddressModel, AddressParams, AddressState> {
|
|
22
23
|
protected createParams(): AddressParams;
|
|
23
|
-
protected getServices(): $LayoutInfo & $CardId & $Layout & $EditOperationStore;
|
|
24
|
+
protected getServices(): $LayoutInfo & $CardId & $Layout & $EditOperationStore & $DeviceType;
|
|
24
25
|
/** @internal */
|
|
25
26
|
protected createImpl(): AddressImpl;
|
|
26
27
|
private set setBinding(value);
|
package/BackOffice/CardKind.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CardKindImpl, CardKindState } from "@docsvision/webclient/BackOffice/CardKindImpl";
|
|
2
2
|
import { $LayoutCardKindController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
5
|
import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
|
|
5
6
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
6
7
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
@@ -20,7 +21,7 @@ export declare class CardKindParams extends InputBasedControlParams<GenModels.Ca
|
|
|
20
21
|
/** Список видов карточек, доступных для выбора (по умолчанию все виды доступны). */
|
|
21
22
|
availableKinds?: string[];
|
|
22
23
|
/** Сервисы. */
|
|
23
|
-
services?: $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Optional<$LabelWidth
|
|
24
|
+
services?: $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Optional<$LabelWidth> & $DeviceType;
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* Класс элемента управления Вид карточки.
|
|
@@ -29,7 +30,7 @@ export declare class CardKindParams extends InputBasedControlParams<GenModels.Ca
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class CardKind extends InputBasedControl<GenModels.CardKindModel, CardKindParams, CardKindState> {
|
|
31
32
|
protected createParams(): CardKindParams;
|
|
32
|
-
protected getServices(): $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Partial<$LabelWidth
|
|
33
|
+
protected getServices(): $LayoutCardKindController & $LayoutInfo & $EditOperationStore & Partial<$LabelWidth> & $DeviceType;
|
|
33
34
|
protected createImpl(): CardKindImpl;
|
|
34
35
|
protected getBindings(): IBindingResult<any>[];
|
|
35
36
|
private set cardKindData(value);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IEmailButtonCheckboxes } from '@docsvision/webclient/BackOffice/EmailButtonLogic';
|
|
2
|
+
import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
|
|
3
|
+
import { Event, Store } from 'effector';
|
|
4
|
+
export declare function changeBoundaryValuesSection(checkboxes: IEmailButtonCheckboxes, files: Store<FileListItem[]>, id: string, event: Event<string>): void;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IEmailButtonCheckboxes } from '@docsvision/webclient/BackOffice/EmailButtonLogic';
|
|
2
|
+
import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
|
|
3
|
+
import { Store } from 'effector';
|
|
4
|
+
export declare function changeSectionValues(checkboxes: IEmailButtonCheckboxes, files: Store<FileListItem[]>, id: string): void;
|
|
@@ -37,17 +37,17 @@ export declare class ChildTasksPerformingImpl extends BaseControlImpl<Params, St
|
|
|
37
37
|
unselectAll(): Promise<void>;
|
|
38
38
|
protected HeaderCell:
|
|
39
39
|
import("styled-components").StyledComponent<(props:
|
|
40
|
-
import("C:/
|
|
40
|
+
import("C:/dev/WebClient/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
|
|
41
41
|
protected TaskStatus:
|
|
42
42
|
import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
43
43
|
protected SelectableCell:
|
|
44
44
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
45
|
-
import("C:/
|
|
45
|
+
import("C:/dev/WebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
46
46
|
selected: boolean;
|
|
47
47
|
}, never>;
|
|
48
48
|
protected FileCell:
|
|
49
49
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
50
|
-
import("C:/
|
|
50
|
+
import("C:/dev/WebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
51
51
|
selected: boolean;
|
|
52
52
|
}, never>;
|
|
53
53
|
protected SelectAllCheckboxLabel:
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
2
|
import { ISortableItem } from '@docsvision/webclient/Helpers/Sortable/Data/ClientModels/ISortableItem';
|
|
3
3
|
import React from 'react';
|
|
4
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
4
5
|
export interface Props {
|
|
5
6
|
linkColumns: GenModels.LinksColumnsConfiguration;
|
|
6
7
|
defaultLinkColumns: GenModels.LinksColumnsConfiguration;
|
|
7
8
|
onAccept: (linkColumns: GenModels.LinksColumnsConfiguration) => void;
|
|
8
9
|
onCancel: () => void;
|
|
10
|
+
services: $DeviceType;
|
|
9
11
|
}
|
|
10
12
|
export interface State {
|
|
11
13
|
order: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function convertSizetoMegabytes(size?: number): string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { $DepartmentController, $LayoutRowController, $LayoutStaffController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
2
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
3
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
4
|
-
|
|
4
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
5
|
+
export declare function showCreateWindow(itemType: GenModels.PartnerItemType, parentItem: GenModels.DepartmentModel, selectedFilterPath: GenModels.DepartmentModel[] | null, services: $LayoutRowController & $LocationContainerControlServices & $LayoutStaffController & $DepartmentController & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<GenModels.DepartmentModel | GenModels.EmployeeDataModel>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DepartmentImpl, DepartmentState } from "@docsvision/webclient/BackOffice/DepartmentImpl";
|
|
2
2
|
import { $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
5
|
import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
|
|
5
6
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
6
7
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
@@ -22,7 +23,7 @@ export declare class DepartmentParams extends InputBasedControlParams<GenModels.
|
|
|
22
23
|
dialogMode?: GenModels.DepartmentDialogMode;
|
|
23
24
|
/** Задержка перед поиском (в мс) */
|
|
24
25
|
searchDelay?: number;
|
|
25
|
-
services?: $LayoutStaffController & $EditOperationStore & $LayoutInfo;
|
|
26
|
+
services?: $LayoutStaffController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
28
29
|
* Класс элемента управления Подразделение.
|
|
@@ -32,7 +33,7 @@ export declare class DepartmentParams extends InputBasedControlParams<GenModels.
|
|
|
32
33
|
export declare class Department extends InputBasedControl<GenModels.DepartmentModel, DepartmentParams, DepartmentState> {
|
|
33
34
|
protected createParams(): DepartmentParams;
|
|
34
35
|
private get departmentImpl();
|
|
35
|
-
protected getServices(): $LayoutStaffController & $EditOperationStore & $LayoutInfo;
|
|
36
|
+
protected getServices(): $LayoutStaffController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
36
37
|
private set DepartmentBinding(value);
|
|
37
38
|
/** Показано ли модальное окно выбора организации/подразделения. */
|
|
38
39
|
get isDictionaryShown(): boolean;
|
|
@@ -6,6 +6,6 @@ export declare const PredefinedSeparator:
|
|
|
6
6
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
7
7
|
export declare const Item:
|
|
8
8
|
import("styled-components").StyledComponent<(props:
|
|
9
|
-
import("C:/
|
|
9
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
|
|
10
10
|
export declare const ReadonlyLinkItemView:
|
|
11
11
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
@@ -23,6 +23,7 @@ export declare class DepartmentImpl extends InputBasedControlImpl<GenModels.Depa
|
|
|
23
23
|
static NextPageSize: number;
|
|
24
24
|
private typeahead;
|
|
25
25
|
private dialogHost;
|
|
26
|
+
private maximized?;
|
|
26
27
|
constructor(props: DepartmentParams, state: DepartmentState);
|
|
27
28
|
componentDidUpdate(): void;
|
|
28
29
|
protected get source(): GenModels.DepartmentDataSource;
|
|
@@ -42,6 +43,7 @@ export declare class DepartmentImpl extends InputBasedControlImpl<GenModels.Depa
|
|
|
42
43
|
protected onDirectoryDialogSelectButtonClick(): void;
|
|
43
44
|
protected onInputChange(event: any): void;
|
|
44
45
|
private afterOpenCallback;
|
|
46
|
+
private onMaximize;
|
|
45
47
|
get isDictionaryShown(): boolean;
|
|
46
48
|
protected renderDialog: () => JSX.Element;
|
|
47
49
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DirectoryDesignerRowImpl, DirectoryDesignerRowState } from "@docsvision/webclient/BackOffice/DirectoryDesignerRowImpl";
|
|
2
2
|
import { $LayoutDirectoryDesignerController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
3
3
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
4
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
4
5
|
import { InputBasedControl, InputBasedControlParams } from "@docsvision/webclient/System/InputBasedControl";
|
|
5
6
|
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
6
7
|
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
@@ -25,7 +26,7 @@ export declare class DirectoryDesignerRowParams extends InputBasedControlParams<
|
|
|
25
26
|
selectionArea?: GenModels.DirectoryDesignerSearchArea;
|
|
26
27
|
/** Задержка перед поиском (в мс) */
|
|
27
28
|
searchDelay?: number;
|
|
28
|
-
services?: $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo;
|
|
29
|
+
services?: $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
29
30
|
/** Событие, возникающее перед открытием модального окна для выбора контрагентов. */
|
|
30
31
|
directoryWindowOpening?: CancelableApiEvent<void>;
|
|
31
32
|
/** Событие, возникающее после открытия модального окна для выбора контрагентов. */
|
|
@@ -43,7 +44,7 @@ export declare class DirectoryDesignerRowParams extends InputBasedControlParams<
|
|
|
43
44
|
export declare class DirectoryDesignerRow extends InputBasedControl<GenModels.DirectoryDesignerRowModel, DirectoryDesignerRowParams, DirectoryDesignerRowState> {
|
|
44
45
|
private get departmentImpl();
|
|
45
46
|
protected createParams(): DirectoryDesignerRowParams;
|
|
46
|
-
protected getServices(): $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo;
|
|
47
|
+
protected getServices(): $LayoutDirectoryDesignerController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
47
48
|
private set DirectoryDesignerRowBinding(value);
|
|
48
49
|
private set DefaultBindingHandler(value);
|
|
49
50
|
protected set defaultValue(value: GenModels.DirectoryDesignerRowModel);
|
|
@@ -13,7 +13,7 @@ import("react").ForwardRefExoticComponent<Pick<
|
|
|
13
13
|
import("./components/DirectorySearchContent").IDirectorySearchContentProps, "data" | "dir" | "slot" | "style" | "title" | "children" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "opened" | "hidden" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "renderContent"> &
|
|
14
14
|
import("react").RefAttributes<unknown>>;
|
|
15
15
|
iconButton: (props:
|
|
16
|
-
import("C:/
|
|
16
|
+
import("C:/dev/WebClient/Helpers/IconButton").IIconButtonProps) => JSX.Element;
|
|
17
17
|
searchResultList: typeof DirectorySearchResultList;
|
|
18
18
|
searchBreadcrumbs: typeof DirectorySearchBreadcrumbs;
|
|
19
19
|
searchInfo: typeof DirectorySearchInfo;
|
|
@@ -2,9 +2,10 @@ import { TaskGroupInterval } from '@docsvision/webclient/BackOffice/TaskGroupInt
|
|
|
2
2
|
import { ITaskDescriptionDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDescriptionDialogManagement';
|
|
3
3
|
import { Optional } from '@docsvision/web/core/services';
|
|
4
4
|
import { $RootCssClass } from '@docsvision/webclient/Helpers/$RootCssClass';
|
|
5
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
5
6
|
export declare class EditTaskDescription {
|
|
6
7
|
private onTaskDescriptionChanged;
|
|
7
8
|
private services?;
|
|
8
|
-
constructor(onTaskDescriptionChanged: (task: TaskGroupInterval, newDescription: string) => Promise<void>, services?: Optional<$RootCssClass>);
|
|
9
|
+
constructor(onTaskDescriptionChanged: (task: TaskGroupInterval, newDescription: string) => Promise<void>, services?: Optional<$RootCssClass> & $DeviceType);
|
|
9
10
|
showEditDialog: (task: TaskGroupInterval) => Promise<ITaskDescriptionDialogManagement>;
|
|
10
11
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ITaskDescriptionDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDescriptionDialogManagement';
|
|
3
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
3
4
|
export interface IEditTaskDescriptionDialogProps {
|
|
4
5
|
isOpen: boolean;
|
|
5
6
|
text: string;
|
|
6
7
|
management: ITaskDescriptionDialogManagement;
|
|
7
8
|
onAccept: (newText: string) => void;
|
|
8
9
|
onCancel: () => void;
|
|
10
|
+
services: $DeviceType;
|
|
9
11
|
}
|
|
10
12
|
export declare const EditTaskDescriptionDialog: (props: IEditTaskDescriptionDialogProps) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
2
|
import { StateAccessor } from '@docsvision/webclient/System/StateAccessor';
|
|
3
3
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
4
|
-
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
4
|
+
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
5
5
|
import { TaskGroupInterval } from '@docsvision/webclient/BackOffice/TaskGroupIntervalModel';
|
|
6
6
|
import { ITaskDurationDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDurationDialogManagement';
|
|
7
7
|
import { Optional } from '@docsvision/web/core/services';
|
|
@@ -13,6 +13,6 @@ export declare class EditTaskDuration {
|
|
|
13
13
|
private executionType;
|
|
14
14
|
private taskGroupDurationSpecified;
|
|
15
15
|
private services;
|
|
16
|
-
constructor(onTaskDurationChanged: (task: TaskGroupInterval, startDate: Date, endDate: Date, duration: number) => void, useBusinessCalendar: () => boolean, getBusinessCalendarSources: (task: TaskGroupInterval) => GenModels.BusinessCalendarSource[], executionType: StateAccessor<GenModels.ExecutionType>, taskGroupDurationSpecified: () => boolean, services: $MessageBox & $ApplicationSettings & Optional<$RootCssClass>);
|
|
16
|
+
constructor(onTaskDurationChanged: (task: TaskGroupInterval, startDate: Date, endDate: Date, duration: number) => void, useBusinessCalendar: () => boolean, getBusinessCalendarSources: (task: TaskGroupInterval) => GenModels.BusinessCalendarSource[], executionType: StateAccessor<GenModels.ExecutionType>, taskGroupDurationSpecified: () => boolean, services: $MessageBox & $ApplicationSettings & Optional<$RootCssClass> & $DeviceType);
|
|
17
17
|
showEditDialog: (task: TaskGroupInterval) => Promise<ITaskDurationDialogManagement>;
|
|
18
18
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
3
|
import { ITaskDurationDialogManagement } from '@docsvision/webclient/BackOffice/ITaskDurationDialogManagement';
|
|
4
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
4
5
|
export interface IEditTaskDurationDialogProps {
|
|
5
6
|
isOpen: boolean;
|
|
6
7
|
startDate: Date;
|
|
@@ -15,6 +16,6 @@ export interface IEditTaskDurationDialogProps {
|
|
|
15
16
|
onCancel: () => void;
|
|
16
17
|
gettingDuration: () => void;
|
|
17
18
|
gotDuration: () => void;
|
|
18
|
-
services:
|
|
19
|
+
services: $DeviceType;
|
|
19
20
|
}
|
|
20
21
|
export declare const EditTaskDurationDialog: (props: IEditTaskDurationDialogProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
2
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
3
4
|
import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
|
|
4
|
-
export declare function showEditWindow(item: GenModels.PartnerDirectoryItem, selectedFilterPath: GenModels.DepartmentModel[], services: $LayoutRowController & $LocationContainerControlServices, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<unknown>;
|
|
5
|
+
export declare function showEditWindow(item: GenModels.PartnerDirectoryItem, selectedFilterPath: GenModels.DepartmentModel[], services: $LayoutRowController & $LocationContainerControlServices & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<unknown>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EmailButtonLogic } from '@docsvision/webclient/BackOffice/EmailButtonLogic';
|
|
3
|
+
import { EmailButtonParams } from '@docsvision/webclient/BackOffice/EmailButtonOptions';
|
|
4
|
+
import { EmailButtonView } from '@docsvision/webclient/BackOffice/EmailButtonView';
|
|
5
|
+
import { BaseControl } from '@docsvision/webclient/System/BaseControl';
|
|
6
|
+
import { BaseControlImplState } from '@docsvision/webclient/System/BaseControlImpl';
|
|
7
|
+
import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
|
|
8
|
+
export interface EmailButtonState extends BaseControlImplState, EmailButtonParams {
|
|
9
|
+
logic: EmailButtonLogic;
|
|
10
|
+
view: EmailButtonView;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Класс элемента управления EmailButton.
|
|
14
|
+
*/
|
|
15
|
+
export declare class EmailButton extends BaseControl<EmailButtonParams, EmailButtonState> {
|
|
16
|
+
construct(): void;
|
|
17
|
+
protected createParams(): EmailButtonParams;
|
|
18
|
+
protected createImpl(): ControlImpl;
|
|
19
|
+
protected addCssClass: () => "" | "hide";
|
|
20
|
+
renderControl(): JSX.Element;
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EmailButton } from '@docsvision/webclient/BackOffice/EmailButton';
|
|
3
|
+
import './EmailButton.stories.css';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof EmailButton;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: () => JSX.Element;
|
|
10
|
+
export declare const ModifyFilesSelection: () => JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EmailButtonLogic } from '@docsvision/webclient/BackOffice/EmailButtonLogic';
|
|
3
|
+
import { EmailButtonView } from '@docsvision/webclient/BackOffice/EmailButtonView';
|
|
4
|
+
import './EmailButtonContainer.css';
|
|
5
|
+
export declare const EmailButtonContainer: (props: {
|
|
6
|
+
logic: EmailButtonLogic;
|
|
7
|
+
view: EmailButtonView;
|
|
8
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component/HtmlProps';
|
|
3
|
+
import './EmailButtonFiles.css';
|
|
4
|
+
export interface EmailButtonFilesProps extends HtmlProps.div {
|
|
5
|
+
}
|
|
6
|
+
/** Стилевой контейнер файлов {@see EmailButtonContainer }. */
|
|
7
|
+
export declare const EmailButtonFiles: (props: EmailButtonFilesProps) => JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component/HtmlProps';
|
|
3
|
+
import './EmailButtonItem.css';
|
|
4
|
+
export interface EmailButtonItemProps extends HtmlProps.span {
|
|
5
|
+
title: string;
|
|
6
|
+
size: number;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
bold?: boolean;
|
|
9
|
+
renderCheckbox: () => ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/** Стилевой контейнер меню {@see EmailButtonContainer }. */
|
|
12
|
+
export declare const EmailButtonItem: (props: EmailButtonItemProps) => JSX.Element;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EmailButtonParams } from '@docsvision/webclient/BackOffice/EmailButtonOptions';
|
|
2
|
+
import { FileListItem } from '@docsvision/webclient/BackOffice/FileListItem';
|
|
3
|
+
export interface IEmailButtonCheckboxes {
|
|
4
|
+
[id: string]: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare class EmailButtonLogic {
|
|
7
|
+
options: EmailButtonParams;
|
|
8
|
+
constructor(options: EmailButtonParams);
|
|
9
|
+
domain:
|
|
10
|
+
import("effector").Domain;
|
|
11
|
+
getEmlFile:
|
|
12
|
+
import("effector").Event<void>;
|
|
13
|
+
getEmlFileFx:
|
|
14
|
+
import("effector").Effect<void, Blob, Error>;
|
|
15
|
+
$emlLoading:
|
|
16
|
+
import("effector").Store<boolean>;
|
|
17
|
+
getFiles:
|
|
18
|
+
import("effector").Event<void>;
|
|
19
|
+
$files:
|
|
20
|
+
import("effector").Store<FileListItem[]>;
|
|
21
|
+
$mainFiles:
|
|
22
|
+
import("effector").Store<FileListItem[]>;
|
|
23
|
+
$mainFilesSize:
|
|
24
|
+
import("effector").Store<number>;
|
|
25
|
+
$additionalFiles:
|
|
26
|
+
import("effector").Store<FileListItem[]>;
|
|
27
|
+
$additionalFilesSize:
|
|
28
|
+
import("effector").Store<number>;
|
|
29
|
+
$selectedFiles:
|
|
30
|
+
import("effector").Store<FileListItem[]>;
|
|
31
|
+
$selectedFileIds:
|
|
32
|
+
import("effector").Store<string[]>;
|
|
33
|
+
$selectedFilesSize:
|
|
34
|
+
import("effector").Store<number>;
|
|
35
|
+
$checkboxes:
|
|
36
|
+
import("effector").Store<IEmailButtonCheckboxes>;
|
|
37
|
+
changeFileSelection:
|
|
38
|
+
import("effector").Event<string>;
|
|
39
|
+
changeSectionSelection:
|
|
40
|
+
import("effector").Event<string>;
|
|
41
|
+
init(): Promise<void>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EmailButtonLogic } from '@docsvision/webclient/BackOffice/EmailButtonLogic';
|
|
2
|
+
import { EmailButtonView } from '@docsvision/webclient/BackOffice/EmailButtonView';
|
|
3
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
|
+
import { $FileDownload } from '@docsvision/webclient/Platform/$FileDownload';
|
|
5
|
+
import { $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
6
|
+
import { BaseControlParams } from '@docsvision/webclient/System/BaseControl';
|
|
7
|
+
import { $CardId } from '@docsvision/webclient/System/LayoutServices';
|
|
8
|
+
import { $FileService } from '@docsvision/webclient/System/$FileService';
|
|
9
|
+
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
10
|
+
import { IControlOptions } from '@docsvision/webclient/System/IControlOptions';
|
|
11
|
+
import { Optional } from '@docsvision/web/core/services';
|
|
12
|
+
/**
|
|
13
|
+
* Содержит публичные свойства элемента управления [EmailButtonParams]{@link EmailButtonParams}.
|
|
14
|
+
*/
|
|
15
|
+
export declare class EmailButtonParams extends BaseControlParams {
|
|
16
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
17
|
+
standardCssClass?: string;
|
|
18
|
+
/** Текст кнопки операции. */
|
|
19
|
+
buttonText?: string;
|
|
20
|
+
/** Шаблон */
|
|
21
|
+
transformationTemplate: string;
|
|
22
|
+
/** Изменение выбора файлов */
|
|
23
|
+
modifyFilesSelection?: boolean;
|
|
24
|
+
/** Прикладываемые файлы */
|
|
25
|
+
fileAttachments?: GenModels.FileAttachmentsMode;
|
|
26
|
+
/** Использовать ссылку на карточку */
|
|
27
|
+
useCardLink?: boolean;
|
|
28
|
+
/** Использовать шаблон */
|
|
29
|
+
useTemplate?: boolean;
|
|
30
|
+
/** Сервисы */
|
|
31
|
+
services?: Optional<$EmailButtonOptions> & $FileDownload & $CardId & $FileService & $LocalStorage & $DeviceType;
|
|
32
|
+
}
|
|
33
|
+
export declare type $EmailButtonOptions = {
|
|
34
|
+
emailButtonOptions: IControlOptions<EmailButtonParams, EmailButtonLogic, EmailButtonView>;
|
|
35
|
+
};
|
|
36
|
+
export declare const $EmailButtonOptions: string | ((model?: $EmailButtonOptions) => IControlOptions<EmailButtonParams, EmailButtonLogic, EmailButtonView>);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component/HtmlProps';
|
|
3
|
+
import './EmailButtonSelectedSize.css';
|
|
4
|
+
export interface EmailButtonSelectedSizeProps extends HtmlProps.div {
|
|
5
|
+
size: number;
|
|
6
|
+
text: string;
|
|
7
|
+
}
|
|
8
|
+
/** Стилевой контейнер объёма вложения {@see EmailButtonContainer }. */
|
|
9
|
+
export declare const EmailButtonSelectedSize: (props: EmailButtonSelectedSizeProps) => JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare class EmailButtonView {
|
|
3
|
+
button: (props:
|
|
4
|
+
import("@docsvision/web/components/form/button").ButtonProps) => JSX.Element;
|
|
5
|
+
buttonDialog: (props:
|
|
6
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
7
|
+
modalDialog: (props:
|
|
8
|
+
import("@docsvision/web/components/modals/modal-dialog").ModalDialogProps) => JSX.Element;
|
|
9
|
+
item: (props:
|
|
10
|
+
import("./components/EmailButtonItem").EmailButtonItemProps) => JSX.Element;
|
|
11
|
+
checkbox:
|
|
12
|
+
import("react").ForwardRefExoticComponent<Pick<
|
|
13
|
+
import("@docsvision/web/components/form/checkbox/CheckBox").CheckBoxProps, "dir" | "form" | "slot" | "style" | "title" | "name" | "disabled" | "children" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "hidden" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "value" | "labelText" | "required" | "innerRef" | "readOnly" | "checked" | "htmlFor" | "onSetupLogic" | "onSetupView" | "css" | "indeterminate"> &
|
|
14
|
+
import("react").RefAttributes<unknown>>;
|
|
15
|
+
files: (props:
|
|
16
|
+
import("./components/EmailButtonFiles").EmailButtonFilesProps) => JSX.Element;
|
|
17
|
+
selectedSize: (props:
|
|
18
|
+
import("./components/EmailButtonSelectedSize").EmailButtonSelectedSizeProps) => JSX.Element;
|
|
19
|
+
}
|
|
@@ -8,31 +8,39 @@ import { $LinksSearchCards } from '@docsvision/webclient/BackOffice/$LinksSearch
|
|
|
8
8
|
import { Optional } from '@docsvision/web/core/services';
|
|
9
9
|
import { BasicApiEvent, CancelableApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
10
10
|
import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
11
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
11
12
|
export interface Props {
|
|
12
13
|
onClose: Function;
|
|
13
14
|
onAddExistingCardLink: Function;
|
|
14
15
|
onAddedExistingCardLink: Function;
|
|
15
|
-
services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards
|
|
16
|
+
services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards> & $DeviceType;
|
|
16
17
|
linkTypeEditable?: boolean;
|
|
18
|
+
/** Существует ли кнопка развертывания */
|
|
19
|
+
maximizeButtonEnabled?: boolean;
|
|
20
|
+
/** Вызывается при попытке развернуть окно */
|
|
21
|
+
onMaximize?: () => void;
|
|
17
22
|
}
|
|
18
23
|
interface State {
|
|
19
24
|
layout: ILayout;
|
|
20
25
|
savingState: LoadingState;
|
|
21
|
-
services: $LinksSearchCards;
|
|
26
|
+
services: $LinksSearchCards & $DeviceType;
|
|
27
|
+
/** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
|
|
28
|
+
maximized: boolean;
|
|
22
29
|
}
|
|
23
30
|
export declare class ExistingCardLinkDialog extends React.Component<Props, State> implements IDialog {
|
|
24
31
|
static ExistingCardLinkSearchLayout: string;
|
|
25
32
|
private layoutRoot;
|
|
26
33
|
constructor(props: any);
|
|
27
|
-
static show(services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards
|
|
34
|
+
static show(services: $LayoutController & $LayoutManager & Optional<$LinksSearchCards> & $DeviceType, onAddExistingCardLink: Function, onAddedExistingCardLink: Function, windowOpeningEvent?: CancelableApiEvent<IEventArgs>, windowOpenedEvent?: BasicApiEvent<IEventArgs>, windowClosingEvent?: CancelableApiEvent<IEventArgs>, windowClosedEvent?: BasicApiEvent<IEventArgs>, linkTypeEditable?: boolean): Promise<void>;
|
|
28
35
|
componentDidMount(): void;
|
|
29
36
|
loadLayout(): Promise<void>;
|
|
30
37
|
private onCancel;
|
|
31
38
|
private attachRoot;
|
|
32
39
|
DialogBox:
|
|
33
40
|
import("styled-components").StyledComponent<(props:
|
|
34
|
-
import("C:/
|
|
41
|
+
import("C:/dev/WebClient/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
35
42
|
close(): void;
|
|
43
|
+
onMaximize: () => void;
|
|
36
44
|
render(): JSX.Element;
|
|
37
45
|
}
|
|
38
46
|
export {};
|
|
@@ -4,11 +4,11 @@ import { $CardId } from '@docsvision/webclient/System/LayoutServices';
|
|
|
4
4
|
import { $LayoutFileController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
5
5
|
import { $FileService } from '@docsvision/webclient/System/$FileService';
|
|
6
6
|
import { FileListControlLogic } from '@docsvision/webclient/BackOffice/FileListControlLogic';
|
|
7
|
-
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
7
|
+
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
8
8
|
export interface Props {
|
|
9
9
|
onClose: () => void;
|
|
10
10
|
fileItem: FileListItem;
|
|
11
|
-
services: $CardId & $LayoutFileController & $FileService & $ApplicationSettings;
|
|
11
|
+
services: $CardId & $LayoutFileController & $FileService & $ApplicationSettings & $DeviceType;
|
|
12
12
|
logic: FileListControlLogic;
|
|
13
13
|
}
|
|
14
14
|
export interface State {
|