@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
|
@@ -4,6 +4,7 @@ import { CancelableEventArgs } from "@docsvision/webclient/System/CancelableEven
|
|
|
4
4
|
import { Image } from "@docsvision/webclient/Platform/Image";
|
|
5
5
|
import { Dropdown } from "@docsvision/webclient/Platform/Dropdown";
|
|
6
6
|
export declare function updateStatusBackground(sender: LayoutControl): void;
|
|
7
|
+
export declare function updateArchiveBlockVisibility(sender: LayoutControl): void;
|
|
7
8
|
export declare function updateAbsencePeriod(sender: LayoutControl): Promise<void>;
|
|
8
9
|
export declare function updateStatusList(sender: Dropdown, event: any): void;
|
|
9
10
|
export declare function onDataChanged_checkSequenceOfDates(sender: LayoutControl, ev: any): void;
|
|
@@ -6,6 +6,8 @@ export declare class WebFrameDirectorySearchPanelService implements IWebFrameDir
|
|
|
6
6
|
setActivity: Event<boolean>;
|
|
7
7
|
startSearch: Event<ISearchRequest>;
|
|
8
8
|
clearSearch: Event<void>;
|
|
9
|
+
$expanded: Store<boolean>;
|
|
10
|
+
setExpanded: Event<boolean>;
|
|
9
11
|
protected domain:
|
|
10
12
|
import("effector").Domain;
|
|
11
13
|
constructor();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare class WebFrameDirectorySearchPanelView {
|
|
3
3
|
SearchButton: (props:
|
|
4
|
-
import("C:/
|
|
4
|
+
import("C:/Users/peshne.k/devWebClient/Bin/Helpers/Button").IButtonProperties) => JSX.Element;
|
|
5
5
|
SearchBar: (props:
|
|
6
6
|
import("./Components/SearchBar").ISearchBar) => JSX.Element;
|
|
7
7
|
}
|
|
@@ -1150,16 +1150,26 @@ export declare namespace GenControllers {
|
|
|
1150
1150
|
*/
|
|
1151
1151
|
setShowArchivedCardsSetting(showArchiveCards: boolean, options?: RequestOptions): Promise<void>;
|
|
1152
1152
|
/**
|
|
1153
|
-
*
|
|
1153
|
+
* Poll has done
|
|
1154
1154
|
*/
|
|
1155
|
-
|
|
1155
|
+
pollIsDone(url: string, options?: RequestOptions): Promise<string>;
|
|
1156
|
+
/**
|
|
1157
|
+
* Refuse poll
|
|
1158
|
+
*/
|
|
1159
|
+
refusePollSetting(options?: RequestOptions): Promise<string>;
|
|
1160
|
+
/**
|
|
1161
|
+
* Get poll date
|
|
1162
|
+
*/
|
|
1163
|
+
getPollDateSetting(url: string, options?: RequestOptions): Promise<string>;
|
|
1156
1164
|
}
|
|
1157
1165
|
class LayoutUserSettingsController extends BaseController implements ILayoutUserSettingsController {
|
|
1158
1166
|
getMainMenuSettings(options?: RequestOptions): Promise<GenModels.MainMenuSettings>;
|
|
1159
1167
|
saveMainMenuSettings(settings: GenModels.MainMenuSettings, options?: RequestOptions): Promise<void>;
|
|
1160
1168
|
getShowArchivedCardsSetting(options?: RequestOptions): Promise<boolean>;
|
|
1161
1169
|
setShowArchivedCardsSetting(showArchiveCards: boolean, options?: RequestOptions): Promise<void>;
|
|
1162
|
-
|
|
1170
|
+
pollIsDone(url: string, options?: RequestOptions): Promise<string>;
|
|
1171
|
+
refusePollSetting(options?: RequestOptions): Promise<string>;
|
|
1172
|
+
getPollDateSetting(url: string, options?: RequestOptions): Promise<string>;
|
|
1163
1173
|
}
|
|
1164
1174
|
}
|
|
1165
1175
|
export declare type $LayoutUserSettingsController = {
|
|
@@ -1305,6 +1315,12 @@ export declare namespace GenControllers {
|
|
|
1305
1315
|
* Get grid aggregates model
|
|
1306
1316
|
*/
|
|
1307
1317
|
getGridAggregatesModel(request: GenModels.GridAggregateRequest, options?: RequestOptions): Promise<Array<GenModels.GridAggregateModel>>;
|
|
1318
|
+
/**
|
|
1319
|
+
* Force unread counter recalculation.
|
|
1320
|
+
*
|
|
1321
|
+
* @param requestModel
|
|
1322
|
+
*/
|
|
1323
|
+
refreshUnreadCounter(requestModel: GenModels.RefreshUnreadCounterRequest, options?: RequestOptions): Promise<any>;
|
|
1308
1324
|
}
|
|
1309
1325
|
class GridController extends BaseController implements IGridController {
|
|
1310
1326
|
getCardList(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
|
|
@@ -1322,6 +1338,7 @@ export declare namespace GenControllers {
|
|
|
1322
1338
|
getFilterDistinctValues(request: GenModels.FilterDistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
|
|
1323
1339
|
loadAllPages(baseCursorId: string, options?: RequestOptions): Promise<number>;
|
|
1324
1340
|
getGridAggregatesModel(request: GenModels.GridAggregateRequest, options?: RequestOptions): Promise<Array<GenModels.GridAggregateModel>>;
|
|
1341
|
+
refreshUnreadCounter(requestModel: GenModels.RefreshUnreadCounterRequest, options?: RequestOptions): Promise<any>;
|
|
1325
1342
|
}
|
|
1326
1343
|
}
|
|
1327
1344
|
export declare type $GridController = {
|
|
@@ -2469,6 +2469,10 @@ export declare namespace GenModels {
|
|
|
2469
2469
|
* Device type
|
|
2470
2470
|
*/
|
|
2471
2471
|
deviceType: GenModels.DeviceType;
|
|
2472
|
+
/**
|
|
2473
|
+
* Need use old grid.
|
|
2474
|
+
*/
|
|
2475
|
+
useOldGrid?: boolean;
|
|
2472
2476
|
}
|
|
2473
2477
|
}
|
|
2474
2478
|
export declare namespace GenModels {
|
|
@@ -2956,6 +2960,10 @@ export declare namespace GenModels {
|
|
|
2956
2960
|
export declare namespace GenModels {
|
|
2957
2961
|
interface RecentCardsRequest {
|
|
2958
2962
|
requestModel: GenModels.CardListRequestModel;
|
|
2963
|
+
/**
|
|
2964
|
+
* Need use old grid.
|
|
2965
|
+
*/
|
|
2966
|
+
useOldGrid?: boolean;
|
|
2959
2967
|
}
|
|
2960
2968
|
}
|
|
2961
2969
|
export declare namespace GenModels {
|
|
@@ -3168,6 +3176,10 @@ export declare namespace GenModels {
|
|
|
3168
3176
|
* Gets or sets value
|
|
3169
3177
|
*/
|
|
3170
3178
|
value: string;
|
|
3179
|
+
/**
|
|
3180
|
+
* Gets or sets raw value
|
|
3181
|
+
*/
|
|
3182
|
+
rawValue: any;
|
|
3171
3183
|
/**
|
|
3172
3184
|
* Gets or sets count
|
|
3173
3185
|
*/
|
|
@@ -3262,6 +3274,16 @@ export declare namespace GenModels {
|
|
|
3262
3274
|
checked?: boolean;
|
|
3263
3275
|
}
|
|
3264
3276
|
}
|
|
3277
|
+
export declare namespace GenModels {
|
|
3278
|
+
interface RefreshUnreadCounterRequest {
|
|
3279
|
+
/**
|
|
3280
|
+
* @format datatype.uuid
|
|
3281
|
+
*/
|
|
3282
|
+
folderId: string;
|
|
3283
|
+
folderRefreshTimeout: number;
|
|
3284
|
+
forceVirtualFolderSearch: boolean;
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3265
3287
|
export declare namespace GenModels {
|
|
3266
3288
|
interface GetRequestModel {
|
|
3267
3289
|
locationName?: string;
|
|
@@ -5148,6 +5170,7 @@ export declare namespace GenModels {
|
|
|
5148
5170
|
interface ApprovalHistoryStageModel {
|
|
5149
5171
|
name: string;
|
|
5150
5172
|
approvalType?: GenModels.ApprovalType;
|
|
5173
|
+
beginDate: string;
|
|
5151
5174
|
stageItems: Array<GenModels.ApprovalHistoryStageItemModel>;
|
|
5152
5175
|
}
|
|
5153
5176
|
}
|
|
@@ -7591,7 +7614,7 @@ export declare namespace GenModels {
|
|
|
7591
7614
|
/**
|
|
7592
7615
|
* Gets or sets current employee
|
|
7593
7616
|
*/
|
|
7594
|
-
employee: GenModels.
|
|
7617
|
+
employee: GenModels.CurrentEmployeeInfo;
|
|
7595
7618
|
/**
|
|
7596
7619
|
* Gets or sets environment settings
|
|
7597
7620
|
*/
|
|
@@ -7648,6 +7671,10 @@ export declare namespace GenModels {
|
|
|
7648
7671
|
* Search context options
|
|
7649
7672
|
*/
|
|
7650
7673
|
searchContextOptions: Array<GenModels.SearchOptionModel>;
|
|
7674
|
+
/**
|
|
7675
|
+
* Gets or sets needs to use old grid.
|
|
7676
|
+
*/
|
|
7677
|
+
useOldGrid: GenModels.UseOldGrid;
|
|
7651
7678
|
/**
|
|
7652
7679
|
* Card must be deleted into the trash or deletes from database.
|
|
7653
7680
|
*/
|
|
@@ -7666,6 +7693,14 @@ export declare namespace GenModels {
|
|
|
7666
7693
|
logEnabled: boolean;
|
|
7667
7694
|
}
|
|
7668
7695
|
}
|
|
7696
|
+
export declare namespace GenModels {
|
|
7697
|
+
interface CurrentEmployeeInfo extends GenModels.EmployeeModel {
|
|
7698
|
+
/**
|
|
7699
|
+
* Server role
|
|
7700
|
+
*/
|
|
7701
|
+
serverRole: GenModels.ServerRole;
|
|
7702
|
+
}
|
|
7703
|
+
}
|
|
7669
7704
|
export declare namespace GenModels {
|
|
7670
7705
|
interface EnvironmentSettings {
|
|
7671
7706
|
/**
|
|
@@ -7894,12 +7929,6 @@ export declare namespace GenModels {
|
|
|
7894
7929
|
* Show Archived Cards
|
|
7895
7930
|
*/
|
|
7896
7931
|
showArchivedCards: boolean;
|
|
7897
|
-
/**
|
|
7898
|
-
* Feedback Request Date
|
|
7899
|
-
*
|
|
7900
|
-
* @format datatype.datetime
|
|
7901
|
-
*/
|
|
7902
|
-
feedbackRequestDate?: string;
|
|
7903
7932
|
}
|
|
7904
7933
|
}
|
|
7905
7934
|
export declare namespace GenModels {
|
|
@@ -10474,6 +10503,52 @@ export declare namespace GenModels {
|
|
|
10474
10503
|
Absent = 3
|
|
10475
10504
|
}
|
|
10476
10505
|
}
|
|
10506
|
+
export declare namespace GenModels {
|
|
10507
|
+
/**
|
|
10508
|
+
* Defines UseOldGrid setting values.
|
|
10509
|
+
*/
|
|
10510
|
+
enum UseOldGrid {
|
|
10511
|
+
/**
|
|
10512
|
+
* Do not use old grid.
|
|
10513
|
+
*/
|
|
10514
|
+
DoNotUse = 0,
|
|
10515
|
+
/**
|
|
10516
|
+
* Show old grid only for Internet Explorer.
|
|
10517
|
+
*/
|
|
10518
|
+
OnlyForIE = 1,
|
|
10519
|
+
/**
|
|
10520
|
+
* Use old grid anywhere.
|
|
10521
|
+
*/
|
|
10522
|
+
Anywhere = 2
|
|
10523
|
+
}
|
|
10524
|
+
}
|
|
10525
|
+
export declare namespace GenModels {
|
|
10526
|
+
/**
|
|
10527
|
+
* Condition for selecting Extended layouts
|
|
10528
|
+
*/
|
|
10529
|
+
enum ServerRole {
|
|
10530
|
+
/**
|
|
10531
|
+
* Layout for usual user
|
|
10532
|
+
*/
|
|
10533
|
+
User = 0,
|
|
10534
|
+
/**
|
|
10535
|
+
* Layout for power user
|
|
10536
|
+
*/
|
|
10537
|
+
PowerUser = 1,
|
|
10538
|
+
/**
|
|
10539
|
+
* Layout for docsvision administrator
|
|
10540
|
+
*/
|
|
10541
|
+
Administrator = 2,
|
|
10542
|
+
/**
|
|
10543
|
+
* DocsVision Security Administrators
|
|
10544
|
+
*/
|
|
10545
|
+
SecurityAdministrator = 3,
|
|
10546
|
+
/**
|
|
10547
|
+
* DocsVision Archive Operators
|
|
10548
|
+
*/
|
|
10549
|
+
ArchiveOperator = 4
|
|
10550
|
+
}
|
|
10551
|
+
}
|
|
10477
10552
|
export declare namespace System {
|
|
10478
10553
|
enum DayOfWeek {
|
|
10479
10554
|
Sunday = 0,
|
|
@@ -10534,6 +10609,19 @@ export declare namespace GenModels {
|
|
|
10534
10609
|
Pdfjs = 1
|
|
10535
10610
|
}
|
|
10536
10611
|
}
|
|
10612
|
+
export declare namespace GenModels {
|
|
10613
|
+
enum BackgroundStyle {
|
|
10614
|
+
Tile = 0,
|
|
10615
|
+
Stretch = 1
|
|
10616
|
+
}
|
|
10617
|
+
}
|
|
10618
|
+
export declare namespace GenModels {
|
|
10619
|
+
enum BackgroundType {
|
|
10620
|
+
Default = 0,
|
|
10621
|
+
Inherit = 1,
|
|
10622
|
+
Custom = 2
|
|
10623
|
+
}
|
|
10624
|
+
}
|
|
10537
10625
|
export declare namespace GenModels {
|
|
10538
10626
|
enum AgreementHistoryMode {
|
|
10539
10627
|
Button = 0,
|
|
@@ -14,9 +14,15 @@ export interface IBoxWithButtonsProps {
|
|
|
14
14
|
/** Shows loading incon at the left of the buttons */
|
|
15
15
|
loadingState?: LoadingState;
|
|
16
16
|
/** Buttons, that will be showed on the right side of the box */
|
|
17
|
-
buttons
|
|
17
|
+
buttons?: IBoxWithButtonsButtonInfo[];
|
|
18
|
+
/** Buttons, that will be showed on the left side of the control */
|
|
19
|
+
leftButtons?: IBoxWithButtonsButtonInfo[];
|
|
20
|
+
/** Additional class for the control */
|
|
21
|
+
optionButtonsClassName?: string;
|
|
18
22
|
/** Show buttons inside the box with absolute positioning. Defautl value: false */
|
|
19
23
|
buttonsInside?: boolean;
|
|
24
|
+
/** Function when clicking on the icon in edit in place mode */
|
|
25
|
+
onIconMouseDown?: () => void;
|
|
20
26
|
}
|
|
21
27
|
/** @internal */
|
|
22
28
|
export interface IBoxWithButtonsButtonInfo extends IIconButtonProps {
|
package/Helpers/LabeledText.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export interface ILabeledText {
|
|
|
14
14
|
className?: string;
|
|
15
15
|
/** Click on text element handler */
|
|
16
16
|
onTextClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any>) => void;
|
|
17
|
+
/** Click on icon element handler */
|
|
18
|
+
onIconClick?: (ev: React.MouseEvent<any> | React.KeyboardEvent<any>) => void;
|
|
17
19
|
/** Ref to text element handler */
|
|
18
20
|
attachText?: (elem: HTMLElement) => void;
|
|
19
21
|
/**
|
|
@@ -55,8 +57,14 @@ export interface ILabeledText {
|
|
|
55
57
|
children?: React.ReactNode;
|
|
56
58
|
/** Add wrap to text */
|
|
57
59
|
addTextWrap?: Function;
|
|
60
|
+
/** If this parameter true, then an icon is shown next to the text */
|
|
61
|
+
displayIcon?: boolean;
|
|
62
|
+
/** Class name for icon */
|
|
63
|
+
iconClass?: string;
|
|
58
64
|
onFocus?: (event: React.FocusEvent<any>) => void;
|
|
59
65
|
onBlur?: (event: React.FocusEvent<any>) => void;
|
|
66
|
+
onMouseEnter?: () => void;
|
|
67
|
+
onMouseLeave?: () => void;
|
|
60
68
|
}
|
|
61
69
|
/** @internal */
|
|
62
70
|
export declare enum LabelDotsMode {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HtmlProps } from "@docsvision/web/core/component";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface IKeyHandlerProps extends HtmlProps.div {
|
|
4
|
+
/** Отключает обработчик. */
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** Обработчик события нажатия клавиши. */
|
|
7
|
+
onKeyDown: (ev: React.KeyboardEvent<any>) => void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Реагирует событие нажатия клавиши и вызывает обработчик, переданный в параметры.
|
|
11
|
+
*/
|
|
12
|
+
export declare function KeyHandler(props: IKeyHandlerProps): JSX.Element;
|
|
@@ -44,6 +44,10 @@ export interface ITypeaheadProps {
|
|
|
44
44
|
paginatorLoadLogic?: PaginatorLoadLogic;
|
|
45
45
|
/** Some extra buttons info, that would be showed at the right side of the control */
|
|
46
46
|
extraButtons?: IBoxWithButtonsButtonInfo[];
|
|
47
|
+
/** Some buttons info, that would be showed at the left side of the control */
|
|
48
|
+
leftButtons?: IBoxWithButtonsButtonInfo[];
|
|
49
|
+
/** Additional class for the control */
|
|
50
|
+
optionButtonsClassName?: string;
|
|
47
51
|
/** Show buttons inside the box with absolute positioning. Defautl value: false */
|
|
48
52
|
buttonsInside?: boolean;
|
|
49
53
|
/** Tooltip */
|
|
@@ -74,6 +78,8 @@ export interface ITypeaheadProps {
|
|
|
74
78
|
afterOpenCallback?: () => void;
|
|
75
79
|
/** Hide the pop-up if it crossed the padding */
|
|
76
80
|
hideIfBehindPadding?: boolean;
|
|
81
|
+
/** Function when clicking on the icon in edit in place mode */
|
|
82
|
+
onIconMouseDown?: () => void;
|
|
77
83
|
}
|
|
78
84
|
export declare enum PaginatorLoadLogic {
|
|
79
85
|
LoadOnlyNewItems = 0,
|
|
@@ -41,7 +41,7 @@ export declare class Typeahead extends React.Component<ITypeaheadProps, ITypeahe
|
|
|
41
41
|
private documentClick;
|
|
42
42
|
private documentScroll;
|
|
43
43
|
protected onShowMore(): Promise<ITypeaheadSearchResult>;
|
|
44
|
-
protected onShowVariants(): void;
|
|
44
|
+
protected onShowVariants(ev: React.MouseEvent): void;
|
|
45
45
|
protected onInputKeyDown(ev: React.KeyboardEvent<any>): void;
|
|
46
46
|
protected onItemClick(ev: React.MouseEvent<any>, item: TypeaheadItem): void;
|
|
47
47
|
/** Contains logic for keyboard navigation */
|
|
@@ -6,6 +6,8 @@ import { SimpleEvent } from "@docsvision/webclient/System/SimpleEvent";
|
|
|
6
6
|
import { GridRowsSelectionLogic } from '@docsvision/webclient/Legacy/GridRowsSelectionLogic';
|
|
7
7
|
import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
|
|
8
8
|
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
9
|
+
import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
10
|
+
import { $RefreshUnreadCounters } from "@docsvision/webclient/Platform/$RefreshUnreadCounters";
|
|
9
11
|
export declare const RESIZEABLE_STORAGE_ID = "Storage";
|
|
10
12
|
export declare const WIDTH_STORE = ".widths";
|
|
11
13
|
/** @internal */
|
|
@@ -43,7 +45,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
|
|
|
43
45
|
static DefaultBackColor: string;
|
|
44
46
|
static FilterSettingsName: string;
|
|
45
47
|
private traceProvider;
|
|
46
|
-
protected services: $GridController & $WebFrameContext & $MessageBox;
|
|
48
|
+
protected services: $GridController & $WebFrameContext & $MessageBox & $CurrentFolder & $RefreshUnreadCounters;
|
|
47
49
|
constructor(options: GridOptions);
|
|
48
50
|
abstract rowsSelectionMode: boolean;
|
|
49
51
|
abstract buildGrid(model: GenModels.GridViewModel, targetElement: HTMLElement, rootElement: HTMLElement): any;
|
|
@@ -52,7 +54,7 @@ export declare abstract class BasicGridHtmlBuilder implements IGridHtmlBuilder {
|
|
|
52
54
|
protected abstract buildRowSwitcher(options: GridOptions, model: GenModels.GridViewModel, rowSwitcher: HTMLDivElement, rootElement: HTMLElement): HTMLDivElement;
|
|
53
55
|
abstract getChanges(): Promise<GenModels.GridViewModel>;
|
|
54
56
|
getSelection():
|
|
55
|
-
import("C:/
|
|
57
|
+
import("C:/Users/peshne.k/devWebClient/Bin/TypeScriptDefinitions/@docsvision/Platform/Services/Table/TableRowsSelectionModel").TableRowsSelectionModel;
|
|
56
58
|
clearSelection(cardIds?: string[]): void;
|
|
57
59
|
selectionChanged: SimpleEvent<any>;
|
|
58
60
|
protected addActionButtons(header: HTMLElement): void;
|
package/Legacy/FolderViews.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IFolderViews } from "@docsvision/webclient/Legacy/$FolderViews";
|
|
2
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
2
3
|
/** @internal */
|
|
3
4
|
export declare class FolderViews implements IFolderViews {
|
|
4
5
|
private selectViewBtnId;
|
|
@@ -9,6 +10,7 @@ export declare class FolderViews implements IFolderViews {
|
|
|
9
10
|
private viewFolderId;
|
|
10
11
|
private currentViewId;
|
|
11
12
|
private traceProvider;
|
|
13
|
+
static viewsProvider: (folderId: string) => GenModels.FolderViewInfo[];
|
|
12
14
|
private get SelectViewBtn();
|
|
13
15
|
private get SelectViewList();
|
|
14
16
|
private get SelectViewContainer();
|
package/Legacy/GridOptions.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { $GridController } from '@docsvision/webclient/Generated/DocsVision.WebClient.Controllers';
|
|
2
2
|
import { IGridOptions } from '@docsvision/webclient/Platform/$GridOptions';
|
|
3
|
+
import { IFolderDataLoader } from '@docsvision/webclient/Platform/IFolderDataLoader';
|
|
3
4
|
/** @internal */
|
|
4
5
|
export declare class GridOptions implements IGridOptions {
|
|
5
6
|
tableClass: string;
|
|
@@ -10,6 +11,7 @@ export declare class GridOptions implements IGridOptions {
|
|
|
10
11
|
enableToolbar: boolean;
|
|
11
12
|
enablePaging: boolean;
|
|
12
13
|
enableSorting: boolean;
|
|
14
|
+
enableUnreadBar: boolean;
|
|
13
15
|
enableGrouping: boolean;
|
|
14
16
|
enableItemDetails: boolean;
|
|
15
17
|
enableBatchOperations: boolean;
|
|
@@ -22,6 +24,6 @@ export declare class GridOptions implements IGridOptions {
|
|
|
22
24
|
searchParameters: object;
|
|
23
25
|
saveGridUserSettingsData: boolean;
|
|
24
26
|
folderHeader: string;
|
|
25
|
-
dataLoader:
|
|
27
|
+
dataLoader: IFolderDataLoader;
|
|
26
28
|
services: $GridController;
|
|
27
29
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IRouteHandler } from "@docsvision/webclient/System/IRouteHandler";
|
|
2
|
+
import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResult";
|
|
3
|
+
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
4
|
+
import { $WebFrameContext } from '@docsvision/webclient/Platform/$WebFrameContext';
|
|
5
|
+
import { $SearchPanel } from '@docsvision/webclient/Legacy/$SearchPanel';
|
|
6
|
+
import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
|
|
7
|
+
import { $ApplicationSettings, $IsIE } from "@docsvision/webclient/StandardServices";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare class SearchPanelRouteHandler implements IRouteHandler<any> {
|
|
10
|
+
private services;
|
|
11
|
+
name: string;
|
|
12
|
+
availableRouteHandler: boolean;
|
|
13
|
+
constructor(services: $WebFrameContext & $SearchPanel & $ExperimentalFeature & $ApplicationSettings & $IsIE);
|
|
14
|
+
prepareRouteDataLoad(routeData: any, routeType: RouteType): Promise<RouteHandleResult>;
|
|
15
|
+
mountRoute(data: any, routeType: RouteType): Promise<RouteHandleResult>;
|
|
16
|
+
unmountRoute(data: any, routeType: RouteType): Promise<void>;
|
|
17
|
+
}
|
|
18
|
+
/** @internal Временная функция, перестраивающая панель поиска в обход стандартного механизма роутинга. Функция будет удалена в следующих релизах. */
|
|
19
|
+
export declare function __DangerRemountSearchPanel(): void;
|
|
@@ -3,14 +3,15 @@ import { RouteHandleResult } from "@docsvision/webclient/System/RouteHandleResul
|
|
|
3
3
|
import { RouteType } from "@docsvision/webclient/System/RouteType";
|
|
4
4
|
import { $WebFrameSearchPanel } from "@docsvision/webclient/Platform/$WebFrameSearchPanel";
|
|
5
5
|
import { $ExperimentalFeature } from "@docsvision/webclient/System/$ExperimentalFeature";
|
|
6
|
-
import { $FullTextSearchEnabled } from "@docsvision/webclient/StandardServices";
|
|
6
|
+
import { $ApplicationSettings, $FullTextSearchEnabled, $IsIE } from "@docsvision/webclient/StandardServices";
|
|
7
7
|
import { IFolderRouteData } from "@docsvision/webclient/Platform/IFolderRouteData";
|
|
8
8
|
import { $CompanyLogo } from "@docsvision/webclient/Platform/$CompanyLogo";
|
|
9
9
|
/** @internal */
|
|
10
10
|
export declare class WebFrameSearchPanelRouteHandler implements IRouteHandler<any> {
|
|
11
11
|
private services;
|
|
12
12
|
name: string;
|
|
13
|
-
|
|
13
|
+
private isAvaibleRouteHandler;
|
|
14
|
+
constructor(services: $WebFrameSearchPanel & $ExperimentalFeature & $FullTextSearchEnabled & $CompanyLogo & $ApplicationSettings & $IsIE);
|
|
14
15
|
private hide;
|
|
15
16
|
mountRoute(data: IFolderRouteData, routeType: RouteType): Promise<RouteHandleResult>;
|
|
16
17
|
unmountRoute(data: any, routeType: RouteType): Promise<void>;
|
|
@@ -5,13 +5,12 @@ export declare enum LogoType {
|
|
|
5
5
|
}
|
|
6
6
|
/** Сервис для установки CompanyLogo. */
|
|
7
7
|
export interface ICompanyLogoService {
|
|
8
|
-
setCompanyLogoElements(control: HTMLElement, icon: HTMLElement): void;
|
|
8
|
+
setCompanyLogoElements(control: HTMLElement, icon: HTMLElement, alwaysShow?: boolean, filePath?: string): void;
|
|
9
9
|
show(text?: string): void;
|
|
10
10
|
showLogo(): void;
|
|
11
11
|
hideLogo(): void;
|
|
12
12
|
setLogoVisibility(visibility: boolean): void;
|
|
13
13
|
setText(text: string): void;
|
|
14
|
-
setImage(): void;
|
|
15
14
|
getCompanyLogoElement(): HTMLElement;
|
|
16
15
|
getLogoVisibility(): boolean;
|
|
17
16
|
getTypeOfLogo(): LogoType;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { IFolderDataLoader } from '@docsvision/webclient/Platform/IFolderDataLoader';
|
|
2
|
+
interface BasicGridOptions {
|
|
2
3
|
tableClass: string;
|
|
3
4
|
tableId: string;
|
|
4
5
|
wrapRow: boolean;
|
|
@@ -8,6 +9,7 @@ export interface IGridOptions {
|
|
|
8
9
|
enablePaging: boolean;
|
|
9
10
|
enableSorting: boolean;
|
|
10
11
|
enableGrouping: boolean;
|
|
12
|
+
enableUnreadBar: boolean;
|
|
11
13
|
enableItemDetails: boolean;
|
|
12
14
|
enableBatchOperations: boolean;
|
|
13
15
|
isFilterAllowed: boolean;
|
|
@@ -19,9 +21,12 @@ export interface IGridOptions {
|
|
|
19
21
|
searchParameters: object;
|
|
20
22
|
saveGridUserSettingsData: boolean;
|
|
21
23
|
folderHeader: string;
|
|
22
|
-
dataLoader:
|
|
24
|
+
dataLoader: IFolderDataLoader;
|
|
25
|
+
services: any;
|
|
23
26
|
}
|
|
27
|
+
export declare type IGridOptions = Partial<BasicGridOptions>;
|
|
24
28
|
export declare type $GridOptions = {
|
|
25
|
-
gridOptions: IGridOptions
|
|
29
|
+
gridOptions: Partial<IGridOptions>;
|
|
26
30
|
};
|
|
27
|
-
export declare const $GridOptions: string | ((model?: $GridOptions) =>
|
|
31
|
+
export declare const $GridOptions: string | ((model?: $GridOptions) => Partial<Partial<BasicGridOptions>>);
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
/** Cервис передачи последних поисковых параметров. */
|
|
3
|
+
export interface ILastSearchParametersService {
|
|
4
|
+
getSearchParameters: (folderId: string) => GenModels.SearchParameter[];
|
|
5
|
+
setSearchParameters: (folderId: string, value: GenModels.SearchParameter[]) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare type $LastSearchParameters = {
|
|
8
|
+
lastSearchParameters: ILastSearchParametersService;
|
|
9
|
+
};
|
|
10
|
+
export declare const $LastSearchParameters: string | ((model?: $LastSearchParameters) => ILastSearchParametersService);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
/** Cервис обновления счетчиков непрочитанных карточек. */
|
|
3
|
+
export interface IRefreshUnreadCountersService {
|
|
4
|
+
/** Запрашивает внеоочередной пересчет счетчиков. */
|
|
5
|
+
requestUnreadCounterRecalculation(request: GenModels.RefreshUnreadCounterRequest): void;
|
|
6
|
+
}
|
|
7
|
+
export declare type $RefreshUnreadCounters = {
|
|
8
|
+
refreshUnreadCounters: IRefreshUnreadCountersService;
|
|
9
|
+
};
|
|
10
|
+
export declare const $RefreshUnreadCounters: string | ((model?: $RefreshUnreadCounters) => IRefreshUnreadCountersService);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
|
|
2
|
+
import { Store } from 'effector';
|
|
3
|
+
/** Сервис для предоставления информация о поисковых параметрах папке. */
|
|
4
|
+
export interface ISearchParametersFolderService {
|
|
5
|
+
readonly $parameters: Store<GenModels.SearchParameter[]>;
|
|
6
|
+
readonly $requestCanceled: Store<boolean>;
|
|
7
|
+
setParameters(parameters: GenModels.SearchParameter[]): void;
|
|
8
|
+
setRequestCanceled(param: boolean): void;
|
|
9
|
+
}
|
|
10
|
+
export declare type $SearchParametersFolder = {
|
|
11
|
+
searchParametersFolder: ISearchParametersFolderService;
|
|
12
|
+
};
|
|
13
|
+
export declare const $SearchParametersFolder: string | ((model?: $SearchParametersFolder) => ISearchParametersFolderService);
|
|
@@ -12,10 +12,10 @@ export declare class BaseMainMenuItemImpl<PropsT extends BaseMainMenuItemParams,
|
|
|
12
12
|
constructor(props: PropsT, state?: StateT);
|
|
13
13
|
UNSAFE_componentWillMount(): void;
|
|
14
14
|
onSelecting():
|
|
15
|
-
import("C:/
|
|
15
|
+
import("C:/Users/peshne.k/devWebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
16
16
|
onSelected(): void;
|
|
17
17
|
onToggling():
|
|
18
|
-
import("C:/
|
|
18
|
+
import("C:/Users/peshne.k/devWebClient/Bin/System/Events/CancelableEventArgs").CancelableEventArgs<boolean>;
|
|
19
19
|
onToggled(): void;
|
|
20
20
|
protected onClick(event: React.MouseEvent<any>): void;
|
|
21
21
|
protected getCssClass(): string;
|
|
@@ -7,9 +7,11 @@ export declare class CompanyLogoService implements ICompanyLogoService {
|
|
|
7
7
|
_isHidden: boolean;
|
|
8
8
|
_logoType: LogoType;
|
|
9
9
|
_logoText: string;
|
|
10
|
+
_alwaysShow: boolean;
|
|
11
|
+
_filePath: string;
|
|
10
12
|
updateLogoVisibility: SimpleEvent<any>;
|
|
11
13
|
updateLogoType: SimpleEvent<any>;
|
|
12
|
-
setCompanyLogoElements: (control: HTMLElement, icon: HTMLElement) => void;
|
|
14
|
+
setCompanyLogoElements: (control: HTMLElement, icon: HTMLElement, alwaysShow?: boolean, filePath?: string) => void;
|
|
13
15
|
getCompanyLogoElement: () => HTMLElement;
|
|
14
16
|
getLogoVisibility: () => boolean;
|
|
15
17
|
getTypeOfLogo: () => LogoType;
|
|
@@ -19,5 +21,4 @@ export declare class CompanyLogoService implements ICompanyLogoService {
|
|
|
19
21
|
setLogoVisibility(visibility: boolean): void;
|
|
20
22
|
show: (text?: string) => void;
|
|
21
23
|
setText: (text: string) => void;
|
|
22
|
-
setImage: () => void;
|
|
23
24
|
}
|
|
@@ -4,7 +4,6 @@ import { $ContextMenuOptions } from '@docsvision/webclient/Platform/$ContextMenu
|
|
|
4
4
|
import { $ScrollContainer } from '@docsvision/web/components/table/plugins/scroll';
|
|
5
5
|
import { $TableDom } from '@docsvision/web/components/table/plugins/table-dom';
|
|
6
6
|
import { $Domain } from "@docsvision/web/core/state-management";
|
|
7
|
-
import AlloyFinger from "alloyfinger";
|
|
8
7
|
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
9
8
|
import { $CheckboxService } from "@docsvision/web/components/table/plugins/checkbox";
|
|
10
9
|
export declare enum RowType {
|
|
@@ -21,19 +20,14 @@ export interface ITableHeaderRowItemProps {
|
|
|
21
20
|
export interface ITableRowItemProps {
|
|
22
21
|
children?: React.ReactNode;
|
|
23
22
|
}
|
|
24
|
-
export interface IAlloy {
|
|
25
|
-
finger?: AlloyFinger;
|
|
26
|
-
}
|
|
27
23
|
declare type $ContextMenuServices = $ScrollContainer & $TableDom & $ContextMenuOptions & $DeviceType & $CheckboxService;
|
|
28
24
|
export declare class ContextMenu {
|
|
29
25
|
private node;
|
|
30
26
|
private composition;
|
|
31
27
|
private static mMenuBarsContainer;
|
|
32
28
|
private ACTIVE_ROW_CLASSNAME;
|
|
33
|
-
private isMenuExpanded;
|
|
34
29
|
private mContainer;
|
|
35
30
|
private pageCoordinates;
|
|
36
|
-
private alloy;
|
|
37
31
|
private targetRow;
|
|
38
32
|
private static getMenuBarsContainer;
|
|
39
33
|
constructor(node: HTMLElement, composition: IComposition<any, unknown, $ContextMenuServices & $Domain>);
|
|
@@ -49,6 +43,10 @@ export declare class ContextMenu {
|
|
|
49
43
|
hideContextMenuHandler: () => void;
|
|
50
44
|
private setRowSelection;
|
|
51
45
|
showContextMenuHandler: (e?: any) => void;
|
|
46
|
+
private longTapTimer;
|
|
47
|
+
private longTapInterval;
|
|
48
|
+
private touchstartListener;
|
|
49
|
+
private touchendListener;
|
|
52
50
|
addContextMenuCustom: (row: HTMLElement) => void;
|
|
53
51
|
removeContextMenuCustom: (row: HTMLElement) => void;
|
|
54
52
|
onMenuItemClick(action: (context: IComposition) => void, enabled: boolean): void;
|
|
@@ -57,6 +57,7 @@ export declare class DateTimePickerParams extends InputBasedControlParams<Date>
|
|
|
57
57
|
disablePast?: boolean;
|
|
58
58
|
/** Запретить выбор будущих дат */
|
|
59
59
|
disableFuture?: boolean;
|
|
60
|
+
displayIcon?: boolean;
|
|
60
61
|
services?: $LayoutInfo & $BusinessCalendarController & $EditOperationStore & $Router & $CardInfo & Optional<$LabelWidth>;
|
|
61
62
|
}
|
|
62
63
|
/**
|
|
@@ -16,7 +16,7 @@ import "moment/locale/kk";
|
|
|
16
16
|
import "moment/locale/lv";
|
|
17
17
|
import "moment/locale/ru";
|
|
18
18
|
import "moment/locale/uk";
|
|
19
|
-
import React from "react";
|
|
19
|
+
import React, { KeyboardEvent } from "react";
|
|
20
20
|
import { $LabelWidth } from '@docsvision/webclient/System/$LabelWidth';
|
|
21
21
|
/** @internal */
|
|
22
22
|
export interface DateTimePickerState extends DateTimePickerParams, InputBasedControlState<Date> {
|
|
@@ -75,8 +75,10 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
|
|
|
75
75
|
onError: (error: any) => void;
|
|
76
76
|
onClearKeyPress: (event: React.KeyboardEvent<any>) => void;
|
|
77
77
|
protected getDateTimePicker: () => JSX.Element;
|
|
78
|
+
protected onMouseDownIcon(e: any): void;
|
|
78
79
|
protected getDefaultInitialValue(): Date;
|
|
79
80
|
protected editInPlaceModeRender(): JSX.Element;
|
|
81
|
+
protected renderWithText(): JSX.Element;
|
|
80
82
|
protected onPlaceholderClick(event: any): void;
|
|
81
83
|
protected onDialogClose(): void;
|
|
82
84
|
protected onDateChange: (newValue: any, value: any) => void;
|
|
@@ -84,6 +86,7 @@ export declare class DateTimePickerImpl extends InputBasedControlImpl<Date, Date
|
|
|
84
86
|
protected onDataChangedSave(): void;
|
|
85
87
|
protected onInputFocus(): void;
|
|
86
88
|
protected onInputBlur(): void;
|
|
89
|
+
protected onInputKeyDown(ev: KeyboardEvent<HTMLInputElement>): void;
|
|
87
90
|
protected renderInput(): React.ReactNode;
|
|
88
91
|
private renderRequiredText;
|
|
89
92
|
protected renderPlaceholder(): JSX.Element;
|