@fewangsit/wangsvue 1.5.216 → 1.5.217-alpha.1

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 (276) hide show
  1. package/components/animation/Animation.vue.d.ts +9 -1
  2. package/components/badge/Badge.vue.d.ts +1 -1
  3. package/components/badgegroup/BadgeGroup.vue.d.ts +3 -1
  4. package/components/basetree/BaseTree.vue.d.ts +7 -2
  5. package/components/button/Button.vue.d.ts +4 -3
  6. package/components/buttonImportExcel/ButtonImportExcel.vue.d.ts +1 -1
  7. package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +1 -0
  8. package/components/buttondownload/ButtonDownload.vue.d.ts +31 -0
  9. package/components/buttonradio/ButtonRadio.vue.d.ts +2 -1
  10. package/components/buttonscan/ButtonScan.vue.d.ts +3 -2
  11. package/components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts +2 -0
  12. package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +11 -1
  13. package/components/buttonsplit/ButtonSplit.vue.d.ts +10 -7
  14. package/components/buttonsync/ButtonSync.vue.d.ts +1 -1
  15. package/components/buttontoggle/ButtonToggle.vue.d.ts +1 -0
  16. package/components/card/Card.vue.d.ts +2 -1
  17. package/components/changelog/Changelog.vue.d.ts +7 -5
  18. package/components/changelogpage/ChangelogPage.vue.d.ts +10 -3
  19. package/components/checkbox/Checkbox.vue.d.ts +2 -1
  20. package/components/comment/Comment.vue.d.ts +3 -4
  21. package/components/customcolumn/CustomColumn.vue.d.ts +1 -1
  22. package/components/datatable/DataTable.vue.d.ts +14 -4
  23. package/components/detailmember/DetailMember.vue.d.ts +2 -2
  24. package/components/detailsprint/DetailSprint.vue.d.ts +2 -2
  25. package/components/detailsprint/helpers/updateSprintStatus.util.d.ts +7 -2
  26. package/components/detailsprint/options/quickFilterFields.d.ts +5 -2
  27. package/components/dialog/Dialog.vue.d.ts +1 -1
  28. package/components/{dialogAdjustmentTask → dialogadjustmenttask}/DialogAdjustmentTask.vue.d.ts +5 -5
  29. package/components/dialogadjustmenttask/options/dialogAdjustmentTaskBulkAction.d.ts +7 -0
  30. package/components/dialogadjustmenttask/options/dialogAdjustmentTaskSingleAction.d.ts +7 -0
  31. package/components/dialogadjustmenttask/options/dialogAdjustmentTaskTableColumn.d.ts +2 -0
  32. package/components/dialogconfirm/DialogConfirm.vue.d.ts +3 -2
  33. package/components/dialogdetailcomponent/DialogDetailComponent.vue.d.ts +1 -1
  34. package/components/dialogdetailpbi/DialogDetailPbi.vue.d.ts +3 -3
  35. package/components/dialogform/DialogForm.vue.d.ts +1 -1
  36. package/components/dialogimprovementtask/DialogImprovementTask.vue.d.ts +1 -2
  37. package/components/{detailsprint → dialogpreparepbi}/DialogPreparePbi.vue.d.ts +2 -2
  38. package/components/dialogselecttree/DialogSelectTree.vue.d.ts +14 -3
  39. package/components/dropdown/Dropdown.vue.d.ts +22 -3
  40. package/components/editor/Editor.vue.d.ts +2 -1
  41. package/components/fieldwrapper/FieldWrapper.vue.d.ts +19 -2
  42. package/components/fileupload/FileUpload.vue.d.ts +2 -1
  43. package/components/filtercontainer/FilterContainer.vue.d.ts +103 -67
  44. package/components/form/Form.vue.d.ts +5 -2
  45. package/components/icon/Icon.vue.d.ts +4 -1
  46. package/components/image/Image.vue.d.ts +9 -1
  47. package/components/imagecompressor/ImageCompressor.vue.d.ts +9 -1
  48. package/components/index.d.ts +32 -30
  49. package/components/inlinemessage/InlineMessage.vue.d.ts +1 -1
  50. package/components/inputbadge/InputBadge.vue.d.ts +1 -1
  51. package/components/inputcurrency/InputCurrency.vue.d.ts +1 -1
  52. package/components/inputcurrency/helpers/currency.helper.d.ts +5 -1
  53. package/components/inputemail/InputEmail.vue.d.ts +1 -0
  54. package/components/inputinitialname/InputInitialName.vue.d.ts +1 -2
  55. package/components/inputnumber/InputNumber.vue.d.ts +6 -0
  56. package/components/inputpassword/InputPassword.vue.d.ts +1 -0
  57. package/components/inputrangenumber/InputRangeNumber.vue.d.ts +1 -0
  58. package/components/inputrepositoryname/InputRepositoryName.vue.d.ts +2 -3
  59. package/components/inputtext/InputText.vue.d.ts +2 -1
  60. package/components/inputurl/InputURL.vue.d.ts +4 -2
  61. package/components/invisiblefield/InvisibleField.vue.d.ts +1 -1
  62. package/components/languagedropdown/LanguageDropdown.vue.d.ts +3 -2
  63. package/components/litedropdown/LiteDropdown.vue.d.ts +4 -2
  64. package/components/loading/store/loading.store.d.ts +3 -3
  65. package/components/menu/Menu.vue.d.ts +3 -2
  66. package/components/multiselect/MultiSelect.vue.d.ts +3 -2
  67. package/components/notificationitem/NotificationItem.vue.d.ts +4 -3
  68. package/components/notificationitem/helpers/goToDetail.helper.d.ts +13 -4
  69. package/components/overlaypanel/OverlayPanel.vue.d.ts +2 -1
  70. package/components/paginator/Paginator.vue.d.ts +285 -0
  71. package/components/progressbar/ProgressBar.vue.d.ts +2 -1
  72. package/components/quickfilter/QuickFilter.vue.d.ts +2 -1
  73. package/components/summaryaccordion/SummaryAccordion.vue.d.ts +3 -3
  74. package/components/tabmenu/TabMenu.vue.d.ts +7 -191
  75. package/components/taskdetail/TaskDetail.vue.d.ts +4 -2
  76. package/components/taskdetail/blocks/sections/API/TestApi/options/keyValueTableColumn.d.ts +1 -1
  77. package/components/{dialogdetailpbi → taskdetailpbi}/TaskDetailPbi.vue.d.ts +3 -3
  78. package/components/taskdetailpbi/options/memberFilterFields.d.ts +7 -0
  79. package/components/taskdetailpbi/options/taskQuickFilterFields.d.ts +6 -0
  80. package/components/tasktable/TaskTable.vue.d.ts +2 -2
  81. package/components/textarea/Textarea.vue.d.ts +2 -1
  82. package/components/timeline/Timeline.vue.d.ts +22 -3
  83. package/components/toast/Toast.vue.d.ts +3 -2
  84. package/components/toggleswitch/ToggleSwitch.vue.d.ts +2 -1
  85. package/components/tree/Tree.vue.d.ts +9 -3
  86. package/components/ts-helpers.d.ts +8 -0
  87. package/components/usergroup/UserGroup.vue.d.ts +1 -1
  88. package/components/username/UserName.vue.d.ts +9 -4
  89. package/components/workcalendar/WorkCalendar.vue.d.ts +0 -1
  90. package/config/defaultProps.d.ts +1 -1
  91. package/config/index.d.ts +1 -1
  92. package/config/locale.d.ts +1 -1
  93. package/directives/focus.d.ts +1 -1
  94. package/dto/member.dto.d.ts +52 -52
  95. package/dto/task.dto.d.ts +65 -65
  96. package/dto/taskApi.dto.d.ts +15 -15
  97. package/dto/taskAttachment.dto.d.ts +5 -5
  98. package/dto/taskChecklist.dto.d.ts +23 -23
  99. package/dto/taskDependency.dto.d.ts +4 -4
  100. package/event-bus/index.d.ts +59 -56
  101. package/event-bus/mitt.d.ts +29 -14
  102. package/main.d.ts +30 -2
  103. package/no-data-CTKux8RI.js +4 -0
  104. package/no-data-Dep79CBh.js +1 -0
  105. package/package.json +19 -8
  106. package/plugins/WangsVue.d.ts +276 -214
  107. package/plugins/formValidation.d.ts +16 -6
  108. package/services/calendar.service.d.ts +4 -4
  109. package/stats.html +4949 -0
  110. package/style.css +4 -2
  111. package/types/member.type.d.ts +68 -59
  112. package/types/project.type.d.ts +52 -52
  113. package/types/projectApproval.type.d.ts +1 -1
  114. package/types/projectModule.type.d.ts +4 -4
  115. package/types/projectProcess.type.d.ts +12 -12
  116. package/types/projectQc.type.d.ts +38 -38
  117. package/types/projectSubmodule.type.d.ts +8 -8
  118. package/types/queryParamsStringfy.type.d.ts +1 -1
  119. package/types/roleDetailAccess.type.d.ts +13 -13
  120. package/types/subModule.type.d.ts +2 -2
  121. package/types/task.type.d.ts +196 -196
  122. package/types/team.type.d.ts +2 -2
  123. package/types/ticket.type.d.ts +16 -9
  124. package/types/user.type.d.ts +15 -15
  125. package/types/wangsStatus.type.d.ts +40 -6
  126. package/utils/addAttachment.util.d.ts +28 -12
  127. package/utils/convertJsonImage.util.d.ts +4 -2
  128. package/utils/date.util.d.ts +64 -31
  129. package/utils/exportToExcel.util.d.ts +23 -16
  130. package/utils/genPlaceholder.util.d.ts +7 -2
  131. package/utils/getProjectPermission.util.d.ts +4 -1
  132. package/utils/getSalesRole.util.d.ts +26 -26
  133. package/utils/index.d.ts +17 -14
  134. package/utils/object.util.d.ts +14 -3
  135. package/utils/queryParamsStringfy.util.d.ts +4 -2
  136. package/utils/role.util.d.ts +5 -1
  137. package/utils/statusSeverity.util.d.ts +4 -2
  138. package/utils/toast.util.d.ts +78 -78
  139. package/utils/xlsx.util.d.ts +19 -0
  140. package/wangsvue.js +66292 -0
  141. package/wangsvue.system.js +73 -258
  142. package/assets/json/currencies.json.d.ts +0 -1068
  143. package/assets/json/emoji-by-group.json.d.ts +0 -15629
  144. package/assets/lottie/admin/loading-page.lottie +0 -0
  145. package/assets/lottie/admin/loading-table.lottie +0 -0
  146. package/assets/lottie/admin/no-data.lottie +0 -0
  147. package/assets/lottie/supplyasset/loading-page.lottie +0 -0
  148. package/assets/lottie/supplyasset/loading-table.lottie +0 -0
  149. package/assets/lottie/supplyasset/no-data.lottie +0 -0
  150. package/assets/lottie/workspace/loading-page.lottie +0 -0
  151. package/assets/lottie/workspace/loading-plane.lottie +0 -0
  152. package/assets/lottie/workspace/loading-table.lottie +0 -0
  153. package/assets/lottie/workspace/no-data.lottie +0 -0
  154. package/build-entry.d.ts +0 -13
  155. package/components/approverinfo/ApproverInfo.vue.d.ts +0 -51
  156. package/components/buttonscan/helpers/getErrorCode.helper.d.ts +0 -3
  157. package/components/buttonscan/helpers/index.d.ts +0 -1
  158. package/components/buttonscan/workers/scanner.worker.d.ts +0 -1
  159. package/components/calendar/BaseCalendar.vue.d.ts +0 -96
  160. package/components/calendar/Calendar.vue.d.ts +0 -597
  161. package/components/changelogpage/ChangelogFilter.vue.d.ts +0 -16
  162. package/components/comment/CommentBlock.vue.d.ts +0 -35
  163. package/components/customcolumn/ColumnList.vue.d.ts +0 -27
  164. package/components/customcolumn/helpers/setVisibilityColumn.helper.d.ts +0 -12
  165. package/components/datatable/MultiRow.vue.d.ts +0 -16
  166. package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +0 -1
  167. package/components/datatable/helpers/filter.helper.d.ts +0 -28
  168. package/components/datatable/helpers/index.d.ts +0 -3
  169. package/components/datatable/helpers/readConfig.helper.d.ts +0 -2
  170. package/components/datatable/store/dataTable.store.d.ts +0 -22
  171. package/components/detailmember/DetailMemberAdmin.vue.d.ts +0 -18
  172. package/components/detailmember/DetailMemberLeader.vue.d.ts +0 -15
  173. package/components/detailmember/DetailMemberLog.vue.d.ts +0 -15
  174. package/components/detailmember/DialogMemberAdmin.vue.d.ts +0 -23
  175. package/components/detailsprint/DialogAddPbi.vue.d.ts +0 -24
  176. package/components/detailsprint/DialogConfirmSprint.vue.d.ts +0 -24
  177. package/components/detailsprint/SprintSummary.vue.d.ts +0 -15
  178. package/components/dialogAdjustmentTask/DialogAdjustmentTaskHeader.vue.d.ts +0 -27
  179. package/components/dialogAdjustmentTask/common/TaskDependency.vue.d.ts +0 -12
  180. package/components/dialogAdjustmentTask/common/TaskStatusBadge.vue.d.ts +0 -16
  181. package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskBulkAction.d.ts +0 -3
  182. package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskSingleAction.d.ts +0 -3
  183. package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskTableColumn.d.ts +0 -2
  184. package/components/dialogdetailpbi/AssignMember.vue.d.ts +0 -30
  185. package/components/dialogdetailpbi/TaskDetailUnassignedPbi.vue.d.ts +0 -27
  186. package/components/dialogdetailpbi/options/memberFilterFields.d.ts +0 -2
  187. package/components/dialogdetailpbi/options/taskQuickFilterFields.d.ts +0 -3
  188. package/components/dialogreportbug/DialogReportBug.vue.d.ts +0 -25
  189. package/components/dialogreportbug/imageData.json.d.ts +0 -28
  190. package/components/editor/CodeSnippetAdapter.vue.d.ts +0 -92
  191. package/components/editor/EditorButton.vue.d.ts +0 -15
  192. package/components/editor/MentionList.vue.d.ts +0 -35
  193. package/components/editor/MentionSection.vue.d.ts +0 -92
  194. package/components/editor/codeSnippetExtension.d.ts +0 -3
  195. package/components/editor/mentionSectionExtension.d.ts +0 -3
  196. package/components/editor/suggestion.d.ts +0 -2
  197. package/components/filtercontainer/helpers/applyFilter.helper.d.ts +0 -5
  198. package/components/filtercontainer/helpers/getOption.helper.d.ts +0 -3
  199. package/components/hardwaresync/HardwareSync.vue.d.ts +0 -30
  200. package/components/hardwaresync/store/device.store.d.ts +0 -36
  201. package/components/helpers/convertToArrayClass.helper.d.ts +0 -2
  202. package/components/helpers/index.d.ts +0 -2
  203. package/components/helpers/label.d.ts +0 -15
  204. package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +0 -36
  205. package/components/imagecompressor/ImageInputInfo.vue.d.ts +0 -32
  206. package/components/inputgroup/InputGroup.vue.d.ts +0 -141
  207. package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +0 -8
  208. package/components/languagedropdown/LanguageDropdownOption.vue.d.ts +0 -18
  209. package/components/languageswitcher/LanguageSwitcher.vue.d.ts +0 -15
  210. package/components/menu/helpers/filterMenu.helper.d.ts +0 -12
  211. package/components/menu/helpers/index.d.ts +0 -1
  212. package/components/menuitem/MenuItem.vue.d.ts +0 -19
  213. package/components/notificationitem/dialogs/ConfirmDeploy.vue.d.ts +0 -24
  214. package/components/tagtype/TagType.vue.d.ts +0 -21
  215. package/components/taskdetail/blocks/Tabs/DescriptionTab.vue.d.ts +0 -2
  216. package/components/taskdetail/blocks/Tabs/EventLogTab.vue.d.ts +0 -2
  217. package/components/taskdetail/blocks/Tabs/InfoTaskTab.vue.d.ts +0 -2
  218. package/components/taskdetail/blocks/Tabs/ReviewTab.vue.d.ts +0 -2
  219. package/components/taskdetail/blocks/common/AttachmentThumbnail.vue.d.ts +0 -18
  220. package/components/taskdetail/blocks/common/DialogAddAttachment.vue.d.ts +0 -32
  221. package/components/taskdetail/blocks/common/DialogAssignMember.vue.d.ts +0 -30
  222. package/components/taskdetail/blocks/common/DialogConfirmApproval.vue.d.ts +0 -26
  223. package/components/taskdetail/blocks/common/DialogConfirmDeleteTask.vue.d.ts +0 -28
  224. package/components/taskdetail/blocks/common/DialogConfirmEdit.vue.d.ts +0 -24
  225. package/components/taskdetail/blocks/common/DialogConfirmFinishTask.vue.d.ts +0 -24
  226. package/components/taskdetail/blocks/common/DialogPriorityValue.vue.d.ts +0 -21
  227. package/components/taskdetail/blocks/common/DialogSetDuration.vue.d.ts +0 -18
  228. package/components/taskdetail/blocks/common/InputAdditional.vue.d.ts +0 -30
  229. package/components/taskdetail/blocks/common/Legend.vue.d.ts +0 -79
  230. package/components/taskdetail/blocks/common/SonarQubeSummary.vue.d.ts +0 -17
  231. package/components/taskdetail/blocks/common/TaskMore.vue.d.ts +0 -16
  232. package/components/taskdetail/blocks/sections/API/API.vue.d.ts +0 -2
  233. package/components/taskdetail/blocks/sections/API/APIItem.vue.d.ts +0 -29
  234. package/components/taskdetail/blocks/sections/API/DialogAPIChangelog.vue.d.ts +0 -18
  235. package/components/taskdetail/blocks/sections/API/DialogAddEditApi.vue.d.ts +0 -25
  236. package/components/taskdetail/blocks/sections/API/DialogCopyApi.vue.d.ts +0 -22
  237. package/components/taskdetail/blocks/sections/API/DialogTestApi.vue.d.ts +0 -22
  238. package/components/taskdetail/blocks/sections/API/IsRequiredText.vue.d.ts +0 -15
  239. package/components/taskdetail/blocks/sections/API/ValueFormDataInput.vue.d.ts +0 -37
  240. package/components/taskdetail/blocks/sections/Attachment/Attachment.vue.d.ts +0 -2
  241. package/components/taskdetail/blocks/sections/Attachment/AttachmentChangelog.vue.d.ts +0 -18
  242. package/components/taskdetail/blocks/sections/Attachment/AttachmentItem.vue.d.ts +0 -65
  243. package/components/taskdetail/blocks/sections/Checklist/Checklist.vue.d.ts +0 -22
  244. package/components/taskdetail/blocks/sections/Checklist/ChecklistChangelog.vue.d.ts +0 -18
  245. package/components/taskdetail/blocks/sections/Checklist/DialogAddChecklist.vue.d.ts +0 -32
  246. package/components/taskdetail/blocks/sections/Checklist/DialogConfirmChecklist.vue.d.ts +0 -26
  247. package/components/taskdetail/blocks/sections/Checklist/DialogDetailChecklistTemplate.vue.d.ts +0 -18
  248. package/components/taskdetail/blocks/sections/Checklist/DialogSaveChecklistTemplate.vue.d.ts +0 -22
  249. package/components/taskdetail/blocks/sections/Description/Description.vue.d.ts +0 -2
  250. package/components/taskdetail/blocks/sections/Review/DialogFinishReview.vue.d.ts +0 -26
  251. package/components/taskdetail/blocks/sections/Review/DialogReviewLeader.vue.d.ts +0 -25
  252. package/components/taskdetail/blocks/sections/Review/ReviewItem.vue.d.ts +0 -16
  253. package/components/taskdetail/blocks/sections/TaskDependency/DialogCustomDependency.vue.d.ts +0 -20
  254. package/components/taskdetail/blocks/sections/TaskDependency/TaskDependency.vue.d.ts +0 -2
  255. package/components/taskdetail/blocks/sections/TaskLink/DialogSetTaskLink.vue.d.ts +0 -40
  256. package/components/taskdetail/blocks/sections/TaskLink/TaskLink.vue.d.ts +0 -2
  257. package/components/taskdetail/blocks/sections/TaskLink/TaskLinkChangelog.vue.d.ts +0 -22
  258. package/components/taskdetail/blocks/sections/TaskList/LegendList.vue.d.ts +0 -55
  259. package/components/taskdetail/blocks/sections/TaskList/TaskList.vue.d.ts +0 -15
  260. package/components/taskdetail/blocks/sections/Ticket/Ticket.vue.d.ts +0 -2
  261. package/components/tasktable/DependencyCol.vue.d.ts +0 -16
  262. package/components/tasktable/DialogConfirmDeleteTaskPermanently.vue.d.ts +0 -24
  263. package/components/tasktable/DialogConfirmRestoreTask.vue.d.ts +0 -24
  264. package/components/tasktable/DialogSelectProject.vue.d.ts +0 -20
  265. package/components/timeline/TimelineContentByType.vue.d.ts +0 -16
  266. package/components/tooltipspan/TooltipSpan.vue.d.ts +0 -20
  267. package/components/tree/helpers/filterNodeKeys.helper.d.ts +0 -16
  268. package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +0 -6
  269. package/components/tree/helpers/index.d.ts +0 -3
  270. package/index.d.ts +0 -2
  271. package/plugins/i18n.d.ts +0 -94
  272. package/utils/filterOptions.util.d.ts +0 -3
  273. package/utils/getAttachmentIcon.util.d.ts +0 -8
  274. package/utils/mergePropsWithDefaults.util.d.ts +0 -20
  275. package/utils/textFormatter.util.d.ts +0 -17
  276. package/wangsvue.es.js +0 -161460
