@docsvision/webclient 5.17.0-beta.4 → 5.17.0-beta.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 (134) hide show
  1. package/Approval/AgreementHistoryImpl.d.ts +2 -0
  2. package/Approval/AgreementList.d.ts +2 -2
  3. package/Approval/AgreementListImpl.d.ts +3 -0
  4. package/BackOffice/Address.d.ts +3 -2
  5. package/BackOffice/CardKind.d.ts +3 -2
  6. package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
  7. package/BackOffice/ColumnSettingsDialog.d.ts +2 -0
  8. package/BackOffice/CreateWindow.d.ts +2 -1
  9. package/BackOffice/Department.d.ts +3 -2
  10. package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
  11. package/BackOffice/DepartmentImpl.d.ts +2 -0
  12. package/BackOffice/DirectoryDesignerRow.d.ts +3 -2
  13. package/BackOffice/DirectorySearchResultView.d.ts +1 -1
  14. package/BackOffice/EditTaskDescription.d.ts +2 -1
  15. package/BackOffice/EditTaskDescriptionDialog.d.ts +2 -0
  16. package/BackOffice/EditTaskDuration.d.ts +2 -2
  17. package/BackOffice/EditTaskDurationDialog.d.ts +2 -1
  18. package/BackOffice/EditWindow.d.ts +2 -1
  19. package/BackOffice/ExistingCardLinkDialog.d.ts +12 -4
  20. package/BackOffice/FileRenamingDialog.d.ts +2 -2
  21. package/BackOffice/PartnerBase.d.ts +4 -3
  22. package/BackOffice/PartnerBaseImpl.d.ts +2 -0
  23. package/BackOffice/PartnerDirectoryBase.d.ts +5 -4
  24. package/BackOffice/PartnerSelectDialog.d.ts +8 -1
  25. package/BackOffice/PartnerTypeaheadVariant.d.ts +3 -2
  26. package/BackOffice/PrintButtonView.d.ts +1 -1
  27. package/BackOffice/SearchBar.d.ts +4 -0
  28. package/BackOffice/StaffDirectoryConstants.d.ts +15 -0
  29. package/BackOffice/StaffDirectoryItems.d.ts +1 -1
  30. package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
  31. package/BackOffice/TaskTasksTreeNodeResolver.d.ts +3 -2
  32. package/BackOffice/Tasks.d.ts +2 -1
  33. package/BackOffice/TasksTableLogic.d.ts +4 -0
  34. package/BackOffice/TasksTableView.d.ts +3 -3
  35. package/BackOffice/TasksTree.d.ts +2 -1
  36. package/BackOffice/TasksTreeImpl.d.ts +3 -0
  37. package/BackOffice/WebFrameDirectorySearchPanel.d.ts +2 -1
  38. package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -0
  39. package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
  40. package/Generated/DocsVision.WebClient.Controllers.d.ts +6 -1
  41. package/Generated/DocsVision.WebClient.Models.d.ts +102 -9
  42. package/Helpers/DateRangePicker/DateRangePicker.d.ts +24 -0
  43. package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
  44. package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
  45. package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +14 -0
  46. package/Helpers/ModalDialog/CommonModalDialog.d.ts +3 -1
  47. package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +5 -2
  48. package/Helpers/ModalDialog/ModalDialogBox.d.ts +2 -0
  49. package/Helpers/ModalDialog/ModalDialogMaximizeButton.d.ts +23 -0
  50. package/Helpers/ModalDialog/ScrollableModal.d.ts +8 -0
  51. package/Legacy/ApprovalFilePanel.d.ts +1 -0
  52. package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
  53. package/Legacy/GroupTaskCardPerformersPanelRazorControl.d.ts +2 -1
  54. package/Legacy/ModalWindow.d.ts +7 -2
  55. package/Legacy/ModalWindowParams.d.ts +6 -0
  56. package/Legacy/SelectFolderModalDialog.d.ts +2 -1
  57. package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +0 -1
  58. package/Platform/$ContextMenuOptions.d.ts +1 -0
  59. package/Platform/$FolderDataLoading.d.ts +3 -1
  60. package/Platform/$FolderGrid.d.ts +7 -0
  61. package/Platform/$TablePresentationToggle.d.ts +8 -0
  62. package/Platform/ArchivedCardsIcon.d.ts +4 -1
  63. package/Platform/ArchivedCardsPlugin.d.ts +1 -1
  64. package/Platform/ArchivedCardsResponseResolver.d.ts +1 -2
  65. package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
  66. package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
  67. package/Platform/CalendarInput.d.ts +1 -1
  68. package/Platform/ClearButton.d.ts +7 -5
  69. package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
  70. package/Platform/DateInput.d.ts +3 -13
  71. package/Platform/Dropdown.d.ts +4 -0
  72. package/Platform/FilterDate.d.ts +11 -0
  73. package/Platform/FilterDateRangePicker.d.ts +6 -0
  74. package/Platform/FilterDateTextListInput.d.ts +5 -0
  75. package/Platform/FocusableTextInput.d.ts +3 -8
  76. package/Platform/Folder.d.ts +2 -1
  77. package/Platform/FolderContent.d.ts +2 -0
  78. package/Platform/FolderDataLoadingService.d.ts +3 -1
  79. package/Platform/FolderGrid.d.ts +1 -1
  80. package/Platform/FolderGrid.stories.d.ts +1 -0
  81. package/Platform/FolderGridConstants.d.ts +7 -0
  82. package/Platform/FolderGridService.d.ts +4 -1
  83. package/Platform/FolderImpl.d.ts +2 -0
  84. package/Platform/IFilterComponent.d.ts +29 -0
  85. package/Platform/InputWithMask.d.ts +4 -3
  86. package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
  87. package/Platform/ListCheckbox.d.ts +6 -0
  88. package/Platform/ListContent.d.ts +8 -0
  89. package/Platform/ListContentHightlight.d.ts +9 -0
  90. package/Platform/ListEmpty.d.ts +6 -0
  91. package/Platform/ListEmptySearchIcon.d.ts +6 -0
  92. package/Platform/ListInput.d.ts +9 -0
  93. package/Platform/ListItem.d.ts +6 -0
  94. package/Platform/ListLoading.d.ts +6 -0
  95. package/Platform/ListSearchIcon.d.ts +6 -0
  96. package/Platform/ListSlot.d.ts +7 -0
  97. package/Platform/ListTotalItem.d.ts +8 -0
  98. package/Platform/ListViewResponseResolver.d.ts +13 -0
  99. package/Platform/LoaderDialog.d.ts +1 -1
  100. package/Platform/ScanDialogService.d.ts +2 -1
  101. package/Platform/SearchTextInput.d.ts +6 -0
  102. package/Platform/SecurityDescriptorDialog.d.ts +3 -3
  103. package/Platform/SecurityDialogFrame.d.ts +2 -1
  104. package/Platform/SettingsPopup.d.ts +1 -1
  105. package/Platform/SettingsPopup.stories.d.ts +1 -0
  106. package/Platform/SettingsPopupExtendedData.d.ts +2 -2
  107. package/Platform/SettingsPopupLogic.d.ts +7 -1
  108. package/Platform/SettingsPopupResponseResolver.d.ts +0 -2
  109. package/Platform/Table.d.ts +2 -1
  110. package/Platform/TableCreateRowWindow.d.ts +2 -1
  111. package/Platform/TableEditRowWindow.d.ts +2 -1
  112. package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
  113. package/Platform/TablePresentationToggleService.d.ts +8 -0
  114. package/Platform/TextListInput.d.ts +6 -0
  115. package/Platform/TextListInputLogic.d.ts +55 -0
  116. package/Platform/TextListInputView.d.ts +40 -0
  117. package/Platform/TextListInputWrapper.d.ts +7 -0
  118. package/Platform/UnreadBarTablePlugins.d.ts +3 -0
  119. package/Platform/UserProfileDialog.d.ts +1 -1
  120. package/Platform/WebFrameSearchPanel.d.ts +4 -2
  121. package/Platform/applyCurrentSettings.d.ts +7 -1
  122. package/Platform/setColumnsSettings.d.ts +6 -0
  123. package/Platform/updateValueCheckedColumn.d.ts +5 -1
  124. package/StandardServices.d.ts +2 -1
  125. package/System/BaseControl.d.ts +1 -0
  126. package/System/CancelableEvent.d.ts +1 -1
  127. package/System/ControlTemplateView.d.ts +1 -1
  128. package/System/DirectoryBaseImpl.d.ts +5 -1
  129. package/System/DirectorySelectDialog.d.ts +9 -2
  130. package/System/LocationContainerControl.d.ts +2 -1
  131. package/System/summernote-paste-without-formating.d.ts +10 -0
  132. package/package.json +1 -1
  133. package/Legacy/SearchPanelRouteHandler.d.ts +0 -18
  134. package/Platform/GridConstants.d.ts +0 -4
