@docsvision/webclient 5.17.6 → 5.17.8-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Account/LoginLogic.d.ts +2 -0
- package/BackOffice/Address.stories.d.ts +66 -0
- package/BackOffice/AddressLabel.stories.d.ts +30 -0
- package/BackOffice/AddressOldStyles.stories.d.ts +19 -0
- package/BackOffice/AddressStoriesData.d.ts +21 -0
- package/BackOffice/CardKind.stories.d.ts +46 -0
- package/BackOffice/CardKindImpl.d.ts +1 -1
- package/BackOffice/CardKindLabel.stories.d.ts +28 -0
- package/BackOffice/CardKindStoriesData.d.ts +44 -0
- package/BackOffice/CardKindTree.d.ts +1 -1
- package/BackOffice/CommandMenuComponent.d.ts +1 -1
- package/BackOffice/Comments.d.ts +2 -0
- package/BackOffice/Comments.stories.d.ts +20 -0
- package/BackOffice/CommentsImpl.d.ts +0 -1
- package/BackOffice/CommentsOldStyle.stories.d.ts +5 -0
- package/BackOffice/CommentsStoriesData.d.ts +8 -0
- package/BackOffice/CreateRelatedCardButton.stories.d.ts +165 -0
- package/BackOffice/CreateRelatedCardButtonOldStyles.stories.d.ts +21 -0
- package/BackOffice/CreateRelatedCardButtonStoriesData.d.ts +22 -0
- package/BackOffice/DelegateBatchOperation.stories.d.ts +58 -0
- package/BackOffice/DelegateBatchOperationStoriesData.d.ts +15 -0
- package/BackOffice/DeleteShortcutBatchOperation.stories.d.ts +48 -0
- package/BackOffice/DeleteShortcutBatchOperationStoriesData.d.ts +12 -0
- package/BackOffice/Department.stories.d.ts +117 -0
- package/BackOffice/DepartmentLabel.stories.d.ts +32 -0
- package/BackOffice/DepartmentOldStyles.stories.d.ts +24 -0
- package/BackOffice/DepartmentStoriesData.d.ts +88 -0
- package/BackOffice/DirectoryDesignerRow.stories.d.ts +92 -0
- package/BackOffice/DirectoryDesignerRowImpl.d.ts +3 -2
- package/BackOffice/DirectoryDesignerRowLabel.stories.d.ts +21 -0
- package/BackOffice/DirectoryDesignerRowOldStyles.stories.d.ts +18 -0
- package/BackOffice/DirectoryDesignerRowStoriesData.d.ts +14 -0
- package/BackOffice/DisplayInitiator.stories.d.ts +31 -0
- package/BackOffice/DisplayInitiatorLabel.stories.d.ts +44 -0
- package/BackOffice/DisplayInitiatorStoriesData.d.ts +34 -0
- package/BackOffice/DisplayPerformers.stories.d.ts +132 -0
- package/BackOffice/DisplayPerformersImpl.d.ts +1 -1
- package/BackOffice/DisplayPerformersLabel.stories.d.ts +48 -0
- package/BackOffice/DisplayPerformersStoriesData.d.ts +71 -0
- package/BackOffice/Employee.stories.d.ts +34 -0
- package/BackOffice/EmployeeLegacy.stories.d.ts +27 -0
- package/BackOffice/EmployeeStoriesData.d.ts +16 -0
- package/BackOffice/FileListControl.stories.d.ts +443 -0
- package/BackOffice/FileListControlOldStyles.stories.d.ts +214 -0
- package/BackOffice/FileListControlStoriesData.d.ts +161 -0
- package/BackOffice/FileSignListDialog.d.ts +2 -2
- package/BackOffice/GroupTaskCardSelectPerformers.stories.d.ts +55 -0
- package/BackOffice/GroupTaskCardSelectPerformersOldStyles.stories.d.ts +19 -0
- package/BackOffice/GroupTaskCardSelectPerformersStoriesData.d.ts +13 -0
- package/BackOffice/History.stories.d.ts +35 -0
- package/BackOffice/HistoryOldStyle.stories.d.ts +8 -0
- package/BackOffice/HistoryStoriesData.d.ts +45 -0
- package/BackOffice/HistoryStoriesHelpers.d.ts +4 -0
- package/BackOffice/Links.stories.d.ts +137 -0
- package/BackOffice/LinksOldStyles.stories.d.ts +59 -0
- package/BackOffice/LinksStoriesData.d.ts +60 -0
- package/BackOffice/MultipleEmployees.stories.d.ts +78 -0
- package/BackOffice/MultipleEmployeesLabel.stories.d.ts +30 -0
- package/BackOffice/MultipleEmployeesOldStyles.stories.d.ts +28 -0
- package/BackOffice/MultipleEmployeesStoriesData.d.ts +31 -0
- package/BackOffice/Numerator.stories.d.ts +93 -2
- package/BackOffice/NumeratorImpl.d.ts +1 -1
- package/BackOffice/NumeratorLabel.stories.d.ts +31 -0
- package/BackOffice/NumeratorOldStyles.stories.d.ts +27 -0
- package/BackOffice/NumeratorStoriesData.d.ts +23 -0
- package/BackOffice/PartnerBaseImpl.d.ts +5 -1
- package/BackOffice/PartnerImpl.d.ts +2 -1
- package/BackOffice/PowersImpl.d.ts +1 -1
- package/BackOffice/PrintButton.d.ts +1 -1
- package/BackOffice/StaffDirectoryDataVisualiser.d.ts +1 -0
- package/BackOffice/StaffDirectoryItems.stories.d.ts +358 -0
- package/BackOffice/StaffDirectoryItemsImpl.d.ts +1 -1
- package/BackOffice/StaffDirectoryItemsLabel.stories.d.ts +19 -0
- package/BackOffice/StaffDirectoryItemsStoriesData.d.ts +10 -0
- package/BackOffice/StaffDirectorySelectDialog.d.ts +1 -0
- package/BackOffice/StateButtons.stories.d.ts +24 -0
- package/BackOffice/StateButtonsOldStyle.stories.d.ts +7 -0
- package/BackOffice/StateButtonsStoriesData.d.ts +22 -0
- package/BackOffice/StateLabel.stories.d.ts +20 -0
- package/BackOffice/TaskListItemComponent.d.ts +1 -1
- package/BackOffice/Tasks.stories.d.ts +105 -0
- package/BackOffice/TasksStoriesData.d.ts +36 -0
- package/BackOffice/UniquenessCheck.stories.d.ts +40 -0
- package/BackOffice/UniquenessCheckStoriesData.d.ts +24 -0
- package/Generated/DocsVision.WebClient.Models.d.ts +8 -0
- package/Helpers/Breadcrumbs/Breadcrumbs.d.ts +1 -0
- package/Helpers/Breadcrumbs/BreadcrumbsView.d.ts +1 -0
- package/Helpers/Breadcrumbs/LinkView/LinkItemViewWithSeparator.d.ts +3 -1
- package/Helpers/ComboBox/ComboBoxElement.d.ts +1 -1
- package/Helpers/ComboBox/ComboBoxTitle.d.ts +1 -1
- package/Helpers/CustomTree/CustomTreeNode.d.ts +1 -1
- package/Helpers/DirectorySearchInput.d.ts +4 -1
- package/Helpers/InputMask/InputMaskView.d.ts +1 -1
- package/Helpers/InputMask/components/InputMaskField.d.ts +1 -1
- package/Helpers/LoadingIcon/LoadingIcon.d.ts +1 -0
- package/Helpers/SliderCheckBox/SliderCheckBox.d.ts +1 -1
- package/MainBundle.d.ts +2 -0
- package/Platform/ButtonPositionsSelection.d.ts +1 -1
- package/Platform/CardLinkImpl.d.ts +1 -1
- package/Platform/CommentFileImpl.d.ts +1 -1
- package/Platform/DeleteBatchOperation.stories.d.ts +49 -0
- package/Platform/DeleteBatchOperationStoriesData.d.ts +13 -0
- package/Platform/DownloadFilesBatchOperation.stories.d.ts +50 -0
- package/Platform/DownloadFilesBatchOperationStoriesData.d.ts +16 -0
- package/Platform/FilePreviewImpl.d.ts +1 -1
- package/Platform/FolderViewItemsImpl.d.ts +8 -8
- package/Platform/ListCheckbox.d.ts +1 -1
- package/Platform/MoveShortcutBatchOperation.stories.d.ts +57 -0
- package/Platform/MoveShortcutBatchOperationStoriesData.d.ts +12 -0
- package/Platform/ReadBatchBatchOperation.stories.d.ts +40 -0
- package/Platform/ReadBatchBatchOperationStoriesData.d.ts +13 -0
- package/Platform/ScanDialogService.d.ts +1 -1
- package/Platform/SearchTextInput.d.ts +1 -1
- package/Platform/SettingsPopupLogic.d.ts +1 -1
- package/Platform/TextListInputView.d.ts +2 -2
- package/System/BaseControlImpl.d.ts +1 -1
- package/System/DirectoryBaseImpl.d.ts +1 -0
- package/System/InputBasedControlImpl.d.ts +3 -2
- package/System/LocationContainerControl.d.ts +2 -1
- package/System/LocationContainerControl.stories.d.ts +18 -0
- package/System/LocationContainerControlRealoadLayoutApi.stories.d.ts +20 -0
- package/System/LocationContainerControlStoriesData.d.ts +15 -0
- package/System/ResourcesStub.d.ts +10 -0
- package/System/StringUtils.d.ts +1 -1
- package/package.json +1 -1
- package/Account/AddBackgroundMovementEffect.d.ts +0 -2
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WithNewStyleLayout } from "Storybook/StorybookUtils/Decorators/LayoutStory";
|
|
3
|
+
import { DeleteShortcutBatchOperation } from "@docsvision/webclient/BackOffice/DeleteShortcutBatchOperation";
|
|
4
|
+
import { WithCancelModalDialogOnUnmount } from "Storybook/StorybookUtils/Decorators/WithCloseModalDialog";
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: typeof DeleteShortcutBatchOperation;
|
|
8
|
+
decorators: (typeof WithNewStyleLayout)[];
|
|
9
|
+
args: {};
|
|
10
|
+
render: (args: any) => JSX.Element;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
export declare const Button: {
|
|
14
|
+
parameters: {
|
|
15
|
+
title: string;
|
|
16
|
+
};
|
|
17
|
+
args: {
|
|
18
|
+
buttonText: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export declare const DeleteShortcutConfirmation: {
|
|
22
|
+
parameters: {
|
|
23
|
+
title: string;
|
|
24
|
+
};
|
|
25
|
+
decorators: (typeof WithCancelModalDialogOnUnmount)[];
|
|
26
|
+
play: ({ canvasElement }: {
|
|
27
|
+
canvasElement: any;
|
|
28
|
+
}) => Promise<void>;
|
|
29
|
+
};
|
|
30
|
+
export declare const ProgressDialog: {
|
|
31
|
+
parameters: {
|
|
32
|
+
title: string;
|
|
33
|
+
};
|
|
34
|
+
decorators: (typeof WithCancelModalDialogOnUnmount)[];
|
|
35
|
+
play: ({ canvasElement }: {
|
|
36
|
+
canvasElement: any;
|
|
37
|
+
}) => Promise<void>;
|
|
38
|
+
};
|
|
39
|
+
export declare const ProgressDialogWithError: {
|
|
40
|
+
parameters: {
|
|
41
|
+
title: string;
|
|
42
|
+
};
|
|
43
|
+
decorators: (typeof WithCancelModalDialogOnUnmount)[];
|
|
44
|
+
play: ({ canvasElement }: {
|
|
45
|
+
canvasElement: any;
|
|
46
|
+
}) => Promise<void>;
|
|
47
|
+
render: (args: any) => JSX.Element;
|
|
48
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { $LayoutFolderController, $LayoutCardController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $CurrentFolder } from "@docsvision/webclient/Platform/$CurrentFolder";
|
|
3
|
+
import { $FolderDataLoading } from "@docsvision/webclient/Platform/$FolderDataLoading";
|
|
4
|
+
import { $FolderGrid } from "@docsvision/webclient/Platform/$FolderGrid";
|
|
5
|
+
import { $BatchOperations } from "@docsvision/webclient/Platform/$BatchOperations";
|
|
6
|
+
import { $BatchOperationsPerformer } from "@docsvision/webclient/Platform/$BatchOperationsPerformer";
|
|
7
|
+
import { $TableManagement } from "@docsvision/webclient/Platform/$TableManagement";
|
|
8
|
+
import { $TableMode } from "@docsvision/webclient/Platform/$TableMode";
|
|
9
|
+
import { $TableRowSelection } from "@docsvision/webclient/Platform/$TableRowSelection";
|
|
10
|
+
import { $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
11
|
+
export declare function getDeleteShortcutBatchOperationMockServices(): $LayoutInfo & $LayoutFolderController & $CardInfo & $LayoutCardController & $FolderDataLoading & $FolderGrid & $TableRowSelection & $BatchOperationsPerformer & $TableManagement & $TableMode & $BatchOperations & $CurrentFolder;
|
|
12
|
+
export declare function getDeleteShortcutBatchOperationMockProps(): {};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Department } from "@docsvision/webclient/BackOffice/Department";
|
|
3
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
4
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
import { WithCancelModalDialogOnUnmount } from "Storybook/StorybookUtils/Decorators/WithCloseModalDialog";
|
|
6
|
+
declare const _default: {
|
|
7
|
+
title: string;
|
|
8
|
+
component: typeof Department;
|
|
9
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
10
|
+
args: {
|
|
11
|
+
placeHolder: string;
|
|
12
|
+
value: {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
fullName: string;
|
|
16
|
+
departmentType: number;
|
|
17
|
+
dataType: number;
|
|
18
|
+
};
|
|
19
|
+
labelText: string;
|
|
20
|
+
source: number;
|
|
21
|
+
controlTypeName: string;
|
|
22
|
+
};
|
|
23
|
+
render: (args: any) => JSX.Element;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
export declare const EditEmpty: {
|
|
27
|
+
parameters: {
|
|
28
|
+
title: string;
|
|
29
|
+
};
|
|
30
|
+
args: {
|
|
31
|
+
value: any;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const EditValue: {
|
|
35
|
+
parameters: {
|
|
36
|
+
title: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const EditFocus: {
|
|
40
|
+
parameters: {
|
|
41
|
+
title: string;
|
|
42
|
+
};
|
|
43
|
+
play: ({ canvasElement }: {
|
|
44
|
+
canvasElement: any;
|
|
45
|
+
}) => Promise<void>;
|
|
46
|
+
};
|
|
47
|
+
export declare const SelectDialogInitial: {
|
|
48
|
+
parameters: {
|
|
49
|
+
title: string;
|
|
50
|
+
};
|
|
51
|
+
decorators: (typeof WithCancelModalDialogOnUnmount)[];
|
|
52
|
+
args: {
|
|
53
|
+
value: any;
|
|
54
|
+
};
|
|
55
|
+
play: ({ canvasElement }: {
|
|
56
|
+
canvasElement: any;
|
|
57
|
+
}) => Promise<void>;
|
|
58
|
+
};
|
|
59
|
+
export declare const SelectDialogSearchTree: {
|
|
60
|
+
parameters: {
|
|
61
|
+
title: string;
|
|
62
|
+
};
|
|
63
|
+
decorators: (typeof WithCancelModalDialogOnUnmount)[];
|
|
64
|
+
args: {
|
|
65
|
+
value: any;
|
|
66
|
+
};
|
|
67
|
+
play: ({ canvasElement }: {
|
|
68
|
+
canvasElement: any;
|
|
69
|
+
}) => Promise<void>;
|
|
70
|
+
};
|
|
71
|
+
export declare const SelectDialogSearchFlat: {
|
|
72
|
+
parameters: {
|
|
73
|
+
title: string;
|
|
74
|
+
};
|
|
75
|
+
decorators: (typeof WithCancelModalDialogOnUnmount)[];
|
|
76
|
+
args: {
|
|
77
|
+
value: any;
|
|
78
|
+
dialogMode: GenModels.DepartmentDialogMode;
|
|
79
|
+
};
|
|
80
|
+
play: ({ canvasElement }: {
|
|
81
|
+
canvasElement: any;
|
|
82
|
+
}) => Promise<void>;
|
|
83
|
+
};
|
|
84
|
+
export declare const SelectDialogSearchTreeEmpty: {
|
|
85
|
+
parameters: {
|
|
86
|
+
title: string;
|
|
87
|
+
};
|
|
88
|
+
decorators: (typeof WithCancelModalDialogOnUnmount)[];
|
|
89
|
+
play: ({ canvasElement }: {
|
|
90
|
+
canvasElement: any;
|
|
91
|
+
}) => Promise<void>;
|
|
92
|
+
render: (args: any) => JSX.Element;
|
|
93
|
+
};
|
|
94
|
+
export declare const SelectDialogSearchFlatEmpty: {
|
|
95
|
+
parameters: {
|
|
96
|
+
title: string;
|
|
97
|
+
};
|
|
98
|
+
decorators: (typeof WithCancelModalDialogOnUnmount)[];
|
|
99
|
+
args: {
|
|
100
|
+
dialogMode: GenModels.DepartmentDialogMode;
|
|
101
|
+
};
|
|
102
|
+
play: ({ canvasElement }: {
|
|
103
|
+
canvasElement: any;
|
|
104
|
+
}) => Promise<void>;
|
|
105
|
+
render: (args: any) => JSX.Element;
|
|
106
|
+
};
|
|
107
|
+
export declare const Typeahead: {
|
|
108
|
+
parameters: {
|
|
109
|
+
title: string;
|
|
110
|
+
};
|
|
111
|
+
args: {
|
|
112
|
+
value: any;
|
|
113
|
+
};
|
|
114
|
+
play: ({ canvasElement }: {
|
|
115
|
+
canvasElement: any;
|
|
116
|
+
}) => Promise<void>;
|
|
117
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Department } from "@docsvision/webclient/BackOffice/Department";
|
|
2
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Department;
|
|
6
|
+
args: {
|
|
7
|
+
labelText: string;
|
|
8
|
+
getValue: ({ single }: {
|
|
9
|
+
single: any;
|
|
10
|
+
}) => {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
fullName: string;
|
|
14
|
+
departmentType: number;
|
|
15
|
+
dataType: number;
|
|
16
|
+
};
|
|
17
|
+
component: typeof Department;
|
|
18
|
+
placeHolder: string;
|
|
19
|
+
value: {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
fullName: string;
|
|
23
|
+
departmentType: number;
|
|
24
|
+
dataType: number;
|
|
25
|
+
};
|
|
26
|
+
source: number;
|
|
27
|
+
controlTypeName: string;
|
|
28
|
+
};
|
|
29
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
32
|
+
export * from "../../../../../Storybook/StorybookUtils/LabeledTextUtils/Template/LabeledSingleValueTemplate";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Department } from "@docsvision/webclient/BackOffice/Department";
|
|
3
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof Department;
|
|
7
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
8
|
+
args: {
|
|
9
|
+
placeHolder: string;
|
|
10
|
+
value: {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
fullName: string;
|
|
14
|
+
departmentType: number;
|
|
15
|
+
dataType: number;
|
|
16
|
+
};
|
|
17
|
+
labelText: string;
|
|
18
|
+
source: number;
|
|
19
|
+
controlTypeName: string;
|
|
20
|
+
};
|
|
21
|
+
render: (args: any) => JSX.Element;
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
export * from "App/BackOffice/Controls/Department/Stories/Department.stories";
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { $LayoutStaffController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
3
|
+
import { $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
4
|
+
export declare function getDepartmentMockServices(): $LayoutStaffController & $EditOperationStore & $LayoutInfo & $DeviceType;
|
|
5
|
+
export declare function getDepartmentMockProps(): {
|
|
6
|
+
placeHolder: string;
|
|
7
|
+
value: {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
fullName: string;
|
|
11
|
+
departmentType: number;
|
|
12
|
+
dataType: number;
|
|
13
|
+
};
|
|
14
|
+
labelText: string;
|
|
15
|
+
source: number;
|
|
16
|
+
controlTypeName: string;
|
|
17
|
+
};
|
|
18
|
+
export declare function getDepartmentMockValue(): {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
fullName: string;
|
|
22
|
+
departmentType: number;
|
|
23
|
+
dataType: number;
|
|
24
|
+
};
|
|
25
|
+
export declare function getDepartmentMockSearchItems(): {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
fullName: string;
|
|
29
|
+
departmentType: number;
|
|
30
|
+
dataType: number;
|
|
31
|
+
}[];
|
|
32
|
+
export declare function getDepartmentMockTreeSearchResult(): {
|
|
33
|
+
id: string;
|
|
34
|
+
name: string;
|
|
35
|
+
fullName: string;
|
|
36
|
+
departmentType: number;
|
|
37
|
+
dataType: number;
|
|
38
|
+
matched: boolean;
|
|
39
|
+
matchedFieldName: string;
|
|
40
|
+
matchedFieldValue: string;
|
|
41
|
+
inn: string;
|
|
42
|
+
hasChildren: boolean;
|
|
43
|
+
childrenLoaded: boolean;
|
|
44
|
+
notAvailable: boolean;
|
|
45
|
+
children: {
|
|
46
|
+
id: string;
|
|
47
|
+
name: string;
|
|
48
|
+
fullName: string;
|
|
49
|
+
departmentType: number;
|
|
50
|
+
dataType: number;
|
|
51
|
+
inn: string;
|
|
52
|
+
hasChildren: boolean;
|
|
53
|
+
childrenLoaded: boolean;
|
|
54
|
+
notAvailable: boolean;
|
|
55
|
+
children: any[];
|
|
56
|
+
}[];
|
|
57
|
+
}[];
|
|
58
|
+
export declare function getDepartmentMockFlatSearchResult(): {
|
|
59
|
+
data: {
|
|
60
|
+
id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
fullName: string;
|
|
63
|
+
departmentType: number;
|
|
64
|
+
dataType: number;
|
|
65
|
+
inn: string;
|
|
66
|
+
hasChildren: boolean;
|
|
67
|
+
childrenLoaded: boolean;
|
|
68
|
+
notAvailable: boolean;
|
|
69
|
+
children: {
|
|
70
|
+
id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
fullName: string;
|
|
73
|
+
departmentType: number;
|
|
74
|
+
dataType: number;
|
|
75
|
+
inn: string;
|
|
76
|
+
hasChildren: boolean;
|
|
77
|
+
childrenLoaded: boolean;
|
|
78
|
+
notAvailable: boolean;
|
|
79
|
+
children: any[];
|
|
80
|
+
}[];
|
|
81
|
+
};
|
|
82
|
+
searchInfo: {
|
|
83
|
+
matched: boolean;
|
|
84
|
+
matchedFieldName: string;
|
|
85
|
+
matchedFieldValue: string;
|
|
86
|
+
};
|
|
87
|
+
path: any[];
|
|
88
|
+
}[];
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DirectoryDesignerRow } from "@docsvision/webclient/BackOffice/DirectoryDesignerRow";
|
|
3
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
4
|
+
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
5
|
+
import { WithCloseModalDialogOnUnmount } from "Storybook/StorybookUtils/Decorators/WithCloseModalDialog";
|
|
6
|
+
declare const _default: {
|
|
7
|
+
title: string;
|
|
8
|
+
component: typeof DirectoryDesignerRow;
|
|
9
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
10
|
+
args: {
|
|
11
|
+
placeHolder: string;
|
|
12
|
+
value: unknown;
|
|
13
|
+
selectedValue: unknown;
|
|
14
|
+
itemType: string;
|
|
15
|
+
useDescription: boolean;
|
|
16
|
+
};
|
|
17
|
+
render: (args: any) => JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
export declare const EditEmpty: {
|
|
21
|
+
parameters: {
|
|
22
|
+
title: string;
|
|
23
|
+
};
|
|
24
|
+
args: {
|
|
25
|
+
value: any;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export declare const EditValue: {
|
|
29
|
+
parameters: {
|
|
30
|
+
title: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export declare const EditFocus: {
|
|
34
|
+
parameters: {
|
|
35
|
+
title: string;
|
|
36
|
+
};
|
|
37
|
+
play: ({ canvasElement }: {
|
|
38
|
+
canvasElement: any;
|
|
39
|
+
}) => Promise<void>;
|
|
40
|
+
};
|
|
41
|
+
export declare const SelectDialogSearch: {
|
|
42
|
+
parameters: {
|
|
43
|
+
title: string;
|
|
44
|
+
};
|
|
45
|
+
decorators: (typeof WithCloseModalDialogOnUnmount)[];
|
|
46
|
+
play: ({ canvasElement }: {
|
|
47
|
+
canvasElement: any;
|
|
48
|
+
}) => Promise<void>;
|
|
49
|
+
};
|
|
50
|
+
export declare const AvailableChange: {
|
|
51
|
+
parameters: {
|
|
52
|
+
title: string;
|
|
53
|
+
};
|
|
54
|
+
args: {
|
|
55
|
+
availableChanges: GenModels.AvailableChangesModes;
|
|
56
|
+
};
|
|
57
|
+
play: ({ canvasElement }: {
|
|
58
|
+
canvasElement: any;
|
|
59
|
+
}) => Promise<void>;
|
|
60
|
+
};
|
|
61
|
+
export declare const WithDescription: {
|
|
62
|
+
parameters: {
|
|
63
|
+
title: string;
|
|
64
|
+
};
|
|
65
|
+
args: {
|
|
66
|
+
useDescription: boolean;
|
|
67
|
+
};
|
|
68
|
+
play: ({ canvasElement }: {
|
|
69
|
+
canvasElement: any;
|
|
70
|
+
}) => Promise<void>;
|
|
71
|
+
};
|
|
72
|
+
export declare const EmptySearchResults: {
|
|
73
|
+
parameters: {
|
|
74
|
+
title: string;
|
|
75
|
+
};
|
|
76
|
+
decorators: (typeof WithCloseModalDialogOnUnmount)[];
|
|
77
|
+
play: ({ canvasElement }: {
|
|
78
|
+
canvasElement: any;
|
|
79
|
+
}) => Promise<void>;
|
|
80
|
+
render: (args: any) => JSX.Element;
|
|
81
|
+
};
|
|
82
|
+
export declare const Typeahead: {
|
|
83
|
+
parameters: {
|
|
84
|
+
title: string;
|
|
85
|
+
};
|
|
86
|
+
args: {
|
|
87
|
+
value: any;
|
|
88
|
+
};
|
|
89
|
+
play: ({ canvasElement }: {
|
|
90
|
+
canvasElement: any;
|
|
91
|
+
}) => Promise<void>;
|
|
92
|
+
};
|
|
@@ -25,7 +25,6 @@ export declare type DirectoryDesignerRowImplState = DirectoryDesignerRowState;
|
|
|
25
25
|
declare type ItemT = GenModels.DirectoryDesignerItem;
|
|
26
26
|
/** @internal */
|
|
27
27
|
export declare class DirectoryDesignerRowImpl extends DirectoryBaseImpl<DirectoryDesignerRowValueType, DirectoryDesignerRowNodeType, ItemT, DirectoryDesignerRowParams, DirectoryDesignerRowState> {
|
|
28
|
-
private initialSetValue;
|
|
29
28
|
constructor(props: DirectoryDesignerRowParams, state: DirectoryDesignerRowState);
|
|
30
29
|
protected renderSelectDialog(props: IDirectorySelectDialogProps<DirectoryDesignerRowValueType, DirectoryDesignerRowNodeType, GenModels.IDirectoryItemData> & {
|
|
31
30
|
ref: any;
|
|
@@ -35,6 +34,7 @@ export declare class DirectoryDesignerRowImpl extends DirectoryBaseImpl<Director
|
|
|
35
34
|
protected getValuePath(value: GenModels.DirectoryDesignerItem): GenModels.DirectoryDesignerItem[];
|
|
36
35
|
private saveValueOnChange;
|
|
37
36
|
protected getSelectingMode(): DirectorySelectingMode;
|
|
37
|
+
UNSAFE_componentWillMount(): void;
|
|
38
38
|
componentWillUnmount(): void;
|
|
39
39
|
componentDidMount(): void;
|
|
40
40
|
static FirstPageSize: number;
|
|
@@ -48,7 +48,8 @@ import("D:/BuildAgent/work/90220ba22ade039/Bin/TypeScriptDefinitions/System/Cont
|
|
|
48
48
|
canShowDictionary(): boolean;
|
|
49
49
|
protected onInputKeyDown(ev: React.KeyboardEvent<HTMLInputElement>): void;
|
|
50
50
|
getValueAsString(value: ItemT | ItemT[]): string;
|
|
51
|
-
protected
|
|
51
|
+
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
52
|
+
protected onDirectoryDialogSelectButtonClick(): Promise<void>;
|
|
52
53
|
setValue(value: GenModels.DirectoryDesignerItem, redraw: boolean): void;
|
|
53
54
|
private saveCard;
|
|
54
55
|
private shouldSaveCardWithEditInPlaceValue;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DirectoryDesignerRow } from "@docsvision/webclient/BackOffice/DirectoryDesignerRow";
|
|
2
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof DirectoryDesignerRow;
|
|
6
|
+
args: {
|
|
7
|
+
labelText: string;
|
|
8
|
+
getValue: ({ single }: {
|
|
9
|
+
single: any;
|
|
10
|
+
}) => unknown;
|
|
11
|
+
component: typeof DirectoryDesignerRow;
|
|
12
|
+
placeHolder: string;
|
|
13
|
+
value: unknown;
|
|
14
|
+
selectedValue: unknown;
|
|
15
|
+
itemType: string;
|
|
16
|
+
useDescription: boolean;
|
|
17
|
+
};
|
|
18
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
21
|
+
export * from "../../../../../Storybook/StorybookUtils/LabeledTextUtils/Template/LabeledSingleValueTemplate";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DirectoryDesignerRow } from "@docsvision/webclient/BackOffice/DirectoryDesignerRow";
|
|
3
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof DirectoryDesignerRow;
|
|
7
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
8
|
+
args: {
|
|
9
|
+
placeHolder: string;
|
|
10
|
+
value: unknown;
|
|
11
|
+
selectedValue: unknown;
|
|
12
|
+
itemType: string;
|
|
13
|
+
useDescription: boolean;
|
|
14
|
+
};
|
|
15
|
+
render: (args: any) => JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
export * from "App/BackOffice/Controls/DirectoryDesignerRow/Stories/DirectoryDesignerRow.stories";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { $DirectoryDesignerRowController, $LayoutController, $LayoutRowController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
3
|
+
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
4
|
+
import { $CurrentLocation, $EditOperationStore, $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
5
|
+
import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
|
|
6
|
+
export declare function getDirectoryDesignerRowMockServices(): $DirectoryDesignerRowController & $LayoutRowController & $EditOperationStore & $LayoutInfo & $LayoutController & $LayoutManager & $CurrentLocation & $Layout & $DeviceType;
|
|
7
|
+
export declare function getDirectoryDesignerRowMockProps(): {
|
|
8
|
+
placeHolder: string;
|
|
9
|
+
value: unknown;
|
|
10
|
+
selectedValue: unknown;
|
|
11
|
+
itemType: string;
|
|
12
|
+
useDescription: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare function getDirectoryDesignerRowMockItems(): unknown[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WithNewStyleLayout } from "Storybook/StorybookUtils/Decorators/LayoutStory";
|
|
3
|
+
import { DisplayInitiator } from "@docsvision/webclient/BackOffice/DisplayInitiator";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof DisplayInitiator;
|
|
7
|
+
decorators: (typeof WithNewStyleLayout)[];
|
|
8
|
+
args: {
|
|
9
|
+
value: {
|
|
10
|
+
id: string;
|
|
11
|
+
isCurrent: boolean;
|
|
12
|
+
displayName: string;
|
|
13
|
+
firstName: string;
|
|
14
|
+
lastName: string;
|
|
15
|
+
middleName: any;
|
|
16
|
+
position: any;
|
|
17
|
+
fieldPath: string;
|
|
18
|
+
unitId: string;
|
|
19
|
+
pathInDirectory: any;
|
|
20
|
+
dataType: number;
|
|
21
|
+
status: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
render: (args: any) => JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
export declare const Default: {
|
|
28
|
+
parameters: {
|
|
29
|
+
title: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { DisplayInitiator } from "@docsvision/webclient/BackOffice/DisplayInitiator";
|
|
2
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
3
|
+
import { AlignmentRight_ViewMode, CutValue_ViewMode, LabelWidthBlock_AlignmentRight_ViewMode, EmptyValue_EditInPlace_LabelWithoutValue, LabelWidthBlock_CutValue_ViewMode, LabelWidthBlock_WideBlock_ViewMode, LabelWidthBlock_WrapUnderLabelProperty_ViewMode, NarrowBlock_ViewMode, WideBlock_ViewMode, WrapUnderLabelProperty_ViewMode } from "Storybook/StorybookUtils/LabeledTextUtils/Template/LabeledSingleValueTemplate";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof DisplayInitiator;
|
|
7
|
+
args: {
|
|
8
|
+
labelText: string;
|
|
9
|
+
getValue: ({ single }: {
|
|
10
|
+
single: any;
|
|
11
|
+
}) => {
|
|
12
|
+
id: string;
|
|
13
|
+
isCurrent: boolean;
|
|
14
|
+
displayName: string;
|
|
15
|
+
firstName: string;
|
|
16
|
+
lastName: string;
|
|
17
|
+
middleName: any;
|
|
18
|
+
position: any;
|
|
19
|
+
fieldPath: string;
|
|
20
|
+
unitId: string;
|
|
21
|
+
pathInDirectory: any;
|
|
22
|
+
dataType: number;
|
|
23
|
+
status: number;
|
|
24
|
+
};
|
|
25
|
+
component: typeof DisplayInitiator;
|
|
26
|
+
value: {
|
|
27
|
+
id: string;
|
|
28
|
+
isCurrent: boolean;
|
|
29
|
+
displayName: string;
|
|
30
|
+
firstName: string;
|
|
31
|
+
lastName: string;
|
|
32
|
+
middleName: any;
|
|
33
|
+
position: any;
|
|
34
|
+
fieldPath: string;
|
|
35
|
+
unitId: string;
|
|
36
|
+
pathInDirectory: any;
|
|
37
|
+
dataType: number;
|
|
38
|
+
status: number;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
42
|
+
};
|
|
43
|
+
export default _default;
|
|
44
|
+
export { WideBlock_ViewMode, NarrowBlock_ViewMode, CutValue_ViewMode, WrapUnderLabelProperty_ViewMode, AlignmentRight_ViewMode, EmptyValue_EditInPlace_LabelWithoutValue, LabelWidthBlock_WideBlock_ViewMode, LabelWidthBlock_CutValue_ViewMode, LabelWidthBlock_WrapUnderLabelProperty_ViewMode, LabelWidthBlock_AlignmentRight_ViewMode };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { $DeviceType } from "@docsvision/webclient/StandardServices";
|
|
2
|
+
import { $LayoutInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
3
|
+
import { $LabelWidth } from "@docsvision/webclient/System/$LabelWidth";
|
|
4
|
+
export declare function getDisplayInitiatorMockServices(): $LayoutInfo & $LabelWidth & $DeviceType;
|
|
5
|
+
export declare function getDisplayInitiatorMockProps(): {
|
|
6
|
+
value: {
|
|
7
|
+
id: string;
|
|
8
|
+
isCurrent: boolean;
|
|
9
|
+
displayName: string;
|
|
10
|
+
firstName: string;
|
|
11
|
+
lastName: string;
|
|
12
|
+
middleName: any;
|
|
13
|
+
position: any;
|
|
14
|
+
fieldPath: string;
|
|
15
|
+
unitId: string;
|
|
16
|
+
pathInDirectory: any;
|
|
17
|
+
dataType: number;
|
|
18
|
+
status: number;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export declare function getDisplayInitiatorMockValue(): {
|
|
22
|
+
id: string;
|
|
23
|
+
isCurrent: boolean;
|
|
24
|
+
displayName: string;
|
|
25
|
+
firstName: string;
|
|
26
|
+
lastName: string;
|
|
27
|
+
middleName: any;
|
|
28
|
+
position: any;
|
|
29
|
+
fieldPath: string;
|
|
30
|
+
unitId: string;
|
|
31
|
+
pathInDirectory: any;
|
|
32
|
+
dataType: number;
|
|
33
|
+
status: number;
|
|
34
|
+
};
|