@fewangsit/wangsvue 1.5.178

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.
Files changed (235) hide show
  1. package/assets/json/currencies.json.d.ts +1068 -0
  2. package/assets/json/emoji-by-group.json.d.ts +15629 -0
  3. package/assets/lottie/loading-plane.lottie +0 -0
  4. package/assets/lottie/loading-table.lottie +0 -0
  5. package/assets/lottie/no-data.lottie +0 -0
  6. package/build-entry.d.ts +12 -0
  7. package/components/animation/Animation.vue.d.ts +21 -0
  8. package/components/approverinfo/ApproverInfo.vue.d.ts +52 -0
  9. package/components/badge/Badge.vue.d.ts +57 -0
  10. package/components/badgegroup/BadgeGroup.vue.d.ts +33 -0
  11. package/components/breadcrumb/Breadcrumb.vue.d.ts +27 -0
  12. package/components/button/Button.vue.d.ts +186 -0
  13. package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +70 -0
  14. package/components/buttondownload/ButtonDownload.vue.d.ts +46 -0
  15. package/components/buttonfilter/ButtonFilter.vue.d.ts +13 -0
  16. package/components/buttonradio/ButtonRadio.vue.d.ts +219 -0
  17. package/components/buttonsearch/ButtonSearch.vue.d.ts +35 -0
  18. package/components/buttontoggle/ButtonToggle.vue.d.ts +22 -0
  19. package/components/calendar/Calendar.vue.d.ts +134 -0
  20. package/components/card/Card.vue.d.ts +128 -0
  21. package/components/changelog/Changelog.vue.d.ts +165 -0
  22. package/components/changelogpage/ChangelogFilter.vue.d.ts +16 -0
  23. package/components/changelogpage/ChangelogPage.vue.d.ts +180 -0
  24. package/components/checkbox/Checkbox.vue.d.ts +312 -0
  25. package/components/codesnippet/CodeSnippet.vue.d.ts +13 -0
  26. package/components/comment/Comment.vue.d.ts +180 -0
  27. package/components/comment/CommentBlock.vue.d.ts +35 -0
  28. package/components/customcolumn/CustomColumn.vue.d.ts +32 -0
  29. package/components/datatable/DataTable.vue.d.ts +659 -0
  30. package/components/datatable/MultiRow.vue.d.ts +16 -0
  31. package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +1 -0
  32. package/components/datatable/helpers/filter.helper.d.ts +28 -0
  33. package/components/datatable/helpers/index.d.ts +3 -0
  34. package/components/datatable/helpers/readConfig.helper.d.ts +2 -0
  35. package/components/datatable/store/dataTable.store.d.ts +22 -0
  36. package/components/detailmember/DetailMember.vue.d.ts +79 -0
  37. package/components/detailmember/DetailMemberAdmin.vue.d.ts +18 -0
  38. package/components/detailmember/DetailMemberLeader.vue.d.ts +15 -0
  39. package/components/detailmember/DetailMemberLog.vue.d.ts +15 -0
  40. package/components/detailmember/DialogMemberAdmin.vue.d.ts +23 -0
  41. package/components/detailsprint/DetailSprint.vue.d.ts +89 -0
  42. package/components/detailsprint/DialogAddPbi.vue.d.ts +24 -0
  43. package/components/detailsprint/DialogConfirmSprint.vue.d.ts +24 -0
  44. package/components/detailsprint/SprintSummary.vue.d.ts +15 -0
  45. package/components/detailsprint/helpers/updateSprintStatus.util.d.ts +3 -0
  46. package/components/detailsprint/options/quickFilterFields.d.ts +3 -0
  47. package/components/dialog/Dialog.vue.d.ts +451 -0
  48. package/components/dialogAdjustmentTask/DialogAdjustmentTask.vue.d.ts +158 -0
  49. package/components/dialogAdjustmentTask/DialogAdjustmentTaskHeader.vue.d.ts +27 -0
  50. package/components/dialogAdjustmentTask/common/TaskDependency.vue.d.ts +12 -0
  51. package/components/dialogAdjustmentTask/common/TaskStatusBadge.vue.d.ts +16 -0
  52. package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskBulkAction.d.ts +3 -0
  53. package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskSingleAction.d.ts +3 -0
  54. package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskTableColumn.d.ts +2 -0
  55. package/components/dialogconfirm/DialogConfirm.vue.d.ts +136 -0
  56. package/components/dialogdetailpbi/AssignMember.vue.d.ts +23 -0
  57. package/components/dialogdetailpbi/DialogDetailPbi.vue.d.ts +120 -0
  58. package/components/dialogdetailpbi/TaskDetailPbi.vue.d.ts +29 -0
  59. package/components/dialogdetailpbi/TaskDetailUnassignedPbi.vue.d.ts +23 -0
  60. package/components/dialogdetailpbi/options/memberFilterFields.d.ts +2 -0
  61. package/components/dialogdetailpbi/options/taskQuickFilterFields.d.ts +3 -0
  62. package/components/dialogform/DialogForm.vue.d.ts +256 -0
  63. package/components/dialogimprovementtask/DialogImprovementTask.vue.d.ts +24 -0
  64. package/components/dialogreportbug/DialogReportBug.vue.d.ts +25 -0
  65. package/components/dialogreportbug/imageData.json.d.ts +28 -0
  66. package/components/dropdown/Dropdown.vue.d.ts +182 -0
  67. package/components/editor/CodeSnippetAdapter.vue.d.ts +68 -0
  68. package/components/editor/Editor.vue.d.ts +192 -0
  69. package/components/editor/EditorButton.vue.d.ts +15 -0
  70. package/components/editor/MentionList.vue.d.ts +35 -0
  71. package/components/editor/MentionSection.vue.d.ts +68 -0
  72. package/components/editor/codeSnippetExtension.d.ts +3 -0
  73. package/components/editor/mentionSectionExtension.d.ts +3 -0
  74. package/components/editor/suggestion.d.ts +2 -0
  75. package/components/fieldwrapper/FieldWrapper.vue.d.ts +15 -0
  76. package/components/fileupload/FileUpload.vue.d.ts +151 -0
  77. package/components/filtercontainer/FilterContainer.vue.d.ts +109 -0
  78. package/components/filtercontainer/helpers/applyFilter.helper.d.ts +3 -0
  79. package/components/filtercontainer/helpers/getOption.helper.d.ts +3 -0
  80. package/components/form/Form.vue.d.ts +207 -0
  81. package/components/helpers/convertToArrayClass.helper.d.ts +2 -0
  82. package/components/helpers/index.d.ts +2 -0
  83. package/components/icon/Icon.vue.d.ts +215 -0
  84. package/components/image/Image.vue.d.ts +370 -0
  85. package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +36 -0
  86. package/components/imagecompressor/ImageCompressor.vue.d.ts +192 -0
  87. package/components/imagecompressor/ImageInputInfo.vue.d.ts +30 -0
  88. package/components/index.d.ts +123 -0
  89. package/components/inputbadge/InputBadge.vue.d.ts +118 -0
  90. package/components/inputcurrency/InputCurrency.vue.d.ts +132 -0
  91. package/components/inputcurrency/helpers/currency.helper.d.ts +4 -0
  92. package/components/inputemail/InputEmail.vue.d.ts +26 -0
  93. package/components/inputgroup/InputGroup.vue.d.ts +131 -0
  94. package/components/inputinitialname/InputInitialName.vue.d.ts +118 -0
  95. package/components/inputnumber/InputNumber.vue.d.ts +222 -0
  96. package/components/inputpassword/InputPassword.vue.d.ts +33 -0
  97. package/components/inputphonenumber/InputPhoneNumber.vue.d.ts +96 -0
  98. package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +8 -0
  99. package/components/inputrangenumber/InputRangeNumber.vue.d.ts +98 -0
  100. package/components/inputrepositoryname/InputRepositoryName.vue.d.ts +87 -0
  101. package/components/inputtext/InputText.vue.d.ts +226 -0
  102. package/components/inputurl/InputURL.vue.d.ts +99 -0
  103. package/components/invisiblefield/InvisibleField.vue.d.ts +36 -0
  104. package/components/litedropdown/LiteDropdown.vue.d.ts +97 -0
  105. package/components/loading/Loading.vue.d.ts +34 -0
  106. package/components/loading/store/loading.store.d.ts +8 -0
  107. package/components/menu/Menu.vue.d.ts +369 -0
  108. package/components/menu/helpers/filterMenu.helper.d.ts +10 -0
  109. package/components/menu/helpers/index.d.ts +1 -0
  110. package/components/menuitem/index.d.ts +93 -0
  111. package/components/multiselect/MultiSelect.vue.d.ts +169 -0
  112. package/components/notificationitem/NotificationItem.vue.d.ts +108 -0
  113. package/components/notificationitem/helpers/goToDetail.helper.d.ts +6 -0
  114. package/components/overlaypanel/OverlayPanel.vue.d.ts +292 -0
  115. package/components/pdfviewer/PDFViewer.vue.d.ts +28 -0
  116. package/components/progressbar/ProgressBar.vue.d.ts +73 -0
  117. package/components/quickfilter/QuickFilter.vue.d.ts +17 -0
  118. package/components/summaryaccordion/SummaryAccordion.vue.d.ts +123 -0
  119. package/components/tabmenu/TabMenu.vue.d.ts +275 -0
  120. package/components/taskdetail/TaskDetail.vue.d.ts +83 -0
  121. package/components/taskdetail/blocks/Tabs/DescriptionTab.vue.d.ts +2 -0
  122. package/components/taskdetail/blocks/Tabs/EventLogTab.vue.d.ts +2 -0
  123. package/components/taskdetail/blocks/Tabs/InfoTaskTab.vue.d.ts +2 -0
  124. package/components/taskdetail/blocks/Tabs/ReviewTab.vue.d.ts +2 -0
  125. package/components/taskdetail/blocks/common/AttachmentThumbnail.vue.d.ts +18 -0
  126. package/components/taskdetail/blocks/common/DialogAddAttachment.vue.d.ts +32 -0
  127. package/components/taskdetail/blocks/common/DialogAssignMember.vue.d.ts +30 -0
  128. package/components/taskdetail/blocks/common/DialogConfirmApproval.vue.d.ts +26 -0
  129. package/components/taskdetail/blocks/common/DialogConfirmDeleteTask.vue.d.ts +28 -0
  130. package/components/taskdetail/blocks/common/DialogConfirmEdit.vue.d.ts +24 -0
  131. package/components/taskdetail/blocks/common/DialogConfirmFinishTask.vue.d.ts +24 -0
  132. package/components/taskdetail/blocks/common/DialogPriorityValue.vue.d.ts +21 -0
  133. package/components/taskdetail/blocks/common/DialogSetDuration.vue.d.ts +18 -0
  134. package/components/taskdetail/blocks/common/InputAdditional.vue.d.ts +28 -0
  135. package/components/taskdetail/blocks/common/Legend.vue.d.ts +79 -0
  136. package/components/taskdetail/blocks/common/SonarQubeSummary.vue.d.ts +17 -0
  137. package/components/taskdetail/blocks/common/TaskMore.vue.d.ts +16 -0
  138. package/components/taskdetail/blocks/sections/API/API.vue.d.ts +2 -0
  139. package/components/taskdetail/blocks/sections/API/APIItem.vue.d.ts +28 -0
  140. package/components/taskdetail/blocks/sections/API/DialogAddEditApi.vue.d.ts +25 -0
  141. package/components/taskdetail/blocks/sections/API/DialogTestApi.vue.d.ts +22 -0
  142. package/components/taskdetail/blocks/sections/API/IsRequiredText.vue.d.ts +15 -0
  143. package/components/taskdetail/blocks/sections/API/TestApi/options/keyValueTableColumn.d.ts +2 -0
  144. package/components/taskdetail/blocks/sections/API/ValueFormDataInput.vue.d.ts +37 -0
  145. package/components/taskdetail/blocks/sections/Attachment/Attachment.vue.d.ts +2 -0
  146. package/components/taskdetail/blocks/sections/Attachment/AttachmentChangelog.vue.d.ts +18 -0
  147. package/components/taskdetail/blocks/sections/Attachment/AttachmentItem.vue.d.ts +65 -0
  148. package/components/taskdetail/blocks/sections/Checklist/Checklist.vue.d.ts +20 -0
  149. package/components/taskdetail/blocks/sections/Checklist/ChecklistChangelog.vue.d.ts +18 -0
  150. package/components/taskdetail/blocks/sections/Checklist/DialogAddChecklist.vue.d.ts +32 -0
  151. package/components/taskdetail/blocks/sections/Checklist/DialogConfirmChecklist.vue.d.ts +26 -0
  152. package/components/taskdetail/blocks/sections/Checklist/DialogDetailChecklistTemplate.vue.d.ts +18 -0
  153. package/components/taskdetail/blocks/sections/Checklist/DialogSaveChecklistTemplate.vue.d.ts +22 -0
  154. package/components/taskdetail/blocks/sections/Description/Description.vue.d.ts +2 -0
  155. package/components/taskdetail/blocks/sections/Review/DialogFinishReview.vue.d.ts +26 -0
  156. package/components/taskdetail/blocks/sections/Review/DialogReviewLeader.vue.d.ts +25 -0
  157. package/components/taskdetail/blocks/sections/Review/ReviewItem.vue.d.ts +16 -0
  158. package/components/taskdetail/blocks/sections/TaskDependency/DialogCustomDependency.vue.d.ts +20 -0
  159. package/components/taskdetail/blocks/sections/TaskDependency/TaskDependency.vue.d.ts +2 -0
  160. package/components/taskdetail/blocks/sections/TaskLink/DialogSetTaskLink.vue.d.ts +40 -0
  161. package/components/taskdetail/blocks/sections/TaskLink/TaskLink.vue.d.ts +2 -0
  162. package/components/taskdetail/blocks/sections/TaskLink/TaskLinkChangelog.vue.d.ts +22 -0
  163. package/components/taskdetail/blocks/sections/TaskList/LegendList.vue.d.ts +55 -0
  164. package/components/taskdetail/blocks/sections/TaskList/TaskList.vue.d.ts +15 -0
  165. package/components/taskdetail/blocks/sections/Ticket/Ticket.vue.d.ts +2 -0
  166. package/components/tasktable/DependencyCol.vue.d.ts +16 -0
  167. package/components/tasktable/DialogConfirmDeleteTaskPermanently.vue.d.ts +24 -0
  168. package/components/tasktable/DialogConfirmRestoreTask.vue.d.ts +24 -0
  169. package/components/tasktable/DialogSelectProject.vue.d.ts +20 -0
  170. package/components/tasktable/TaskTable.vue.d.ts +82 -0
  171. package/components/textarea/Textarea.vue.d.ts +121 -0
  172. package/components/timeline/Timeline.vue.d.ts +116 -0
  173. package/components/timeline/TimelineContentByType.vue.d.ts +16 -0
  174. package/components/toast/Toast.vue.d.ts +354 -0
  175. package/components/tooltipspan/TooltipSpan.vue.d.ts +21 -0
  176. package/components/ts-helpers.d.ts +62 -0
  177. package/components/usergroup/UserGroup.vue.d.ts +58 -0
  178. package/components/username/UserName.vue.d.ts +62 -0
  179. package/components/validatormessage/ValidatorMessage.vue.d.ts +13 -0
  180. package/components/workcalendar/WorkCalendar.vue.d.ts +55 -0
  181. package/directives/focus.d.ts +7 -0
  182. package/directives/index.d.ts +1 -0
  183. package/dto/member.dto.d.ts +65 -0
  184. package/dto/task.dto.d.ts +86 -0
  185. package/dto/taskApi.dto.d.ts +20 -0
  186. package/dto/taskAttachment.dto.d.ts +11 -0
  187. package/dto/taskChecklist.dto.d.ts +39 -0
  188. package/dto/taskDependency.dto.d.ts +9 -0
  189. package/event-bus/index.d.ts +47 -0
  190. package/event-bus/mitt.d.ts +21 -0
  191. package/index.d.ts +2 -0
  192. package/main.d.ts +2 -0
  193. package/package.json +16 -0
  194. package/plugins/formValidation.d.ts +10 -0
  195. package/services/calendar.service.d.ts +9 -0
  196. package/services/dataManager.service.d.ts +5 -0
  197. package/services/sonarQube.service.d.ts +10 -0
  198. package/style.css +13 -0
  199. package/types/member.type.d.ts +72 -0
  200. package/types/options.type.d.ts +14 -0
  201. package/types/project.type.d.ts +64 -0
  202. package/types/projectApproval.type.d.ts +3 -0
  203. package/types/projectModule.type.d.ts +6 -0
  204. package/types/projectProcess.type.d.ts +17 -0
  205. package/types/projectQc.type.d.ts +52 -0
  206. package/types/projectSubmodule.type.d.ts +14 -0
  207. package/types/queryParamsStringfy.type.d.ts +3 -0
  208. package/types/roleDetailAccess.type.d.ts +17 -0
  209. package/types/subModule.type.d.ts +4 -0
  210. package/types/task.type.d.ts +256 -0
  211. package/types/team.type.d.ts +4 -0
  212. package/types/ticket.type.d.ts +13 -0
  213. package/types/user.type.d.ts +19 -0
  214. package/types/wangsStatus.type.d.ts +8 -0
  215. package/utils/convertJsonImage.util.d.ts +3 -0
  216. package/utils/date.util.d.ts +17 -0
  217. package/utils/exportToExcel.util.d.ts +20 -0
  218. package/utils/filterOptions.util.d.ts +3 -0
  219. package/utils/genPlaceholder.util.d.ts +3 -0
  220. package/utils/getAttachmentIcon.util.d.ts +8 -0
  221. package/utils/getProjectPermission.util.d.ts +4 -0
  222. package/utils/getSalesRole.util.d.ts +30 -0
  223. package/utils/getUser.util.d.ts +3 -0
  224. package/utils/getUserType.util.d.ts +2 -0
  225. package/utils/index.d.ts +9 -0
  226. package/utils/isIntersect.d.ts +2 -0
  227. package/utils/object.util.d.ts +2 -0
  228. package/utils/queryParamsStringfy.util.d.ts +7 -0
  229. package/utils/role.util.d.ts +2 -0
  230. package/utils/statusSeverity.util.d.ts +3 -0
  231. package/utils/textFormatter.util.d.ts +4 -0
  232. package/utils/toast.util.d.ts +36 -0
  233. package/utils/translation.util.d.ts +15 -0
  234. package/wangsvue.es.js +152940 -0
  235. package/wangsvue.system.js +467 -0