@@ -1,4 +1,4 @@
1
- import { ClassComponent } from 'lib/components/ts-helpers.d';
1
+ import { ClassComponent } from '../../components/ts-helpers.d';
2
2
 
3
3
  export interface AnimationDefaultConfig {
4
4
  libPath: 'supplyasset' | 'workspace' | 'admin';
@@ -6,6 +6,14 @@ export interface AnimationDefaultConfig {
6
6
 
7
7
  export interface AnimationProps {
8
8
  animation: 'no-data' | 'loading-plane' | 'loading-page' | 'loading-table';
9
+ /**
10
+ * @default true
11
+ */
12
+ autoplay?: boolean;
13
+ /**
14
+ * @default true
15
+ */
16
+ loop?: boolean;
9
17
  }
10
18
 
11
19
  /**
@@ -1,4 +1,4 @@
1
- import { ClassComponent } from '../ts-helpers';
1
+ import { ClassComponent } from '../ts-helpers.d';
2
2
 
3
3
  export interface BadgeComponentConfigs {
4
4
  /**
@@ -1,5 +1,7 @@
1
1
  import { Slot } from 'vue';
2
- import { BadgeProps } from 'lib/components/badge/Badge.vue.d';
2
+
3
+ import { BadgeProps } from '../../components/badge/Badge.vue.d';
4
+
3
5
  import { ClassComponent, HintedString } from '../ts-helpers.d';
4
6
 
5
7
  export type ObjectBadge = {
@@ -8,15 +8,16 @@
8
8
  *
9
9
  */
10
10
  import { VNode } from 'vue';
11
+
11
12
  import { ComponentHooks } from '../basecomponent';
13
+ import { MenuItem } from '../menuitem';
12
14
  import { PassThroughOptions } from '../passthrough';
13
15
  import {
14
16
  ClassComponent,
15
17
  GlobalComponentConstructor,
16
18
  HintedString,
17
19
  PassThrough,
18
- } from '../ts-helpers';
19
- import { MenuItem } from '../menuitem';
20
+ } from '../ts-helpers.d';
20
21
 
21
22
  export declare type TreePassThroughOptionType<T = any> =
22
23
  | TreePassThroughAttributes
@@ -350,6 +351,10 @@ export interface BaseTreeProps {
350
351
  * @defaultValue false
351
352
  */
352
353
  loading?: boolean | undefined;
354
+ /**
355
+ * Defines the group tree to showing disposable groups.
356
+ */
357
+ showDisposableGroups?: boolean;
353
358
  /**
354
359
  * Icon to display when tree is loading.
355
360
  * @deprecated since v3.27.0. Use 'loadingicon' slot.
@@ -1,11 +1,12 @@
1
+ import { TooltipOptions } from 'primevue/tooltip';
1
2
  import { ButtonHTMLAttributes, VNode } from 'vue';
3
+
2
4
  import { WangsIcons } from '../icon/Icon.vue.d';
3
- import { TooltipOptions } from 'primevue/tooltip';
4
5
  import {
5
- GlobalComponentConstructor,
6
6
  ClassComponent,
7
+ GlobalComponentConstructor,
7
8
  HintedString,
8
- } from '../ts-helpers';
9
+ } from '../ts-helpers.d';
9
10
 
10
11
  /**
11
12
  * Defines valid properties in Button component.
@@ -1,6 +1,6 @@
1
1
  import { TableColumn } from '../datatable/DataTable.vue.d';
2
2
  import { DialogFormProps } from '../dialogform/DialogForm.vue.d';
3
- import { ClassComponent } from '../ts-helpers';
3
+ import { ClassComponent } from '../ts-helpers.d';
4
4
 
5
5
  export interface ButtonImportExcelProps {
6
6
  tableName: string;
@@ -1,4 +1,5 @@
1
1
  import { DefineComponent } from 'vue';
2
+
2
3
  import { MenuItem } from '../menuitem';
3
4
 
4
5
  export interface ButtonBulkActionLocaleConfig {
@@ -1,5 +1,23 @@
1
+ import { DataTableProps } from '../datatable/DataTable.vue.d';
1
2
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
2
3
 
4
+ export interface ButtonDownloadLocaleConfig {
5
+ /**
6
+ * Message to display on loading ovevrlay while downloading
7
+ */
8
+ downloadingMessage: string;
9
+
10
+ /**
11
+ * Text when booleanValue is true
12
+ */
13
+ trueText: string;
14
+
15
+ /**
16
+ * Text when booleanValue is false
17
+ */
18
+ falseText: string;
19
+ }
20
+
3
21
  export interface ButtonDownloadProps {
4
22
  fileName: string;
5
23
  /**
@@ -21,6 +39,19 @@ export interface ButtonDownloadProps {
21
39
  * Texts below table in downloaded excel
22
40
  */
23
41
  additionalTextBelowTable?: (string | string[])[];
42
+ /**
43
+ * If this props exist, download data from provided configs instead syncing with data tables
44
+ */
45
+ dataConfigs?: Pick<
46
+ DataTableProps,
47
+ 'columns' | 'fetchFunction' | 'data' | 'tableTitle'
48
+ >[];
49
+ /**
50
+ * Specify the error message download excel when tableConfigs is in use
51
+ *
52
+ * @example 'Error, failed to download {fileName}' - fileName will be replaced
53
+ */
54
+ excelToastErrorMessage?: string;
24
55
  }
25
56
 
26
57
  /**
@@ -1,6 +1,7 @@
1
1
  import { StyleValue } from 'vue';
2
+
2
3
  import { ComponentHooks } from '../basecomponent';
3
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
4
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
4
5
 
5
6
  export declare type ButtonRadioPassThroughOptionType =
6
7
  | ButtonRadioPassThroughAttributes
@@ -1,5 +1,6 @@
1
- import { ClassComponent, HintedString } from 'lib/components/ts-helpers.d';
2
- import { ButtonProps } from 'lib/components/button/Button.vue.d';
1
+ import { ButtonProps } from '../../components/button/Button.vue.d';
2
+ import { ClassComponent, HintedString } from '../../components/ts-helpers.d';
3
+
3
4
  import { WangsIcons } from '../icon/Icon.vue.d';
4
5
 
5
6
  export type ScannerErrorCode =
@@ -1,4 +1,5 @@
1
1
  import { DefineComponent } from 'vue';
2
+
2
3
  import { ButtonScanProps } from '../buttonscan/ButtonScan.vue.d';
3
4
  import { WangsIcons } from '../icon/Icon.vue.d';
4
5
 
@@ -29,6 +30,7 @@ export interface ButtonSearchByScanProps {
29
30
  * @default 'datatable' - default DataTable tablename
30
31
  */
31
32
  tableName?: string;
33
+ bulk?: boolean;
32
34
  scanValidation?: ButtonScanProps['scanValidation'];
33
35
  }
