@docsvision/webclient 5.17.0-beta.17 → 5.17.0-beta.19
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/Account/AddBackgroundMovementEffect.d.ts +2 -0
- package/Account/AuthBox.d.ts +11 -0
- package/Account/Authentication.d.ts +1 -0
- package/Account/Box.d.ts +7 -0
- package/Account/Button.d.ts +10 -0
- package/Account/ChangeMethodButton.d.ts +6 -0
- package/Account/ContactBox.d.ts +7 -0
- package/Account/ErrorBlock.d.ts +7 -0
- package/Account/Form.d.ts +11 -0
- package/Account/Greeting.d.ts +7 -0
- package/Account/Input.d.ts +15 -0
- package/Account/Login.stories.d.ts +12 -0
- package/Account/LoginContainer.d.ts +46 -0
- package/Account/LoginError.d.ts +11 -0
- package/Account/LoginExtensionManager.d.ts +3 -0
- package/Account/LoginInputsDivider.d.ts +5 -0
- package/Account/LoginLogic.d.ts +61 -0
- package/Account/LoginPage.d.ts +3 -0
- package/Account/Logo.d.ts +3 -0
- package/Account/ProviderButton.d.ts +9 -0
- package/Account/Providers.d.ts +8 -0
- package/Account/index.d.ts +100 -0
- package/Approval/AgreementStage.d.ts +1 -0
- package/BackOffice/AcknowledgementListButton.d.ts +2 -2
- package/BackOffice/AcknowledgementListContainer.d.ts +1 -1
- package/BackOffice/AuthenticationKinds.d.ts +23 -0
- package/BackOffice/AuthenticationKinds.stories.d.ts +10 -0
- package/BackOffice/AuthenticationKindsConstants.d.ts +1 -0
- package/BackOffice/AuthenticationKindsContainer.d.ts +8 -0
- package/BackOffice/AuthenticationKindsFrame.d.ts +6 -0
- package/BackOffice/AuthenticationKindsGetHeader.d.ts +6 -0
- package/BackOffice/AuthenticationKindsGetLabel.d.ts +6 -0
- package/BackOffice/AuthenticationKindsGetUseExtensionState.d.ts +7 -0
- package/BackOffice/AuthenticationKindsItem.d.ts +6 -0
- package/BackOffice/AuthenticationKindsList.d.ts +6 -0
- package/BackOffice/AuthenticationKindsLogic.d.ts +56 -0
- package/BackOffice/AuthenticationKindsModalDialog.d.ts +6 -0
- package/BackOffice/AuthenticationKindsNotEqualLogins.d.ts +8 -0
- package/BackOffice/AuthenticationKindsOptions.d.ts +30 -0
- package/BackOffice/AuthenticationKindsTextBox.d.ts +7 -0
- package/BackOffice/AuthenticationKindsUpdateLogin.d.ts +8 -0
- package/BackOffice/AuthenticationKindsUpdateUseExtension.d.ts +8 -0
- package/BackOffice/AuthenticationKindsView.d.ts +19 -0
- package/BackOffice/CardKindTreeNode.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/CommandMenuComponent.d.ts +1 -1
- package/BackOffice/CreateWindow.d.ts +1 -1
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +3 -2
- package/BackOffice/DirectoryDesignerTreeNode.d.ts +1 -1
- package/BackOffice/DirectoryFrame.d.ts +1 -1
- package/BackOffice/DirectoryRowCutSelection.d.ts +1 -1
- package/BackOffice/DirectoryRowIcon.d.ts +1 -1
- package/BackOffice/DirectoryRowSelection.d.ts +1 -1
- package/BackOffice/DirectorySearchBreadcrumbs.d.ts +1 -1
- package/BackOffice/DirectorySearchContainer.d.ts +1 -1
- package/BackOffice/DirectorySearchContent.d.ts +2 -2
- package/BackOffice/DirectorySearchCounter.d.ts +1 -1
- package/BackOffice/DirectorySearchInfo.d.ts +1 -1
- package/BackOffice/DirectorySearchResult.d.ts +1 -1
- package/BackOffice/DirectorySearchResultList.d.ts +1 -1
- package/BackOffice/DirectorySearchResultView.d.ts +2 -2
- package/BackOffice/DirectorySplitter.d.ts +1 -1
- package/BackOffice/DirectoryTabContents.d.ts +1 -1
- package/BackOffice/DirectoryTabItem.d.ts +1 -1
- package/BackOffice/DirectoryTabPanel.d.ts +1 -1
- package/BackOffice/DirectoryTabsRoot.d.ts +1 -1
- package/BackOffice/DirectoryTreeAddButton.d.ts +1 -1
- package/BackOffice/DirectoryTreeContainer.d.ts +1 -1
- package/BackOffice/DirectoryTreeHScrollContainer.d.ts +1 -1
- package/BackOffice/DirectoryTreeIcon.d.ts +1 -1
- package/BackOffice/DirectoryTreeRow.d.ts +1 -1
- package/BackOffice/DirectoryTreeRowCancelButton.d.ts +1 -1
- package/BackOffice/DirectoryTreeRowName.d.ts +1 -1
- package/BackOffice/DirectoryTreeToggle.d.ts +1 -1
- package/BackOffice/DirectoryTreeWrapper.d.ts +1 -1
- package/BackOffice/DirectoryValuesAddButton.d.ts +1 -1
- package/BackOffice/DirectoryValuesContainer.d.ts +1 -1
- package/BackOffice/DirectoryValuesIcon.d.ts +1 -1
- package/BackOffice/DirectoryValuesLoading.d.ts +1 -1
- package/BackOffice/DirectoryValuesWrapper.d.ts +1 -1
- package/BackOffice/DisplayPerformersImpl.d.ts +1 -1
- package/BackOffice/EditWindow.d.ts +1 -1
- package/BackOffice/EmailButton.stories.d.ts +1 -1
- package/BackOffice/EmailButtonContainer.d.ts +1 -1
- package/BackOffice/EmailButtonFiles.d.ts +1 -1
- package/BackOffice/EmailButtonItem.d.ts +1 -1
- package/BackOffice/EmailButtonSelectedSize.d.ts +1 -1
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/EmployeesTabFrame.d.ts +1 -1
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/FileListBuiltInOperations.d.ts +1 -0
- package/BackOffice/FileListConstants.d.ts +3 -0
- package/BackOffice/FileListControl.d.ts +14 -0
- package/BackOffice/FileListControlImpl.d.ts +1 -1
- package/BackOffice/FileListControlLogic.d.ts +6 -6
- package/BackOffice/FileListItem.d.ts +1 -0
- package/BackOffice/FileListItemComponent.d.ts +3 -2
- package/BackOffice/FileListItemProps.d.ts +1 -0
- package/BackOffice/IExtraFileAddedArgs.d.ts +0 -2
- package/BackOffice/IExtraFileDeletedArgs.d.ts +0 -2
- package/BackOffice/IFileClickingArgs.d.ts +4 -0
- package/BackOffice/IFileMenuOpeningArgs.d.ts +0 -2
- package/BackOffice/IFileOpenedArgs.d.ts +0 -2
- package/BackOffice/IFileOpeningArgs.d.ts +0 -2
- package/BackOffice/IFilePreviewedArgs.d.ts +0 -2
- package/BackOffice/IFilePreviewingArgs.d.ts +0 -2
- package/BackOffice/IFileSignInteractionModel.d.ts +1 -0
- package/BackOffice/IFileSignUploadingArgs.d.ts +0 -2
- package/BackOffice/IFileVersionDownloadedArgs.d.ts +0 -2
- package/BackOffice/IFileVersionExpandingArgs.d.ts +4 -0
- package/BackOffice/IFileVersionUploadedArgs.d.ts +0 -2
- package/BackOffice/IFileVersionUploadingArgs.d.ts +0 -2
- package/BackOffice/IFileVisualizedArgs.d.ts +0 -2
- package/BackOffice/IFileVisualizingArgs.d.ts +0 -2
- package/BackOffice/ILinkEventArgs.d.ts +2 -4
- package/BackOffice/IMainFileAddedArgs.d.ts +0 -2
- package/BackOffice/IMainFileDeletedArgs.d.ts +0 -2
- package/BackOffice/IRowClickArgs.d.ts +0 -2
- package/BackOffice/ITaskDataModel.d.ts +4 -0
- package/BackOffice/ITaskListItemProps.d.ts +3 -2
- package/BackOffice/ITaskListProps.d.ts +2 -1
- package/BackOffice/ITaskRowClickEventArgs.d.ts +2 -3
- package/BackOffice/ITasksTableRow.d.ts +1 -0
- package/BackOffice/LinkItem.d.ts +1 -0
- package/BackOffice/Links.d.ts +13 -1
- package/BackOffice/LinksImpl.d.ts +3 -3
- package/BackOffice/NumeratorImpl.d.ts +1 -1
- package/BackOffice/OpenTaskInNewWindow.d.ts +1 -1
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerSelectDialog.d.ts +1 -0
- package/BackOffice/PrintButtonContainer.d.ts +1 -1
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/RemoveFromGroupIconGridPlugin.d.ts +1 -1
- package/BackOffice/SignatureButton.stories.d.ts +1 -1
- package/BackOffice/SignatureButtonComponent.d.ts +1 -1
- package/BackOffice/SignatureButtonMenu.d.ts +1 -1
- package/BackOffice/SignatureButtonMenuItem.d.ts +1 -1
- package/BackOffice/SignatureDialogFrame.d.ts +1 -1
- package/BackOffice/SignatureDialogMethods.d.ts +1 -1
- package/BackOffice/SignatureDialogNoPluginMessage.d.ts +1 -1
- package/BackOffice/SignatureDialogSettings.d.ts +1 -1
- package/BackOffice/SignatureMethodsSetup.stories.d.ts +1 -1
- package/BackOffice/SignatureMethodsSetupCertificateRow.d.ts +1 -1
- package/BackOffice/SignatureMethodsSetupCertificateTable.d.ts +1 -1
- package/BackOffice/SignatureMethodsSetupCloudLogin.d.ts +1 -1
- package/BackOffice/SignatureMethodsSetupFrame.d.ts +1 -1
- package/BackOffice/SignatureMethodsSetupNoPluginMessage.d.ts +1 -1
- package/BackOffice/StaffDirectory.d.ts +1 -1
- package/BackOffice/StaffDirectoryHead.d.ts +1 -1
- package/BackOffice/StaffDirectoryInfo.d.ts +1 -1
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +2 -1
- package/BackOffice/StaffDirectoryTreeAddButton.d.ts +1 -1
- package/BackOffice/TaskListComponent.d.ts +3 -2
- package/BackOffice/TaskListItemComponent.d.ts +1 -1
- package/BackOffice/Tasks.d.ts +10 -1
- package/BackOffice/TasksImpl.d.ts +2 -0
- package/BackOffice/TasksTable.d.ts +22 -0
- package/BackOffice/TasksTableContainer.d.ts +1 -1
- package/BackOffice/TasksTableLink.d.ts +0 -1
- package/BackOffice/TasksTableLogic.d.ts +17 -1
- package/BackOffice/TasksTableRow.d.ts +1 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/Generated/DocsVision.WebClient.Controllers.d.ts +33 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +302 -5
- package/Helpers/ArtPlayer/components/ArtPlayerContainer.d.ts +1 -1
- package/Helpers/ArtPlayer/components/ArtPlayerTimeCodes.d.ts +1 -1
- package/Helpers/ArtPlayer/components/ArtPlayerVideoPlayer.d.ts +1 -1
- package/Helpers/ComboBox/ComboBoxElement.d.ts +1 -1
- package/Helpers/ComboBox/ComboBoxTitle.d.ts +1 -1
- package/Helpers/ControlSelector/ControlSelector.d.ts +1 -1
- package/Helpers/CustomTree/CustomTreeNode.d.ts +1 -1
- package/Helpers/DVWebToolConnection/DVWebToolConnection.d.ts +7 -2
- package/Helpers/DropdownButton/components/DropdownMenu.d.ts +1 -1
- package/Helpers/DropdownButton/components/DropdownMenuItem.d.ts +1 -1
- package/Helpers/DropdownButton/components/DropdownMenuItemContent.d.ts +1 -1
- package/Helpers/MainMenu/{Item.d.ts → MainMenuItem.d.ts} +4 -4
- package/Helpers/SliderCheckBox/SliderCheckBox.d.ts +1 -1
- package/Helpers/Sortable/Sortable.d.ts +1 -1
- package/Helpers/TextInputDialog/Components/TextInputDialogFrame.d.ts +1 -1
- package/Helpers/TextInputDialog/Components/TextInputDialogModal.d.ts +1 -1
- package/Helpers/WithMemo.d.ts +2 -0
- package/Legacy/ApprovalFilePanel.d.ts +4 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Libs/CryptoPro/Crypto.d.ts +102 -0
- package/Libs/FileDrop/FileDrop.d.ts +49 -0
- package/MainBundle.d.ts +1 -0
- package/Platform/AccessListEntryRow.d.ts +1 -1
- package/Platform/AggregateItemCheckbox.d.ts +2 -2
- package/Platform/AggregatesApplyButtonPanel.d.ts +1 -1
- package/Platform/AggregatesGroup.d.ts +1 -1
- package/Platform/AggregatesListItem.d.ts +1 -1
- package/Platform/AggregatesNotAvailable.d.ts +1 -1
- package/Platform/AggregatesPanelHeader.d.ts +1 -1
- package/Platform/AggregatesTree.d.ts +1 -1
- package/Platform/ApprovalVisualizationArrows.d.ts +1 -1
- package/Platform/ApprovalVisualizationConditionList.d.ts +1 -1
- package/Platform/ApprovalVisualizationConditionOption.d.ts +1 -1
- package/Platform/ApprovalVisualizationContainer.d.ts +1 -1
- package/Platform/ApprovalVisualizationOptions.d.ts +1 -4
- package/Platform/ApprovalVisualizationView.d.ts +1 -1
- package/Platform/ApprovalVisualizationVisBlock.d.ts +2 -2
- package/Platform/ArchivedCardsPlugin.d.ts +1 -1
- package/Platform/BaseMainMenuItem.d.ts +1 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +5 -2
- package/Platform/ButtonPositionsSelection.d.ts +1 -1
- package/Platform/CardEditRouteTypeMapper.d.ts +1 -1
- package/Platform/CardLinkImpl.d.ts +1 -1
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/ClearButton.d.ts +1 -1
- package/Platform/ColorModeHandle.d.ts +5 -0
- package/Platform/CommentFileImpl.d.ts +4 -1
- package/Platform/ConvertSearchValue.d.ts +1 -0
- package/Platform/CreateApexChartInstance.d.ts +7 -0
- package/Platform/CreateDiagramParams.d.ts +21 -0
- package/Platform/CreateFolderRequestModel.d.ts +3 -0
- package/Platform/CreateSearchRequestModel.d.ts +3 -0
- package/Platform/CryptoProInfo.d.ts +4 -4
- package/Platform/DVWebToolInfo.d.ts +4 -4
- package/Platform/DateInput.d.ts +1 -1
- package/Platform/DeleteBatchOperationImpl.d.ts +1 -1
- package/Platform/DepartmentRowEditRouteTypeMapper.d.ts +1 -4
- package/Platform/DepartmentRowViewRouteTypeMapper.d.ts +1 -4
- package/Platform/Diagram.d.ts +19 -0
- package/Platform/Diagram.stories.d.ts +11 -0
- package/Platform/DiagramChart.d.ts +7 -0
- package/Platform/DiagramConstants.d.ts +12 -0
- package/Platform/DiagramContainer.d.ts +7 -0
- package/Platform/DiagramLoader.d.ts +8 -0
- package/Platform/DiagramLogic.d.ts +74 -0
- package/Platform/DiagramOptions.d.ts +54 -0
- package/Platform/DiagramQueryParams.d.ts +10 -0
- package/Platform/DiagramUtils.d.ts +12 -0
- package/Platform/DiagramView.d.ts +10 -0
- package/Platform/DiagramWrapper.d.ts +5 -0
- package/Platform/DownloadFilesBatchOperationImpl.d.ts +1 -1
- package/Platform/Dropdown.stories.d.ts +1 -1
- package/Platform/ExistingRowRouteNames.d.ts +2 -2
- package/Platform/FilePreviewImpl.d.ts +3 -1
- package/Platform/FilterBoolean.d.ts +6 -0
- package/Platform/FilterDate.d.ts +2 -2
- package/Platform/FilterDateRangePicker.d.ts +1 -1
- package/Platform/FocusableTextInput.d.ts +1 -1
- package/Platform/FolderGrid.d.ts +1 -1
- package/Platform/FolderHelpDialog.d.ts +1 -1
- package/Platform/FolderMainMenuItem.d.ts +2 -1
- package/Platform/FolderMainMenuItemImpl.d.ts +1 -0
- package/Platform/FolderOperationManager.d.ts +1 -1
- package/Platform/FolderSizePlugin.d.ts +1 -1
- package/Platform/FolderTypeDialog.d.ts +1 -1
- package/Platform/FolderViewItemsImpl.d.ts +6 -4
- package/Platform/FormatSearchQueryParams.d.ts +2 -0
- package/Platform/GetDiagramType.d.ts +6 -0
- package/Platform/GroupMainMenuItemImpl.d.ts +1 -0
- package/Platform/IDiagramModels.d.ts +129 -0
- package/Platform/InputWithMask.d.ts +1 -1
- package/Platform/LayoutIconButtonImpl.d.ts +1 -1
- package/Platform/ListCheckbox.d.ts +2 -2
- package/Platform/ListContent.d.ts +1 -1
- package/Platform/ListContentHightlight.d.ts +1 -1
- package/Platform/ListEmpty.d.ts +1 -1
- package/Platform/ListEmptySearchIcon.d.ts +1 -1
- package/Platform/ListInput.d.ts +2 -2
- package/Platform/ListItem.d.ts +1 -1
- package/Platform/ListLoading.d.ts +1 -1
- package/Platform/ListSearchIcon.d.ts +1 -1
- package/Platform/ListSlot.d.ts +1 -1
- package/Platform/ListTotalItem.d.ts +1 -1
- package/Platform/LoadApexLibrary.d.ts +1 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/MasterGroupMainMenuItemImpl.d.ts +1 -0
- package/Platform/NewCardRouteTypeMapper.d.ts +5 -5
- package/Platform/NewDepartmentRowRouteTypeMapper.d.ts +1 -7
- package/Platform/NewOrganizationRowRouteTypeMapper.d.ts +1 -7
- package/Platform/NewRowRouteTypeMapper.d.ts +4 -4
- package/Platform/OrganizationRowEditRouteTypeMapper.d.ts +1 -4
- package/Platform/OrganizationRowViewRouteTypeMapper.d.ts +1 -4
- package/Platform/ParseModel.d.ts +4 -0
- package/Platform/QueryCondition.stories.d.ts +5 -0
- package/Platform/Quotes.d.ts +1 -1
- package/Platform/QuotesButtonMore.d.ts +1 -1
- package/Platform/QuotesHighlight.d.ts +1 -1
- package/Platform/QuotesItem.d.ts +1 -1
- package/Platform/QuotesModal.d.ts +1 -1
- package/Platform/QuotesModalButtonBlock.d.ts +1 -1
- package/Platform/QuotesModalQuote.d.ts +1 -1
- package/Platform/QuotesWrapper.d.ts +1 -1
- package/Platform/ResetSettings.d.ts +7 -6
- package/Platform/RotateDirection.d.ts +3 -1
- package/Platform/RowEditRouteTypeMapper.d.ts +2 -2
- package/Platform/RowViewRouteTypeMapper.d.ts +0 -3
- package/Platform/ScanDialogService.d.ts +1 -1
- package/Platform/SearchTextInput.d.ts +2 -2
- package/Platform/SecurityDescriptorDialog.d.ts +2 -2
- package/Platform/SecurityDialogFrame.d.ts +1 -1
- package/Platform/SettingsPopup.d.ts +1 -1
- package/Platform/SettingsPopupCheckBoxContainer.d.ts +1 -1
- package/Platform/SettingsPopupColumn.d.ts +1 -1
- package/Platform/SettingsPopupItemView.d.ts +1 -1
- package/Platform/SettingsPopupRow.d.ts +1 -1
- package/Platform/ShowAllButton.d.ts +1 -1
- package/Platform/Strategies.d.ts +23 -0
- package/Platform/TableCellNumberRightAlignPlugin.d.ts +1 -1
- package/Platform/TableRowColorPlugin.d.ts +1 -1
- package/Platform/TextAreaImpl.d.ts +1 -0
- package/Platform/TextListInputView.d.ts +3 -3
- package/Platform/TextListInputWrapper.d.ts +1 -1
- package/Platform/ToolbarDaughterControlImpl.d.ts +1 -1
- package/Platform/TransformToChartData.d.ts +6 -0
- package/Platform/UnreadBarTablePlugins.d.ts +1 -1
- package/Platform/UnreadCounter.d.ts +3 -1
- package/Platform/UserCulture.d.ts +4 -4
- package/Platform/UserFoldersMainMenuItemImpl.d.ts +1 -0
- package/Platform/UserProfileDialog.d.ts +2 -1
- package/Platform/WebFrameHelpButton.stories.d.ts +1 -1
- package/Platform/WebFrameNavigationBar.stories.d.ts +1 -1
- package/Platform/WebFrameSearchPanel.stories.d.ts +1 -1
- package/Platform/WebFrameUserPanel.stories.d.ts +1 -1
- package/StandardServices.d.ts +2 -1
- package/System/$FolderColors.d.ts +25 -0
- package/System/BaseControlImpl.d.ts +1 -1
- package/System/DataGridControl.d.ts +1 -1
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/FolderColorsService.d.ts +11 -0
- package/System/GridModelStub.d.ts +26 -0
- package/System/IWebServicesRequest.d.ts +2 -0
- package/System/InputBasedControlImpl.d.ts +1 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/Poll.d.ts +1 -1
- package/System/PollService.d.ts +1 -1
- package/System/ResourcesStub.d.ts +3 -0
- package/System/StringUtils.d.ts +1 -1
- package/package.json +1 -1
- package/BackOffice/IFileListRow.d.ts +0 -4
- package/BackOffice/ILinkRow.d.ts +0 -3
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export interface IAuthBox {
|
|
4
|
+
renderContent(): JSX.Element;
|
|
5
|
+
logo: React.JSXElementConstructor<unknown>;
|
|
6
|
+
box: React.JSXElementConstructor<{
|
|
7
|
+
error: boolean;
|
|
8
|
+
children: React.ReactElement;
|
|
9
|
+
}>;
|
|
10
|
+
}
|
|
11
|
+
export declare function AuthBox({ renderContent, logo: Logo, box: Box }: IAuthBox): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/Account/Box.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export interface IButtonProps extends React.ComponentProps<'button'> {
|
|
4
|
+
text: string;
|
|
5
|
+
handleClick?: (event: React.MouseEvent) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
type?: "button" | "submit" | "reset";
|
|
9
|
+
}
|
|
10
|
+
export declare function Button({ text, disabled, type, handleClick, loading }: IButtonProps): JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
|
|
3
|
+
export declare function Form({ disabled, onSubmit, loading, resources, renderInputs, button: Button, autoComplete }: {
|
|
4
|
+
disabled: any;
|
|
5
|
+
onSubmit: any;
|
|
6
|
+
loading: any;
|
|
7
|
+
resources: any;
|
|
8
|
+
renderInputs: any;
|
|
9
|
+
button: any;
|
|
10
|
+
autoComplete: any;
|
|
11
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
|
|
3
|
+
export interface IInputProps {
|
|
4
|
+
type?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
handleChange?(value: string): void;
|
|
7
|
+
value?: string;
|
|
8
|
+
autoComplete?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare enum InputType {
|
|
12
|
+
Text = "text",
|
|
13
|
+
Password = "password"
|
|
14
|
+
}
|
|
15
|
+
export declare function Input({ type: defaultType, placeholder, handleChange, value, autoComplete, name, }: IInputProps): JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { LoginPage } from './LoginPage';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof LoginPage;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: () => JSX.Element;
|
|
9
|
+
export declare const Extensions: () => JSX.Element;
|
|
10
|
+
export declare const UnknownError: () => JSX.Element;
|
|
11
|
+
export declare const Form: () => JSX.Element;
|
|
12
|
+
export declare const WrongPassword: () => JSX.Element;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AuthBox } from '@docsvision/webclient/Account/Components/AuthBox';
|
|
2
|
+
import { LoginError } from '@docsvision/webclient/Account/Components/LoginError';
|
|
3
|
+
import { LoginLogic } from '@docsvision/webclient/Account/LoginLogic';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { AutoCompleteOptions, ILoginExtensionManager } from '@docsvision/webclient/Account/';
|
|
6
|
+
import { ErrorBlock } from '@docsvision/webclient/Account/Components/ErrorBlock';
|
|
7
|
+
import { Form } from '@docsvision/webclient/Account/Components/Form';
|
|
8
|
+
import { LoginInputsDivider } from '@docsvision/webclient/Account/Components/LoginInputsDivider';
|
|
9
|
+
import { ChangeMethodButton } from '@docsvision/webclient/Account/Components/ChangeMethodButton';
|
|
10
|
+
import { IComponentProps } from '@docsvision/web/core/component';
|
|
11
|
+
import { Box } from '@docsvision/webclient/Account/Components/Box';
|
|
12
|
+
export declare class LoginView {
|
|
13
|
+
form: typeof Form;
|
|
14
|
+
changeMethodButton: typeof ChangeMethodButton;
|
|
15
|
+
divider: typeof LoginInputsDivider;
|
|
16
|
+
errorBox: typeof LoginError;
|
|
17
|
+
errorBlock: typeof ErrorBlock;
|
|
18
|
+
authBox: typeof AuthBox;
|
|
19
|
+
box: typeof Box;
|
|
20
|
+
greeting: React.NamedExoticComponent<
|
|
21
|
+
import("./Components/Greeting").IGreetingProps>;
|
|
22
|
+
providers: React.NamedExoticComponent<
|
|
23
|
+
import("./Components/Providers").IProvidersProps>;
|
|
24
|
+
contactBox: React.NamedExoticComponent<
|
|
25
|
+
import("./Components/ContactBox").IContactBoxProps>;
|
|
26
|
+
providerButton: React.NamedExoticComponent<
|
|
27
|
+
import("./Components/ProviderButton").IProviderButtonProps>;
|
|
28
|
+
logo: React.NamedExoticComponent<Record<string, any>>;
|
|
29
|
+
input: React.NamedExoticComponent<
|
|
30
|
+
import("./Components/Input").IInputProps>;
|
|
31
|
+
button: React.NamedExoticComponent<
|
|
32
|
+
import("./Components/Button").IButtonProps>;
|
|
33
|
+
authBoxBefore: (logic: LoginLogic) => React.ReactElement;
|
|
34
|
+
authBoxAfter: (logic: LoginLogic) => React.ReactElement;
|
|
35
|
+
formBefore: (logic: LoginLogic) => React.ReactElement;
|
|
36
|
+
formAfter: (logic: LoginLogic) => React.ReactElement;
|
|
37
|
+
providersBefore: (logic: LoginLogic) => React.ReactElement;
|
|
38
|
+
providersAfter: (logic: LoginLogic) => React.ReactElement;
|
|
39
|
+
}
|
|
40
|
+
export interface ILoginContainerProps extends IComponentProps<LoginLogic, LoginView> {
|
|
41
|
+
options?: ILoginExtensionManager;
|
|
42
|
+
}
|
|
43
|
+
export declare function LoginContainer(props: ILoginContainerProps): JSX.Element;
|
|
44
|
+
export declare function renderInputs(logic: LoginLogic, view: LoginView, resources: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
}, hideLoginInput: boolean, autocompleteOptions: AutoCompleteOptions): JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ILoginErrorProps {
|
|
4
|
+
resources: object;
|
|
5
|
+
onClose: (event: React.MouseEvent) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function LoginError({ resources, onClose, changeStateButton: Button }: {
|
|
8
|
+
resources: any;
|
|
9
|
+
onClose: any;
|
|
10
|
+
changeStateButton: any;
|
|
11
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { FormType, ILoginProvider } from "@docsvision/webclient/Account/";
|
|
2
|
+
import { ComponentLogic } from "@docsvision/web/core/component";
|
|
3
|
+
export declare const defaultNumberOfProviders = 1;
|
|
4
|
+
export declare class LoginLogic extends ComponentLogic {
|
|
5
|
+
domain:
|
|
6
|
+
import("effector").Domain;
|
|
7
|
+
setUser:
|
|
8
|
+
import("effector").Event<string>;
|
|
9
|
+
$user:
|
|
10
|
+
import("effector").Store<string>;
|
|
11
|
+
$userAccount:
|
|
12
|
+
import("effector").Store<string>;
|
|
13
|
+
site: string;
|
|
14
|
+
origin: string;
|
|
15
|
+
returnUrl: string;
|
|
16
|
+
onChangeUserName:
|
|
17
|
+
import("effector").Event<string>;
|
|
18
|
+
onChangePassword:
|
|
19
|
+
import("effector").Event<string>;
|
|
20
|
+
$userName:
|
|
21
|
+
import("effector").Store<string>;
|
|
22
|
+
$password:
|
|
23
|
+
import("effector").Store<string>;
|
|
24
|
+
$providers:
|
|
25
|
+
import("effector").Store<ILoginProvider[]>;
|
|
26
|
+
$userProviders:
|
|
27
|
+
import("effector").Store<ILoginProvider[]>;
|
|
28
|
+
setError:
|
|
29
|
+
import("effector").Event<string>;
|
|
30
|
+
$error:
|
|
31
|
+
import("effector").Store<string>;
|
|
32
|
+
setFormType:
|
|
33
|
+
import("effector").Event<FormType>;
|
|
34
|
+
$formType:
|
|
35
|
+
import("effector").Store<FormType>;
|
|
36
|
+
setLoading:
|
|
37
|
+
import("effector").Event<boolean>;
|
|
38
|
+
$formSubmitLoading:
|
|
39
|
+
import("effector").Store<boolean>;
|
|
40
|
+
$currentAuthenticationExtensionId:
|
|
41
|
+
import("effector").Store<string>;
|
|
42
|
+
$formDisabled:
|
|
43
|
+
import("effector").Store<boolean>;
|
|
44
|
+
$providersUpdate:
|
|
45
|
+
import("effector").Store<[ILoginProvider[], ILoginProvider[]]>;
|
|
46
|
+
constructor();
|
|
47
|
+
submitForm:
|
|
48
|
+
import("effector").Effect<unknown, any, Error>;
|
|
49
|
+
getProviders:
|
|
50
|
+
import("effector").Effect<unknown, {
|
|
51
|
+
currentAuthenticationExtensionId: any;
|
|
52
|
+
userAccount: any;
|
|
53
|
+
userName: any;
|
|
54
|
+
userAuthenticationExtensions: any[];
|
|
55
|
+
authenticationExtensionModels: any[];
|
|
56
|
+
}, Error>;
|
|
57
|
+
handleContactClick: (e: MouseEvent) => void;
|
|
58
|
+
getNumberOfProvidersFromStorage(): number;
|
|
59
|
+
getProvidersList(): ILoginProvider[];
|
|
60
|
+
init(): void;
|
|
61
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { LoginView } from "@docsvision/webclient/Account/LoginContainer";
|
|
3
|
+
import { LoginLogic } from "@docsvision/webclient/Account/LoginLogic";
|
|
4
|
+
export declare enum FormType {
|
|
5
|
+
FormAndProviders = 0,
|
|
6
|
+
Form = 1,
|
|
7
|
+
Providers = 2,
|
|
8
|
+
Error = 3,
|
|
9
|
+
Loading = 4
|
|
10
|
+
}
|
|
11
|
+
export interface ILoginProvider {
|
|
12
|
+
description: string;
|
|
13
|
+
id: string;
|
|
14
|
+
logo: string;
|
|
15
|
+
name: string;
|
|
16
|
+
supportedModes: string[];
|
|
17
|
+
supportedTypes: string[];
|
|
18
|
+
url: string;
|
|
19
|
+
}
|
|
20
|
+
export declare type EventParameters = {
|
|
21
|
+
logic: LoginLogic;
|
|
22
|
+
data: FormData;
|
|
23
|
+
} | {
|
|
24
|
+
loginPageRef: React.RefObject<HTMLDivElement>;
|
|
25
|
+
} | {
|
|
26
|
+
logic: LoginLogic;
|
|
27
|
+
} | {
|
|
28
|
+
loginPageRef: React.RefObject<HTMLDivElement>;
|
|
29
|
+
} | {
|
|
30
|
+
logic: LoginLogic;
|
|
31
|
+
body: object;
|
|
32
|
+
} | {
|
|
33
|
+
logic: LoginLogic;
|
|
34
|
+
view: LoginView;
|
|
35
|
+
};
|
|
36
|
+
export interface ILoginPlugin {
|
|
37
|
+
name?: string;
|
|
38
|
+
order?: number;
|
|
39
|
+
fn: (data: EventParameters) => boolean | void | Promise<boolean | void>;
|
|
40
|
+
eventName: LoginEvents;
|
|
41
|
+
}
|
|
42
|
+
export declare type AutoCompleteOptions = Partial<{
|
|
43
|
+
login: string;
|
|
44
|
+
password: string;
|
|
45
|
+
form: string;
|
|
46
|
+
}>;
|
|
47
|
+
export declare enum LoginEvents {
|
|
48
|
+
LogicEventConstructor = "LogicEventConstructor",
|
|
49
|
+
LogicEventBeforeFormSubmit = "LogicEventBeforeFormSubmit",
|
|
50
|
+
LogicEventAfterFormSubmit = "LogicEventAfterFormSubmit",
|
|
51
|
+
LogicEventBeforeGetProviders = "LogicEventBeforeGetProviders",
|
|
52
|
+
LogicEventAfterGetProviders = "LogicEventAfterGetProviders",
|
|
53
|
+
EventLoginPageUseEffect = "EventLoginPageUseEffect",
|
|
54
|
+
EventContainerUseEffect = "EventContainerUseEffect"
|
|
55
|
+
}
|
|
56
|
+
export interface ILoginExtensionManager {
|
|
57
|
+
currentLocale: string;
|
|
58
|
+
getResources?: () => {
|
|
59
|
+
[key: string]: string;
|
|
60
|
+
};
|
|
61
|
+
setResources?: (resources: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
}) => void;
|
|
64
|
+
addPlugin: (plugin: ILoginPlugin) => void;
|
|
65
|
+
addPlugins: (plugins: ILoginPlugin[]) => void;
|
|
66
|
+
removePlugin: (name: string) => void;
|
|
67
|
+
onSetupView: (view: LoginView) => void;
|
|
68
|
+
logicEventConstructor: (data: {
|
|
69
|
+
logic: LoginLogic;
|
|
70
|
+
}) => boolean | void;
|
|
71
|
+
logicEventBeforeFormSubmit: (data: {
|
|
72
|
+
logic: LoginLogic;
|
|
73
|
+
data: FormData;
|
|
74
|
+
}) => Promise<boolean | void>;
|
|
75
|
+
logicEventAfterFormSubmit: (data: {
|
|
76
|
+
logic: LoginLogic;
|
|
77
|
+
data: object;
|
|
78
|
+
}) => Promise<boolean | void>;
|
|
79
|
+
eventContainerUseEffect: (data: {
|
|
80
|
+
logic: LoginLogic;
|
|
81
|
+
view: LoginView;
|
|
82
|
+
}) => Promise<boolean | void>;
|
|
83
|
+
logicEventBeforeGetProviders: (data: {
|
|
84
|
+
logic: LoginLogic;
|
|
85
|
+
data: {
|
|
86
|
+
body: string;
|
|
87
|
+
};
|
|
88
|
+
}) => Promise<boolean | void>;
|
|
89
|
+
logicEventAfterGetProviders: (data: {
|
|
90
|
+
logic: LoginLogic;
|
|
91
|
+
data: object;
|
|
92
|
+
}) => Promise<boolean | void>;
|
|
93
|
+
eventLoginPageUseEffect: (data: {
|
|
94
|
+
loginPageRef: React.RefObject<HTMLDivElement>;
|
|
95
|
+
}) => Promise<boolean | void>;
|
|
96
|
+
}
|
|
97
|
+
export declare type LoginExtensionManager = {
|
|
98
|
+
loginExtensionManager: ILoginExtensionManager;
|
|
99
|
+
};
|
|
100
|
+
export declare type windowWithLoginExtensionManager = Window & typeof globalThis & LoginExtensionManager;
|
|
@@ -17,6 +17,7 @@ export declare class AgreementStage extends React.Component<AgreementStageProps,
|
|
|
17
17
|
[key: number]: string;
|
|
18
18
|
};
|
|
19
19
|
constructor(props: AgreementStageProps);
|
|
20
|
+
componentDidUpdate(prevProps: any): void;
|
|
20
21
|
onToggleClick(ev: React.MouseEvent<any>): void;
|
|
21
22
|
onStageCheckChange(val: boolean): void;
|
|
22
23
|
onDeleteApproverClick(id: string): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonProps } from '@docsvision/web/components/form/button';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
|
|
4
|
+
|
|
5
5
|
export declare function AcknowledgementListButton(props: ButtonProps): JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AcknowledgementListLogic } from '@docsvision/webclient/BackOffice/AcknowledgementListLogic';
|
|
3
3
|
import { AcknowledgementListView } from '@docsvision/webclient/BackOffice/AcknowledgementListView';
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
export declare function AcknowledgementListContainer(props: {
|
|
6
6
|
logic: AcknowledgementListLogic;
|
|
7
7
|
view: AcknowledgementListView;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseControl } from "@docsvision/webclient/System/BaseControl";
|
|
3
|
+
import { AuthenticationKindsView } from "@docsvision/webclient/BackOffice/AuthenticationKindsView";
|
|
4
|
+
import { AuthenticationKindsLogic } from "@docsvision/webclient/BackOffice/AuthenticationKindsLogic";
|
|
5
|
+
import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
|
|
6
|
+
import { BaseControlImplState } from "@docsvision/webclient/System/BaseControlImpl";
|
|
7
|
+
import { AuthenticationKindsParams } from "@docsvision/webclient/BackOffice/AuthenticationKindsOptions";
|
|
8
|
+
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
9
|
+
export interface IAuthenticationKindsState extends BaseControlImplState, AuthenticationKindsParams {
|
|
10
|
+
logic: AuthenticationKindsLogic;
|
|
11
|
+
view: AuthenticationKindsView;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Класс элемента управления AuthenticationKinds.
|
|
15
|
+
*/
|
|
16
|
+
export declare class AuthenticationKinds extends BaseControl<AuthenticationKindsParams, IAuthenticationKindsState> {
|
|
17
|
+
construct(): void;
|
|
18
|
+
protected createParams(): AuthenticationKindsParams;
|
|
19
|
+
protected createImpl(): ControlImpl;
|
|
20
|
+
private set setBinding(value);
|
|
21
|
+
getBindings(): IBindingResult<any>[];
|
|
22
|
+
renderControl(): JSX.Element;
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AuthenticationKinds } from '@docsvision/webclient/BackOffice/AuthenticationKinds';
|
|
3
|
+
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof AuthenticationKinds;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: () => JSX.Element;
|
|
10
|
+
export declare const ModalDialog: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AUTH_KINDS_EMPLOYEE_SECTION_ID = "dbc8ae9d-c1d2-4d5e-978b-339d22b32482";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AuthenticationKindsLogic } from "@docsvision/webclient/BackOffice/AuthenticationKindsLogic";
|
|
3
|
+
import { AuthenticationKindsView } from "@docsvision/webclient/BackOffice/AuthenticationKindsView";
|
|
4
|
+
|
|
5
|
+
export declare function AuthenticationKindsContainer(props: {
|
|
6
|
+
logic: AuthenticationKindsLogic;
|
|
7
|
+
view: AuthenticationKindsView;
|
|
8
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
3
|
+
|
|
4
|
+
export interface IAuthenticationKindsFrameProps extends HtmlProps.div {
|
|
5
|
+
}
|
|
6
|
+
export declare function AuthenticationKindsFrame(props: IAuthenticationKindsFrameProps): JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
/**
|
|
3
|
+
* @param kind способ аутентификации
|
|
4
|
+
* @returns возвращает заголовок модального окна
|
|
5
|
+
*/
|
|
6
|
+
export declare function authenticationKindsGetHeader(kind: GenModels.AuthenticationKindsModel): string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
/**
|
|
3
|
+
* @param kind способ аутентификации
|
|
4
|
+
* @returns возвращает название расширения и логин
|
|
5
|
+
*/
|
|
6
|
+
export declare function authenticationKindsGetLabel(kind: GenModels.AuthenticationKindsModel): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { EditMode } from "@docsvision/webclient/System/EditMode";
|
|
3
|
+
/**
|
|
4
|
+
* @param kind способ аутентификации
|
|
5
|
+
* @param editMode режим редактирования
|
|
6
|
+
*/
|
|
7
|
+
export declare function authenticationKindsGetUseExtensionState(kind: GenModels.AuthenticationKindsModel, editMode: EditMode): boolean;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
3
|
+
|
|
4
|
+
export interface IAuthenticationKindsItemProps extends HtmlProps.li {
|
|
5
|
+
}
|
|
6
|
+
export declare function AuthenticationKindsItem(props: IAuthenticationKindsItemProps): JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
3
|
+
|
|
4
|
+
export interface IAuthenticationKindsListProps extends HtmlProps.ul {
|
|
5
|
+
}
|
|
6
|
+
export declare function AuthenticationKindsList(props: IAuthenticationKindsListProps): JSX.Element;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { AuthenticationKindsParams } from "@docsvision/webclient/BackOffice/AuthenticationKindsOptions";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
+
import { IBindingResult } from "@docsvision/webclient/System/IBindingResult";
|
|
4
|
+
export declare class AuthenticationKindsLogic {
|
|
5
|
+
options: AuthenticationKindsParams;
|
|
6
|
+
constructor(options: AuthenticationKindsParams);
|
|
7
|
+
domain:
|
|
8
|
+
import("effector").Domain;
|
|
9
|
+
$kinds:
|
|
10
|
+
import("effector").Store<GenModels.AuthenticationKindsModel[]>;
|
|
11
|
+
setKinds:
|
|
12
|
+
import("effector").Event<GenModels.AuthenticationKindsModel[]>;
|
|
13
|
+
useExtensionChange:
|
|
14
|
+
import("effector").Event<{
|
|
15
|
+
value: boolean;
|
|
16
|
+
kind: GenModels.AuthenticationKindsModel;
|
|
17
|
+
}>;
|
|
18
|
+
$selectedKind:
|
|
19
|
+
import("effector").Store<GenModels.AuthenticationKindsModel>;
|
|
20
|
+
setSelectedKind:
|
|
21
|
+
import("effector").Event<GenModels.AuthenticationKindsModel>;
|
|
22
|
+
loginChangeKind:
|
|
23
|
+
import("effector").Event<string>;
|
|
24
|
+
loginChanged:
|
|
25
|
+
import("effector").Event<{
|
|
26
|
+
kinds: GenModels.AuthenticationKindsModel[];
|
|
27
|
+
selectedKind: GenModels.AuthenticationKindsModel;
|
|
28
|
+
}>;
|
|
29
|
+
loginCheckExist:
|
|
30
|
+
import("effector").Event<GenModels.AuthenticationKindsModel>;
|
|
31
|
+
$isOpen:
|
|
32
|
+
import("effector").Store<boolean>;
|
|
33
|
+
setOpen:
|
|
34
|
+
import("effector").Event<boolean>;
|
|
35
|
+
$isExist:
|
|
36
|
+
import("effector").Store<boolean>;
|
|
37
|
+
$binding:
|
|
38
|
+
import("effector").Store<IBindingResult<GenModels.AuthenticationKindsModel[]>>;
|
|
39
|
+
setBinding:
|
|
40
|
+
import("effector").Event<IBindingResult<GenModels.AuthenticationKindsModel[]>>;
|
|
41
|
+
saveFx:
|
|
42
|
+
import("effector").Effect<GenModels.AuthenticationKindsModel[], GenModels.AuthenticationKindsModel[], void>;
|
|
43
|
+
loginCheckExistFx:
|
|
44
|
+
import("effector").Effect<GenModels.AuthenticationKindsModel, boolean, Error>;
|
|
45
|
+
$isLoadingSave:
|
|
46
|
+
import("effector").Store<boolean>;
|
|
47
|
+
$isLoadingCheckExist:
|
|
48
|
+
import("effector").Store<boolean>;
|
|
49
|
+
$isAccess:
|
|
50
|
+
import("effector").Store<boolean>;
|
|
51
|
+
checkAccess:
|
|
52
|
+
import("effector").Event<void>;
|
|
53
|
+
checkAccessFx:
|
|
54
|
+
import("effector").Effect<void, boolean, Error>;
|
|
55
|
+
init(): void;
|
|
56
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ModalDialogProps } from "@docsvision/web/components/modals/modal-dialog";
|
|
3
|
+
|
|
4
|
+
export interface IAuthenticationKindsModalDialogProps extends ModalDialogProps {
|
|
5
|
+
}
|
|
6
|
+
export declare function AuthenticationKindsModalDialog(props: IAuthenticationKindsModalDialogProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
/**
|
|
3
|
+
* проверка на равенство логинов
|
|
4
|
+
*/
|
|
5
|
+
export declare function authenticationKindsNotEqualLogins({ kinds, selectedKind }: {
|
|
6
|
+
kinds: GenModels.AuthenticationKindsModel[];
|
|
7
|
+
selectedKind: GenModels.AuthenticationKindsModel;
|
|
8
|
+
}): boolean;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
2
|
+
import { AuthenticationKindsLogic } from "@docsvision/webclient/BackOffice/AuthenticationKindsLogic";
|
|
3
|
+
import { AuthenticationKindsView } from "@docsvision/webclient/BackOffice/AuthenticationKindsView";
|
|
4
|
+
import { IControlOptions } from "@docsvision/webclient/System/IControlOptions";
|
|
5
|
+
import { Optional } from "@docsvision/web/core/services";
|
|
6
|
+
import { EditMode } from "@docsvision/webclient/System/EditMode";
|
|
7
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
8
|
+
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
9
|
+
import { $AuthenticationKindsController, $SecurityController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
10
|
+
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
11
|
+
import { $RowInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
12
|
+
import { $CurrentEmployeeId } from "@docsvision/webclient/StandardServices";
|
|
13
|
+
/**
|
|
14
|
+
* Содержит публичные свойства элемента управления [AuthenticationKinds]{@link AuthenticationKinds}.
|
|
15
|
+
*/
|
|
16
|
+
export declare class AuthenticationKindsParams extends BaseControlParams {
|
|
17
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
18
|
+
standardCssClass?: string;
|
|
19
|
+
/** Режим редактирования */
|
|
20
|
+
editMode?: EditMode;
|
|
21
|
+
/** Подсказка */
|
|
22
|
+
tip?: string;
|
|
23
|
+
/** Список способов аутентификации для сотрудника */
|
|
24
|
+
kinds: GenModels.AuthenticationKindsModel[];
|
|
25
|
+
services: Optional<$AuthenticationKindsOptions> & $Layout & $AuthenticationKindsController & $LocalStorage & $RowInfo & $SecurityController & $CurrentEmployeeId;
|
|
26
|
+
}
|
|
27
|
+
export declare type $AuthenticationKindsOptions = {
|
|
28
|
+
AuthenticationKindsOptions: IControlOptions<AuthenticationKindsParams, AuthenticationKindsLogic, AuthenticationKindsView>;
|
|
29
|
+
};
|
|
30
|
+
export declare const $AuthenticationKindsOptions: string | ((model?: $AuthenticationKindsOptions) => IControlOptions<AuthenticationKindsParams, AuthenticationKindsLogic, AuthenticationKindsView>);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TextBoxParams } from "@docsvision/webclient/Platform/TextBox";
|
|
3
|
+
|
|
4
|
+
export interface IAuthenticationKindsTextBoxProps extends TextBoxParams {
|
|
5
|
+
isLoginExist: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function AuthenticationKindsTextBox(props: IAuthenticationKindsTextBoxProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
/**
|
|
3
|
+
* @returns новое состояние способов аутентификации
|
|
4
|
+
*/
|
|
5
|
+
export declare function authenticationKindsUpdateLogin({ kinds, selectedKind }: {
|
|
6
|
+
kinds: GenModels.AuthenticationKindsModel[];
|
|
7
|
+
selectedKind: GenModels.AuthenticationKindsModel;
|
|
8
|
+
}): GenModels.AuthenticationKindsModel[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
/**
|
|
3
|
+
* @returns новое состояние способов аутентификации
|
|
4
|
+
*/
|
|
5
|
+
export declare function authenticationKindsUpdateUseExtension(kinds: GenModels.AuthenticationKindsModel[], { value, kind: selectedKind }: {
|
|
6
|
+
value: boolean;
|
|
7
|
+
kind: GenModels.AuthenticationKindsModel;
|
|
8
|
+
}): GenModels.AuthenticationKindsModel[];
|