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,188 @@
|
|
|
1
|
+
import dayjs from 'dayjs';
|
|
2
|
+
export interface IReportPropertyModel {
|
|
3
|
+
isDefault: boolean;
|
|
4
|
+
sqlQuery: string;
|
|
5
|
+
name: string;
|
|
6
|
+
label: string;
|
|
7
|
+
labelEN: any;
|
|
8
|
+
isRequired: boolean;
|
|
9
|
+
isViewOnly: boolean;
|
|
10
|
+
isSingle: boolean;
|
|
11
|
+
isMultiLine: boolean;
|
|
12
|
+
isChoice: boolean;
|
|
13
|
+
isNumber: boolean;
|
|
14
|
+
isCurrency: boolean;
|
|
15
|
+
isDateAndTime: boolean;
|
|
16
|
+
isLookup: boolean;
|
|
17
|
+
isYesNo: boolean;
|
|
18
|
+
isUser: boolean;
|
|
19
|
+
isCalculated: boolean;
|
|
20
|
+
isApi: boolean;
|
|
21
|
+
isMasterDetail: boolean;
|
|
22
|
+
styleClass: any;
|
|
23
|
+
executeJS: any;
|
|
24
|
+
visibleCondition: any;
|
|
25
|
+
description: any;
|
|
26
|
+
order: number;
|
|
27
|
+
defaultValue: any;
|
|
28
|
+
defaultTypeId: any;
|
|
29
|
+
ignoreInReport: boolean;
|
|
30
|
+
settingId: number;
|
|
31
|
+
workflowId: number;
|
|
32
|
+
isHideInCollapsing: any;
|
|
33
|
+
orderInReport: number;
|
|
34
|
+
widthInReport: number;
|
|
35
|
+
checkDuplicateResourceInTime: boolean;
|
|
36
|
+
isEditDisabledWhenReturnAndRecall: boolean;
|
|
37
|
+
isAllowUserAuthorized: boolean;
|
|
38
|
+
isUnique: boolean;
|
|
39
|
+
defaultType: any;
|
|
40
|
+
setting: Setting;
|
|
41
|
+
id: number;
|
|
42
|
+
createdBy: string;
|
|
43
|
+
createdTime: string;
|
|
44
|
+
lastModified: string;
|
|
45
|
+
modifiedBy: string;
|
|
46
|
+
isDeleted: boolean;
|
|
47
|
+
filterSqls?: FilterSql[];
|
|
48
|
+
type?: FieldType;
|
|
49
|
+
childProperties: IReportPropertyModel[];
|
|
50
|
+
propId?: string;
|
|
51
|
+
width?: number;
|
|
52
|
+
parentPropId?: string;
|
|
53
|
+
isLink?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface Setting {
|
|
56
|
+
propertyId: number;
|
|
57
|
+
isContent: boolean;
|
|
58
|
+
isHtml: boolean;
|
|
59
|
+
row: number;
|
|
60
|
+
column: number;
|
|
61
|
+
isPlainText: any;
|
|
62
|
+
isSignature: any;
|
|
63
|
+
display: number;
|
|
64
|
+
minimum: any;
|
|
65
|
+
maximum: any;
|
|
66
|
+
numberOfDecimalPlaces: number;
|
|
67
|
+
isPercentages: boolean;
|
|
68
|
+
currencyFormat: boolean;
|
|
69
|
+
isSumGrid: boolean;
|
|
70
|
+
isDateOnly: boolean;
|
|
71
|
+
defaultValue: boolean;
|
|
72
|
+
allowMultiple: boolean;
|
|
73
|
+
peopleOnly: boolean;
|
|
74
|
+
formula: any;
|
|
75
|
+
apiUrl: any;
|
|
76
|
+
apiType: number;
|
|
77
|
+
apiSecretKey: any;
|
|
78
|
+
apiLabelColumn: any;
|
|
79
|
+
apiValueColumn: any;
|
|
80
|
+
debounce: any;
|
|
81
|
+
filterByProperty: any;
|
|
82
|
+
extendField: any;
|
|
83
|
+
filterByColumn: any;
|
|
84
|
+
fromWeb: number;
|
|
85
|
+
informationFrom: any;
|
|
86
|
+
inThisColumn: any;
|
|
87
|
+
allowInput: boolean;
|
|
88
|
+
retrievedByTheRelatedProcess: boolean;
|
|
89
|
+
choices: any[];
|
|
90
|
+
id: number;
|
|
91
|
+
createdBy: any;
|
|
92
|
+
createdTime: any;
|
|
93
|
+
lastModified: any;
|
|
94
|
+
modifiedBy: any;
|
|
95
|
+
isDeleted: boolean;
|
|
96
|
+
}
|
|
97
|
+
export interface IReportBaseModel {
|
|
98
|
+
title: string;
|
|
99
|
+
titleEN?: string;
|
|
100
|
+
workflowId: number;
|
|
101
|
+
description: string;
|
|
102
|
+
seenPermission: string | string[];
|
|
103
|
+
startDate: Date | dayjs.Dayjs;
|
|
104
|
+
endDate: Date | dayjs.Dayjs;
|
|
105
|
+
reportId: string;
|
|
106
|
+
reportBaseColumns: ReportBaseColumn[];
|
|
107
|
+
reportBaseFilters: any[];
|
|
108
|
+
id: number;
|
|
109
|
+
createdBy: string;
|
|
110
|
+
createdTime: string;
|
|
111
|
+
lastModified: Date;
|
|
112
|
+
modifiedBy: string;
|
|
113
|
+
isDeleted: boolean;
|
|
114
|
+
isActived: boolean;
|
|
115
|
+
imageId?: string;
|
|
116
|
+
groupBy?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface ReportBaseColumn {
|
|
119
|
+
title: string;
|
|
120
|
+
reportBaseId: number;
|
|
121
|
+
propertyId: number;
|
|
122
|
+
propertyName: string;
|
|
123
|
+
sqlQuery: string;
|
|
124
|
+
order: number;
|
|
125
|
+
id: number;
|
|
126
|
+
createdBy: any;
|
|
127
|
+
createdTime: any;
|
|
128
|
+
lastModified: any;
|
|
129
|
+
modifiedBy: any;
|
|
130
|
+
isDeleted: boolean;
|
|
131
|
+
filterSqls?: FilterSql[];
|
|
132
|
+
type: string;
|
|
133
|
+
width?: number;
|
|
134
|
+
propId?: string;
|
|
135
|
+
isLink?: boolean;
|
|
136
|
+
}
|
|
137
|
+
export interface ReportBaseFilter {
|
|
138
|
+
title: any;
|
|
139
|
+
reportBaseId: number;
|
|
140
|
+
filterSqlMapId: number;
|
|
141
|
+
propertyId: number;
|
|
142
|
+
propertyName: string;
|
|
143
|
+
defaultValue: any;
|
|
144
|
+
type: FieldType;
|
|
145
|
+
allowUserChange: boolean;
|
|
146
|
+
apiUrl: any;
|
|
147
|
+
apiType: number;
|
|
148
|
+
apiSecretKey: any;
|
|
149
|
+
apiLabelColumn: any;
|
|
150
|
+
apiValueColumn: any;
|
|
151
|
+
debounce: any;
|
|
152
|
+
fromWeb: number;
|
|
153
|
+
informationFrom: any;
|
|
154
|
+
inThisColumn: any;
|
|
155
|
+
filterSqlMap: any;
|
|
156
|
+
reportBaseFilterOptions?: ReportBaseFilterOption[];
|
|
157
|
+
id: number;
|
|
158
|
+
createdBy: any;
|
|
159
|
+
createdTime: Date;
|
|
160
|
+
lastModified: Date;
|
|
161
|
+
modifiedBy: any;
|
|
162
|
+
isDeleted: boolean;
|
|
163
|
+
allowMultiple: boolean;
|
|
164
|
+
propId?: string;
|
|
165
|
+
}
|
|
166
|
+
export interface ReportBaseFilterOption {
|
|
167
|
+
id: number;
|
|
168
|
+
createdBy: string;
|
|
169
|
+
createdTime: Date;
|
|
170
|
+
lastModified: Date;
|
|
171
|
+
modifiedBy: string;
|
|
172
|
+
isDeleted: boolean;
|
|
173
|
+
reportBaseFilterId: number;
|
|
174
|
+
label: 'string';
|
|
175
|
+
value: string;
|
|
176
|
+
}
|
|
177
|
+
export interface FilterSql {
|
|
178
|
+
id: number;
|
|
179
|
+
createdBy: any;
|
|
180
|
+
createdTime: any;
|
|
181
|
+
isDeleted?: boolean;
|
|
182
|
+
lastModified?: Date;
|
|
183
|
+
modifiedBy?: string;
|
|
184
|
+
title?: string;
|
|
185
|
+
titleEN?: string;
|
|
186
|
+
type: FieldType;
|
|
187
|
+
}
|
|
188
|
+
export type FieldType = 'text' | 'input' | 'textarea' | 'editor' | 'checkbox' | 'radio' | 'select' | 'lookup' | 'date' | 'datetime' | 'number' | 'yesno' | 'currency' | 'api' | 'dropdown' | 'checkbox' | 'radio' | 'user' | 'variable';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IResourceBaseModel } from './ResourceModel';
|
|
2
|
+
export interface ResourceBaseFavouriteModel {
|
|
3
|
+
resourceBaseId: number;
|
|
4
|
+
userId: number;
|
|
5
|
+
resourceBase: IResourceBaseModel;
|
|
6
|
+
personalProfile: any;
|
|
7
|
+
id: number;
|
|
8
|
+
createdBy: string;
|
|
9
|
+
createdTime: string;
|
|
10
|
+
lastModified: any;
|
|
11
|
+
modifiedBy: any;
|
|
12
|
+
isDeleted: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CheckboxType, RadioType } from './DynamicWorkflowModel';
|
|
2
|
+
import { FieldType, FilterSql } from './ResourceModel';
|
|
3
|
+
import { SelectOption } from './ui';
|
|
4
|
+
export interface ResourceFormFormatModel {
|
|
5
|
+
id: number;
|
|
6
|
+
propertyName: string;
|
|
7
|
+
title: string;
|
|
8
|
+
titleEN: string;
|
|
9
|
+
type: FieldType;
|
|
10
|
+
allowMultiple: boolean;
|
|
11
|
+
radioItems: RadioType[];
|
|
12
|
+
checkboxItems: CheckboxType[];
|
|
13
|
+
selectItems: SelectOption[];
|
|
14
|
+
lookupItems: SelectOption[];
|
|
15
|
+
dropdownItems: SelectOption[];
|
|
16
|
+
filterSqlMap: FilterSql;
|
|
17
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import dayjs from 'dayjs';
|
|
2
|
+
export interface ResourcePropertyModel {
|
|
3
|
+
isDefault: boolean;
|
|
4
|
+
sqlQuery: string;
|
|
5
|
+
name: string;
|
|
6
|
+
label: string;
|
|
7
|
+
labelEN: any;
|
|
8
|
+
isRequired: boolean;
|
|
9
|
+
isViewOnly: boolean;
|
|
10
|
+
isSingle: boolean;
|
|
11
|
+
isMultiLine: boolean;
|
|
12
|
+
isChoice: boolean;
|
|
13
|
+
isNumber: boolean;
|
|
14
|
+
isCurrency: boolean;
|
|
15
|
+
isDateAndTime: boolean;
|
|
16
|
+
isLookup: boolean;
|
|
17
|
+
isYesNo: boolean;
|
|
18
|
+
isUser: boolean;
|
|
19
|
+
isCalculated: boolean;
|
|
20
|
+
isApi: boolean;
|
|
21
|
+
isMasterDetail: boolean;
|
|
22
|
+
styleClass: any;
|
|
23
|
+
executeJS: any;
|
|
24
|
+
visibleCondition: any;
|
|
25
|
+
description: any;
|
|
26
|
+
order: number;
|
|
27
|
+
defaultValue: any;
|
|
28
|
+
defaultTypeId: any;
|
|
29
|
+
ignoreInResource: boolean;
|
|
30
|
+
settingId: number;
|
|
31
|
+
workflowId: number;
|
|
32
|
+
isHideInCollapsing: any;
|
|
33
|
+
orderInResource: number;
|
|
34
|
+
widthInResource: number;
|
|
35
|
+
checkDuplicateResourceInTime: boolean;
|
|
36
|
+
isEditDisabledWhenReturnAndRecall: boolean;
|
|
37
|
+
isAllowUserAuthorized: boolean;
|
|
38
|
+
isUnique: boolean;
|
|
39
|
+
defaultType: any;
|
|
40
|
+
setting: Setting;
|
|
41
|
+
id: number;
|
|
42
|
+
createdBy: string;
|
|
43
|
+
createdTime: string;
|
|
44
|
+
lastModified: string;
|
|
45
|
+
modifiedBy: string;
|
|
46
|
+
isDeleted: boolean;
|
|
47
|
+
filterSqls?: FilterSql[];
|
|
48
|
+
type?: FieldType;
|
|
49
|
+
childProperties: ResourcePropertyModel[];
|
|
50
|
+
propId?: string;
|
|
51
|
+
width?: number;
|
|
52
|
+
parentPropId?: string;
|
|
53
|
+
isLink?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface Setting {
|
|
56
|
+
propertyId: number;
|
|
57
|
+
isContent: boolean;
|
|
58
|
+
isHtml: boolean;
|
|
59
|
+
row: number;
|
|
60
|
+
column: number;
|
|
61
|
+
isPlainText: any;
|
|
62
|
+
isSignature: any;
|
|
63
|
+
display: number;
|
|
64
|
+
minimum: any;
|
|
65
|
+
maximum: any;
|
|
66
|
+
numberOfDecimalPlaces: number;
|
|
67
|
+
isPercentages: boolean;
|
|
68
|
+
currencyFormat: boolean;
|
|
69
|
+
isSumGrid: boolean;
|
|
70
|
+
isDateOnly: boolean;
|
|
71
|
+
defaultValue: boolean;
|
|
72
|
+
allowMultiple: boolean;
|
|
73
|
+
peopleOnly: boolean;
|
|
74
|
+
formula: any;
|
|
75
|
+
apiUrl: any;
|
|
76
|
+
apiType: number;
|
|
77
|
+
apiSecretKey: any;
|
|
78
|
+
apiLabelColumn: any;
|
|
79
|
+
apiValueColumn: any;
|
|
80
|
+
debounce: any;
|
|
81
|
+
filterByProperty: any;
|
|
82
|
+
extendField: any;
|
|
83
|
+
filterByColumn: any;
|
|
84
|
+
fromWeb: number;
|
|
85
|
+
informationFrom: any;
|
|
86
|
+
inThisColumn: any;
|
|
87
|
+
allowInput: boolean;
|
|
88
|
+
retrievedByTheRelatedProcess: boolean;
|
|
89
|
+
choices: any[];
|
|
90
|
+
id: number;
|
|
91
|
+
createdBy: any;
|
|
92
|
+
createdTime: any;
|
|
93
|
+
lastModified: any;
|
|
94
|
+
modifiedBy: any;
|
|
95
|
+
isDeleted: boolean;
|
|
96
|
+
}
|
|
97
|
+
export interface CreateResourceBaseModel {
|
|
98
|
+
title: string;
|
|
99
|
+
titleEN?: string;
|
|
100
|
+
workflowId: number;
|
|
101
|
+
isActived: boolean;
|
|
102
|
+
categoryId?: number;
|
|
103
|
+
}
|
|
104
|
+
export interface IResourceBaseModel {
|
|
105
|
+
title: string;
|
|
106
|
+
titleEN?: string;
|
|
107
|
+
workflowId: number;
|
|
108
|
+
description: string;
|
|
109
|
+
seenPermission: string | string[];
|
|
110
|
+
startDate: Date | dayjs.Dayjs;
|
|
111
|
+
endDate: Date | dayjs.Dayjs;
|
|
112
|
+
resourceId: string;
|
|
113
|
+
resourceBaseColumns: ResourceBaseColumn[];
|
|
114
|
+
resourceBaseFilters: any[];
|
|
115
|
+
id: number;
|
|
116
|
+
createdBy: string;
|
|
117
|
+
createdTime: string;
|
|
118
|
+
lastModified: Date;
|
|
119
|
+
modifiedBy: string;
|
|
120
|
+
isDeleted: boolean;
|
|
121
|
+
isActived: boolean;
|
|
122
|
+
imageId?: string;
|
|
123
|
+
groupBy?: string;
|
|
124
|
+
categoryId?: number;
|
|
125
|
+
}
|
|
126
|
+
export interface ResourceBaseColumn {
|
|
127
|
+
title: string;
|
|
128
|
+
resourceBaseId: number;
|
|
129
|
+
propertyId: number;
|
|
130
|
+
propertyName: string;
|
|
131
|
+
sqlQuery: string;
|
|
132
|
+
order: number;
|
|
133
|
+
id: number;
|
|
134
|
+
createdBy: any;
|
|
135
|
+
createdTime: any;
|
|
136
|
+
lastModified: any;
|
|
137
|
+
modifiedBy: any;
|
|
138
|
+
isDeleted: boolean;
|
|
139
|
+
filterSqls?: FilterSql[];
|
|
140
|
+
type: string;
|
|
141
|
+
width?: number;
|
|
142
|
+
propId?: string;
|
|
143
|
+
isLink?: boolean;
|
|
144
|
+
}
|
|
145
|
+
export interface ResourceBaseFilter {
|
|
146
|
+
title: any;
|
|
147
|
+
resourceBaseId: number;
|
|
148
|
+
filterSqlMapId: number;
|
|
149
|
+
propertyId: number;
|
|
150
|
+
propertyName: string;
|
|
151
|
+
defaultValue: any;
|
|
152
|
+
type: FieldType;
|
|
153
|
+
allowUserChange: boolean;
|
|
154
|
+
apiUrl: any;
|
|
155
|
+
apiType: number;
|
|
156
|
+
apiSecretKey: any;
|
|
157
|
+
apiLabelColumn: any;
|
|
158
|
+
apiValueColumn: any;
|
|
159
|
+
debounce: any;
|
|
160
|
+
fromWeb: number;
|
|
161
|
+
informationFrom: any;
|
|
162
|
+
inThisColumn: any;
|
|
163
|
+
filterSqlMap: any;
|
|
164
|
+
resourceBaseFilterOptions: ResourceBaseFilterOption[];
|
|
165
|
+
id: number;
|
|
166
|
+
createdBy: any;
|
|
167
|
+
createdTime: Date;
|
|
168
|
+
lastModified: Date;
|
|
169
|
+
modifiedBy: any;
|
|
170
|
+
isDeleted: boolean;
|
|
171
|
+
allowMultiple: boolean;
|
|
172
|
+
propId?: string;
|
|
173
|
+
}
|
|
174
|
+
export interface ResourceBaseFilterOption {
|
|
175
|
+
id: number;
|
|
176
|
+
createdBy: string;
|
|
177
|
+
createdTime: Date;
|
|
178
|
+
lastModified: Date;
|
|
179
|
+
modifiedBy: string;
|
|
180
|
+
isDeleted: boolean;
|
|
181
|
+
resourceBaseFilterId: number;
|
|
182
|
+
label: 'string';
|
|
183
|
+
value: string;
|
|
184
|
+
}
|
|
185
|
+
export interface FilterSql {
|
|
186
|
+
id: number;
|
|
187
|
+
createdBy: any;
|
|
188
|
+
createdTime: any;
|
|
189
|
+
isDeleted?: boolean;
|
|
190
|
+
lastModified?: Date;
|
|
191
|
+
modifiedBy?: string;
|
|
192
|
+
title?: string;
|
|
193
|
+
titleEN?: string;
|
|
194
|
+
type: FieldType;
|
|
195
|
+
reportDashboardId?: number;
|
|
196
|
+
filterSqlMapId?: number;
|
|
197
|
+
allowMultiple?: boolean;
|
|
198
|
+
isDateOnly?: boolean;
|
|
199
|
+
allowUserChange?: boolean;
|
|
200
|
+
apiType?: number;
|
|
201
|
+
fromWeb?: number;
|
|
202
|
+
reportDashboardFilterOptions?: any[];
|
|
203
|
+
}
|
|
204
|
+
export type FieldType = 'text' | 'input' | 'textarea' | 'editor' | 'checkbox' | 'radio' | 'select' | 'lookup' | 'date' | 'datetime' | 'number' | 'yesno' | 'currency' | 'api' | 'dropdown' | 'checkbox' | 'radio' | 'user' | 'variable';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface IStepRelatedModel {
|
|
2
|
+
code: string;
|
|
3
|
+
title: string;
|
|
4
|
+
status: number;
|
|
5
|
+
version?: any;
|
|
6
|
+
createPermission?: any;
|
|
7
|
+
seenPermission?: any;
|
|
8
|
+
imageId: number;
|
|
9
|
+
imagePath?: any;
|
|
10
|
+
isAttachmentActive: boolean;
|
|
11
|
+
allowAttachmentExtensions?: any;
|
|
12
|
+
maximumSizeSingle: number;
|
|
13
|
+
maximumSizeTotal: number;
|
|
14
|
+
categoryId?: any;
|
|
15
|
+
categoryName?: any;
|
|
16
|
+
order?: any;
|
|
17
|
+
isDetail: boolean;
|
|
18
|
+
startDate?: any;
|
|
19
|
+
endDate?: any;
|
|
20
|
+
workflowType: number;
|
|
21
|
+
category?: any;
|
|
22
|
+
properties: any[];
|
|
23
|
+
id: number;
|
|
24
|
+
createdBy: string;
|
|
25
|
+
createdTime: Date;
|
|
26
|
+
lastModified: Date;
|
|
27
|
+
modifiedBy: string;
|
|
28
|
+
isDeleted: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { WorkflowModel } from "./WorkflowModel";
|
|
2
|
+
import { WorkflowStepModel } from "./WorkflowStepModel";
|
|
3
|
+
export interface ISubUserWorkflowModel {
|
|
4
|
+
userId?: number;
|
|
5
|
+
workflowId: number;
|
|
6
|
+
workflowCode: string;
|
|
7
|
+
workflowStepId: number;
|
|
8
|
+
shortContent: string;
|
|
9
|
+
content: string;
|
|
10
|
+
note: string;
|
|
11
|
+
status: string;
|
|
12
|
+
isDraft: boolean;
|
|
13
|
+
userWorkflowStatus: number;
|
|
14
|
+
workflow: WorkflowModel;
|
|
15
|
+
user?: any;
|
|
16
|
+
userWorkflowSteps?: any;
|
|
17
|
+
id: number;
|
|
18
|
+
createdBy: string;
|
|
19
|
+
createdTime: Date;
|
|
20
|
+
lastModified?: any;
|
|
21
|
+
modifiedBy?: any;
|
|
22
|
+
isDeleted: boolean;
|
|
23
|
+
approver?: string;
|
|
24
|
+
approvalDate?: Date;
|
|
25
|
+
workflowStep?: WorkflowStepModel;
|
|
26
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EngineEntity } from "./EngineEntity";
|
|
2
|
+
import { PersonalProfileModel } from "./PersonalProfileModel";
|
|
3
|
+
export interface SupportContactModel extends EngineEntity {
|
|
4
|
+
title: string;
|
|
5
|
+
phoneNumber: string;
|
|
6
|
+
personalProfileId: number;
|
|
7
|
+
personalProfile?: PersonalProfileModel;
|
|
8
|
+
personalProfileName?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type TriggerType = 'schedule' | 'form';
|
|
2
|
+
export type TriggerRole = 'type' | 'condition' | 'action';
|
|
3
|
+
export type TriggerTimeUnit = 'minutes' | 'days' | 'hours' | 'weeks' | 'months' | 'years';
|
|
4
|
+
export type DaysOfWeek = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
|
5
|
+
export interface SelectTriggerModel {
|
|
6
|
+
key: TriggerType;
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
export interface TriggerModel {
|
|
10
|
+
id: number;
|
|
11
|
+
label: string;
|
|
12
|
+
labelEN?: string;
|
|
13
|
+
type: TriggerType;
|
|
14
|
+
triggerAt?: any;
|
|
15
|
+
triggerEvery?: number;
|
|
16
|
+
timeUnit?: TriggerTimeUnit;
|
|
17
|
+
daysOfWeek?: DaysOfWeek;
|
|
18
|
+
role: TriggerRole;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UserWorkflowChangelogType } from "./enums/UserWorkflowChangelogType";
|
|
2
|
+
export interface UserCheckListChangelogModel {
|
|
3
|
+
userWorkflowId: number;
|
|
4
|
+
userId: number;
|
|
5
|
+
description: string;
|
|
6
|
+
name: string;
|
|
7
|
+
actionType: UserWorkflowChangelogType;
|
|
8
|
+
id: number;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
createdTime: Date;
|
|
11
|
+
lastModified: Date;
|
|
12
|
+
modifiedBy: string;
|
|
13
|
+
isDeleted: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface UserCheckListModel {
|
|
2
|
+
workflowId: number;
|
|
3
|
+
userWorkflowId: number;
|
|
4
|
+
checkListId: number;
|
|
5
|
+
name: string;
|
|
6
|
+
fileUrl: string;
|
|
7
|
+
note: string;
|
|
8
|
+
path: string;
|
|
9
|
+
type: string;
|
|
10
|
+
id: number;
|
|
11
|
+
createdBy: string;
|
|
12
|
+
createdTime: Date;
|
|
13
|
+
lastModified: Date;
|
|
14
|
+
modifiedBy: string;
|
|
15
|
+
isDeleted: boolean;
|
|
16
|
+
documentTypeTitle: string;
|
|
17
|
+
documentTypeTitleEN: string;
|
|
18
|
+
createdByName: string;
|
|
19
|
+
modifiedByName: string;
|
|
20
|
+
isAllowEdit: boolean;
|
|
21
|
+
isOnlyAllowedAttachedAfterApproving: boolean;
|
|
22
|
+
isSignaturedManually: boolean;
|
|
23
|
+
pdfFileUrl: string;
|
|
24
|
+
isAutoAttached?: boolean;
|
|
25
|
+
position?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface IUserModel {
|
|
2
|
+
accountId: string;
|
|
3
|
+
accountName: string;
|
|
4
|
+
name: string;
|
|
5
|
+
fullName: string;
|
|
6
|
+
departmentId: number;
|
|
7
|
+
managerId?: any;
|
|
8
|
+
positionId: number;
|
|
9
|
+
gender: boolean;
|
|
10
|
+
birthDay?: any;
|
|
11
|
+
address: string;
|
|
12
|
+
staffId: string;
|
|
13
|
+
dateOfHire: Date;
|
|
14
|
+
mobile: string;
|
|
15
|
+
email: string;
|
|
16
|
+
imagePath?: any;
|
|
17
|
+
signatureUserName: string;
|
|
18
|
+
signaturePassword: string;
|
|
19
|
+
signatureTitle?: any;
|
|
20
|
+
signatureEmail?: any;
|
|
21
|
+
enableSignature: boolean;
|
|
22
|
+
enableEmail: boolean;
|
|
23
|
+
enableNotification: boolean;
|
|
24
|
+
userStatus: number;
|
|
25
|
+
department?: any;
|
|
26
|
+
manager?: any;
|
|
27
|
+
position?: any;
|
|
28
|
+
groups?: any;
|
|
29
|
+
id?: number;
|
|
30
|
+
createdBy: string;
|
|
31
|
+
createdTime: Date;
|
|
32
|
+
lastModified?: any;
|
|
33
|
+
modifiedBy?: any;
|
|
34
|
+
isDeleted: boolean;
|
|
35
|
+
userLevel?: number;
|
|
36
|
+
}
|