@docsvision/webclient 6.1.20-beta.1 → 6.1.22-beta.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.
Files changed (70) hide show
  1. package/Account/LoginLogic.d.ts +30 -30
  2. package/Account/ProviderButton.d.ts +2 -2
  3. package/BackOffice/$SelectionRow.d.ts +2 -2
  4. package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +8 -8
  5. package/BackOffice/AuthenticationKindsLogic.d.ts +17 -17
  6. package/BackOffice/ChangeBoundaryValuesSection.d.ts +2 -2
  7. package/BackOffice/CreateCardDialogLogic.d.ts +4 -4
  8. package/BackOffice/DigitalSignatureService.d.ts +3 -3
  9. package/BackOffice/DirectoryEntryModalLogic.d.ts +13 -24
  10. package/BackOffice/DirectoryRowSelection.d.ts +3 -3
  11. package/BackOffice/DirectorySearchResultLogic.d.ts +4 -4
  12. package/BackOffice/DirectoryTabsLogic.d.ts +2 -2
  13. package/BackOffice/DirectoryTreeLogic.d.ts +25 -31
  14. package/BackOffice/EmailButtonLogic.d.ts +9 -9
  15. package/BackOffice/EmailButtonView.d.ts +1 -1
  16. package/BackOffice/PowersDirectoryLogic.d.ts +29 -29
  17. package/BackOffice/PrintButtonLogic.d.ts +5 -5
  18. package/BackOffice/SelectionRowService.d.ts +4 -4
  19. package/BackOffice/SignatureButtonLogic.d.ts +6 -6
  20. package/BackOffice/SignatureDialogLogic.d.ts +26 -26
  21. package/BackOffice/SignatureMethodsSetupLogic.d.ts +31 -43
  22. package/BackOffice/StaffDirectoryLogic.d.ts +71 -71
  23. package/BackOffice/TaskGroupWorkStatusLogic.d.ts +2 -2
  24. package/BackOffice/TasksTableLogic.d.ts +54 -54
  25. package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +15 -15
  26. package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +8 -8
  27. package/Helpers/ArtPlayer/ArtPlayerLogic.d.ts +8 -10
  28. package/Platform/$AggregatesCheckbox.d.ts +6 -6
  29. package/Platform/$ContextMenuOptions.d.ts +6 -6
  30. package/Platform/$FolderDataLoading.d.ts +2 -2
  31. package/Platform/$FolderGrid.d.ts +2 -2
  32. package/Platform/$FolderHelp.d.ts +3 -3
  33. package/Platform/$SearchParametersFolder.d.ts +3 -3
  34. package/Platform/$ToolbarActionButtons.d.ts +3 -3
  35. package/Platform/$ToolbarDaughterControls.d.ts +5 -5
  36. package/Platform/$WebFrameSearchPanel.d.ts +8 -8
  37. package/Platform/AggregatesCheckboxService.d.ts +21 -21
  38. package/Platform/ApprovalVisualizationLogic.d.ts +5 -5
  39. package/Platform/CertificateSettingsLogic.d.ts +3 -3
  40. package/Platform/ContextMenuOptionsService.d.ts +6 -6
  41. package/Platform/DiagramLogic.d.ts +10 -10
  42. package/Platform/DiagramQueryParams.d.ts +2 -2
  43. package/Platform/FolderDataLoadingService.d.ts +3 -3
  44. package/Platform/FolderGridService.d.ts +3 -3
  45. package/Platform/FolderHelpService.d.ts +3 -3
  46. package/Platform/QuotesLogic.d.ts +16 -16
  47. package/Platform/ScrollTopBottomLogic.d.ts +10 -10
  48. package/Platform/SearchParametersFolderService.d.ts +5 -5
  49. package/Platform/SecurityDescriptorDialogLogic.d.ts +14 -18
  50. package/Platform/SettingsPopup.d.ts +2 -2
  51. package/Platform/SettingsPopupLogic.d.ts +20 -20
  52. package/Platform/TableColumnImpl.d.ts +1 -0
  53. package/Platform/TextListInputLogic.d.ts +13 -13
  54. package/Platform/ToolbarActionButtonsService.d.ts +3 -3
  55. package/Platform/ToolbarDaughterControlsService.d.ts +5 -5
  56. package/Platform/UnreadBarService.d.ts +2 -2
  57. package/Platform/WebFrameSearchPanelService.d.ts +17 -17
  58. package/System/$FolderColors.d.ts +3 -3
  59. package/System/$LastSearchResponse.d.ts +20 -20
  60. package/System/$LayoutBackground.d.ts +5 -5
  61. package/System/$SessionRelatedContent.d.ts +3 -3
  62. package/System/$WebFrameContentHeight.d.ts +5 -5
  63. package/System/DelayUntilApiEvent.d.ts +3 -3
  64. package/System/FolderColorsService.d.ts +3 -3
  65. package/System/LastSearchResponseService.d.ts +20 -20
  66. package/System/LayoutBackgroundService.d.ts +5 -5
  67. package/System/PollService.d.ts +4 -4
  68. package/System/SessionRelatedContentService.d.ts +3 -3
  69. package/System/WebFrameContentHeightService.d.ts +5 -5
  70. package/package.json +1 -1