@@ -0,0 +1,6 @@
1
+ import { HtmlProps } from '@docsvision/web/core/component';
2
+ import React from 'react';
3
+ import './SearchTextInput.css';
4
+ export interface ISearchTextInputProps extends HtmlProps.input {
5
+ }
6
+ export declare const SearchTextInput: React.ForwardRefExoticComponent<Pick<ISearchTextInputProps, "dir" | "form" | "slot" | "style" | "title" | "name" | "disabled" | "children" | "pattern" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "width" | "hidden" | "type" | "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" | "list" | "src" | "height" | "value" | "required" | "step" | "size" | "autoComplete" | "autoFocus" | "readOnly" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "alt" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple"> & React.RefAttributes<HTMLInputElement>>;
@@ -5,13 +5,13 @@ import { ModalHost } from '@docsvision/webclient/Helpers/ModalHost';
5
5
  import { showDisableInheritanceModeSelectDialog } from '@docsvision/webclient/Platform/DisableInheritanceModeSelectDialog';
6
6
  import { ColumnWidthOptions } from '@docsvision/webclient/Platform/ColumnWidthOptions';
7
7
  import { SecurityDescriptorDialogLogic } from '@docsvision/webclient/Platform/SecurityDescriptorDialogLogic';
8
- import { $CurrentEmployeeId } from '@docsvision/webclient/StandardServices';
8
+ import { $CurrentEmployeeId, $DeviceType } from '@docsvision/webclient/StandardServices';
9
9
  import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
10
10
  import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
11
11
  import { IComponentProps } from '@docsvision/web/core/component';