34
36
 
@@ -1,7 +1,8 @@
1
1
  import { Slot } from 'vue';
2
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
2
+
3
3
  import { TreeNode } from '../basetree/BaseTree.vue.d';
4
4
  import { QueryParams, ShortFetchResponse } from '../datatable/DataTable.vue.d';
5
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
5
6
 
6
7
  export type KeysModelValue = number[] | undefined;
7
8
  export type NodeModelValue =
@@ -100,6 +101,15 @@ export interface ButtonSelectTreeProps {
100
101
  * Disable node 'All' selection
101
102
  */
102
103
  disableNodeAll?: boolean;
104
+
105
+ /**
106
+ * A function to determine when the node should be disabled,
107
+ * When true, it will disabled selection on current node and all level childrend
108
+ *
109
+ * @return true to disabled
110
+ */
111
+ disableNodeWhen?: (node: TreeNode) => boolean;
112
+
103
113
  /**
104
114
  * Old behavior is preventing select if there is no node selected.
105
115
  *
@@ -8,20 +8,23 @@
8
8
  *
9
9
  */
10
10
  import { ButtonHTMLAttributes, VNode } from 'vue';
11
+
11
12
  import { ComponentHooks } from '../basecomponent';
12
- import { ButtonPassThroughOptions } from 'primevue/button';
13
13
  import { MenuItem } from '../menuitem';
14
14
  import { PassThroughOptions } from '../passthrough';
15
- import {
16
- TieredMenuPassThroughOptions,
17
- TieredMenuRouterBindProps,
18
- } from 'primevue/tieredmenu';
19
15
  import {
20
16
  ClassComponent,
21
17
  GlobalComponentConstructor,
22
- PassThrough,
23
18
  HintedString,
24
- } from '../ts-helpers';
19
+ PassThrough,
20
+ } from '../ts-helpers.d';
21
+
22
+ import { ButtonPassThroughOptions } from 'primevue/button';
23
+ import {
24
+ TieredMenuPassThroughOptions,
25
+ TieredMenuRouterBindProps,
26
+ } from 'primevue/tieredmenu';
27
+
25
28
  import { WangsIcons } from '../icon/Icon.vue';
