@docsvision/webclient 5.17.0-beta.2 → 5.17.0-beta.6
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/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/PartnerBase.d.ts +2 -2
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SearchBar.d.ts +4 -0
- package/BackOffice/StaffDirectoryConstants.d.ts +15 -0
- package/BackOffice/StaffDirectoryItems.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +3 -2
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +2 -1
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +6 -1
- package/Generated/DocsVision.WebClient.Models.d.ts +102 -9
- package/Helpers/DateRangePicker/DateRangePicker.d.ts +27 -0
- package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
- package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
- package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +16 -0
- package/Legacy/ApprovalFilePanel.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +0 -1
- package/Platform/$ContextMenuOptions.d.ts +1 -0
- package/Platform/$FolderDataLoading.d.ts +3 -1
- package/Platform/$FolderGrid.d.ts +7 -0
- package/Platform/$TablePresentationToggle.d.ts +8 -0
- package/Platform/ArchivedCardsIcon.d.ts +4 -1
- package/Platform/ArchivedCardsPlugin.d.ts +1 -1
- package/Platform/ArchivedCardsResponseResolver.d.ts +1 -2
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CalendarInput.d.ts +1 -1
- package/Platform/ClearButton.d.ts +7 -5
- package/Platform/DateInput.d.ts +3 -13
- package/Platform/Dropdown.d.ts +4 -0
- package/Platform/FilterDate.d.ts +11 -0
- package/Platform/FilterDateRangePicker.d.ts +6 -0
- package/Platform/FilterDateTextListInput.d.ts +5 -0
- package/Platform/FocusableTextInput.d.ts +3 -8
- package/Platform/FolderDataLoadingService.d.ts +3 -1
- package/Platform/FolderGrid.d.ts +1 -1
- package/Platform/FolderGrid.stories.d.ts +1 -0
- package/Platform/FolderGridConstants.d.ts +7 -0
- package/Platform/FolderGridService.d.ts +4 -1
- package/Platform/IFilterComponent.d.ts +29 -0
- package/Platform/InputWithMask.d.ts +4 -3
- package/Platform/ListCheckbox.d.ts +6 -0
- package/Platform/ListContent.d.ts +8 -0
- package/Platform/ListContentHightlight.d.ts +9 -0
- package/Platform/ListEmpty.d.ts +6 -0
- package/Platform/ListEmptySearchIcon.d.ts +6 -0
- package/Platform/ListInput.d.ts +9 -0
- package/Platform/ListItem.d.ts +6 -0
- package/Platform/ListLoading.d.ts +6 -0
- package/Platform/ListSearchIcon.d.ts +6 -0
- package/Platform/ListSlot.d.ts +7 -0
- package/Platform/ListTotalItem.d.ts +8 -0
- package/Platform/ListViewResponseResolver.d.ts +13 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/SearchTextInput.d.ts +6 -0
- package/Platform/SecurityDescriptorDialog.d.ts +1 -1
- package/Platform/SettingsPopup.d.ts +1 -1
- package/Platform/SettingsPopupExtendedData.d.ts +2 -2
- package/Platform/SettingsPopupLogic.d.ts +7 -1
- package/Platform/SettingsPopupResponseResolver.d.ts +0 -2
- package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
- package/Platform/TablePresentationToggleService.d.ts +8 -0
- package/Platform/TextListInput.d.ts +6 -0
- package/Platform/TextListInputLogic.d.ts +55 -0
- package/Platform/TextListInputView.d.ts +40 -0
- package/Platform/TextListInputWrapper.d.ts +7 -0
- package/Platform/UnreadBarTablePlugins.d.ts +3 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/WebFrameSearchPanel.d.ts +4 -2
- package/Platform/applyCurrentSettings.d.ts +7 -1
- package/Platform/setColumnsSettings.d.ts +6 -0
- package/Platform/updateValueCheckedColumn.d.ts +5 -1
- package/System/BaseControl.d.ts +1 -0
- package/System/CancelableEvent.d.ts +1 -1
- package/System/ControlTemplateView.d.ts +1 -1
- package/System/DirectoryBaseImpl.d.ts +2 -2
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/summernote-paste-without-formating.d.ts +10 -0
- package/package.json +1 -1
- package/Legacy/SearchPanelRouteHandler.d.ts +0 -18
- package/Platform/GridConstants.d.ts +0 -4
|
@@ -37,17 +37,17 @@ export declare class ChildTasksPerformingImpl extends BaseControlImpl<Params, St
|
|
|
37
37
|
unselectAll(): Promise<void>;
|
|
38
38
|
protected HeaderCell:
|
|
39
39
|
import("styled-components").StyledComponent<(props:
|
|
40
|
-
import("C:/
|
|
40
|
+
import("C:/dev/WebClient/Bin/Helpers/Table/TableHelperHeaderRow").ITableHeaderCellHelperProps) => JSX.Element, any, {}, never>;
|
|
41
41
|
protected TaskStatus:
|
|
42
42
|
import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
43
43
|
protected SelectableCell:
|
|
44
44
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
45
|
-
import("C:/
|
|
45
|
+
import("C:/dev/WebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
46
46
|
selected: boolean;
|
|
47
47
|
}, never>;
|
|
48
48
|
protected FileCell:
|
|
49
49
|
import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
50
|
-
import("C:/
|
|
50
|
+
import("C:/dev/WebClient/Bin/Helpers/Table/TableHelperRow").ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>, any, {
|
|
51
51
|
selected: boolean;
|
|
52
52
|
}, never>;
|
|
53
53
|
protected SelectAllCheckboxLabel:
|
|
@@ -6,6 +6,6 @@ export declare const PredefinedSeparator:
|
|
|
6
6
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
7
7
|
export declare const Item:
|
|
8
8
|
import("styled-components").StyledComponent<(props:
|
|
9
|
-
import("C:/
|
|
9
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Breadcrumbs/ButtonItem").IBreadcrumbsItemProps) => JSX.Element, any, {}, never>;
|
|
10
10
|
export declare const ReadonlyLinkItemView:
|
|
11
11
|
import("styled-components").StyledComponent<any, any, object, string>;
|
|
@@ -13,7 +13,7 @@ import("react").ForwardRefExoticComponent<Pick<
|
|
|
13
13
|
import("./components/DirectorySearchContent").IDirectorySearchContentProps, "data" | "dir" | "slot" | "style" | "title" | "children" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "opened" | "hidden" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "renderContent"> &
|
|
14
14
|
import("react").RefAttributes<unknown>>;
|
|
15
15
|
iconButton: (props:
|
|
16
|
-
import("C:/
|
|
16
|
+
import("C:/dev/WebClient/Helpers/IconButton").IIconButtonProps) => JSX.Element;
|
|
17
17
|
searchResultList: typeof DirectorySearchResultList;
|
|
18
18
|
searchBreadcrumbs: typeof DirectorySearchBreadcrumbs;
|
|
19
19
|
searchInfo: typeof DirectorySearchInfo;
|
|
@@ -38,7 +38,7 @@ export declare class ExistingCardLinkDialog extends React.Component<Props, State
|
|
|
38
38
|
private attachRoot;
|
|
39
39
|
DialogBox:
|
|
40
40
|
import("styled-components").StyledComponent<(props:
|
|
41
|
-
import("C:/
|
|
41
|
+
import("C:/dev/WebClient/Bin/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
42
42
|
close(): void;
|
|
43
43
|
onMaximize: () => void;
|
|
44
44
|
render(): JSX.Element;
|
|
@@ -67,8 +67,8 @@ export declare class PartnerBaseParams<T> extends InputBasedControlParams<T> {
|
|
|
67
67
|
export declare abstract class PartnerBase<T extends GenModels.DepartmentModel | GenModels.EmployeeDataModel, ParamsT extends PartnerBaseParams<T> = PartnerBaseParams<T>, StateT extends PartnerBaseState<T> = PartnerBaseState<T>> extends InputBasedControl<T, ParamsT, StateT> {
|
|
68
68
|
/** @internal */
|
|
69
69
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> & $LayoutManager & Partial<
|
|
70
|
-
import("C:/
|
|
71
|
-
import("C:/
|
|
70
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
71
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
72
72
|
/** @internal */
|
|
73
73
|
protected get partnerImpl(): PartnerBaseImpl<T>;
|
|
74
74
|
private set partnerBindingHandler(value);
|
|
@@ -39,9 +39,9 @@ export declare class PartnerDirectoryBaseParams<T extends ValueT> extends Direct
|
|
|
39
39
|
export declare abstract class PartnerDirectoryBase<T extends ValueT, ParamsT extends PartnerDirectoryBaseParams<T> = PartnerDirectoryBaseParams<T>, StateT extends PartnerDirectoryBaseState<T> = PartnerDirectoryBaseState<T>> extends DirectoryBase<T, NodeT, ItemT, ParamsT, StateT> {
|
|
40
40
|
/** @internal */
|
|
41
41
|
protected getServices(): $LayoutPartnerController & $EditOperationStore & $LayoutInfo & $LayoutRowController & $LayoutController & Partial<$LayoutController> &
|
|
42
|
-
import("C:/
|
|
43
|
-
import("C:/
|
|
44
|
-
import("C:/
|
|
42
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Services/$LayoutManager").$LayoutManager & Partial<
|
|
43
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/LayoutServices").$CurrentLocation> & Partial<
|
|
44
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/Layout/$Layout").$Layout> & $LayoutStaffController & $DepartmentController & $DeviceType;
|
|
45
45
|
/** @internal */
|
|
46
46
|
protected get partnerImpl(): PartnerDirectoryBaseImpl<T>;
|
|
47
47
|
init(): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class PrintButtonView {
|
|
3
3
|
dropdownButton: (props:
|
|
4
|
-
import("C:/
|
|
4
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/DropdownButton").DropdownButtonProps) => JSX.Element;
|
|
5
5
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ISearchFilterEntry, SearchFilters } from "@docsvision/webclient/BackOffice/$WebFrameDirectorySearchInfoStorageService";
|
|
2
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
2
3
|
import React from "react";
|
|
3
4
|
export interface ISearchBar {
|
|
4
5
|
visibility: boolean;
|
|
6
|
+
isNotEmpty: boolean;
|
|
5
7
|
textValue: string;
|
|
6
8
|
searchFilters: ISearchFilterEntry[];
|
|
7
9
|
currentSearchFilterKey: SearchFilters;
|
|
@@ -10,5 +12,7 @@ export interface ISearchBar {
|
|
|
10
12
|
onSearchTextChange: (newSearchText: string) => void;
|
|
11
13
|
onClearButtonClick: () => void;
|
|
12
14
|
onSearchTextKeyPressed: (e: React.KeyboardEvent<any>) => void;
|
|
15
|
+
onSearchSubmitClick: (e: React.MouseEvent) => void;
|
|
16
|
+
services: $Resources;
|
|
13
17
|
}
|
|
14
18
|
export declare const SearchBar: (props: ISearchBar) => JSX.Element;
|
|
@@ -14,3 +14,18 @@ export declare const CONTEXT_MENU_ADD_ICON = "ico-add-menu";
|
|
|
14
14
|
export declare const CONTEXT_MENU_COPY_ICON = "ico-copy-menu";
|
|
15
15
|
export declare const CONTEXT_MENU_CUT_ICON = "ico-cut-menu";
|
|
16
16
|
export declare const CONTEXT_MENU_PASTE_ICON = "ico-paste-menu";
|
|
17
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID = "CONTEXT_MENU_STAFF_CREATE_ORGANIZATION_ID";
|
|
18
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID = "CONTEXT_MENU_STAFF_CREATE_DEPARTMENT_ID";
|
|
19
|
+
export declare const CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID = "CONTEXT_MENU_STAFF_CREATE_EMPLOYEE_ID";
|
|
20
|
+
export declare const CONTEXT_MENU_STAFF_NAME_ID = "CONTEXT_MENU_STAFF_NAME_ID";
|
|
21
|
+
export declare const CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID = "CONTEXT_MENU_STAFF_ACCESS_RIGHTS_ID";
|
|
22
|
+
export declare const CONTEXT_MENU_STAFF_PASTE_ID = "CONTEXT_MENU_STAFF_PASTE_ID";
|
|
23
|
+
export declare const CONTEXT_MENU_STAFF_INFO_ID = "CONTEXT_MENU_STAFF_INFO_ID";
|
|
24
|
+
export declare const CONTEXT_MENU_STAFF_EDIT_ID = "CONTEXT_MENU_STAFF_EDIT_ID";
|
|
25
|
+
export declare const CONTEXT_MENU_STAFF_DELETE_ID = "CONTEXT_MENU_STAFF_DELETE_ID";
|
|
26
|
+
export declare const CONTEXT_MENU_STAFF_COPY_ID = "CONTEXT_MENU_STAFF_COPY_ID";
|
|
27
|
+
export declare const CONTEXT_MENU_STAFF_CUT_ID = "CONTEXT_MENU_STAFF_CUT_ID";
|
|
28
|
+
export declare const CONTEXT_MENU_EMPLOYEE_INFO_ID = "CONTEXT_MENU_EMPLOYEE_INFO_ID";
|
|
29
|
+
export declare const CONTEXT_MENU_EMPLOYEE_EDIT_ID = "CONTEXT_MENU_EMPLOYEE_EDIT_ID";
|
|
30
|
+
export declare const CONTEXT_MENU_EMPLOYEE_DELETE_ID = "CONTEXT_MENU_EMPLOYEE_DELETE_ID";
|
|
31
|
+
export declare const CONTEXT_MENU_EMPLOYEE_CUT_ID = "CONTEXT_MENU_EMPLOYEE_CUT_ID";
|
|
@@ -76,7 +76,7 @@ export declare class StaffDirectoryItems<ValueT extends StaffValueType = StaffVa
|
|
|
76
76
|
private set binding(value);
|
|
77
77
|
private set defaultEmployeeBinding(value);
|
|
78
78
|
get inputChanged():
|
|
79
|
-
import("C:/
|
|
79
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Events/SimpleEvent").SimpleEvent<string>;
|
|
80
80
|
/** @covered */
|
|
81
81
|
get inputText(): string;
|
|
82
82
|
/** @covered */
|
|
@@ -55,7 +55,7 @@ export declare class StaffDirectoryItemsImpl extends DirectoryBaseImpl<StaffValu
|
|
|
55
55
|
private shouldShowFavorites;
|
|
56
56
|
onRemoveClick(item: ItemT, ev?: React.MouseEvent<any> | React.TouchEvent<any>): Promise<void>;
|
|
57
57
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<
|
|
58
|
-
import("C:/
|
|
58
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/System/Controls/DirectoryBase/DirectoryBase").DirectoryBase<StaffValueType, GenModels.IDirectoryItemData, GenModels.IDirectoryItemData, StaffDirectoryItemsParams<StaffValueType>, StaffDirectoryItemsState<StaffValueType>>>;
|
|
59
59
|
protected onEditPopoverShowed(control: any): void;
|
|
60
60
|
protected getItemTooltip(employee: GenModels.IDirectoryItemData): string;
|
|
61
61
|
protected getTypeaheadProps(): ITypeaheadProps & {
|
|
@@ -14,6 +14,7 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
|
|
|
14
14
|
private services;
|
|
15
15
|
private readonly moreDots;
|
|
16
16
|
private isOpenDelegationLabel;
|
|
17
|
+
private fileIdInPreviewState;
|
|
17
18
|
constructor(services: () => $FileController & $LayoutFileController & $CardId & $FileDownload);
|
|
18
19
|
resolveNode(treeNodeModel: GenModels.TreeNodeModel, props: ITasksTreeContainerProps, state: ITasksTreeContainerState): ITasksTreeNodeContainer[];
|
|
19
20
|
resolveRenderHelpBox(nodeInfo: IRenderHelpBoxNodeInfo, options: IRenderHelpBoxOptions): React.ReactNode;
|
|
@@ -24,8 +25,8 @@ export declare class TaskTasksTreeNodeResolver implements ITasksTreeNodeResolver
|
|
|
24
25
|
protected getHelpBoxHeaderIcon(groupName: any): string;
|
|
25
26
|
protected getLabel(nodeModel: GenModels.TaskTreeNodeModel): string;
|
|
26
27
|
protected getImage(nodeModel: GenModels.TaskTreeNodeModel): string;
|
|
27
|
-
protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps
|
|
28
|
-
protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps
|
|
28
|
+
protected prepareView(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): any;
|
|
29
|
+
protected getTitle(node: ITasksTreeNodeContainer, nodeModel: GenModels.TaskTreeNodeModel, props: ITasksTreeContainerProps): string;
|
|
29
30
|
protected getDelegationLabel(delegationRecord: GenModels.DelegationRecord): JSX.Element;
|
|
30
31
|
protected getDelegationLabelText(delegationRecord: GenModels.DelegationRecord): string;
|
|
31
32
|
protected getDelegationHistory(delegationRecords: GenModels.DelegationRecord[]): string[];
|
|
@@ -19,16 +19,16 @@ import { TasksTableIconButton } from '@docsvision/webclient/BackOffice/TasksTabl
|
|
|
19
19
|
import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
20
20
|
export declare class TasksTableView {
|
|
21
21
|
mainButton: (props:
|
|
22
|
-
import("C:/
|
|
22
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
23
23
|
dialog: (props:
|
|
24
|
-
import("C:/
|
|
24
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/ModalDialog/CommonModalDialog").Props) => JSX.Element;
|
|
25
25
|
controlWrapper: typeof TasksTableControlWrapper;
|
|
26
26
|
ribbon: typeof TasksTableRibbon;
|
|
27
27
|
ribbonGroup:
|
|
28
28
|
import("styled-components").StyledComponent<"div", any, {
|
|
29
29
|
className: string;
|
|
30
30
|
} &
|
|
31
|
-
import("C:/
|
|
31
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Ribbon/RibbonGroup").IRibbonGroupProps, "className">;
|
|
32
32
|
ribbonButton: typeof TasksTableRibbonButton;
|
|
33
33
|
ribbonContainer: typeof TasksTableRibbonContainer;
|
|
34
34
|
ribbonFilterButton: typeof TasksTableFilterButton;
|
|
@@ -9,6 +9,7 @@ import { BaseControl, BaseControlParams } from "@docsvision/webclient/System/Bas
|
|
|
9
9
|
import { BaseControlImplState } from "@docsvision/webclient/System/BaseControlImpl";
|
|
10
10
|
import { ControlImpl } from "@docsvision/webclient/System/ControlImpl";
|
|
11
11
|
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
12
|
+
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
12
13
|
import { Optional } from "@docsvision/web/core/services";
|
|
13
14
|
/**
|
|
14
15
|
* Содержит публичные свойства элемента управления [Панель поиска в справочнике]{@link WebFrameDirectorySearchPanel}.
|
|
@@ -23,7 +24,7 @@ export declare class WebFrameDirectorySearchPanelParams extends BaseControlParam
|
|
|
23
24
|
/** Текуще значение строки поиска. */
|
|
24
25
|
searchText?: string;
|
|
25
26
|
/** Сервисы. */
|
|
26
|
-
services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo
|
|
27
|
+
services?: Optional<$WebFrameDirectorySearchPanelService> & $WebFrameDirectorySearchInfoStorageService & $Router & Optional<$WebFrameDirectorySearchPanelOptions> & Optional<$CompanyLogo> & $Resources;
|
|
27
28
|
}
|
|
28
29
|
export interface WebFrameDirectorySearchPanelState extends BaseControlImplState, WebFrameDirectorySearchPanelParams {
|
|
29
30
|
logic: WebFrameDirectorySearchPanelLogic;
|
|
@@ -30,11 +30,16 @@ import("effector").Store<SearchFilters>;
|
|
|
30
30
|
import("effector").Event<SearchFilters>;
|
|
31
31
|
$searchText:
|
|
32
32
|
import("effector").Store<string>;
|
|
33
|
+
$isNotEmpty:
|
|
34
|
+
import("effector").Store<boolean>;
|
|
33
35
|
onSearchTextChange:
|
|
34
36
|
import("effector").Event<string>;
|
|
35
37
|
onSearchTextKeyPressed:
|
|
36
38
|
import("effector").Event<
|
|
37
39
|
import("react").KeyboardEvent<any>>;
|
|
40
|
+
onSearchSubmitClick:
|
|
41
|
+
import("effector").Event<
|
|
42
|
+
import("react").MouseEvent<Element, MouseEvent>>;
|
|
38
43
|
startSearch:
|
|
39
44
|
import("effector").Event<ISearchRequest>;
|
|
40
45
|
onSearchStart:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class WebFrameDirectorySearchPanelView {
|
|
3
3
|
SearchButton: (props:
|
|
4
|
-
import("C:/
|
|
4
|
+
import("C:/dev/WebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
5
5
|
SearchBar: (props:
|
|
6
6
|
import("./Components/SearchBar").ISearchBar) => JSX.Element;
|
|
7
7
|
}
|
|
@@ -1230,9 +1230,13 @@ export declare namespace GenControllers {
|
|
|
1230
1230
|
*/
|
|
1231
1231
|
setAllCardsReadStatus(saveAllCardsReadStatusModel: GenModels.SaveAllCardsReadStatusRequestModel, options?: RequestOptions): Promise<void>;
|
|
1232
1232
|
/**
|
|
1233
|
-
* Get list {@link GenModels}
|
|
1233
|
+
* Get list of {@link GenModels} for usage in grouping
|
|
1234
1234
|
*/
|
|
1235
1235
|
getViewDistinctValues(distinctValuesRequest: GenModels.DistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
|
|
1236
|
+
/**
|
|
1237
|
+
* Get list of {@link GenModels} for usage in filtration
|
|
1238
|
+
*/
|
|
1239
|
+
getFilterDistinctValues(request: GenModels.FilterDistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
|
|
1236
1240
|
/**
|
|
1237
1241
|
* load all pages
|
|
1238
1242
|
*/
|
|
@@ -1251,6 +1255,7 @@ export declare namespace GenControllers {
|
|
|
1251
1255
|
saveGridUserSettingsFolderData(requestModel: GenModels.SaveGridUserSettingsFolderDataRequestModel, options?: RequestOptions): Promise<void>;
|
|
1252
1256
|
setAllCardsReadStatus(saveAllCardsReadStatusModel: GenModels.SaveAllCardsReadStatusRequestModel, options?: RequestOptions): Promise<void>;
|
|
1253
1257
|
getViewDistinctValues(distinctValuesRequest: GenModels.DistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
|
|
1258
|
+
getFilterDistinctValues(request: GenModels.FilterDistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
|
|
1254
1259
|
loadAllPages(baseCursorId: string, options?: RequestOptions): Promise<number>;
|
|
1255
1260
|
}
|
|
1256
1261
|
}
|
|
@@ -119,9 +119,13 @@ export declare namespace GenModels {
|
|
|
119
119
|
export declare namespace GenModels {
|
|
120
120
|
interface GridUserSettingsData {
|
|
121
121
|
/**
|
|
122
|
-
* Gets or sets a list with user settings of each column in folder view
|
|
122
|
+
* Gets or sets a list with user settings of each column in folder view for Grid Presentation
|
|
123
123
|
*/
|
|
124
124
|
columns: Array<GenModels.GridUserSettingsColumn>;
|
|
125
|
+
/**
|
|
126
|
+
* Gets or sets a list with user setting of each column in folder view for List Presentation
|
|
127
|
+
*/
|
|
128
|
+
listColumns: Array<GenModels.GridUserSettingsColumn>;
|
|
125
129
|
/**
|
|
126
130
|
* Gets or sets grid view filters
|
|
127
131
|
*/
|
|
@@ -162,6 +166,10 @@ export declare namespace GenModels {
|
|
|
162
166
|
* Gets or sets whether used default grouping
|
|
163
167
|
*/
|
|
164
168
|
useDefaultGrouping: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Gets or sets table presentation mode
|
|
171
|
+
*/
|
|
172
|
+
tablePresentation: GenModels.TablePresentation;
|
|
165
173
|
}
|
|
166
174
|
}
|
|
167
175
|
export declare namespace GenModels {
|
|
@@ -194,6 +202,14 @@ export declare namespace GenModels {
|
|
|
194
202
|
* Gets or sets values
|
|
195
203
|
*/
|
|
196
204
|
values: Array<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Gets or sets operation
|
|
207
|
+
*/
|
|
208
|
+
operation: GenModels.FilterOperation;
|
|
209
|
+
/**
|
|
210
|
+
* Gets or sets mode
|
|
211
|
+
*/
|
|
212
|
+
mode: GenModels.FilterMode;
|
|
197
213
|
}
|
|
198
214
|
}
|
|
199
215
|
export declare namespace GenModels {
|
|
@@ -2413,7 +2429,6 @@ export declare namespace GenModels {
|
|
|
2413
2429
|
* Device type
|
|
2414
2430
|
*/
|
|
2415
2431
|
deviceType: GenModels.DeviceType;
|
|
2416
|
-
useOldGrid?: boolean;
|
|
2417
2432
|
}
|
|
2418
2433
|
}
|
|
2419
2434
|
export declare namespace GenModels {
|
|
@@ -2704,10 +2719,6 @@ export declare namespace GenModels {
|
|
|
2704
2719
|
* Gets or sets typed value
|
|
2705
2720
|
*/
|
|
2706
2721
|
rawValue: any;
|
|
2707
|
-
/**
|
|
2708
|
-
* Gets or sets typed value
|
|
2709
|
-
*/
|
|
2710
|
-
typedValue: any;
|
|
2711
2722
|
}
|
|
2712
2723
|
}
|
|
2713
2724
|
export declare namespace GenModels {
|
|
@@ -2905,7 +2916,6 @@ export declare namespace GenModels {
|
|
|
2905
2916
|
export declare namespace GenModels {
|
|
2906
2917
|
interface RecentCardsRequest {
|
|
2907
2918
|
requestModel: GenModels.CardListRequestModel;
|
|
2908
|
-
useOldGrid: boolean;
|
|
2909
2919
|
}
|
|
2910
2920
|
}
|
|
2911
2921
|
export declare namespace GenModels {
|
|
@@ -2966,6 +2976,10 @@ export declare namespace GenModels {
|
|
|
2966
2976
|
* Is column hidden
|
|
2967
2977
|
*/
|
|
2968
2978
|
hidden: boolean;
|
|
2979
|
+
/**
|
|
2980
|
+
* Is column system
|
|
2981
|
+
*/
|
|
2982
|
+
system: boolean;
|
|
2969
2983
|
/**
|
|
2970
2984
|
* Gets or sets column caption
|
|
2971
2985
|
*/
|
|
@@ -3053,9 +3067,9 @@ export declare namespace GenModels {
|
|
|
3053
3067
|
}
|
|
3054
3068
|
}
|
|
3055
3069
|
export declare namespace GenModels {
|
|
3056
|
-
interface
|
|
3070
|
+
interface DistinctValuesRequestWithPagination {
|
|
3057
3071
|
/**
|
|
3058
|
-
* Gets or sets
|
|
3072
|
+
* Gets or sets Cursor ID
|
|
3059
3073
|
*
|
|
3060
3074
|
* @format datatype.uuid
|
|
3061
3075
|
*/
|
|
@@ -3068,6 +3082,10 @@ export declare namespace GenModels {
|
|
|
3068
3082
|
* Gets or sets page size
|
|
3069
3083
|
*/
|
|
3070
3084
|
pageSize: number;
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
export declare namespace GenModels {
|
|
3088
|
+
interface DistinctValuesRequestModel extends GenModels.DistinctValuesRequestWithPagination {
|
|
3071
3089
|
/**
|
|
3072
3090
|
* Gets or sets
|
|
3073
3091
|
*/
|
|
@@ -3114,6 +3132,24 @@ export declare namespace GenModels {
|
|
|
3114
3132
|
isLastLevel: boolean;
|
|
3115
3133
|
}
|
|
3116
3134
|
}
|
|
3135
|
+
export declare namespace GenModels {
|
|
3136
|
+
interface FilterDistinctValuesRequestModel extends GenModels.DistinctValuesRequestModel {
|
|
3137
|
+
/**
|
|
3138
|
+
* Column name
|
|
3139
|
+
*/
|
|
3140
|
+
filterColumnName: string;
|
|
3141
|
+
/**
|
|
3142
|
+
* Search text
|
|
3143
|
+
*/
|
|
3144
|
+
filterSearchText: string;
|
|
3145
|
+
/**
|
|
3146
|
+
* Instace ID
|
|
3147
|
+
*
|
|
3148
|
+
* @format datatype.uuid
|
|
3149
|
+
*/
|
|
3150
|
+
instanceId: string;
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3117
3153
|
export declare namespace GenModels {
|
|
3118
3154
|
interface GetRequestModel {
|
|
3119
3155
|
locationName?: string;
|
|
@@ -9046,6 +9082,44 @@ export declare namespace GenModels {
|
|
|
9046
9082
|
EveryWhere = 3
|
|
9047
9083
|
}
|
|
9048
9084
|
}
|
|
9085
|
+
export declare namespace GenModels {
|
|
9086
|
+
/**
|
|
9087
|
+
* Filter operation
|
|
9088
|
+
*/
|
|
9089
|
+
enum FilterOperation {
|
|
9090
|
+
/**
|
|
9091
|
+
* Default
|
|
9092
|
+
*/
|
|
9093
|
+
Default = 0,
|
|
9094
|
+
/**
|
|
9095
|
+
* Contains
|
|
9096
|
+
*/
|
|
9097
|
+
Contains = 1,
|
|
9098
|
+
/**
|
|
9099
|
+
* Equals
|
|
9100
|
+
*/
|
|
9101
|
+
Equals = 2
|
|
9102
|
+
}
|
|
9103
|
+
}
|
|
9104
|
+
export declare namespace GenModels {
|
|
9105
|
+
/**
|
|
9106
|
+
* Filter Mode
|
|
9107
|
+
*/
|
|
9108
|
+
enum FilterMode {
|
|
9109
|
+
/**
|
|
9110
|
+
* Default
|
|
9111
|
+
*/
|
|
9112
|
+
Default = 0,
|
|
9113
|
+
/**
|
|
9114
|
+
* Date List
|
|
9115
|
+
*/
|
|
9116
|
+
DateList = 1,
|
|
9117
|
+
/**
|
|
9118
|
+
* Date Calendar
|
|
9119
|
+
*/
|
|
9120
|
+
DateCalendar = 2
|
|
9121
|
+
}
|
|
9122
|
+
}
|
|
9049
9123
|
export declare namespace GenModels {
|
|
9050
9124
|
/**
|
|
9051
9125
|
* Defines grid view mode
|
|
@@ -9061,6 +9135,25 @@ export declare namespace GenModels {
|
|
|
9061
9135
|
Wrap = 1
|
|
9062
9136
|
}
|
|
9063
9137
|
}
|
|
9138
|
+
export declare namespace GenModels {
|
|
9139
|
+
/**
|
|
9140
|
+
* Table presentation mode
|
|
9141
|
+
*/
|
|
9142
|
+
enum TablePresentation {
|
|
9143
|
+
/**
|
|
9144
|
+
* Depends on device
|
|
9145
|
+
*/
|
|
9146
|
+
Default = 0,
|
|
9147
|
+
/**
|
|
9148
|
+
* Classic table view
|
|
9149
|
+
*/
|
|
9150
|
+
GridView = 1,
|
|
9151
|
+
/**
|
|
9152
|
+
* List view
|
|
9153
|
+
*/
|
|
9154
|
+
ListView = 2
|
|
9155
|
+
}
|
|
9156
|
+
}
|
|
9064
9157
|
export declare namespace GenModels {
|
|
9065
9158
|
/**
|
|
9066
9159
|
* Type of directory value
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IComponentProps } from '@docsvision/web/core/component';
|
|
2
|
+
import { $Resources } from '@docsvision/web/core/localization/$Resources';
|
|
3
|
+
import { Moment } from 'moment';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
export interface ISelectedRangeDate {
|
|
6
|
+
start: Moment;
|
|
7
|
+
end: Moment;
|
|
8
|
+
}
|
|
9
|
+
/** Визуальные компоненты {@see DateRangePicker}. */
|
|
10
|
+
export declare class DateRangePickerView {
|
|
11
|
+
day: React.MemoExoticComponent<(props:
|
|
12
|
+
import("./components/DateRangePickerDay").DateRangePickerDayProps) => JSX.Element>;
|
|
13
|
+
toolbar: React.MemoExoticComponent<(props:
|
|
14
|
+
import("./components/DateRangePickerToolbar").DateRangePickerToolbarProps) => JSX.Element>;
|
|
15
|
+
}
|
|
16
|
+
/** Свойства {@see DateRangePicker} */
|
|
17
|
+
export interface DateRangePickerProps extends IComponentProps<never, DateRangePickerView> {
|
|
18
|
+
/** Текущее значение */
|
|
19
|
+
value: ISelectedRangeDate;
|
|
20
|
+
/** Изменение значения */
|
|
21
|
+
onChange(selectedRangeDate: ISelectedRangeDate): void;
|
|
22
|
+
/** Локаль */
|
|
23
|
+
locale?: string;
|
|
24
|
+
/** Сервисы */
|
|
25
|
+
services: $Resources;
|
|
26
|
+
}
|
|
27
|
+
export declare function DateRangePicker(props: DateRangePickerProps): JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DateRangePicker } from '@docsvision/webclient/Helpers/DateRangePicker/DateRangePicker';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof DateRangePicker;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const OneDay: () => JSX.Element;
|
|
9
|
+
export declare const FewDays: () => JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import './DateRangePickerDay.css';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Moment } from 'moment';
|
|
4
|
+
import { ISelectedRangeDate } from '@docsvision/webclient/Helpers/DateRangePicker/DateRangePicker';
|
|
5
|
+
export interface DateRangePickerDayProps {
|
|
6
|
+
date: Moment;
|
|
7
|
+
currentMonth: boolean;
|
|
8
|
+
rangeDate: ISelectedRangeDate;
|
|
9
|
+
selectableStartDate: Moment;
|
|
10
|
+
selectableEndDate: Moment;
|
|
11
|
+
setSelectableEndDate(date: Moment): void;
|
|
12
|
+
selectDate(date: Moment): void;
|
|
13
|
+
}
|
|
14
|
+
/** Стилевой контейнер дня {@see DateRangePicker}. */
|
|
15
|
+
export declare const DateRangePickerDay: React.MemoExoticComponent<(props: DateRangePickerDayProps) => JSX.Element>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
import { ToolbarComponentProps } from '@docsvision/material-ui-pickers/Picker/Picker';
|
|
4
|
+
import { ISelectedRangeDate } from '@docsvision/webclient/Helpers/DateRangePicker/DateRangePicker';
|
|
5
|
+
import './DateRangePickerToolbar.css';
|
|
6
|
+
import { $Resources } from '@docsvision/web/core/localization/$Resources';
|
|
7
|
+
export interface DateRangePickerToolbarProps extends ToolbarComponentProps {
|
|
8
|
+
locale: string;
|
|
9
|
+
rangeDate: ISelectedRangeDate;
|
|
10
|
+
selectableStartDate: Moment;
|
|
11
|
+
setOpenViewYear(state: boolean): void;
|
|
12
|
+
selectCurrentDate(): void;
|
|
13
|
+
services: $Resources;
|
|
14
|
+
}
|
|
15
|
+
/** Стилевой контейнер панели настроек {@see DateRangePicker}. */
|
|
16
|
+
export declare const DateRangePickerToolbar: React.MemoExoticComponent<(props: DateRangePickerToolbarProps) => JSX.Element>;
|
|
@@ -3,6 +3,7 @@ import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
|
|
|
3
3
|
import { $CardTimestamp } from '@docsvision/webclient/System/LayoutServices';
|
|
4
4
|
import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
|
|
5
5
|
export declare class ApprovalFilePanel {
|
|
6
|
+
static ControlTypeName: string;
|
|
6
7
|
private static FileLinkCssClass;
|
|
7
8
|
private static FileSettingsCssClass;
|
|
8
9
|
private static FileItemCssClass;
|
|
@@ -52,7 +52,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
|
|
|
52
52
|
protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
|
|
53
53
|
abstract getChanges(): Promise<GenModels.GridViewModel>;
|
|
54
54
|
getSelection():
|
|
55
|
-
import("C:/
|
|
55
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
|
|
56
56
|
clearSelection(cardIds?: string[]): void;
|
|
57
57
|
selectionChanged: SimpleEvent<any>;
|
|
58
58
|
protected addActionButtons(header: HTMLElement): void;
|
|
@@ -10,7 +10,6 @@ import { $CompanyLogo } from "@docsvision/webclient/Platform/$CompanyLogo";
|
|
|
10
10
|
export declare class WebFrameSearchPanelRouteHandler implements IRouteHandler<any> {
|
|
11
11
|
private services;
|
|
12
12
|
name: string;
|
|
13
|
-
private isAvaibleRouteHandler;
|
|
14
13
|
constructor(services: $WebFrameSearchPanel & $ExperimentalFeature & $FullTextSearchEnabled & $CompanyLogo);
|
|
15
14
|
private hide;
|
|
16
15
|
mountRoute(data: IFolderRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
@@ -2,6 +2,7 @@ import { TableCompositionNames, TableCompositions } from '@docsvision/web/compon
|
|
|
2
2
|
import { Event, Store } from 'effector';
|
|
3
3
|
import { IComposition } from '@docsvision/web/core/composition';
|
|
4
4
|
export interface ICustomContextMenuOption {
|
|
5
|
+
id: string;
|
|
5
6
|
name: string;
|
|
6
7
|
action: (context: TableCompositions.Row | TableCompositions.HeaderRow | TableCompositions.Cell) => void;
|
|
7
8
|
composition?: string;
|
|
@@ -7,6 +7,7 @@ import { IColumnsWidth } from '@docsvision/web/components/table/plugins/resize-c
|
|
|
7
7
|
import { Store } from 'effector';
|
|
8
8
|
import { IFilterActiveColumn } from '@docsvision/web/components/table/plugins/filter';
|
|
9
9
|
import { IGrouping, IGroupingPathItem, ILoadGroupingItemsOptions } from '@docsvision/web/components/table/plugins/grouping';
|
|
10
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
10
11
|
export interface IFolderDataLoadingService {
|
|
11
12
|
init(): void;
|
|
12
13
|
addPlugin(resolver: IFolderDataLoadingPlugin): void;
|
|
@@ -19,7 +20,8 @@ export interface IFolderDataLoadingService {
|
|
|
19
20
|
filterBy(filterData: IFilterActiveColumn[]): Promise<any>;
|
|
20
21
|
setDefaultDataLoader(loader: IFolderDataLoader): void;
|
|
21
22
|
downloadExcelReport(): void;
|
|
22
|
-
|
|
23
|
+
saveColumnSettings(columns: IColumnsWidth[]): Promise<void>;
|
|
24
|
+
savePresentation(tablePresentation: GenModels.TablePresentation): Promise<void>;
|
|
23
25
|
resetUserSettings(): Promise<void>;
|
|
24
26
|
updateUserSettings(loader?: IFolderDataLoader): Promise<void>;
|
|
25
27
|
loadGrouping(options: ILoadGroupingItemsOptions): Promise<IGrouping>;
|
|
@@ -5,11 +5,18 @@ import { ICustomContextMenuBlock, IDataItemProvider, IParamsItemProvider } from
|
|
|
5
5
|
import { IComposition } from '@docsvision/web/core/composition';
|
|
6
6
|
import { IGrouping, IGroupingPathItem, ILoadGroupingItemsOptions } from '@docsvision/web/components/table/plugins/grouping';
|
|
7
7
|
import { Store } from 'effector';
|
|
8
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
8
9
|
export interface IFolderGridService {
|
|
9
10
|
$groupingReadonly: Store<boolean>;
|
|
10
11
|
setGroupingReadonly(available: boolean): void;
|
|
12
|
+
getContextMenuBlockNames: () => {
|
|
13
|
+
gridOperation: string;
|
|
14
|
+
textOperation: string;
|
|
15
|
+
linkOperation: string;
|
|
16
|
+
};
|
|
11
17
|
onRowClick(row: IRow): void;
|
|
12
18
|
backgroundOpacity: number;
|
|
19
|
+
defaultTablePresentation: GenModels.TablePresentation;
|
|
13
20
|
onSortRequest(column: IColumn, sortDirection: SortDirection): void;
|
|
14
21
|
onFilterRequest(filterData: IFilterActiveColumn[]): void;
|
|
15
22
|
onLoadData(data?: ITableData, options?: ITableDataLoadRequest): Promise<void>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Интерфейс сервиса {@link $TablePresentationToggle} */
|
|
2
|
+
export interface ITablePresentationToggleService {
|
|
3
|
+
}
|
|
4
|
+
/** Сервис, инициирующий сохранение режима отображения таблицы. */
|
|
5
|
+
export declare type $TablePresentationToggle = {
|
|
6
|
+
tablePresentationToggle: ITablePresentationToggleService;
|
|
7
|
+
};
|
|
8
|
+
export declare const $TablePresentationToggle: string | ((model?: $TablePresentationToggle) => ITablePresentationToggleService);
|