@docsvision/webclient 5.17.0-beta.11 → 5.17.0-beta.14
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/AgreementManagement.d.ts +4 -2
- package/Approval/AgreementStageProps.d.ts +4 -2
- package/BackOffice/$WebFrameDirectorySearchPanelService.d.ts +4 -0
- package/BackOffice/CardKindImpl.d.ts +1 -1
- package/BackOffice/ChildTasksPerformingImpl.d.ts +3 -3
- package/BackOffice/DepartmentFilterViewComponents.d.ts +1 -1
- package/BackOffice/DepartmentImpl.d.ts +1 -0
- package/BackOffice/DirectoryDesignerRow.d.ts +1 -0
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +12 -0
- package/BackOffice/DirectorySearchResultView.d.ts +1 -1
- package/BackOffice/EmailButtonView.d.ts +1 -1
- package/BackOffice/ExistingCardLinkDialog.d.ts +1 -1
- package/BackOffice/InfoPopover.d.ts +2 -0
- package/BackOffice/Numerator.d.ts +1 -0
- package/BackOffice/NumeratorImpl.d.ts +6 -1
- package/BackOffice/PartnerBase.d.ts +4 -2
- package/BackOffice/PartnerBaseImpl.d.ts +20 -0
- package/BackOffice/PartnerDepartmentImpl.d.ts +3 -0
- package/BackOffice/PartnerDirectoryBase.d.ts +3 -3
- package/BackOffice/PartnerImpl.d.ts +3 -0
- package/BackOffice/PrintButtonView.d.ts +1 -1
- package/BackOffice/StaffDirectoryConstants.d.ts +2 -0
- package/BackOffice/StaffDirectoryInfoPopover.d.ts +28 -0
- package/BackOffice/StaffDirectoryItems.d.ts +7 -3
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +23 -3
- package/BackOffice/StaffDirectorySelectDialog.d.ts +4 -1
- package/BackOffice/TasksTable.d.ts +3 -2
- package/BackOffice/TasksTableView.d.ts +3 -3
- package/BackOffice/UserProfile.d.ts +1 -0
- package/BackOffice/WebFrameDirectorySearchPanelService.d.ts +2 -0
- package/BackOffice/WebFrameDirectorySearchPanelView.d.ts +1 -1
- package/Generated/DocsVision.WebClient.Controllers.d.ts +20 -3
- package/Generated/DocsVision.WebClient.Models.d.ts +95 -7
- package/Helpers/BoxWithButtons.d.ts +7 -1
- package/Helpers/LabeledText.d.ts +8 -0
- package/Helpers/ModalDialog/KeyHandler.d.ts +12 -0
- package/Helpers/Typeahead/ITypeaheadProps.d.ts +6 -0
- package/Helpers/Typeahead/Typeahead.d.ts +1 -1
- package/Legacy/BasicGridHtmlBuilder.d.ts +4 -2
- package/Legacy/FolderViews.d.ts +2 -0
- package/Legacy/GridOptions.d.ts +3 -1
- package/Legacy/SearchPanelRouteHandler.d.ts +19 -0
- package/Legacy/WebFrameSearchPanelRouteHandler.d.ts +3 -2
- package/Platform/$CompanyLogo.d.ts +1 -2
- package/Platform/$GridOptions.d.ts +9 -4
- package/Platform/$LastSearchParameters.d.ts +10 -0
- package/Platform/$RefreshUnreadCounters.d.ts +10 -0
- package/Platform/$SearchParametersFolder.d.ts +13 -0
- package/Platform/BaseMainMenuItemImpl.d.ts +2 -2
- package/Platform/CompanyLogoService.d.ts +3 -2
- package/Platform/ContextMenu.d.ts +4 -6
- package/Platform/DateTimePicker.d.ts +1 -0
- package/Platform/DateTimePickerImpl.d.ts +4 -1
- package/Platform/DefaultFolderDataLoader.d.ts +2 -2
- package/Platform/DefaultFolderTablePluginFactory.d.ts +7 -6
- package/Platform/FavoritesRouteHandler.d.ts +2 -2
- package/Platform/FilePickerImpl.d.ts +1 -0
- package/Platform/FolderCardsDashboardWidgetDataLoader.d.ts +13 -0
- package/Platform/FolderCardsDashboardWidgetImpl.d.ts +14 -13
- package/Platform/FolderDashboardWidget.d.ts +1 -0
- package/Platform/FolderDashboardWidgetImpl.d.ts +3 -1
- package/Platform/FolderDataContext.d.ts +2 -1
- package/Platform/FolderGrid.d.ts +8 -3
- package/Platform/FolderGridImpl.d.ts +1 -0
- package/Platform/FolderGroupDashboardWidget.d.ts +3 -0
- package/Platform/FolderGroupDashboardWidgetImpl.d.ts +7 -1
- package/Platform/FolderRouteTypeMapper.d.ts +2 -3
- package/Platform/FolderSizePlugin.d.ts +2 -1
- package/Platform/FolderWebFrameRouteHandler.d.ts +4 -2
- package/Platform/GetWebFrameHeaderContainerChildControls.d.ts +11 -0
- package/Platform/IFolderDataLoader.d.ts +4 -3
- package/Platform/IUnreadRowData.d.ts +1 -1
- package/Platform/LastSearchParametersService.d.ts +11 -0
- package/Platform/LoaderDialog.d.ts +1 -1
- package/Platform/NumberImpl.d.ts +3 -0
- package/Platform/ReadAllPlugin.d.ts +2 -1
- package/Platform/ReadBatchOperation.d.ts +3 -1
- package/Platform/RecentCardsDashboardWidget.d.ts +1 -0
- package/Platform/RecentCardsDashboardWidgetDataLoader.d.ts +15 -0
- package/Platform/RecentCardsDashboardWidgetImpl.d.ts +15 -13
- package/Platform/RecentCardsRouteHandler.d.ts +4 -3
- package/Platform/RefreshUnreadCountersService.d.ts +13 -0
- package/Platform/SearchParametersFolderRequestResolver.d.ts +2 -1
- package/Platform/SearchParametersFolderResponseResolver.d.ts +5 -1
- package/Platform/SearchParametersFolderService.d.ts +12 -0
- package/Platform/SecurityDescriptorDialog.d.ts +6 -3
- package/Platform/Tab.d.ts +2 -1
- package/Platform/Tab.stories.d.ts +9 -0
- package/Platform/TestUtils.d.ts +3 -1
- package/Platform/TextAreaImpl.d.ts +8 -4
- package/Platform/TextBoxImpl.d.ts +5 -0
- package/Platform/TextListInputView.d.ts +1 -1
- package/Platform/UnreadBarService.d.ts +3 -1
- package/Platform/UnreadBarTablePlugins.d.ts +3 -1
- package/Platform/UnreadResponseResolver.d.ts +2 -0
- package/Platform/UserProfileDialog.d.ts +1 -1
- package/Platform/VisibilityWebFrameHeaderContainerChildControls.d.ts +2 -0
- package/Platform/WebFrameBodyContainer.stories.d.ts +8 -0
- package/Platform/WebFrameCompanyLogo.d.ts +7 -1
- package/Platform/WebFrameCompanyLogo.stories.d.ts +10 -0
- package/Platform/WebFrameContent.d.ts +11 -2
- package/Platform/WebFrameContentImpl.d.ts +6 -0
- package/Platform/WebFrameCurrentPageName.stories.d.ts +8 -0
- package/Platform/WebFrameHeaderContainer.d.ts +6 -1
- package/Platform/WebFrameHeaderContainer.stories.d.ts +17 -0
- package/Platform/WebFrameHeaderContainerImpl.d.ts +8 -1
- package/Platform/WebFrameHelpButton.stories.d.ts +10 -0
- package/Platform/WebFrameMainMenuButton.stories.d.ts +8 -0
- package/Platform/WebFrameMainMenuContainer.d.ts +2 -1
- package/Platform/WebFrameMainMenuContainer.stories.d.ts +10 -0
- package/Platform/WebFrameMainMenuContainerImpl.d.ts +3 -1
- package/Platform/WebFrameNavigationBar.d.ts +2 -1
- package/Platform/WebFrameNavigationBar.stories.d.ts +19 -0
- package/Platform/WebFrameNavigationBarImpl.d.ts +2 -0
- package/Platform/WebFrameSearchPanel.d.ts +2 -2
- package/Platform/WebFrameSearchPanel.stories.d.ts +14 -0
- package/StandardServices.d.ts +6 -1
- package/System/$LayoutBackground.d.ts +27 -0
- package/System/$PollService.d.ts +0 -3
- package/System/$Router.d.ts +2 -0
- package/System/$WebFrameContentHeight.d.ts +14 -0
- package/System/BaseControlImpl.d.ts +1 -1
- package/System/DirectorySelectDialog.d.ts +2 -2
- package/System/InputBasedControl.d.ts +5 -0
- package/System/InputBasedControlImpl.d.ts +4 -3
- package/System/Layout.d.ts +6 -0
- package/System/LayoutBackgroundService.d.ts +12 -0
- package/System/LayoutImpl.d.ts +1 -0
- package/System/NavigationBarStub.d.ts +31 -0
- package/System/Poll.d.ts +2 -2
- package/System/PollService.d.ts +7 -6
- package/System/Router.d.ts +2 -1
- package/System/TabStub.d.ts +13 -0
- package/System/WebFrameContentHeightService.d.ts +14 -0
- package/System/WebFrameNavigationBarStub.d.ts +283 -0
- package/package.json +1 -1
- package/Platform/SearchParametersFolderExtendedData.d.ts +0 -4
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { $StaffDirectoryItemsServices } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
|
|
2
|
-
import { $SecurityController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
|
+
import { $LayoutRowController, $LayoutStaffController, $SecurityController, $StaffDirectoryItemsController } 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
8
|
import { $CurrentEmployeeId, $DeviceType } 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';
|
|
9
12
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
10
13
|
import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
|
|
11
14
|
import { IComponentProps } from '@docsvision/web/core/component';
|
|
@@ -17,13 +20,13 @@ export interface SecurityDescriptorDialogProps extends IComponentProps<SecurityD
|
|
|
17
20
|
canEdit?: boolean;
|
|
18
21
|
isOpen: boolean;
|
|
19
22
|
onClose: () => void;
|
|
20
|
-
services: $SecurityDescriptorDialogServices;
|
|
23
|
+
services: $SecurityDescriptorDialogServices & $LayoutInfo & $EditOperationStore & $StaffDirectoryItemsController & $CardInfo & Partial<$LabelWidth> & Partial<$LocalStorage> & $LayoutStaffController & $LayoutRowController & $LayoutManager;
|
|
21
24
|
}
|
|
22
25
|
export declare class SecurityDescriptorDialogView {
|
|
23
26
|
frame: (props:
|
|
24
27
|
import("./components/SecurityDialogFrame").SecurityDialogFrameProps) => JSX.Element;
|
|
25
28
|
table: (props:
|
|
26
|
-
import("C:/
|
|
29
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/Helpers/Table/TableHelper").ITableHelperProps) => JSX.Element;
|
|
27
30
|
tableHead: (props:
|
|
28
31
|
import("./components/AccessListTableHead").AccessListTableHeadProps) => JSX.Element;
|
|
29
32
|
inheritanceButtons: (props:
|
package/Platform/Tab.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Panel, PanelParams } from "@docsvision/webclient/Platform/Panel";
|
|
|
3
3
|
import { TabPageInfo } from "@docsvision/webclient/Platform/TabPageInfo";
|
|
4
4
|
import { IActiveTabChangeEventArgs } from "@docsvision/webclient/Platform/IActiveTabChangeEventArgs";
|
|
5
5
|
import { TabImpl, TabState } from "@docsvision/webclient/Platform/TabImpl";
|
|
6
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
6
7
|
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
7
8
|
import { $CardId, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
8
9
|
import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
|
|
@@ -27,7 +28,7 @@ export declare class TabParams extends PanelParams {
|
|
|
27
28
|
activeTabChanging: CancelableApiEvent<IActiveTabChangeEventArgs>;
|
|
28
29
|
/** Событие, возникающее после завершения асинхронной подгрузки контролов. */
|
|
29
30
|
allControlsLoaded: BasicApiEvent<IEventArgs>;
|
|
30
|
-
services?: $LayoutController & $Layout & $CardId & $LayoutInfo & $EditOperationStore;
|
|
31
|
+
services?: $LayoutController & $Layout & $CardId & $LayoutInfo & $EditOperationStore & $DeviceType;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Класс элемента управления Вкладки
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Tab } from "@docsvision/webclient/Platform/Tab";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Tab;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const FirstTab: () => JSX.Element;
|
|
9
|
+
export declare const SecondTab: () => JSX.Element;
|
package/Platform/TestUtils.d.ts
CHANGED
|
@@ -16,10 +16,12 @@ import { $Resources } from '@docsvision/web/core/localization/$Resources';
|
|
|
16
16
|
import { $ToolbarActionContainer } from '@docsvision/web/components/table/plugins/toolbar-action-container';
|
|
17
17
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
18
18
|
import { $ToolbarDaughterControls } from '@docsvision/webclient/Platform/$ToolbarDaughterControls';
|
|
19
|
+
import { $HoverPanel } from '@docsvision/webclient/Platform/$HoverPanel';
|
|
20
|
+
import { $LastSearchParameters } from '@docsvision/webclient/Platform/$LastSearchParameters';
|
|
19
21
|
export declare let ScrollContainer:
|
|
20
22
|
import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
21
23
|
export declare let ScrollContainerWrapper:
|
|
22
24
|
import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
23
25
|
export declare function common(): FolderGridParams;
|
|
24
26
|
export declare let gridStory: (name: string, render: (services: any) => JSX.Element, params?: StoryParameters) => () => JSX.Element;
|
|
25
|
-
export declare function services(): $GridOptions & $Router & $GridController & $DeviceType & $ExperimentalFeature & $ApplicationSettings & $Resources & $ToolbarActionContainer & $FolderPluginProvider & $CurrentLocation & $CurrentFolder & $WebFrameSearchPanel & $LastSearchResponse & $Domain & $LocalStorage & $ToolbarDaughterControls;
|
|
27
|
+
export declare function services(): $GridOptions & $Router & $GridController & $DeviceType & $ExperimentalFeature & $ApplicationSettings & $Resources & $ToolbarActionContainer & $FolderPluginProvider & $CurrentLocation & $CurrentFolder & $WebFrameSearchPanel & $LastSearchResponse & $Domain & $LocalStorage & $ToolbarDaughterControls & $HoverPanel & $LastSearchParameters;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
3
2
|
import { IEditPopoverProps } from "@docsvision/webclient/Helpers/PopoverHelpers/EditPopover/IEditPopoverProps";
|
|
4
3
|
import { TextArea, TextAreaParams } from "@docsvision/webclient/Platform/TextArea";
|
|
5
4
|
import { TextControlBaseImpl, TextControlBaseState } from "@docsvision/webclient/Platform/TextControlBaseImpl";
|
|
6
5
|
import { RequestHelper } from '@docsvision/webclient/System/RequestHelper';
|
|
6
|
+
import React from "react";
|
|
7
7
|
/** @internal */
|
|
8
8
|
export interface TextAreaState extends TextAreaParams, TextControlBaseState {
|
|
9
9
|
asyncLoader: RequestHelper;
|
|
@@ -23,17 +23,21 @@ export declare class TextAreaImpl extends TextControlBaseImpl<TextAreaParams, Te
|
|
|
23
23
|
protected init(): Promise<void>;
|
|
24
24
|
protected loadAsync(bindingInfo: GenModels.SimpleBindingInfo): Promise<void>;
|
|
25
25
|
setValue(value: string, redraw: boolean): void;
|
|
26
|
+
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
27
|
+
private saveCard;
|
|
28
|
+
private shouldSaveCardWithEditInPlaceValue;
|
|
29
|
+
private isLayoutViewMode;
|
|
26
30
|
private updateSizeAndPositions;
|
|
27
31
|
/** Тоже что и {@link InputBasedControlParams.value} */
|
|
28
32
|
set value(val: string);
|
|
29
33
|
get value(): string;
|
|
30
|
-
protected onValueClick(
|
|
34
|
+
protected onValueClick(): void;
|
|
31
35
|
protected valueIsMultiline(): boolean;
|
|
32
36
|
renderPlaceholder(): JSX.Element;
|
|
33
37
|
protected getCssClass(): string;
|
|
34
38
|
protected renderInput(): JSX.Element;
|
|
35
39
|
viewModeRender(): JSX.Element;
|
|
36
|
-
editInPlaceModeRender():
|
|
40
|
+
editInPlaceModeRender(): {};
|
|
37
41
|
renderValueAsHtml(): JSX.Element;
|
|
38
42
|
protected renderInto(props: TextAreaParams, container: HTMLElement): void;
|
|
39
43
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<TextArea>;
|
|
@@ -45,5 +49,5 @@ export declare class TextAreaImpl extends TextControlBaseImpl<TextAreaParams, Te
|
|
|
45
49
|
checkImageClick: (we: JQuery.Event, event: MouseEvent) => void;
|
|
46
50
|
onTextChange: (value: string) => void;
|
|
47
51
|
protected onSummernoteImageUpload(files: FileList): void;
|
|
48
|
-
renderControl():
|
|
52
|
+
renderControl(): {};
|
|
49
53
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IEditPopoverProps } from "@docsvision/webclient/Helpers/PopoverHelpers/EditPopover/IEditPopoverProps";
|
|
2
2
|
import { TextBox, TextBoxParams } from "@docsvision/webclient/Platform/TextBox";
|
|
3
3
|
import { TextControlBaseImpl, TextControlBaseState } from "@docsvision/webclient/Platform/TextControlBaseImpl";
|
|
4
|
+
import React from "react";
|
|
4
5
|
/** @internal */
|
|
5
6
|
export interface TextBoxState extends TextBoxParams, TextControlBaseState {
|
|
6
7
|
}
|
|
@@ -11,4 +12,8 @@ export declare class TextBoxImpl extends TextControlBaseImpl<TextBoxParams, Text
|
|
|
11
12
|
constructor(props: TextBoxParams, state: TextBoxState);
|
|
12
13
|
protected renderInto(props: TextBoxParams, container: HTMLElement): void;
|
|
13
14
|
protected showEditPopover(popoverOptions?: IEditPopoverProps): Promise<TextBox>;
|
|
15
|
+
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
16
|
+
private saveCard;
|
|
17
|
+
private shouldSaveCardWithEditInPlaceValue;
|
|
18
|
+
private isLayoutViewMode;
|
|
14
19
|
}
|
|
@@ -6,7 +6,7 @@ import("./components/ListInput").IListInputProps, "dir" | "slot" | "style" | "ti
|
|
|
6
6
|
import("react").RefAttributes<HTMLDivElement>>;
|
|
7
7
|
clearButton:
|
|
8
8
|
import("react").FC<
|
|
9
|
-
import("C:/
|
|
9
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/@docsvision/ClearButton").IFilteringClearButtonProps>;
|
|
10
10
|
textInput:
|
|
11
11
|
import("react").ForwardRefExoticComponent<Pick<
|
|
12
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"> &
|
|
@@ -5,11 +5,13 @@ import { $UnreadCounter } from '@docsvision/webclient/Platform/$UnreadCounter';
|
|
|
5
5
|
import { IRowData } from '@docsvision/web/components/table/interfaces';
|
|
6
6
|
import { $Domain } from '@docsvision/web/core/state-management';
|
|
7
7
|
import { Event } from 'effector';
|
|
8
|
+
import { $RefreshUnreadCounters } from '@docsvision/webclient/Platform/$RefreshUnreadCounters';
|
|
9
|
+
import { $CurrentFolder } from '@docsvision/webclient/Platform/$CurrentFolder';
|
|
8
10
|
/** Сервис для корректного инициирования скачивания файла из скриптов. */
|
|
9
11
|
export declare class UnreadBarService implements IUnreadBarService {
|
|
10
12
|
private services;
|
|
11
13
|
performOnce: PerformOnce;
|
|
12
14
|
rowToggled: Event<IRowData>;
|
|
13
|
-
constructor(services: $CardController & $UnreadCounter & $Domain);
|
|
15
|
+
constructor(services: $CardController & $UnreadCounter & $Domain & $RefreshUnreadCounters & $CurrentFolder);
|
|
14
16
|
toggleUnread(rowData: IRowData): Promise<any>;
|
|
15
17
|
}
|
|
@@ -4,12 +4,14 @@ 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 { $RefreshUnreadCounters } from '@docsvision/webclient/Platform/$RefreshUnreadCounters';
|
|
8
|
+
import { $CurrentFolder } from '@docsvision/webclient/Platform/$CurrentFolder';
|
|
7
9
|
import "./UnreadBarTablePlugins.css";
|
|
8
10
|
export declare const UnreadBarFeature = "UnreadBarFeature";
|
|
9
11
|
export declare const UNREAD_BAR_COLUMN_VISIBILITY = "UnreadBarVisibility";
|
|
10
12
|
export declare const UnreadBarTableCellPlugin: TablePlugins.Cell.Component<$UnreadBar>;
|
|
11
13
|
export declare const UnreadBarListViewTableCellPlugin: TablePlugins.Cell.Component<$UnreadBar>;
|
|
12
|
-
export declare const UnreadBarServiceProvider: TablePlugins.ServiceProvider<$UnreadBar & $CardController & $UnreadCounter & $Domain>;
|
|
14
|
+
export declare const UnreadBarServiceProvider: TablePlugins.ServiceProvider<$UnreadBar & $CardController & $UnreadCounter & $Domain & $RefreshUnreadCounters & $CurrentFolder>;
|
|
13
15
|
export declare const UnreadBarTableRowMountEffect: TablePlugins.Row.MountEffect<$ApplicationSettings & $UnreadBar>;
|
|
14
16
|
export declare const UnreadBarTableRowDecorator: TablePlugins.Row.Decorator<$ApplicationSettings & $UnreadBar>;
|
|
15
17
|
export declare const UnreadBarTableHeaderCellPlugin: TablePlugins.HeaderCell.Component<$ApplicationSettings>;
|
|
@@ -4,8 +4,10 @@ import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.
|
|
|
4
4
|
import { ITableData } from '@docsvision/web/components/table/interfaces';
|
|
5
5
|
export declare const UNREAD_COLUMN_ORDER = -10000;
|
|
6
6
|
export declare class UnreadResponseResolver implements IFolderDataLoadingPlugin {
|
|
7
|
+
private services;
|
|
7
8
|
id: string;
|
|
8
9
|
description: string;
|
|
9
10
|
order: PluginOrder;
|
|
11
|
+
constructor(services: any);
|
|
10
12
|
resolveResponse(data: ITableData, response: GenModels.GridViewModelEx): Promise<void | ResponseResolveResult>;
|
|
11
13
|
}
|
|
@@ -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:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/@docsvision/Helpers/ModalDialog/ModalDialogBox").IModalDialogBoxProps) => JSX.Element, any, {}, never>;
|
|
29
29
|
close(): void;
|
|
30
30
|
render(): JSX.Element;
|
|
31
31
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WebFrameBodyContainer } from '@docsvision/webclient/Platform/WebFrameBodyContainer';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof WebFrameBodyContainer;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: () => JSX.Element;
|
|
@@ -3,6 +3,7 @@ import { BaseControl, BaseControlParams, BaseControlState } from "@docsvision/we
|
|
|
3
3
|
import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
|
|
4
4
|
import { $CompanyLogo, LogoType } from '@docsvision/webclient/Platform/$CompanyLogo';
|
|
5
5
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
6
|
+
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
6
7
|
/**
|
|
7
8
|
* Содержит публичные свойства элемента управления [Метка]{@link WebFrameCompanyLogo}.
|
|
8
9
|
*/
|
|
@@ -15,7 +16,11 @@ export declare class WebFrameCompanyLogoParams extends BaseControlParams {
|
|
|
15
16
|
typeOfLogo?: LogoType;
|
|
16
17
|
/** Текст логотипа */
|
|
17
18
|
logoText?: string;
|
|
18
|
-
|
|
19
|
+
/** Показывать ли логотип при переходе по папкам */
|
|
20
|
+
alwaysShow?: boolean;
|
|
21
|
+
/** Путь к логотипу */
|
|
22
|
+
filePath?: string;
|
|
23
|
+
services?: $CompanyLogo & $Layout & $Router;
|
|
19
24
|
}
|
|
20
25
|
export interface WebFrameCompanyLogoState extends WebFrameCompanyLogoParams, BaseControlState {
|
|
21
26
|
}
|
|
@@ -36,6 +41,7 @@ export declare class WebFrameCompanyLogo extends BaseControl<WebFrameCompanyLogo
|
|
|
36
41
|
componentDidMount(): void;
|
|
37
42
|
updateLogoVisibility: () => void;
|
|
38
43
|
getTypeOfLogo: () => void;
|
|
44
|
+
get isImageAllowed(): boolean;
|
|
39
45
|
/** ID"company-logo" only for Backward compatibility */
|
|
40
46
|
/** "company-logo-active/company-logo-hidden" only for Backward compatibility */
|
|
41
47
|
renderControl(): JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WebFrameCompanyLogo } from '@docsvision/webclient/Platform/WebFrameCompanyLogo';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof WebFrameCompanyLogo;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Text: () => JSX.Element;
|
|
9
|
+
export declare const Hidden: () => JSX.Element;
|
|
10
|
+
export declare const Image: () => JSX.Element;
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
import { WebFrameContentImpl } from '@docsvision/webclient/Platform/WebFrameContentImpl';
|
|
2
|
-
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
2
|
+
import { $ApplicationSettings, $DeviceType, $IsIE } from '@docsvision/webclient/StandardServices';
|
|
3
3
|
import { BaseControl, BaseControlParams, BaseControlState } from "@docsvision/webclient/System/BaseControl";
|
|
4
4
|
import { $ContentElementProvider } from '@docsvision/webclient/Platform/$ContentElementProvider';
|
|
5
5
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
6
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
7
|
+
import { $LayoutBackground } from '@docsvision/webclient/System/$LayoutBackground';
|
|
8
|
+
import { $WebFrameContentHeight } from '@docsvision/webclient/System/$WebFrameContentHeight';
|
|
6
9
|
/**
|
|
7
10
|
* Содержит публичные свойства элемента управления [Метка]{@link WebFrameContent}.
|
|
8
11
|
*/
|
|
9
12
|
export declare class WebFrameContentParams extends BaseControlParams {
|
|
10
13
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
11
14
|
standardCssClass?: string;
|
|
12
|
-
|
|
15
|
+
/** URL к картинке фона */
|
|
16
|
+
backgroundImage?: string;
|
|
17
|
+
/** Режим отображения фона */
|
|
18
|
+
backgroundType?: GenModels.BackgroundType;
|
|
19
|
+
/** Стиль отображения фона */
|
|
20
|
+
backgroundStyle?: GenModels.BackgroundStyle;
|
|
21
|
+
services?: $ApplicationSettings & $ContentElementProvider & $LocalStorage & $LayoutBackground & $WebFrameContentHeight & $DeviceType & $IsIE;
|
|
13
22
|
}
|
|
14
23
|
export interface WebFrameContentState extends WebFrameContentParams, BaseControlState {
|
|
15
24
|
}
|
|
@@ -6,8 +6,14 @@ import React from 'react';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class WebFrameContentImpl extends BaseControlImpl<WebFrameContentParams, WebFrameContentState> {
|
|
8
8
|
private content;
|
|
9
|
+
private backgroundUnsubscribe;
|
|
10
|
+
private heightUnsubscribe;
|
|
9
11
|
componentDidMount(): void;
|
|
12
|
+
componentWillUnmount(): void;
|
|
13
|
+
private setBackgroundStyle;
|
|
14
|
+
protected getCssStyle(): React.CSSProperties;
|
|
10
15
|
protected handleClick(event: React.MouseEvent<any>): void;
|
|
11
16
|
hideMainMenu: () => void;
|
|
17
|
+
private get webFrameContentStyle();
|
|
12
18
|
protected renderControl(): JSX.Element;
|
|
13
19
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WebFrameCurrentPageName } from '@docsvision/webclient/Platform/WebFrameCurrentPageName';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof WebFrameCurrentPageName;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const DocumentTitle: () => JSX.Element;
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
+
import { $WebFrameDirectorySearchPanelService } from '@docsvision/webclient/BackOffice/$WebFrameDirectorySearchPanelService';
|
|
1
2
|
import { Panel, PanelParams } from '@docsvision/webclient/Platform/Panel';
|
|
2
3
|
import { PanelState } from '@docsvision/webclient/Platform/PanelImpl';
|
|
3
4
|
import { WebFrameHeaderContainerImpl } from '@docsvision/webclient/Platform/WebFrameHeaderContainerImpl';
|
|
5
|
+
import { $WebFrameSearchPanel } from '@docsvision/webclient/Platform/$WebFrameSearchPanel';
|
|
4
6
|
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
7
|
+
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
8
|
+
import { $WebFrameContentHeight } from '@docsvision/webclient/System/$WebFrameContentHeight';
|
|
5
9
|
/**
|
|
6
10
|
* Содержит публичные свойства элемента управления [Метка]{@link WebFrameHeaderContainer}.
|
|
7
11
|
*/
|
|
8
12
|
export declare class WebFrameHeaderContainerParams extends PanelParams {
|
|
9
13
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
10
14
|
standardCssClass?: string;
|
|
11
|
-
|
|
15
|
+
height?: number;
|
|
16
|
+
services: $ApplicationSettings & $WebFrameSearchPanel & $WebFrameDirectorySearchPanelService & $Layout & $WebFrameContentHeight;
|
|
12
17
|
}
|
|
13
18
|
export interface WebFrameHeaderContainerState extends WebFrameHeaderContainerParams, PanelState {
|
|
14
19
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WebFrameHeaderContainer } from '@docsvision/webclient/Platform/WebFrameHeaderContainer';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof WebFrameHeaderContainer;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Appearance: () => JSX.Element;
|
|
9
|
+
export declare const CustomHeight: () => JSX.Element;
|
|
10
|
+
export declare const WithLogo: () => JSX.Element;
|
|
11
|
+
export declare const WithTextBox: () => JSX.Element;
|
|
12
|
+
export declare const WithNumber: () => JSX.Element;
|
|
13
|
+
export declare const WithButton: () => JSX.Element;
|
|
14
|
+
export declare const WithUrl: () => JSX.Element;
|
|
15
|
+
export declare const WithRadioGroup: () => JSX.Element;
|
|
16
|
+
export declare const WithLabel: () => JSX.Element;
|
|
17
|
+
export declare const WithDropdown: () => JSX.Element;
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PanelImpl } from '@docsvision/webclient/Platform/PanelImpl';
|
|
3
2
|
import { WebFrameHeaderContainerParams, WebFrameHeaderContainerState } from '@docsvision/webclient/Platform/WebFrameHeaderContainer';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { Subscription } from 'effector';
|
|
4
5
|
/**
|
|
5
6
|
* Класс элемента управления WebFrameHeaderContainerImpl.
|
|
6
7
|
*/
|
|
7
8
|
export declare class WebFrameHeaderContainerImpl extends PanelImpl<WebFrameHeaderContainerParams, WebFrameHeaderContainerState> {
|
|
9
|
+
visibilityControlsUnsubscribe: Subscription;
|
|
10
|
+
componentDidMount(): void;
|
|
11
|
+
componentDidUpdate(): void;
|
|
12
|
+
componentWillUnmount(): void;
|
|
13
|
+
private visibilityControls;
|
|
8
14
|
hideUserMenu: (e: any) => void;
|
|
15
|
+
protected getCssStyle(): React.CSSProperties;
|
|
9
16
|
renderControl(): JSX.Element;
|
|
10
17
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WebFrameHelpButton } from '@docsvision/webclient/Platform/WebFrameHelpButton';
|
|
3
|
+
import "./WebFrameHelpButton.stories.css";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof WebFrameHelpButton;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const InsideMenu: () => JSX.Element;
|
|
10
|
+
export declare const InsideFrame: () => JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WebFrameMainMenuButton } from '@docsvision/webclient/Platform/WebFrameMainMenuButton';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof WebFrameMainMenuButton;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: () => JSX.Element;
|
|
@@ -4,6 +4,7 @@ import { WebFrameMainMenuContainerImpl } from '@docsvision/webclient/Platform/We
|
|
|
4
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
|
+
import { $WebFrameContentHeight } from '@docsvision/webclient/System/$WebFrameContentHeight';
|
|
7
8
|
/**
|
|
8
9
|
* Содержит публичные свойства элемента управления [Метка]{@link WebFrameMainMenuContainer}.
|
|
9
10
|
*/
|
|
@@ -16,7 +17,7 @@ export declare class WebFrameMainMenuContainerParams extends PanelParams {
|
|
|
16
17
|
isClosed?: boolean;
|
|
17
18
|
/** Скрыт ли ползунок для ресайза */
|
|
18
19
|
isHandleHidden?: boolean;
|
|
19
|
-
services: $ApplicationSettings & $DeviceType & $ContentElementProvider & $LocalStorage & $IsIE;
|
|
20
|
+
services: $ApplicationSettings & $DeviceType & $ContentElementProvider & $LocalStorage & $IsIE & $WebFrameContentHeight;
|
|
20
21
|
}
|
|
21
22
|
export interface WebFrameMainMenuContainerState extends WebFrameMainMenuContainerParams, PanelState {
|
|
22
23
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WebFrameMainMenuContainer } from '@docsvision/webclient/Platform/WebFrameMainMenuContainer';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof WebFrameMainMenuContainer;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const LeftOpenPosition: () => JSX.Element;
|
|
9
|
+
export declare const RightOpenPosition: () => JSX.Element;
|
|
10
|
+
export declare const PinedPosition: () => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PanelImpl } from '@docsvision/webclient/Platform/PanelImpl';
|
|
3
2
|
import { WebFrameMainMenuContainerParams, WebFrameMainMenuContainerState } from '@docsvision/webclient/Platform/WebFrameMainMenuContainer';
|
|
3
|
+
import React from 'react';
|
|
4
4
|
/**
|
|
5
5
|
* Класс элемента управления WebFrameMainMenuContainer.
|
|
6
6
|
*/
|
|
@@ -13,6 +13,8 @@ export declare class WebFrameMainMenuContainerImpl extends PanelImpl<WebFrameMai
|
|
|
13
13
|
private showOnRightSide;
|
|
14
14
|
UNSAFE_componentWillMount(): void;
|
|
15
15
|
componentDidMount(): void;
|
|
16
|
+
protected getCssStyle(): React.CSSProperties;
|
|
17
|
+
private get minHeightSidebar();
|
|
16
18
|
get getElement(): HTMLElement;
|
|
17
19
|
preventClick: (e: any) => void;
|
|
18
20
|
switchView: (e: any) => void;
|
|
@@ -4,6 +4,7 @@ import { WebFrameNavigationBarImpl } from '@docsvision/webclient/Platform/WebFra
|
|
|
4
4
|
import { $ApplicationSettings } from '@docsvision/webclient/StandardServices';
|
|
5
5
|
import { NavBarMode } from '@docsvision/webclient/Legacy/NavBarMode';
|
|
6
6
|
import { $LocalStorage } from '@docsvision/webclient/System/$LocalStorage';
|
|
7
|
+
import { $WebFrameContentHeight } from '@docsvision/webclient/System/$WebFrameContentHeight';
|
|
7
8
|
/**
|
|
8
9
|
* Содержит публичные свойства элемента управления [Метка]{@link WebFrameNavigationBar}.
|
|
9
10
|
*/
|
|
@@ -12,7 +13,7 @@ export declare class WebFrameNavigationBarParams extends PanelParams {
|
|
|
12
13
|
standardCssClass?: string;
|
|
13
14
|
mode?: NavBarMode;
|
|
14
15
|
modeLock?: string;
|
|
15
|
-
services?: $ApplicationSettings & $LocalStorage;
|
|
16
|
+
services?: $ApplicationSettings & $LocalStorage & $WebFrameContentHeight;
|
|
16
17
|
}
|
|
17
18
|
export interface WebFrameNavigationBarState extends WebFrameNavigationBarParams, PanelState {
|
|
18
19
|
mode: NavBarMode;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WebFrameNavigationBar } from '@docsvision/webclient/Platform/WebFrameNavigationBar';
|
|
3
|
+
import './WebFrameNavigationBar.stories.css';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof WebFrameNavigationBar;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const NavButtons: () => JSX.Element;
|
|
10
|
+
export declare const SelectView: () => JSX.Element;
|
|
11
|
+
export declare const SelectViewList: () => JSX.Element;
|
|
12
|
+
export declare const NavPanelInMobileTabs: () => JSX.Element;
|
|
13
|
+
export declare const WithTextBox: () => JSX.Element;
|
|
14
|
+
export declare const WithNumber: () => JSX.Element;
|
|
15
|
+
export declare const WithButton: () => JSX.Element;
|
|
16
|
+
export declare const WithUrl: () => JSX.Element;
|
|
17
|
+
export declare const WithRadioGroup: () => JSX.Element;
|
|
18
|
+
export declare const WithLabel: () => JSX.Element;
|
|
19
|
+
export declare const WithDropdown: () => JSX.Element;
|
|
@@ -7,6 +7,8 @@ import React from 'react';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class WebFrameNavigationBarImpl extends PanelImpl<WebFrameNavigationBarParams, WebFrameNavigationBarState> {
|
|
9
9
|
mobileContainer: HTMLElement;
|
|
10
|
+
componentDidMount(): void;
|
|
11
|
+
componentDidUpdate(): void;
|
|
10
12
|
protected renderChildren(children?: GenModels.ControlModel[]): React.ReactNode[];
|
|
11
13
|
hideMainMenu: () => void;
|
|
12
14
|
unsetContent: () => void;
|
|
@@ -2,7 +2,7 @@ import { BaseControl, BaseControlParams, BaseControlState } from '@docsvision/we
|
|
|
2
2
|
import { $Layout } from '@docsvision/webclient/System/$Layout';
|
|
3
3
|
import { ControlImpl } from '@docsvision/webclient/System/ControlImpl';
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { $ApplicationSettings, $FullTextSearchEnabled, $DeviceType, $LastSearchRequest } from '@docsvision/webclient/StandardServices';
|
|
5
|
+
import { $ApplicationSettings, $FullTextSearchEnabled, $DeviceType, $LastSearchRequest, $IsIE } from '@docsvision/webclient/StandardServices';
|
|
6
6
|
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
7
7
|
import { $CompanyLogo } from '@docsvision/webclient/Platform/$CompanyLogo';
|
|
8
8
|
import { SearchDropdown } from '@docsvision/webclient/Legacy/SearchDropdown';
|
|
@@ -26,7 +26,7 @@ export declare class WebFrameSearchPanelParams extends BaseControlParams {
|
|
|
26
26
|
isClearButtonHidden?: boolean;
|
|
27
27
|
/** Скрыт ли плейсхолдер */
|
|
28
28
|
isPlaceholderHidden?: boolean;
|
|
29
|
-
services?: $Layout & $ApplicationSettings & $CompanyLogo & $FullTextSearchEnabled & $WebFrameContext & $DeviceType & $Router & $LastSearchRequest & $WebFrameSearchPanel & $ExperimentalFeature & $LastSearchResponse & $Resources & $WebFrameSearchPanel & $FolderInfo;
|
|
29
|
+
services?: $Layout & $ApplicationSettings & $CompanyLogo & $FullTextSearchEnabled & $WebFrameContext & $DeviceType & $Router & $LastSearchRequest & $WebFrameSearchPanel & $ExperimentalFeature & $LastSearchResponse & $IsIE & $Resources & $WebFrameSearchPanel & $FolderInfo;
|
|
30
30
|
}
|
|
31
31
|
export interface WebFrameSearchPanelState extends WebFrameSearchPanelParams, BaseControlState {
|
|
32
32
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WebFrameNavigationBar } from '@docsvision/webclient/Platform/WebFrameNavigationBar';
|
|
3
|
+
import './WebFrameSearchPanel.stories.css';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof WebFrameNavigationBar;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const NavBarSearchMobileList: () => JSX.Element;
|
|
10
|
+
export declare const NavBarSearchMobileActive: () => JSX.Element;
|
|
11
|
+
export declare const OnlyButton: () => JSX.Element;
|
|
12
|
+
export declare const PanelOpened: () => JSX.Element;
|
|
13
|
+
export declare const DropdownOpened: () => JSX.Element;
|
|
14
|
+
export declare const SearchInputValue: () => JSX.Element;
|
package/StandardServices.d.ts
CHANGED
|
@@ -48,9 +48,14 @@ 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 { $RefreshUnreadCounters } from "@docsvision/webclient/Platform/$RefreshUnreadCounters";
|
|
52
|
+
import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
53
|
+
import { $LastSearchParameters } from "@docsvision/webclient/Platform/$LastSearchParameters";
|
|
51
54
|
import { $Poll } from "@docsvision/webclient/System/$PollService";
|
|
52
55
|
import { $FolderPluginProvider } from "@docsvision/webclient/Platform/$FolderPluginProvider";
|
|
56
|
+
import { $LayoutBackground } from "@docsvision/webclient/System/$LayoutBackground";
|
|
53
57
|
import { $HoverPanel } from "@docsvision/webclient/Platform/$HoverPanel";
|
|
58
|
+
import { $WebFrameContentHeight } from "@docsvision/webclient/System/$WebFrameContentHeight";
|
|
54
59
|
/** Сервис доступа к идентификатору текущего пользователя. */
|
|
55
60
|
export declare type $CurrentEmployeeId = {
|
|
56
61
|
currentEmployeeId: string;
|
|
@@ -140,4 +145,4 @@ export declare type $ApplicationSettings = {
|
|
|
140
145
|
};
|
|
141
146
|
export declare const $ApplicationSettings: string | ((model?: $ApplicationSettings) => GenModels.ApplicationSettings);
|
|
142
147
|
/** Стандартные сервисы Web-клиента. */
|
|
143
|
-
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 & $Poll & $FolderPluginProvider & $HoverPanel;
|
|
148
|
+
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 & $RefreshUnreadCounters & $LastSearchParameters & $CurrentFolder & $LastSearchResponse & $Poll & $FolderPluginProvider & $LayoutBackground & $HoverPanel & $WebFrameDirectorySearchPanelService & $WebFrameContentHeight;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
import { Store, Event } from 'effector';
|
|
3
|
+
export declare enum LayoutBackgroundStyle {
|
|
4
|
+
Tile = "repeat",
|
|
5
|
+
Stretch = "cover"
|
|
6
|
+
}
|
|
7
|
+
export interface ILayoutBackground {
|
|
8
|
+
/** Источник фона */
|
|
9
|
+
source: string;
|
|
10
|
+
/** Режим отображения фона */
|
|
11
|
+
type: GenModels.BackgroundType;
|
|
12
|
+
/** Стиль отображения фона */
|
|
13
|
+
style: GenModels.BackgroundStyle;
|
|
14
|
+
/** Видимость */
|
|
15
|
+
visibility?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/** Реализация {@link ILayoutBackgroundService} */
|
|
18
|
+
export interface ILayoutBackgroundService {
|
|
19
|
+
readonly $webFrame: Store<ILayoutBackground>;
|
|
20
|
+
readonly $layout: Store<ILayoutBackground>;
|
|
21
|
+
setWebFrame: Event<ILayoutBackground>;
|
|
22
|
+
setLayout: Event<ILayoutBackground>;
|
|
23
|
+
}
|
|
24
|
+
export declare type $LayoutBackground = {
|
|
25
|
+
layoutBackground: ILayoutBackgroundService;
|
|
26
|
+
};
|
|
27
|
+
export declare const $LayoutBackground: string | ((model?: $LayoutBackground) => ILayoutBackgroundService);
|