@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,78 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WithNewStyleLayout } from "Storybook/StorybookUtils/Decorators/LayoutStory";
|
|
3
|
+
import { WithNarrowBlock } from "Storybook/StorybookUtils/Decorators/BlockStory";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
decorators: (typeof WithNewStyleLayout)[];
|
|
7
|
+
args: {
|
|
8
|
+
value: {
|
|
9
|
+
id: string;
|
|
10
|
+
isCurrent: boolean;
|
|
11
|
+
displayName: string;
|
|
12
|
+
firstName: string;
|
|
13
|
+
lastName: string;
|
|
14
|
+
middleName: any;
|
|
15
|
+
position: any;
|
|
16
|
+
fieldPath: string;
|
|
17
|
+
unitId: string;
|
|
18
|
+
pathInDirectory: any;
|
|
19
|
+
dataType: number;
|
|
20
|
+
status: number;
|
|
21
|
+
}[];
|
|
22
|
+
displayIcon: boolean;
|
|
23
|
+
};
|
|
24
|
+
render: (args: any) => JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
export declare const EditModeWithValue: {
|
|
28
|
+
parameters: {
|
|
29
|
+
title: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export declare const EditModeNarrowBlock: {
|
|
33
|
+
parameters: {
|
|
34
|
+
title: string;
|
|
35
|
+
};
|
|
36
|
+
decorators: (typeof WithNarrowBlock)[];
|
|
37
|
+
};
|
|
38
|
+
export declare const EmptyVariantsPopover: {
|
|
39
|
+
parameters: {
|
|
40
|
+
title: string;
|
|
41
|
+
};
|
|
42
|
+
play: ({ canvasElement }: {
|
|
43
|
+
canvasElement: any;
|
|
44
|
+
}) => Promise<void>;
|
|
45
|
+
};
|
|
46
|
+
export declare const VariantsPopover: {
|
|
47
|
+
parameters: {
|
|
48
|
+
title: string;
|
|
49
|
+
};
|
|
50
|
+
play: ({ canvasElement }: {
|
|
51
|
+
canvasElement: any;
|
|
52
|
+
}) => Promise<void>;
|
|
53
|
+
};
|
|
54
|
+
export declare const LoadingVariants: {
|
|
55
|
+
parameters: {
|
|
56
|
+
title: string;
|
|
57
|
+
};
|
|
58
|
+
play: ({ canvasElement }: {
|
|
59
|
+
canvasElement: any;
|
|
60
|
+
}) => void;
|
|
61
|
+
render: (args: any) => JSX.Element;
|
|
62
|
+
};
|
|
63
|
+
export declare const ItemHover: {
|
|
64
|
+
parameters: {
|
|
65
|
+
title: string;
|
|
66
|
+
};
|
|
67
|
+
play: ({ canvasElement }: {
|
|
68
|
+
canvasElement: any;
|
|
69
|
+
}) => Promise<void>;
|
|
70
|
+
};
|
|
71
|
+
export declare const ClearButtonHover: {
|
|
72
|
+
parameters: {
|
|
73
|
+
title: string;
|
|
74
|
+
};
|
|
75
|
+
play: ({ canvasElement }: {
|
|
76
|
+
canvasElement: any;
|
|
77
|
+
}) => Promise<void>;
|
|
78
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { WithNewStyleLayout } from "Storybook/StorybookUtils/Decorators/LayoutStory";
|
|
2
|
+
import { MultipleEmployees } from "@docsvision/webclient/BackOffice/MultipleEmployees";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof MultipleEmployees;
|
|
6
|
+
args: {
|
|
7
|
+
labelText: string;
|
|
8
|
+
placeHolder: 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 MultipleEmployees;
|
|
26
|
+
};
|
|
27
|
+
decorators: (typeof WithNewStyleLayout)[];
|
|
28
|
+
};
|
|
29
|
+
export default _default;
|
|
30
|
+
export * from "../../../../../../Storybook/StorybookUtils/LabeledTextUtils/Template/LabeledMultipleValueTemplate";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MultipleEmployees } from "@docsvision/webclient/BackOffice/MultipleEmployees";
|
|
3
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof MultipleEmployees;
|
|
7
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
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
|
+
displayIcon: boolean;
|
|
24
|
+
};
|
|
25
|
+
render: (args: any) => JSX.Element;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
export * from "App/BackOffice/Controls/Employee/MultipleEmployees/Stories/MultipleEmployees.stories";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare function getMultipleEmployeesMockServices():
|
|
2
|
+
import("D:/BuildAgent/work/90220ba22ade039/Bin/TypeScriptDefinitions/@docsvision/Employee/Employee").$EmployeeServices;
|
|
3
|
+
export declare function getMultipleEmployeesMockValue(): {
|
|
4
|
+
id: string;
|
|
5
|
+
isCurrent: boolean;
|
|
6
|
+
displayName: string;
|
|
7
|
+
firstName: string;
|
|
8
|
+
lastName: string;
|
|
9
|
+
middleName: any;
|
|
10
|
+
position: any;
|
|
11
|
+
fieldPath: string;
|
|
12
|
+
unitId: string;
|
|
13
|
+
pathInDirectory: any;
|
|
14
|
+
dataType: number;
|
|
15
|
+
status: number;
|
|
16
|
+
}[];
|
|
17
|
+
export declare function getMultipleEmployeesMockFindItems(): {
|
|
18
|
+
employeeId: string;
|
|
19
|
+
displayName: string;
|
|
20
|
+
firstName: string;
|
|
21
|
+
lastName: string;
|
|
22
|
+
email: string;
|
|
23
|
+
position: any;
|
|
24
|
+
unit: {
|
|
25
|
+
unitId: string;
|
|
26
|
+
unitName: string;
|
|
27
|
+
};
|
|
28
|
+
accountName: string;
|
|
29
|
+
deputyDisplayName: string;
|
|
30
|
+
isFavoritePerformer: boolean;
|
|
31
|
+
}[];
|
|
@@ -1,8 +1,99 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Numerator } from
|
|
2
|
+
import { Numerator } from "@docsvision/webclient/BackOffice/Numerator";
|
|
3
|
+
import { EditMode } from "@docsvision/webclient/System/EditMode";
|
|
4
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
3
5
|
declare const _default: {
|
|
4
6
|
title: string;
|
|
5
7
|
component: typeof Numerator;
|
|
8
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
9
|
+
args: {
|
|
10
|
+
value: {
|
|
11
|
+
id: string;
|
|
12
|
+
number: string;
|
|
13
|
+
bindingInfo: {
|
|
14
|
+
dataSourceResolverId: string;
|
|
15
|
+
sectionId: string;
|
|
16
|
+
fieldAlias: string;
|
|
17
|
+
propertyName: string;
|
|
18
|
+
editOperation: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
generationRule: string;
|
|
22
|
+
parent: any;
|
|
23
|
+
placeHolder: string;
|
|
24
|
+
allowManualEdit: boolean;
|
|
25
|
+
showEmptyLabel: boolean;
|
|
26
|
+
};
|
|
27
|
+
render: (args: any) => JSX.Element;
|
|
6
28
|
};
|
|
7
29
|
export default _default;
|
|
8
|
-
export declare const
|
|
30
|
+
export declare const EditModeEmpty: {
|
|
31
|
+
parameters: {
|
|
32
|
+
title: string;
|
|
33
|
+
};
|
|
34
|
+
args: {
|
|
35
|
+
value: any;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare const EditModeValue: {
|
|
39
|
+
parameters: {
|
|
40
|
+
title: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const EditModeActive: {
|
|
44
|
+
parameters: {
|
|
45
|
+
title: string;
|
|
46
|
+
};
|
|
47
|
+
play: ({ canvasElement }: {
|
|
48
|
+
canvasElement: any;
|
|
49
|
+
}) => Promise<void>;
|
|
50
|
+
};
|
|
51
|
+
export declare const EditInPlaceModeEmpty: {
|
|
52
|
+
parameters: {
|
|
53
|
+
title: string;
|
|
54
|
+
};
|
|
55
|
+
args: {
|
|
56
|
+
value: any;
|
|
57
|
+
editMode: EditMode;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export declare const EditInPlaceModeValue: {
|
|
61
|
+
parameters: {
|
|
62
|
+
title: string;
|
|
63
|
+
};
|
|
64
|
+
args: {
|
|
65
|
+
editMode: EditMode;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export declare const EditInPlaceModeActive: {
|
|
69
|
+
parameters: {
|
|
70
|
+
title: string;
|
|
71
|
+
};
|
|
72
|
+
play: ({ canvasElement }: {
|
|
73
|
+
canvasElement: any;
|
|
74
|
+
}) => Promise<void>;
|
|
75
|
+
args: {
|
|
76
|
+
editMode: EditMode;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export declare const EditInPlaceEditForbidden: {
|
|
80
|
+
parameters: {
|
|
81
|
+
title: string;
|
|
82
|
+
};
|
|
83
|
+
play: ({ canvasElement }: {
|
|
84
|
+
canvasElement: any;
|
|
85
|
+
}) => Promise<void>;
|
|
86
|
+
args: {
|
|
87
|
+
editMode: EditMode;
|
|
88
|
+
allowManualEdit: boolean;
|
|
89
|
+
value: any;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
export declare const ViewModeValue: {
|
|
93
|
+
parameters: {
|
|
94
|
+
title: string;
|
|
95
|
+
};
|
|
96
|
+
args: {
|
|
97
|
+
editMode: EditMode;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
@@ -24,7 +24,7 @@ export declare class NumeratorImpl extends InputBasedControlImpl<INumberInfo, Nu
|
|
|
24
24
|
constructor(props: NumeratorParams, state: NumeratorState);
|
|
25
25
|
generateNewNumberEx(saveToTheCard?: boolean, saveCardBefore?: boolean): Promise<INumberInfo>;
|
|
26
26
|
generateNewNumber(saveToTheCard: boolean, prepareAction: () => Promise<any>): Promise<INumberInfo>;
|
|
27
|
-
getTabIndexForButtons():
|
|
27
|
+
getTabIndexForButtons(): 0 | -1;
|
|
28
28
|
onSaved(): Promise<any>;
|
|
29
29
|
componentDidMount(): void;
|
|
30
30
|
protected getTextValue(): string;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Numerator } from "@docsvision/webclient/BackOffice/Numerator";
|
|
2
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Numerator;
|
|
6
|
+
args: {
|
|
7
|
+
labelText: string;
|
|
8
|
+
getValue: ({ single }: {
|
|
9
|
+
single: any;
|
|
10
|
+
}) => {
|
|
11
|
+
id: string;
|
|
12
|
+
number: string;
|
|
13
|
+
bindingInfo: {
|
|
14
|
+
dataSourceResolverId: string;
|
|
15
|
+
sectionId: string;
|
|
16
|
+
fieldAlias: string;
|
|
17
|
+
propertyName: string;
|
|
18
|
+
editOperation: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
component: typeof Numerator;
|
|
22
|
+
generationRule: string;
|
|
23
|
+
parent: any;
|
|
24
|
+
placeHolder: string;
|
|
25
|
+
allowManualEdit: boolean;
|
|
26
|
+
showEmptyLabel: boolean;
|
|
27
|
+
};
|
|
28
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
31
|
+
export * from "../../../../../Storybook/StorybookUtils/LabeledTextUtils/Template/LabeledSingleValueTemplate";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Numerator } from "@docsvision/webclient/BackOffice/Numerator";
|
|
2
|
+
import { WithMainStoryLayout } from "Storybook/StorybookUtils/Decorators/CommonStory";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Numerator;
|
|
6
|
+
decorators: (typeof WithMainStoryLayout)[];
|
|
7
|
+
args: {
|
|
8
|
+
value: {
|
|
9
|
+
id: string;
|
|
10
|
+
number: string;
|
|
11
|
+
bindingInfo: {
|
|
12
|
+
dataSourceResolverId: string;
|
|
13
|
+
sectionId: string;
|
|
14
|
+
fieldAlias: string;
|
|
15
|
+
propertyName: string;
|
|
16
|
+
editOperation: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
generationRule: string;
|
|
20
|
+
parent: any;
|
|
21
|
+
placeHolder: string;
|
|
22
|
+
allowManualEdit: boolean;
|
|
23
|
+
showEmptyLabel: boolean;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
export * from "App/BackOffice/Controls/Numerator/Stories/Numerator.stories";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { $LayoutDocumentController } from "@docsvision/webclient/Generated/DocsVision.WebClient.Controllers";
|
|
2
|
+
import { $Layout } from "@docsvision/webclient/System/$Layout";
|
|
3
|
+
import { $EditOperationStore, $LayoutInfo, $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
4
|
+
import { $LabelWidth } from "@docsvision/webclient/System/$LabelWidth";
|
|
5
|
+
export declare function getNumeratorMockServices(): $LayoutDocumentController & $LabelWidth & $EditOperationStore & $Layout & $LayoutInfo & $CardInfo;
|
|
6
|
+
export declare function getNumeratorMockProps(): {
|
|
7
|
+
generationRule: string;
|
|
8
|
+
parent: any;
|
|
9
|
+
placeHolder: string;
|
|
10
|
+
allowManualEdit: boolean;
|
|
11
|
+
showEmptyLabel: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare function getNumeratorMockValue(): {
|
|
14
|
+
id: string;
|
|
15
|
+
number: string;
|
|
16
|
+
bindingInfo: {
|
|
17
|
+
dataSourceResolverId: string;
|
|
18
|
+
sectionId: string;
|
|
19
|
+
fieldAlias: string;
|
|
20
|
+
propertyName: string;
|
|
21
|
+
editOperation: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -21,6 +21,7 @@ export interface PartnerBaseState<T> extends PartnerBaseParams<T>, InputBasedCon
|
|
|
21
21
|
employeeVisualiser: EmployeeVisualizer;
|
|
22
22
|
itemVisualiser: PartnerDirectoryItemVisualiser;
|
|
23
23
|
typeahead: Typeahead;
|
|
24
|
+
oldValue: T;
|
|
24
25
|
beforeModalSelectedFilterPath: GenModels.DepartmentModel[];
|
|
25
26
|
/** Путь для элемента из поиска, отличается от selectedFilterPath тем, что применяется только при закрытии PartnerSelectDialog */
|
|
26
27
|
searchFilterPath: GenModels.DepartmentModel[];
|
|
@@ -36,11 +37,15 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
36
37
|
private modalHost;
|
|
37
38
|
private dictionaryHost;
|
|
38
39
|
constructor(props: ParamsT, state: StateT);
|
|
40
|
+
UNSAFE_componentWillMount(): void;
|
|
39
41
|
componentDidMount(): void;
|
|
40
42
|
componentWillUnmount(): void;
|
|
41
43
|
componentDidUpdate(): void;
|
|
42
44
|
setValue(value: T, redraw: boolean): void;
|
|
45
|
+
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
46
|
+
protected onInputChange(event: any): void;
|
|
43
47
|
setValueInternal(value: T): void;
|
|
48
|
+
private saveValueOnChange;
|
|
44
49
|
private saveCard;
|
|
45
50
|
private shouldSaveCardWithEditInPlaceValue;
|
|
46
51
|
private isLayoutViewMode;
|
|
@@ -70,7 +75,6 @@ export declare abstract class PartnerBaseImpl<T extends GenModels.DepartmentMode
|
|
|
70
75
|
setSelectedFilterPath(newValue: GenModels.DepartmentModel[]): Promise<unknown>;
|
|
71
76
|
setSearchFilterPath: (newValue: GenModels.DepartmentModel[]) => void;
|
|
72
77
|
setPredefinedFilter(newValue: GenModels.DepartmentModel): Promise<IPartnerFilterChangeEventArgs>;
|
|
73
|
-
protected onInputChange(event: any): void;
|
|
74
78
|
get isDictionaryShown(): boolean;
|
|
75
79
|
set partnerTipMode(val: GenModels.PartnerTipModeItems);
|
|
76
80
|
get partnerTipMode(): GenModels.PartnerTipModeItems;
|
|
@@ -18,6 +18,7 @@ export interface PartnerState extends PartnerParams, InputBasedControlState<GenM
|
|
|
18
18
|
employeeVisualiser: EmployeeVisualizer;
|
|
19
19
|
itemVisualiser: PartnerDirectoryItemVisualiser;
|
|
20
20
|
typeahead: Typeahead;
|
|
21
|
+
oldValue: GenModels.EmployeeDataModel;
|
|
21
22
|
beforeModalSelectedFilterPath: GenModels.DepartmentModel[];
|
|
22
23
|
/** Путь для элемента из поиска, отличается от selectedFilterPath тем, что применяется только при закрытии PartnerSelectDialog */
|
|
23
24
|
searchFilterPath: GenModels.DepartmentModel[];
|
|
@@ -31,7 +32,7 @@ export declare type PartnerImplState = PartnerState;
|
|
|
31
32
|
export declare class PartnerImpl extends PartnerBaseImpl<GenModels.EmployeeDataModel, PartnerParams, PartnerState> {
|
|
32
33
|
protected getTextValue(): string;
|
|
33
34
|
protected getValueTitle(): string;
|
|
34
|
-
protected onInputKeyDown(ev: React.KeyboardEvent<any>): void;
|
|
35
35
|
protected onInputChange(event: any): void;
|
|
36
|
+
protected onInputKeyDown(ev: React.KeyboardEvent<any>): void;
|
|
36
37
|
protected renderInto(props: PartnerParams, container: HTMLElement): void;
|
|
37
38
|
}
|
|
@@ -28,7 +28,7 @@ export declare class PowersImpl extends DirectoryBaseImpl<PowersValueType, Power
|
|
|
28
28
|
hasValue(): boolean;
|
|
29
29
|
protected getButtons(): IBoxWithButtonsButtonInfo[];
|
|
30
30
|
protected onIconClick(): void;
|
|
31
|
-
protected onInputBlur(event: React.FocusEvent): void;
|
|
31
|
+
protected onInputBlur(event: React.FocusEvent<any>): void;
|
|
32
32
|
private saveCard;
|
|
33
33
|
private shouldSaveCardWithEditInPlaceValue;
|
|
34
34
|
private isLayoutViewMode;
|
|
@@ -14,7 +14,7 @@ export declare class PrintButtonParams extends BaseControlParams {
|
|
|
14
14
|
/** Стандартный CSS класс со стилями элемента управления */
|
|
15
15
|
standardCssClass?: string;
|
|
16
16
|
/** Текст кнопки операции. */
|
|
17
|
-
|
|
17
|
+
buttonText?: string;
|
|
18
18
|
/** Список шаблонов */
|
|
19
19
|
availableTemplates: GenModels.TransformationDataModel[];
|
|
20
20
|
/** Сервисы */
|
|
@@ -7,6 +7,7 @@ export declare class StaffDirectoryDataVisualiser {
|
|
|
7
7
|
constructor(employeeVisualiser: EmployeeVisualizer);
|
|
8
8
|
getDisplayName(item: GenModels.IDirectoryItemData): string;
|
|
9
9
|
getShortDisplayName(item: GenModels.IDirectoryItemData): string;
|
|
10
|
+
getNotAvailable(item: GenModels.IDirectoryItemData): boolean;
|
|
10
11
|
getTooltip(item: GenModels.IDirectoryItemData): string;
|
|
11
12
|
getIconClassName(item: GenModels.IDirectoryItemData, selected: boolean): string;
|
|
12
13
|
}
|