@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,451 @@
1
+ import { HTMLAttributes, 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 DialogPassThroughOptionType<T = any> =
8
+ | DialogPassThroughAttributes
9
+ | ((
10
+ options: DialogPassThroughMethodOptions<T>,
11
+ ) => DialogPassThroughAttributes | string)
12
+ | string
13
+ | null
14
+ | undefined;
15
+
16
+ export declare type DialogPassThroughTransitionType<T = any> =
17
+ | TransitionProps
18
+ | ((options: DialogPassThroughMethodOptions<T>) => TransitionProps)
19
+ | undefined;
20
+
21
+ /**
22
+ * Custom passthrough(pt) option method.
23
+ */
24
+ export interface DialogPassThroughMethodOptions<T> {
25
+ /**
26
+ * Defines instance.
27
+ */
28
+ instance: any;
29
+ /**
30
+ * Defines valid properties.
31
+ */
32
+ props: DialogProps;
33
+ /**
34
+ * Defines current inline state.
35
+ */
36
+ state: DialogState;
37
+ /**
38
+ * Defines parent instance.
39
+ */
40
+ parent: T;
41
+ /**
42
+ * Defines passthrough(pt) options in global config.
43
+ */
44
+ global: object | undefined;
45
+ }
46
+
47
+ /**
48
+ * Custom passthrough(pt) options.
49
+ * @see {@link DialogProps.pt}
50
+ */
51
+ export interface DialogPassThroughOptions<T = any> {
52
+ /**
53
+ * Used to pass attributes to the root's DOM element.
54
+ */
55
+ root?: DialogPassThroughOptionType<T>;
56
+ /**
57
+ * Used to pass attributes to the header's DOM element.
58
+ */
59
+ header?: DialogPassThroughOptionType<T>;
60
+ /**
61
+ * Used to pass attributes to the header title's DOM element.
62
+ */
63
+ title?: DialogPassThroughOptionType<T>;
64
+ /**
65
+ * Used to pass attributes to the header icons' DOM element.
66
+ */
67
+ icons?: DialogPassThroughOptionType<T>;
68
+ /**
69
+ * Used to pass attributes to the maximizable button's DOM element.
70
+ */
71
+ maximizableButton?: DialogPassThroughOptionType<T>;
72
+ /**
73
+ * Used to pass attributes to the maximizable icon's DOM element.
74
+ */
75
+ maximizableIcon?: DialogPassThroughOptionType<T>;
76
+ /**
77
+ * Used to pass attributes to the close button's component.
78
+ */
79
+ closeButton?: DialogPassThroughOptionType<T>;
80
+ /**
81
+ * Used to pass attributes to the close button icon's component.
82
+ */
83
+ closeButtonIcon?: DialogPassThroughOptionType<T>;
84
+ /**
85
+ * Used to pass attributes to the content's DOM element.
86
+ */
87
+ content?: DialogPassThroughOptionType<T>;
88
+ /**
89
+ * Used to pass attributes to the footer's DOM element.
90
+ */
91
+ footer?: DialogPassThroughOptionType<T>;
92
+ /**
93
+ * Used to pass attributes to the mask's DOM element.
94
+ */
95
+ mask?: DialogPassThroughOptionType<T>;
96
+ /**
97
+ * Used to manage all lifecycle hooks.
98
+ * @see {@link BaseComponent.ComponentHooks}
99
+ */
100
+ hooks?: ComponentHooks;
101
+ /**
102
+ * Used to control Vue Transition API.
103
+ */
104
+ transition?: DialogPassThroughTransitionType<T>;
105
+ }
106
+
107
+ /**
108
+ * Custom passthrough attributes for each DOM elements
109
+ */
110
+ export interface DialogPassThroughAttributes {
111
+ [key: string]: any;
112
+ }
113
+
114
+ /**
115
+ * Defines current inline state in Dialog component.
116
+ */
117
+ export interface DialogState {
118
+ /**
119
+ * Current visible state of the container as a boolean.
120
+ * @defaultValue false
121
+ */
122
+ containerVisible: boolean;
123
+ /**
124
+ * Current maximized state as a boolean.
125
+ * @defaultValue false
126
+ */
127
+ maximized: boolean;
128
+ }
129
+
130
+ /**
131
+ * Custom breakpoint metadata.
132
+ */
133
+ export interface DialogBreakpoints {
134
+ /**
135
+ * Breakpoint for responsive mode.
136
+ *
137
+ * Example:
138
+ *
139
+ * <Dialog :breakpoints="{'960px': '75vw', '640px': '100vw'}" ... />
140
+ *
141
+ * Result:
142
+ *
143
+ * @media screen and (max-width: ${breakpoint[key]}) {
144
+ * .p-dialog[attributeSelector] {
145
+ * width: ${breakpoint[value]} !important;
146
+ * }
147
+ * }
148
+ */
149
+ [key: string]: string;
150
+ }
151
+
152
+ /**
153
+ * Defines valid properties in Dialog component.
154
+ */
155
+ export interface DialogProps {
156
+ /**
157
+ * Title content of the dialog.
158
+ */
159
+ header?: string | undefined;
160
+ /**
161
+ * Footer content of the dialog.
162
+ */
163
+ footer?: string | undefined;
164
+ /**
165
+ * Specifies the visibility of the dialog.
166
+ * @defaultValue false
167
+ */
168
+ visible?: boolean | undefined;
169
+ /**
170
+ * Defines if background should be blocked when dialog is displayed.
171
+ * @defaultValue true
172
+ */
173
+ modal?: boolean | undefined;
174
+ /**
175
+ * Style of the content section.
176
+ */
177
+ contentStyle?: any;
178
+ /**
179
+ * Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.
180
+ */
181
+ contentProps?: HTMLAttributes | undefined;
182
+ /**
183
+ * When enabled dialog is displayed in RTL direction.
184
+ * @defaultValue false
185
+ */
186
+ rtl?: boolean | undefined;
187
+ /**
188
+ * Adds a close icon to the header to hide the dialog.
189
+ * @defaultValue true
190
+ */
191
+ closable?: boolean | undefined;
192
+ /**
193
+ * Specifies if clicking the modal background should hide the dialog.
194
+ * @defaultValue false
195
+ */
196
+ dismissableMask?: boolean | undefined;
197
+ /**
198
+ * Specifies if pressing escape key should hide the dialog.
199
+ * @defaultValue true
200
+ */
201
+ closeOnEscape?: boolean | undefined;
202
+ /**
203
+ * Whether to show the header or not.
204
+ * @defaultValue true
205
+ */
206
+ showHeader?: boolean | undefined;
207
+ /**
208
+ * Whether background scroll should be blocked when dialog is visible.
209
+ * @defaultValue false
210
+ */
211
+ blockScroll?: boolean | undefined;
212
+ /**
213
+ * Base zIndex value to use in layering.
214
+ * @defaultValue 0
215
+ */
216
+ baseZIndex?: number | undefined;
217
+ /**
218
+ * Whether to automatically manage layering.
219
+ * @defaultValue true
220
+ */
221
+ autoZIndex?: boolean | undefined;
222
+ /**
223
+ * Position of the dialog.
224
+ * @defaultValue center
225
+ */
226
+ position?:
227
+ | 'center'
228
+ | 'top'
229
+ | 'bottom'
230
+ | 'left'
231
+ | 'right'
232
+ | 'topleft'
233
+ | 'topright'
234
+ | 'bottomleft'
235
+ | 'bottomright'
236
+ | undefined;
237
+ /**
238
+ * Whether the dialog can be displayed full screen.
239
+ * @defaultValue false
240
+ */
241
+ maximizable?: boolean | undefined;
242
+ /**
243
+ * Object literal to define widths per screen size.
244
+ */
245
+ breakpoints?: DialogBreakpoints;
246
+ /**
247
+ * Enables dragging to change the position using header.
248
+ * @defaultValue true
249
+ */
250
+ draggable?: boolean | undefined;
251
+ /**
252
+ * Keeps dialog in the viewport when dragging.
253
+ * @defaultValue true
254
+ */
255
+ keepInViewPort?: boolean | undefined;
256
+ /**
257
+ * Minimum value for the left coordinate of dialog in dragging.
258
+ * @defaultValue 0.
259
+ */
260
+ minX?: number | undefined;
261
+ /**
262
+ * Minimum value for the top coordinate of dialog in dragging.
263
+ * @defaultValue 0
264
+ */
265
+ minY?: number | undefined;
266
+ /**
267
+ * A valid query selector or an HTMLElement to specify where the dialog gets attached.
268
+ * @defaultValue body
269
+ */
270
+ appendTo?: 'body' | 'self' | string | undefined | HTMLElement;
271
+ /**
272
+ * Style of the dynamic dialog.
273
+ */
274
+ style?: any;
275
+ /**
276
+ * Icon to display in the dialog close button.
277
+ * @deprecated since v3.27.0. Use 'closeicon' slot.
278
+ */
279
+ closeIcon?: string | undefined;
280
+ /**
281
+ * Icon to display in the dialog maximize button when dialog is not maximized.
282
+ * @deprecated since v3.27.0. Use 'maximizeicon' slot.
283
+ */
284
+ maximizeIcon?: string | undefined;
285
+ /**
286
+ * Icon to display in the dialog maximize button when dialog is minimized.
287
+ * @deprecated since v3.27.0. Use 'minimizeicon' slot.
288
+ */
289
+ minimizeIcon?: string | undefined;
290
+ /**
291
+ * Used to pass attributes to DOM elements inside the component.
292
+ * @type {DialogPassThroughOptions}
293
+ */
294
+ pt?: PassThrough<DialogPassThroughOptions>;
295
+ /**
296
+ * Used to configure passthrough(pt) options of the component.
297
+ * @type {PassThroughOptions}
298
+ */
299
+ ptOptions?: PassThroughOptions;
300
+ /**
301
+ * When enabled, it removes component related styles in the core.
302
+ * @defaultValue false
303
+ */
304
+ unstyled?: boolean;
305
+ /**
306
+ * A string or string array class to append to the root section.
307
+ */
308
+ class?: string | string[];
309
+ /**
310
+ * A string or string array class to append to the dialog header section.
311
+ */
312
+ headerClass?: string | string[] | object[];
313
+ /**
314
+ * A string or string array class to append to the dialog content section.
315
+ */
316
+ contentClass?: string | string[];
317
+ /**
318
+ * A string or string array class to append to the dialog footer section.
319
+ */
320
+ footerClass?: string | string[];
321
+ }
322
+
323
+ /**
324
+ * Defines valid slots in Dialog component.
325
+ */
326
+ export interface DialogSlots {
327
+ /**
328
+ * Default content slot.
329
+ */
330
+ default(): VNode[];
331
+ /**
332
+ * Custom header template.
333
+ */
334
+ header(): VNode[];
335
+ /**
336
+ * Custom footer template.
337
+ */
338
+ footer(): VNode[];
339
+ /**
340
+ * Custom close icon template.
341
+ * @param {Object} scope - close icon slot's params.
342
+ */
343
+ closeicon(scope: {
344
+ /**
345
+ * Style class of the close icon
346
+ */
347
+ class: any;
348
+ }): VNode[];
349
+ /**
350
+ * Custom maximize icon template of dialog.
351
+ * @param {Object} scope - maximize icon slot's params.
352
+ */
353
+ maximizeicon(scope: {
354
+ /**
355
+ * Maximized state as a boolean
356
+ */
357
+ maximized: boolean;
358
+ /**
359
+ * Style class of the maximize icon
360
+ */
361
+ class: any;
362
+ }): VNode[];
363
+ /**
364
+ * Custom container slot.
365
+ * @param {Object} scope - container slot's params.
366
+ */
367
+ container(scope: {
368
+ /**
369
+ * Close dialog function.
370
+ * @deprecated since v3.39.0. Use 'closeCallback' property instead.
371
+ */
372
+ onClose: () => void;
373
+ /**
374
+ * Maximize/minimize dialog function.
375
+ * @param {Event} event - Browser event
376
+ * @deprecated since v3.39.0. Use 'maximizeCallback' property instead.
377
+ */
378
+ onMaximize: (event: Event) => void;
379
+ /**
380
+ * Close dialog function.
381
+ */
382
+ closeCallback: () => void;
383
+ /**
384
+ * Maximize/minimize dialog function.
385
+ * @param {Event} event - Browser event
386
+ */
387
+ maximizeCallback: (event: Event) => void;
388
+ }): VNode[];
389
+ }
390
+
391
+ /**
392
+ * Defines valid emits in Dialog component.
393
+ */
394
+ export type DialogEmits = {
395
+ /**
396
+ * Emitted when the visible changes.
397
+ * @param {boolean} value - New value.
398
+ */
399
+ 'update:visible': [value: boolean];
400
+ /**
401
+ * Callback to invoke when dialog is hidden.
402
+ */
403
+ 'hide': [];
404
+ /**
405
+ * Callback to invoke after dialog is hidden.
406
+ */
407
+ 'afterHide': [];
408
+ /**
409
+ * Callback to invoke when dialog is shown.
410
+ */
411
+ 'show': [];
412
+ /**
413
+ * Fired when a dialog gets maximized.
414
+ * @param {event} event - Browser event.
415
+ */
416
+ 'maximize': [event: Event];
417
+ /**
418
+ * Fired when a dialog gets unmaximized.
419
+ * @param {event} event - Browser event.
420
+ */
421
+ 'unmaximize': [event: Event];
422
+ /**
423
+ * Fired when a dialog drag completes.
424
+ * @param {event} event - Browser event.
425
+ */
426
+ 'dragend': [event: Event];
427
+ };
428
+
429
+ /**
430
+ * **WangsVue - Dialog**
431
+ *
432
+ * _Dialog is a container to display content in an overlay window._
433
+ *
434
+ * --- ---
435
+ * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
436
+ *
437
+ * @group Component
438
+ */
439
+ declare class Dialog extends ClassComponent<
440
+ DialogProps,
441
+ DialogSlots,
442
+ DialogEmits
443
+ > {}
444
+
445
+ declare module '@vue/runtime-core' {
446
+ interface GlobalComponents {
447
+ Dialog: GlobalComponentConstructor<Dialog>;
448
+ }
449
+ }
450
+
451
+ export default Dialog;
@@ -0,0 +1,158 @@
1
+ import { TaskStatus } from '../.././types/wangsStatus.type';
2
+ import { FetchResponse } from '../datatable/DataTable.vue.d';
3
+ import { ClassComponent } from '../ts-helpers';
4
+ import { MultiSelectOption } from '../.././types/options.type';
5
+ import { Member } from '../.././dto/member.dto';
6
+
7
+
8
+ export interface DialogAdjustmentTaskProps {
9
+ /**
10
+ * Pass Member id to get task that connected to memberId
11
+ */
12
+ members: Pick<AssignedTo, '_id' | 'nickName' | 'key'>[];
13
+ /**
14
+ * V-model dialog visibility
15
+ */
16
+ visibility: boolean;
17
+ /**
18
+ * Prevent Dialog To even show when data list length 0 and then emptylist emit will be trigger
19
+ * @default false
20
+ */
21
+ preventAppear?: boolean;
22
+ /**
23
+ * Close dialog after form validated and submitted.
24
+ * @default true
25
+ */
26
+ closeOnSubmit?: boolean;
27
+ /**
28
+ * Header Dialog Title.
29
+ * @default 'Assign Task'
30
+ */
31
+ header?: string;
32
+ /**
33
+ * Custom Query Params Get List
34
+ */
35
+ customQueryParams?: Record<string, unknown>;
36
+ /**
37
+ * Custom Status Filter Option
38
+ */
39
+ customStatusFilter?: MultiSelectOption[];
40
+ /**
41
+ * Custom members for assign member dropdown
42
+ */
43
+ customMemberOptions?: Pick<
44
+ Member,
45
+ '_id' | 'key' | 'nickName' | 'profilePictureBig' | 'progress'
46
+ >[];
47
+ }
48
+
49
+ export type DialogAdjustmentTaskEmits = {
50
+ /**
51
+ * Will get trigger if data list length below or equal with 0
52
+ */
53
+ 'emptyList': [];
54
+ /**
55
+ * Get trigger everytime visibility change
56
+ */
57
+ 'update:visibility': [visible: boolean];
58
+ /**
59
+ * Trigger when assign & unassign successfully save to server
60
+ */
61
+ 'successAssignUnAssign': [];
62
+ /**
63
+ * Trigger when assign & unassign failed save to server
64
+ */
65
+ 'failedAssignUnAssign': [error: unknown];
66
+ /**
67
+ * Trigger when cancel btn clicked
68
+ */
69
+ 'cancel': [];
70
+ /**
71
+ * Trigger When Failed getting task list
72
+ */
73
+ 'failedGetTaskList': [];
74
+ };
75
+
76
+ declare class DialogAdjustmentTask extends ClassComponent<
77
+ DialogAdjustmentTaskProps,
78
+ unknown,
79
+ DialogAdjustmentTaskEmits
80
+ > {}
81
+
82
+ export default DialogAdjustmentTask;
83
+
84
+ export type DialogAdjustmentTaskSingleActionType =
85
+ | 'assign-new-member'
86
+ | 'unassign-new-member'
87
+ | 'detail-task';
88
+
89
+ export type DialogAdjustmentTaskBulkActionType =
90
+ | 'assign-new-member'
91
+ | 'unassign-new-member';
92
+
93
+ export interface TaskListResponse extends FetchResponse {
94
+ status: number;
95
+ message: string;
96
+ data: TaskData;
97
+ }
98
+
99
+ interface TaskData {
100
+ totalRecords: number;
101
+ data: Task[];
102
+ }
103
+
104
+ export interface Task {
105
+ _id: string;
106
+ process: Process;
107
+ project: Project;
108
+ module: Module;
109
+ subModule: Module;
110
+ name: string;
111
+ assignedTo: AssignedTo[];
112
+ team: string[];
113
+ status: TaskStatus;
114
+ priority: number;
115
+ timeReportedBug: number;
116
+ productBacklogItem: string | null;
117
+ childTask: number;
118
+ dependency: Dependency;
119
+ lastUpdatedAt: string;
120
+ }
121
+
122
+ interface Process {
123
+ name: string;
124
+ _id: string;
125
+ }
126
+
127
+ interface Project {
128
+ name: string;
129
+ initial: string;
130
+ _id: string;
131
+ }
132
+
133
+ interface Module {
134
+ name: string;
135
+ initial: string;
136
+ _id: string;
137
+ }
138
+
139
+ export interface AssignedTo extends Record<string, unknown> {
140
+ fullName: string;
141
+ nickName: string;
142
+ key: number;
143
+ progress: string;
144
+ profilePictureBig: string;
145
+ profilePictureMedium: string;
146
+ profilePictureSmall: string;
147
+ _id: string;
148
+ }
149
+
150
+ export interface Dependency {
151
+ done?: number;
152
+ onProgress?: number;
153
+ }
154
+
155
+ export interface UpdateTaskMemberItemLocal {
156
+ task: Task;
157
+ newMember: AssignedTo[];
158
+ }
@@ -0,0 +1,27 @@
1
+ import { MultiSelectOption } from '../.././types/options.type';
2
+ import { DialogAdjustmentTaskBulkActionType } from './DialogAdjustmentTask.vue.d';
3
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
4
+ bulkActionEmitter: (bulkActionType: DialogAdjustmentTaskBulkActionType) => void;
5
+ customFilterOption?: {
6
+ taskStatus?: MultiSelectOption[];
7
+ };
8
+ customQueryParams?: Record<string, unknown>;
9
+ memberKeys: number[];
10
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
11
+ bulkActionEmitter: (bulkActionType: DialogAdjustmentTaskBulkActionType) => void;
12
+ customFilterOption?: {
13
+ taskStatus?: MultiSelectOption[];
14
+ };
15
+ customQueryParams?: Record<string, unknown>;
16
+ memberKeys: number[];
17
+ }>>>, {}, {}>;
18
+ export default _default;
19
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ type __VLS_TypePropsToOption<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
@@ -0,0 +1,12 @@
1
+ import { Dependency } from '../DialogAdjustmentTask.vue.d';
2
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<Dependency>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<Dependency>>>, {}, {}>;
3
+ export default _default;
4
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
5
+ type __VLS_TypePropsToOption<T> = {
6
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
7
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
8
+ } : {
9
+ type: import('vue').PropType<T[K]>;
10
+ required: true;
11
+ };
12
+ };
@@ -0,0 +1,16 @@
1
+ import { TaskStatus } from '../../../types/wangsStatus.type';
2
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ status: TaskStatus;
4
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
5
+ status: TaskStatus;
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,3 @@
1
+ import { MenuItem } from 'primevue/menuitem';
2
+ import { DialogAdjustmentTaskBulkActionType } from '../DialogAdjustmentTask.vue.d';
3
+ export declare const dialogAddjusmentTaskBulkAction: (bulkActionEmitter: (bulkActionType: DialogAdjustmentTaskBulkActionType) => void) => MenuItem[];
@@ -0,0 +1,3 @@
1
+ import { MenuItem } from '../../.././components/menuitem/index';
2
+ import { DialogAdjustmentTaskSingleActionType } from '../DialogAdjustmentTask.vue.d';
3
+ export declare const dialogAdjustmentTaskSingleAction: (singleActionEmitter: (singleActionType: DialogAdjustmentTaskSingleActionType) => void) => MenuItem[];
@@ -0,0 +1,2 @@
1
+ import { TableColumn } from '../../.././components/datatable/DataTable.vue.d';
2
+ export declare const dialogAdjustmentTaskTableColumn: TableColumn[];