26
29
 
27
30
  export declare type ButtonSplitPassThroughOptionType =
@@ -1,4 +1,4 @@
1
- import { ClassComponent } from '../ts-helpers';
1
+ import { ClassComponent } from '../ts-helpers.d';
2
2
 
3
3
  export interface ButtonSyncProps {
4
4
  /**
@@ -1,4 +1,5 @@
1
1
  import { DefineComponent } from 'vue';
2
+
2
3
  import {
3
4
  ToggleSwitchEmits,
4
5
  ToggleSwitchProps,
@@ -7,13 +7,14 @@
7
7
  *
8
8
  */
9
9
  import { VNode } from 'vue';
10
+
10
11
  import { ComponentHooks } from '../basecomponent';
11
12
  import { PassThroughOptions } from '../passthrough';
12
13
  import {
13
14
  ClassComponent,
14
15
  GlobalComponentConstructor,
15
16
  PassThrough,
16
- } from '../ts-helpers';
17
+ } from '../ts-helpers.d';
17
18
 
18
19
  export declare type CardPassThroughOptionType =
19
20
  | CardPassThroughAttributes
@@ -1,8 +1,10 @@
1
- import { Option } from '../.././components/dropdown/Dropdown.vue.d';
2
- import { ClassComponent, GlobalComponentConstructor } from '../.././components/ts-helpers';
3
- import { TableColumn } from '../.././components/datatable/DataTable.vue.d';
4
- import { FilterField } from '../.././components/filtercontainer/FilterContainer.vue.d';
5
-
1
+ import { TableColumn } from '../../components/datatable/DataTable.vue.d';
2
+ import { Option } from '../../components/dropdown/Dropdown.vue.d';
3
+ import { FilterField } from '../../components/filtercontainer/FilterContainer.vue.d';
4
+ import {
5
+ ClassComponent,
6
+ GlobalComponentConstructor,
7
+ } from '../../components/ts-helpers.d';
6
8
 