@@ -0,0 +1,108 @@
1
+ import { StatusSeverity } from '../../types/wangsStatus.type';
2
+ import { ClassComponent } from '../.././components/ts-helpers';
3
+ import { WangsIcons } from '../.././components/icon/Icon.vue.d';
4
+
5
+
6
+ export type GetNotificationParam = {
7
+ isRead?: boolean;
8
+ isActioned?: boolean;
9
+ sortBy?: string;
10
+ sortOrder?: number;
11
+ limit?: number;
12
+ page?: number;
13
+ search?: string;
14
+ module?: string;
15
+ };
16
+
17
+ export type NotificationItemType = {
18
+ _id: string;
19
+ user: string;
20
+ title: string;
21
+ detail: string;
22
+ category: WangsIcons | 'barricade' | 'bug' | 'delete';
23
+ isManager?: boolean;
24
+ isRead: boolean;
25
+ isActioned: boolean;
26
+ isReadOnly: boolean;
27
+ module:
28
+ | 'Account Member'
29
+ | 'Project'
30
+ | 'API & Server '
31
+ | 'Comment'
32
+ | 'Sub Module Deployment'
33
+ | 'Request Approval'
34
+ | 'Waiting for Approval'
35
+ | 'Quality Control'
36
+ | 'Quality Control PBI'
37
+ | 'PBI'
38
+ | 'Sprint'
39
+ | 'Improvement'
40
+ | 'Task Improvement';
41
+ severity: StatusSeverity;
42
+ type?:
43
+ | 'Task Baru'
44
+ | 'Hapus Ceklis'
45
+ | 'Uncheck Ceklis'
46
+ | 'Penyesuaian'
47
+ | 'Sprint'
48
+ | null;
49
+ data?: {
50
+ description?: string;
51
+ projectId?: string;
52
+ sprintId?: string;
53
+ pbiId?: string;
54
+ moduleId?: string;
55
+ subModuleId?: string;
56
+ taskId?: string;
57
+ ticketId?: string;
58
+ platform?: string;
59
+ user?: {
60
+ _id: string;
61
+ nickName: string;
62
+ };
63
+ };
64
+ createdAt: string;
65
+ updatedAt: string;
66
+ };
67
+
68
+ export interface NotificationItemProps {
69
+ /**
70
+ * The notification item to show
71
+ */
72
+ notification: NotificationItemType;
73
+ /**
74
+ * Whether the length of the container is long or not
75
+ */
76
+ longNotif?: boolean;
77
+ }
78
+
79
+ export type NotificationItemEmits = {
80
+ /**
81
+ * Emits when a notification is read
82
+ */
83
+ read: [id: string];
84
+ /**
85
+ * Emits when a notification should open a task detail dialog
86
+ */
87
+ openTask: [taskId?: string, projectId?: string];
88
+ /**
89
+ * Emits when a notification should open a task improvement dialog
90
+ */
91
+ openTaskImprovement: [
92
+ taskId?: string,
93
+ projectId?: string,
94
+ notificationId?: string,
95
+ ];
96
+ /**
97
+ * Emits when the notification container should be closed
98
+ */
99
+ close: [];
100
+ };
101
+
102
+ declare class NotificationItem extends ClassComponent<
103
+ NotificationItemProps,
104
+ unknown,
105
+ NotificationItemEmits
106
+ > {}
107
+
108
+ export default NotificationItem;
@@ -0,0 +1,6 @@
1
+ import { NotificationItemType } from '../NotificationItem.vue.d';
2
+ export declare const goToAccountMember: (notification: NotificationItemType) => void;
3
+ export declare const goToQC: (notification: NotificationItemType) => void;
4
+ export declare const goToApproval: (notification: NotificationItemType) => void;
5
+ export declare const goToProject: (notification: NotificationItemType) => boolean;
6
+ export declare const goToProjectList: (notification: NotificationItemType) => void;
@@ -0,0 +1,292 @@
1
+ import { TransitionProps, VNode } from 'vue';
2
+ import { ComponentHooks } from '../basecomponent';
3
+ import { PassThroughOptions } from '../passthrough';
4
+ import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
5
+
6
+
7
+ export declare type OverlayPanelPassThroughOptionType =
8
+ | OverlayPanelPassThroughAttributes
9
+ | ((
10
+ options: OverlayPanelPassThroughMethodOptions,
11
+ ) => OverlayPanelPassThroughAttributes | string)
12
+ | string
13
+ | null
14
+ | undefined;
15
+
16
+ export declare type OverlayPanelPassThroughTransitionType =
17
+ | TransitionProps
18
+ | ((options: OverlayPanelPassThroughMethodOptions) => TransitionProps)
19
+ | undefined;
20
+
21
+ /**
22
+ * Custom passthrough(pt) option method.
23
+ */
24
+ export interface OverlayPanelPassThroughMethodOptions {
25
+ /**
26
+ * Defines instance.
27
+ */
28
+ instance: any;
29
+ /**
30
+ * Defines valid properties.
31
+ */
32
+ props: OverlayPanelProps;
33
+ /**
34
+ * Defines current inline state.
35
+ */
36
+ state: OverlayPanelState;
37
+ /**
38
+ * Defines valid attributes.
39
+ */
40
+ attrs: any;
41
+ /**
42
+ * Defines parent options.
43
+ */
44
+ parent: any;
45
+ /**
46
+ * Defines passthrough(pt) options in global config.
47
+ */
48
+ global: object | undefined;
49
+ }
50
+
51
+ /**
52
+ * Custom passthrough(pt) options.
53
+ * @see {@link OverlayPanelProps.pt}
54
+ */
55
+ export interface OverlayPanelPassThroughOptions {
56
+ /**
57
+ * Used to pass attributes to the root's DOM element.
58
+ */
59
+ root?: OverlayPanelPassThroughOptionType;
60
+ /**
61
+ * Used to pass attributes to the content's DOM element.
62
+ */
63
+ content?: OverlayPanelPassThroughOptionType;
64
+ /**
65
+ * Used to pass attributes to the close button's DOM element.
66
+ */
67
+ closeButton?: OverlayPanelPassThroughOptionType;
68
+ /**
69
+ * Used to pass attributes to the close icon's DOM element.
70
+ */
71
+ closeIcon?: OverlayPanelPassThroughOptionType;
72
+ /**
73
+ * Used to manage all lifecycle hooks.
74
+ * @see {@link BaseComponent.ComponentHooks}
75
+ */
76
+ hooks?: ComponentHooks;
77
+ /**
78
+ * Used to control Vue Transition API.
79
+ */
80
+ transition?: OverlayPanelPassThroughTransitionType;
81
+ }
82
+
83
+ /**
84
+ * Custom passthrough attributes for each DOM elements
85
+ */
86
+ export interface OverlayPanelPassThroughAttributes {
87
+ [key: string]: any;
88
+ }
89
+
90
+ /**
91
+ * Defines current inline state in OverlayPanel component.
92
+ */
93
+ export interface OverlayPanelState {
94
+ /**
95
+ * Current visible state as a boolean.
96
+ * @defaultValue false
97
+ */
98
+ visible: boolean;
99
+ }
100
+
101
+ /**
102
+ * OverlayPanel breakpoint metadata.
103
+ */
104
+ export interface OverlayPanelBreakpoints {
105
+ /**
106
+ * Breakpoint for responsive mode.
107
+ *
108
+ * Example:
109
+ *
110
+ * <OverlayPanel :breakpoints="{'960px': '75vw', '640px': '100vw'}" ... />
111
+ *
112
+ * Result:
113
+ *
114
+ * @media screen and (max-width: ${breakpoint[key]}) {
115
+ * .p-overlaypanel[attributeSelector] {
116
+ * width: ${breakpoint[value]} !important;
117
+ * }
118
+ * }
119
+ */
120
+ [key: string]: string;
121
+ }
122
+
123
+ /**
124
+ * Defines valid properties in OverlayPanel component.
125
+ */
126
+ export interface OverlayPanelProps {
127
+ /**
128
+ * Enables to hide the overlay when outside is clicked.
129
+ * @defaultValue true
130
+ */
131
+ dismissable?: boolean;
132
+ /**
133
+ * Enables to hide the overlay when another overlay is clicked.
134
+ * @defaultValue true
135
+ */
136
+ dismissableOverlay?: boolean;
137
+ /**
138
+ * When enabled, displays a close icon at top right corner.
139
+ * @defaultValue false
140
+ */
141
+ showCloseIcon?: boolean;
142
+ /**
143
+ * A valid query selector or an HTMLElement to specify where the overlay gets attached.
144
+ * @defaultValue body
145
+ */
146
+ // AppendTo?: HintedString<'body' | 'self'> | undefined | HTMLElement;
147
+ /**
148
+ * Base zIndex value to use in layering.
149
+ * @defaultValue 0
150
+ */
151
+ baseZIndex?: number;
152
+ /**
153
+ * Whether to automatically manage layering.
154
+ * @defaultValue true
155
+ */
156
+ autoZIndex?: boolean;
157
+ /**
158
+ * Object literal to define widths per screen size.
159
+ */
160
+ breakpoints?: OverlayPanelBreakpoints;
161
+ /**
162
+ * Icon to display in the overlaypanel close button.
163
+ * @deprecated since v3.27.0. Use 'closeicon' slot.
164
+ */
165
+ closeIcon?: string | undefined;
166
+ /**
167
+ * Used to pass attributes to DOM elements inside the component.
168
+ * @type {OverlayPanelPassThroughOptions}
169
+ */
170
+ pt?: PassThrough<OverlayPanelPassThroughOptions>;
171
+ /**
172
+ * Used to configure passthrough(pt) options of the component.
173
+ * @type {PassThroughOptions}
174
+ */
175
+ ptOptions?: PassThroughOptions;
176
+ /**
177
+ * When enabled, it removes component related styles in the core.
178
+ * @defaultValue false
179
+ */
180
+ unstyled?: boolean;
181
+ /**
182
+ * Specifies if pressing escape key should hide the dialog.
183
+ * @defaultValue true
184
+ */
185
+ closeOnEscape?: boolean | undefined;
186
+ }
187
+
188
+ /**
189
+ * Defines valid slots in OverlayPanel component.
190
+ */
191
+ export interface OverlayPanelSlots {
192
+ /**
193
+ * Custom content template.
194
+ */
195
+ default(): VNode[];
196
+ /**
197
+ * Custom close icon template.
198
+ */
199
+ closeicon(): VNode[];
200
+ /**
201
+ * Custom container slot.
202
+ * @param {Object} scope - container slot's params.
203
+ */
204
+ container(scope: {
205
+ /**
206
+ * Close overlay panel function.
207
+ * @deprecated since v3.39.0. Use 'closeCallback' property instead.
208
+ */
209
+ onClose: () => void;
210
+ /**
211
+ * Close button keydown function.
212
+ * @param {Event} event - Browser event
213
+ * @deprecated since v3.39.0. Use 'keydownCallback' property instead.
214
+ */
215
+ onKeydown: (event: Event) => void;
216
+ /**
217
+ * Close overlay panel function.
218
+ */
219
+ closeCallback: () => void;
220
+ /**
221
+ * Close button keydown function.
222
+ * @param {Event} event - Browser event
223
+ */
224
+ keydownCallback: (event: Event) => void;
225
+ }): VNode[];
226
+ }
227
+
228
+ /**
229
+ * Defines valid emits in OverlayPanel component.
230
+ */
231
+ export interface OverlayPanelEmits {
232
+ /**
233
+ * Callback to invoke when the overlay is shown.
234
+ */
235
+ show(): void;
236
+ /**
237
+ * Callback to invoke when the overlay is hidden.
238
+ */
239
+ hide(): void;
240
+ }
241
+
242
+ /**
243
+ * **PrimeVue - OverlayPanel**
244
+ *
245
+ * _OverlayPanel, also known as Popover, is a container component that can overlay other components on page._
246
+ *
247
+ * [Live Demo](https://www.primevue.org/overlaypanel/)
248
+ * --- ---
249
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
250
+ *
251
+ * @group Component
252
+ */
253
+ declare class OverlayPanel extends ClassComponent<
254
+ OverlayPanelProps,
255
+ OverlayPanelSlots,
256
+ OverlayPanelEmits
257
+ > {
258
+ /**
259
+ * Aligns overlay panel based on the current position of the container.
260
+ */
261
+ alignOverlay(): void;
262
+ /**
263
+ * Toggles the visibility of the overlay.
264
+ * @param {Event} event - Browser event.
265
+ * @param {*} [target] - Optional target if event.currentTarget should not be used.
266
+ *
267
+ * @memberof OverlayPanel
268
+ */
269
+ toggle(event: Event, target?: unknown): void;
270
+ /**
271
+ * Shows the overlay.
272
+ * @param {Event} event - Browser event.
273
+ * @param {*} [target] - Optional target if event.currentTarget should not be used.
274
+ *
275
+ * @memberof OverlayPanel
276
+ */
277
+ show(event: Event, target?: unknown): void;
278
+ /**
279
+ * Hides the overlay.
280
+ *
281
+ * @memberof OverlayPanel
282
+ */
283
+ hide(): void;
284
+ }
285
+
286
+ declare module '@vue/runtime-core' {
287
+ interface GlobalComponents {
288
+ OverlayPanel: GlobalComponentConstructor<OverlayPanel>;
289
+ }
290
+ }
291
+
292
+ export default OverlayPanel;
@@ -0,0 +1,28 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+
4
+ export interface PDFViewerProps {
5
+ /**
6
+ * Full response from backend, file name with its folder name
7
+ *
8
+ * @example '/elsa/file_1733395763186.pdf'
9
+ */
10
+ fileName: string;
11
+ /**
12
+ * Add class into `iframe` element
13
+ */
14
+ class?: string;
15
+ /**
16
+ * Add style into `iframe` element
17
+ */
18
+ style?: string;
19
+ }
20
+
21
+ /**
22
+ * **WangsVue - PDFViewer**
23
+ *
24
+ * @group components
25
+ */
26
+ declare const PDFViewer: DefineComponent<PDFViewerProps, unknown, unknown>;
27
+
28
+ export default PDFViewer;
@@ -0,0 +1,73 @@
1
+ import { Slot } from 'vue';
2
+ import { ClassComponent } from '../ts-helpers';
3
+ import { GlobalComponentConstructor } from '../ts-helpers.d';
4
+
5
+
6
+ /**
7
+ * Defines valid properties in ProgressBar component.
8
+ */
9
+ export interface ProgressBarProps {
10
+ /**
11
+ * Current value of the progress.
12
+ */
13
+ value?: number | undefined;
14
+ /**
15
+ * Set the position of progress value label position
16
+ * Only available on mode Determinate
17
+ *
18
+ * @default 'right-side'
19
+ */
20
+ valuePosition?: 'inside' | 'left-side' | 'right-side';
21
+ /**
22
+ * The progress bar severity color
23
+ *
24
+ * @defaultValue 'primary'
25
+ */
26
+ severity: 'success' | 'danger' | 'warning' | 'dark' | 'primary';
27
+ /**
28
+ * Defines the mode of the progress
29
+ * @defaultValue determinate
30
+ */
31
+ mode?: 'determinate' | 'indeterminate' | undefined;
32
+ /**
33
+ * Whether to display the progress bar value.
34
+ * @defaultValue true
35
+ */
36
+ showValue?: boolean | undefined;
37
+ }
38
+
39
+ /**
40
+ * Defines valid slots in ProgressBar component.
41
+ */
42
+ export interface ProgressBarSlots {
43
+ /**
44
+ * Slot for customizing the value label.
45
+ */
46
+ label: Slot<{ value: number | undefined }>;
47
+ }
48
+
49
+ /**
50
+ * **WangsVue - ProgressBar**
51
+ *
52
+ * ProgressBar is a process status indicator._
53
+ *
54
+ * [Live Demo](https://fewangsit.github.io/wangsvue/progressbar)
55
+ *
56
+ * --- ---
57
+ * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
58
+ *
59
+ * @group Component
60
+ */
61
+ declare class ProgressBar extends ClassComponent<
62
+ ProgressBarProps,
63
+ ProgressBarSlots,
64
+ null
65
+ > {}
66
+
67
+ declare module '@vue/runtime-core' {
68
+ interface GlobalComponents {
69
+ ProgressBar: GlobalComponentConstructor<ProgressBar>;
70
+ }
71
+ }
72
+
73
+ export default ProgressBar;
@@ -0,0 +1,17 @@
1
+ import { DefineComponent } from 'vue';
2
+ import { FilterField } from '../filtercontainer/FilterContainer.vue.d';
3
+
4
+
5
+ export interface QuickFilterProps {
6
+ fields: FilterField[];
7
+ tableName?: string;
8
+ }
9
+
10
+ /**
11
+ * **WangsVue - QuickFilter**
12
+ *
13
+ * @group components
14
+ */
15
+ declare const QuickFilter: DefineComponent<QuickFilterProps, unknown, unknown>;
16
+
17
+ export default QuickFilter;
@@ -0,0 +1,123 @@
1
+ import { DevelopmentStatus, ProjectStatus } from '../../types/wangsStatus.type';
2
+ import { ImageCompressorPayload } from '../.././components/imagecompressor/ImageCompressor.vue.d';
3
+ import { ClassComponent } from '../.././components/ts-helpers.d';
4
+
5
+
6
+ export interface Summary {
7
+ name: string;
8
+ priority: number;
9
+ status: ProjectStatus;
10
+ initialName: string;
11
+ /**
12
+ * Task with status 'Sprint'
13
+ */
14
+ totalSprintTask: number;
15
+ /**
16
+ * Task with status 'Selesai'
17
+ */
18
+ totalCompletedTask: number;
19
+ /**
20
+ * Task with status 'Backlog'
21
+ */
22
+ totalBacklogTask: number;
23
+ /**
24
+ * The maximum points that can be reached for the project (calculated as the sum of the maximum points for all Sprint tasks).
25
+ */
26
+ totalSprintPoint: number;
27
+ /**
28
+ * How many Report Bug actions happened
29
+ */
30
+ totalBugHistories: number;
31
+ }
32
+
33
+ export interface ProjectSummary extends Summary {
34
+ type: 'project';
35
+ totalModule: number;
36
+ totalCompletedModule: number;
37
+ }
38
+
39
+ export interface ModuleSummary extends Summary {
40
+ type: 'module';
41
+ totalSubModule: number;
42
+ }
43
+
44
+ export interface SubModuleSummary extends Omit<Summary, 'initialName'> {
45
+ type: 'submodule';
46
+ moduleName: string;
47
+ progressWeb?: number;
48
+ progressMobile?: number;
49
+ statusWeb?: DevelopmentStatus;
50
+ statusMobile?: DevelopmentStatus;
51
+ }
52
+
53
+ export interface UserProfileSummary
54
+ extends Omit<Summary, 'name' | 'initialName' | 'priority' | 'status'> {
55
+ type: 'profile';
56
+ nickName: string;
57
+ fullName: string;
58
+ initial: string;
59
+ aliasName?: string;
60
+ division: string;
61
+ position: string;
62
+ isActive: boolean;
63
+ profilePicture?: string;
64
+ email: string;
65
+ phoneNumber: string;
66
+ teams: string[];
67
+ sprintPoint: number;
68
+ totalSprintTaskDuration: number;
69
+ completeProfile?: boolean;
70
+ editable?: boolean;
71
+ editedEmail?: string;
72
+ useInitial?: boolean;
73
+ }
74
+
75
+ export interface SummaryAccordionProps {
76
+ summary?:
77
+ | ProjectSummary
78
+ | ModuleSummary
79
+ | SubModuleSummary
80
+ | UserProfileSummary;
81
+ /**
82
+ * Specify the field name for the image compressor.
83
+ *
84
+ * @default 'imageInput'
85
+ */
86
+ fieldName?: string;
87
+ }
88
+
89
+ export type SummaryAccordionEmits = {
90
+ edit: [];
91
+ cancelEditEmail: [];
92
+ /**
93
+ * On apply the image cropper.
94
+ */
95
+ apply: [value: ImageCompressorPayload];
96
+ /**
97
+ * On apply image from props.
98
+ */
99
+ applyProp: [];
100
+ /**
101
+ * On delete button clicked.
102
+ *
103
+ * When props.confirmOnDelete is true, on dialog confirmed, this emit will be emitted with a delete function.
104
+ * You need to call the function inside your own delete funcition to clear the image.
105
+ *
106
+ * @param deleteFn - the function delete
107
+ * @param index - the index of image to be deleted
108
+ */
109
+ delete: [deleteFn?: (index?: number) => void, index?: number];
110
+ };
111
+
112
+ export default class SummaryAccordion extends ClassComponent<
113
+ SummaryAccordionProps,
114
+ unknown,
115
+ SummaryAccordionEmits
116
+ > {
117
+ /**
118
+ * Exposed function to assign image from props.
119
+ *
120
+ * @param isDelete
121
+ */
122
+ assignPreviewImagesFromProp(isDelete?: boolean): Promise<void>;
123
+ }