@docsvision/webclient 5.17.0-beta.5 → 5.17.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Approval/AgreementHistoryImpl.d.ts +2 -0
- package/Approval/AgreementList.d.ts +2 -2
- package/Approval/AgreementListImpl.d.ts +3 -0
- package/Approval/AgreementManagement.d.ts +2 -3
- package/Approval/AgreementStageProps.d.ts +2 -3
- package/BackOffice/Address.d.ts +3 -2
- package/BackOffice/CardKind.d.ts +3 -2
- package/BackOffice/CardKindImpl.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/ColumnSettingsDialog.d.ts +2 -0
- package/BackOffice/CreateWindow.d.ts +2 -1
- package/BackOffice/Department.d.ts +3 -2
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DepartmentImpl.d.ts +2 -0
- package/BackOffice/DirectoryDesignerRow.d.ts +3 -3
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +0 -6
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/EditTaskDescription.d.ts +2 -1
- package/BackOffice/EditTaskDescriptionDialog.d.ts +2 -0
- package/BackOffice/EditTaskDuration.d.ts +2 -2
- package/BackOffice/EditTaskDurationDialog.d.ts +2 -1
- package/BackOffice/EditWindow.d.ts +2 -1
- package/BackOffice/ExistingCardLinkDialog.d.ts +12 -4
- package/BackOffice/FileRenamingDialog.d.ts +2 -2
- package/BackOffice/InfoPopover.d.ts +0 -2
- package/BackOffice/Numerator.d.ts +0 -1
- package/BackOffice/NumeratorImpl.d.ts +1 -3
- package/BackOffice/PartnerBase.d.ts +4 -5
- package/BackOffice/PartnerBaseImpl.d.ts +2 -16
- package/BackOffice/PartnerDirectoryBase.d.ts +5 -4
- package/BackOffice/PartnerImpl.d.ts +0 -1
- package/BackOffice/PartnerSelectDialog.d.ts +8 -1
- package/BackOffice/PartnerTypeaheadVariant.d.ts +3 -2
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/SearchBar.d.ts +4 -0
- package/BackOffice/StaffDirectoryConstants.d.ts +15 -2
- package/BackOffice/StaffDirectoryItems.d.ts +5 -13
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +2 -22
- package/BackOffice/TaskTasksTreeNodeResolver.d.ts +3 -2
- package/BackOffice/Tasks.d.ts +2 -1
- package/BackOffice/TasksTable.d.ts +2 -3
- package/BackOffice/TasksTableLogic.d.ts +4 -0
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/TasksTree.d.ts +2 -1
- package/BackOffice/TasksTreeImpl.d.ts +3 -0
- package/BackOffice/WebFrameDirectorySearchPanel.d.ts +2 -1
- package/BackOffice/WebFrameDirectorySearchPanelLogic.d.ts +5 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +6 -1
- package/Generated/DocsVision.WebClient.Models.d.ts +102 -9
- package/Helpers/BoxWithButtons.d.ts +1 -7
- package/Helpers/DateRangePicker/DateRangePicker.d.ts +27 -0
- package/Helpers/DateRangePicker/DateRangePicker.stories.d.ts +9 -0
- package/Helpers/DateRangePicker/components/DateRangePickerDay.d.ts +15 -0
- package/Helpers/DateRangePicker/components/DateRangePickerToolbar.d.ts +16 -0
- package/Helpers/LabeledText.d.ts +0 -8
- package/Helpers/ModalDialog/CommonModalDialog.d.ts +8 -0
- package/Helpers/ModalDialog/CommonModalDialogHost.d.ts +5 -2
- package/Helpers/ModalDialog/ModalDialogBox.d.ts +2 -0
- package/Helpers/ModalDialog/ModalDialogMaximizeButton.d.ts +23 -0
- package/Helpers/ModalDialog/ScrollableModal.d.ts +8 -0
- package/Helpers/Typeahead/ITypeaheadProps.d.ts +0 -6
- package/Legacy/ApprovalFilePanel.d.ts +1 -0
- package/Legacy/BasicGridHtmlBuilder.d.ts +1 -1
- package/Legacy/GroupTaskCardPerformersPanelRazorControl.d.ts +2 -1
- package/Legacy/ModalWindow.d.ts +7 -2
- package/Legacy/ModalWindowParams.d.ts +6 -0
- package/Legacy/SelectFolderModalDialog.d.ts +2 -1
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +0 -1
- package/Platform/$ContextMenuOptions.d.ts +1 -0
- package/Platform/$FolderDataLoading.d.ts +3 -1
- package/Platform/$FolderGrid.d.ts +7 -0
- package/Platform/$TablePresentationToggle.d.ts +8 -0
- package/Platform/AccessListEntryTrustee.d.ts +1 -3
- package/Platform/ArchivedCardsIcon.d.ts +4 -1
- package/Platform/ArchivedCardsPlugin.d.ts +1 -1
- package/Platform/ArchivedCardsResponseResolver.d.ts +1 -2
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/BatchOperationsProgressDialogService.d.ts +3 -1
- package/Platform/CalendarInput.d.ts +1 -1
- package/Platform/ClearButton.d.ts +7 -5
- package/Platform/ConfigurableMainMenuContainerButton.d.ts +2 -1
- package/Platform/DateInput.d.ts +3 -13
- package/Platform/DateTimePicker.d.ts +0 -1
- package/Platform/DateTimePickerImpl.d.ts +0 -2
- package/Platform/Dropdown.d.ts +4 -0
- package/Platform/FilterDate.d.ts +11 -0
- package/Platform/FilterDateRangePicker.d.ts +6 -0
- package/Platform/FilterDateTextListInput.d.ts +5 -0
- package/Platform/FocusableTextInput.d.ts +3 -8
- package/Platform/Folder.d.ts +2 -1
- package/Platform/FolderContent.d.ts +2 -0
- package/Platform/FolderDataLoadingService.d.ts +3 -1
- package/Platform/FolderGrid.d.ts +1 -1
- package/Platform/FolderGrid.stories.d.ts +1 -0
- package/Platform/FolderGridConstants.d.ts +7 -0
- package/Platform/FolderGridService.d.ts +4 -1
- package/Platform/FolderImpl.d.ts +2 -0
- package/Platform/IFilterComponent.d.ts +29 -0
- package/Platform/InputWithMask.d.ts +4 -3
- package/Platform/LayoutSearchParametersDialog.d.ts +2 -1
- package/Platform/ListCheckbox.d.ts +6 -0
- package/Platform/ListContent.d.ts +8 -0
- package/Platform/ListContentHightlight.d.ts +9 -0
- package/Platform/ListEmpty.d.ts +6 -0
- package/Platform/ListEmptySearchIcon.d.ts +6 -0
- package/Platform/ListInput.d.ts +9 -0
- package/Platform/ListItem.d.ts +6 -0
- package/Platform/ListLoading.d.ts +6 -0
- package/Platform/ListSearchIcon.d.ts +6 -0
- package/Platform/ListSlot.d.ts +7 -0
- package/Platform/ListTotalItem.d.ts +8 -0
- package/Platform/ListViewResponseResolver.d.ts +13 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/NewAccessListEntryTrusteeSelect.d.ts +1 -3
- package/Platform/ScanDialogService.d.ts +2 -1
- package/Platform/SearchTextInput.d.ts +6 -0
- package/Platform/SecurityDescriptorDialog.d.ts +5 -8
- package/Platform/SecurityDialogFrame.d.ts +2 -1
- package/Platform/SettingsPopup.d.ts +1 -1
- package/Platform/SettingsPopupExtendedData.d.ts +2 -2
- package/Platform/SettingsPopupLogic.d.ts +7 -1
- package/Platform/SettingsPopupResponseResolver.d.ts +0 -2
- package/Platform/Table.d.ts +2 -1
- package/Platform/TableCreateRowWindow.d.ts +2 -1
- package/Platform/TableEditRowWindow.d.ts +2 -1
- package/Platform/TablePresentationTogglePlugins.d.ts +9 -0
- package/Platform/TablePresentationToggleService.d.ts +8 -0
- package/Platform/TextAreaImpl.d.ts +3 -3
- package/Platform/TextListInput.d.ts +6 -0
- package/Platform/TextListInputLogic.d.ts +55 -0
- package/Platform/TextListInputView.d.ts +40 -0
- package/Platform/TextListInputWrapper.d.ts +7 -0
- package/Platform/UnreadBarTablePlugins.d.ts +3 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/WebFrameMainMenuContainer.d.ts +2 -2
- package/Platform/WebFrameSearchPanel.d.ts +4 -2
- package/Platform/applyCurrentSettings.d.ts +7 -1
- package/Platform/setColumnsSettings.d.ts +6 -0
- package/Platform/updateValueCheckedColumn.d.ts +5 -1
- package/System/BaseControl.d.ts +1 -0
- package/System/CancelableEvent.d.ts +1 -1
- package/System/ControlTemplateView.d.ts +1 -1
- package/System/DateTimeUtils.d.ts +2 -0
- package/System/DirectoryBaseImpl.d.ts +5 -1
- package/System/DirectorySelectDialog.d.ts +9 -2
- package/System/InputBasedControl.d.ts +0 -4
- package/System/InputBasedControlImpl.d.ts +3 -4
- package/System/summernote-paste-without-formating.d.ts +10 -0
- package/package.json +1 -1
- package/BackOffice/StaffDirectoryInfoPopover.d.ts +0 -28
- package/Legacy/SearchPanelRouteHandler.d.ts +0 -18
- package/Platform/GridConstants.d.ts +0 -4
|
@@ -1,32 +1,29 @@
|
|
|
1
1
|
import { $StaffDirectoryItemsServices } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
2
|
-
import { $
|
|
2
|
+
import { $SecurityController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
3
3
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
4
4
|
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';
|
|
9
|
-
import { $CardInfo, $EditOperationStore, $LayoutInfo } from '@docsvision/webclient/System/LayoutServices';
|
|
10
|
-
import { $LabelWidth } from '@docsvision/webclient/System/$LabelWidth';
|
|
11
|
-
import { $LayoutManager } from '@docsvision/webclient/System/$LayoutManager';
|
|
8
|
+
import { $CurrentEmployeeId, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
12
9
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
13
10
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
14
11
|
import { IComponentProps } from '@docsvision/web/core/component';
|
|
15
12
|
import React from 'react';
|
|
16
13
|
import "./SecurityDescriptorDialog.css";
|
|
17
|
-
export declare type $SecurityDescriptorDialogServices = $SecurityController & $LocalStorage & $CurrentEmployeeId & $StaffDirectoryItemsServices & $MessageBox;
|
|
14
|
+
export declare type $SecurityDescriptorDialogServices = $SecurityController & $LocalStorage & $CurrentEmployeeId & $StaffDirectoryItemsServices & $MessageBox & $DeviceType;
|
|
18
15
|
export interface SecurityDescriptorDialogProps extends IComponentProps<SecurityDescriptorDialogLogic, SecurityDescriptorDialogView> {
|
|
19
16
|
target: GenModels.SecurityTarget;
|
|
20
17
|
canEdit?: boolean;
|
|
21
18
|
isOpen: boolean;
|
|
22
19
|
onClose: () => void;
|
|
23
|
-
services: $SecurityDescriptorDialogServices
|
|
20
|
+
services: $SecurityDescriptorDialogServices;
|
|
24
21
|
}
|
|
25
22
|
export declare class SecurityDescriptorDialogView {
|
|
26
23
|
frame: (props:
|
|
27
24
|
import("./components/SecurityDialogFrame").SecurityDialogFrameProps) => JSX.Element;
|
|
28
25
|
table: (props:
|
|
29
|
-
import("C:/
|
|
26
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Table/TableHelper").ITableHelperProps) => JSX.Element;
|
|
30
27
|
tableHead: (props:
|
|
31
28
|
import("./components/AccessListTableHead").AccessListTableHeadProps) => JSX.Element;
|
|
32
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;
|
|
@@ -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
|
|
8
|
-
export declare function
|
|
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<
|
|
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
|
}
|
package/Platform/Table.d.ts
CHANGED
|
@@ -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
|
+
}
|
|
@@ -27,13 +27,13 @@ export declare class TextAreaImpl extends TextControlBaseImpl<TextAreaParams, Te
|
|
|
27
27
|
/** Тоже что и {@link InputBasedControlParams.value} */
|
|
28
28
|
set value(val: string);
|
|
29
29
|
get value(): string;
|
|
30
|
-
protected onValueClick(): void;
|
|
30
|
+
protected onValueClick(event: any): void;
|
|
31
31
|
protected valueIsMultiline(): boolean;
|
|
32
32
|
renderPlaceholder(): JSX.Element;
|
|
33
33
|
protected getCssClass(): string;
|
|
34
34
|
protected renderInput(): JSX.Element;
|
|
35
35
|
viewModeRender(): JSX.Element;
|
|
36
|
-
editInPlaceModeRender():
|
|
36
|
+
editInPlaceModeRender(): JSX.Element;
|
|
37
37
|
renderValueAsHtml(): JSX.Element;
|
|
38
38
|
protected renderInto(props: TextAreaParams, container: HTMLElement): void;
|
|
39
39
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<TextArea>;
|
|
@@ -45,5 +45,5 @@ export declare class TextAreaImpl extends TextControlBaseImpl<TextAreaParams, Te
|
|
|
45
45
|
checkImageClick: (we: JQuery.Event, event: MouseEvent) => void;
|
|
46
46
|
onTextChange: (value: string) => void;
|
|
47
47
|
protected onSummernoteImageUpload(files: FileList): void;
|
|
48
|
-
renderControl():
|
|
48
|
+
renderControl(): JSX.Element;
|
|
49
49
|
}
|
|
@@ -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:/
|
|
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
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Panel, PanelParams } from '@docsvision/webclient/Platform/Panel';
|
|
2
2
|
import { PanelState } from '@docsvision/webclient/Platform/PanelImpl';
|
|
3
3
|
import { WebFrameMainMenuContainerImpl } from '@docsvision/webclient/Platform/WebFrameMainMenuContainerImpl';
|
|
4
|
-
import { $ApplicationSettings, $DeviceType } from '@docsvision/webclient/StandardServices';
|
|
4
|
+
import { $ApplicationSettings, $DeviceType, $IsIE } from '@docsvision/webclient/StandardServices';
|
|
5
5
|
import { $ContentElementProvider } from '@docsvision/webclient/Platform/$ContentElementProvider';
|
|
6
6
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
7
7
|
/**
|
|
@@ -16,7 +16,7 @@ export declare class WebFrameMainMenuContainerParams extends PanelParams {
|
|
|
16
16
|
isClosed?: boolean;
|
|
17
17
|
/** Скрыт ли ползунок для ресайза */
|
|
18
18
|
isHandleHidden?: boolean;
|
|
19
|
-
services: $ApplicationSettings & $DeviceType & $ContentElementProvider & $LocalStorage;
|
|
19
|
+
services: $ApplicationSettings & $DeviceType & $ContentElementProvider & $LocalStorage & $IsIE;
|
|
20
20
|
}
|
|
21
21
|
export interface WebFrameMainMenuContainerState extends WebFrameMainMenuContainerParams, PanelState {
|
|
22
22
|
}
|
|
@@ -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
|
-
|
|
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
|
|
2
|
+
export interface IColumnVisibility {
|
|
3
|
+
columnName: string;
|
|
4
|
+
visible: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function updateValueCheckedColumn(columns: GenModels.ViewColumnModel[], data: IColumnVisibility): GenModels.ViewColumnModel[];
|
package/System/BaseControl.d.ts
CHANGED
|
@@ -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:/
|
|
7
|
+
import("C:/dev/WebClient/Bin/TypeScriptDefinitions/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
8
8
|
frame: typeof ControlTemplateFrame;
|
|
9
9
|
buttonText: string;
|
|
10
10
|
}
|
|
@@ -43,3 +43,5 @@ export declare function parseDateTime(dateTime: string, format?: DateFormats, as
|
|
|
43
43
|
export declare function dateTimeToString(dateTime: Date | string, format?: DateFormats): string;
|
|
44
44
|
/** Количество часов в одном дне */
|
|
45
45
|
export declare const HOURS_IN_DAY = 24;
|
|
46
|
+
/** Возвращает функцию, которую можно передать в JSON.strinfiy вторым параметром для фомрматирования дат для сервера. */
|
|
47
|
+
export declare function getDateTimeStringifyServerFormatter(services: $ApplicationSettings): (key: string, value: any) => any;
|
|
@@ -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
|
|
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:/
|
|
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:/
|
|
83
|
+
import("C:/dev/WebClient/Bin/Helpers/CustomTree/Theme/Default/CustomTreeNodeContentDefault").ICustomTreeNodeContentDefaultProps, never>;
|
|
77
84
|
/** @internal */
|
|
78
85
|
state: StateT;
|
|
79
86
|
searchInput: HTMLInputElement;
|
|
@@ -67,10 +67,6 @@ export declare class InputBasedControlParams<ModelT> extends BaseControlParams {
|
|
|
67
67
|
isEditDialogShown?: boolean;
|
|
68
68
|
/** Флаг, определяющий минимальный текстовый внешний вид элемента управления, подходящий для встраивания в текст. */
|
|
69
69
|
simpleView?: boolean;
|
|
70
|
-
/** Флаг, определяющий, что в режиме edit in place был совершен клик по тексту. */
|
|
71
|
-
clickedLabel?: boolean;
|
|
72
|
-
/** Флаг, определяющий, что в режиме edit in place был совершен клик по иконке, расположенной рядом с текстом. */
|
|
73
|
-
clickedIcon?: boolean;
|
|
74
70
|
/** Событие возникает при изменении значения элемента управления. @covered */
|
|
75
71
|
dataChanged?: BasicApiEvent<IDataChangedEventArgsEx<ModelT>>;
|
|
76
72
|
/** Событие возникает при открытии модального окна редактирования. @covered */
|
|
@@ -39,7 +39,6 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
|
|
|
39
39
|
protected onDataChanged(eventArgs: IDataChangedEventArgs): void;
|
|
40
40
|
protected onInPlaceEditOpening(callback?: () => void): Promise<any>;
|
|
41
41
|
protected onInPlaceEditOpened(): void;
|
|
42
|
-
protected isleftButton(): boolean;
|
|
43
42
|
protected onInPlaceEditClosing(sender: any, args: ICancelableEventArgs<any>): void;
|
|
44
43
|
protected onInPlaceEditClosed(): void;
|
|
45
44
|
validate(params: any): IValidationResult;
|
|
@@ -61,7 +60,7 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
|
|
|
61
60
|
protected onInputFocus(event: React.FocusEvent<any>): void;
|
|
62
61
|
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
63
62
|
protected onPlaceholderClick(event: any): void;
|
|
64
|
-
protected onValueClick(): void;
|
|
63
|
+
protected onValueClick(event: any): void;
|
|
65
64
|
protected renderValidationMessage(): JSX.Element;
|
|
66
65
|
protected getInputTitle(): string;
|
|
67
66
|
protected renderInputWithPlaceholder(): React.ReactNode;
|
|
@@ -69,12 +68,12 @@ export declare abstract class InputBasedControlImpl<ModelT, PropsT extends Input
|
|
|
69
68
|
protected editModeRender(): JSX.Element;
|
|
70
69
|
protected getValueTitle(): string;
|
|
71
70
|
protected renderWithText(): JSX.Element;
|
|
72
|
-
protected editInPlaceModeRender():
|
|
71
|
+
protected editInPlaceModeRender(): JSX.Element;
|
|
73
72
|
protected viewModeRender(): JSX.Element;
|
|
74
73
|
protected simpleViewModeRender(): JSX.Element;
|
|
75
74
|
protected renderSimpleViewLabel(): JSX.Element;
|
|
76
75
|
protected renderSimpleViewValue(): JSX.Element;
|
|
77
|
-
renderControl():
|
|
76
|
+
renderControl(): JSX.Element;
|
|
78
77
|
protected abstract getTextValue(): string;
|
|
79
78
|
/**
|
|
80
79
|
* При переопределении в производных классах должен рендерить контрол в соответствующий элемент.
|
|
@@ -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
|
+
}
|