@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,22 @@
1
+ import { TaskLinkType } from '../../../../../types/task.type';
2
+ declare let __VLS_typeProps: {
3
+ type?: TaskLinkType;
4
+ };
5
+ type __VLS_PublicProps = {
6
+ 'visible': boolean;
7
+ } & typeof __VLS_typeProps;
8
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:visible": (visible: boolean) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
11
+ "onUpdate:visible"?: (visible: boolean) => any;
12
+ }, {}, {}>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToOption<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
@@ -0,0 +1,55 @@
1
+ import { TaskLegend } from '../../common/Legend.vue';
2
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ /**
4
+ * The Task's Legend
5
+ */
6
+ legend: TaskLegend;
7
+ /**
8
+ * The Task's priority value
9
+ */
10
+ priorityValue?: number;
11
+ /**
12
+ * Whether to give the legend list bold style
13
+ */
14
+ bold?: boolean;
15
+ }>, {
16
+ bold: boolean;
17
+ priorityValue: any;
18
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
19
+ /**
20
+ * The Task's Legend
21
+ */
22
+ legend: TaskLegend;
23
+ /**
24
+ * The Task's priority value
25
+ */
26
+ priorityValue?: number;
27
+ /**
28
+ * Whether to give the legend list bold style
29
+ */
30
+ bold?: boolean;
31
+ }>, {
32
+ bold: boolean;
33
+ priorityValue: any;
34
+ }>>>, {
35
+ bold: boolean;
36
+ priorityValue: number;
37
+ }, {}>;
38
+ export default _default;
39
+ type __VLS_WithDefaults<P, D> = {
40
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
41
+ default: D[K];
42
+ }> : P[K];
43
+ };
44
+ type __VLS_Prettify<T> = {
45
+ [K in keyof T]: T[K];
46
+ } & {};
47
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
+ type __VLS_TypePropsToOption<T> = {
49
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
50
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
+ } : {
52
+ type: import('vue').PropType<T[K]>;
53
+ required: true;
54
+ };
55
+ };
@@ -0,0 +1,15 @@
1
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
+ child?: boolean;
3
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
4
+ child?: boolean;
5
+ }>>>, {}, {}>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToOption<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { TaskTableItemDependency } from '../../types/task.type';
2
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ dependency: TaskTableItemDependency;
4
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
5
+ dependency: TaskTableItemDependency;
6
+ }>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToOption<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
@@ -0,0 +1,24 @@
1
+ import { TaskDetailData } from '../../types/task.type';
2
+ declare let __VLS_typeProps: {
3
+ tasks: Pick<TaskDetailData, '_id' | 'name'>[];
4
+ };
5
+ type __VLS_PublicProps = {
6
+ 'visible': boolean;
7
+ } & typeof __VLS_typeProps;
8
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:visible": (visible: boolean) => void;
10
+ saved: () => void;
11
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
12
+ "onUpdate:visible"?: (visible: boolean) => any;
13
+ onSaved?: () => any;
14
+ }, {}, {}>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToOption<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
@@ -0,0 +1,24 @@
1
+ import { TaskDetailData } from '../../types/task.type';
2
+ declare let __VLS_typeProps: {
3
+ tasks: Pick<TaskDetailData, '_id' | 'name'>[];
4
+ };
5
+ type __VLS_PublicProps = {
6
+ 'visible': boolean;
7
+ } & typeof __VLS_typeProps;
8
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:visible": (visible: boolean) => void;
10
+ saved: () => void;
11
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
12
+ "onUpdate:visible"?: (visible: boolean) => any;
13
+ onSaved?: () => any;
14
+ }, {}, {}>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToOption<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
@@ -0,0 +1,20 @@
1
+ type __VLS_PublicProps = {
2
+ 'visible': boolean;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ "update:visible": (visible: boolean) => void;
6
+ saved: (projectId: string) => void;
7
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
8
+ "onUpdate:visible"?: (visible: boolean) => any;
9
+ onSaved?: (projectId: string) => any;
10
+ }, {}, {}>;
11
+ export default _default;
12
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ type __VLS_TypePropsToOption<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
@@ -0,0 +1,82 @@
1
+ import { Project } from '../../types/project.type';
2
+ import { AssignedMember, Pbi } from '../dialogdetailpbi/DialogDetailPbi.vue.d';
3
+ import { ClassComponent } from '../.././components/ts-helpers';
4
+
5
+
6
+ export type TaskTablePage =
7
+ | 'task'
8
+ | 'project-task'
9
+ | 'project-module'
10
+ | 'project-subModule'
11
+ | 'project-productBacklogItem'
12
+ | 'member-detail'
13
+ | 'my-profile';
14
+
15
+ export type TaskTableTab =
16
+ | 'all'
17
+ | 'active'
18
+ | 'backlog'
19
+ | 'todayHistory'
20
+ | 'history'
21
+ | 'deleted';
22
+
23
+ export type TaskTableSubTab = 'myTask' | 'relatedTask';
24
+
25
+ export interface TaskTableProps {
26
+ page: TaskTablePage;
27
+ tab: TaskTableTab;
28
+ subTab?: TaskTableSubTab;
29
+ /**
30
+ * Used as query params while fetching data table
31
+ * in project-task / project-module / project-subModule page
32
+ */
33
+ projectId?: string;
34
+ /**
35
+ * Used as initial value of module for task detail's legend
36
+ * in project-module / project-subModule page
37
+ */
38
+ moduleId?: string;
39
+ /**
40
+ * Used as query params while fetching data table
41
+ * in project-module / project-subModule page
42
+ */
43
+ moduleInitial?: string;
44
+ /**
45
+ * Used as query params while fetching data table
46
+ * and initial value of submodule for task detail's legend
47
+ * in project-subModule page
48
+ */
49
+ subModuleId?: string;
50
+ /**
51
+ * Used as query params while fetching data table
52
+ * in project-productBacklogItem page, and
53
+ * to edit the selected PBI
54
+ */
55
+ selectedPbi?: Pbi;
56
+ assignedPbiMembers?: AssignedMember[];
57
+ /**
58
+ * Used to determine whether the current user is a PM or not
59
+ */
60
+ project?: Project;
61
+ editablePbi?: boolean;
62
+ /**
63
+ * Used as parameter while fetching data table
64
+ * in member-detail page
65
+ */
66
+ userId?: string;
67
+ }
68
+
69
+ export type TaskTableEmits = {
70
+ /**
71
+ * Emit on click 'Ambil Task' button
72
+ */
73
+ showUnassignedTask: [];
74
+ };
75
+
76
+ declare class TaskTable extends ClassComponent<
77
+ TaskTableProps,
78
+ unknown,
79
+ TaskTableEmits
80
+ > {}
81
+
82
+ export default TaskTable;
@@ -0,0 +1,121 @@
1
+ import { TextareaHTMLAttributes } from 'vue';
2
+ import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers.d';
3
+ import { InputTextProps } from '../inputtext/InputText.vue.d';
4
+
5
+
6
+ export type Condition = 'empty' | 'exceed';
7
+
8
+ export type CustomValidation = Partial<Record<Condition, string>>;
9
+
10
+ /**
11
+ * Defines valid properties in Textarea component. In addition to these, all properties of TextareaHTMLAttributes can be used in this component.
12
+ * @extends TextareaHTMLAttributes
13
+ * @extends InputTextProps
14
+ */
15
+ export interface TextareaProps
16
+ extends /* @vue-ignore */ TextareaHTMLAttributes,
17
+ InputTextProps {
18
+ /**
19
+ * The model value of text area.
20
+ */
21
+ modelValue?: Nullable<string>;
22
+ /**
23
+ * Sets the initial value of the field. This will only available with option 'useValidator'.
24
+ *
25
+ * In use case like edit form, you need to display the previous inputted value.
26
+ */
27
+ value?: Nullable<string>;
28
+ invalid?: boolean;
29
+ /**
30
+ * Disabled input state.
31
+ */
32
+ disabled?: boolean;
33
+ /**
34
+ * When present, height of textarea changes as being typed.
35
+ * @defaultValue true
36
+ */
37
+ autoResize?: boolean | undefined;
38
+ /**
39
+ * Specifies the input variant of the component.
40
+ * @defaultValue outlined
41
+ */
42
+ variant?: 'outlined' | 'filled' | undefined;
43
+ /**
44
+ * Whether the input should be validated with vee-validator or not.
45
+ * If you use this component within form input, you need to set this props as true.
46
+ */
47
+ useValidator?: boolean;
48
+ /**
49
+ * This prop is required if you use this component in a form input.
50
+ * Specify the unique field name, match with your needs for API request.
51
+ *
52
+ * @default 'textareaInput'
53
+ */
54
+ fieldName?: string;
55
+ mandatory?: boolean;
56
+ /**
57
+ * The maximum character length allowed by validator.
58
+ *
59
+ * @default unlimited
60
+ */
61
+ maxInput?: number;
62
+ /**
63
+ * The maximum character length allowed on input.
64
+ *
65
+ * @default unlimited
66
+ */
67
+ maxlength?: number;
68
+ /**
69
+ * @deprecated - now validatorMessage support type CustomValidation
70
+ *
71
+ * @see {InputTextProps.validatorMessage}
72
+ */
73
+ customValidation?: CustomValidation;
74
+ inputClass?: string;
75
+ rows?: number;
76
+ /**
77
+ * Specify the input placeholder.
78
+ *
79
+ * @default 'Enter {label}' or 'Enter {type}'
80
+ */
81
+ placeholder?: string;
82
+ /**
83
+ * The input label. Tell the user what input is this.
84
+ */
85
+ label?: string;
86
+ }
87
+
88
+ /**
89
+ * Defines valid emits in Textarea component.
90
+ */
91
+ export type TextareaEmits = {
92
+ /**
93
+ * Emitted when the value changes.
94
+ */
95
+ 'update:modelValue': [value: Nullable<string>];
96
+ };
97
+
98
+ /**
99
+ * **TSVue - Textarea**
100
+ *
101
+ * _Textarea is a multi-line text input element._
102
+ *
103
+ * --- ---
104
+ * ![TSVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
105
+ *
106
+ * @group Component
107
+ *
108
+ */
109
+ declare class Textarea extends ClassComponent<
110
+ TextareaProps,
111
+ Record<string, unknown>,
112
+ TextareaEmits
113
+ > {}
114
+
115
+ declare module '@vue/runtime-core' {
116
+ interface GlobalComponents {
117
+ Textarea: GlobalComponentConstructor<Textarea>;
118
+ }
119
+ }
120
+
121
+ export default Textarea;
@@ -0,0 +1,116 @@
1
+ import { JSONContent } from '../editor/Editor.vue.d';
2
+ import { ClassComponent } from '../ts-helpers';
3
+
4
+
5
+ export interface AttachmentFile {
6
+ type: 'image' | 'xls' | 'doc' | 'pdf' | 'csv' | 'video' | 'data';
7
+ filePath?: string;
8
+ }
9
+
10
+ export interface AttachmentLink {
11
+ type: 'link';
12
+ url?: string;
13
+ }
14
+
15
+ export interface LinkTaskURL {
16
+ type: 'taskUrl';
17
+ url: string;
18
+ }
19
+
20
+ export interface LinkTaskIframeEmbed {
21
+ type: 'embed';
22
+ code: string;
23
+ }
24
+
25
+ export interface DetailText {
26
+ type: 'text';
27
+ value: string;
28
+ }
29
+
30
+ export interface DetailUserText {
31
+ type: 'userText';
32
+ user: {
33
+ _id: string;
34
+ nickName: string;
35
+ };
36
+ text: string;
37
+ }
38
+
39
+ export interface DetailBullet {
40
+ type: 'bullet';
41
+ value: (string | DetailUserText)[];
42
+ }
43
+
44
+ export interface DetailJSONContent {
45
+ type: 'json';
46
+ value: JSONContent;
47
+ }
48
+
49
+ export type Attachment =
50
+ | AttachmentLink
51
+ | AttachmentFile
52
+ | LinkTaskIframeEmbed
53
+ | LinkTaskURL;
54
+
55
+ export type LinkTaskEditAction = Record<
56
+ 'Sebelum' | 'Sesudah',
57
+ LinkTaskURL | LinkTaskIframeEmbed
58
+ >;
59
+
60
+ export type DetailType =
61
+ | Attachment
62
+ | LinkTaskEditAction
63
+ | DetailText
64
+ | DetailUserText
65
+ | DetailBullet
66
+ | DetailJSONContent;
67
+
68
+ export type KeyValue = Record<string, string | DetailType>;
69
+
70
+ export type TimelineItem = {
71
+ _id: string;
72
+ action: string;
73
+ createdAt: string;
74
+ user?: {
75
+ _id: string;
76
+ nickName: string;
77
+ };
78
+ detail?: KeyValue | DetailType;
79
+ };
80
+
81
+ export type TimelineProps = {
82
+ value: TimelineItem[];
83
+ /**
84
+ * Whether the detail values should be aligned with each other or not.
85
+ * @defaultValue false
86
+ */
87
+ alignDetail?: boolean;
88
+ /**
89
+ * Whether the timeline should be scrollable or not.
90
+ * @defaultValue false
91
+ */
92
+ noScroll?: boolean;
93
+ /**
94
+ * Whether the createdAt field should be displayed in raw format or not.
95
+ * @defaultValue false
96
+ */
97
+ noFormatDate?: boolean;
98
+ };
99
+
100
+ /**
101
+ * **WangsVue - Timeline**
102
+ *
103
+ * _Timeline visualizes a series of chained events._
104
+ *
105
+ * [Live Demo](https://fewangsit.github.io/wangsvue/timeline/)
106
+ * --- ---
107
+ *
108
+ * @group Component
109
+ */
110
+ declare class Timeline extends ClassComponent<
111
+ TimelineProps,
112
+ unknown,
113
+ unknown
114
+ > {}
115
+
116
+ export default Timeline;
@@ -0,0 +1,16 @@
1
+ import { AttachmentFile, AttachmentLink, DetailBullet, DetailJSONContent, DetailText, DetailUserText, LinkTaskIframeEmbed, LinkTaskURL } from './Timeline.vue.d';
2
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ detail: AttachmentFile | LinkTaskIframeEmbed | LinkTaskURL | AttachmentLink | DetailText | DetailUserText | DetailBullet | DetailJSONContent;
4
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
5
+ detail: AttachmentFile | LinkTaskIframeEmbed | LinkTaskURL | AttachmentLink | DetailText | DetailUserText | DetailBullet | DetailJSONContent;
6
+ }>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToOption<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };