beca-ui 2.0.18-beta.12 → 2.0.18-beta.13
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/dist/beca-ui.js +150097 -106021
- package/dist/components/BecaCard/BecaCard.d.ts +2 -0
- package/dist/components/BecaCard/BecaCard.types.d.ts +24 -0
- package/dist/components/BecaCard/index.d.ts +2 -0
- package/dist/components/WorkflowForm/ErrorMessage.d.ts +1 -0
- package/dist/components/WorkflowForm/WorkflowForm.d.ts +4 -0
- package/dist/components/WorkflowForm/WorkflowForm.types.d.ts +27 -0
- package/dist/components/WorkflowForm/components/AttachIcon.d.ts +7 -0
- package/dist/components/WorkflowForm/components/AttachPreviewButton.d.ts +10 -0
- package/dist/components/WorkflowForm/components/CustomTable.d.ts +39 -0
- package/dist/components/WorkflowForm/components/DebounceSelect.d.ts +14 -0
- package/dist/components/WorkflowForm/components/DynamicAttachTable/DynamicAttachTable.d.ts +27 -0
- package/dist/components/WorkflowForm/components/DynamicAttachTable/components/AttachItem.d.ts +19 -0
- package/dist/components/WorkflowForm/components/DynamicAttachTable/components/AttachItemActions.d.ts +15 -0
- package/dist/components/WorkflowForm/components/DynamicAttachTable/components/DynamicFormInfo.d.ts +13 -0
- package/dist/components/WorkflowForm/components/DynamicAttachTable/components/FormEditor.d.ts +3 -0
- package/dist/components/WorkflowForm/components/DynamicWorkflowForm.d.ts +16 -0
- package/dist/components/WorkflowForm/components/EditAttachmentFile.d.ts +11 -0
- package/dist/components/WorkflowForm/components/EditableCell.d.ts +6 -0
- package/dist/components/WorkflowForm/components/EditableCellProps.d.ts +18 -0
- package/dist/components/WorkflowForm/components/MasterDetailTable.d.ts +31 -0
- package/dist/components/WorkflowForm/components/PageSection.d.ts +11 -0
- package/dist/components/WorkflowForm/components/SendUserWorkflowActionsModal.d.ts +12 -0
- package/dist/components/WorkflowForm/components/UserChecklistChangeLogModal.d.ts +7 -0
- package/dist/components/WorkflowForm/components/WorkflowActions.d.ts +25 -0
- package/dist/components/WorkflowForm/constants.d.ts +71 -0
- package/dist/components/WorkflowForm/deviceHooks.d.ts +15 -0
- package/dist/components/WorkflowForm/extensions/image-extensions.json.d.ts +125 -0
- package/dist/components/WorkflowForm/extensions/video-extensions.json.d.ts +4 -0
- package/dist/components/WorkflowForm/hooks/settingHooks.d.ts +9 -0
- package/dist/components/WorkflowForm/index.d.ts +3 -0
- package/dist/components/WorkflowForm/locale/i18n.d.ts +7 -0
- package/dist/components/WorkflowForm/models/AddSendUserWorkflowModel.d.ts +4 -0
- package/dist/components/WorkflowForm/models/AddUserWorkflowShareModel.d.ts +7 -0
- package/dist/components/WorkflowForm/models/AddWorkflowRuleModel.d.ts +11 -0
- package/dist/components/WorkflowForm/models/AdminStatOverallModel.d.ts +10 -0
- package/dist/components/WorkflowForm/models/ApiResult/DataSourceForReportingModel.d.ts +13 -0
- package/dist/components/WorkflowForm/models/AppAllowActions.d.ts +6 -0
- package/dist/components/WorkflowForm/models/AppConfigModel.d.ts +28 -0
- package/dist/components/WorkflowForm/models/AppMenuItemModel.d.ts +17 -0
- package/dist/components/WorkflowForm/models/AssignmentRuleModel.d.ts +6 -0
- package/dist/components/WorkflowForm/models/AutoFlowModel.d.ts +35 -0
- package/dist/components/WorkflowForm/models/ChangeLogModel.d.ts +13 -0
- package/dist/components/WorkflowForm/models/ChartModel.d.ts +0 -0
- package/dist/components/WorkflowForm/models/CheckListModel.d.ts +29 -0
- package/dist/components/WorkflowForm/models/CompanyModel.d.ts +11 -0
- package/dist/components/WorkflowForm/models/ConditionDefaultValueModel.d.ts +16 -0
- package/dist/components/WorkflowForm/models/CustomWorkingTimeModel.d.ts +13 -0
- package/dist/components/WorkflowForm/models/DefaultCompanySignatureModel.d.ts +16 -0
- package/dist/components/WorkflowForm/models/DefaultSignatureImageModel.d.ts +7 -0
- package/dist/components/WorkflowForm/models/DelegateModel.d.ts +17 -0
- package/dist/components/WorkflowForm/models/DepartmentModel.d.ts +19 -0
- package/dist/components/WorkflowForm/models/DepartmentTreeViewModel.d.ts +6 -0
- package/dist/components/WorkflowForm/models/DocumentTypeModel.d.ts +7 -0
- package/dist/components/WorkflowForm/models/DynamicValueModel.d.ts +4 -0
- package/dist/components/WorkflowForm/models/DynamicWorkflowModel.d.ts +91 -0
- package/dist/components/WorkflowForm/models/EngineEntity.d.ts +8 -0
- package/dist/components/WorkflowForm/models/FieldModel.d.ts +7 -0
- package/dist/components/WorkflowForm/models/FilterTypeModel.d.ts +10 -0
- package/dist/components/WorkflowForm/models/GroupModel.d.ts +9 -0
- package/dist/components/WorkflowForm/models/LoginHistoryModel.d.ts +10 -0
- package/dist/components/WorkflowForm/models/LoginModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/MailTemplatesModel.d.ts +10 -0
- package/dist/components/WorkflowForm/models/MenuModel.d.ts +11 -0
- package/dist/components/WorkflowForm/models/MessageDataModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/ModuleStorageStatisticModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/NavBarMenuModel.d.ts +19 -0
- package/dist/components/WorkflowForm/models/NotificationModel.d.ts +12 -0
- package/dist/components/WorkflowForm/models/OverallRateReportModel.d.ts +12 -0
- package/dist/components/WorkflowForm/models/PersonModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/PersonalProfileModel.d.ts +51 -0
- package/dist/components/WorkflowForm/models/PersonalProfileTreeModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/PositionModel.d.ts +8 -0
- package/dist/components/WorkflowForm/models/PriorityModel.d.ts +8 -0
- package/dist/components/WorkflowForm/models/ProcessItemModel.d.ts +12 -0
- package/dist/components/WorkflowForm/models/ProcessStatusModel.d.ts +19 -0
- package/dist/components/WorkflowForm/models/PropertyChoiceModel.d.ts +7 -0
- package/dist/components/WorkflowForm/models/PropertyDefaultValueTypeModel.d.ts +6 -0
- package/dist/components/WorkflowForm/models/PropertyDefaultVariableModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/PropertyModel.d.ts +82 -0
- package/dist/components/WorkflowForm/models/PropertySettingModel.d.ts +44 -0
- package/dist/components/WorkflowForm/models/ProppertyTypeModel.d.ts +33 -0
- package/dist/components/WorkflowForm/models/PublicHolidayModel.d.ts +6 -0
- package/dist/components/WorkflowForm/models/QueryResult.d.ts +4 -0
- package/dist/components/WorkflowForm/models/RelatedWorkflowModel.d.ts +4 -0
- package/dist/components/WorkflowForm/models/ReportBaseCategoryModel.d.ts +10 -0
- package/dist/components/WorkflowForm/models/ReportDashboardCategoryModel.d.ts +10 -0
- package/dist/components/WorkflowForm/models/ReportDashboardMenuItemModel.d.ts +7 -0
- package/dist/components/WorkflowForm/models/ReportDashboardModel.d.ts +409 -0
- package/dist/components/WorkflowForm/models/ReportFormFormat.d.ts +17 -0
- package/dist/components/WorkflowForm/models/ReportMenuItemModel.d.ts +9 -0
- package/dist/components/WorkflowForm/models/ReportModel.d.ts +188 -0
- package/dist/components/WorkflowForm/models/ResetPasswordModel.d.ts +8 -0
- package/dist/components/WorkflowForm/models/ResourceBaseCategoryModel.d.ts +10 -0
- package/dist/components/WorkflowForm/models/ResourceBaseFavouriteModel.d.ts +13 -0
- package/dist/components/WorkflowForm/models/ResourceFormFormat.d.ts +17 -0
- package/dist/components/WorkflowForm/models/ResourceMenuItemModel.d.ts +7 -0
- package/dist/components/WorkflowForm/models/ResourceModel.d.ts +204 -0
- package/dist/components/WorkflowForm/models/RootLookupModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/SendUserWorkflowActionsModel.d.ts +9 -0
- package/dist/components/WorkflowForm/models/StepFieldModel.d.ts +9 -0
- package/dist/components/WorkflowForm/models/StepRelated/AddStepRelatedModel.d.ts +4 -0
- package/dist/components/WorkflowForm/models/StepRelated/RemoveStepRalatedModel.d.ts +4 -0
- package/dist/components/WorkflowForm/models/StepRelatedModel.d.ts +29 -0
- package/dist/components/WorkflowForm/models/SubUserWorkflowModel.d.ts +26 -0
- package/dist/components/WorkflowForm/models/SupportContactModel.d.ts +9 -0
- package/dist/components/WorkflowForm/models/TriggerModel.d.ts +19 -0
- package/dist/components/WorkflowForm/models/UploadFileModel.d.ts +9 -0
- package/dist/components/WorkflowForm/models/UserCheckListChangelogModel.d.ts +14 -0
- package/dist/components/WorkflowForm/models/UserCheckListModel.d.ts +26 -0
- package/dist/components/WorkflowForm/models/UserModel.d.ts +36 -0
- package/dist/components/WorkflowForm/models/UserWorkflowActionsModel.d.ts +71 -0
- package/dist/components/WorkflowForm/models/UserWorkflowFollowModel.d.ts +29 -0
- package/dist/components/WorkflowForm/models/UserWorkflowLinkingModel.d.ts +20 -0
- package/dist/components/WorkflowForm/models/UserWorkflowModel.d.ts +85 -0
- package/dist/components/WorkflowForm/models/UserWorkflowNoteModel.d.ts +8 -0
- package/dist/components/WorkflowForm/models/UserWorkflowOverdueModel.d.ts +29 -0
- package/dist/components/WorkflowForm/models/UserWorkflowShareModel.d.ts +18 -0
- package/dist/components/WorkflowForm/models/UserWorkflowStatisticModel.d.ts +6 -0
- package/dist/components/WorkflowForm/models/UserWorkflowStepRelationModel.d.ts +6 -0
- package/dist/components/WorkflowForm/models/UserWorkflowTodayModel.d.ts +29 -0
- package/dist/components/WorkflowForm/models/VnptSmartCaModel.d.ts +10 -0
- package/dist/components/WorkflowForm/models/WorkStatisticModel.d.ts +12 -0
- package/dist/components/WorkflowForm/models/WorkWeekModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/WorkflowCategoryModel.d.ts +6 -0
- package/dist/components/WorkflowForm/models/WorkflowConditonModel.d.ts +27 -0
- package/dist/components/WorkflowForm/models/WorkflowDDLModel.d.ts +4 -0
- package/dist/components/WorkflowForm/models/WorkflowDefaultTemplateModel.d.ts +16 -0
- package/dist/components/WorkflowForm/models/WorkflowFavouriteModel.d.ts +14 -0
- package/dist/components/WorkflowForm/models/WorkflowLookupModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/WorkflowModel.d.ts +62 -0
- package/dist/components/WorkflowForm/models/WorkflowParaModel.d.ts +14 -0
- package/dist/components/WorkflowForm/models/WorkflowReportModel.d.ts +10 -0
- package/dist/components/WorkflowForm/models/WorkflowRuleModel.d.ts +29 -0
- package/dist/components/WorkflowForm/models/WorkflowStepModel.d.ts +84 -0
- package/dist/components/WorkflowForm/models/WorkflowsCheckListModel.d.ts +37 -0
- package/dist/components/WorkflowForm/models/WorkingTimesModel.d.ts +9 -0
- package/dist/components/WorkflowForm/models/enums/ApiType.d.ts +12 -0
- package/dist/components/WorkflowForm/models/enums/ChoiceDisplay.d.ts +9 -0
- package/dist/components/WorkflowForm/models/enums/FromWeb.d.ts +5 -0
- package/dist/components/WorkflowForm/models/enums/UserWorkflowChangelogType.d.ts +8 -0
- package/dist/components/WorkflowForm/models/enums/UserWorkflowStatus.d.ts +7 -0
- package/dist/components/WorkflowForm/models/enums/VisibleType.d.ts +9 -0
- package/dist/components/WorkflowForm/models/enums/WorkflowStatus.d.ts +11 -0
- package/dist/components/WorkflowForm/models/enums/WorkflowType.d.ts +7 -0
- package/dist/components/WorkflowForm/models/flowModels/IFlowModel.d.ts +6 -0
- package/dist/components/WorkflowForm/models/flowModels/IInitialDataModel.d.ts +3 -0
- package/dist/components/WorkflowForm/models/flowModels/IInitialEdgeModel.d.ts +6 -0
- package/dist/components/WorkflowForm/models/flowModels/IInitialNodeModels.d.ts +14 -0
- package/dist/components/WorkflowForm/models/flowModels/IInitialPositionModel.d.ts +4 -0
- package/dist/components/WorkflowForm/models/flowModels/IInitialStyleModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/ui/Form.d.ts +6 -0
- package/dist/components/WorkflowForm/models/ui/TableModel.d.ts +4 -0
- package/dist/components/WorkflowForm/models/ui/WorkflowPropertyModel.d.ts +18 -0
- package/dist/components/WorkflowForm/models/ui/index.d.ts +7 -0
- package/dist/components/WorkflowForm/models/viewModels/IAverageTimeModel.d.ts +9 -0
- package/dist/components/WorkflowForm/models/viewModels/IIsAdminViewModel.d.ts +5 -0
- package/dist/components/WorkflowForm/models/viewModels/IPermissionItemViewModel.d.ts +7 -0
- package/dist/components/WorkflowForm/models/viewModels/IRateReportModel.d.ts +10 -0
- package/dist/components/WorkflowForm/models/viewModels/IStatisticWorkflowModel.d.ts +6 -0
- package/dist/components/WorkflowForm/services/AccountService.d.ts +16 -0
- package/dist/components/WorkflowForm/services/AppService.d.ts +4 -0
- package/dist/components/WorkflowForm/services/CheckListService.d.ts +29 -0
- package/dist/components/WorkflowForm/services/CleanHtmlService.d.ts +6 -0
- package/dist/components/WorkflowForm/services/DataServices.d.ts +97 -0
- package/dist/components/WorkflowForm/services/DynamicWorkflowService.d.ts +30 -0
- package/dist/components/WorkflowForm/services/FormatDateTimeService.d.ts +14 -0
- package/dist/components/WorkflowForm/services/MasterDetailService.d.ts +12 -0
- package/dist/components/WorkflowForm/services/NetworkService.d.ts +25 -0
- package/dist/components/WorkflowForm/services/PersonalProfileService.d.ts +73 -0
- package/dist/components/WorkflowForm/services/PropertyService.d.ts +39 -0
- package/dist/components/WorkflowForm/services/SendWorkflowService.d.ts +25 -0
- package/dist/components/WorkflowForm/services/UserCheckListChangelogService.d.ts +6 -0
- package/dist/components/WorkflowForm/services/UserCheckListService.d.ts +56 -0
- package/dist/components/WorkflowForm/services/UserWorkflowLinkingService.d.ts +8 -0
- package/dist/components/WorkflowForm/services/UserWorkflowService.d.ts +77 -0
- package/dist/components/WorkflowForm/services/UserWorkflowStepService.d.ts +8 -0
- package/dist/components/WorkflowForm/services/WorkflowReportService.d.ts +12 -0
- package/dist/components/WorkflowForm/services/WorkflowService.d.ts +76 -0
- package/dist/components/WorkflowForm/services/WorkflowStepService.d.ts +14 -0
- package/dist/components/WorkflowForm/theme/Layout.d.ts +51 -0
- package/dist/components/WorkflowForm/utils/apis.d.ts +27 -0
- package/dist/components/WorkflowForm/utils/index.d.ts +57 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/main.css +1 -1
- package/dist/models/Core/Result.d.ts +1 -0
- package/dist/theme/Colors.d.ts +9 -0
- package/package.json +11 -2
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { IRelatedWorkflowModel } from "./RelatedWorkflowModel";
|
|
2
|
+
export interface UserWorkflowActionsModel {
|
|
3
|
+
allowShare: boolean;
|
|
4
|
+
allowPrint: boolean;
|
|
5
|
+
allowExit: boolean;
|
|
6
|
+
allowSave: boolean;
|
|
7
|
+
allowSend: boolean;
|
|
8
|
+
allowRecall: boolean;
|
|
9
|
+
allowAccept: boolean;
|
|
10
|
+
allowApprove: boolean;
|
|
11
|
+
allowReturn: boolean;
|
|
12
|
+
allowReject: boolean;
|
|
13
|
+
allowReplace: boolean;
|
|
14
|
+
allowAddInfo: boolean;
|
|
15
|
+
allowAddLinking: boolean;
|
|
16
|
+
allowAttachment: boolean;
|
|
17
|
+
allowIdea: boolean;
|
|
18
|
+
allowAddIdea: boolean;
|
|
19
|
+
allowEdit: boolean;
|
|
20
|
+
allowEditResource: boolean;
|
|
21
|
+
allowReFileApproved: boolean;
|
|
22
|
+
allowReInsertTemplateFile: boolean;
|
|
23
|
+
allowReAllFileApproved: boolean;
|
|
24
|
+
allowEditUserWorkflow: boolean;
|
|
25
|
+
allowDeleteByAdmin: boolean;
|
|
26
|
+
allowDeleteFileByAdmin: boolean;
|
|
27
|
+
allowEditMasterDetail: boolean[];
|
|
28
|
+
allowAddMasterDetail: boolean[];
|
|
29
|
+
allowEditApplication: boolean;
|
|
30
|
+
defaultAllowEditMasterDetail: boolean[];
|
|
31
|
+
allowAddNote: boolean;
|
|
32
|
+
isHavingIdeaStep: boolean;
|
|
33
|
+
labelAddInfo: string;
|
|
34
|
+
labelSave: string;
|
|
35
|
+
labelNext: string;
|
|
36
|
+
labelReturn: string;
|
|
37
|
+
labelApprove: string;
|
|
38
|
+
labelReject: string;
|
|
39
|
+
labelRecall: string;
|
|
40
|
+
labelReplace: string;
|
|
41
|
+
labelIdea: string;
|
|
42
|
+
labelShare: string;
|
|
43
|
+
labelExit: string;
|
|
44
|
+
labelPrint: string;
|
|
45
|
+
labelSend: string;
|
|
46
|
+
labelAddInfoEN: string;
|
|
47
|
+
labelSaveEN: string;
|
|
48
|
+
labelNextEN: string;
|
|
49
|
+
labelReturnEN: string;
|
|
50
|
+
labelApproveEN: string;
|
|
51
|
+
labelRejectEN: string;
|
|
52
|
+
labelRecallEN: string;
|
|
53
|
+
labelReplaceEN: string;
|
|
54
|
+
labelIdeaEN: string;
|
|
55
|
+
labelShareEN: string;
|
|
56
|
+
labelExitEN: string;
|
|
57
|
+
labelPrintEN: string;
|
|
58
|
+
labelSendEN: string;
|
|
59
|
+
labelRelated: string;
|
|
60
|
+
labelReAllFileApproved: string;
|
|
61
|
+
labelDeleteByAdmin: string;
|
|
62
|
+
relatedWorkflows: IRelatedWorkflowModel[];
|
|
63
|
+
copyWorkflows: IRelatedWorkflowModel[];
|
|
64
|
+
quickNote: string;
|
|
65
|
+
addWorkRequired: boolean;
|
|
66
|
+
addWorkUrl: string;
|
|
67
|
+
addWorkLabel: string;
|
|
68
|
+
currentUserWorkflowStepId?: number;
|
|
69
|
+
allowSignManually: boolean;
|
|
70
|
+
allowRemoveApplication: boolean;
|
|
71
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UserWorkflowStatus } from "./enums/UserWorkflowStatus";
|
|
2
|
+
import { IUserModel } from "./UserModel";
|
|
3
|
+
export interface UserWorkflowFollowModel {
|
|
4
|
+
userId: number;
|
|
5
|
+
workflowId: number;
|
|
6
|
+
workflowCode: string;
|
|
7
|
+
shortContent: string;
|
|
8
|
+
status: string;
|
|
9
|
+
userWorkflowStatus?: UserWorkflowStatus;
|
|
10
|
+
workflowCategory?: any;
|
|
11
|
+
user: IUserModel;
|
|
12
|
+
id?: number;
|
|
13
|
+
createdBy?: string;
|
|
14
|
+
createdTime?: Date;
|
|
15
|
+
lastModified?: any;
|
|
16
|
+
modifiedBy?: any;
|
|
17
|
+
isDeleted?: boolean;
|
|
18
|
+
workflowStepId?: number;
|
|
19
|
+
workflowTitle?: string;
|
|
20
|
+
isDraft?: boolean;
|
|
21
|
+
number?: number;
|
|
22
|
+
fullName?: string;
|
|
23
|
+
approver?: string;
|
|
24
|
+
category?: string;
|
|
25
|
+
title?: string;
|
|
26
|
+
deadline?: Date;
|
|
27
|
+
isLate?: boolean;
|
|
28
|
+
isSeen?: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UserWorkflowStatus } from "./enums/UserWorkflowStatus";
|
|
2
|
+
import { ISubUserWorkflowModel } from "./SubUserWorkflowModel";
|
|
3
|
+
export interface UserWorkflowLinkingModel {
|
|
4
|
+
mainUserWorkflowId: number;
|
|
5
|
+
linkUserWorkflowId: number;
|
|
6
|
+
mainUserWorkflow: ISubUserWorkflowModel;
|
|
7
|
+
linkUserWorkflow: ISubUserWorkflowModel;
|
|
8
|
+
id?: number;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
createdTime: Date;
|
|
11
|
+
approvalDate?: Date;
|
|
12
|
+
lastModified?: Date;
|
|
13
|
+
modifiedBy?: string;
|
|
14
|
+
isDeleted: boolean;
|
|
15
|
+
oldWorkflowCode: string;
|
|
16
|
+
oldWorkflowListId: string;
|
|
17
|
+
url?: string;
|
|
18
|
+
isOld?: boolean;
|
|
19
|
+
userWorkflowStatus?: UserWorkflowStatus;
|
|
20
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { UserWorkflowStatus } from "./enums/UserWorkflowStatus";
|
|
2
|
+
import { IUserModel } from "./UserModel";
|
|
3
|
+
import { WorkflowStepModel } from "./WorkflowStepModel";
|
|
4
|
+
import { PriorityModel } from "./PriorityModel";
|
|
5
|
+
export interface AddUserWorkflowType {
|
|
6
|
+
data: AddUserWorkflowDataType[];
|
|
7
|
+
data_json: string;
|
|
8
|
+
note?: string;
|
|
9
|
+
isDraft: boolean;
|
|
10
|
+
mainUserWorkflowStepId?: number;
|
|
11
|
+
workId?: number;
|
|
12
|
+
workType?: string;
|
|
13
|
+
activeEditUserWorkflow?: boolean;
|
|
14
|
+
relatedId?: number;
|
|
15
|
+
relatedUserWorkflowStepId?: number;
|
|
16
|
+
}
|
|
17
|
+
export interface AddUserWorkflowDataType {
|
|
18
|
+
name: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}
|
|
21
|
+
export interface UserWorkflowModel {
|
|
22
|
+
age?: string;
|
|
23
|
+
startDate?: Date;
|
|
24
|
+
userId: number | undefined;
|
|
25
|
+
workflowId: number;
|
|
26
|
+
workflowCode: string;
|
|
27
|
+
listId?: string;
|
|
28
|
+
itemId?: string;
|
|
29
|
+
shortContent: string;
|
|
30
|
+
status: string;
|
|
31
|
+
userWorkflowStatus?: UserWorkflowStatus;
|
|
32
|
+
workflowCategory?: any;
|
|
33
|
+
user: IUserModel;
|
|
34
|
+
id?: number;
|
|
35
|
+
createdBy?: string;
|
|
36
|
+
createdTime?: Date;
|
|
37
|
+
finishTime?: Date;
|
|
38
|
+
lastModified?: any;
|
|
39
|
+
modifiedBy?: any;
|
|
40
|
+
isDeleted?: boolean;
|
|
41
|
+
workflowStepId?: number;
|
|
42
|
+
workflowTitle?: string;
|
|
43
|
+
isDraft?: boolean;
|
|
44
|
+
number?: number;
|
|
45
|
+
fullName?: string;
|
|
46
|
+
approver?: string;
|
|
47
|
+
approvalDate?: Date;
|
|
48
|
+
category?: string;
|
|
49
|
+
title?: string;
|
|
50
|
+
deadline?: Date;
|
|
51
|
+
isLate?: boolean;
|
|
52
|
+
isSeen?: boolean;
|
|
53
|
+
isOld?: boolean;
|
|
54
|
+
url?: string;
|
|
55
|
+
sharedBy?: string;
|
|
56
|
+
from?: string;
|
|
57
|
+
lastProcessedByMe?: string;
|
|
58
|
+
approvedTime?: string;
|
|
59
|
+
requester?: string;
|
|
60
|
+
handler?: string;
|
|
61
|
+
department?: string;
|
|
62
|
+
currentUserWorkflowStatus?: string;
|
|
63
|
+
content?: string;
|
|
64
|
+
isWaitingForAppoved?: boolean;
|
|
65
|
+
waitingForAppovedDescription?: string;
|
|
66
|
+
workflowStep?: WorkflowStepModel;
|
|
67
|
+
step?: string;
|
|
68
|
+
action?: string;
|
|
69
|
+
executionTime?: string;
|
|
70
|
+
linkUserWorkflow?: any;
|
|
71
|
+
titleEN?: string;
|
|
72
|
+
priorityId?: number;
|
|
73
|
+
priority?: PriorityModel;
|
|
74
|
+
}
|
|
75
|
+
export interface SignaturedManuallyModel {
|
|
76
|
+
imageUrl: string;
|
|
77
|
+
signedBy: string;
|
|
78
|
+
email: string;
|
|
79
|
+
data: {
|
|
80
|
+
page: number;
|
|
81
|
+
rectangle: string;
|
|
82
|
+
};
|
|
83
|
+
linkApi?: string;
|
|
84
|
+
base64?: string;
|
|
85
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UserWorkflowStatus } from "./enums/UserWorkflowStatus";
|
|
2
|
+
import { IUserModel } from "./UserModel";
|
|
3
|
+
export interface UserWorkflowOverdueModel {
|
|
4
|
+
userId: number;
|
|
5
|
+
workflowId: number;
|
|
6
|
+
workflowCode: string;
|
|
7
|
+
shortContent: string;
|
|
8
|
+
status: string;
|
|
9
|
+
userWorkflowStatus?: UserWorkflowStatus;
|
|
10
|
+
workflowCategory?: any;
|
|
11
|
+
user: IUserModel;
|
|
12
|
+
id?: number;
|
|
13
|
+
createdBy?: string;
|
|
14
|
+
createdTime?: Date;
|
|
15
|
+
lastModified?: any;
|
|
16
|
+
modifiedBy?: any;
|
|
17
|
+
isDeleted?: boolean;
|
|
18
|
+
workflowStepId?: number;
|
|
19
|
+
workflowTitle?: string;
|
|
20
|
+
isDraft?: boolean;
|
|
21
|
+
number?: number;
|
|
22
|
+
fullName?: string;
|
|
23
|
+
approver?: string;
|
|
24
|
+
category?: string;
|
|
25
|
+
title?: string;
|
|
26
|
+
deadline?: Date;
|
|
27
|
+
isLate?: boolean;
|
|
28
|
+
isSeen?: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IUserModel } from "./UserModel";
|
|
2
|
+
import { UserWorkflowModel } from "./UserWorkflowModel";
|
|
3
|
+
export interface IUserWorkflowShareModel {
|
|
4
|
+
userWorkflowId?: number;
|
|
5
|
+
userId: number | string;
|
|
6
|
+
fullName: string;
|
|
7
|
+
note?: any;
|
|
8
|
+
userWorkflow?: UserWorkflowModel;
|
|
9
|
+
user?: IUserModel;
|
|
10
|
+
id?: number;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
createdTime?: Date;
|
|
13
|
+
lastModified?: any;
|
|
14
|
+
modifiedBy?: any;
|
|
15
|
+
isDeleted?: boolean;
|
|
16
|
+
workflowTitle: string;
|
|
17
|
+
seenTime?: Date;
|
|
18
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UserWorkflowStatus } from "./enums/UserWorkflowStatus";
|
|
2
|
+
import { IUserModel } from "./UserModel";
|
|
3
|
+
export interface UserWorkflowTodayModel {
|
|
4
|
+
userId: number;
|
|
5
|
+
workflowId: number;
|
|
6
|
+
workflowCode: string;
|
|
7
|
+
shortContent: string;
|
|
8
|
+
status: string;
|
|
9
|
+
userWorkflowStatus?: UserWorkflowStatus;
|
|
10
|
+
workflowCategory?: any;
|
|
11
|
+
user: IUserModel;
|
|
12
|
+
id?: number;
|
|
13
|
+
createdBy?: string;
|
|
14
|
+
createdTime?: Date;
|
|
15
|
+
lastModified?: any;
|
|
16
|
+
modifiedBy?: any;
|
|
17
|
+
isDeleted?: boolean;
|
|
18
|
+
workflowStepId?: number;
|
|
19
|
+
workflowTitle?: string;
|
|
20
|
+
isDraft?: boolean;
|
|
21
|
+
number?: number;
|
|
22
|
+
fullName?: string;
|
|
23
|
+
approver?: string;
|
|
24
|
+
category?: string;
|
|
25
|
+
title?: string;
|
|
26
|
+
deadline?: Date;
|
|
27
|
+
isLate?: boolean;
|
|
28
|
+
isSeen?: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface WorkStatisticModel {
|
|
2
|
+
totalProject: number;
|
|
3
|
+
projectNotStart: number;
|
|
4
|
+
projectInPROCess: number;
|
|
5
|
+
projectCompelete: number;
|
|
6
|
+
projectCancel: number;
|
|
7
|
+
totalWork: number;
|
|
8
|
+
workNew: number;
|
|
9
|
+
userExecCompelete: number;
|
|
10
|
+
workCompelete: number;
|
|
11
|
+
workCancel: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EngineEntity } from "./EngineEntity";
|
|
2
|
+
export interface IWorkflowConditionModel extends EngineEntity {
|
|
3
|
+
workflowRuleId: number;
|
|
4
|
+
variable: string;
|
|
5
|
+
conditional: string;
|
|
6
|
+
value: string;
|
|
7
|
+
nextCondition: string;
|
|
8
|
+
order: number;
|
|
9
|
+
}
|
|
10
|
+
export interface AddWorkflowConditionModel {
|
|
11
|
+
workflowRuleId: number;
|
|
12
|
+
variable: string;
|
|
13
|
+
conditional: string;
|
|
14
|
+
value: string;
|
|
15
|
+
nextCondition: string;
|
|
16
|
+
order?: number;
|
|
17
|
+
}
|
|
18
|
+
export interface ConditionParams {
|
|
19
|
+
sortBy: string;
|
|
20
|
+
isSortAscending: boolean;
|
|
21
|
+
workflowRuleId: number;
|
|
22
|
+
}
|
|
23
|
+
export interface IConditionRowValue {
|
|
24
|
+
index: number;
|
|
25
|
+
name: string;
|
|
26
|
+
value?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WorkflowModel } from './WorkflowModel';
|
|
2
|
+
export interface WorkflowDefaultTemplateModel {
|
|
3
|
+
workflowId: number;
|
|
4
|
+
checkListId?: number;
|
|
5
|
+
lang?: string;
|
|
6
|
+
fileName: string;
|
|
7
|
+
fileUrl: string;
|
|
8
|
+
path: number;
|
|
9
|
+
workflow: WorkflowModel;
|
|
10
|
+
id: number;
|
|
11
|
+
createdBy: string;
|
|
12
|
+
createdTime: Date;
|
|
13
|
+
lastModified: Date;
|
|
14
|
+
modifiedBy: string;
|
|
15
|
+
isDeleted: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WorkflowModel } from './WorkflowModel';
|
|
2
|
+
import { PersonalProfileModel } from './PersonalProfileModel';
|
|
3
|
+
export interface IWorkflowFavouriteModel {
|
|
4
|
+
workflowId: number;
|
|
5
|
+
userId: number;
|
|
6
|
+
workflow: WorkflowModel;
|
|
7
|
+
personalProfile: PersonalProfileModel;
|
|
8
|
+
id: number;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
createdTime: string;
|
|
11
|
+
lastModified: Date;
|
|
12
|
+
modifiedBy: string;
|
|
13
|
+
isDeleted: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { PropertyModel } from "./PropertyModel";
|
|
2
|
+
import { WorkflowType } from "./enums/WorkflowType";
|
|
3
|
+
import { RowsType } from "./DynamicWorkflowModel";
|
|
4
|
+
import { WorkflowStepModel } from "./WorkflowStepModel";
|
|
5
|
+
import { WorkflowStatus } from "./enums/WorkflowStatus";
|
|
6
|
+
import { EngineEntity } from "./EngineEntity";
|
|
7
|
+
export interface WorkflowModel extends EngineEntity {
|
|
8
|
+
id: number;
|
|
9
|
+
title: string;
|
|
10
|
+
titleEN?: string;
|
|
11
|
+
code: string;
|
|
12
|
+
status: WorkflowStatus;
|
|
13
|
+
version: number;
|
|
14
|
+
createPermission: any;
|
|
15
|
+
seenPermission: any;
|
|
16
|
+
editPermission: any;
|
|
17
|
+
removePermission: any;
|
|
18
|
+
configurePermission: any;
|
|
19
|
+
recursivePermission: boolean | undefined;
|
|
20
|
+
imagePath: string | undefined;
|
|
21
|
+
imageId: number | undefined;
|
|
22
|
+
isAttachmentActive: boolean;
|
|
23
|
+
allowAttachmentExtensions: string;
|
|
24
|
+
maximumSizeSingle: number;
|
|
25
|
+
maximumSizeTotal: number;
|
|
26
|
+
categoryId: number;
|
|
27
|
+
startDate: Date | undefined;
|
|
28
|
+
endDate: Date | undefined;
|
|
29
|
+
order: number;
|
|
30
|
+
isDetail: boolean | undefined;
|
|
31
|
+
properties: PropertyModel[];
|
|
32
|
+
isOld?: boolean;
|
|
33
|
+
url?: string;
|
|
34
|
+
note?: string;
|
|
35
|
+
imageUrl?: string | undefined;
|
|
36
|
+
workflowType?: WorkflowType | undefined;
|
|
37
|
+
categoryName?: string;
|
|
38
|
+
isDisableInReport?: boolean;
|
|
39
|
+
isDisableInWorkflow?: boolean;
|
|
40
|
+
isVisibleForAdmin?: boolean;
|
|
41
|
+
isApprovingAllow?: boolean;
|
|
42
|
+
isIgnoreInAuthorizeApproval?: boolean;
|
|
43
|
+
isIgnoreInFollowAndLinking?: boolean;
|
|
44
|
+
isBilingualDisplayForDepartmentAndPostion?: boolean;
|
|
45
|
+
isCCNotificationAndEmail?: boolean;
|
|
46
|
+
isNotificationEnabled?: boolean;
|
|
47
|
+
reportId: string;
|
|
48
|
+
isFavourite?: boolean;
|
|
49
|
+
reportOrder?: number;
|
|
50
|
+
copyTo?: string;
|
|
51
|
+
autoCallFastApiFunction?: string;
|
|
52
|
+
isShowColon?: boolean;
|
|
53
|
+
fontSize?: number;
|
|
54
|
+
fontFamily?: string;
|
|
55
|
+
codeTemplate?: string;
|
|
56
|
+
codeCount?: number;
|
|
57
|
+
}
|
|
58
|
+
export interface CopyWorkflowModel {
|
|
59
|
+
properties: PropertyModel[];
|
|
60
|
+
formFormat: RowsType[];
|
|
61
|
+
workflowSteps: WorkflowStepModel[];
|
|
62
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IWorkflowParaModel {
|
|
2
|
+
id: number;
|
|
3
|
+
createdBy?: string;
|
|
4
|
+
createdTime?: Date;
|
|
5
|
+
isDeleted?: boolean;
|
|
6
|
+
lastModified?: Date;
|
|
7
|
+
modifiedBy?: string;
|
|
8
|
+
paraName?: string;
|
|
9
|
+
workflowId?: number;
|
|
10
|
+
value?: string;
|
|
11
|
+
isSystemPara?: boolean;
|
|
12
|
+
description?: string;
|
|
13
|
+
isCheckBox?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AddWorkflowConditionModel } from "./WorkflowConditonModel";
|
|
2
|
+
export interface IWorkflowRuleModel {
|
|
3
|
+
id: number;
|
|
4
|
+
createdBy?: string;
|
|
5
|
+
createdTime?: Date;
|
|
6
|
+
isDeleted?: boolean;
|
|
7
|
+
isSignature?: boolean;
|
|
8
|
+
lastModified?: Date;
|
|
9
|
+
modifiedBy?: string;
|
|
10
|
+
workflowStepId: number;
|
|
11
|
+
title: string;
|
|
12
|
+
parentRuleId: number;
|
|
13
|
+
nextStep: number;
|
|
14
|
+
returnStep: number;
|
|
15
|
+
runNextCondition: boolean;
|
|
16
|
+
children: IWorkflowRuleModel[];
|
|
17
|
+
conditionns?: AddWorkflowConditionModel[];
|
|
18
|
+
order: number;
|
|
19
|
+
}
|
|
20
|
+
export interface Params {
|
|
21
|
+
workflowStepId: number;
|
|
22
|
+
isParentRuleOnly: boolean;
|
|
23
|
+
sortBy?: string;
|
|
24
|
+
isSortAscending?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface IParentRuleModel {
|
|
27
|
+
id: number;
|
|
28
|
+
name: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EngineEntity } from "./EngineEntity";
|
|
2
|
+
import { IAssignmentRuleModel } from "./AssignmentRuleModel";
|
|
3
|
+
export interface WorkflowStepModel extends EngineEntity {
|
|
4
|
+
title: string;
|
|
5
|
+
titleEN?: string;
|
|
6
|
+
workflowId: number;
|
|
7
|
+
assignmentRuleId: number;
|
|
8
|
+
assignmentRule?: IAssignmentRuleModel;
|
|
9
|
+
step: number;
|
|
10
|
+
stepInProcess?: number;
|
|
11
|
+
nextStep?: number;
|
|
12
|
+
returnStep: number;
|
|
13
|
+
status: string;
|
|
14
|
+
statusEN?: string;
|
|
15
|
+
duration: number;
|
|
16
|
+
timeUnit: string;
|
|
17
|
+
enterDay: string;
|
|
18
|
+
mailCC: string;
|
|
19
|
+
autoShareWhenActive: string;
|
|
20
|
+
groupCC: string;
|
|
21
|
+
mailReturnCC: string;
|
|
22
|
+
groupReturnCC: string;
|
|
23
|
+
assignmentTo: string;
|
|
24
|
+
assignmentWorkflow: number | undefined;
|
|
25
|
+
chairman: string;
|
|
26
|
+
userPropertyName: string;
|
|
27
|
+
addInfoList: string;
|
|
28
|
+
requestReplaceList: string;
|
|
29
|
+
requestIdeaList: string;
|
|
30
|
+
isEnableSignature: boolean;
|
|
31
|
+
isEnableFlashSignature: boolean;
|
|
32
|
+
pattern: string;
|
|
33
|
+
autoRemoveOnlyOne?: boolean;
|
|
34
|
+
isRequired?: boolean;
|
|
35
|
+
isLimit?: boolean;
|
|
36
|
+
isIgnoreByPass?: boolean;
|
|
37
|
+
isDisableWhenHavingUpdated?: boolean;
|
|
38
|
+
isDisableAttachment?: boolean;
|
|
39
|
+
isSignManually?: boolean;
|
|
40
|
+
stepCC?: string;
|
|
41
|
+
multipleStepAtTheSameIndex?: boolean;
|
|
42
|
+
setWorkflow?: string;
|
|
43
|
+
emailAddInfo: number;
|
|
44
|
+
emailNext: number;
|
|
45
|
+
emailRecall: number;
|
|
46
|
+
emailReplace: number;
|
|
47
|
+
emailReject: number;
|
|
48
|
+
emailApprove: number;
|
|
49
|
+
emailPrevious: number;
|
|
50
|
+
emailRequestIdea: number;
|
|
51
|
+
emailAuthor: number;
|
|
52
|
+
emailNextCC: number;
|
|
53
|
+
emailShare: number;
|
|
54
|
+
labelAddInfo: string;
|
|
55
|
+
labelSave: string;
|
|
56
|
+
labelNext: string;
|
|
57
|
+
labelReturn: string;
|
|
58
|
+
labelApprove: string;
|
|
59
|
+
labelReject: string;
|
|
60
|
+
labelRecall: string;
|
|
61
|
+
labelReplace: string;
|
|
62
|
+
labelIdea: string;
|
|
63
|
+
labelShare: string;
|
|
64
|
+
labelExit: string;
|
|
65
|
+
labelPrint: string;
|
|
66
|
+
labelAddInfoEN: string;
|
|
67
|
+
labelSaveEN: string;
|
|
68
|
+
labelNextEN: string;
|
|
69
|
+
labelReturnEN: string;
|
|
70
|
+
labelApproveEN: string;
|
|
71
|
+
labelRejectEN: string;
|
|
72
|
+
labelRecallEN: string;
|
|
73
|
+
labelReplaceEN: string;
|
|
74
|
+
labelIdeaEN: string;
|
|
75
|
+
labelShareEN: string;
|
|
76
|
+
labelExitEN: string;
|
|
77
|
+
labelPrintEN: string;
|
|
78
|
+
isModifyRule?: boolean;
|
|
79
|
+
linkingWorkflowWhichStatusChange?: number;
|
|
80
|
+
statusChange?: boolean;
|
|
81
|
+
requestIdeaAndReplaceList?: string;
|
|
82
|
+
autoAppendAllSmartCAFromStepsToTheFile?: boolean;
|
|
83
|
+
useThisStepForDateTimeOfSignature?: boolean;
|
|
84
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface WorkflowsCheckListModel {
|
|
2
|
+
createdBy?: string;
|
|
3
|
+
createdTime?: Date;
|
|
4
|
+
documentTypeTitle?: string;
|
|
5
|
+
id: number;
|
|
6
|
+
isDeleted?: boolean;
|
|
7
|
+
isQRCode?: boolean;
|
|
8
|
+
isReplaceText?: boolean;
|
|
9
|
+
isReplaceSignature?: boolean;
|
|
10
|
+
isReplaceFlashSignature?: boolean;
|
|
11
|
+
isPublicForEveryone?: boolean;
|
|
12
|
+
isAutoWatermarkEmbedWhenDownload?: boolean;
|
|
13
|
+
isSignaturedManually?: boolean;
|
|
14
|
+
isOnlyAllowedAttachedAfterApproving?: boolean;
|
|
15
|
+
permission?: string;
|
|
16
|
+
permissionArray?: string[];
|
|
17
|
+
isRequired?: boolean;
|
|
18
|
+
isSignature?: boolean;
|
|
19
|
+
lastModified?: Date;
|
|
20
|
+
modifiedBy?: string;
|
|
21
|
+
title: string;
|
|
22
|
+
typeId?: number;
|
|
23
|
+
workflowStepId?: number;
|
|
24
|
+
workflowStepTitle?: string;
|
|
25
|
+
checkListAllowSteps?: CheckListAllowStepModel[];
|
|
26
|
+
}
|
|
27
|
+
export interface CheckListAllowStepModel {
|
|
28
|
+
checklistId: number;
|
|
29
|
+
createdBy?: string;
|
|
30
|
+
createdTime?: Date;
|
|
31
|
+
id?: number;
|
|
32
|
+
isDeleted?: false;
|
|
33
|
+
lastModified?: Date;
|
|
34
|
+
modifiedBy?: string;
|
|
35
|
+
workflowStepId: number;
|
|
36
|
+
workflowStepTitle?: string;
|
|
37
|
+
}
|