7
9
  export type ChangelogTemplateColumn = { index: number; column: TableColumn };
8
10
  export type ChangelogTemplateFilter = { index: number; filter: FilterField };
@@ -1,7 +1,14 @@
1
- import { Option } from '../.././components/dropdown/Dropdown.vue.d';
2
- import { ClassComponent, GlobalComponentConstructor } from '../.././components/ts-helpers';
3
- import { ChangelogDefaultField, ChangelogTemplateColumn, ChangelogTemplateFilter } from '../changelog/Changelog.vue.d';
1
+ import { Option } from '../../components/dropdown/Dropdown.vue.d';
2
+ import {
3
+ ClassComponent,
4
+ GlobalComponentConstructor,
5
+ } from '../../components/ts-helpers.d';
4
6
 
7
+ import {
8
+ ChangelogDefaultField,
9
+ ChangelogTemplateColumn,
10
+ ChangelogTemplateFilter,
11
+ } from '../changelog/Changelog.vue.d';
5
12
 
6
13
  export type ChangelogType = {
7
14
  _id: string;
@@ -6,13 +6,14 @@
6
6
  *
7
7
  */
8
8
  import { VNode } from 'vue';
9
+
9
10
  import { ComponentHooks } from '../basecomponent';
10
11
  import { PassThroughOptions } from '../passthrough';
11
12
  import {
12
13
  ClassComponent,
13
14
  GlobalComponentConstructor,
14
15
  PassThrough,
15
- } from '../ts-helpers';
16
+ } from '../ts-helpers.d';
16
17
 
