@docsvision/webclient 6.1.7 → 6.1.8

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.
Files changed (82) hide show
  1. package/Account/Altcha.d.ts +10 -0
  2. package/Account/LoginContainer.d.ts +2 -0
  3. package/Account/LoginLogic.d.ts +18 -1
  4. package/Application.d.ts +3 -3
  5. package/BackOffice/AddressStoriesData.d.ts +21 -0
  6. package/BackOffice/CardKindStoriesData.d.ts +44 -0
  7. package/BackOffice/CardKindTreeNode.d.ts +1 -1
  8. package/BackOffice/CommentsStoriesData.d.ts +8 -0
  9. package/BackOffice/CreateRelatedCardButtonStoriesData.d.ts +22 -0
  10. package/BackOffice/DelegateBatchOperationStoriesData.d.ts +15 -0
  11. package/BackOffice/DeleteShortcutBatchOperationStoriesData.d.ts +12 -0
  12. package/BackOffice/DepartmentStoriesData.d.ts +88 -0
  13. package/BackOffice/DirectoryDesRowSelectDialog.d.ts +3 -1
  14. package/BackOffice/DirectoryDesignerRowImpl.d.ts +4 -2
  15. package/BackOffice/DirectoryDesignerRowStoriesData.d.ts +14 -0
  16. package/BackOffice/DirectorySearchContent.d.ts +1 -1
  17. package/BackOffice/DirectorySearchResultView.d.ts +1 -1
  18. package/BackOffice/DisplayInitiatorStoriesData.d.ts +34 -0
  19. package/BackOffice/DisplayPerformersStoriesData.d.ts +71 -0
  20. package/BackOffice/EmailButtonView.d.ts +1 -1
  21. package/BackOffice/EmployeeStoriesData.d.ts +16 -0
  22. package/BackOffice/FileListControlStoriesData.d.ts +162 -0
  23. package/BackOffice/GetSearchItemsType.d.ts +2 -0
  24. package/BackOffice/GroupTaskCardSelectPerformersStoriesData.d.ts +13 -0
  25. package/BackOffice/HistoryStoriesData.d.ts +45 -0
  26. package/BackOffice/HistoryStoriesHelpers.d.ts +4 -0
  27. package/BackOffice/LinksStoriesData.d.ts +60 -0
  28. package/BackOffice/MultipleEmployeesStoriesData.d.ts +31 -0
  29. package/BackOffice/NumeratorStoriesData.d.ts +24 -0
  30. package/BackOffice/StateButtonsStoriesData.d.ts +22 -0
  31. package/BackOffice/TasksStoriesData.d.ts +36 -0
  32. package/BackOffice/ToSearchArea.d.ts +3 -0
  33. package/Generated/DocsVision.WebClient.Controllers.d.ts +10 -9
  34. package/Generated/DocsVision.WebClient.Models.d.ts +2553 -70
  35. package/Helpers/InputMask/InputMaskView.d.ts +1 -1
  36. package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
  37. package/Helpers/LoadingIcon/LoadingIcon.d.ts +1 -0
  38. package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +2 -2
  39. package/Platform/ApprovalVisualizationView.d.ts +1 -1
  40. package/Platform/ApprovalVisualizationVisBlock.d.ts +1 -1
  41. package/Platform/DeleteBatchOperationStoriesData.d.ts +13 -0
  42. package/Platform/DownloadFilesBatchOperationStoriesData.d.ts +16 -0
  43. package/Platform/FavoritesPageRouteHandler.d.ts +5 -5
  44. package/Platform/FavoritesRouteHandler.d.ts +3 -3
  45. package/Platform/FolderGridService.d.ts +4 -4
  46. package/Platform/FolderNameImpl.d.ts +0 -1
  47. package/Platform/FolderRouteHelpers.d.ts +1 -4
  48. package/Platform/FolderViewItemsImpl.d.ts +23 -23
  49. package/Platform/FolderWebFrameRouteHandler.d.ts +2 -3
  50. package/Platform/ListCheckbox.d.ts +1 -1
  51. package/Platform/ListInput.d.ts +1 -1
  52. package/Platform/MoveShortcutBatchOperationStoriesData.d.ts +12 -0
  53. package/Platform/ReadBatchBatchOperationStoriesData.d.ts +13 -0
  54. package/Platform/RecentCardsPageRouteHandler.d.ts +5 -5
  55. package/Platform/RecentCardsRouteHandler.d.ts +4 -4
  56. package/Platform/SearchTextInput.d.ts +1 -1
  57. package/Platform/TextBoxInputField.d.ts +1 -1
  58. package/Platform/TextBoxInputMaskView.d.ts +1 -1
  59. package/Platform/TextListInputView.d.ts +3 -3
  60. package/Platform/WebFrameSearchPanel.d.ts +15 -15
  61. package/StandardServices.d.ts +1 -2
  62. package/System/DirectoryBaseImpl.d.ts +1 -0
  63. package/System/PagesControllerStub.d.ts +0 -1
  64. package/System/ResourcesStub.d.ts +8 -0
  65. package/System/StorybookStory.d.ts +8 -4
  66. package/package.json +1 -1
  67. package/Legacy/$FolderViews.d.ts +0 -8
  68. package/Legacy/BasicGridHtmlBuilder.d.ts +0 -133
  69. package/Legacy/DesktopGridHtmlBuilder.d.ts +0 -30
  70. package/Legacy/FilterSidePanel.d.ts +0 -4
  71. package/Legacy/FolderViewHandler.d.ts +0 -9
  72. package/Legacy/FolderViews.d.ts +0 -26
  73. package/Legacy/FormFactor.d.ts +0 -5
  74. package/Legacy/Grid.d.ts +0 -50
  75. package/Legacy/GridModeService.d.ts +0 -10
  76. package/Legacy/GridRowSelectionService.d.ts +0 -12
  77. package/Legacy/GridRowsSelectionLogic.d.ts +0 -30
  78. package/Legacy/IGridHtmlBuilder.d.ts +0 -25
  79. package/Legacy/ISortingColumn.d.ts +0 -5
  80. package/Legacy/MobileGridHtmlBuilder.d.ts +0 -31
  81. package/Platform/FolderCountersRouteHandler.d.ts +0 -29
  82. package/Platform/GridManagement.d.ts +0 -8