@@ -6,6 +6,7 @@ import { AccessListRow } from '@docsvision/webclient/Platform/AccessListRow';
6
6
  import { SecurityDescriptorDialogProps } from '@docsvision/webclient/Platform/SecurityDescriptorDialog';
7
7
  import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
8
8
  import { ComponentLogic } from "@docsvision/web/core/component";
9
+ import { Store } from 'effector';
9
10
  export interface SecurityDescriptorDialogLogicOptions extends SecurityDescriptorDialogProps {
10
11
  showDisableInheritanceModeSelectDialog: (services: $MessageBox) => Promise<boolean>;
11
12
  showEnableInheritanceConfirmationDialog: (services: $MessageBox) => Promise<void>;
@@ -13,17 +14,14 @@ export interface SecurityDescriptorDialogLogicOptions extends SecurityDescriptor
13
14
  export declare class SecurityDescriptorDialogLogic extends ComponentLogic<SecurityDescriptorDialogLogicOptions> {
14
15
  domain:
15
16
  import("effector").Domain;
16
- $descriptor:
17
- import("effector").StoreWritable<GenModels.SecurityDescriptor>;
17
+ $descriptor: Store<GenModels.SecurityDescriptor>;
18
18
  loadDescriptorFx:
19
19
  import("effector").Effect<GenModels.SecurityTarget, GenModels.SecurityDescriptor, Error>;
20
20
  componentDidMount:
21
- import("effector").EventCallable<void>;
21
+ import("effector").Event<void>;
22
22
  initDescriptorLoading(): void;
23
- $trusteeOrder:
24
- import("effector").StoreWritable<GenModels.AccessControlTrustee[]>;
25
- $accessListRows:
26
- import("effector").StoreWritable<AccessListRow[]>;
23
+ $trusteeOrder: Store<GenModels.AccessControlTrustee[]>;
24
+ $accessListRows: Store<AccessListRow[]>;
27
25
  initOrdering(): void;
28
26
  acceptFx:
29
27
  import("effector").Effect<void, GenModels.SecurityDescriptor, Error>;
@@ -32,31 +30,29 @@ import("effector").Effect<void, GenModels.SecurityDescriptor, Error>;
32
30
  saveFx:
33
31
  import("effector").Effect<void, GenModels.SecurityDescriptor, Error>;
34
32
  acceptClick:
35
- import("effector").EventCallable<void>;
33
+ import("effector").Event<void>;
36
34
  applyClick:
37
- import("effector").EventCallable<void>;
35
+ import("effector").Event<void>;
38
36
  initSaving(): void;
39
37
  addRow:
40
- import("effector").EventCallable<GenModels.DirectoryItemData[]>;
38
+ import("effector").Event<GenModels.DirectoryItemData[]>;
41
39
  initRowAdding(): void;
42
40
  removeRow:
43
- import("effector").EventCallable<AccessListRow>;
41
+ import("effector").Event<AccessListRow>;
44
42
  initRowRemoving(): void;
45
43
  enableInheritance:
46
- import("effector").EventCallable<void>;
44
+ import("effector").Event<void>;
47
45
  disableInheritance:
48
- import("effector").EventCallable<void>;
49
- $descriptorChanged:
50
- import("effector").StoreWritable<boolean>;
46
+ import("effector").Event<void>;
47
+ $descriptorChanged: Store<boolean>;
51
48
  enableInheritanceFx:
52
49
  import("effector").Effect<GenModels.EnableInheritanceOptions, GenModels.SecurityDescriptor, Error>;
53
- $pendingEnableInheritanceRequest:
54
- import("effector").StoreWritable<GenModels.EnableInheritanceOptions>;
50
+ $pendingEnableInheritanceRequest: Store<GenModels.EnableInheritanceOptions>;
55
51
  selectDisableInheritanceModeFx:
56
52
  import("effector").Effect<void, boolean, Error>;
57
53
  initInheritanceButtons(): void;
58
54
  toggleAccess:
59
- import("effector").EventCallable<{
55
+ import("effector").Event<{
60
56
  flag: GenModels.AccessMaskFlagInfo;
61
57
  row: AccessListRow;
62
58
  }>;
@@ -5,13 +5,13 @@ import { $DeviceType } from '@docsvision/webclient/StandardServices';
5
5
  import { $LastSearchResponse } from '@docsvision/webclient/System/$LastSearchResponse';
6
6
  import { ITableData } from '@docsvision/web/components/table/interfaces';
7
7
  import { IComponentProps } from '@docsvision/web/core/component';
8
- import { StoreWritable } from 'effector';
8
+ import { Store } from 'effector';
9
9
  import React from 'react';
10
10
 
11
11
  export interface ISettingsPopupProps extends IComponentProps<SettingsPopupLogic, SettingsPopupView> {
12
12
  closePopup: () => void;
13
13
  isOpen: boolean;
14
14
  services: $SettingsToolbarActionServices & $LastSearchResponse & $DeviceType;
15
- $data: StoreWritable<ITableData>;
15
+ $data: Store<ITableData>;
16
16
  }
17
17
  export declare function SettingsPopup(props: ISettingsPopupProps): React.JSX.Element;
@@ -6,59 +6,59 @@ export declare class SettingsPopupLogic extends ComponentLogic<ISettingsPopupPro
6
6
  domain:
7
7
  import("effector").Domain;
8
8
  $listViews:
9
- import("effector").StoreWritable<GenModels.FolderViewInfo[]>;
9
+ import("effector").Store<GenModels.FolderViewInfo[]>;
10
10
  $defaultView:
11
11
  import("effector").Store<GenModels.FolderViewInfo>;
12
12
  $itemsView:
13
13
  import("effector").Store<GenModels.Element[]>;
14
14
  selectItemView:
15
- import("effector").EventCallable<string>;
15
+ import("effector").Event<string>;
16
16
  getViewListFx:
17
17
  import("effector").Effect<GenModels.FolderIdentityModel, GenModels.FolderViewInfosModel, Error>;
18
18
  $currentView:
19
- import("effector").StoreWritable<string>;
19
+ import("effector").Store<string>;
20
20
  $rowsMode:
21
- import("effector").StoreWritable<{
21
+ import("effector").Store<{
22
22
  value: string;
23
23
  key: string;
24
24
  }[]>;
25
25
  $currentRowsMode:
26
- import("effector").StoreWritable<GenModels.GridViewMode>;
26
+ import("effector").Store<GenModels.GridViewMode>;
27
27
  selectedRowsMode:
28
- import("effector").EventCallable<string>;
28
+ import("effector").Event<string>;
29
29
  $rowsModeVisible:
30
- import("effector").StoreWritable<boolean>;
30
+ import("effector").Store<boolean>;
31
31
  setRowsModeVisible:
32
- import("effector").EventCallable<boolean>;
32
+ import("effector").Event<boolean>;
33
33
  $columnsModeItems:
34
- import("effector").StoreWritable<{
34
+ import("effector").Store<{
35
35
  value: string;
36
36
  key: string;
37
37
  }[]>;
38
38
  $currentColumnWidthMode:
39
- import("effector").StoreWritable<GenModels.GridViewMode>;
39
+ import("effector").Store<GenModels.GridViewMode>;
40
40
  setColumnWidthMode:
41
- import("effector").EventCallable<string>;
41
+ import("effector").Event<string>;
42
42
  $gridUserSettings:
43
- import("effector").StoreWritable<GenModels.GridUserSettingsData>;
43
+ import("effector").Store<GenModels.GridUserSettingsData>;
44
44
  $columns:
45
- import("effector").StoreWritable<GenModels.ViewColumnModel[]>;
45
+ import("effector").Store<GenModels.ViewColumnModel[]>;
46
46
  $columnsOrder:
47
47
  import("effector").Store<string[]>;
48
48
  reorderColumns:
49
- import("effector").EventCallable<GenModels.ViewColumnModel[]>;
49
+ import("effector").Event<GenModels.ViewColumnModel[]>;
50
50
  $columnsVisible:
51
- import("effector").StoreWritable<GenModels.ViewColumnModel[]>;
51
+ import("effector").Store<GenModels.ViewColumnModel[]>;
52
52
  updateCheckedColumn:
53
- import("effector").EventCallable<IColumnVisibility>;
53
+ import("effector").Event<IColumnVisibility>;
54
54
  $isHelp:
55
- import("effector").StoreWritable<boolean>;
55
+ import("effector").Store<boolean>;
56
56
  setIsHelp:
57
- import("effector").EventCallable<boolean>;
57
+ import("effector").Event<boolean>;
58
58
  $isResetButton:
59
- import("effector").StoreWritable<boolean>;
59
+ import("effector").Store<boolean>;
60
60
  setIsRestButton:
61
- import("effector").EventCallable<boolean>;
61
+ import("effector").Event<boolean>;
62
62
  getGridUserDataFx:
63
63
  import("effector").Effect<string, {
64
64
  settings: GenModels.GridUserSettingsData;
@@ -20,5 +20,6 @@ export interface TableColumnState extends ITableColumnState {
20
20
  export declare class TableColumnImpl extends PanelImpl<TableColumnParams, ITableColumnState> {
21
21
  constructor(props: TableColumnParams, state: ITableColumnState);
22
22
  protected prepareChildren(): void;
23
+ private checkVisibility;
23
24
  renderControl(): React.JSX.Element;
24
25
  }
@@ -16,31 +16,31 @@ import("effector").Domain;
16
16
  listWrapper: HTMLDivElement;
17
17
  filterValues: string[];
18
18
  $filterValues:
19
- import("effector").StoreWritable<string[]>;
19
+ import("effector").Store<string[]>;
20
20
  setFilterValues:
21
- import("effector").EventCallable<string[]>;
21
+ import("effector").Event<string[]>;
22
22
  $listWrapper:
23
- import("effector").StoreWritable<HTMLDivElement>;
23
+ import("effector").Store<HTMLDivElement>;
24
24
  setListWrapper:
25
- import("effector").EventCallable<HTMLDivElement>;
25
+ import("effector").Event<HTMLDivElement>;
26
26
  $listScrollable:
27
- import("effector").StoreWritable<boolean>;
27
+ import("effector").Store<boolean>;
28
28
  setListScrollable:
29
- import("effector").EventCallable<boolean>;
29
+ import("effector").Event<boolean>;
30
30
  setSearchText:
31
- import("effector").EventCallable<ChangeEvent<HTMLInputElement>>;
31
+ import("effector").Event<ChangeEvent<HTMLInputElement>>;
32
32
  $searchText:
33
- import("effector").StoreWritable<string>;
33
+ import("effector").Store<string>;
34
34
  $formatedSearchText:
35
- import("effector").StoreWritable<string>;
35
+ import("effector").Store<string>;
36
36
  setListItems:
37
- import("effector").EventCallable<IListItems[]>;
37
+ import("effector").Event<IListItems[]>;
38
38
  $listItems:
39
- import("effector").StoreWritable<IListItems[]>;
39
+ import("effector").Store<IListItems[]>;
40
40
  $loading:
41
- import("effector").StoreWritable<boolean>;
41
+ import("effector").Store<boolean>;
42
42
  setLoading:
43
- import("effector").EventCallable<boolean>;
43
+ import("effector").Event<boolean>;
44
44
  commonDateFormat: string;
45
45
  private getListData;
46
46
  private getGrouping;
@@ -1,10 +1,10 @@
1
1
  import { IToolbarActionButton, IToolbarActionButtonsService } from '@docsvision/webclient/Platform/$ToolbarActionButtons';
2
2
  import { IToolbarActionContainerButton } from '@docsvision/web/components/table/plugins/toolbar-action-container';
3
- import { StoreWritable, EventCallable } from 'effector';
3
+ import { Store, Event } from 'effector';
4
4
  /** @internal Реализация {@link IFolderGridToolbarService}. */
5
5
  export declare class ToolbarActionButtonsService implements IToolbarActionButtonsService {
6
- $buttons: StoreWritable<Record<string, IToolbarActionButton>>;
7
- setVisibility: EventCallable<Record<string, unknown>>;
6
+ $buttons: Store<Record<string, IToolbarActionButton>>;
7
+ setVisibility: Event<Record<string, unknown>>;
8
8
  constructor();
9
9
  get visibilityResetButton(): boolean;
10
10
  getButtons: () => IToolbarActionContainerButton[];
@@ -1,13 +1,13 @@
1
1
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
2
  import { IToolbarDaughterControlsService } from '@docsvision/webclient/Platform/$ToolbarDaughterControls';
3
3
  import { IToolbarActionContainerButton } from '@docsvision/web/components/table/plugins/toolbar-action-container';
4
- import { StoreWritable, EventCallable } from 'effector';
4
+ import { Store, Event } from 'effector';
5
5
  /** @internal Реализация {@link IFolderGridToolbarService}. */
6
6
  export declare class ToolbarDaughterControlsService implements IToolbarDaughterControlsService {
7
- $controls: StoreWritable<GenModels.ControlModel[]>;
8
- setControls: EventCallable<GenModels.ControlModel[]>;
9
- $location: StoreWritable<GenModels.AdditionalElementsMode>;
10
- setLocation: EventCallable<GenModels.AdditionalElementsMode>;
7
+ $controls: Store<GenModels.ControlModel[]>;
8
+ setControls: Event<GenModels.ControlModel[]>;
9
+ $location: Store<GenModels.AdditionalElementsMode>;
10
+ setLocation: Event<GenModels.AdditionalElementsMode>;
11
11
  constructor();
12
12
  getRelativeToLocation: (actionButtonsRelativeToLocation: IToolbarActionContainerButton[], ...actionButtons: IToolbarActionContainerButton[]) => IToolbarActionContainerButton[];
13
13
  }
@@ -4,14 +4,14 @@ import { PerformOnce } from '@docsvision/webclient/Legacy/Utils';
4
4
  import { $UnreadCounter } from '@docsvision/webclient/Platform/$UnreadCounter';
5
5
  import { IRowData } from '@docsvision/web/components/table/interfaces';
6
6
  import { $Domain } from '@docsvision/web/core/state-management';
7
+ import { Event } from 'effector';
7
8
  import { $RefreshUnreadCounters } from '@docsvision/webclient/Platform/$RefreshUnreadCounters';
8
9
  import { $CurrentFolder } from '@docsvision/webclient/Platform/$CurrentFolder';
9
- import { EventCallable } from 'effector';
10
10
  /** Сервис для корректного инициирования скачивания файла из скриптов. */
11
11
  export declare class UnreadBarService implements IUnreadBarService {
12
12
  private services;
13
13
  performOnce: PerformOnce;
14
- rowToggled: EventCallable<IRowData>;
14
+ rowToggled: Event<IRowData>;
15
15
  constructor(services: $BaseCardController & $UnreadCounter & $Domain & $RefreshUnreadCounters & $CurrentFolder);
16
16
  toggleUnread(rowData: IRowData): Promise<any>;
17
17
  }
@@ -1,24 +1,24 @@
1
1
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
2
  import { ISearchInfo, IWebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
3
3
  import { $Domain } from '@docsvision/web/core/state-management';
4
- import { EventCallable, StoreWritable } from 'effector';
4
+ import { Store, Event } from 'effector';
5
5
  /** @intrnal Реализация сервиса {@link $WebFrameSearchPanel}. */
6
6
  export declare class WebFrameSearchPanelService implements IWebFrameSearchPanel {
7
- $searchText: StoreWritable<string>;
8
- $searchContext: StoreWritable<GenModels.SearchContextOption>;
9
- $expanded: StoreWritable<boolean>;
10
- $availableContexts: StoreWritable<GenModels.SearchContextOption[]>;
11
- $visible: StoreWritable<boolean>;
12
- $searchResultsText: StoreWritable<string>;
13
- searchRequested: EventCallable<ISearchInfo>;
14
- setSearchText: EventCallable<string>;
15
- setSearchContext: EventCallable<GenModels.SearchContextOption>;
16
- setExpanded: EventCallable<boolean>;
17
- setVisible: EventCallable<boolean>;
18
- setSearchResultsText: EventCallable<string>;
19
- requestSearch: EventCallable<ISearchInfo>;
20
- setAvailableContexts: EventCallable<GenModels.SearchContextOption[]>;
21
- enableContext: EventCallable<GenModels.SearchContextOption>;
22
- disableContext: EventCallable<GenModels.SearchContextOption>;
7
+ $searchText: Store<string>;
8
+ $searchContext: Store<GenModels.SearchContextOption>;
9
+ $expanded: Store<boolean>;
10
+ $availableContexts: Store<GenModels.SearchContextOption[]>;
11
+ $visible: Store<boolean>;
12
+ $searchResultsText: Store<string>;
13
+ searchRequested: Event<ISearchInfo>;
14
+ setSearchText: Event<string>;
15
+ setSearchContext: Event<GenModels.SearchContextOption>;
16
+ setExpanded: Event<boolean>;
17
+ setVisible: Event<boolean>;
18
+ setSearchResultsText: Event<string>;
19
+ requestSearch: Event<ISearchInfo>;
20
+ setAvailableContexts: Event<GenModels.SearchContextOption[]>;
21
+ enableContext: Event<GenModels.SearchContextOption>;
22
+ disableContext: Event<GenModels.SearchContextOption>;
23
23
  constructor(services: $Domain);
24
24
  }
@@ -1,4 +1,4 @@
1
- import { StoreWritable, EventCallable } from 'effector';
1
+ import { Store, Event } from 'effector';
2
2
  export interface IFolderColors {
3
3
  [key: string]: string;
4
4
  }
@@ -9,9 +9,9 @@ export interface IFolderColor {
9
9
  /** Cервис предоставляющий информацию о цвете папок. */
10
10
  export interface IFolderColorsService {
11
11
  /** Хранилище цвета папок */
12
- $colors: StoreWritable<IFolderColors>;
12
+ $colors: Store<IFolderColors>;
13
13
  /** Добавить цвет папке */
14
- setColor: EventCallable<IFolderColor>;
14
+ setColor: Event<IFolderColor>;
15
15
  /**$FolderColors.ts
16
16
  * @param folderId идентификатор папки
17
17
  *
@@ -1,25 +1,25 @@
1
1
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
- import { EventCallable, StoreWritable } from 'effector';
2
+ import { Event, Store } from 'effector';
3
3
  export interface ILastSearchResponse {
4
- readonly $instanceId: StoreWritable<string>;
5
- readonly $searchText: StoreWritable<string>;
6
- readonly $searchContextOption: StoreWritable<GenModels.SearchContextOption>;
7
- readonly $lastSearchText: StoreWritable<string>;
8
- readonly $viewId: StoreWritable<string>;
9
- readonly $sortedColumn: StoreWritable<string>;
10
- readonly $isDescending: StoreWritable<boolean>;
11
- readonly $columns: StoreWritable<GenModels.GridUserSettingsColumn[]>;
12
- readonly $listColumns: StoreWritable<GenModels.GridUserSettingsColumn[]>;
13
- readonly $tablePresentation: StoreWritable<GenModels.TablePresentation>;
14
- setInstenceId: EventCallable<string>;
15
- setSearchText: EventCallable<string>;
16
- setSearchContextOption: EventCallable<GenModels.SearchContextOption>;
17
- setViewId: EventCallable<string>;
18
- setSortedColumn: EventCallable<string>;
19
- setColumns: EventCallable<GenModels.GridUserSettingsColumn[]>;
20
- setListColumns: EventCallable<GenModels.GridUserSettingsColumn[]>;
21
- setIsDescending: EventCallable<boolean>;
22
- setTablePresentation: EventCallable<GenModels.TablePresentation>;
4
+ readonly $instanceId: Store<string>;
5
+ readonly $searchText: Store<string>;
6
+ readonly $searchContextOption: Store<GenModels.SearchContextOption>;
7
+ readonly $lastSearchText: Store<string>;
8
+ readonly $viewId: Store<string>;
9
+ readonly $sortedColumn: Store<string>;
10
+ readonly $isDescending: Store<boolean>;
11
+ readonly $columns: Store<GenModels.GridUserSettingsColumn[]>;
12
+ readonly $listColumns: Store<GenModels.GridUserSettingsColumn[]>;
13
+ readonly $tablePresentation: Store<GenModels.TablePresentation>;
14
+ setInstenceId: Event<string>;
15
+ setSearchText: Event<string>;
16
+ setSearchContextOption: Event<GenModels.SearchContextOption>;
17
+ setViewId: Event<string>;
18
+ setSortedColumn: Event<string>;
19
+ setColumns: Event<GenModels.GridUserSettingsColumn[]>;
20
+ setListColumns: Event<GenModels.GridUserSettingsColumn[]>;
21
+ setIsDescending: Event<boolean>;
22
+ setTablePresentation: Event<GenModels.TablePresentation>;
23
23
  }
24
24
  export type $LastSearchResponse = {
25
25
  lastSearchResponse: ILastSearchResponse;
@@ -1,5 +1,5 @@
1
1
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
- import { StoreWritable, EventCallable } from 'effector';
2
+ import { Store, Event } from 'effector';
3
3
  export declare enum LayoutBackgroundStyle {
4
4
  Tile = "repeat",
5
5
  Stretch = "cover"
@@ -16,10 +16,10 @@ export interface ILayoutBackground {
16
16
  }
17
17
  /** Реализация {@link ILayoutBackgroundService} */
18
18
  export interface ILayoutBackgroundService {
19
- readonly $webFrame: StoreWritable<ILayoutBackground>;
20
- readonly $layout: StoreWritable<ILayoutBackground>;
21
- setWebFrame: EventCallable<ILayoutBackground>;
22
- setLayout: EventCallable<ILayoutBackground>;
19
+ readonly $webFrame: Store<ILayoutBackground>;
20
+ readonly $layout: Store<ILayoutBackground>;
21
+ setWebFrame: Event<ILayoutBackground>;
22
+ setLayout: Event<ILayoutBackground>;
23
23
  }
24
24
  export type $LayoutBackground = {
25
25
  layoutBackground: ILayoutBackgroundService;
@@ -1,8 +1,8 @@
1
- import { StoreWritable, EventCallable } from "effector";
1
+ import { Store, Event } from "effector";
2
2
  export interface ISessionRelatedContent {
3
3
  /** Признак наличия на странице содержимого, зависящего от пользовательской сессии. */
4
- readonly $hasSessionRelatedContent: StoreWritable<boolean>;
5
- setHasSessionRelatedContent: EventCallable<boolean>;
4
+ readonly $hasSessionRelatedContent: Store<boolean>;
5
+ setHasSessionRelatedContent: Event<boolean>;
6
6
  }
7
7
  /** Сервис для обнаружения зависимого от сессии содержимого на странице. */
8
8
  export type $SessionRelatedContent = {
@@ -1,12 +1,12 @@
1
- import { StoreWritable, EventCallable } from 'effector';
1
+ import { Store, Event } from 'effector';
2
2
  /** Cервис. */
3
3
  export interface IWebFrameContentHeightService {
4
4
  /** Высота {@link WebFrameNavigationBar} */
5
- readonly $navigationBar: StoreWritable<number>;
5
+ readonly $navigationBar: Store<number>;
6
6
  /** Высота {@link WebFrameHeaderContainer} */
7
- readonly $headerContainer: StoreWritable<number>;
8
- setNavigationBar: EventCallable<number>;
9
- setHeaderContainer: EventCallable<number>;
7
+ readonly $headerContainer: Store<number>;
8
+ setNavigationBar: Event<number>;
9
+ setHeaderContainer: Event<number>;
10
10
  }
11
11
  export type $WebFrameContentHeight = {
12
12
  webFrameContentHeight: IWebFrameContentHeightService;
@@ -1,4 +1,4 @@
1
1
  import { CancelableApiEvent } from '@docsvision/webclient/System/ApiEvent';
2
- import { Domain, EventCallable } from 'effector';
3
- export declare function delayUntilApiEvent<T>(domain: Domain, event: EventCallable<T>, getApiEvent: () => CancelableApiEvent<T>): EventCallable<T>;
4
- export declare function delayUntilApiEventEx<T1, T2>(domain: Domain, event: EventCallable<T1>, convert: (arg: T1) => T2, getApiEvent: () => CancelableApiEvent<T2>): EventCallable<T1>;
2
+ import { Domain, Event } from 'effector';
3
+ export declare function delayUntilApiEvent<T>(domain: Domain, event: Event<T>, getApiEvent: () => CancelableApiEvent<T>): Event<T>;
4
+ export declare function delayUntilApiEventEx<T1, T2>(domain: Domain, event: Event<T1>, convert: (arg: T1) => T2, getApiEvent: () => CancelableApiEvent<T2>): Event<T1>;
@@ -1,11 +1,11 @@
1
1
  import { IFolderColor, IFolderColors, IFolderColorsService } from '@docsvision/webclient/System/$FolderColors';
2
2
  import { $Domain } from '@docsvision/web/core/state-management';
3
- import { EventCallable, StoreWritable } from 'effector';
3
+ import { Store, Event } from 'effector';
4
4
  /** @internal Реализация {@link IFolderColorsService}. */
5
5
  export declare class FolderColorsService implements IFolderColorsService {
6
6
  private services;
7
- $colors: StoreWritable<IFolderColors>;
8
- setColor: EventCallable<IFolderColor>;
7
+ $colors: Store<IFolderColors>;
8
+ setColor: Event<IFolderColor>;
9
9
  constructor(services: $Domain);
10
10
  getFolderUrl: (folderId: string) => string;
11
11
  }
@@ -2,7 +2,7 @@ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.
2
2
  import { ILastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
3
3
  import { $LocalStorage } from "@docsvision/webclient/System/$LocalStorage";
4
4
  import { $Domain } from "@docsvision/web/core/state-management";
5
- import { EventCallable, StoreWritable } from "effector";
5
+ import { Event, Store } from "effector";
6
6
  export declare class LastSearchResponseService implements ILastSearchResponse {
7
7
  private services;
8
8
  static InstanceId: string;
@@ -15,25 +15,25 @@ export declare class LastSearchResponseService implements ILastSearchResponse {
15
15
  static Columns: string;
16
16
  static ListColumns: string;
17
17
  static TablePresentation: string;
18
- $instanceId: StoreWritable<string>;
19
- setInstenceId: EventCallable<string>;
20
- $searchText: StoreWritable<string>;
21
- setSearchText: EventCallable<string>;
22
- $searchContextOption: StoreWritable<GenModels.SearchContextOption>;
23
- setSearchContextOption: EventCallable<GenModels.SearchContextOption>;
24
- $viewId: StoreWritable<string>;
25
- setViewId: EventCallable<string>;
26
- $sortedColumn: StoreWritable<string>;
27
- setSortedColumn: EventCallable<string>;
28
- $isDescending: StoreWritable<boolean>;
29
- setIsDescending: EventCallable<boolean>;
30
- $lastSearchText: StoreWritable<string>;
31
- $columns: StoreWritable<GenModels.GridUserSettingsColumn[]>;
32
- setColumns: EventCallable<GenModels.GridUserSettingsColumn[]>;
33
- $listColumns: StoreWritable<GenModels.GridUserSettingsColumn[]>;
34
- setListColumns: EventCallable<GenModels.GridUserSettingsColumn[]>;
35
- $tablePresentation: StoreWritable<GenModels.TablePresentation>;
36
- setTablePresentation: EventCallable<GenModels.TablePresentation>;
18
+ $instanceId: Store<string>;
19
+ setInstenceId: Event<string>;
20
+ $searchText: Store<string>;
21
+ setSearchText: Event<string>;
22
+ $searchContextOption: Store<GenModels.SearchContextOption>;
23
+ setSearchContextOption: Event<GenModels.SearchContextOption>;
24
+ $viewId: Store<string>;
25
+ setViewId: Event<string>;
26
+ $sortedColumn: Store<string>;
27
+ setSortedColumn: Event<string>;
28
+ $isDescending: Store<boolean>;
29
+ setIsDescending: Event<boolean>;
30
+ $lastSearchText: Store<string>;
31
+ $columns: Store<GenModels.GridUserSettingsColumn[]>;
32
+ setColumns: Event<GenModels.GridUserSettingsColumn[]>;
33
+ $listColumns: Store<GenModels.GridUserSettingsColumn[]>;
34
+ setListColumns: Event<GenModels.GridUserSettingsColumn[]>;
35
+ $tablePresentation: Store<GenModels.TablePresentation>;
36
+ setTablePresentation: Event<GenModels.TablePresentation>;
37
37
  constructor(services: $LocalStorage & $Domain);
38
38
  private setData;
39
39
  }
@@ -1,12 +1,12 @@
1
1
  import { ILayoutBackground, ILayoutBackgroundService } from '@docsvision/webclient/System/$LayoutBackground';
2
2
  import { $Domain } from '@docsvision/web/core/state-management';
3
- import { StoreWritable, EventCallable } from 'effector';
3
+ import { Store, Event } from 'effector';
4
4
  /** @internal Реализация {@link ILayoutBackgroundService}. */
5
5
  export declare class LayoutBackgroundService implements ILayoutBackgroundService {
6
6
  private services;
7
- $webFrame: StoreWritable<ILayoutBackground>;
8
- setWebFrame: EventCallable<ILayoutBackground>;
9
- $layout: StoreWritable<ILayoutBackground>;
10
- setLayout: EventCallable<ILayoutBackground>;
7
+ $webFrame: Store<ILayoutBackground>;
8
+ setWebFrame: Event<ILayoutBackground>;
9
+ $layout: Store<ILayoutBackground>;
10
+ setLayout: Event<ILayoutBackground>;
11
11
  constructor(services: $Domain);
12
12
  }
@@ -6,7 +6,7 @@ import { IPoll } from "@docsvision/webclient/System/$PollService";
6
6
  import { $MessageWindow } from "@docsvision/web/components/modals/message-box";
7
7
  import { $Resources } from "@docsvision/web/core/localization/$Resources";
8
8
  import { $Domain } from "@docsvision/web/core/state-management";
9
- import { EventCallable, StoreWritable } from "effector";
9
+ import { Store, Event } from "effector";
10
10
 
11
11
  export declare enum PollStatus {
12
12
  Done = 0,
@@ -15,9 +15,9 @@ export declare enum PollStatus {
15
15
  export type TPollServices = $ApplicationSettings & $Domain & $LayoutUserSettingsController & $LocalStorage & $Resources & $MessageWindow & $CacheManagement & $DeviceType;
16
16
  export declare class PollService implements IPoll {
17
17
  private services;
18
- $URL: StoreWritable<string>;
19
- $nextPollDate: StoreWritable<Date>;
20
- setNextPollDate: EventCallable<Date>;
18
+ $URL: Store<string>;
19
+ $nextPollDate: Store<Date>;
20
+ setNextPollDate: Event<Date>;
21
21
  constructor(services: TPollServices);
22
22
  checkNotificationDisplay: () => Promise<void>;
23
23
  private updateStatus;
@@ -1,8 +1,8 @@
1
1
  import { ISessionRelatedContent } from "@docsvision/webclient/System/$SessionRelatedContent";
2
2
  import { $Domain } from "@docsvision/web/core/state-management";
3
- import { StoreWritable, EventCallable } from "effector";
3
+ import { Store, Event } from "effector";
4
4
  export declare class SessionRelatedContentService implements ISessionRelatedContent {
5
- $hasSessionRelatedContent: StoreWritable<boolean>;
6
- setHasSessionRelatedContent: EventCallable<boolean>;
5
+ $hasSessionRelatedContent: Store<boolean>;
6
+ setHasSessionRelatedContent: Event<boolean>;
7
7
  constructor(services: $Domain);
8
8
  }
@@ -1,14 +1,14 @@
1
1
  import { IWebFrameContentHeightService } from '@docsvision/webclient/System/$WebFrameContentHeight';
2
2
  import { $Domain } from '@docsvision/web/core/state-management';
3
- import { StoreWritable, EventCallable } from 'effector';
3
+ import { Store, Event } from 'effector';
4
4
  /** @internal Реализация {@link IWebFrameContentHeightService}. */
5
5
  export declare class WebFrameContentHeightService implements IWebFrameContentHeightService {
6
6
  private services;
7
7
  static defaultNavigationBar: number;
8
8
  static defaultHeaderContainer: number;
9
- $navigationBar: StoreWritable<number>;
10
- $headerContainer: StoreWritable<number>;
11
- setNavigationBar: EventCallable<number>;
12
- setHeaderContainer: EventCallable<number>;
9
+ $navigationBar: Store<number>;
10
+ $headerContainer: Store<number>;
11
+ setNavigationBar: Event<number>;
12
+ setHeaderContainer: Event<number>;
13
13
  constructor(services: $Domain);
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "6.1.20-beta.1",
3
+ "version": "6.1.22-beta.1",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},