17
18
  export declare type CheckboxPassThroughOptionType =
18
19
  | CheckboxPassThroughAttributes
@@ -1,8 +1,7 @@
1
1
  import { JSONContent } from '@tiptap/vue-3';
2
- import { ClassComponent } from '../.././components/ts-helpers';
3
- import { QueryParams } from '../.././components/datatable/DataTable.vue.d';
4
- import { GetMentionSuggestionResponse } from '../.././components/editor/Editor.vue.d';
5
-
2
+ import { QueryParams } from '../../components/datatable/DataTable.vue.d';
3
+ import { GetMentionSuggestionResponse } from '../../components/editor/Editor.vue.d';
4
+ import { ClassComponent } from '../../components/ts-helpers.d';
6
5
 
7
6
  export interface CommentProps {
8
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { TableColumn } from '../datatable/DataTable.vue.d';
2
- import { ClassComponent } from '../ts-helpers';
2
+ import { ClassComponent } from '../ts-helpers.d';
3
3
 
4
4
  export interface CustomColumnLocaleConfig {
5
5
  resetDefaultText: string;
@@ -1,8 +1,11 @@
1
- import { DialogConfirmProps } from 'lib/components/dialogconfirm/DialogConfirm.vue.d';
2
- import { MenuItem } from 'lib/components/menuitem';
3
- import { ClassComponent, HintedString } from '../ts-helpers.d';
4
1
  import { Component } from 'vue';
5
- import { DateOptions } from 'lib/utils/date.util';
2
+
3
+ import { DialogConfirmProps } from '../../components/dialogconfirm/DialogConfirm.vue.d';
4
+ import { MenuItem } from '../../components/menuitem';
5
+ import { DateOptions } from '../../utils/date.util';
6
+
7
+ import { WangsIconseverities } from '../icon/Icon.vue.d';
8
+ import { ClassComponent, HintedString } from '../ts-helpers.d';
6
9
 
7
10
  export interface DataTableLocaleConfig {
8
11
  /**
@@ -153,6 +156,12 @@ export type TableCellComponent = {
153
156
  events?: any;
154
157
  onChange?: (itemData: any) => void;
155
158
  disabled?: boolean;
159
+ /**
160
+ * To tell DataTable component whether this component should stop propagation or not
161
+ *
162
+ * @default true - since old logic was automatically stop event click from bodyComponent
163
+ */
164
+ stop?: boolean;
156
165
  };
157
166
 
158
167
  export type TogglePresetConfirmDialogProps = Omit<
@@ -241,6 +250,7 @@ export interface TableColumn {
241
250
  field: string;
242
251
  fieldType?: 'string' | 'number' | 'boolean' | 'array';
243
252
  info?: string;
253
+ infoSeverity?: WangsIconseverities;
244
254
  editable?: boolean;
245
255
  /**
246
256
  * If the column is editable, only allow number inputs.
@@ -1,6 +1,6 @@
1
- import { User } from '../../types/user.type';
2
- import { ClassComponent } from '../.././components/ts-helpers';
1
+ import { ClassComponent } from '../../components/ts-helpers.d';
3
2
 
3
+ import { User } from '../../types/user.type';
4
4
 
5
5
  export type Role = {
6
6
  _id: string;
@@ -1,7 +1,7 @@
1
+ import { ClassComponent } from '../../components/ts-helpers.d';
2
+
1
3
  import { Project } from '../../types/project.type';
2
4
  import { Pbi } from '../dialogdetailpbi/DialogDetailPbi.vue.d';
3
- import { ClassComponent } from '../.././components/ts-helpers';
4
-
5
5
 
6
6
  export type SprintSummary = {
7
7
  membersDetails: SummaryMemberDetail[];
@@ -1,3 +1,8 @@
1
- import { ToastMethod } from '../../.././utils/toast.util';
2
- declare const updateSprintStatus: (fetchData: () => Promise<void> | void, toast: ToastMethod, projectId: string, sprintId?: string) => Promise<void>;
1
+ import { ToastMethod } from '../../../utils/toast.util';
2
+ declare const updateSprintStatus: (
3
+ fetchData: () => Promise<void> | void,
4
+ toast: ToastMethod,
5
+ projectId: string,
6
+ sprintId?: string,
7
+ ) => Promise<void>;
3
8
  export default updateSprintStatus;
@@ -1,3 +1,6 @@
1
- import { FilterField } from '../../.././components/filtercontainer/FilterContainer.vue.d';
2
- declare const filterFields: (projectId: string, routeName: string) => FilterField[];
1
+ import { FilterField } from '../../../components/filtercontainer/FilterContainer.vue.d';
2
+ declare const filterFields: (
3
+ projectId: string,
4
+ routeName: string,
5
+ ) => FilterField[];
3
6
  export default filterFields;
@@ -16,7 +16,7 @@ import {
16
16
  ClassComponent,
17
17
  GlobalComponentConstructor,
18
18
  PassThrough,
19
- } from '../ts-helpers';
19
+ } from '../ts-helpers.d';
20
20
 
21
21
  export declare type DialogPassThroughOptionType<T = any> =
22
22
  | DialogPassThroughAttributes
@@ -1,9 +1,9 @@
1
- import { TaskStatus } from '../.././types/wangsStatus.type';
2
- import { FetchResponse } from '../datatable/DataTable.vue.d';
3
- import { ClassComponent } from '../ts-helpers';
4
- import { Option } from '../.././components/dropdown/Dropdown.vue.d';
5
- import { Member } from '../.././dto/member.dto';
1
+ import { FetchResponse } from '../../components/datatable/DataTable.vue.d';
2
+ import { Option } from '../../components/dropdown/Dropdown.vue.d';
3
+ import { ClassComponent } from '../../components/ts-helpers.d';
6
4
 
5
+ import { Member } from '../../dto/member.dto';
6
+ import { TaskStatus } from '../../types/wangsStatus.type';
7
7
 
8
8
  export interface DialogAdjustmentTaskProps {
9
9
  /**
@@ -0,0 +1,7 @@
1
+ import { DialogAdjustmentTaskBulkActionType } from '../DialogAdjustmentTask.vue.d';
2
+ import { MenuItem } from 'primevue/menuitem';
3
+ export declare const dialogAddjusmentTaskBulkAction: (
4
+ bulkActionEmitter: (
5
+ bulkActionType: DialogAdjustmentTaskBulkActionType,
6
+ ) => void,
7
+ ) => MenuItem[];
@@ -0,0 +1,7 @@
1
+ import { MenuItem } from '../../../components/menuitem/index';
2
+ import { DialogAdjustmentTaskSingleActionType } from '../DialogAdjustmentTask.vue.d';
3
+ export declare const dialogAdjustmentTaskSingleAction: (
4
+ singleActionEmitter: (
5
+ singleActionType: DialogAdjustmentTaskSingleActionType,
6
+ ) => void,
7
+ ) => MenuItem[];
@@ -0,0 +1,2 @@
1
+ import { TableColumn } from '../../../components/datatable/DataTable.vue.d';
2
+ export declare const dialogAdjustmentTaskTableColumn: TableColumn[];
@@ -1,8 +1,9 @@
1
1
  import { Slot } from 'vue';
2
+
2
3
  import { WangsIcons } from '../icon/Icon.vue.d';
3
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
4
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
4
5
 
5
- type ConfirmDialogSeverity = 'success' | 'danger';
6
+ type ConfirmDialogSeverity = 'success' | 'danger' | 'primary';
6
7
 
7
8
  export interface DialogConfirmLocaleConfig {
8
9
  actionableCloseButtonLabel?: string;
@@ -1,6 +1,6 @@
1
1
  import { Component } from '@fewangsit/workspace-api-services/src/types/componentService.type';
2
- import { ClassComponent } from '../.././components/ts-helpers';
3
2
 
3
+ import { ClassComponent } from '../../components/ts-helpers.d';
4
4
 
5
5
  export interface DialogDetailComponentProps {
6
6
  /**
@@ -1,9 +1,9 @@
1
- import { JSONContent } from '../.././components/editor/Editor.vue.d';
2
- import { ClassComponent } from '../.././components/ts-helpers';
1
+ import { JSONContent } from '../../components/editor/Editor.vue.d';
2
+ import { ClassComponent } from '../../components/ts-helpers.d';
3
+
3
4
  import { Project, Teams } from '../../types/project.type';
4
5
  import { User } from '../../types/user.type';
5
6
 
6
-
7
7
  type PbiCategory = 'Fitur' | 'Bug' | 'Performance & Security' | 'Dokumentasi';
8
8
 
9
9
  type PbiStatus =
@@ -3,7 +3,7 @@ import { Slot } from 'vue';
3
3
 
4
4
  import FormInstance, { FormPayload, FormProps } from '../form/Form.vue.d';
5
5
  import { WangsIcons } from '../icon/Icon.vue.d';
6
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
6
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
7
7
 
8
8
  export type DialogFormValue =
9
9
  | string
@@ -1,5 +1,4 @@
1
- import { ClassComponent } from '../.././components/ts-helpers';
2
-
1
+ import { ClassComponent } from '../../components/ts-helpers.d';
3
2
 
4
3
  export interface DialogImprovementTaskProps {
5
4
  projectId: string | undefined;
@@ -1,6 +1,6 @@
1
- import { Pbi } from '../dialogdetailpbi/DialogDetailPbi.vue.d';
2
- import { ClassComponent } from '../.././components/ts-helpers';
1
+ import { ClassComponent } from '../../components/ts-helpers.d';
3
2
 
3
+ import { Pbi } from '../dialogdetailpbi/DialogDetailPbi.vue.d';
4
4
 
5
5
  export interface DialogPreparePbiProps {
6
6
  projectId: string;
@@ -1,9 +1,11 @@
1
- import { TreeSelectionKeys } from 'primevue/tree';
1
+ import { Slot } from 'vue';
2
+
2
3
  import { TreeNode } from '../basetree/BaseTree.vue.d';
3
4
  import { QueryParams, ShortFetchResponse } from '../datatable/DataTable.vue.d';
4
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
5
5
  import TreeInstance, { TreeProps } from '../tree/Tree.vue.d';
6
- import { Slot } from 'vue';
6
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
7
+
8
+ import { TreeSelectionKeys } from 'primevue/tree';
7
9
 
8
10
  export interface DialogSelectTreeProps
9
11
  extends Omit<TreeProps, 'type' | 'filter'> {
@@ -57,6 +59,15 @@ export interface DialogSelectTreeProps
57
59
  * A list of node keys that should be disabled, affecting only the specified nodes and not their children.
58
60
  */
59
61
  exactDisableKeys?: number[];
62
+
63
+ /**
64
+ * A function to determine when the node should be disabled,
65
+ * When true, it will disabled selection on current node and all level childrend
66
+ *
67
+ * @return true to disabled
68
+ */
69
+ disableNodeWhen?: (node: TreeNode) => boolean;
70
+
60
71
  /**
61
72
  * Defines the tree is readonly and disabled.
62
73
  */
@@ -1,8 +1,10 @@
1
1
  import { Slot } from 'vue';
2
+
3
+ import { BadgeProps } from '../../components/badge/Badge.vue.d';
4
+ import { WangsIcons } from '../../components/icon/Icon.vue.d';
5
+
2
6
  import { CustomValidation } from '../form/Form.vue.d';
3
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
4
- import { BadgeProps } from 'lib/components/badge/Badge.vue.d';
5
- import { WangsIcons } from 'lib/components/icon/Icon.vue.d';
7
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
6
8
 
7
9
  export type OptionValue = string | number | boolean | Record<string, any>;
8
10
 
@@ -96,6 +98,11 @@ export interface DropdownProps {
96
98
  */
97
99
  allowNullOption?: boolean;
98
100
 
101
+ /**
102
+ * If the same option is selected again, the option is unselected.
103
+ */
104
+ unselectOnReselect?: boolean;
105
+
99
106
  /**
100
107
  * Specify the property name of option to be used as label.
101
108
  *
@@ -218,6 +225,13 @@ export interface DropdownProps {
218
225
  * @default 'Search'
219
226
  */
220
227
  filterPlaceholder?: string;
228
+
229
+ /**
230
+ * To determine whether dropdown panel width should fit its max content or not
231
+ *
232
+ * @default false
233
+ */
234
+ panelMaxContent?: boolean;
221
235
  }
222
236
 
223
237
  export interface DropdownSlots {
@@ -240,6 +254,11 @@ export type DropdownEmits = {
240
254
  * Emits when overlay shown.
241
255
  */
242
256
  'show': [];
257
+
258
+ /**
259
+ * Emits when the Field Info icon is clicked.
260
+ */
261
+ 'fieldInfoClick': [];
243
262
  };
244
263
 
245
264
  /**
@@ -1,5 +1,6 @@
1
1
  import { EditorEvents } from '@tiptap/vue-3';
2
- import { ClassComponent } from '../ts-helpers';
2
+
3
+ import { ClassComponent } from '../ts-helpers.d';
3
4
 
4
5
  export interface EditorProps {
5
6
  /**