@docsvision/webclient 5.16.0-beta.2 → 5.16.0-beta.5
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/Application.d.ts +4 -0
- package/Approval/AgreementList.d.ts +2 -2
- package/Approval/AgreementListContent.d.ts +1 -0
- package/Approval/AgreementManagement.d.ts +3 -2
- package/Approval/AgreementStageProps.d.ts +3 -2
- package/Approval/IAgreementListContentProps.d.ts +2 -0
- package/BackOffice/$SelectionRow.d.ts +2 -1
- package/BackOffice/$WebFrameDirectorySearchInfoStorageService.d.ts +8 -3
- package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +4 -1
- package/BackOffice/AddEmployeeIconColumn.d.ts +1 -0
- package/BackOffice/AddressImpl.d.ts +2 -0
- package/BackOffice/BatchDelegateOperation.d.ts +2 -1
- package/BackOffice/CardKindImpl.d.ts +1 -1
- package/BackOffice/CardKindTreeNode.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ColumnSettingsDialog.d.ts +0 -2
- package/BackOffice/CommentsImpl.d.ts +1 -0
- package/BackOffice/DeleteShortcutBatchOperation.d.ts +24 -0
- package/BackOffice/DeleteShortcutBatchOperationImpl.d.ts +20 -0
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DirectoryDesignerRow.d.ts +3 -0
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +11 -0
- package/BackOffice/DirectoryDesignerRowSelectDialog.d.ts +1 -0
- package/BackOffice/DirectoryDesignerTreeNode.d.ts +7 -4
- package/BackOffice/DirectoryEntryModal.d.ts +3 -0
- package/BackOffice/DirectoryEntryModalLogic.d.ts +1 -0
- package/BackOffice/DirectoryFrame.d.ts +2 -0
- package/BackOffice/DirectorySearchContent.d.ts +1 -1
- package/BackOffice/DirectorySearchResult.d.ts +4 -3
- package/BackOffice/DirectorySearchResultLogic.d.ts +1 -0
- package/BackOffice/DirectorySearchResultView.d.ts +3 -2
- package/BackOffice/DirectoryTabs.d.ts +3 -0
- package/BackOffice/DirectoryTree.d.ts +5 -0
- package/BackOffice/DirectoryTreeHScrollContainer.d.ts +6 -0
- package/BackOffice/DirectoryTreeLogic.d.ts +1 -0
- package/BackOffice/DirectoryValues.d.ts +7 -5
- package/BackOffice/DirectoryValuesLogic.d.ts +1 -0
- package/BackOffice/DisplayPerformersImpl.d.ts +0 -2
- package/BackOffice/EmployeeImpl.d.ts +3 -1
- package/BackOffice/ExistingCardLinkDialog.d.ts +3 -2
- package/BackOffice/FileListControl.d.ts +8 -3
- package/BackOffice/FileListControlImpl.d.ts +10 -0
- package/BackOffice/FileListControlLogic.d.ts +2 -1
- package/BackOffice/FileListItemComponent.d.ts +6 -2
- package/BackOffice/FileSign.d.ts +11 -3
- package/BackOffice/FileSignCreateDialog.d.ts +7 -3
- package/BackOffice/FileSignInfoPopover.d.ts +27 -0
- package/BackOffice/FileSignListDialog.d.ts +9 -1
- package/BackOffice/FileSignSelectCertificateDialog.d.ts +4 -0
- package/BackOffice/FindStaffSection.d.ts +4 -1
- package/BackOffice/GetContextMenuNames.d.ts +2 -0
- package/BackOffice/GetEmployeeGroups.d.ts +1 -0
- package/BackOffice/GroupTaskCardSelectPerformersImpl.d.ts +3 -0
- package/BackOffice/GroupTaskTasksTreeNodeResolver.d.ts +2 -2
- package/BackOffice/IFileMenuItem.d.ts +14 -0
- package/BackOffice/IFileMenuOpeningArgs.d.ts +6 -0
- package/BackOffice/IFileSignInteractionModel.d.ts +4 -1
- package/BackOffice/ITasksTreeNodeResolver.d.ts +1 -0
- package/BackOffice/Index.d.ts +10 -1
- package/BackOffice/InfoPopover.d.ts +2 -0
- package/BackOffice/LinksImpl.d.ts +1 -0
- package/BackOffice/LoadEmployees.d.ts +2 -5
- package/BackOffice/MultipleEmployeesImpl.d.ts +3 -0
- package/BackOffice/Numerator.d.ts +1 -0
- package/BackOffice/NumeratorImpl.d.ts +5 -2
- package/BackOffice/OperationExecutingEventArgs.d.ts +2 -1
- package/BackOffice/PartnerBase.d.ts +4 -2
- package/BackOffice/PartnerBaseImpl.d.ts +20 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerImpl.d.ts +1 -0
- package/BackOffice/PerformersTable.d.ts +3 -0
- package/BackOffice/PrintButton.d.ts +48 -0
- package/BackOffice/PrintButtonContainer.d.ts +8 -0
- package/BackOffice/PrintButtonLogic.d.ts +25 -0
- package/BackOffice/PrintButtonView.d.ts +5 -0
- package/BackOffice/SearchBar.d.ts +6 -4
- package/BackOffice/SearchEmployees.d.ts +2 -1
- package/BackOffice/StaffDirectory.d.ts +2 -1
- package/BackOffice/StaffDirectoryConstants.d.ts +2 -0
- package/BackOffice/StaffDirectoryInfoPopover.d.ts +28 -0
- package/BackOffice/StaffDirectoryItems.d.ts +15 -5
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +25 -2
- package/BackOffice/StaffDirectoryLogic.d.ts +37 -28
- package/BackOffice/StateButtonsImpl.d.ts +1 -0
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +4 -3
- package/BackOffice/TasksTable.d.ts +4 -2
- package/BackOffice/TasksTableCell.d.ts +4 -0
- package/BackOffice/TasksTableContainer.d.ts +1 -0
- package/BackOffice/TasksTableHelpBox.d.ts +1 -0
- package/BackOffice/TasksTableLogic.d.ts +8 -1
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/TasksTree.d.ts +2 -1
- package/BackOffice/TasksTreeContainer.d.ts +1 -0
- package/BackOffice/TimeOfPerformance.d.ts +3 -0
- package/BackOffice/TimeOfPerformanceImpl.d.ts +1 -9
- package/BackOffice/UniquenessCheckImpl.d.ts +1 -1
- package/BackOffice/UserProfile.d.ts +8 -5
- package/BackOffice/UserStatus.d.ts +5 -0
- package/BackOffice/Utils.d.ts +15 -4
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +11 -1
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +7 -3
- package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +1 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +132 -53
- package/Generated/DocsVision.WebClient.Models.d.ts +1458 -251
- package/Helpers/BoxWithButtons.d.ts +7 -1
- package/Helpers/Button.d.ts +2 -0
- package/Helpers/ComboBox/ComboBoxElement.d.ts +3 -0
- package/Helpers/ComboBox/ComboBoxTitle.d.ts +4 -0
- package/Helpers/ComboBox/CommonComboBox.d.ts +2 -1
- package/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault.d.ts +2 -0
- package/Helpers/DropdownButton/DropdownButton.d.ts +34 -0
- package/Helpers/DropdownButton/DropdownButton.stories.d.ts +10 -0
- package/Helpers/DropdownButton/DropdownButtonView.d.ts +14 -0
- package/Helpers/DropdownButton/components/DropdownMenu.d.ts +7 -0
- package/Helpers/DropdownButton/components/DropdownMenuItem.d.ts +7 -0
- package/Helpers/DropdownButton/components/DropdownMenuItemContent.d.ts +9 -0
- package/Helpers/DropdownButton/index.d.ts +8 -0
- package/Helpers/FileComments/FileComments.d.ts +2 -2
- package/Helpers/LabeledText.d.ts +8 -0
- package/Helpers/MainMenu/ItemText.d.ts +2 -0
- package/Helpers/Menu/AdaptiveMenuBar.d.ts +1 -0
- package/Helpers/Menu/MobileMenuBar.d.ts +3 -0
- package/Helpers/PopoverHelpers/EditPopover/EditPopover.d.ts +1 -1
- package/Helpers/PopoverHelpers/Popover.d.ts +3 -3
- package/Helpers/ReactList/ReactListDynamic.d.ts +2 -0
- package/Helpers/Sortable/Sortable.d.ts +4 -1
- package/Helpers/Sortable/SortableItems.d.ts +2 -0
- package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
- package/Helpers/Table/TableHelperRow.d.ts +1 -0
- package/Helpers/Tree/ITreeBaseProps.d.ts +9 -0
- package/Helpers/Typeahead/ITypeaheadProps.d.ts +12 -0
- package/Helpers/Typeahead/Typeahead.d.ts +1 -0
- package/Legacy/ApprovalFilePanel.d.ts +1 -1
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/FolderViews.d.ts +0 -1
- package/Legacy/GridLoaderHelper.d.ts +2 -0
- package/Legacy/GridOptions.d.ts +1 -0
- package/Legacy/ISignatureListItemDataModel.d.ts +1 -0
- package/Legacy/ISignatureListItemDetailDataModel.d.ts +5 -0
- package/Legacy/ModalWindow.d.ts +1 -1
- package/Legacy/NavBarRouteHandler.d.ts +1 -1
- package/Legacy/SearchDropdown.d.ts +3 -1
- package/Legacy/SearchPanelRouteHandler.d.ts +3 -1
- package/Legacy/SelectCertificateDialog.d.ts +9 -0
- package/Legacy/Sidebar.d.ts +1 -0
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +9 -2
- package/Legacy/TaskReportPanelRazorControl.d.ts +12 -3
- package/Legacy/UserMenu.d.ts +3 -3
- package/Legacy/Utils.d.ts +4 -7
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +18 -0
- package/MainBundle.d.ts +2 -0
- package/Platform/$BatchOperations.d.ts +3 -0
- package/Platform/$BatchOperationsPerformer.d.ts +1 -1
- package/Platform/$BatchOperationsProgressDialog.d.ts +1 -0
- package/Platform/$CacheManagement.d.ts +3 -1
- package/Platform/$ContextMenuOptions.d.ts +79 -6
- package/Platform/$CurrentFolder.d.ts +2 -0
- package/Platform/$FilePreview.d.ts +1 -0
- package/Platform/$FolderDataLoading.d.ts +10 -2
- package/Platform/$FolderGrid.d.ts +17 -0
- package/Platform/$GridOptions.d.ts +1 -0
- package/Platform/$HoverPanel.d.ts +8 -0
- package/Platform/$PluginTemplate.d.ts +12 -0
- package/Platform/$SaveColumns.d.ts +7 -0
- package/Platform/$UnreadCounter.d.ts +1 -1
- package/Platform/$WebFrameSearchPanel.d.ts +30 -0
- package/Platform/AccessListEntryTrustee.d.ts +3 -1
- package/Platform/ArchivedCardsIcon.d.ts +2 -0
- package/Platform/ArchivedCardsPlugin.d.ts +3 -0
- package/Platform/ArchivedCardsResponseResolver.d.ts +23 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsPerformer.d.ts +1 -1
- package/Platform/BatchOperationsPlugin.d.ts +4 -0
- package/Platform/Block.d.ts +1 -1
- package/Platform/ButtonPositionsSelectionRadioButton.d.ts +9 -0
- package/Platform/CacheManagementService.d.ts +5 -0
- package/Platform/CalendarIcon.d.ts +2 -0
- package/Platform/CalendarInput.d.ts +8 -0
- package/Platform/CardLinkImpl.d.ts +1 -0
- package/Platform/CardManagement.d.ts +2 -2
- package/Platform/CardManagementImpl.d.ts +1 -0
- package/Platform/CheckBoxImpl.d.ts +1 -0
- package/Platform/ClearButton.d.ts +6 -0
- package/Platform/CommentFile.d.ts +4 -1
- package/Platform/ContextMenu.d.ts +12 -6
- package/Platform/ContextMenuCustomPlugins.d.ts +4 -2
- package/Platform/ContextMenuOptionsService.d.ts +40 -12
- package/Platform/ContextMenuUtils.d.ts +5 -0
- package/Platform/CopyShortcutBatchOperation.d.ts +2 -1
- package/Platform/DateFormatParsingResponseResolver.d.ts +1 -1
- package/Platform/DateInput.d.ts +16 -0
- package/Platform/DateTimePicker.d.ts +3 -0
- package/Platform/DateTimePickerImpl.d.ts +6 -0
- package/Platform/DefaultFolderDataLoader.d.ts +1 -1
- package/Platform/DefaultFolderResponseResolver.d.ts +1 -1
- package/Platform/DefaultFolderTablePluginFactory.d.ts +3 -1
- package/Platform/Dropdown.d.ts +3 -0
- package/Platform/Dropdown.stories.d.ts +12 -0
- package/Platform/DropdownImpl.d.ts +12 -0
- package/Platform/ExistingCardRouteHelpers.d.ts +2 -2
- package/Platform/ExistingRowRouteHelpers.d.ts +2 -2
- package/Platform/ExportPlugin.d.ts +6 -0
- package/Platform/FilePicker.d.ts +5 -2
- package/Platform/FilePickerMenu.d.ts +1 -0
- package/Platform/FilePreview.d.ts +2 -0
- package/Platform/FilterPlugin.d.ts +3 -0
- package/Platform/FilteringExtendedData.d.ts +4 -0
- package/Platform/FilteringRequestResolver.d.ts +11 -0
- package/Platform/FilteringResponseResolver.d.ts +10 -0
- package/Platform/FocusableTextInput.d.ts +11 -0
- package/Platform/FolderCardsDashboardWidget.d.ts +2 -1
- package/Platform/FolderCountersRouteHandler.d.ts +1 -1
- package/Platform/FolderDashboardWidgetImpl.d.ts +1 -0
- package/Platform/FolderDataContext.d.ts +2 -1
- package/Platform/FolderDataContextImpl.d.ts +7 -2
- package/Platform/FolderDataLoadingService.d.ts +29 -15
- package/Platform/FolderGrid.d.ts +24 -3
- package/Platform/FolderGrid.stories.d.ts +3 -0
- package/Platform/FolderGridBatchOperationsNode.d.ts +32 -0
- package/Platform/FolderGridBatchOperationsNodeImpl.d.ts +14 -0
- package/Platform/FolderGridImpl.d.ts +9 -1
- package/Platform/FolderGridService.d.ts +39 -2
- package/Platform/FolderGridServiceUtils.d.ts +1 -0
- package/Platform/FolderGroupDashboardWidgetImpl.d.ts +1 -0
- package/Platform/FolderMainMenuItem.d.ts +1 -1
- package/Platform/FolderName.d.ts +4 -0
- package/Platform/FolderNameImpl.d.ts +0 -2
- package/Platform/FolderOperationManager.d.ts +1 -0
- package/Platform/FolderPluginProvider.d.ts +5 -2
- package/Platform/FolderSizePlugin.d.ts +10 -0
- package/Platform/FolderSizePluginExtendedData.d.ts +9 -0
- package/Platform/FolderSizeResponseResolver.d.ts +10 -0
- package/Platform/FolderTypeDialog.d.ts +1 -0
- package/Platform/FolderViewItemsImpl.d.ts +4 -4
- package/Platform/FolderWebFrameRouteHandler.d.ts +18 -0
- package/Platform/FormatNumberToCultureString.d.ts +8 -0
- package/Platform/GridOperationsService.d.ts +3 -0
- package/Platform/GridRowModel.d.ts +2 -2
- package/Platform/GropingPlugin.d.ts +3 -0
- package/Platform/GroupingRequestResolver.d.ts +12 -0
- package/Platform/GroupingResponseResolver.d.ts +17 -0
- package/Platform/HoverPanelService.d.ts +5 -0
- package/Platform/ICommonFolderInfo.d.ts +1 -0
- package/Platform/IFolderDataLoader.d.ts +1 -1
- package/Platform/IFolderDataLoadingPlugin.d.ts +2 -2
- package/Platform/IFolderLoadRequest.d.ts +5 -0
- package/Platform/IFolderPluginFactory.d.ts +2 -0
- package/Platform/ITableRowColorPlugin.d.ts +7 -0
- package/Platform/Image.d.ts +5 -0
- package/Platform/ImageImpl.d.ts +7 -0
- package/Platform/InputWithMask.d.ts +15 -0
- package/Platform/LoadExistingFolderDataLoader.d.ts +2 -2
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/MoveShortcutsBatchOperation.d.ts +2 -1
- package/Platform/MoveShortcutsBatchOperationImpl.d.ts +1 -0
- package/Platform/NewAccessListEntryTrusteeSelect.d.ts +3 -1
- package/Platform/NewCardRouteHelpers.d.ts +2 -2
- package/Platform/NumberImpl.d.ts +3 -0
- package/Platform/PageSizeFolderDataLoadingPlugin.d.ts +1 -1
- package/Platform/Panel.d.ts +2 -0
- package/Platform/PanelImpl.d.ts +1 -1
- package/Platform/PluginTemplateExtendedData.d.ts +4 -0
- package/Platform/PluginTemplatePlugins.d.ts +15 -0
- package/Platform/PluginTemplateService.d.ts +11 -0
- package/Platform/ReadAllPlugin.d.ts +11 -0
- package/Platform/ReadAllPluginExtendedData.d.ts +9 -0
- package/Platform/ReadAllResponseResolver.d.ts +10 -0
- package/Platform/ReadBatchOperation.d.ts +30 -0
- package/Platform/ReadBatchOperationImpl.d.ts +20 -0
- package/Platform/RecentCardsDashboardWidget.d.ts +2 -1
- package/Platform/RecentCardsDashboardWidgetImpl.d.ts +2 -1
- package/Platform/RecentCardsRouteHandler.d.ts +2 -1
- package/Platform/RefreshPlugin.d.ts +6 -0
- package/Platform/ResetSettingsPlugin.d.ts +12 -0
- package/Platform/SaveColumnsResponseResolver.d.ts +10 -0
- package/Platform/SaveColumnsService.d.ts +8 -0
- package/Platform/SaveColumnsServiceProvider.d.ts +6 -0
- package/Platform/SavingButtons.d.ts +1 -1
- package/Platform/SearchInfoExtendedData.d.ts +4 -0
- package/Platform/SearchParametersFolderExtendedData.d.ts +4 -0
- package/Platform/SearchParametersFolderRequestResolver.d.ts +11 -0
- package/Platform/SearchParametersFolderResponseResolver.d.ts +12 -0
- package/Platform/SearchPlugin.d.ts +3 -0
- package/Platform/SearchRequestResolver.d.ts +12 -0
- package/Platform/SearchResponseResolver.d.ts +11 -0
- package/Platform/SearchResultPageRouteHandler.d.ts +3 -1
- package/Platform/SearchResultsFolderDataLoadingPluginFactory.d.ts +9 -0
- package/Platform/SearchResultsFolderTablePluginFactory.d.ts +16 -0
- package/Platform/SearchResultsRequestResolver.d.ts +14 -0
- package/Platform/SearchResultsResponseResolver.d.ts +12 -0
- package/Platform/SearchRouteHandler.d.ts +2 -1
- package/Platform/SearchingResultsImpl.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +6 -3
- package/Platform/Settings.d.ts +3 -0
- package/Platform/SettingsPlugin.d.ts +15 -0
- package/Platform/SettingsPopup.d.ts +15 -0
- package/Platform/SettingsPopup.stories.d.ts +0 -0
- package/Platform/SettingsPopupCheckBoxContainer.d.ts +6 -0
- package/Platform/SettingsPopupColumn.d.ts +5 -0
- package/Platform/SettingsPopupExtendedData.d.ts +9 -0
- package/Platform/SettingsPopupItemView.d.ts +7 -0
- package/Platform/SettingsPopupLogic.d.ts +47 -0
- package/Platform/SettingsPopupRequestResolver.d.ts +11 -0
- package/Platform/SettingsPopupResponseResolver.d.ts +13 -0
- package/Platform/SettingsPopupRow.d.ts +5 -0
- package/Platform/SettingsPopupView.d.ts +23 -0
- package/Platform/ShowAllButton.d.ts +14 -0
- package/Platform/ShowAllPlugins.d.ts +3 -0
- package/Platform/SortingResponseResolver.d.ts +2 -1
- package/Platform/Tab.d.ts +7 -3
- package/Platform/TabImpl.d.ts +3 -1
- package/Platform/Table.d.ts +2 -3
- package/Platform/TableBackgroundOpacityPlugin.d.ts +4 -0
- package/Platform/TableCellNumberFormattedPlugin.d.ts +7 -0
- package/Platform/TableCellNumberRightAlignPlugin.d.ts +4 -0
- package/Platform/TableCellOpacityPlugin.d.ts +3 -0
- package/Platform/TableEditRowWindow.d.ts +1 -1
- package/Platform/TableImpl.d.ts +2 -2
- package/Platform/TableRowColorPlugin.d.ts +4 -0
- package/Platform/TableRowColorResponseResolver.d.ts +10 -0
- package/Platform/TableRowSelectionService.d.ts +22 -0
- package/Platform/TableRowSelectionServiceProvider.d.ts +9 -0
- package/Platform/TableSelectionRowModel.d.ts +13 -0
- package/Platform/TemplateRequestResolver.d.ts +12 -0
- package/Platform/TemplateResponseResolver.d.ts +11 -0
- package/Platform/TestUtils.d.ts +16 -0
- package/Platform/TextAreaImpl.d.ts +11 -4
- package/Platform/TextBoxImpl.d.ts +5 -0
- package/Platform/Toolbar.stories.d.ts +12 -0
- package/Platform/UnreadResponseResolver.d.ts +2 -1
- package/Platform/UserCulture.d.ts +2 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/WebFrameMainMenuContainerImpl.d.ts +1 -0
- package/Platform/WebFrameSearchPanel.d.ts +6 -1
- package/Platform/WebFrameSearchPanelService.d.ts +24 -0
- package/Platform/XIcon.d.ts +2 -0
- package/Platform/applyCurrentSettings.d.ts +2 -0
- package/Platform/canUseCssVariables.d.ts +1 -0
- package/Platform/formatNumberToCulture.d.ts +8 -0
- package/Platform/getArrayWidth.d.ts +2 -0
- package/Platform/index.d.ts +13 -0
- package/Platform/updateColumnsVisible.d.ts +2 -0
- package/Platform/updateValueCheckedColumn.d.ts +2 -0
- package/Platform/utils.d.ts +3 -0
- package/StandardServices.d.ts +9 -2
- package/System/$LastSearchResponse.d.ts +14 -0
- package/System/$Layout.d.ts +4 -1
- package/System/$Router.d.ts +4 -0
- package/System/$ServiceTemplate.d.ts +16 -0
- package/System/BaseControl.d.ts +8 -5
- package/System/BaseControlImpl.d.ts +2 -3
- package/System/ControlTemplate.d.ts +23 -0
- package/System/ControlTemplate.stories.d.ts +9 -0
- package/System/ControlTemplateContainer.d.ts +7 -0
- package/System/ControlTemplateEffect.d.ts +3 -0
- package/System/ControlTemplateFrame.d.ts +8 -0
- package/System/ControlTemplateLogic.d.ts +17 -0
- package/System/ControlTemplateOptions.d.ts +30 -0
- package/System/ControlTemplateText.d.ts +7 -0
- package/System/ControlTemplateView.d.ts +10 -0
- package/System/DelayUntilApiEvent.d.ts +1 -0
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/GetRequiredLabel.d.ts +2 -0
- package/System/HandleTabSelection.d.ts +34 -0
- package/System/IControlOptions.d.ts +5 -0
- package/System/IRouteFamily.d.ts +6 -0
- package/System/IRouteInfo.d.ts +2 -0
- package/System/IValidateEventArgs.d.ts +9 -0
- package/System/IValidationResult.d.ts +4 -0
- package/System/InputBasedControl.d.ts +5 -0
- package/System/InputBasedControlImpl.d.ts +5 -3
- package/System/LastSearchResponseService.d.ts +20 -0
- package/System/Layout.d.ts +3 -3
- package/System/LayoutCardControllerStub.d.ts +3 -0
- package/System/LayoutContainer.d.ts +2 -1
- package/System/LocationContainerControl.d.ts +2 -0
- package/System/MessageBoxService.d.ts +1 -1
- package/System/PageLeaveConfirmation.d.ts +1 -0
- package/System/RequestManager.d.ts +1 -0
- package/System/ResourcesStub.d.ts +603 -68
- package/System/RouteFamilySubtype.d.ts +5 -0
- package/System/Router.d.ts +6 -1
- package/System/ServiceTemplateService.d.ts +13 -0
- package/System/Utils.d.ts +5 -1
- package/System/{getAbsoluteUrl.d.ts → convertWebDavLinkToAbsolute.d.ts} +0 -0
- package/package.json +1 -1
- package/BackOffice/DirectoryValuesHScrollContainer.d.ts +0 -6
- package/Legacy/AgreementSidebar.d.ts +0 -38
- package/Legacy/LegacyModels.d.ts +0 -178
|
@@ -8,6 +8,9 @@ import { $CompanyLogo } from '@docsvision/webclient/Platform/$CompanyLogo';
|
|
|
8
8
|
import { SearchDropdown } from '@docsvision/webclient/Legacy/SearchDropdown';
|
|
9
9
|
import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
|
|
10
10
|
import { $Router } from '@docsvision/webclient/System/$Router';
|
|
11
|
+
import { $WebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
|
|
12
|
+
import { $ExperimentalFeature } from '@docsvision/webclient/System/$ExperimentalFeature';
|
|
13
|
+
import { $LastSearchResponse } from '@docsvision/webclient/System/$LastSearchResponse';
|
|
11
14
|
export declare class WebFrameSearchPanelParams extends BaseControlParams {
|
|
12
15
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
13
16
|
standardCssClass?: string;
|
|
@@ -21,7 +24,7 @@ export declare class WebFrameSearchPanelParams extends BaseControlParams {
|
|
|
21
24
|
isClearButtonHidden?: boolean;
|
|
22
25
|
/** Скрыт ли плейсхолдер */
|
|
23
26
|
isPlaceholderHidden?: boolean;
|
|
24
|
-
services?: $Layout & $ApplicationSettings & $CompanyLogo & $FullTextSearchEnabled & $WebFrameContext & $DeviceType & $Router & $LastSearchRequest;
|
|
27
|
+
services?: $Layout & $ApplicationSettings & $CompanyLogo & $FullTextSearchEnabled & $WebFrameContext & $DeviceType & $Router & $LastSearchRequest & $WebFrameSearchPanel & $ExperimentalFeature & $LastSearchResponse;
|
|
25
28
|
}
|
|
26
29
|
export interface WebFrameSearchPanelState extends WebFrameSearchPanelParams, BaseControlState {
|
|
27
30
|
}
|
|
@@ -36,6 +39,7 @@ export declare class WebFrameSearchPanel extends BaseControl<WebFrameSearchPanel
|
|
|
36
39
|
private prevNavBarMode;
|
|
37
40
|
private isMobile;
|
|
38
41
|
shouldResetInstanceBeforeSearch: boolean;
|
|
42
|
+
private placeholderText;
|
|
39
43
|
/** @notest @internal */
|
|
40
44
|
protected createParams(): WebFrameSearchPanelParams;
|
|
41
45
|
/** @notest @internal */
|
|
@@ -56,6 +60,7 @@ export declare class WebFrameSearchPanel extends BaseControl<WebFrameSearchPanel
|
|
|
56
60
|
hide: () => void;
|
|
57
61
|
show: () => void;
|
|
58
62
|
expand: () => void;
|
|
63
|
+
collapse: () => void;
|
|
59
64
|
onSearchAreaSelected: (oldVal: GenModels.SearchContextOption, newVal: GenModels.SearchContextOption) => void;
|
|
60
65
|
reset: () => void;
|
|
61
66
|
clear: () => void;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
import { ISearchInfo, IWebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
|
|
3
|
+
import { $Domain } from '@docsvision/web/core/state-management';
|
|
4
|
+
import { Store, Event } from 'effector';
|
|
5
|
+
/** @intrnal Реализация сервиса {@link $WebFrameSearchPanel}. */
|
|
6
|
+
export declare class WebFrameSearchPanelService implements IWebFrameSearchPanel {
|
|
7
|
+
$searchText: Store<string>;
|
|
8
|
+
$searchContext: Store<GenModels.SearchContextOption>;
|
|
9
|
+
$expanded: Store<boolean>;
|
|
10
|
+
$availableContexts: Store<GenModels.SearchContextOption[]>;
|
|
11
|
+
$visible: Store<boolean>;
|
|
12
|
+
$searchResultsText: Store<string>;
|
|
13
|
+
searchRequested: Event<ISearchInfo>;
|
|
14
|
+
setSearchText: Event<string>;
|
|
15
|
+
setSearchContext: Event<GenModels.SearchContextOption>;
|
|
16
|
+
setExpanded: Event<boolean>;
|
|
17
|
+
setVisible: Event<boolean>;
|
|
18
|
+
setSearchResultsText: Event<string>;
|
|
19
|
+
requestSearch: Event<ISearchInfo>;
|
|
20
|
+
setAvailableContexts: Event<GenModels.SearchContextOption[]>;
|
|
21
|
+
enableContext: Event<GenModels.SearchContextOption>;
|
|
22
|
+
disableContext: Event<GenModels.SearchContextOption>;
|
|
23
|
+
constructor(services: $Domain);
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function canUseCssVariables(): boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
export interface INumberFormatInfo {
|
|
3
|
+
numberGroupSeparator: string;
|
|
4
|
+
numberGroupSizes: number[];
|
|
5
|
+
numberDecimalDigits: number;
|
|
6
|
+
numberDecimalSeparator: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function formatNumberToCulture(value: number, type: GenModels.ColumnType, numberFormatInfo: INumberFormatInfo): string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExportPlugin } from "@docsvision/webclient/Platform/ExportPlugin";
|
|
2
|
+
import { FilterPlugin } from "@docsvision/webclient/Platform/FilterPlugin";
|
|
3
|
+
import { FolderSizePlugin } from "@docsvision/webclient/Platform/FolderSizePlugin";
|
|
4
|
+
import { GropingPlugin } from "@docsvision/webclient/Platform/GropingPlugin";
|
|
5
|
+
import { ReadAllPlugin } from "@docsvision/webclient/Platform/ReadAllPlugin";
|
|
6
|
+
import { RefreshPlugin } from "@docsvision/webclient/Platform/RefreshPlugin";
|
|
7
|
+
import { ResetSettingsPlugin } from "@docsvision/webclient/Platform/ResetSettingsPlugin";
|
|
8
|
+
import { SearchPlugin } from "@docsvision/webclient/Platform/SearchPlugin";
|
|
9
|
+
import { SettingsPlugin } from "@docsvision/webclient/Platform/SettingsPlugin";
|
|
10
|
+
import { ITablePlugins } from "@docsvision/web/components/table/interfaces";
|
|
11
|
+
export declare const ToolbarPlugins: ITablePlugins;
|
|
12
|
+
export declare const toolbarTypeName = "FolderGridToolbar";
|
|
13
|
+
export { ExportPlugin, FilterPlugin, GropingPlugin, ReadAllPlugin, RefreshPlugin, ResetSettingsPlugin, SearchPlugin, SettingsPlugin, FolderSizePlugin };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IDateFormatPluginData } from "@docsvision/web/components/table/plugins/filter/elements/filter-panel";
|
|
2
|
+
export declare const transformDateToServerFormat: (value: string, dataFormatData: IDateFormatPluginData) => string;
|
|
3
|
+
export declare const transformDateToClientFormat: (value: any, dataFormatData: IDateFormatPluginData) => any;
|
package/StandardServices.d.ts
CHANGED
|
@@ -35,16 +35,19 @@ import { $FileScan } from '@docsvision/webclient/Platform/$FileScan';
|
|
|
35
35
|
import { $LayoutCheck } from '@docsvision/webclient/System/$LayoutCheckService';
|
|
36
36
|
import { $ScanDialog } from '@docsvision/webclient/Platform/$ScanDialog';
|
|
37
37
|
import { $FileService } from '@docsvision/webclient/System/$FileService';
|
|
38
|
-
import { $CardController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
39
38
|
import { $CompanyLogo } from '@docsvision/webclient/Platform/$CompanyLogo';
|
|
40
39
|
import { $ContentElementProvider } from '@docsvision/webclient/Platform/$ContentElementProvider';
|
|
41
40
|
import { $RootCssClass } from '@docsvision/webclient/Helpers/$RootCssClass';
|
|
42
41
|
import { $FilePreview } from '@docsvision/webclient/Platform/$FilePreview';
|
|
43
42
|
import { $WebFrameDirectorySearchPanelService } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
|
|
44
43
|
import { $Domain } from '@docsvision/web/core/state-management';
|
|
44
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
45
|
+
import { $MessageWindow } from '@docsvision/web/components/modals/message-box';
|
|
45
46
|
import { $FileUpload } from "@docsvision/webclient/Platform/IFileUploadService";
|
|
46
47
|
import { $WebFrameDirectorySearchInfoStorageService } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
|
|
47
48
|
import { $DialogManagement } from "@docsvision/webclient/Helpers/ModalDialog/$DialogManagement";
|
|
49
|
+
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
50
|
+
import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
48
51
|
/** Сервис доступа к идентификатору текущего пользователя. */
|
|
49
52
|
export declare type $CurrentEmployeeId = {
|
|
50
53
|
currentEmployeeId: string;
|
|
@@ -100,6 +103,10 @@ export declare type $IsMobileSafari = {
|
|
|
100
103
|
isMobileSafari: boolean;
|
|
101
104
|
};
|
|
102
105
|
export declare const $IsMobileSafari: string | ((model?: $IsMobileSafari) => boolean);
|
|
106
|
+
export declare type $WebViewIOSEnabled = {
|
|
107
|
+
webViewIOSEnabled: boolean;
|
|
108
|
+
};
|
|
109
|
+
export declare const $WebViewIOSEnabled: string | ((model?: $WebViewIOSEnabled) => boolean);
|
|
103
110
|
/** Настройка из web.config - включено ли логирование клиентского роутинга. */
|
|
104
111
|
export declare type $EnableRouterLogging = {
|
|
105
112
|
enableRouterLogging: boolean;
|
|
@@ -130,4 +137,4 @@ export declare type $ApplicationSettings = {
|
|
|
130
137
|
};
|
|
131
138
|
export declare const $ApplicationSettings: string | ((model?: $ApplicationSettings) => GenModels.ApplicationSettings);
|
|
132
139
|
/** Стандартные сервисы Web-клиента. */
|
|
133
|
-
export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $
|
|
140
|
+
export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
import { Event, Store } from 'effector';
|
|
3
|
+
export interface ILastSearchResponse {
|
|
4
|
+
readonly $instanceId: Store<string>;
|
|
5
|
+
readonly $searchText: Store<string>;
|
|
6
|
+
readonly $searchContextOption: Store<GenModels.SearchContextOption>;
|
|
7
|
+
setInstenceId: Event<string>;
|
|
8
|
+
setSearchText: Event<string>;
|
|
9
|
+
setSearchContextOption: Event<GenModels.SearchContextOption>;
|
|
10
|
+
}
|
|
11
|
+
export declare type $LastSearchResponse = {
|
|
12
|
+
lastSearchResponse: ILastSearchResponse;
|
|
13
|
+
};
|
|
14
|
+
export declare const $LastSearchResponse: string | ((model?: $LastSearchResponse) => ILastSearchResponse);
|
package/System/$Layout.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { IControlStoreManager } from '@docsvision/webclient/System/IControlStore
|
|
|
6
6
|
import { IEditOperationStore } from "@docsvision/webclient/System/IEditOperationStore";
|
|
7
7
|
import { ILayoutContainer } from "@docsvision/webclient/System/ILayoutContainer";
|
|
8
8
|
import { ILayoutCheckService } from '@docsvision/webclient/System/$LayoutCheckService';
|
|
9
|
+
import { FieldSpec } from "@docsvision/web/utils/common";
|
|
9
10
|
/** Параметры метода {@link Layout.saveCard}. */
|
|
10
11
|
export interface SaveCardOptions {
|
|
11
12
|
/** Не помечать карточку как сохраненную. Данная пометка влияет на наличие подтверждения закрытия окна браузера. */
|
|
@@ -23,6 +24,8 @@ export interface SaveCardOptions {
|
|
|
23
24
|
* Его следует выставлять если текущая разметку не планиурется больше использовать после сохранения.
|
|
24
25
|
*/
|
|
25
26
|
doNotKeepLayoutActual?: boolean;
|
|
27
|
+
/** Флаг обозначает, что данное сохранение завершает создание карточки или строки. */
|
|
28
|
+
completeCreation?: boolean;
|
|
26
29
|
}
|
|
27
30
|
export interface ChangeStateOptions {
|
|
28
31
|
/** Не триггерить cardStateChanging */
|
|
@@ -83,7 +86,7 @@ export interface ILayout extends ILayoutCheckService {
|
|
|
83
86
|
/** Удаляет текущую карточку или строку секции */
|
|
84
87
|
delete(): Promise<any>;
|
|
85
88
|
/** возвращает сервис */
|
|
86
|
-
getService<$T>(serviceName?:
|
|
89
|
+
getService<$T>(serviceName?: FieldSpec<any, $T>): $T;
|
|
87
90
|
}
|
|
88
91
|
export declare type $Layout = {
|
|
89
92
|
layout: ILayout;
|
package/System/$Router.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import { IRouteInfo } from "@docsvision/webclient/System/IRouteInfo";
|
|
|
5
5
|
import { IRouteTypeMapper } from "@docsvision/webclient/System/IRouteTypeMapper";
|
|
6
6
|
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
7
7
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
8
|
+
import { RouteFamilySubtype } from '@docsvision/webclient/System/RouteFamilySubtype';
|
|
9
|
+
import { IRouteFamily } from '@docsvision/webclient/System/IRouteFamily';
|
|
8
10
|
export interface IRouter {
|
|
9
11
|
/**
|
|
10
12
|
* Please, don't use it. Really.
|
|
@@ -30,6 +32,8 @@ export interface IRouterNavigation {
|
|
|
30
32
|
goTo(route: string, refresh?: boolean, callback?: Function): Promise<void>;
|
|
31
33
|
openUrl(url: string, mode: GenModels.OpenMode): Promise<void>;
|
|
32
34
|
back(isCancel?: boolean): Promise<void>;
|
|
35
|
+
registerRouteFamily(routeFamily: IRouteFamily): any;
|
|
36
|
+
getNextRoute(subtype: RouteFamilySubtype): string;
|
|
33
37
|
}
|
|
34
38
|
export declare type $Router = {
|
|
35
39
|
router: IRouter & ILegacyRouter & IRouterNavigation;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Store, Event } from 'effector';
|
|
2
|
+
/** Шаблон сервиса. */
|
|
3
|
+
export interface IServiceTemplateService {
|
|
4
|
+
/** Содержит некоторые данные. */
|
|
5
|
+
$someData: Store<number>;
|
|
6
|
+
/** Событие, возникающее при каких-то обстоятельствах. */
|
|
7
|
+
somethingHappened: Event<{
|
|
8
|
+
info: number;
|
|
9
|
+
}>;
|
|
10
|
+
/** Выполняет некоторое действие. */
|
|
11
|
+
doSomething(someNumber: number): Promise<number>;
|
|
12
|
+
}
|
|
13
|
+
export declare type $ServiceTemplate = {
|
|
14
|
+
serviceTemplate: IServiceTemplateService;
|
|
15
|
+
};
|
|
16
|
+
export declare const $ServiceTemplate: string | ((model?: $ServiceTemplate) => IServiceTemplateService);
|
package/System/BaseControl.d.ts
CHANGED
|
@@ -15,8 +15,10 @@ import { FieldSpec } from '@docsvision/webclient/System/GetFieldName';
|
|
|
15
15
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
16
16
|
import { BasicEventHandler } from "@docsvision/webclient/System/IBasicEvent";
|
|
17
17
|
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
18
|
+
import { IValidationParams } from "@docsvision/webclient/System/IValidationParams";
|
|
18
19
|
import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
|
|
19
20
|
import React from "react";
|
|
21
|
+
import { IValidateEventArgs } from '@docsvision/webclient/System/IValidateEventArgs';
|
|
20
22
|
export declare let DEFAULT_CONTROL_NAME: string;
|
|
21
23
|
/**
|
|
22
24
|
* Базовый класс для описания публичных свойств контрола.
|
|
@@ -60,6 +62,8 @@ export declare class BaseControlParams {
|
|
|
60
62
|
visibilityEditOperation?: string;
|
|
61
63
|
/** Определяет, есть ли возможность редактировать элемент управления: `true` - нельзя редактировать, `false` - можно. */
|
|
62
64
|
disabled?: boolean;
|
|
65
|
+
/** Хранит дополнительную информацию или настройки в виде строкового ресурса */
|
|
66
|
+
tag?: string;
|
|
63
67
|
/**
|
|
64
68
|
* Определяет, должен ли элемент управления получать фокус при переходе по Tab:
|
|
65
69
|
* `true` - должен, `false` - не должен.
|
|
@@ -103,16 +107,16 @@ export declare class BaseControlParams {
|
|
|
103
107
|
loaded?: BasicApiEvent<IEventArgs>;
|
|
104
108
|
/** Событие, возникающее при удалении элемента управления из разметки. */
|
|
105
109
|
unloading?: CancelableApiEvent<IEventArgs>;
|
|
110
|
+
/** Событие, возникающее при валидации контрола. */
|
|
111
|
+
validation?: BasicApiEvent<IValidateEventArgs>;
|
|
106
112
|
/** Интерфейсный компонент контрола (см. описание класса {@link BaseControl}). */
|
|
107
113
|
wrapper?: BaseControl<BaseControlParams, BaseControlState>;
|
|
108
|
-
innerRef?: (HTMLElement: any) => void;
|
|
109
|
-
/** Возвращает ссылку на HTMLElement контрола. */
|
|
110
|
-
controlHtmlElement?: HTMLElement;
|
|
111
114
|
}
|
|
112
115
|
/** Базовый интерфейс для описания состояния интерфейсного компонента элемента управления. */
|
|
113
116
|
export interface BaseControlState extends BaseControlParams {
|
|
114
117
|
/** Инициализирован ли компонент. */
|
|
115
118
|
initialized: boolean;
|
|
119
|
+
passedValidation?: boolean;
|
|
116
120
|
}
|
|
117
121
|
/** Синоним `BaseControl<any, any>` */
|
|
118
122
|
export declare type LayoutControl = BaseControl<BaseControlParams, any>;
|
|
@@ -293,6 +297,7 @@ export declare abstract class BaseControl<P extends BaseControlParams, S extends
|
|
|
293
297
|
* @param params Параметры выполнения валидации. Например, показывать ли сообщение о неудаче в UI или нет.
|
|
294
298
|
*/
|
|
295
299
|
validate(params: any): IValidationResult[];
|
|
300
|
+
createValidationResult(params: IValidationParams, results: IValidationResult[]): IValidationResult[];
|
|
296
301
|
/**
|
|
297
302
|
* Производится обнаружение и регистрация всех свойств, объявленных с декоратором {@link handler}.
|
|
298
303
|
*/
|
|
@@ -355,7 +360,5 @@ export declare abstract class BaseControl<P extends BaseControlParams, S extends
|
|
|
355
360
|
triggerBubblingEvent<T>(eventName: string, actualSender: ISupportEventBubbling, args: T): void;
|
|
356
361
|
subscribeToBubblingEvent(eventNameSpec: string | FieldSpec<any, any>, callback: BubblingEventCallback): void;
|
|
357
362
|
unsubscribeFromBubblingEvent(eventNameSpec: string | FieldSpec<any, any>, callback: BubblingEventCallback): void;
|
|
358
|
-
attachHtmlElement: (elem: HTMLElement) => void;
|
|
359
|
-
getControlHtmlElement(): HTMLElement;
|
|
360
363
|
render(): React.ReactNode;
|
|
361
364
|
}
|
|
@@ -37,9 +37,8 @@ export declare abstract class BaseControlImpl<P extends BaseControlParams, S ext
|
|
|
37
37
|
* @param props Параметры, переданные компоненту.
|
|
38
38
|
*/
|
|
39
39
|
constructor(props: P, state?: S);
|
|
40
|
-
attachContainer(elem: HTMLElement)
|
|
41
|
-
getContainerElem()
|
|
42
|
-
getControlHtmlElement(): HTMLElement;
|
|
40
|
+
attachContainer: (elem: HTMLElement) => void;
|
|
41
|
+
getContainerElem: () => HTMLElement;
|
|
43
42
|
protected onFocusedKeyDown(event: React.KeyboardEvent<any>, handler: () => void): void;
|
|
44
43
|
/**
|
|
45
44
|
* Производится обнаружение и регистрация всех свойств, объявленных с декоратором {@link handler}.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseControl } from '@docsvision/webclient/System/BaseControl';
|
|
3
|
+
import { ControlTemplateView } from '@docsvision/webclient/System/ControlTemplateView';
|
|
4
|
+
import { ControlTemplateLogic } from '@docsvision/webclient/System/ControlTemplateLogic';
|
|
5
|
+
import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
|
|
6
|
+
import { BaseControlImplState } from '@docsvision/webclient/System/BaseControlImpl';
|
|
7
|
+
import { ControlTemplateParams } from '@docsvision/webclient/System/ControlTemplateOptions';
|
|
8
|
+
export interface ControlTemplateState extends BaseControlImplState, ControlTemplateParams {
|
|
9
|
+
logic: ControlTemplateLogic;
|
|
10
|
+
view: ControlTemplateView;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Класс элемента управления ControlTemplate.
|
|
14
|
+
*/
|
|
15
|
+
export declare class ControlTemplate extends BaseControl<ControlTemplateParams, ControlTemplateState> {
|
|
16
|
+
construct(): void;
|
|
17
|
+
protected createParams(): ControlTemplateParams;
|
|
18
|
+
protected createImpl(): ControlImpl;
|
|
19
|
+
private get someText();
|
|
20
|
+
/** Выполняет действие аналогичное нажатию кнопки */
|
|
21
|
+
doSomeAction(): Promise<void>;
|
|
22
|
+
renderControl(): JSX.Element;
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ControlTemplate } from '@docsvision/webclient/System/ControlTemplate';
|
|
3
|
+
import "./ControlTemplate.stories.css";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof ControlTemplate;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: () => JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ControlTemplateLogic } from '@docsvision/webclient/System/ControlTemplateLogic';
|
|
3
|
+
import { ControlTemplateView } from '@docsvision/webclient/System/ControlTemplateView';
|
|
4
|
+
export declare const ControlTemplateContainer: (props: {
|
|
5
|
+
logic: ControlTemplateLogic;
|
|
6
|
+
view: ControlTemplateView;
|
|
7
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
import './ControlTemplateFrame.css';
|
|
4
|
+
export interface IControlTemplateFrameProps extends HtmlProps.div {
|
|
5
|
+
renderText: () => React.ReactElement;
|
|
6
|
+
renderButton: () => React.ReactElement;
|
|
7
|
+
}
|
|
8
|
+
export declare function ControlTemplateFrame(props: IControlTemplateFrameProps): JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ControlTemplateParams } from "@docsvision/webclient/System/ControlTemplateOptions";
|
|
2
|
+
export declare class ControlTemplateLogic {
|
|
3
|
+
options: ControlTemplateParams;
|
|
4
|
+
constructor(options: ControlTemplateParams);
|
|
5
|
+
domain:
|
|
6
|
+
import("effector").Domain;
|
|
7
|
+
$someText:
|
|
8
|
+
import("effector").Store<string>;
|
|
9
|
+
someEvent:
|
|
10
|
+
import("effector").Event<void>;
|
|
11
|
+
someEffectFx:
|
|
12
|
+
import("effector").Effect<{
|
|
13
|
+
someOption: number;
|
|
14
|
+
}, string, Error>;
|
|
15
|
+
initSomeFeature(): void;
|
|
16
|
+
init(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
2
|
+
import { ControlTemplateLogic } from "@docsvision/webclient/System/ControlTemplateLogic";
|
|
3
|
+
import { ControlTemplateView } from "@docsvision/webclient/System/ControlTemplateView";
|
|
4
|
+
import { CancelableApiEvent, BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
5
|
+
import { IControlOptions } from "@docsvision/webclient/System/IControlOptions";
|
|
6
|
+
import { Optional } from "@docsvision/web/core/services";
|
|
7
|
+
/**
|
|
8
|
+
* Содержит публичные свойства элемента управления [ControlTemplate]{@link ControlTemplate}.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ControlTemplateParams extends BaseControlParams {
|
|
11
|
+
/** Стандартный CSS класс со стилями элемента управления */
|
|
12
|
+
standardCssClass?: string;
|
|
13
|
+
/** Некоторая опция */
|
|
14
|
+
someOption?: number;
|
|
15
|
+
/** Некоторое состояние контрола */
|
|
16
|
+
someText?: string;
|
|
17
|
+
/** Событие, возникающее перед выполнением действия */
|
|
18
|
+
somethingDoing?: CancelableApiEvent<{
|
|
19
|
+
someOption: number;
|
|
20
|
+
}>;
|
|
21
|
+
/** Событие, возникающее после выполнения действия */
|
|
22
|
+
somethingDone?: BasicApiEvent<{
|
|
23
|
+
someOption: number;
|
|
24
|
+
}>;
|
|
25
|
+
services?: Optional<$ControlTemplateOptions>;
|
|
26
|
+
}
|
|
27
|
+
export declare type $ControlTemplateOptions = {
|
|
28
|
+
controlTemplateOptions: IControlOptions<ControlTemplateParams, ControlTemplateLogic, ControlTemplateView>;
|
|
29
|
+
};
|
|
30
|
+
export declare const $ControlTemplateOptions: string | ((model?: $ControlTemplateOptions) => IControlOptions<ControlTemplateParams, ControlTemplateLogic, ControlTemplateView>);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
+
import './ControlTemplateText.css';
|
|
4
|
+
export interface IControlTemplateTextProps extends HtmlProps.div {
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function ControlTemplateText(props: IControlTemplateTextProps): JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ControlTemplateFrame } from "@docsvision/webclient/System/ControlTemplateFrame";
|
|
3
|
+
import { ControlTemplateText } from "@docsvision/webclient/System/ControlTemplateText";
|
|
4
|
+
export declare class ControlTemplateView {
|
|
5
|
+
text: typeof ControlTemplateText;
|
|
6
|
+
button: (props:
|
|
7
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
8
|
+
frame: typeof ControlTemplateFrame;
|
|
9
|
+
buttonText: string;
|
|
10
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { CancelableApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
2
2
|
import { Domain, Event } from 'effector';
|
|
3
3
|
export declare function delayUntilApiEvent<T>(domain: Domain, event: Event<T>, getApiEvent: () => CancelableApiEvent<T>): Event<T>;
|
|
4
|
+
export declare function delayUntilApiEventEx<T1, T2>(domain: Domain, event: Event<T1>, convert: (arg: T1) => T2, getApiEvent: () => CancelableApiEvent<T2>): Event<T1>;
|
|
@@ -70,10 +70,10 @@ export declare abstract class DirectorySelectDialog<ValueT extends NodeT | ItemT
|
|
|
70
70
|
protected modalHost: CommonModalDialogHost;
|
|
71
71
|
static SimpleItemView:
|
|
72
72
|
import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
|
|
73
|
-
import("C:/
|
|
73
|
+
import("C:/Users/peshne.k/devWebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
74
74
|
static SimpleItemViewCompact:
|
|
75
75
|
import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
|
|
76
|
-
import("C:/
|
|
76
|
+
import("C:/Users/peshne.k/devWebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
77
77
|
/** @internal */
|
|
78
78
|
state: StateT;
|
|
79
79
|
searchInput: HTMLInputElement;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface ITabSelectionStyle {
|
|
2
|
+
property?: string;
|
|
3
|
+
focusValue?: string;
|
|
4
|
+
defaultValue?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ITabSelectionOptions {
|
|
7
|
+
styles: ITabSelectionStyle[];
|
|
8
|
+
useClass?: boolean;
|
|
9
|
+
useWrapper?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IHandlerTabSelection {
|
|
12
|
+
handlers: Array<(e: Event) => void>;
|
|
13
|
+
element: HTMLElement;
|
|
14
|
+
init(options: ITabSelectionOptions): void;
|
|
15
|
+
destroy(): void;
|
|
16
|
+
}
|
|
17
|
+
export declare class HandleTabSelection implements IHandlerTabSelection {
|
|
18
|
+
handlers: any[];
|
|
19
|
+
element: any;
|
|
20
|
+
private styles;
|
|
21
|
+
private wrapper;
|
|
22
|
+
private MOUSEDOWN_EVENT;
|
|
23
|
+
private FOCUS_EVENT;
|
|
24
|
+
private FOCUSOUT_EVENT;
|
|
25
|
+
private isClickEvent;
|
|
26
|
+
private handleMouseDown;
|
|
27
|
+
private handleFocus;
|
|
28
|
+
private handleFocusOut;
|
|
29
|
+
private useClass;
|
|
30
|
+
private useWrapper;
|
|
31
|
+
constructor(element: HTMLElement);
|
|
32
|
+
init({ styles, useClass, useWrapper }: ITabSelectionOptions): void;
|
|
33
|
+
destroy(): void;
|
|
34
|
+
}
|
package/System/IRouteInfo.d.ts
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LayoutControl } from "@docsvision/webclient/System/BaseControl";
|
|
2
|
+
import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
|
|
3
|
+
import { IValidationParams } from "@docsvision/webclient/System/IValidationParams";
|
|
4
|
+
import { IValidationResult } from "@docsvision/webclient/System/IValidationResult";
|
|
5
|
+
export interface IValidateEventArgs extends IEventArgs {
|
|
6
|
+
control: LayoutControl;
|
|
7
|
+
validationResults: IValidationResult[];
|
|
8
|
+
params: IValidationParams;
|
|
9
|
+
}
|
|
@@ -67,6 +67,11 @@ export declare class InputBasedControlParams<ModelT> extends BaseControlParams {
|
|
|
67
67
|
isEditDialogShown?: boolean;
|
|
68
68
|
/** Флаг, определяющий минимальный текстовый внешний вид элемента управления, подходящий для встраивания в текст. */
|
|
69
69
|
simpleView?: boolean;
|
|
70
|
+
/** Флаг, определяющий, что в режиме edit in place был совершен клик по тексту. */
|
|
71
|
+
clickedLabel?: boolean;
|
|
72
|
+
/** Флаг, определяющий, что в режиме edit in place был совершен клик по иконке, расположенной рядом с текстом. */
|
|
73
|
+
clickedIcon?: boolean;
|
|
74
|
+
displayIcon?: boolean;
|
|
70
75
|
/** Событие возникает при изменении значения элемента управления. @covered */
|
|
71
76
|
dataChanged?: BasicApiEvent<IDataChangedEventArgsEx<ModelT>>;
|
|
72
77
|
/** Событие возникает при открытии модального окна редактирования. @covered */
|
|
@@ -39,6 +39,7 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
|
|
|
39
39
|
protected onDataChanged(eventArgs: IDataChangedEventArgs): void;
|
|
40
40
|
protected onInPlaceEditOpening(callback?: () => void): Promise<any>;
|
|
41
41
|
protected onInPlaceEditOpened(): void;
|
|
42
|
+
protected isLeftButton(): boolean;
|
|
42
43
|
protected onInPlaceEditClosing(sender: any, args: ICancelableEventArgs<any>): void;
|
|
43
44
|
protected onInPlaceEditClosed(): void;
|
|
44
45
|
validate(params: any): IValidationResult;
|
|
@@ -60,7 +61,7 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
|
|
|
60
61
|
protected onInputFocus(event: React.FocusEvent<any>): void;
|
|
61
62
|
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
62
63
|
protected onPlaceholderClick(event: any): void;
|
|
63
|
-
protected onValueClick(
|
|
64
|
+
protected onValueClick(): void;
|
|
64
65
|
protected renderValidationMessage(): JSX.Element;
|
|
65
66
|
protected getInputTitle(): string;
|
|
66
67
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
@@ -68,12 +69,12 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
|
|
|
68
69
|
protected editModeRender(): JSX.Element;
|
|
69
70
|
protected getValueTitle(): string;
|
|
70
71
|
protected renderWithText(): JSX.Element;
|
|
71
|
-
protected editInPlaceModeRender():
|
|
72
|
+
protected editInPlaceModeRender(): React.ReactNode;
|
|
72
73
|
protected viewModeRender(): JSX.Element;
|
|
73
74
|
protected simpleViewModeRender(): JSX.Element;
|
|
74
75
|
protected renderSimpleViewLabel(): JSX.Element;
|
|
75
76
|
protected renderSimpleViewValue(): JSX.Element;
|
|
76
|
-
renderControl():
|
|
77
|
+
renderControl(): {};
|
|
77
78
|
protected abstract getTextValue(): string;
|
|
78
79
|
/**
|
|
79
80
|
* При переопределении в производных классах должен рендерить контрол в соответствующий элемент.
|
|
@@ -105,6 +106,7 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
|
|
|
105
106
|
protected initEditPopover(popover: EditPopover): void;
|
|
106
107
|
focus(): void;
|
|
107
108
|
protected renderEditPopover(popover: EditPopover): Promise<InputBasedControl<ModelT, PropsT, StateT>>;
|
|
109
|
+
protected getCurrentPlaceholder(): string[];
|
|
108
110
|
protected renderPlaceholder(): JSX.Element;
|
|
109
111
|
protected onInputKeyDown(ev: React.KeyboardEvent<any>): void;
|
|
110
112
|
protected getInputProps(): React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
|
+
import { ILastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
|
|
3
|
+
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
4
|
+
import { $Domain } from "@docsvision/web/core/state-management";
|
|
5
|
+
import { Event, Store } from "effector";
|
|
6
|
+
export declare class LastSearchResponseService implements ILastSearchResponse {
|
|
7
|
+
private services;
|
|
8
|
+
static InstanceId: string;
|
|
9
|
+
static SearchText: string;
|
|
10
|
+
static SearchContextOption: string;
|
|
11
|
+
static ViewId: string;
|
|
12
|
+
$instanceId: Store<string>;
|
|
13
|
+
setInstenceId: Event<string>;
|
|
14
|
+
$searchText: Store<string>;
|
|
15
|
+
setSearchText: Event<string>;
|
|
16
|
+
$searchContextOption: Store<GenModels.SearchContextOption>;
|
|
17
|
+
setSearchContextOption: Event<GenModels.SearchContextOption>;
|
|
18
|
+
constructor(services: $LocalStorage & $Domain);
|
|
19
|
+
private setData;
|
|
20
|
+
}
|