12
12
  import React from 'react';
13
13
  import "./SecurityDescriptorDialog.css";
14
- export declare type $SecurityDescriptorDialogServices = $SecurityController & $LocalStorage & $CurrentEmployeeId & $StaffDirectoryItemsServices & $MessageBox;
14
+ export declare type $SecurityDescriptorDialogServices = $SecurityController & $LocalStorage & $CurrentEmployeeId & $StaffDirectoryItemsServices & $MessageBox & $DeviceType;
15
15
  export interface SecurityDescriptorDialogProps extends IComponentProps<SecurityDescriptorDialogLogic, SecurityDescriptorDialogView> {
16
16
  target: GenModels.SecurityTarget;
17
17
  canEdit?: boolean;
@@ -23,7 +23,7 @@ export declare class SecurityDescriptorDialogView {
23
23
  frame: (props:
24
24
  import("./components/SecurityDialogFrame").SecurityDialogFrameProps) => JSX.Element;
25
25
  table: (props:
26
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Table/TableHelper").ITableHelperProps) => JSX.Element;
26
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Table/TableHelper").ITableHelperProps) => JSX.Element;
27
27
  tableHead: (props:
28
28
  import("./components/AccessListTableHead").AccessListTableHeadProps) => JSX.Element;
29
29
  inheritanceButtons: (props:
@@ -1,3 +1,4 @@
1
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
1
2
  import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
2
3
  import React from 'react';
3
4
  import './SecurityDialogFrame.css';
@@ -13,6 +14,6 @@ export interface SecurityDialogFrameProps {
13
14
  onAcceptClick: () => void;
14
15
  onApplyClick: () => void;
15
16
  onCancelClick: () => void;
16
- services: $LocalStorage;
17
+ services: $LocalStorage & $DeviceType;
17
18
  }
18
19
  export declare const SecurityDialogFrame: (props: SecurityDialogFrameProps) => JSX.Element;
@@ -10,6 +10,6 @@ export interface ISettingsPopupProps extends IComponentProps<SettingsPopupLogic,
10
10
  closePopup: () => void;
11
11
  isOpen: boolean;
12
12
  services: SettingPluginServices;
13
- data: Store<ITableData>;
13
+ $data: Store<ITableData>;
14
14
  }
15
15
  export declare const SettingsPopup: (props: ISettingsPopupProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -4,6 +4,6 @@ import { ISimplePluginData } from "@docsvision/web/core/extensibility/plugins";
4
4
  interface IExtendedDataGridUserSettings {
5
5
  gridUserSettings: GenModels.GridUserSettingsData;
6
6
  }
7
- export declare function getExtendedDataGridUserSettings(tableData: ITableData): IExtendedDataGridUserSettings;
8
- export declare function getExtendedDataViewId(tableData: ITableData): ISimplePluginData<string>;
7
+ export declare function getGridUserSettings(tableData: ITableData): IExtendedDataGridUserSettings;
8
+ export declare function getViewId(tableData: ITableData): ISimplePluginData<string>;
9
9
  export {};
@@ -1,4 +1,5 @@
1
1
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
+ import { IColumnVisibility } from '@docsvision/webclient/Platform/updateValueCheckedColumn';
2
3
  import { ISettingsPopupProps } from '@docsvision/webclient/Platform/SettingsPopup';
3
4
  import { ComponentLogic } from '@docsvision/web/core/component';
4
5
  export declare class SettingsPopupLogic extends ComponentLogic<ISettingsPopupProps> {
@@ -25,6 +26,10 @@ import("effector").Store<{
25
26
  import("effector").Store<GenModels.GridViewMode>;
26
27
  selectedRowsMode:
27
28
  import("effector").Event<string>;
29
+ $rowsModeVisible:
30
+ import("effector").Store<boolean>;
31
+ setRowsModeVisible:
32
+ import("effector").Event<boolean>;
28
33
  $gridUserSettings:
29
34
  import("effector").Store<GenModels.GridUserSettingsData>;
30
35
  $columns:
@@ -36,12 +41,13 @@ import("effector").Event<GenModels.ViewColumnModel[]>;
36
41
  $columnsVisible:
37
42
  import("effector").Store<GenModels.ViewColumnModel[]>;
38
43
  updateCheckedColumn:
39
- import("effector").Event<string>;
44
+ import("effector").Event<IColumnVisibility>;
40
45
  getColumnsFx:
41
46
  import("effector").Effect<string, GenModels.ViewColumnModel[], Error>;
42
47
  getGridUserDataFx:
43
48
  import("effector").Effect<unknown, GenModels.GridUserSettingsData, Error>;
44
49
  saveGridUserSettingsFx:
45
50
  import("effector").Effect<void, void, Error>;
51
+ getHeader(): string;
46
52
  init(): void;
47
53
  }
@@ -8,6 +8,4 @@ export declare class SettingsPopupResponseResolver implements IFolderDataLoading
8
8
  description: string;
9
9
  order: PluginOrder;
10
10
  resolveResponse(data: ITableData, response: GenModels.GridViewModelEx): Promise<void | ResponseResolveResult>;
11
- private setColumnsOrder;
12
- private selectColumnsToDisplay;
13
11
  }
@@ -14,6 +14,7 @@ import { IEventArgs } from "@docsvision/webclient/System/IEventArgs";
14
14
  import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
15
15
  import { Optional } from '@docsvision/web/core/services';
16
16
  import { SaveControlDataModelEventArgs } from '@docsvision/webclient/System/Layout';
17
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
17
18
  /**
18
19
  * Содержит публичные свойства элемента управления [Таблица]{@link Table}.
19
20
  */
@@ -70,7 +71,7 @@ export declare class TableParams extends PanelParams {
70
71
  expanding: CancelableApiEvent<IEventArgs>;
71
72
  /** Событие, возникающее при разворачивании. */
72
73
  expanded: BasicApiEvent<IEventArgs>;
73
- services?: $LayoutCardController & $LayoutRowController & $Layout & $CardId & $RowId & Optional<$RowInfo> & $LayoutManager;
74
+ services?: $LayoutCardController & $LayoutRowController & $Layout & $CardId & $RowId & Optional<$RowInfo> & $LayoutManager & $DeviceType;
74
75
  }
75
76
  /**
76
77
  * Класс элемента управления Таблица
@@ -1,3 +1,4 @@
1
1
  import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
2
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
2
3
  import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
3
- export declare function showTableRowCreateWindow(cardId: string, sectionId: string, parentRowId: string | null, services: $LayoutRowController & $LocationContainerControlServices, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<string>;
4
+ export declare function showTableRowCreateWindow(cardId: string, sectionId: string, parentRowId: string | null, services: $LayoutRowController & $LocationContainerControlServices & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<string>;
@@ -1,3 +1,4 @@
1
1
  import { $LayoutRowController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
2
+ import { $DeviceType } from '@docsvision/webclient/StandardServices';
2
3
  import { $LocationContainerControlServices } from '@docsvision/webclient/System/LocationContainerControl';
3
- export declare function showTableEditWindow(cardId: string, sectionId: string, rowId: string, services: $LayoutRowController & $LocationContainerControlServices, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<void>;
4
+ export declare function showTableEditWindow(cardId: string, sectionId: string, rowId: string, services: $LayoutRowController & $LocationContainerControlServices & $DeviceType, modalHostBinder?: (CommonModalDialogHost: any) => void): Promise<void>;
@@ -0,0 +1,9 @@
1
+ import { TablePlugins, ITablePlugins } from '@docsvision/web/components/table/interfaces';
2
+ import { $FolderDataLoading } from '@docsvision/webclient/Platform/$FolderDataLoading';
3
+ import { $ListView } from '@docsvision/web/components/table/plugins/list-view';
4
+ import { $TableData } from '@docsvision/web/components/table/plugins/table-data';
5
+ import { $TableUpdate } from '@docsvision/web/components/table/plugins/table-update';
6
+ import { $TablePresentationToggle } from '@docsvision/webclient/Platform/$TablePresentationToggle';
7
+ export declare const TablePresentationToggleServiceProvider: TablePlugins.ServiceProvider<$TablePresentationToggle & $FolderDataLoading & $ListView & $TableData & $TableUpdate>;
8
+ /** Образец регистрации плагинов данной функциональности. */
9
+ export declare const PluginTemplatePlugins: ITablePlugins;
@@ -0,0 +1,8 @@
1
+ import { ITablePresentationToggleService } from '@docsvision/webclient/Platform/$TablePresentationToggle';
2
+ import { $FolderDataLoading } from '@docsvision/webclient/Platform/$FolderDataLoading';
3
+ import { $ListView } from '@docsvision/web/components/table/plugins/list-view';
4
+ import { $TableData } from '@docsvision/web/components/table/plugins/table-data';
5
+ import { $TableUpdate } from '@docsvision/web/components/table/plugins/table-update';
6
+ export declare class TablePresentationToggleService implements ITablePresentationToggleService {
7
+ constructor(services: $FolderDataLoading & $ListView & $TableData & $TableUpdate);
8
+ }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IComponentProps } from '@docsvision/web/core/component';
3
+ import { IFilterComponent } from '@docsvision/webclient/Platform/IFilterComponent';
4
+ export interface ITextListInputProps extends IComponentProps, IFilterComponent {
5
+ }
6
+ export declare const TextListInput: React.NamedExoticComponent<ITextListInputProps>;
@@ -0,0 +1,55 @@
1
+ import { ITextListInputProps } from "@docsvision/webclient/Platform/TextListInput";
2
+ import { ComponentLogic } from "@docsvision/web/core/component";
3
+ import { ChangeEvent } from "react";
4
+ export interface IListItems {
5
+ selected: boolean;
6
+ value: string;
7
+ }
8
+ export declare class TextListInputLogic extends ComponentLogic<ITextListInputProps> {
9
+ domain:
10
+ import("effector").Domain;
11
+ pageSize: number;
12
+ pageNumber: number;
13
+ scrollTop: number;
14
+ searchText: string;
15
+ isFullList: boolean;
16
+ listWrapper: HTMLDivElement;
17
+ filterValues: string[];
18
+ $listWrapper:
19
+ import("effector").Store<HTMLDivElement>;
20
+ setListWrapper:
21
+ import("effector").Event<HTMLDivElement>;
22
+ $listScrollable:
23
+ import("effector").Store<boolean>;
24
+ setListScrollable:
25
+ import("effector").Event<boolean>;
26
+ setSearchText:
27
+ import("effector").Event<ChangeEvent<HTMLInputElement>>;
28
+ $searchText:
29
+ import("effector").Store<string>;
30
+ $formatedSearchText:
31
+ import("effector").Store<string>;
32
+ setListItems:
33
+ import("effector").Event<IListItems[]>;
34
+ $listItems:
35
+ import("effector").Store<IListItems[]>;
36
+ $loading:
37
+ import("effector").Store<boolean>;
38
+ setLoading:
39
+ import("effector").Event<boolean>;
40
+ private getListData;
41
+ private getGrouping;
42
+ private format;
43
+ private reloadListData;
44
+ onClear: (e: any) => void;
45
+ private clearDateString;
46
+ private formatData;
47
+ private onScrollTop;
48
+ onScroll: (e: React.UIEvent<HTMLDivElement>) => void;
49
+ onCheckboxChange: (e: React.ChangeEvent<HTMLInputElement>, key: number) => void;
50
+ private onChangeItems;
51
+ private formatItem;
52
+ onVisible(): void;
53
+ formatNumber(str: any): any;
54
+ init(): void;
55
+ }
@@ -0,0 +1,40 @@
1
+ /// <reference types="react" />
2
+ export declare class TextListInputView {
3
+ listInput:
4
+ import("react").ForwardRefExoticComponent<Pick<
5
+ import("./components/ListInput").IListInputProps, "dir" | "slot" | "style" | "title" | "children" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "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" | "isScrollable" | "isDate"> &
6
+ import("react").RefAttributes<HTMLDivElement>>;
7
+ clearButton:
8
+ import("react").FC<
9
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/@docsvision/ClearButton").IFilteringClearButtonProps>;
10
+ textInput:
11
+ import("react").ForwardRefExoticComponent<Pick<
12
+ import("./components/SearchTextInput").ISearchTextInputProps, "dir" | "form" | "slot" | "style" | "title" | "name" | "disabled" | "children" | "pattern" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "width" | "hidden" | "type" | "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" | "list" | "src" | "height" | "value" | "required" | "step" | "size" | "autoComplete" | "autoFocus" | "readOnly" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "alt" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple"> &
13
+ import("react").RefAttributes<HTMLInputElement>>;
14
+ wrapper: (props:
15
+ import("./components/TextListInputWrapper").ITextListInputWrapperProps) => JSX.Element;
16
+ content: (props:
17
+ import("./components/ListContent").IListContentProps) => JSX.Element;
18
+ item: (props:
19
+ import("./components/ListItem").IListItemProps) => JSX.Element;
20
+ checkbox:
21
+ import("react").ForwardRefExoticComponent<Pick<
22
+ import("./components/ListCheckbox").IListCheckboxProps, "dir" | "form" | "slot" | "style" | "title" | "name" | "disabled" | "children" | "pattern" | "className" | "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "tabIndex" | "color" | "width" | "hidden" | "type" | "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" | "list" | "src" | "height" | "value" | "required" | "step" | "size" | "autoComplete" | "autoFocus" | "readOnly" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "alt" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "multiple"> &
23
+ import("react").RefAttributes<HTMLInputElement>>;
24
+ empty: (props:
25
+ import("./components/ListEmpty").IListEmptyProps) => JSX.Element;
26
+ icon: (props:
27
+ import("./components/ListEmptySearchIcon").IListEmptySearchIconProps) => JSX.Element;
28
+ slot: (props:
29
+ import("./components/ListSlot").IListSlotProps) => JSX.Element;
30
+ searchIcon: (props:
31
+ import("./components/ListSearchIcon").IListSearchIconProps) => JSX.Element;
32
+ total: (props:
33
+ import("./components/ListTotalItem").IListTotalItemProps) => JSX.Element;
34
+ light: (props:
35
+ import("./components/ListContentHightlight").IListContenHightlightProps) => JSX.Element;
36
+ magnifyIcon: (props:
37
+ import("@docsvision/web/icons/MagnifyIcon").IMagnifyIconProps) => JSX.Element;
38
+ loading: (props:
39
+ import("./components/ListLoading").IListLoadingProps) => JSX.Element;
40
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { HtmlProps } from '@docsvision/web/core/component';
3
+ import './TextListInputWrapper.css';
4
+ export interface ITextListInputWrapperProps extends HtmlProps.div {
5
+ isDate: boolean;
6
+ }
7
+ export declare const TextListInputWrapper: (props: ITextListInputWrapperProps) => JSX.Element;
@@ -4,8 +4,11 @@ import { $CardController } from '@docsvision/webclient/Generated/DocsVision.WebC
4
4
  import { $UnreadCounter } from '@docsvision/webclient/Platform/$UnreadCounter';
5
5
  import { TablePlugins, ITablePlugins } from '@docsvision/web/components/table/interfaces';
6
6
  import { $Domain } from '@docsvision/web/core/state-management';
7
+ import "./UnreadBarTablePlugins.css";
7
8
  export declare const UnreadBarFeature = "UnreadBarFeature";
9
+ export declare const UNREAD_BAR_COLUMN_VISIBILITY = "UnreadBarVisibility";
8
10
  export declare const UnreadBarTableCellPlugin: TablePlugins.Cell.Component<$UnreadBar>;
11
+ export declare const UnreadBarListViewTableCellPlugin: TablePlugins.Cell.Component<$UnreadBar>;
9
12
  export declare const UnreadBarServiceProvider: TablePlugins.ServiceProvider<$UnreadBar & $CardController & $UnreadCounter & $Domain>;
10
13
  export declare const UnreadBarTableRowMountEffect: TablePlugins.Row.MountEffect<$ApplicationSettings & $UnreadBar>;
11
14
  export declare const UnreadBarTableRowDecorator: TablePlugins.Row.Decorator<$ApplicationSettings & $UnreadBar>;
@@ -25,7 +25,7 @@ export declare class UserProfileDialog extends React.Component<Props, State> imp
25
25
  private attachRoot;
26
26
  DialogBox:
27
27
  import("styled-components").StyledComponent<(props:
28
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
28
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
29
29
  close(): void;
30
30
  render(): JSX.Element;
31
31
  }
@@ -8,9 +8,10 @@ import { $CompanyLogo } from '@docsvision/webclient/Platform/$CompanyLogo';
8
8
  import { SearchDropdown } from '@docsvision/webclient/Legacy/SearchDropdown';
9
9
  import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
10
10
  import { $Router } from '@docsvision/webclient/System/$Router';
11
- import { $WebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
12
11
  import { $ExperimentalFeature } from '@docsvision/webclient/System/$ExperimentalFeature';
13
12
  import { $LastSearchResponse } from '@docsvision/webclient/System/$LastSearchResponse';
13
+ import { $WebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
14
+ import { $Resources } from '@docsvision/web/core/localization/$Resources';
14
15
  export declare class WebFrameSearchPanelParams extends BaseControlParams {
15
16
  /** Стандартный CSS класс со стилями элемента управления */
16
17
  standardCssClass?: string;
@@ -24,7 +25,7 @@ export declare class WebFrameSearchPanelParams extends BaseControlParams {
24
25
  isClearButtonHidden?: boolean;
25
26
  /** Скрыт ли плейсхолдер */
26
27
  isPlaceholderHidden?: boolean;
27
- services?: $Layout & $ApplicationSettings & $CompanyLogo & $FullTextSearchEnabled & $WebFrameContext & $DeviceType & $Router & $LastSearchRequest & $WebFrameSearchPanel & $ExperimentalFeature & $LastSearchResponse;
28
+ services?: $Layout & $ApplicationSettings & $CompanyLogo & $FullTextSearchEnabled & $WebFrameContext & $DeviceType & $Router & $LastSearchRequest & $WebFrameSearchPanel & $ExperimentalFeature & $LastSearchResponse & $Resources & $WebFrameSearchPanel;
28
29
  }
29
30
  export interface WebFrameSearchPanelState extends WebFrameSearchPanelParams, BaseControlState {
30
31
  }
@@ -81,6 +82,7 @@ export declare class WebFrameSearchPanel extends BaseControl<WebFrameSearchPanel
81
82
  handleInput: (e: any) => void;
82
83
  updateSearchText: (value: string) => void;
83
84
  handleKeyPress: (e: React.KeyboardEvent<HTMLInputElement>) => void;
85
+ handleOnClickSearchButton: () => void;
84
86
  handleOnKeyUp: (e: React.KeyboardEvent<HTMLInputElement>) => void;
85
87
  renderControl(): JSX.Element;
86
88
  }
@@ -1,2 +1,8 @@
1
1
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
- export declare function applyCurrentSettings(gridUserSettingsData: GenModels.GridUserSettingsData, columns: GenModels.ViewColumnModel[]): GenModels.ViewColumnModel[];
2
+ import { ITableData } from "@docsvision/web/components/table/interfaces";
3
+ export declare function applyCurrentSettings(info: {
4
+ gridUserSettings: GenModels.GridUserSettingsData;
5
+ listView: boolean;
6
+ tableData: ITableData;
7
+ viewId: string;
8
+ }, columns: GenModels.ViewColumnModel[]): GenModels.ViewColumnModel[];
@@ -0,0 +1,6 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ import { ITableData } from "@docsvision/web/components/table/interfaces";
3
+ export declare const DEFAULT_LIST_VIEW_COLUMNS_COUNT_VISIBLE = 3;
4
+ export declare const LIST_VIEW_DEFAULT_COLUMN_VISIBILITY = "ListViewDefaultVisibility";
5
+ export declare const USER_SETUP_COLUMN_VISIBILITY = "UserSetupVisibility";
6
+ export declare function setColumnsSettings(data: ITableData, settings: GenModels.GridUserSettingsData): void;
@@ -1,2 +1,6 @@
1
1
  import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
- export declare function updateValueCheckedColumn(columns: GenModels.ViewColumnModel[], columnName: string): GenModels.ViewColumnModel[];
2
+ export interface IColumnVisibility {
3
+ columnName: string;
4
+ visible: boolean;
5
+ }
6
+ export declare function updateValueCheckedColumn(columns: GenModels.ViewColumnModel[], data: IColumnVisibility): GenModels.ViewColumnModel[];
@@ -48,6 +48,7 @@ import { $WebFrameDirectorySearchInfoStorageService } from "@docsvision/webclien
48
48
  import { $DialogManagement } from "@docsvision/webclient/Helpers/ModalDialog/$DialogManagement";
49
49
  import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
50
50
  import { $LastSearchResponse } from "@docsvision/webclient/System/$LastSearchResponse";
51
+ import { $FolderPluginProvider } from "@docsvision/webclient/Platform/$FolderPluginProvider";
51
52
  /** Сервис доступа к идентификатору текущего пользователя. */
52
53
  export declare type $CurrentEmployeeId = {
53
54
  currentEmployeeId: string;
@@ -137,4 +138,4 @@ export declare type $ApplicationSettings = {
137
138
  };
138
139
  export declare const $ApplicationSettings: string | ((model?: $ApplicationSettings) => GenModels.ApplicationSettings);
139
140
  /** Стандартные сервисы Web-клиента. */
140
- export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse;
141
+ export declare type $StandardServices = $Layout & $Router & $CurrentEmployeeId & $CurrentEmployeeAccountName & $DeviceType & $SiteUrl & $Locale & $FullTextSearchEnabled & $RequestManager & $Sidebar & $FolderViews & $SearchPanel & $NavBar & $Folders & $UnreadCounter & $InstalledCSP & $ApplicationTimestamp & $LayoutManager & $RealtimeCommunicationService & $UserMenu & $LayoutControlFactory & $EditOperationStore & $LayoutInfo & $CardInfo & $RowInfo & $CardId & $RowId & $CardTimestamp & $ControlStore & $LocalStorage & $BaseName & $RouteTimestamp & $EnableRouterLogging & $IsMobileSafari & $LogEnabled & $IsIE & $IsSafari & $LastSearchRequest & $UrlStore & $UrlResolver & $CurrentEmployee & $RouterNavigation & $OwnerLayout & $ApplicationSettings & $ExtensionManager & $WebServices & $BatchOperationsProgressDialog & $BatchOperationsPerformer & $InsideMainMenu & $Timeout & $WebFrameContext & $ExtendedDataSourceInfos & $FilePickerUpload & $MessageBox & $WindowLocation & $FileDownload & $ExperimentalFeature & $UnreadCounterNotification & $EmployeeStatus & $CacheManagement & $FileScan & $LayoutCheck & $ScanDialog & $FileService & $CompanyLogo & $ContentElementProvider & $RootCssClass & $FilePreview & $WebViewIOSEnabled & $FileUpload & Partial<$WebFrameDirectorySearchPanelService> & $Domain & $Resources & $MessageWindow & $DialogManagement & $WebFrameDirectorySearchInfoStorageService & $WebFrameSearchPanel & $LastSearchResponse & $FolderPluginProvider;
@@ -20,6 +20,7 @@ import { IValidationResult } from "@docsvision/webclient/System/IValidationResul
20
20
  import React from "react";
21
21
  import { IValidateEventArgs } from '@docsvision/webclient/System/IValidateEventArgs';
22
22
  export declare let DEFAULT_CONTROL_NAME: string;
23
+ export declare const BASE_CONTROL_SYSTEM_HANDLER = "BASE_CONTROL_SYSTEM_HANDLER";
23
24
  /**
24
25
  * Базовый класс для описания публичных свойств контрола.
25
26
  *
@@ -25,4 +25,4 @@ export declare class CancelableEvent<T> extends BasicEvent<ICancelableEventArgs<
25
25
  /** Создает экземпляр {@link CancelableEvent}. */
26
26
  static Create<T>(sender: any, subscriberFunc?: CancelableApiEvent<T> | string): CancelableEvent<T> & BasicEventHandler<T>;
27
27
  }
28
- export declare function callCancelableEventHandlers<T>(handlers: BasicEventHandler<ICancelableEventArgs<T>>[], data: ICancelableEventArgs<T>, actualSender: any, createArgs?: (data: any) => CancelableEventArgs<T>): void;
28
+ export declare function callCancelableEventHandlers<T>(handlers: BasicEventHandler<ICancelableEventArgs<T>>[], data: ICancelableEventArgs<T>, actualSender: any, paramName: string, createArgs?: (data: any) => CancelableEventArgs<T>): void;
@@ -4,7 +4,7 @@ import { ControlTemplateText } from "@docsvision/webclient/System/ControlTemplat
4
4
  export declare class ControlTemplateView {
5
5
  text: typeof ControlTemplateText;
6
6
  button: (props:
7
- import("C:/Users/sorokin.v/rep/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
7
+ import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
8
8
  frame: typeof ControlTemplateFrame;
9
9
  buttonText: string;
10
10
  }
@@ -23,6 +23,8 @@ export interface DirectoryBaseState<ValueT extends NodeT | ItemT | NodeT[] | Ite
23
23
  directoryDialogSelectedValue: ValueT;
24
24
  typeahead: Typeahead;
25
25
  beforeModalSelectedFilterPath: NodeT[];
26
+ maximized?: boolean;
27
+ maximizeButtonEnabled?: boolean;
26
28
  /** Путь для элемента из поиска, отличается от selectedFilterPath тем, что применяется только при закрытии DirectorySelectDialog */
27
29
  searchFilterPath: NodeT[];
28
30
  }
@@ -32,7 +34,8 @@ export declare abstract class DirectoryBaseImpl<ValueT extends NodeT | ItemT | N
32
34
  static NextPageSize: number;
33
35
  static SearchTimeout: number;
34
36
  private services;
35
- protected modalHost: ModalHost;
37
+ protected: any;
38
+ modalHost: ModalHost;
36
39
  constructor(props: ParamsT, state: StateT, services?: any);
37
40
  /** Отрисовка диалога справочника. */
38
41
  protected abstract renderSelectDialog(props: IDirectorySelectDialogProps<ValueT, NodeT, ItemT> & {
@@ -60,6 +63,7 @@ export declare abstract class DirectoryBaseImpl<ValueT extends NodeT | ItemT | N
60
63
  showDictionary(): Promise<IDirectorySelectDialog>;
61
64
  hideDictionary(): Promise<void>;
62
65
  protected cancelModal(): void;
66
+ protected onMaximizeModal(): void;
63
67
  protected onDirectoryDialogNodeSelected(node: ValueT): void;
64
68
  protected onDirectoryDialogSelectButtonClick(): Promise<void>;
65
69
  protected onFilterSelected: (items: NodeT[]) => Promise<void>;
@@ -27,6 +27,13 @@ export interface IDirectorySelectDialogProps<ValueT extends NodeT | ItemT | Node
27
27
  className?: string;
28
28
  isOpen: boolean;
29
29
  onCancel: () => void;
30
+ /** Существует ли кнопка развертывания */
31
+ maximizeButtonEnabled?: boolean;
32
+ /** Вызывается при попытке развернуть окно */
33
+ onMaximize?: () => void;
34
+ /** При смене значения на true модальное окно развернётся, при смене в false - свернётся. */
35
+ maximized?: boolean;
36
+ services?: any;
30
37
  }
31
38
  /** @internal */
32
39
  export interface IDirectoryChildrenCacheItem<DataT extends GenModels.IDirectoryItemData> {
@@ -70,10 +77,10 @@ export declare abstract class DirectorySelectDialog<ValueT extends NodeT | ItemT
70
77
  protected modalHost: CommonModalDialogHost;
71
78
  static SimpleItemView:
72
79
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
73
- import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
80
+ import("C:/dev/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
74
81
  static SimpleItemViewCompact:
75
82
  import("styled-components").StyledComponent<typeof SimpleItemViewContent, any,
76
- import("C:/Users/sorokin.v/rep/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
83
+ import("C:/dev/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
77
84
  /** @internal */
78
85
  state: StateT;
79
86
  searchInput: HTMLInputElement;
@@ -13,7 +13,8 @@ import { CancelableEvent } from '@docsvision/webclient/System/CancelableEvent';
13
13
  import { IEventArgs } from '@docsvision/webclient/System/IEventArgs';
14
14
  import { SimpleEvent } from '@docsvision/webclient/System/SimpleEvent';
15
15
  import { LocationSourceMode } from '@docsvision/webclient/Helpers/LocationContainer/LocationSourceMode';
16
- export declare type $LocationContainerControlServices = Optional<$LayoutController> & $LayoutManager & Optional<$CurrentLocation> & Optional<$Layout>;
16
+ import { $DeviceType } from "@docsvision/webclient/StandardServices";
17
+ export declare type $LocationContainerControlServices = Optional<$LayoutController> & $LayoutManager & Optional<$CurrentLocation> & Optional<$Layout> & $DeviceType;
17
18
  /**
18
19
  * Содержит публичные свойства элемента управления [LayoutPosition]{@link LayoutPosition}.
19
20
  */
@@ -0,0 +1,10 @@
1
+ export declare function initSummernotePasteWithoutFormattingPlugin(): void;
2
+ export declare class SummernotePasteWithoutFormatingPlugin {
3
+ private ui;
4
+ private options;
5
+ private lang;
6
+ constructor(context: any);
7
+ events: {
8
+ 'summernote.paste': (we: any, e: any) => void;
9
+ };
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/webclient",
3
- "version": "5.17.0-beta.4",
3
+ "version": "5.17.0-beta.8",
4
4
  "description": "Type definitions for DocsVision WebClient scripts and extensions.",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -1,18 +0,0 @@
1
- import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
2
- import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
3
- import { RouteType } from "@docsvision/webclient/System/RouteType";
4
- import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
5
- import { $SearchPanel } from '@docsvision/webclient/Legacy/$SearchPanel';
6
- import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
7
- /** @internal */
8
- export declare class SearchPanelRouteHandler implements IRouteHandler<any> {
9
- private services;
10
- name: string;
11
- availableRouteHandler: boolean;
12
- constructor(services: $WebFrameContext & $SearchPanel & $ExperimentalFeature);
13
- prepareRouteDataLoad(routeData: any, routeType: RouteType): Promise<RouteHandleResult>;
14
- mountRoute(data: any, routeType: RouteType): Promise<RouteHandleResult>;
15
- unmountRoute(data: any, routeType: RouteType): Promise<void>;
16
- }
17
- /** @internal Временная функция, перестраивающая панель поиска в обход стандартного механизма роутинга. Функция будет удалена в следующих релизах. */
18
- export declare function __DangerRemountSearchPanel(): void;
@@ -1,4 +0,0 @@
1
- /** @internal */
2
- export declare const gridConstants: {
3
- FEATURE_NEW_GRID: string;
4
- };