@docsvision/webclient 5.17.3 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Approval/AgreementStageEmployeesLoader.d.ts +3 -0
- package/BackOffice/$DigitalSignature.d.ts +0 -2
- package/BackOffice/AuthenticationKindsView.d.ts +1 -1
- package/BackOffice/CardKindImpl.d.ts +1 -0
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/CommandMenuComponent.d.ts +1 -1
- package/BackOffice/Comments.d.ts +2 -2
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DigitalSignatureService.d.ts +3 -5
- package/BackOffice/DirectoryDesRowSelectDialog.d.ts +2 -5
- package/BackOffice/DirectoryDesignerRow.d.ts +4 -4
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +2 -2
- package/BackOffice/DirectoryEntryModal.d.ts +2 -0
- package/BackOffice/DirectoryEntryModalLogic.d.ts +1 -0
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/DirectoryTree.d.ts +0 -1
- package/BackOffice/DisplayPerformersImpl.d.ts +1 -1
- package/BackOffice/DssSignRequestModels.d.ts +2 -0
- package/BackOffice/EmailButtonView.d.ts +2 -2
- package/BackOffice/EmployeeImpl.d.ts +0 -5
- package/BackOffice/ExistingCardLinkDialog.d.ts +2 -1
- package/BackOffice/FileListConstants.d.ts +0 -4
- package/BackOffice/FileListControl.d.ts +9 -13
- package/BackOffice/FileListControlLogic.d.ts +10 -4
- package/BackOffice/FileListItemComponent.d.ts +1 -0
- package/BackOffice/FileListItemProps.d.ts +2 -2
- package/BackOffice/FileListItemState.d.ts +3 -1
- package/BackOffice/FileSignListDialog.d.ts +2 -10
- package/BackOffice/GetEmployeeGroups.d.ts +1 -0
- package/BackOffice/ICertificateStatus.d.ts +5 -4
- package/BackOffice/IFileOpenRequestModel.d.ts +13 -0
- package/BackOffice/Links.d.ts +2 -2
- package/BackOffice/LinksImpl.d.ts +1 -1
- package/BackOffice/NumeratorImpl.d.ts +2 -1
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerBaseImpl.d.ts +1 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerSelectDialog.d.ts +1 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SetDisplayName.d.ts +2 -0
- package/BackOffice/SignatureDialog.d.ts +2 -11
- package/BackOffice/SignatureDialog.stories.d.ts +0 -13
- package/BackOffice/SignatureDialogFrame.d.ts +0 -2
- package/BackOffice/SignatureDialogLabels.d.ts +2 -2
- package/BackOffice/SignatureDialogLogic.d.ts +0 -20
- package/BackOffice/SignatureDialogMethods.d.ts +2 -2
- package/BackOffice/SignatureDialogSettings.d.ts +2 -2
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/StaffDirectorySelectDialog.d.ts +0 -1
- package/BackOffice/TaskListItemComponent.d.ts +1 -1
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/Utils.d.ts +0 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +1936 -2029
- package/Generated/DocsVision.WebClient.Models.d.ts +4578 -6845
- package/Helpers/Button.d.ts +0 -2
- package/Helpers/ComandBarButton.d.ts +0 -2
- package/Helpers/ComboBox/ComboBoxElement.d.ts +3 -3
- package/Helpers/ComboBox/ComboBoxTitle.d.ts +3 -1
- package/Helpers/ComboBox/Data/ClientModels/IComboBoxElement.d.ts +0 -2
- package/Helpers/CustomTree/CustomTreeNode.d.ts +1 -1
- package/Helpers/DVWebToolConnection/DVWebToolConnection.d.ts +1 -1
- package/Helpers/IconButton.d.ts +0 -2
- package/Helpers/InputMask/InputMaskView.d.ts +1 -1
- package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
- package/Helpers/LabeledText.d.ts +3 -1
- package/Helpers/ModalDialog/ModalDialog.d.ts +0 -1
- package/Helpers/PopoverHelpers/Popover.d.ts +4 -3
- package/Helpers/SliderCheckBox/SliderCheckBox.d.ts +1 -1
- package/Helpers/Table/TableHelperRow.d.ts +0 -1
- package/Legacy/ApprovalFilePanel.d.ts +14 -4
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/DocumentCard.d.ts +1 -1
- package/Legacy/DocumentPanel.d.ts +0 -2
- package/Legacy/ISignatureListItemDataModel.d.ts +0 -1
- package/Legacy/LinkControl.d.ts +1 -1
- package/Legacy/StandardControllers.d.ts +2 -2
- package/Legacy/TaskCardFilePanelRazorControl.d.ts +13 -4
- package/Legacy/TaskCardView.d.ts +1 -0
- package/Legacy/Utils.d.ts +5 -0
- package/Platform/$CommandBarManagement.d.ts +4 -4
- package/Platform/$GridOptions.d.ts +0 -1
- package/Platform/$ScanDialog.d.ts +4 -4
- package/Platform/AutoConsolidation.d.ts +2 -1
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/ButtonPositionsSelection.d.ts +1 -1
- package/Platform/CardLink.d.ts +8 -6
- package/Platform/CardLinkImpl.d.ts +1 -1
- package/Platform/CardManagement.d.ts +2 -1
- package/Platform/CertificateSettingsView.d.ts +1 -1
- package/Platform/CommentFile.d.ts +5 -4
- package/Platform/CommentFileImpl.d.ts +6 -1
- package/Platform/DateTimePickerImpl.d.ts +2 -2
- package/Platform/DownloadFilesBatchOperationImpl.d.ts +1 -1
- package/Platform/ExportESignButton.d.ts +0 -2
- package/Platform/FileExtensions.d.ts +4 -1
- package/Platform/FilePreview.d.ts +5 -2
- package/Platform/FilePreviewImpl.d.ts +4 -9
- package/Platform/FileViewer.d.ts +24 -0
- package/Platform/FolderCardsDashboardWidget.d.ts +0 -2
- package/Platform/FolderViewItemsImpl.d.ts +8 -8
- package/Platform/GetDocType.d.ts +1 -0
- package/Platform/GetFileType.d.ts +1 -0
- package/Platform/IsImageExtension.d.ts +1 -0
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/PdfjsViewer.d.ts +13 -0
- package/Platform/R7Viewer.d.ts +13 -0
- package/Platform/RecentCardsDashboardWidget.d.ts +0 -2
- package/Platform/RecentCardsDashboardWidgetDataLoader.d.ts +2 -2
- package/Platform/ScanButtonImpl.d.ts +1 -0
- package/Platform/ScanDialogService.d.ts +1 -1
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/SettingsPopupLogic.d.ts +1 -1
- package/Platform/Table.d.ts +10 -0
- package/Platform/TableImpl.d.ts +1 -0
- package/Platform/TextListInputView.d.ts +2 -2
- package/Platform/UnreadBarService.d.ts +2 -2
- package/Platform/UnreadBarTablePlugins.d.ts +2 -2
- package/Platform/UnreadCounter.d.ts +1 -2
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/README.md +1 -1
- package/System/$FileService.d.ts +2 -0
- package/System/$LastSearchResponse.d.ts +2 -2
- package/System/$RealtimeCommunicationService.d.ts +2 -0
- package/System/BaseControlImpl.d.ts +1 -1
- package/System/CheckIsLinux.d.ts +1 -0
- package/System/{BaseController.d.ts → ControllerBase.d.ts} +1 -1
- package/System/Decorators.d.ts +7 -7
- package/System/DirectoryBaseImpl.d.ts +1 -0
- package/System/DirectorySelectDialog.d.ts +2 -3
- package/System/FileService.d.ts +4 -0
- package/System/InputBasedControlImpl.d.ts +2 -1
- package/System/JsonUtils.d.ts +1 -0
- package/System/LastSearchResponseService.d.ts +3 -3
- package/System/RealtimeCommunicationService.d.ts +3 -1
- package/System/RealtimeServerSender.d.ts +1 -2
- package/System/ResourcesStub.d.ts +2 -62
- package/System/ServerController.d.ts +2 -2
- package/System/ServiceActionMetaData.d.ts +2 -2
- package/System/StringUtils.d.ts +1 -1
- package/System/Summernote.d.ts +0 -2
- package/System/WebServicesService.d.ts +2 -2
- package/package.json +1 -1
- package/Account/AddBackgroundMovementEffect.d.ts +0 -2
- package/BackOffice/CheckSectionAccessRights.d.ts +0 -3
- package/BackOffice/ConvertPowersOfAttorneyToComboBoxItems.d.ts +0 -7
- package/BackOffice/ConvertResponseToTree.d.ts +0 -4
- package/BackOffice/DeleteSection.d.ts +0 -2
- package/BackOffice/FileSignListDialog.stories.d.ts +0 -13
- package/BackOffice/FindSection.d.ts +0 -9
- package/BackOffice/GetPowersIconClassName.d.ts +0 -7
- package/BackOffice/GetPowersRootSectionId.d.ts +0 -5
- package/BackOffice/GetSearchItemsType.d.ts +0 -2
- package/BackOffice/IExtraFileAdded.d.ts +0 -3
- package/BackOffice/IFileTypeChangeArgs.d.ts +0 -4
- package/BackOffice/IMainFileAdded.d.ts +0 -3
- package/BackOffice/INewFileList.d.ts +0 -3
- package/BackOffice/IPowerModel.d.ts +0 -10
- package/BackOffice/IPowersDataLoadingEventArgs.d.ts +0 -11
- package/BackOffice/IPowersDialog.d.ts +0 -5
- package/BackOffice/IPowersDirectoryOptions.d.ts +0 -12
- package/BackOffice/IPowersTreeRow.d.ts +0 -6
- package/BackOffice/LoadPowersSectionLayoutFunctions.d.ts +0 -7
- package/BackOffice/PowerOfAttorneyErrorMessage.d.ts +0 -7
- package/BackOffice/PowerOfAttorneyInfo.d.ts +0 -11
- package/BackOffice/Powers.d.ts +0 -72
- package/BackOffice/Powers.stories.d.ts +0 -19
- package/BackOffice/PowersDialogLocations.d.ts +0 -3
- package/BackOffice/PowersDirectory.d.ts +0 -49
- package/BackOffice/PowersDirectory.stories.d.ts +0 -20
- package/BackOffice/PowersDirectoryConstants.d.ts +0 -12
- package/BackOffice/PowersDirectoryContainer.d.ts +0 -7
- package/BackOffice/PowersDirectoryHead.d.ts +0 -7
- package/BackOffice/PowersDirectoryInfo.d.ts +0 -16
- package/BackOffice/PowersDirectoryLogic.d.ts +0 -172
- package/BackOffice/PowersDirectorySaveExpandedState.d.ts +0 -5
- package/BackOffice/PowersDirectoryTreeAddButton.d.ts +0 -17
- package/BackOffice/PowersDirectoryView.d.ts +0 -61
- package/BackOffice/PowersImpl.d.ts +0 -72
- package/BackOffice/PowersRootSectionConstants.d.ts +0 -17
- package/BackOffice/PowersSelectDialog.d.ts +0 -74
- package/BackOffice/SetPowersCodeUpdateDate.d.ts +0 -2
- package/BackOffice/SignatureDialogPowersOfAttorney.d.ts +0 -9
- package/BackOffice/ToSearchArea.d.ts +0 -3
- package/Platform/SkipSavingCursorRequestResolver.d.ts +0 -12
- package/System/IRealtimeCommunicationHub.d.ts +0 -15
package/BackOffice/Powers.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { $PowersDirectoryController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
-
import { DirectoryBase, DirectoryBaseParams } from '@docsvision/webclient/System/DirectoryBase';
|
|
3
|
-
import { $CardInfo, $EditOperationStore, $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
4
|
-
import { IBindingResult } from '@docsvision/webclient/System/IBindingResult';
|
|
5
|
-
import { BasicApiEvent, CancelableApiEvent } from '@docsvision/webclient/System/ApiEvent';
|
|
6
|
-
import { IPowersDataLoadingEventArgs } from '@docsvision/webclient/BackOffice/IPowersDataLoadingEventArgs';
|
|
7
|
-
import { PowersImpl, IPowersState } from '@docsvision/webclient/BackOffice/PowersImpl';
|
|
8
|
-
import { IPowersDialog } from '@docsvision/webclient/BackOffice/IPowersDialog';
|
|
9
|
-
import { $LabelWidth } from '@docsvision/webclient/System/$LabelWidth';
|
|
10
|
-
import { Optional } from '@docsvision/web/core/services';
|
|
11
|
-
import { IPowerModel } from '@docsvision/webclient/BackOffice/IPowerModel';
|
|
12
|
-
export declare type $PowersServices = $LayoutInfo & $EditOperationStore & $CardInfo & $PowersDirectoryController & Optional<$LabelWidth>;
|
|
13
|
-
export declare type PowersValueType = IPowerModel | IPowerModel[];
|
|
14
|
-
export declare type PowersNodeType = IPowerModel;
|
|
15
|
-
declare type ItemT = IPowerModel;
|
|
16
|
-
export declare class PowersParams<ValueT extends PowersValueType = PowersValueType> extends DirectoryBaseParams<ValueT, PowersNodeType, ItemT> {
|
|
17
|
-
standardCssClass?: string;
|
|
18
|
-
displayIcon?: boolean;
|
|
19
|
-
/** Доступен ли выбор нескольких значений. */
|
|
20
|
-
multipleSelection?: boolean;
|
|
21
|
-
selectedItem?: ItemT;
|
|
22
|
-
/** Сохранять разметку при изменении значения */
|
|
23
|
-
saveOnChangeValue?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Событие, возникающее перед выполнением поиска записей на сервере. В обработчике события можно изменить параметры запроса.
|
|
26
|
-
* Если в обработчике задать значение result, то запрос на сервер выполнен не будет.
|
|
27
|
-
*/
|
|
28
|
-
searchResultsLoading?: CancelableApiEvent<IPowersDataLoadingEventArgs>;
|
|
29
|
-
/** Событие, возникающее после выполнения поиска записей на сервере. В обработчике события можно изменить возвращенные данные. */
|
|
30
|
-
searchResultsLoaded?: BasicApiEvent<IPowersDataLoadingEventArgs>;
|
|
31
|
-
/** События возникает при добавлении сотрудника. */
|
|
32
|
-
/** @covered */
|
|
33
|
-
itemAdding?: CancelableApiEvent<ValueT>;
|
|
34
|
-
/** События возникает после добавления сотрудника. */
|
|
35
|
-
/** @covered */
|
|
36
|
-
itemAdded?: BasicApiEvent<ValueT>;
|
|
37
|
-
/** События возникает при удалении сотрудника из списка. */
|
|
38
|
-
/** @covered */
|
|
39
|
-
itemRemoving?: CancelableApiEvent<ValueT>;
|
|
40
|
-
/** События возникает после удаления сотрудника из списка. */
|
|
41
|
-
/** @covered */
|
|
42
|
-
itemRemoved?: BasicApiEvent<ValueT>;
|
|
43
|
-
services?: $PowersServices;
|
|
44
|
-
}
|
|
45
|
-
export declare type PowersSingle = Powers<ItemT>;
|
|
46
|
-
export declare type PowersMultiple = Powers<ItemT[]>;
|
|
47
|
-
export declare class Powers<ValueT extends PowersValueType = PowersValueType> extends DirectoryBase<ValueT, PowersNodeType, ItemT, PowersParams<ValueT>, IPowersState<ValueT>> {
|
|
48
|
-
/** @internal */
|
|
49
|
-
protected createParams(): PowersParams<ValueT>;
|
|
50
|
-
/** @internal */
|
|
51
|
-
protected createImpl(): PowersImpl;
|
|
52
|
-
static ControlTypeName: string;
|
|
53
|
-
protected getServices(): $PowersServices;
|
|
54
|
-
private set binding(value);
|
|
55
|
-
get inputChanged():
|
|
56
|
-
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
|
|
57
|
-
/** Удаляет выбранное значение. */
|
|
58
|
-
/** @covered */
|
|
59
|
-
removeItem(item?: ItemT): Promise<void>;
|
|
60
|
-
/** Добавляет значение. */
|
|
61
|
-
addItem(item: ItemT): Promise<void>;
|
|
62
|
-
setParamValue(paramName: string, value: any, initial: boolean): void;
|
|
63
|
-
/** Показывает окно справочника. */
|
|
64
|
-
showDictionary(): Promise<IPowersDialog>;
|
|
65
|
-
/** Скрывает окно справочника. */
|
|
66
|
-
hideDictionary(): Promise<void>;
|
|
67
|
-
protected shouldSaveEditInPlaceValue(): boolean;
|
|
68
|
-
onSaved(): Promise<void>;
|
|
69
|
-
/** @internal */
|
|
70
|
-
protected getBindings(): IBindingResult<any>[];
|
|
71
|
-
}
|
|
72
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Powers } from '@docsvision/webclient/BackOffice/Powers';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Powers;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Edit: () => JSX.Element;
|
|
9
|
-
export declare const EditDisabled: () => JSX.Element;
|
|
10
|
-
export declare const EditSingleSelection: () => JSX.Element;
|
|
11
|
-
export declare const EditMultiSelection: () => JSX.Element;
|
|
12
|
-
export declare const EditInPlace: () => JSX.Element;
|
|
13
|
-
export declare const EditInPlaceDisabled: () => JSX.Element;
|
|
14
|
-
export declare const EditInPlaceSingleSelection: () => JSX.Element;
|
|
15
|
-
export declare const EditInPlaceMultiSelection: () => JSX.Element;
|
|
16
|
-
export declare const ViewSingleSelection: () => JSX.Element;
|
|
17
|
-
export declare const ViewMultiSelection: () => JSX.Element;
|
|
18
|
-
export declare const SelectDialogWithGroups: () => JSX.Element;
|
|
19
|
-
export declare const SelectDialogWithSingleSelectionCodes: () => JSX.Element;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const POWERS_SECTION_INFO_LOCATION_NAME = "DV.PowersDirectory.SectionInfo";
|
|
2
|
-
export declare const POWERS_SECTION_EDIT_LOCATION_NAME = "DV.PowersDirectory.SectionEdit";
|
|
3
|
-
export declare const POWERS_SECTION_CREATE_LOCATION_NAME = "DV.PowersDirectory.SectionCreate";
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/BaseControl";
|
|
3
|
-
import { BaseControlImplState } from "@docsvision/webclient/System/BaseControlImpl";
|
|
4
|
-
import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
|
|
5
|
-
import { $ApplicationSettings, $DeviceType, $IsIE } from "@docsvision/webclient/StandardServices";
|
|
6
|
-
import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
|
|
7
|
-
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
8
|
-
import { IPowersDirectoryLogicOptions, PowersDirectoryLogic } from "@docsvision/webclient/BackOffice/PowersDirectoryLogic";
|
|
9
|
-
import { PowersDirectoryView } from "@docsvision/webclient/BackOffice/PowersDirectoryView";
|
|
10
|
-
import { $SecurityDescriptorDialogServices } from "@docsvision/webclient/Platform/SecurityDescriptorDialog";
|
|
11
|
-
import { $PowersDirectoryOptions } from "@docsvision/webclient/BackOffice/IPowersDirectoryOptions";
|
|
12
|
-
|
|
13
|
-
import { Optional } from "@docsvision/web/core/services";
|
|
14
|
-
import { $WebFrameDirectorySearchPanelService } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService";
|
|
15
|
-
import { BasicApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
16
|
-
import { $Domain } from "@docsvision/web/core/state-management";
|
|
17
|
-
import { IPowersTreeRow } from "@docsvision/webclient/BackOffice/IPowersTreeRow";
|
|
18
|
-
import { $LayoutRowController, $LayoutCardController, $PowersDirectoryController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
19
|
-
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
20
|
-
/**
|
|
21
|
-
* Содержит публичные свойства элемента управления [Справочник полномочий]{@link PowersDirectory}.
|
|
22
|
-
*/
|
|
23
|
-
export declare class PowersDirectoryParams extends BaseControlParams {
|
|
24
|
-
/** Стандартный CSS класс со стилями элемента управления */
|
|
25
|
-
standardCssClass?: string;
|
|
26
|
-
/** Отображаемое в левой части контрола дерево (подразделения, группы или должности) */
|
|
27
|
-
currentSectionsTree?: IPowersTreeRow[];
|
|
28
|
-
/** Вызывается после загрузки корневых узлов дерева. */
|
|
29
|
-
rootTreeSectionsLoaded?: BasicApiEvent<IPowersTreeRow[]>;
|
|
30
|
-
/** Вызывается после любого изменении отображаемого в левой части дерева. */
|
|
31
|
-
currentSectionTreeUpdated?: BasicApiEvent<IPowersTreeRow[]>;
|
|
32
|
-
/** Сервисы. */
|
|
33
|
-
services?: $ApplicationSettings & $LocalStorage & $LayoutRowController & $LayoutCardController & $LayoutManager & $SecurityDescriptorDialogServices & Optional<$PowersDirectoryOptions> & $DeviceType & $IsIE & $WebFrameDirectorySearchPanelService & $Domain & $PowersDirectoryController & $Router;
|
|
34
|
-
}
|
|
35
|
-
export interface IPowersDirectoryState extends BaseControlImplState, PowersDirectoryParams, IPowersDirectoryLogicOptions {
|
|
36
|
-
logic: PowersDirectoryLogic;
|
|
37
|
-
view: PowersDirectoryView;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Класс элемента управления Панель поиска в справочнике.
|
|
41
|
-
*/
|
|
42
|
-
export declare class PowersDirectory extends BaseControl<PowersDirectoryParams, IPowersDirectoryState> {
|
|
43
|
-
construct(): void;
|
|
44
|
-
protected createParams(): PowersDirectoryParams;
|
|
45
|
-
protected createImpl(): ControlImpl;
|
|
46
|
-
private get currentSectionsTree();
|
|
47
|
-
saveExpandedRows(ids: string[]): void;
|
|
48
|
-
renderControl(): JSX.Element;
|
|
49
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PowersDirectory } from "@docsvision/webclient/BackOffice/PowersDirectory";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof PowersDirectory;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Default: () => JSX.Element;
|
|
9
|
-
export declare const ExpandedNode: () => JSX.Element;
|
|
10
|
-
export declare const TreeAddButton: () => JSX.Element;
|
|
11
|
-
export declare const SecuritySettingsButton: () => JSX.Element;
|
|
12
|
-
export declare const GroupContextMenu: () => JSX.Element;
|
|
13
|
-
export declare const CodeContextMenu: () => JSX.Element;
|
|
14
|
-
export declare const RootContextMenu: () => JSX.Element;
|
|
15
|
-
export declare const EditDialog: () => JSX.Element;
|
|
16
|
-
export declare const CreateCodeDialog: () => JSX.Element;
|
|
17
|
-
export declare const CreateGroupDialog: () => JSX.Element;
|
|
18
|
-
export declare const DeleteGroupConfirmation: () => JSX.Element;
|
|
19
|
-
export declare const DeleteCodeConfirmation: () => JSX.Element;
|
|
20
|
-
export declare const SecuritySettingsRow: () => JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const POWERS_DIRECTORY_ID = "30EB75E2-16F8-4150-A2D4-4A82A38A1849";
|
|
2
|
-
export declare const CONTEXT_MENU_EDIT_ICON = "ico-edit-menu";
|
|
3
|
-
export declare const CONTEXT_MENU_INFO_ICON = "ico-info-menu";
|
|
4
|
-
export declare const CONTEXT_MENU_SECURITY_ICON = "ico-security-menu";
|
|
5
|
-
export declare const CONTEXT_MENU_DELETE_ICON = "ico-delete-menu";
|
|
6
|
-
export declare const CONTEXT_MENU_ADD_ICON = "ico-add-menu";
|
|
7
|
-
export declare const CONTEXT_MENU_POWERS_CREATE_GROUP_ID = "CONTEXT_MENU_POWERS_CREATE_GROUP_ID";
|
|
8
|
-
export declare const CONTEXT_MENU_POWERS_CREATE_CODE_ID = "CONTEXT_MENU_POWERS_CREATE_CODE_ID";
|
|
9
|
-
export declare const CONTEXT_MENU_POWERS_ACCESS_RIGHTS_ID = "CONTEXT_MENU_POWERS_ACCESS_RIGHTS_ID";
|
|
10
|
-
export declare const CONTEXT_MENU_POWERS_INFO_ID = "CONTEXT_MENU_POWERS_INFO_ID";
|
|
11
|
-
export declare const CONTEXT_MENU_POWERS_EDIT_ID = "CONTEXT_MENU_POWERS_EDIT_ID";
|
|
12
|
-
export declare const CONTEXT_MENU_POWERS_DELETE_ID = "CONTEXT_MENU_POWERS_DELETE_ID";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PowersDirectoryLogic } from "@docsvision/webclient/BackOffice/PowersDirectoryLogic";
|
|
3
|
-
import { PowersDirectoryView } from "@docsvision/webclient/BackOffice/PowersDirectoryView";
|
|
4
|
-
export declare function PowersDirectoryContainer(props: {
|
|
5
|
-
logic: PowersDirectoryLogic;
|
|
6
|
-
view: PowersDirectoryView;
|
|
7
|
-
}): JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
-
|
|
4
|
-
export interface IPowersDirectoryHeadProps extends HtmlProps.div {
|
|
5
|
-
onDirectorySecurityClick: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function PowersDirectoryHead(props: IPowersDirectoryHeadProps): JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
-
|
|
4
|
-
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
5
|
-
export declare type PowersDirectorySection = {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
};
|
|
9
|
-
export interface IPowersDirectoryInfoProps extends HtmlProps.div {
|
|
10
|
-
section: PowersDirectorySection;
|
|
11
|
-
placeholderText?: string;
|
|
12
|
-
onEditSectionClick: () => void;
|
|
13
|
-
loadLayout: () => Promise<GenModels.LayoutViewModel>;
|
|
14
|
-
}
|
|
15
|
-
export declare const POWERS_DIRECTORY_INFO_LOCATION_NAME = "DV.PowersDirectoryInfo";
|
|
16
|
-
export declare function PowersDirectoryInfo(props: IPowersDirectoryInfoProps): JSX.Element;
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { PowersDirectoryParams } from "@docsvision/webclient/BackOffice/PowersDirectory";
|
|
2
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
-
import { ModalHost } from "@docsvision/webclient/Helpers/ModalHost";
|
|
4
|
-
import { ShowSecurityDescriptorDialogProps } from "@docsvision/webclient/Platform/SecurityDescriptorDialog";
|
|
5
|
-
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
6
|
-
import { ComponentLogic } from "@docsvision/web/core/component";
|
|
7
|
-
import { PowersDirectoryDataType } from "@docsvision/webclient/BackOffice/PowersRootSectionConstants";
|
|
8
|
-
import { IPowersTreeRow } from "@docsvision/webclient/BackOffice/IPowersTreeRow";
|
|
9
|
-
import { IButtonDescription } from "@docsvision/webclient/BackOffice/PowersDirectoryTreeAddButton";
|
|
10
|
-
import React from "react";
|
|
11
|
-
export declare const sectionTabs: string[];
|
|
12
|
-
export declare type PowersDirectorySearchResponseT = {
|
|
13
|
-
items: GenModels.SearchItemModel[];
|
|
14
|
-
hasMore: boolean;
|
|
15
|
-
totalCount: number;
|
|
16
|
-
directoryTimestamp?: number;
|
|
17
|
-
};
|
|
18
|
-
export interface IPowersDirectoryLogicOptions extends PowersDirectoryParams {
|
|
19
|
-
showDeleteConfirmationDialog: (entityName: string, services: $MessageBox, isSection: boolean, dataType: PowersDirectoryDataType) => Promise<void>;
|
|
20
|
-
showSecurityDescriptorDialog: (props: ShowSecurityDescriptorDialogProps) => ModalHost;
|
|
21
|
-
showCreateSectionDialog: (addSection: (value?: string) => Promise<void>, loadCreateSectionLayout: any, services: any, rootSection?: any) => Promise<void>;
|
|
22
|
-
showEditSectionDialog: (editSection: (value?: string) => Promise<void>, loadEditSectionLayout: any, services: any, rootSection?: any) => Promise<void>;
|
|
23
|
-
showEditEmployeeDialog: (editEmployee: (value?: string) => Promise<void>, loadEditEmployeeLayout: any, services: any, EmployeeRow?: any) => Promise<void>;
|
|
24
|
-
showInsufficientAccessRightsMessage: (services: $MessageBox) => Promise<void>;
|
|
25
|
-
}
|
|
26
|
-
export declare class PowersDirectoryLogic extends ComponentLogic<IPowersDirectoryLogicOptions> {
|
|
27
|
-
protected domain:
|
|
28
|
-
import("effector").Domain;
|
|
29
|
-
$tree:
|
|
30
|
-
import("effector").Store<IPowersTreeRow[]>;
|
|
31
|
-
$rootSectionId:
|
|
32
|
-
import("effector").Store<string>;
|
|
33
|
-
sectionSelected:
|
|
34
|
-
import("effector").Event<IPowersTreeRow>;
|
|
35
|
-
$selectedSection:
|
|
36
|
-
import("effector").Store<IPowersTreeRow>;
|
|
37
|
-
initSelection(): void;
|
|
38
|
-
getPlaceholderInfoText:
|
|
39
|
-
import("effector").Event<void>;
|
|
40
|
-
initActiveTab(): void;
|
|
41
|
-
$showAddRowButtons:
|
|
42
|
-
import("effector").Store<boolean>;
|
|
43
|
-
clickAddRowGroupButton:
|
|
44
|
-
import("effector").Event<object>;
|
|
45
|
-
clickAddRowCodeButton:
|
|
46
|
-
import("effector").Event<object>;
|
|
47
|
-
clickImportRowGroupButton:
|
|
48
|
-
import("effector").Event<object>;
|
|
49
|
-
showAddRowButtonsToggle:
|
|
50
|
-
import("effector").Event<void>;
|
|
51
|
-
$addRowButtons:
|
|
52
|
-
import("effector").Store<IButtonDescription[]>;
|
|
53
|
-
initAddRowButtons(): void;
|
|
54
|
-
contextMenu:
|
|
55
|
-
import("effector").Event<React.MouseEvent<Element, MouseEvent>>;
|
|
56
|
-
contextMenuFx:
|
|
57
|
-
import("effector").Effect<React.MouseEvent<Element, MouseEvent>, void, Error>;
|
|
58
|
-
$contextMenuName:
|
|
59
|
-
import("effector").Store<string>;
|
|
60
|
-
initMainContextMenu(): void;
|
|
61
|
-
componentDidMount:
|
|
62
|
-
import("effector").Event<void>;
|
|
63
|
-
checkReadDirectoryAccess:
|
|
64
|
-
import("effector").Effect<void, boolean, Error>;
|
|
65
|
-
$readDirectoryAccess:
|
|
66
|
-
import("effector").Store<boolean>;
|
|
67
|
-
loadRootSectionsFx:
|
|
68
|
-
import("effector").Effect<void, IPowersTreeRow[], Error>;
|
|
69
|
-
loadSubsectionsFx:
|
|
70
|
-
import("effector").Effect<{
|
|
71
|
-
parentSectionId: string;
|
|
72
|
-
}, IPowersTreeRow[], Error>;
|
|
73
|
-
reloadSubsectionsFx:
|
|
74
|
-
import("effector").Effect<{
|
|
75
|
-
parentSectionId: string;
|
|
76
|
-
expanded?: boolean;
|
|
77
|
-
}, IPowersTreeRow[], Error>;
|
|
78
|
-
reloadSubsection:
|
|
79
|
-
import("effector").Event<{
|
|
80
|
-
parentSectionId: string;
|
|
81
|
-
expanded?: boolean;
|
|
82
|
-
}>;
|
|
83
|
-
loadSectionsFx:
|
|
84
|
-
import("effector").Effect<{
|
|
85
|
-
parentSectionId: string;
|
|
86
|
-
}, IPowersTreeRow[], Error>;
|
|
87
|
-
initTreeLoading(options: PowersDirectoryParams): void;
|
|
88
|
-
$placeholderInfoText:
|
|
89
|
-
import("effector").Store<string>;
|
|
90
|
-
initInfo(options: PowersDirectoryParams): void;
|
|
91
|
-
showSectionInfoDialog:
|
|
92
|
-
import("effector").Event<{
|
|
93
|
-
section: IPowersTreeRow;
|
|
94
|
-
}>;
|
|
95
|
-
loadSectionInfoLayoutFx:
|
|
96
|
-
import("effector").Effect<{
|
|
97
|
-
section: IPowersTreeRow;
|
|
98
|
-
}, GenModels.LayoutViewModel, Error>;
|
|
99
|
-
loadSectionSummaryLayoutFx:
|
|
100
|
-
import("effector").Effect<{
|
|
101
|
-
section: IPowersTreeRow;
|
|
102
|
-
}, GenModels.LayoutViewModel, Error>;
|
|
103
|
-
canShowSectionEditDialog:
|
|
104
|
-
import("effector").Event<{
|
|
105
|
-
section: IPowersTreeRow;
|
|
106
|
-
}>;
|
|
107
|
-
showSectionEditDialog:
|
|
108
|
-
import("effector").Event<{
|
|
109
|
-
section: IPowersTreeRow;
|
|
110
|
-
}>;
|
|
111
|
-
loadSectionEditLayoutFx:
|
|
112
|
-
import("effector").Effect<{
|
|
113
|
-
section: IPowersTreeRow;
|
|
114
|
-
}, GenModels.LayoutViewModel, Error>;
|
|
115
|
-
sectionEditDialogAccepted:
|
|
116
|
-
import("effector").Event<{
|
|
117
|
-
section: IPowersTreeRow;
|
|
118
|
-
}>;
|
|
119
|
-
canShowSectionCreateDialog:
|
|
120
|
-
import("effector").Event<{
|
|
121
|
-
parentSection: IPowersTreeRow;
|
|
122
|
-
type: PowersDirectoryDataType;
|
|
123
|
-
}>;
|
|
124
|
-
showSectionCreateDialog:
|
|
125
|
-
import("effector").Event<{
|
|
126
|
-
parentSection: IPowersTreeRow;
|
|
127
|
-
type: PowersDirectoryDataType;
|
|
128
|
-
}>;
|
|
129
|
-
sectionCreateDialogAccepted:
|
|
130
|
-
import("effector").Event<{
|
|
131
|
-
parentSection: IPowersTreeRow;
|
|
132
|
-
}>;
|
|
133
|
-
loadSectionCreateLayoutFx:
|
|
134
|
-
import("effector").Effect<{
|
|
135
|
-
parentSection: IPowersTreeRow;
|
|
136
|
-
type?: GenModels.DirectoryDataType;
|
|
137
|
-
}, GenModels.LayoutViewModel, Error>;
|
|
138
|
-
initSectionModals(options: IPowersDirectoryLogicOptions): void;
|
|
139
|
-
canDeleteSection:
|
|
140
|
-
import("effector").Event<{
|
|
141
|
-
sectionId?: string;
|
|
142
|
-
type?: PowersDirectoryDataType;
|
|
143
|
-
}>;
|
|
144
|
-
deleteSection:
|
|
145
|
-
import("effector").Event<{
|
|
146
|
-
sectionId?: string;
|
|
147
|
-
type?: PowersDirectoryDataType;
|
|
148
|
-
}>;
|
|
149
|
-
deleteSectionFx:
|
|
150
|
-
import("effector").Effect<{
|
|
151
|
-
section?: IPowersTreeRow;
|
|
152
|
-
type?: PowersDirectoryDataType;
|
|
153
|
-
}, void, Error>;
|
|
154
|
-
$deletingSection:
|
|
155
|
-
import("effector").Store<IPowersTreeRow[]>;
|
|
156
|
-
confirmDeleteFx:
|
|
157
|
-
import("effector").Effect<{
|
|
158
|
-
entityName: string;
|
|
159
|
-
isSection: boolean;
|
|
160
|
-
dataType: PowersDirectoryDataType;
|
|
161
|
-
}, void, Error>;
|
|
162
|
-
$loading:
|
|
163
|
-
import("effector").Store<IPowersTreeRow[]>;
|
|
164
|
-
showSecuritySettings:
|
|
165
|
-
import("effector").Event<{
|
|
166
|
-
sectionId?: string;
|
|
167
|
-
sectionType?: PowersDirectoryDataType;
|
|
168
|
-
descriptorTargetType?: number;
|
|
169
|
-
}>;
|
|
170
|
-
initPowersContextMenu(options: IPowersDirectoryLogicOptions): void;
|
|
171
|
-
init(options: IPowersDirectoryLogicOptions): void;
|
|
172
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const LOCAL_STORAGE_POWERS_DIRECTORY_EXPANDED_NODES = "powers_directory_tree_expanded_nodes";
|
|
2
|
-
export declare function saveDirectoryExpandedNodeIds(directoryKey: string, nodes: string[]): void;
|
|
3
|
-
export declare function getDirectoryExpandedNodeIds(directoryKey: string): any;
|
|
4
|
-
export declare function addDirectoryExpandedNodeId(directoryKey: string, id: string): void;
|
|
5
|
-
export declare function removeDirectoryExpandedNodeId(directoryKey: string, id: string): void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { HtmlProps } from '@docsvision/web/core/component';
|
|
3
|
-
|
|
4
|
-
export interface IButtonDescription {
|
|
5
|
-
displayName: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
visible: boolean;
|
|
8
|
-
onClick: () => void;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
tooltip?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IPowersDirectoryTreeAddButtonProps extends HtmlProps.div {
|
|
13
|
-
buttons: IButtonDescription[];
|
|
14
|
-
onAddButtonClick: () => void;
|
|
15
|
-
displayName?: string;
|
|
16
|
-
}
|
|
17
|
-
export declare function PowersDirectoryTreeAddButton(props: IPowersDirectoryTreeAddButtonProps): JSX.Element;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DirectoryTabInfo } from "@docsvision/webclient/BackOffice/DirectoryTabInfo";
|
|
3
|
-
import { DirectoryFrame } from "@docsvision/webclient/BackOffice/DirectoryFrame";
|
|
4
|
-
import { SliderCheckBox } from "@docsvision/webclient/Helpers/SliderCheckBox/SliderCheckBox";
|
|
5
|
-
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
6
|
-
import { showSecurityDescriptorDialog } from "@docsvision/webclient/Platform/SecurityDescriptorDialog";
|
|
7
|
-
import { IDirectoryTreeRow } from "@docsvision/webclient/BackOffice/IDirectoryTreeRow";
|
|
8
|
-
import { DirectoryValuesIcon } from "@docsvision/webclient/BackOffice/DirectoryValuesIcon";
|
|
9
|
-
import { PowersDirectoryHead } from "@docsvision/webclient/BackOffice/PowersDirectoryHead";
|
|
10
|
-
import { PowersDirectoryInfo } from "@docsvision/webclient/BackOffice/PowersDirectoryInfo";
|
|
11
|
-
import { PowersDirectoryTreeAddButton } from "@docsvision/webclient/BackOffice/PowersDirectoryTreeAddButton";
|
|
12
|
-
import { PowersDirectoryDataType } from "@docsvision/webclient/BackOffice/PowersRootSectionConstants";
|
|
13
|
-
export declare const POWERS_CODE_TAB_ID = "powers code";
|
|
14
|
-
export declare const INFO_TAB_ID = "info";
|
|
15
|
-
export declare const CREATE_SECTION_HEADERS: {
|
|
16
|
-
0: string;
|
|
17
|
-
1: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const CREATE_ROOT_SECTION_HEADERS: {
|
|
20
|
-
0: string;
|
|
21
|
-
};
|
|
22
|
-
export declare class PowersDirectoryView {
|
|
23
|
-
leftTabs: DirectoryTabInfo[];
|
|
24
|
-
rightTabs: DirectoryTabInfo[];
|
|
25
|
-
frame: typeof DirectoryFrame;
|
|
26
|
-
head: typeof PowersDirectoryHead;
|
|
27
|
-
tabs: (props:
|
|
28
|
-
import("@docsvision/webclient/DirectoryEdit/DirectoryTabs").DirectoryTabsProps) => JSX.Element;
|
|
29
|
-
tree: (props:
|
|
30
|
-
import("@docsvision/webclient/DirectoryEdit/DirectoryTree").DirectoryTreeProps) => JSX.Element;
|
|
31
|
-
employees: (props:
|
|
32
|
-
import("@docsvision/webclient/DirectoryEdit/DirectoryValues").DirectoryValuesProps) => JSX.Element;
|
|
33
|
-
entryModal: (props:
|
|
34
|
-
import("@docsvision/webclient/DirectoryEdit/DirectoryEntryModal").IDirectoryEntryModalProps<any, any>) => JSX.Element;
|
|
35
|
-
sectionInfo: typeof PowersDirectoryInfo;
|
|
36
|
-
showAllButton: typeof SliderCheckBox;
|
|
37
|
-
removeIcon: typeof DirectoryValuesIcon;
|
|
38
|
-
treeAddButton: typeof PowersDirectoryTreeAddButton;
|
|
39
|
-
powersContextMenuItemNames: {
|
|
40
|
-
accessRights: string;
|
|
41
|
-
info: string;
|
|
42
|
-
edit: string;
|
|
43
|
-
createGroup: string;
|
|
44
|
-
createCode: string;
|
|
45
|
-
delete: string;
|
|
46
|
-
};
|
|
47
|
-
getConfirmationDialogText: (entityName: string, isSection: boolean, dataType: PowersDirectoryDataType) => any;
|
|
48
|
-
showDeleteConfirmationDialog: (entityName: string, services: $MessageBox, isSection: boolean, dataType: PowersDirectoryDataType) => Promise<void>;
|
|
49
|
-
showSecurityDescriptorDialog: typeof showSecurityDescriptorDialog;
|
|
50
|
-
getSectionInfoDialogHeader: (params: {
|
|
51
|
-
section: IDirectoryTreeRow;
|
|
52
|
-
}) => string;
|
|
53
|
-
getSectionEditDialogHeader: (params: {
|
|
54
|
-
section: IDirectoryTreeRow;
|
|
55
|
-
}) => string;
|
|
56
|
-
getSectionCreateDialogHeader: (params: {
|
|
57
|
-
parentSection: IDirectoryTreeRow;
|
|
58
|
-
type: PowersDirectoryDataType;
|
|
59
|
-
}) => any;
|
|
60
|
-
showInsufficientAccessRightsMessage: (services: $MessageBox) => Promise<void>;
|
|
61
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { IBoxWithButtonsButtonInfo } from '@docsvision/webclient/Helpers/BoxWithButtons';
|
|
2
|
-
import { ITypeaheadSearchQuery } from '@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadSearchQuery';
|
|
3
|
-
import { ITypeaheadSearchResult } from '@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadSearchResult';
|
|
4
|
-
import { ITypeaheadVariant } from '@docsvision/webclient/Helpers/Typeahead/Models/ITypeaheadVariant';
|
|
5
|
-
import { DirectoryBaseImpl, DirectoryBaseState } from '@docsvision/webclient/System/DirectoryBaseImpl';
|
|
6
|
-
import { DirectorySelectDialog, IDirectorySelectDialogProps } from '@docsvision/webclient/System/DirectorySelectDialog';
|
|
7
|
-
import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import { PowersNodeType, PowersParams, PowersValueType } from '@docsvision/webclient/BackOffice/Powers';
|
|
10
|
-
import { DirectorySelectingMode } from '@docsvision/webclient/System/DirectorySelectingMode';
|
|
11
|
-
import { IDirectorySelectDialog } from '@docsvision/webclient/System/IDirectorySelectDialog';
|
|
12
|
-
import { IPowerModel } from '@docsvision/webclient/BackOffice/IPowerModel';
|
|
13
|
-
declare type ItemT = IPowerModel;
|
|
14
|
-
export interface IPowersState<ValueT extends PowersValueType = PowersValueType> extends PowersParams<ValueT>, DirectoryBaseState<ValueT, PowersNodeType, ItemT> {
|
|
15
|
-
dialogSelectedValues: ItemT[];
|
|
16
|
-
enableItemsAnimation: boolean;
|
|
17
|
-
inputChanged: SimpleEvent<string>;
|
|
18
|
-
onMouseOverInfo: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare class PowersImpl extends DirectoryBaseImpl<PowersValueType, PowersNodeType, ItemT, PowersParams, IPowersState> {
|
|
21
|
-
private initialSetValue;
|
|
22
|
-
static FAVORITES_COUNT: number;
|
|
23
|
-
constructor(props: PowersParams, state: IPowersState);
|
|
24
|
-
protected getTextValue(): string;
|
|
25
|
-
protected getCssClass(): string;
|
|
26
|
-
protected onInputChange(event: any): Promise<void>;
|
|
27
|
-
protected getIconClassName(): string;
|
|
28
|
-
hasValue(): boolean;
|
|
29
|
-
protected getButtons(): IBoxWithButtonsButtonInfo[];
|
|
30
|
-
protected onIconClick(): void;
|
|
31
|
-
protected onInputBlur(event: React.FocusEvent): void;
|
|
32
|
-
private saveCard;
|
|
33
|
-
private shouldSaveCardWithEditInPlaceValue;
|
|
34
|
-
private isLayoutViewMode;
|
|
35
|
-
protected renderWithText(): JSX.Element;
|
|
36
|
-
protected renderWithTextSingleSelection(): JSX.Element;
|
|
37
|
-
protected editInPlaceModeRender(): JSX.Element;
|
|
38
|
-
protected renderEditItemList(): JSX.Element;
|
|
39
|
-
protected renderWithTextMultipleSelection: () => JSX.Element;
|
|
40
|
-
protected renderViewItemList(vertical?: boolean, showIcons?: boolean): string | JSX.Element;
|
|
41
|
-
protected renderSimpleViewValue(): JSX.Element;
|
|
42
|
-
protected processTypeaheadSelected(typeaheadVariant: ITypeaheadVariant): Promise<void>;
|
|
43
|
-
onSelectedValue(variantValue: IPowerModel): Promise<void>;
|
|
44
|
-
protected onMouseDownIcon(): void;
|
|
45
|
-
protected getTypeaheadProps():
|
|
46
|
-
import("D:/Repositories/Webc17/Bin/TypeScriptDefinitions/Helpers/Typeahead/ITypeaheadProps").ITypeaheadProps & {
|
|
47
|
-
ref: any;
|
|
48
|
-
};
|
|
49
|
-
getSelectingMode(): DirectorySelectingMode;
|
|
50
|
-
getValueAsString(value: ItemT | ItemT[]): string;
|
|
51
|
-
getDisplayName(item: ItemT): string;
|
|
52
|
-
protected alreadySelected(val: IPowerModel): boolean;
|
|
53
|
-
protected findItems(typeaheadQuery: ITypeaheadSearchQuery): Promise<ITypeaheadSearchResult>;
|
|
54
|
-
setValue(value: PowersValueType, redraw: boolean): Promise<void>;
|
|
55
|
-
private saveValueOnChange;
|
|
56
|
-
private valuesEqual;
|
|
57
|
-
protected getValuePath(value: PowersValueType): PowersNodeType[];
|
|
58
|
-
attachDialogComponent: (dialog: DirectorySelectDialog<PowersValueType, PowersNodeType, ItemT>) => void;
|
|
59
|
-
showDictionary(): Promise<IDirectorySelectDialog>;
|
|
60
|
-
protected focusInput: () => void;
|
|
61
|
-
onRemoveClick(item: ItemT, ev?: React.MouseEvent | React.TouchEvent): Promise<void>;
|
|
62
|
-
hideDictionary(): Promise<void>;
|
|
63
|
-
protected cancelModal(): void;
|
|
64
|
-
protected onDirectoryDialogSelectButtonClick(): Promise<void>;
|
|
65
|
-
protected renderInto(props: PowersParams, container: HTMLElement): void;
|
|
66
|
-
protected onDialogSelectedValuesChanged: (values: ItemT[]) => void;
|
|
67
|
-
protected renderSelectDialog(props: IDirectorySelectDialogProps<PowersValueType, PowersNodeType, ItemT> & {
|
|
68
|
-
ref: any;
|
|
69
|
-
}): JSX.Element;
|
|
70
|
-
renderTypeahead(): JSX.Element;
|
|
71
|
-
}
|
|
72
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare enum PowersDirectoryDataType {
|
|
2
|
-
Group = 0,
|
|
3
|
-
Code = 1
|
|
4
|
-
}
|
|
5
|
-
export declare const POWERS_GROUP_SECTION_ID = "9aead34d-6892-4e39-928e-9fde31fb4194";
|
|
6
|
-
export declare const POWERS_CODE_SECTION_ID = "5b1a131c-d99b-4227-b53b-62db6bd6daeb";
|
|
7
|
-
export declare const POWERS_TREE_ROOT_TYPES: {
|
|
8
|
-
"9aead34d-6892-4e39-928e-9fde31fb4194": number;
|
|
9
|
-
};
|
|
10
|
-
export declare const POWERS_TREE_ROOT_WRAP_NAMES: {
|
|
11
|
-
"9aead34d-6892-4e39-928e-9fde31fb4194": string;
|
|
12
|
-
};
|
|
13
|
-
export declare const POWERS_TREE_SECTION_IDS: {
|
|
14
|
-
0: string;
|
|
15
|
-
1: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const POWERS_SECTION_ROOT_IDS: string[];
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { $PowersDirectoryController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
-
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
|
-
import { FieldNameAccessor } from '@docsvision/webclient/Helpers/DynamicModel/FieldNameAccessor';
|
|
4
|
-
import { FuncAccessor } from '@docsvision/webclient/Helpers/DynamicModel/FuncAccessor';
|
|
5
|
-
import { DirectorySelectDialog, IDirectorySelectDialogProps, IDirectorySelectDialogState } from '@docsvision/webclient/System/DirectorySelectDialog';
|
|
6
|
-
import { IDirectoryChildrenLoadResponse, IDirectoryItem, IDirectorySearchItem, IDirectorySearchResponse } from '@docsvision/webclient/System/DirectoryServerModels';
|
|
7
|
-
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
8
|
-
import React from "react";
|
|
9
|
-
import { $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
10
|
-
import { PowersValueType, PowersNodeType } from "@docsvision/webclient/BackOffice/Powers";
|
|
11
|
-
import { IPowersDialog } from "@docsvision/webclient/BackOffice/IPowersDialog";
|
|
12
|
-
import { IPowersDataLoadingEventArgs } from "@docsvision/webclient/BackOffice/IPowersDataLoadingEventArgs";
|
|
13
|
-
import { IPowerModel } from '@docsvision/webclient/BackOffice/IPowerModel';
|
|
14
|
-
declare type ItemT = IPowerModel;
|
|
15
|
-
/** @internal */
|
|
16
|
-
export interface IPowersSelectDialogSearchPathOptions {
|
|
17
|
-
path: GenModels.DepartmentModel[];
|
|
18
|
-
notAppendToSelectedFilterPath?: boolean;
|
|
19
|
-
}
|
|
20
|
-
/** @internal */
|
|
21
|
-
export interface IPowersSelectDialogProps extends IDirectorySelectDialogProps<PowersValueType, PowersNodeType, ItemT> {
|
|
22
|
-
searchResultsLoading: CancelableApiEvent<IPowersDataLoadingEventArgs>;
|
|
23
|
-
searchResultsLoaded: BasicApiEvent<IPowersDataLoadingEventArgs>;
|
|
24
|
-
onSelectedValuesChanged: (values: ItemT[]) => void;
|
|
25
|
-
multipleSelection: boolean;
|
|
26
|
-
initialSelectedValues: ItemT[];
|
|
27
|
-
services: $PowersDirectoryController & $CardInfo;
|
|
28
|
-
}
|
|
29
|
-
/** @internal */
|
|
30
|
-
export interface IPowersSelectDialogState extends IDirectorySelectDialogState<PowersValueType, PowersNodeType, ItemT> {
|
|
31
|
-
selectedValues: ItemT[];
|
|
32
|
-
previousSelected: ItemT;
|
|
33
|
-
isGroupSearch: boolean;
|
|
34
|
-
}
|
|
35
|
-
/** @internal */
|
|
36
|
-
export declare class PowersSelectDialog extends DirectorySelectDialog<PowersValueType, PowersNodeType, ItemT, IPowersSelectDialogProps, IPowersSelectDialogState> implements IPowersDialog {
|
|
37
|
-
directoryDataId: FieldNameAccessor<IPowerModel, string>;
|
|
38
|
-
directoryDataName: FuncAccessor<IPowerModel, string>;
|
|
39
|
-
directoryDataTip: FuncAccessor<IPowerModel, string>;
|
|
40
|
-
constructor(props: IPowersSelectDialogProps);
|
|
41
|
-
protected getSearchItemDisplayName(item: IDirectorySearchItem<IPowerModel, IPowerModel>): string;
|
|
42
|
-
protected search(searchText: string, nodeId: string, nodeType: GenModels.DirectoryDataType, maxCount: number, skip: number, reset: boolean): Promise<IDirectorySearchResponse<IPowerModel, IPowerModel>>;
|
|
43
|
-
protected getSearchItemIconClassName(item: IDirectorySearchItem<PowersNodeType, PowersNodeType | ItemT>): string;
|
|
44
|
-
protected getSearchItemTooltip(item: IDirectorySearchItem<PowersNodeType, PowersNodeType | ItemT>): string;
|
|
45
|
-
protected getItemDisplayName(item: IDirectoryItem<ItemT>): string;
|
|
46
|
-
protected getItemIconClassName(item: IDirectoryItem<ItemT>): string;
|
|
47
|
-
protected getItemTooltip(item: IDirectoryItem<ItemT>): string;
|
|
48
|
-
get selectedItems(): IPowerModel[];
|
|
49
|
-
set selectedItems(items: IPowerModel[]);
|
|
50
|
-
protected itemHasChildren(item: IDirectoryItem<PowersNodeType | ItemT>): boolean;
|
|
51
|
-
protected itemIsNode(item: IDirectoryItem<PowersNodeType | ItemT>): boolean;
|
|
52
|
-
protected loadChildrenList(nodeId: string, nodeType: GenModels.DirectoryDataType, from: number, to: number): Promise<IDirectoryChildrenLoadResponse<PowersNodeType | ItemT>>;
|
|
53
|
-
isPowersItemSelected(item: IDirectoryItem<ItemT>): boolean;
|
|
54
|
-
protected onChildrenListItemFocus(item: IDirectoryItem<ItemT>, ev: React.FocusEvent): void;
|
|
55
|
-
protected onChildrenListItemClick(item: IDirectoryItem<ItemT>, ev: React.MouseEvent): void;
|
|
56
|
-
protected onChildrenListItemSelectSibling(mode: 'prev' | 'next', index: number, getCollectionData: () => IDirectoryItem<ItemT>[]): void;
|
|
57
|
-
private onPowersItemClick;
|
|
58
|
-
protected onDialogAccept(): void;
|
|
59
|
-
protected processMultiSelectValue(item: IDirectoryItem<ItemT>): void;
|
|
60
|
-
protected isGoToButtonActive(item: IDirectoryItem<ItemT>): boolean;
|
|
61
|
-
protected onChildrenListItemKeyDown(item: IDirectoryItem<ItemT>, ev: React.KeyboardEvent<unknown>): boolean;
|
|
62
|
-
protected onChildrenListItemDoubleClick(item: IDirectoryItem<ItemT>, ev: React.MouseEvent<unknown>): boolean;
|
|
63
|
-
protected isItemAllowedToAccept(item: IDirectoryItem<ItemT>): boolean;
|
|
64
|
-
protected onItemDoubleClick(item: IDirectoryItem<ItemT>, ev: React.MouseEvent<unknown>): boolean;
|
|
65
|
-
protected onPowersItemKeyDown(item: IDirectoryItem<ItemT>, ev: React.KeyboardEvent<unknown>): boolean;
|
|
66
|
-
protected onRemoveMultiSelectItemClick(item: IPowerModel): void;
|
|
67
|
-
protected renderDialogBreadcrumbs(): JSX.Element;
|
|
68
|
-
protected getDialogHeader(): JSX.Element;
|
|
69
|
-
protected renderSearchInput(): any;
|
|
70
|
-
protected renderItemName(item: IDirectoryItem<ItemT>): JSX.Element;
|
|
71
|
-
protected isDialogSelectButtonEnabled(): boolean;
|
|
72
|
-
protected renderDialogSelectButtonName(): string;
|
|
73
|
-
}
|
|
74
|
-
export {};
|