@@ -1,26 +0,0 @@
1
- import { IFolderViews } from "@docsvision/webclient/Legacy/$FolderViews";
2
- import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
3
- /** @internal */
4
- export declare class FolderViews implements IFolderViews {
5
- private selectViewBtnId;
6
- private viewsContainerId;
7
- private selectViewListId;
8
- private folderId;
9
- private views;
10
- private viewFolderId;
11
- private currentViewId;
12
- private traceProvider;
13
- static viewsProvider: (folderId: string) => GenModels.FolderViewInfo[];
14
- private get SelectViewBtn();
15
- private get SelectViewList();
16
- private get SelectViewContainer();
17
- constructor(viewsContainerId: string, selectViewsBtnId: string, selectViewListId: string);
18
- get HasViews(): boolean;
19
- Build(folderId: string, viewSourceId: string, searchId: string, currentViewId?: string, currentViewName?: string): void;
20
- Destroy(): void;
21
- private Initialize;
22
- private BuildViewsList;
23
- private static GetViewsListForFolder;
24
- private selectView;
25
- private checkExternalClick;
26
- }
@@ -1,5 +0,0 @@
1
- /** @internal */
2
- export declare enum FormFactor {
3
- Desktop = 1,
4
- Mobile = 2
5
- }
package/Legacy/Grid.d.ts DELETED
@@ -1,50 +0,0 @@
1
- import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
- import { GridOptions } from "@docsvision/webclient/Legacy/GridOptions";
3
- import { IGridHtmlBuilder } from "@docsvision/webclient/Legacy/IGridHtmlBuilder";
4
- import { SimpleEvent } from "@docsvision/webclient/System/SimpleEvent";
5
- import { BasicEvent } from '@docsvision/webclient/System/BasicEvent';
6
- import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
7
- /** @internal */
8
- export declare class Grid {
9
- private targetElement;
10
- private rootElement;
11
- private htmlBuilder;
12
- private gridModel;
13
- get model(): GenModels.GridViewModel;
14
- update(m: GenModels.GridViewModel): void;
15
- readonly modelChanged: BasicEvent<IEventArgs>;
16
- readonly selectionChanged: BasicEvent<IEventArgs>;
17
- readonly rowsSelectionModeChanged: BasicEvent<IEventArgs>;
18
- getSelection(): any;
19
- clearSelection(cardIds?: string[]): any;
20
- options: GridOptions;
21
- constructor(element: HTMLElement, model: GenModels.GridViewModel, options: GridOptions, htmlBuilder: IGridHtmlBuilder);
22
- reload(): Promise<GenModels.GridViewModel>;
23
- private onModelChange;
24
- private onSelectionChange;
25
- private onSelectionModeChange;
26
- private initialize;
27
- applyFilters(): void;
28
- /**
29
- * Возвращает загруженные с сервера новые данные грида
30
- */
31
- getChanges(): Promise<GenModels.GridViewModel>;
32
- /**
33
- * Визуальное уведомление о необходимости обновить грид
34
- */
35
- showUpdateRequest(show?: boolean): void;
36
- closeUpdateRequest(): void;
37
- get refreshed(): SimpleEvent<void>;
38
- isSearching(): any;
39
- get rowsSelectionMode(): boolean;
40
- set rowsSelectionMode(val: boolean);
41
- }
42
- /**
43
- * Is two grid models equal
44
- * @param model1 First grid model
45
- * @param model2 Second grid model
46
- * @param ignoreMeta Ignore meta data differences or not
47
- * @param ignoreReadStatus Ignore read status or not
48
- * @param paramsToCheck Row params to check on differences
49
- */
50
- export declare function isEqual(model1: GenModels.GridViewModel, model2: GenModels.GridViewModel, ignoreMeta?: boolean, ignoreReadStatus?: boolean, paramsToCheck?: string[]): boolean;
@@ -1,10 +0,0 @@
1
- import { Grid } from '@docsvision/webclient/Legacy/Grid';
2
- import { ITableModeService } from '@docsvision/webclient/Platform/$TableMode';
3
- import { IBasicEvent } from '@docsvision/webclient/System/IBasicEvent';
4
- export declare class GridModeService implements ITableModeService {
5
- private grid;
6
- constructor(grid: Grid);
7
- get rowsSelectionMode(): boolean;
8
- set rowsSelectionMode(val: boolean);
9
- rowsSelectionModeChanged: IBasicEvent<boolean>;
10
- }
@@ -1,12 +0,0 @@
1
- import { Grid } from '@docsvision/webclient/Legacy/Grid';
2
- import { ITableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
3
- import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
4
- import { TableRowsSelectionModel } from '@docsvision/webclient/Platform/TableRowsSelectionModel';
5
- export declare class GridRowSelectionService implements ITableRowSelection {
6
- private grid;
7
- constructor(grid: Grid);
8
- get selection(): TableRowsSelectionModel;
9
- /** Снимает выделение с указанных карточек. Если параметр не задан - то со всех карточек. */
10
- clearSelection(cardIds?: string[]): void;
11
- readonly selectionChanged: SimpleEvent<unknown>;
12
- }
@@ -1,30 +0,0 @@
1
- import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
- import { TableRowsSelectionModel } from '@docsvision/webclient/Platform/TableRowsSelectionModel';
3
- import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
4
- import { $GridController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
5
- export declare class GridRowsSelectionLogic {
6
- private tableHeaderContainer;
7
- private tableBodyContainer;
8
- private mobileRootElement;
9
- private getModel;
10
- private services;
11
- private selectedRowColor;
12
- private selection;
13
- readonly selectionChanged: SimpleEvent<TableRowsSelectionModel>;
14
- initialize(tableHeaderContainer: HTMLElement, tableBodyContainer: HTMLElement, getModel: () => GenModels.GridViewModel, services: $GridController): void;
15
- initializeMobile(rootElement: HTMLElement, getModel: () => GenModels.GridViewModel, services: $GridController): void;
16
- createRowSelectionToggleColumn(model: GenModels.GridViewModel, rowIndex: number): HTMLTableDataCellElement;
17
- createHeaderSelectionToggleColumn(model: GenModels.GridViewModel): HTMLTableHeaderCellElement;
18
- private applySelection;
19
- private applyHeaderInputSelection;
20
- private rowSelected;
21
- private onHeaderSelectionCheckBoxChecked;
22
- private onRowSelectionCheckBoxChecked;
23
- onForceSelectRowCLick(e: MouseEvent): void;
24
- onMobileRowSelection(rowItem: HTMLElement, model: GenModels.GridViewModel): void;
25
- checkMobileRowSelected(rowId: string): boolean;
26
- onMobileRowCancelSelection(): void;
27
- private loadAllRows;
28
- getSelection(model?: GenModels.GridViewModel): TableRowsSelectionModel;
29
- clearSelection(cardIds?: string[]): void;
30
- }
@@ -1,25 +0,0 @@
1
- import { GridOptions } from "@docsvision/webclient/Legacy/GridOptions";
2
- import { SimpleEvent } from "@docsvision/webclient/System/SimpleEvent";
3
- import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
4
- /** @internal */
5
- export interface IGridHtmlBuilder {
6
- getModel: () => any;
7
- refreshed: SimpleEvent<void>;
8
- modelChanged: SimpleEvent<any>;
9
- selectionChanged: SimpleEvent<any>;
10
- rowsSelectionModeChanged: SimpleEvent<boolean>;
11
- buildGrid(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): void;
12
- rebuildIfNeeded(isBuild: boolean, model?: GenModels.GridViewModel): void;
13
- buildTableBody(options: GridOptions, tableBodyContainer: HTMLElement): void;
14
- buildTableHeader(options: GridOptions, tableHeaderContainer: HTMLElement, modelGrid?: GenModels.GridViewModel): void;
15
- buildGridFooter(options: GridOptions, gridFooterContainer: HTMLElement): void;
16
- applyGridFilter(): void;
17
- buildHeader(options: GridOptions, targetElement: HTMLElement, rootElement: HTMLElement): any;
18
- getChanges(): Promise<any>;
19
- showUpdateRequest(show: boolean): any;
20
- closeUpdateRequest(): any;
21
- rowsSelectionMode: boolean;
22
- getSelection(): any;
23
- clearSelection(cardIds?: string[]): any;
24
- reload(): Promise<GenModels.GridViewModel>;
25
- }
@@ -1,5 +0,0 @@
1
- /** @internal */
2
- export interface ISortingColumn {
3
- Name: string;
4
- isDesc: boolean;
5
- }
@@ -1,31 +0,0 @@
1
- import { BasicGridHtmlBuilder } from '@docsvision/webclient/Legacy/BasicGridHtmlBuilder';
2
- import { GridOptions } from '@docsvision/webclient/Legacy/GridOptions';
3
- import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
4
- export declare class MobileGridHtmlBuilder extends BasicGridHtmlBuilder {
5
- private mobileGridContainer;
6
- private groupSelectionModeEnabled;
7
- longTapFlag: boolean;
8
- commonGridModel: GenModels.GridViewModel;
9
- constructor(options: GridOptions, targetElement: HTMLElement);
10
- buildGrid(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): void;
11
- rebuildIfNeeded(isBuild: boolean, model?: GenModels.GridViewModel): void;
12
- reload(): Promise<any>;
13
- applyGridFilter(): Promise<void>;
14
- buildMobileGrid(options: GridOptions, rootElement: HTMLElement): void;
15
- getChanges(): Promise<GenModels.GridViewModel>;
16
- get rowsSelectionMode(): boolean;
17
- set rowsSelectionMode(val: boolean);
18
- protected destroyMobileGrid(): void;
19
- protected AddPage(model: GenModels.GridViewModel, isFirstPage: boolean): void;
20
- protected applyGridFilters(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): void;
21
- protected buildInOrder(): void;
22
- protected onRefreshButtonClick(): void;
23
- protected buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
24
- protected updateHtmlRowReadStatus(itemID: string, setRead: boolean): void;
25
- protected countNotClosable(model: GenModels.GridViewModel, i: number): any;
26
- private AddShowCardMobileEvent;
27
- private buildMobilePaging;
28
- private destroyMobilePaging;
29
- private AddLoadMoreClick;
30
- private loadMoreData;
31
- }
@@ -1,29 +0,0 @@
1
- /// <reference types="node" />
2
- import { Grid } from "@docsvision/webclient/Legacy/Grid";
3
- import { IFolderRouteData } from "@docsvision/webclient/Platform/IFolderRouteData";
4
- import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
5
- import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
6
- import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
7
- import { RouteType } from "@docsvision/webclient/System/RouteType";
8
- import { $RealtimeCommunicationService } from "@docsvision/webclient/System/$RealtimeCommunicationService";
9
- import { IRealTimeCommunicationMessage } from "@docsvision/webclient/System/IRealTimeCommunicationMessage";
10
- /** @internal */
11
- export declare class FolderCountersRouteHandler implements IRouteHandler<IFolderRouteData> {
12
- protected services: $RealtimeCommunicationService & $WebFrameContext;
13
- name: string;
14
- protected timer: any;
15
- protected grid: Grid;
16
- protected isNotifying: boolean;
17
- protected sessionSuspended: boolean;
18
- /** @deprecated Use {@link SessionExpiredHandler.SuspednedMessageType} */
19
- static get SuspendedMessageType(): string;
20
- constructor(services: $RealtimeCommunicationService & $WebFrameContext);
21
- mountRoute(data: IFolderRouteData, routeType: RouteType): Promise<RouteHandleResult>;
22
- unmountRoute(data: IFolderRouteData, routeType: RouteType): Promise<{}>;
23
- protected createTimer(gridModel: any, refreshTimeout: number): NodeJS.Timer;
24
- protected clearTimer(): void;
25
- protected onSessionAwokenOrCreated: () => void;
26
- protected onSessionSuspendedOrDisposed: () => void;
27
- protected onGridRefresh: () => void;
28
- protected onCountersChanged: (message: IRealTimeCommunicationMessage<any>) => void;
29
- }
@@ -1,8 +0,0 @@
1
- import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
- import { Grid } from '@docsvision/webclient/Legacy/Grid';
3
- import { ITableManagementService } from '@docsvision/webclient/Platform/$TableManagement';
4
- export declare class GridManagementService implements ITableManagementService {
5
- private grid;
6
- constructor(grid: Grid);
7
- reload(): Promise<GenModels.GridViewModel>;
8
- }