@fewangsit/wangsvue 1.5.216-alpha.0 → 1.5.217-alpha.0
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/components/animation/Animation.vue.d.ts +9 -1
- package/components/badge/Badge.vue.d.ts +1 -1
- package/components/badgegroup/BadgeGroup.vue.d.ts +3 -1
- package/components/basetree/BaseTree.vue.d.ts +7 -2
- package/components/button/Button.vue.d.ts +4 -3
- package/components/buttonImportExcel/ButtonImportExcel.vue.d.ts +1 -1
- package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +1 -0
- package/components/buttondownload/ButtonDownload.vue.d.ts +31 -0
- package/components/buttonradio/ButtonRadio.vue.d.ts +2 -1
- package/components/buttonscan/ButtonScan.vue.d.ts +3 -2
- package/components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts +2 -0
- package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +11 -1
- package/components/buttonsplit/ButtonSplit.vue.d.ts +10 -7
- package/components/buttonsync/ButtonSync.vue.d.ts +1 -1
- package/components/buttontoggle/ButtonToggle.vue.d.ts +1 -0
- package/components/card/Card.vue.d.ts +2 -1
- package/components/changelog/Changelog.vue.d.ts +7 -5
- package/components/changelogpage/ChangelogPage.vue.d.ts +10 -3
- package/components/checkbox/Checkbox.vue.d.ts +2 -1
- package/components/comment/Comment.vue.d.ts +3 -4
- package/components/customcolumn/CustomColumn.vue.d.ts +1 -1
- package/components/datatable/DataTable.vue.d.ts +14 -4
- package/components/detailmember/DetailMember.vue.d.ts +2 -2
- package/components/detailsprint/DetailSprint.vue.d.ts +2 -2
- package/components/detailsprint/helpers/updateSprintStatus.util.d.ts +7 -2
- package/components/detailsprint/options/quickFilterFields.d.ts +5 -2
- package/components/dialog/Dialog.vue.d.ts +1 -1
- package/components/{dialogAdjustmentTask → dialogadjustmenttask}/DialogAdjustmentTask.vue.d.ts +5 -5
- package/components/dialogadjustmenttask/options/dialogAdjustmentTaskBulkAction.d.ts +7 -0
- package/components/dialogadjustmenttask/options/dialogAdjustmentTaskSingleAction.d.ts +7 -0
- package/components/dialogadjustmenttask/options/dialogAdjustmentTaskTableColumn.d.ts +2 -0
- package/components/dialogconfirm/DialogConfirm.vue.d.ts +3 -2
- package/components/dialogdetailcomponent/DialogDetailComponent.vue.d.ts +1 -1
- package/components/dialogdetailpbi/DialogDetailPbi.vue.d.ts +3 -3
- package/components/dialogform/DialogForm.vue.d.ts +1 -1
- package/components/dialogimprovementtask/DialogImprovementTask.vue.d.ts +1 -2
- package/components/{detailsprint → dialogpreparepbi}/DialogPreparePbi.vue.d.ts +2 -2
- package/components/dialogselecttree/DialogSelectTree.vue.d.ts +14 -3
- package/components/dropdown/Dropdown.vue.d.ts +22 -3
- package/components/editor/Editor.vue.d.ts +2 -1
- package/components/fieldwrapper/FieldWrapper.vue.d.ts +19 -2
- package/components/fileupload/FileUpload.vue.d.ts +2 -1
- package/components/filtercontainer/FilterContainer.vue.d.ts +103 -67
- package/components/form/Form.vue.d.ts +5 -2
- package/components/icon/Icon.vue.d.ts +4 -1
- package/components/image/Image.vue.d.ts +9 -1
- package/components/imagecompressor/ImageCompressor.vue.d.ts +9 -1
- package/components/index.d.ts +32 -30
- package/components/inlinemessage/InlineMessage.vue.d.ts +1 -1
- package/components/inputbadge/InputBadge.vue.d.ts +1 -1
- package/components/inputcurrency/InputCurrency.vue.d.ts +1 -1
- package/components/inputcurrency/helpers/currency.helper.d.ts +5 -1
- package/components/inputemail/InputEmail.vue.d.ts +1 -0
- package/components/inputinitialname/InputInitialName.vue.d.ts +1 -2
- package/components/inputnumber/InputNumber.vue.d.ts +6 -0
- package/components/inputpassword/InputPassword.vue.d.ts +1 -0
- package/components/inputrangenumber/InputRangeNumber.vue.d.ts +1 -0
- package/components/inputrepositoryname/InputRepositoryName.vue.d.ts +2 -3
- package/components/inputtext/InputText.vue.d.ts +2 -1
- package/components/inputurl/InputURL.vue.d.ts +4 -2
- package/components/invisiblefield/InvisibleField.vue.d.ts +1 -1
- package/components/languagedropdown/LanguageDropdown.vue.d.ts +3 -2
- package/components/litedropdown/LiteDropdown.vue.d.ts +4 -2
- package/components/loading/store/loading.store.d.ts +3 -3
- package/components/menu/Menu.vue.d.ts +3 -2
- package/components/multiselect/MultiSelect.vue.d.ts +3 -2
- package/components/notificationitem/NotificationItem.vue.d.ts +4 -3
- package/components/notificationitem/helpers/goToDetail.helper.d.ts +13 -4
- package/components/overlaypanel/OverlayPanel.vue.d.ts +2 -1
- package/components/paginator/Paginator.vue.d.ts +285 -0
- package/components/progressbar/ProgressBar.vue.d.ts +2 -1
- package/components/quickfilter/QuickFilter.vue.d.ts +2 -1
- package/components/summaryaccordion/SummaryAccordion.vue.d.ts +3 -3
- package/components/tabmenu/TabMenu.vue.d.ts +7 -191
- package/components/taskdetail/TaskDetail.vue.d.ts +4 -2
- package/components/taskdetail/blocks/sections/API/TestApi/options/keyValueTableColumn.d.ts +1 -1
- package/components/{dialogdetailpbi → taskdetailpbi}/TaskDetailPbi.vue.d.ts +3 -3
- package/components/taskdetailpbi/options/memberFilterFields.d.ts +7 -0
- package/components/taskdetailpbi/options/taskQuickFilterFields.d.ts +6 -0
- package/components/tasktable/TaskTable.vue.d.ts +2 -2
- package/components/textarea/Textarea.vue.d.ts +2 -1
- package/components/timeline/Timeline.vue.d.ts +22 -3
- package/components/toast/Toast.vue.d.ts +3 -2
- package/components/toggleswitch/ToggleSwitch.vue.d.ts +2 -1
- package/components/tree/Tree.vue.d.ts +9 -3
- package/components/ts-helpers.d.ts +8 -0
- package/components/usergroup/UserGroup.vue.d.ts +1 -1
- package/components/username/UserName.vue.d.ts +9 -4
- package/components/workcalendar/WorkCalendar.vue.d.ts +0 -1
- package/config/defaultProps.d.ts +1 -1
- package/config/index.d.ts +1 -1
- package/config/locale.d.ts +1 -1
- package/directives/focus.d.ts +1 -1
- package/dto/member.dto.d.ts +52 -52
- package/dto/task.dto.d.ts +65 -65
- package/dto/taskApi.dto.d.ts +15 -15
- package/dto/taskAttachment.dto.d.ts +5 -5
- package/dto/taskChecklist.dto.d.ts +23 -23
- package/dto/taskDependency.dto.d.ts +4 -4
- package/event-bus/index.d.ts +59 -56
- package/event-bus/mitt.d.ts +29 -14
- package/main.d.ts +30 -2
- package/no-data-CTKux8RI.js +4 -0
- package/no-data-Dep79CBh.js +1 -0
- package/package.json +19 -8
- package/plugins/WangsVue.d.ts +276 -214
- package/plugins/formValidation.d.ts +16 -6
- package/services/calendar.service.d.ts +4 -4
- package/stats.html +4949 -0
- package/style.css +4 -2
- package/types/member.type.d.ts +68 -59
- package/types/project.type.d.ts +52 -52
- package/types/projectApproval.type.d.ts +1 -1
- package/types/projectModule.type.d.ts +4 -4
- package/types/projectProcess.type.d.ts +12 -12
- package/types/projectQc.type.d.ts +38 -38
- package/types/projectSubmodule.type.d.ts +8 -8
- package/types/queryParamsStringfy.type.d.ts +1 -1
- package/types/roleDetailAccess.type.d.ts +13 -13
- package/types/subModule.type.d.ts +2 -2
- package/types/task.type.d.ts +196 -196
- package/types/team.type.d.ts +2 -2
- package/types/ticket.type.d.ts +16 -9
- package/types/user.type.d.ts +15 -15
- package/types/wangsStatus.type.d.ts +40 -6
- package/utils/addAttachment.util.d.ts +28 -12
- package/utils/convertJsonImage.util.d.ts +4 -2
- package/utils/date.util.d.ts +64 -31
- package/utils/exportToExcel.util.d.ts +23 -16
- package/utils/genPlaceholder.util.d.ts +7 -2
- package/utils/getProjectPermission.util.d.ts +4 -1
- package/utils/getSalesRole.util.d.ts +26 -26
- package/utils/index.d.ts +17 -14
- package/utils/object.util.d.ts +14 -3
- package/utils/queryParamsStringfy.util.d.ts +4 -2
- package/utils/role.util.d.ts +5 -1
- package/utils/statusSeverity.util.d.ts +4 -2
- package/utils/toast.util.d.ts +78 -78
- package/utils/xlsx.util.d.ts +19 -0
- package/wangsvue.js +66286 -0
- package/wangsvue.system.js +73 -258
- package/assets/json/currencies.json.d.ts +0 -1068
- package/assets/json/emoji-by-group.json.d.ts +0 -15629
- package/assets/lottie/admin/loading-page.lottie +0 -0
- package/assets/lottie/admin/loading-table.lottie +0 -0
- package/assets/lottie/admin/no-data.lottie +0 -0
- package/assets/lottie/supplyasset/loading-page.lottie +0 -0
- package/assets/lottie/supplyasset/loading-table.lottie +0 -0
- package/assets/lottie/supplyasset/no-data.lottie +0 -0
- package/assets/lottie/workspace/loading-page.lottie +0 -0
- package/assets/lottie/workspace/loading-plane.lottie +0 -0
- package/assets/lottie/workspace/loading-table.lottie +0 -0
- package/assets/lottie/workspace/no-data.lottie +0 -0
- package/build-entry.d.ts +0 -13
- package/components/approverinfo/ApproverInfo.vue.d.ts +0 -51
- package/components/buttonscan/helpers/getErrorCode.helper.d.ts +0 -3
- package/components/buttonscan/helpers/index.d.ts +0 -1
- package/components/buttonscan/workers/scanner.worker.d.ts +0 -1
- package/components/calendar/BaseCalendar.vue.d.ts +0 -96
- package/components/calendar/Calendar.vue.d.ts +0 -597
- package/components/changelogpage/ChangelogFilter.vue.d.ts +0 -16
- package/components/comment/CommentBlock.vue.d.ts +0 -35
- package/components/customcolumn/ColumnList.vue.d.ts +0 -27
- package/components/customcolumn/helpers/setVisibilityColumn.helper.d.ts +0 -12
- package/components/datatable/MultiRow.vue.d.ts +0 -16
- package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +0 -1
- package/components/datatable/helpers/filter.helper.d.ts +0 -28
- package/components/datatable/helpers/index.d.ts +0 -3
- package/components/datatable/helpers/readConfig.helper.d.ts +0 -2
- package/components/datatable/store/dataTable.store.d.ts +0 -22
- package/components/detailmember/DetailMemberAdmin.vue.d.ts +0 -18
- package/components/detailmember/DetailMemberLeader.vue.d.ts +0 -15
- package/components/detailmember/DetailMemberLog.vue.d.ts +0 -15
- package/components/detailmember/DialogMemberAdmin.vue.d.ts +0 -23
- package/components/detailsprint/DialogAddPbi.vue.d.ts +0 -24
- package/components/detailsprint/DialogConfirmSprint.vue.d.ts +0 -24
- package/components/detailsprint/SprintSummary.vue.d.ts +0 -15
- package/components/dialogAdjustmentTask/DialogAdjustmentTaskHeader.vue.d.ts +0 -27
- package/components/dialogAdjustmentTask/common/TaskDependency.vue.d.ts +0 -12
- package/components/dialogAdjustmentTask/common/TaskStatusBadge.vue.d.ts +0 -16
- package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskBulkAction.d.ts +0 -3
- package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskSingleAction.d.ts +0 -3
- package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskTableColumn.d.ts +0 -2
- package/components/dialogdetailpbi/AssignMember.vue.d.ts +0 -30
- package/components/dialogdetailpbi/TaskDetailUnassignedPbi.vue.d.ts +0 -27
- package/components/dialogdetailpbi/options/memberFilterFields.d.ts +0 -2
- package/components/dialogdetailpbi/options/taskQuickFilterFields.d.ts +0 -3
- package/components/dialogreportbug/DialogReportBug.vue.d.ts +0 -25
- package/components/dialogreportbug/imageData.json.d.ts +0 -28
- package/components/editor/CodeSnippetAdapter.vue.d.ts +0 -92
- package/components/editor/EditorButton.vue.d.ts +0 -15
- package/components/editor/MentionList.vue.d.ts +0 -35
- package/components/editor/MentionSection.vue.d.ts +0 -92
- package/components/editor/codeSnippetExtension.d.ts +0 -3
- package/components/editor/mentionSectionExtension.d.ts +0 -3
- package/components/editor/suggestion.d.ts +0 -2
- package/components/filtercontainer/helpers/applyFilter.helper.d.ts +0 -5
- package/components/filtercontainer/helpers/getOption.helper.d.ts +0 -3
- package/components/hardwaresync/HardwareSync.vue.d.ts +0 -30
- package/components/hardwaresync/store/device.store.d.ts +0 -36
- package/components/helpers/convertToArrayClass.helper.d.ts +0 -2
- package/components/helpers/index.d.ts +0 -2
- package/components/helpers/label.d.ts +0 -15
- package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +0 -36
- package/components/imagecompressor/ImageInputInfo.vue.d.ts +0 -32
- package/components/inputgroup/InputGroup.vue.d.ts +0 -141
- package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +0 -8
- package/components/languagedropdown/LanguageDropdownOption.vue.d.ts +0 -18
- package/components/languageswitcher/LanguageSwitcher.vue.d.ts +0 -15
- package/components/menu/helpers/filterMenu.helper.d.ts +0 -12
- package/components/menu/helpers/index.d.ts +0 -1
- package/components/menuitem/MenuItem.vue.d.ts +0 -19
- package/components/notificationitem/dialogs/ConfirmDeploy.vue.d.ts +0 -24
- package/components/tagtype/TagType.vue.d.ts +0 -21
- package/components/taskdetail/blocks/Tabs/DescriptionTab.vue.d.ts +0 -2
- package/components/taskdetail/blocks/Tabs/EventLogTab.vue.d.ts +0 -2
- package/components/taskdetail/blocks/Tabs/InfoTaskTab.vue.d.ts +0 -2
- package/components/taskdetail/blocks/Tabs/ReviewTab.vue.d.ts +0 -2
- package/components/taskdetail/blocks/common/AttachmentThumbnail.vue.d.ts +0 -18
- package/components/taskdetail/blocks/common/DialogAddAttachment.vue.d.ts +0 -32
- package/components/taskdetail/blocks/common/DialogAssignMember.vue.d.ts +0 -30
- package/components/taskdetail/blocks/common/DialogConfirmApproval.vue.d.ts +0 -26
- package/components/taskdetail/blocks/common/DialogConfirmDeleteTask.vue.d.ts +0 -28
- package/components/taskdetail/blocks/common/DialogConfirmEdit.vue.d.ts +0 -24
- package/components/taskdetail/blocks/common/DialogConfirmFinishTask.vue.d.ts +0 -24
- package/components/taskdetail/blocks/common/DialogPriorityValue.vue.d.ts +0 -21
- package/components/taskdetail/blocks/common/DialogSetDuration.vue.d.ts +0 -18
- package/components/taskdetail/blocks/common/InputAdditional.vue.d.ts +0 -30
- package/components/taskdetail/blocks/common/Legend.vue.d.ts +0 -79
- package/components/taskdetail/blocks/common/SonarQubeSummary.vue.d.ts +0 -17
- package/components/taskdetail/blocks/common/TaskMore.vue.d.ts +0 -16
- package/components/taskdetail/blocks/sections/API/API.vue.d.ts +0 -2
- package/components/taskdetail/blocks/sections/API/APIItem.vue.d.ts +0 -29
- package/components/taskdetail/blocks/sections/API/DialogAPIChangelog.vue.d.ts +0 -18
- package/components/taskdetail/blocks/sections/API/DialogAddEditApi.vue.d.ts +0 -25
- package/components/taskdetail/blocks/sections/API/DialogCopyApi.vue.d.ts +0 -22
- package/components/taskdetail/blocks/sections/API/DialogTestApi.vue.d.ts +0 -22
- package/components/taskdetail/blocks/sections/API/IsRequiredText.vue.d.ts +0 -15
- package/components/taskdetail/blocks/sections/API/ValueFormDataInput.vue.d.ts +0 -37
- package/components/taskdetail/blocks/sections/Attachment/Attachment.vue.d.ts +0 -2
- package/components/taskdetail/blocks/sections/Attachment/AttachmentChangelog.vue.d.ts +0 -18
- package/components/taskdetail/blocks/sections/Attachment/AttachmentItem.vue.d.ts +0 -65
- package/components/taskdetail/blocks/sections/Checklist/Checklist.vue.d.ts +0 -22
- package/components/taskdetail/blocks/sections/Checklist/ChecklistChangelog.vue.d.ts +0 -18
- package/components/taskdetail/blocks/sections/Checklist/DialogAddChecklist.vue.d.ts +0 -32
- package/components/taskdetail/blocks/sections/Checklist/DialogConfirmChecklist.vue.d.ts +0 -26
- package/components/taskdetail/blocks/sections/Checklist/DialogDetailChecklistTemplate.vue.d.ts +0 -18
- package/components/taskdetail/blocks/sections/Checklist/DialogSaveChecklistTemplate.vue.d.ts +0 -22
- package/components/taskdetail/blocks/sections/Description/Description.vue.d.ts +0 -2
- package/components/taskdetail/blocks/sections/Review/DialogFinishReview.vue.d.ts +0 -26
- package/components/taskdetail/blocks/sections/Review/DialogReviewLeader.vue.d.ts +0 -25
- package/components/taskdetail/blocks/sections/Review/ReviewItem.vue.d.ts +0 -16
- package/components/taskdetail/blocks/sections/TaskDependency/DialogCustomDependency.vue.d.ts +0 -20
- package/components/taskdetail/blocks/sections/TaskDependency/TaskDependency.vue.d.ts +0 -2
- package/components/taskdetail/blocks/sections/TaskLink/DialogSetTaskLink.vue.d.ts +0 -40
- package/components/taskdetail/blocks/sections/TaskLink/TaskLink.vue.d.ts +0 -2
- package/components/taskdetail/blocks/sections/TaskLink/TaskLinkChangelog.vue.d.ts +0 -22
- package/components/taskdetail/blocks/sections/TaskList/LegendList.vue.d.ts +0 -55
- package/components/taskdetail/blocks/sections/TaskList/TaskList.vue.d.ts +0 -15
- package/components/taskdetail/blocks/sections/Ticket/Ticket.vue.d.ts +0 -2
- package/components/tasktable/DependencyCol.vue.d.ts +0 -16
- package/components/tasktable/DialogConfirmDeleteTaskPermanently.vue.d.ts +0 -24
- package/components/tasktable/DialogConfirmRestoreTask.vue.d.ts +0 -24
- package/components/tasktable/DialogSelectProject.vue.d.ts +0 -20
- package/components/timeline/TimelineContentByType.vue.d.ts +0 -16
- package/components/tooltipspan/TooltipSpan.vue.d.ts +0 -20
- package/components/tree/helpers/filterNodeKeys.helper.d.ts +0 -16
- package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +0 -6
- package/components/tree/helpers/index.d.ts +0 -3
- package/index.d.ts +0 -2
- package/plugins/i18n.d.ts +0 -94
- package/utils/filterOptions.util.d.ts +0 -3
- package/utils/getAttachmentIcon.util.d.ts +0 -8
- package/utils/mergePropsWithDefaults.util.d.ts +0 -20
- package/utils/textFormatter.util.d.ts +0 -17
- package/wangsvue.es.js +0 -161460
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export type RoleMemberPermission = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
create: boolean;
|
|
3
|
+
read: boolean;
|
|
4
|
+
update: boolean;
|
|
5
|
+
delete: boolean;
|
|
6
6
|
};
|
|
7
7
|
export type RoleDetailAccess = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
superAdmin: RoleMemberPermission;
|
|
9
|
+
groupMember: RoleMemberPermission;
|
|
10
|
+
manageProject: RoleMemberPermission;
|
|
11
|
+
memberAdmin: RoleMemberPermission;
|
|
12
|
+
point: RoleMemberPermission;
|
|
13
|
+
process: RoleMemberPermission;
|
|
14
|
+
role: RoleMemberPermission;
|
|
15
|
+
sla: RoleMemberPermission;
|
|
16
|
+
teamAndMember: RoleMemberPermission;
|
|
17
17
|
};
|
package/types/task.type.d.ts
CHANGED
|
@@ -1,254 +1,254 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChildGroup } from '../components/datatable/DataTable.vue.d';
|
|
2
|
+
import { JSONContent } from '../components/editor/Editor.vue.d';
|
|
3
|
+
import { Option } from '../types/options.type';
|
|
2
4
|
import { Member } from './member.type';
|
|
3
|
-
import { Option } from '.././types/options.type';
|
|
4
5
|
import { Project } from './project.type';
|
|
5
6
|
import { ProjectModule } from './projectModule.type';
|
|
6
7
|
import { ProjectProcess } from './projectProcess.type';
|
|
7
8
|
import { ProjectSubModule } from './projectSubmodule.type';
|
|
8
9
|
import { WangsitStatus } from './wangsStatus.type';
|
|
9
|
-
import { JSONContent } from '.././components/editor/Editor.vue.d';
|
|
10
|
-
import { ChildGroup } from '.././components/datatable/DataTable.vue.d';
|
|
11
|
-
import { FileType } from '../components/taskdetail/blocks/sections/Attachment/AttachmentItem.vue.d';
|
|
12
10
|
import { Pbi } from '../components/dialogdetailpbi/DialogDetailPbi.vue.d';
|
|
11
|
+
import { FileType } from '../components/taskdetail/blocks/sections/Attachment/AttachmentItem.vue.d';
|
|
12
|
+
import { FormDataBody } from '../dto/taskApi.dto';
|
|
13
13
|
export type TaskDetailData = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
14
|
+
_id: string;
|
|
15
|
+
project: Project;
|
|
16
|
+
process: ProjectProcess;
|
|
17
|
+
module: ProjectModule;
|
|
18
|
+
subModule: ProjectSubModule;
|
|
19
|
+
productBacklogItem?: Pick<Pbi, '_id' | 'name'>;
|
|
20
|
+
repository: string;
|
|
21
|
+
sonarqube?: string;
|
|
22
|
+
name: string;
|
|
23
|
+
assignedTo: Member[];
|
|
24
|
+
team: string[];
|
|
25
|
+
status: WangsitStatus;
|
|
26
|
+
priority: number | null;
|
|
27
|
+
timeReportedBug: number;
|
|
28
|
+
startDate: Date | null;
|
|
29
|
+
finishedDate: Date | null;
|
|
30
|
+
duration: number | null;
|
|
31
|
+
timerStartedAt: string | null;
|
|
32
|
+
timerStartedValue: number | null;
|
|
33
|
+
approvalStatus: string;
|
|
34
|
+
isInActiveSprint: boolean;
|
|
35
35
|
};
|
|
36
36
|
export type TaskDescription = {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
_id: string;
|
|
38
|
+
description: string | null;
|
|
39
|
+
updatedBy: Member | null;
|
|
40
|
+
updatedAt: string | Date | null;
|
|
41
41
|
};
|
|
42
42
|
export type TaskChildren = {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
process?: Pick<ProjectProcess, '_id' | 'name'>;
|
|
44
|
+
module?: Pick<ProjectModule, '_id' | 'name'>;
|
|
45
|
+
subModule?: Pick<ProjectSubModule, '_id' | 'name'>;
|
|
46
|
+
tasks?: TaskDependencyDetail[];
|
|
47
|
+
options?: Option[];
|
|
48
|
+
selectedOptions?: string[];
|
|
49
49
|
};
|
|
50
50
|
export type TaskDependency = {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
51
|
+
process?: Pick<ProjectProcess, '_id' | 'name'>;
|
|
52
|
+
module?: Pick<ProjectModule, '_id' | 'name' | 'initial'>;
|
|
53
|
+
subModule?: Pick<ProjectSubModule, '_id' | 'name'>;
|
|
54
|
+
task?: TaskDependencyDetail[];
|
|
55
|
+
options?: Option[];
|
|
56
|
+
selectedOptions?: string[];
|
|
57
|
+
loading?: boolean;
|
|
58
|
+
custom?: boolean;
|
|
59
|
+
processOptions?: Option[] | Option[];
|
|
60
|
+
moduleOptions?: Option[] | Option[];
|
|
61
|
+
subModuleOptions?: Option[] | Option[];
|
|
62
|
+
subModuleVisibility?: boolean;
|
|
63
63
|
};
|
|
64
64
|
export type TaskDependencyDetail = {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
65
|
+
_id: string;
|
|
66
|
+
name: string;
|
|
67
|
+
assignedTo: Member[];
|
|
68
|
+
status: WangsitStatus;
|
|
69
|
+
taskLink: TaskLink;
|
|
70
|
+
caption: string;
|
|
71
|
+
showCaption?: boolean;
|
|
72
72
|
};
|
|
73
73
|
export type TaskLinkType = 'task' | 'service';
|
|
74
74
|
export type TaskLinkURLType = 'url' | 'embedded';
|
|
75
75
|
export type TaskLink = {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
76
|
+
_id: string;
|
|
77
|
+
type: TaskLinkType;
|
|
78
|
+
link: string;
|
|
79
|
+
linkType: TaskLinkURLType;
|
|
80
|
+
updatedBy: Member;
|
|
81
|
+
createdAt: string | Date;
|
|
82
|
+
updatedAt: string | Date;
|
|
83
83
|
};
|
|
84
84
|
export type TaskChecklist = {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
85
|
+
_id: string;
|
|
86
|
+
name: string;
|
|
87
|
+
task: string;
|
|
88
|
+
caption?: string;
|
|
89
|
+
checklistItems?: TaskChecklistItem[];
|
|
90
|
+
showRenameChecklist?: boolean;
|
|
91
|
+
showAddItem?: boolean;
|
|
92
|
+
isRequested?: boolean;
|
|
93
93
|
};
|
|
94
94
|
export type TaskChecklistItem = {
|
|
95
|
+
_id: string;
|
|
96
|
+
name: string;
|
|
97
|
+
checked: boolean;
|
|
98
|
+
updatedBy?: {
|
|
95
99
|
_id: string;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
showRenameItem?: boolean;
|
|
110
|
-
showCaptionItem?: boolean;
|
|
111
|
-
content?: JSONContent;
|
|
112
|
-
key?: number;
|
|
100
|
+
fullName: string;
|
|
101
|
+
nickName: string;
|
|
102
|
+
};
|
|
103
|
+
isRequested: boolean;
|
|
104
|
+
checkedAt?: string;
|
|
105
|
+
caption?: string;
|
|
106
|
+
createdAt: string;
|
|
107
|
+
updatedAt: string;
|
|
108
|
+
attachments: any[];
|
|
109
|
+
showRenameItem?: boolean;
|
|
110
|
+
showCaptionItem?: boolean;
|
|
111
|
+
content?: JSONContent;
|
|
112
|
+
key?: number;
|
|
113
113
|
};
|
|
114
114
|
export type TaskChecklistTemplate = {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
115
|
+
_id: string;
|
|
116
|
+
project: string;
|
|
117
|
+
name: string;
|
|
118
|
+
module: string;
|
|
119
|
+
subModule: string;
|
|
120
|
+
task: string;
|
|
121
|
+
items: string[];
|
|
122
|
+
createdBy: Member;
|
|
123
|
+
createdAt: string;
|
|
124
|
+
updatedAt: string;
|
|
125
125
|
};
|
|
126
126
|
export interface TaskAPI {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
127
|
+
_id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
header?: string;
|
|
130
|
+
url?: string;
|
|
131
|
+
method?: string;
|
|
132
|
+
query?: string[];
|
|
133
|
+
caption?: string[][];
|
|
134
|
+
contentType: string;
|
|
135
|
+
jsonBody?: string;
|
|
136
|
+
formDataBody?: FormDataBody[];
|
|
137
|
+
response?: string;
|
|
138
|
+
isIntact?: boolean;
|
|
139
|
+
isSuccess?: boolean;
|
|
140
|
+
updatedBy: Member;
|
|
141
|
+
updatedAt: string;
|
|
142
|
+
anyChanges?: boolean;
|
|
143
|
+
taskStatus?: WangsitStatus;
|
|
144
144
|
}
|
|
145
145
|
export type TaskAPIFormDataCustom = Omit<TaskAPI, 'formDataBody'> & {
|
|
146
|
-
|
|
146
|
+
formDataBody: FormDataBody[];
|
|
147
147
|
};
|
|
148
148
|
export interface TaskReview {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
149
|
+
_id: string;
|
|
150
|
+
task: string;
|
|
151
|
+
user: Member;
|
|
152
|
+
title: string;
|
|
153
|
+
content?: string;
|
|
154
|
+
checklists?: TaskReviewChecklist[];
|
|
155
|
+
createdAt: string;
|
|
156
|
+
updatedAt: string;
|
|
157
157
|
}
|
|
158
158
|
interface TaskReviewChecklist {
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
name: string;
|
|
160
|
+
items: TaskReviewChecklistItem[];
|
|
161
161
|
}
|
|
162
162
|
interface TaskReviewChecklistItem {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
163
|
+
name: string;
|
|
164
|
+
result: 'Ok' | 'Bug';
|
|
165
|
+
content?: string;
|
|
166
166
|
}
|
|
167
167
|
export type TaskType = 'parent' | 'child' | 'dependency';
|
|
168
168
|
export interface TaskTableItem {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
169
|
+
_id: string;
|
|
170
|
+
project: Project;
|
|
171
|
+
process: ProjectProcess;
|
|
172
|
+
module: ProjectModule;
|
|
173
|
+
subModule: ProjectSubModule;
|
|
174
|
+
name: string;
|
|
175
|
+
assignedTo: Member[];
|
|
176
|
+
team: string[];
|
|
177
|
+
status: WangsitStatus;
|
|
178
|
+
priority?: number;
|
|
179
|
+
timeReportedBug: number;
|
|
180
|
+
childTask: number;
|
|
181
|
+
dependency: TaskTableItemDependency;
|
|
182
|
+
exportDependencyField?: string;
|
|
183
|
+
lastUpdatedAt: string;
|
|
184
|
+
children?: ChildGroup[];
|
|
185
|
+
hasChildren?: boolean;
|
|
186
|
+
taskType?: TaskType;
|
|
187
|
+
isProjectManager?: boolean;
|
|
188
|
+
isTeamLeader?: boolean;
|
|
189
|
+
duration?: number;
|
|
190
190
|
}
|
|
191
191
|
export interface TaskTableItemDependency {
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
done: number;
|
|
193
|
+
onProgress: number;
|
|
194
194
|
}
|
|
195
195
|
export interface TaskTableOptionQuery {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
196
|
+
projectOptions?: boolean;
|
|
197
|
+
moduleOptions?: boolean;
|
|
198
|
+
subModuleOptions?: boolean;
|
|
199
|
+
memberOptions?: boolean;
|
|
200
|
+
taskOptions?: boolean;
|
|
201
|
+
processOptions?: boolean;
|
|
202
|
+
project?: string;
|
|
203
|
+
module?: string;
|
|
204
|
+
subModule?: string;
|
|
205
205
|
}
|
|
206
206
|
export interface TaskTableFamily {
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
dependencies: TaskTableItem[];
|
|
208
|
+
children: TaskTableItem[];
|
|
209
209
|
}
|
|
210
210
|
export interface TaskTableFamilyResponse {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
211
|
+
status: number;
|
|
212
|
+
message: string;
|
|
213
|
+
data: TaskTableFamily;
|
|
214
214
|
}
|
|
215
215
|
export interface TaskAttachmentChangelogItem {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
216
|
+
_id: string;
|
|
217
|
+
type: FileType;
|
|
218
|
+
attachmentSrc: string;
|
|
219
|
+
attachment: string;
|
|
220
|
+
action: string;
|
|
221
|
+
user: Member;
|
|
222
|
+
createdAt: string;
|
|
223
|
+
updatedAt: string;
|
|
224
224
|
}
|
|
225
225
|
export interface TaskLinkChangelogItem {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
226
|
+
_id: string;
|
|
227
|
+
type: TaskLinkType;
|
|
228
|
+
action: string;
|
|
229
|
+
oldValue: TaskLinkChangelogItemValue;
|
|
230
|
+
newValue: TaskLinkChangelogItemValue;
|
|
231
|
+
user: Member;
|
|
232
|
+
createdAt: string;
|
|
233
|
+
updatedAt: string;
|
|
234
234
|
}
|
|
235
235
|
export interface TaskLinkChangelogItemValue {
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
type: TaskLinkURLType;
|
|
237
|
+
link: string;
|
|
238
238
|
}
|
|
239
239
|
export interface TaskChecklistChangelogItem {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
240
|
+
_id: string;
|
|
241
|
+
task: string;
|
|
242
|
+
action: string;
|
|
243
|
+
oldValue: string;
|
|
244
|
+
newValue: string;
|
|
245
|
+
attachment: {
|
|
246
|
+
type: FileType;
|
|
247
|
+
name: string;
|
|
248
|
+
src: string;
|
|
249
|
+
};
|
|
250
|
+
user: Member;
|
|
251
|
+
createdAt: string;
|
|
252
|
+
updatedAt: string;
|
|
253
253
|
}
|
|
254
254
|
export {};
|
package/types/team.type.d.ts
CHANGED
package/types/ticket.type.d.ts
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
export type TicketTaskIdResponse = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
status: number;
|
|
3
|
+
message: string;
|
|
4
|
+
data: TicketTaskId[];
|
|
5
5
|
};
|
|
6
6
|
export type TicketTaskId = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
_id: string;
|
|
8
|
+
ticketId: string;
|
|
9
|
+
status: TicketStatus;
|
|
10
|
+
subject: string;
|
|
11
|
+
deadline: string;
|
|
12
12
|
};
|
|
13
|
-
export type TicketStatus =
|
|
13
|
+
export type TicketStatus =
|
|
14
|
+
| 'Open'
|
|
15
|
+
| 'On Verification'
|
|
16
|
+
| 'Request Cancel'
|
|
17
|
+
| 'On Progress'
|
|
18
|
+
| 'Need Confirmation'
|
|
19
|
+
| 'Closed'
|
|
20
|
+
| 'Cancel Ticket';
|
package/types/user.type.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Teams } from './project.type';
|
|
2
2
|
import { RoleDetailAccess } from './roleDetailAccess.type';
|
|
3
3
|
export type User = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
_id: string;
|
|
5
|
+
key: number;
|
|
6
|
+
profilePicture?: string;
|
|
7
|
+
profilePictureBig: string;
|
|
8
|
+
profilePictureMedium: string;
|
|
9
|
+
profilePictureSmall: string;
|
|
10
|
+
fullName: string;
|
|
11
|
+
nickName: string;
|
|
12
|
+
email: string;
|
|
13
|
+
division: string;
|
|
14
|
+
position: string;
|
|
15
|
+
teams: Teams[];
|
|
16
|
+
permission: RoleDetailAccess;
|
|
17
|
+
isTeamLeader: boolean;
|
|
18
|
+
isProjectManager: boolean;
|
|
19
19
|
};
|
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
export type UserStatus = 'Aktif' | 'Nonaktif';
|
|
2
2
|
export type ProjectStatus = 'Sprint' | 'Backlog' | 'Selesai';
|
|
3
|
-
export type TaskStatus =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
export type TaskStatus =
|
|
4
|
+
| 'Waiting for Approval'
|
|
5
|
+
| 'Backlog'
|
|
6
|
+
| 'Sprint'
|
|
7
|
+
| 'Pending Review Leader'
|
|
8
|
+
| 'Reported Bug'
|
|
9
|
+
| 'Fixing Bug'
|
|
10
|
+
| 'Penyesuaian'
|
|
11
|
+
| 'Selesai';
|
|
12
|
+
export type ProductBacklogItemStatus =
|
|
13
|
+
| DevelopmentStatus
|
|
14
|
+
| 'Overdue'
|
|
15
|
+
| 'Pending E2E Testing';
|
|
16
|
+
export type DeploymentStatus =
|
|
17
|
+
| 'Not Ready Yet'
|
|
18
|
+
| 'Ready to Deploy'
|
|
19
|
+
| 'Finish Deployment'
|
|
20
|
+
| 'On Deployment';
|
|
21
|
+
export type DevelopmentStatus =
|
|
22
|
+
| ProjectStatus
|
|
23
|
+
| 'Pending E2E Testing Dev'
|
|
24
|
+
| 'Selesai Dev'
|
|
25
|
+
| 'Pending E2E Testing Staging'
|
|
26
|
+
| 'Selesai Staging'
|
|
27
|
+
| 'Reported Bug';
|
|
7
28
|
export type ComponentStatus = 'On Progress' | 'Fixing Bug' | 'Selesai';
|
|
8
|
-
export type StatusSeverity =
|
|
9
|
-
|
|
29
|
+
export type StatusSeverity =
|
|
30
|
+
| 'success'
|
|
31
|
+
| 'primary'
|
|
32
|
+
| 'dark'
|
|
33
|
+
| 'warning'
|
|
34
|
+
| 'danger'
|
|
35
|
+
| 'info';
|
|
36
|
+
export type WangsitStatus =
|
|
37
|
+
| ProjectStatus
|
|
38
|
+
| UserStatus
|
|
39
|
+
| TaskStatus
|
|
40
|
+
| DeploymentStatus
|
|
41
|
+
| DevelopmentStatus
|
|
42
|
+
| ComponentStatus
|
|
43
|
+
| ProductBacklogItemStatus;
|