@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,123 @@
1
+ export * from '.././components';
2
+ export { default as Badge } from './badge/Badge.vue';
3
+ export { default as WorkCalendar } from './workcalendar/WorkCalendar.vue';
4
+ export { default as Changelog } from './changelog/Changelog.vue';
5
+ export { default as InputInitialName } from './inputinitialname/InputInitialName.vue';
6
+ export { default as SummaryAccordion } from './summaryaccordion/SummaryAccordion.vue';
7
+ export { default as InputRepositoryName } from './inputrepositoryname/InputRepositoryName.vue';
8
+ export { default as ChangelogPage } from './changelogpage/ChangelogPage.vue';
9
+ export { default as DialogDetailPbi } from './dialogdetailpbi/DialogDetailPbi.vue';
10
+ export { default as TaskDetailPbi } from './dialogdetailpbi/TaskDetailPbi.vue';
11
+ export { default as DetailMember } from './detailmember/DetailMember.vue';
12
+ export { default as DetailSprint } from './detailsprint/DetailSprint.vue';
13
+ export { default as DialogAdjustmentTask } from './dialogAdjustmentTask/DialogAdjustmentTask.vue';
14
+ export { default as TaskDetail } from './taskdetail/TaskDetail.vue';
15
+ export { default as TaskTable } from './tasktable/TaskTable.vue';
16
+ export { default as NotificationItem } from './notificationitem/NotificationItem.vue';
17
+ export { default as DialogImprovementTask } from './dialogimprovementtask/DialogImprovementTask.vue';
18
+ export { default as PDFViewer } from './pdfviewer/PDFViewer.vue';
19
+ export { default as Comment } from './comment/Comment.vue';
20
+ export { default as Animation } from './animation/Animation.vue';
21
+ export { default as ApproverInfo } from './approverinfo/ApproverInfo.vue';
22
+ export { default as Badge } from './badge/Badge.vue';
23
+ export { default as BadgeGroup } from './badgegroup/BadgeGroup.vue';
24
+ export { default as Breadcrumb } from './breadcrumb/Breadcrumb.vue';
25
+ export { default as Button } from './button/Button.vue';
26
+ export { default as ButtonBulkAction } from './buttonbulkaction/ButtonBulkAction.vue';
27
+ export { default as ButtonDownload } from './buttondownload/ButtonDownload.vue';
28
+ export { default as ButtonFilter } from './buttonfilter/ButtonFilter.vue';
29
+ export { default as ButtonRadio } from './buttonradio/ButtonRadio.vue';
30
+ export { default as ButtonSearch } from './buttonsearch/ButtonSearch.vue';
31
+ export { default as ButtonToggle } from './buttontoggle/ButtonToggle.vue';
32
+ export { default as Calendar } from './calendar/Calendar.vue';
33
+ export { default as Card } from './card/Card.vue';
34
+ export { default as Checkbox } from './checkbox/Checkbox.vue';
35
+ export { default as CodeSnippet } from './codesnippet/CodeSnippet.vue';
36
+ export { default as DataTable } from './datatable/DataTable.vue';
37
+ export { default as Dialog } from './dialog/Dialog.vue';
38
+ export { default as DialogConfirm } from './dialogconfirm/DialogConfirm.vue';
39
+ export { default as DialogForm } from './dialogform/DialogForm.vue';
40
+ export { default as Dropdown } from './dropdown/Dropdown.vue';
41
+ export { default as Editor } from './editor/Editor.vue';
42
+ export { default as FileUpload } from './fileupload/FileUpload.vue';
43
+ export { default as FilterContainer } from './filtercontainer/FilterContainer.vue';
44
+ export { default as Form } from './form/Form.vue';
45
+ export { default as Icon } from './icon/Icon.vue';
46
+ export { default as Image } from './image/Image.vue';
47
+ export { default as ImageCompressor } from './imagecompressor/ImageCompressor.vue';
48
+ export { default as InputBadge } from './inputbadge/InputBadge.vue';
49
+ export { default as InputCurrency } from './inputcurrency/InputCurrency.vue';
50
+ export { default as InputEmail } from './inputemail/InputEmail.vue';
51
+ export { default as InputNumber } from './inputnumber/InputNumber.vue';
52
+ export { default as InputPassword } from './inputpassword/InputPassword.vue';
53
+ export { default as InputPhoneNumber } from './inputphonenumber/InputPhoneNumber.vue';
54
+ export { default as InputRangeNumber } from './inputrangenumber/InputRangeNumber.vue';
55
+ export { default as InputText } from './inputtext/InputText.vue';
56
+ export { default as InputURL } from './inputurl/InputURL.vue';
57
+ export { default as InvisibleField } from './invisiblefield/InvisibleField.vue';
58
+ export { default as LiteDropdown } from './litedropdown/LiteDropdown.vue';
59
+ export { default as Loading } from './loading/Loading.vue';
60
+ export { default as Menu } from './menu/Menu.vue';
61
+ export { default as MultiSelect } from './multiselect/MultiSelect.vue';
62
+ export { default as OverlayPanel } from './overlaypanel/OverlayPanel.vue';
63
+ export { default as ProgressBar } from './progressbar/ProgressBar.vue';
64
+ export { default as QuickFilter } from './quickfilter/QuickFilter.vue';
65
+ export { default as TabMenu } from './tabmenu/TabMenu.vue';
66
+ export { default as Textarea } from './textarea/Textarea.vue';
67
+ export { default as Timeline } from './timeline/Timeline.vue';
68
+ export { default as Toast } from './toast/Toast.vue';
69
+ export { default as TooltipSpan } from './tooltipspan/TooltipSpan.vue';
70
+ export { default as UserGroup } from './usergroup/UserGroup.vue';
71
+ export { default as UserName } from './username/UserName.vue';
72
+ export { default as Animation } from './animation/Animation.vue';
73
+ export { default as ApproverInfo } from './approverinfo/ApproverInfo.vue';
74
+ export { default as Badge } from './badge/Badge.vue';
75
+ export { default as BadgeGroup } from './badgegroup/BadgeGroup.vue';
76
+ export { default as Breadcrumb } from './breadcrumb/Breadcrumb.vue';
77
+ export { default as Button } from './button/Button.vue';
78
+ export { default as ButtonBulkAction } from './buttonbulkaction/ButtonBulkAction.vue';
79
+ export { default as ButtonDownload } from './buttondownload/ButtonDownload.vue';
80
+ export { default as ButtonFilter } from './buttonfilter/ButtonFilter.vue';
81
+ export { default as ButtonRadio } from './buttonradio/ButtonRadio.vue';
82
+ export { default as ButtonSearch } from './buttonsearch/ButtonSearch.vue';
83
+ export { default as ButtonToggle } from './buttontoggle/ButtonToggle.vue';
84
+ export { default as Calendar } from './calendar/Calendar.vue';
85
+ export { default as Card } from './card/Card.vue';
86
+ export { default as Checkbox } from './checkbox/Checkbox.vue';
87
+ export { default as CodeSnippet } from './codesnippet/CodeSnippet.vue';
88
+ export { default as DataTable } from './datatable/DataTable.vue';
89
+ export { default as Dialog } from './dialog/Dialog.vue';
90
+ export { default as DialogConfirm } from './dialogconfirm/DialogConfirm.vue';
91
+ export { default as DialogForm } from './dialogform/DialogForm.vue';
92
+ export { default as Dropdown } from './dropdown/Dropdown.vue';
93
+ export { default as Editor } from './editor/Editor.vue';
94
+ export { default as FileUpload } from './fileupload/FileUpload.vue';
95
+ export { default as FilterContainer } from './filtercontainer/FilterContainer.vue';
96
+ export { default as Form } from './form/Form.vue';
97
+ export { default as Icon } from './icon/Icon.vue';
98
+ export { default as Image } from './image/Image.vue';
99
+ export { default as ImageCompressor } from './imagecompressor/ImageCompressor.vue';
100
+ export { default as InputBadge } from './inputbadge/InputBadge.vue';
101
+ export { default as InputCurrency } from './inputcurrency/InputCurrency.vue';
102
+ export { default as InputEmail } from './inputemail/InputEmail.vue';
103
+ export { default as InputNumber } from './inputnumber/InputNumber.vue';
104
+ export { default as InputPassword } from './inputpassword/InputPassword.vue';
105
+ export { default as InputPhoneNumber } from './inputphonenumber/InputPhoneNumber.vue';
106
+ export { default as InputRangeNumber } from './inputrangenumber/InputRangeNumber.vue';
107
+ export { default as InputText } from './inputtext/InputText.vue';
108
+ export { default as InputURL } from './inputurl/InputURL.vue';
109
+ export { default as InvisibleField } from './invisiblefield/InvisibleField.vue';
110
+ export { default as LiteDropdown } from './litedropdown/LiteDropdown.vue';
111
+ export { default as Loading } from './loading/Loading.vue';
112
+ export { default as Menu } from './menu/Menu.vue';
113
+ export { default as MultiSelect } from './multiselect/MultiSelect.vue';
114
+ export { default as OverlayPanel } from './overlaypanel/OverlayPanel.vue';
115
+ export { default as ProgressBar } from './progressbar/ProgressBar.vue';
116
+ export { default as QuickFilter } from './quickfilter/QuickFilter.vue';
117
+ export { default as TabMenu } from './tabmenu/TabMenu.vue';
118
+ export { default as Textarea } from './textarea/Textarea.vue';
119
+ export { default as Timeline } from './timeline/Timeline.vue';
120
+ export { default as Toast } from './toast/Toast.vue';
121
+ export { default as TooltipSpan } from './tooltipspan/TooltipSpan.vue';
122
+ export { default as UserGroup } from './usergroup/UserGroup.vue';
123
+ export { default as UserName } from './username/UserName.vue';
@@ -0,0 +1,118 @@
1
+ import { CustomValidation } from '../form/Form.vue.d';
2
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
+
4
+
5
+ /**
6
+ * InputBadge component props
7
+ */
8
+ export interface InputBadgeProps {
9
+ /**
10
+ * The type of input, whether input text or input email
11
+ *
12
+ * @default text
13
+ */
14
+ type?: 'text' | 'email';
15
+ /**
16
+ * The model value. Used for input without validation.
17
+ */
18
+ modelValue?: string[];
19
+ /**
20
+ * Sets the initial value of the field.
21
+ * This will only available with option 'useValidator'.
22
+ *
23
+ * In use case like edit form, you need to display the previous inputted value.
24
+ */
25
+ initialValue?: string[];
26
+ /**
27
+ * Determines if the field uses a validator
28
+ */
29
+ useValidator?: boolean;
30
+ /**
31
+ * Exisitng values to be checkeed with validation 'exist' - check the validatorMessage props
32
+ *
33
+ * - Need to specify the custom validation : { empty: 'Error message when empty' } within props validatorMessage
34
+ */
35
+ existingValues?: string[];
36
+ /**
37
+ * Determines if the field is mandatory
38
+ */
39
+ mandatory?: boolean;
40
+ /**
41
+ * Set custom validator message.
42
+ */
43
+ validatorMessage?: string | CustomValidation;
44
+ /**
45
+ * Whether shows the invalid message or not.
46
+ * The validator message will be shown if useValidator true and the field label is specified.
47
+ *
48
+ * Sets this props to 'false' to force the validator message always hidden.
49
+ *
50
+ * @default true
51
+ */
52
+ showValidatorMessage?: boolean;
53
+ /**
54
+ * Set the invalid state.
55
+ *
56
+ * @default - If field is mandatory, the field will be considered invalid if the input is empty.
57
+ */
58
+ invalid?: boolean;
59
+ /**
60
+ * This prop is required if you use this component in a form input.
61
+ * Specify the unique field name, match with your needs for API request.
62
+ *
63
+ * @default 'inputBadge'
64
+ */
65
+ fieldName?: string;
66
+ /**
67
+ * The text input placholder.
68
+ *
69
+ * @default 'Enter value'
70
+ */
71
+ placeholder?: string;
72
+ /**
73
+ * Disabled state.
74
+ */
75
+ disabled?: boolean;
76
+ /**
77
+ * The field input label. Tell the user what input is this.
78
+ */
79
+ label?: string;
80
+ /**
81
+ * Show information to user about the field.
82
+ */
83
+ fieldInfo?: string;
84
+ }
85
+
86
+ /**
87
+ * InputBadge component emits
88
+ */
89
+ export type InputBadgeEmits = {
90
+ /**
91
+ * Emits when a new label added.
92
+ */
93
+ 'update:modelValue': [value: string[] | undefined];
94
+ };
95
+
96
+ /**
97
+ * **WangsVue - InputBadge**
98
+ *
99
+ * _InputBadge is input text that changes it value into Badge component on Enter key pressed._
100
+ *
101
+ * --- ---
102
+ * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
103
+ *
104
+ * @group Component
105
+ */
106
+ declare class InputBadge extends ClassComponent<
107
+ InputBadgeProps,
108
+ Record<string, unknown>,
109
+ InputBadgeEmits
110
+ > {}
111
+
112
+ declare module '@vue/runtime-core' {
113
+ interface GlobalComponents {
114
+ InputBadge: GlobalComponentConstructor<InputBadge>;
115
+ }
116
+ }
117
+
118
+ export default InputBadge;
@@ -0,0 +1,132 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+
4
+ export type CurrencyFormat = {
5
+ name?: string;
6
+ label: string;
7
+ currency: string;
8
+ symbol: string;
9
+ locale: string;
10
+ };
11
+
12
+ export interface CurrencyValue {
13
+ currency: string; // Currency ISO Code
14
+ value?: number;
15
+ }
16
+
17
+ /**
18
+ * InputCurrency component props
19
+ */
20
+ export interface InputCurrencyProps {
21
+ /**
22
+ * Number modelValue of the input.
23
+ */
24
+ modelValue?: CurrencyValue;
25
+ /**
26
+ * Sets the initial value of the field.
27
+ * This will only available with option 'useValidator'.
28
+ *
29
+ * In usecase like edit form, you need to display the previous inputted value.
30
+ */
31
+ value?: number;
32
+ /**
33
+ * The input label. Tell the user what input is this.
34
+ */
35
+ label?: string;
36
+ /**
37
+ * Max input number value.
38
+ */
39
+ max?: number;
40
+ /**
41
+ * Wether the input should be validated with vee-validator or not.
42
+ * If you use this component within form input, you need to set this props as true.
43
+ */
44
+ useValidator?: boolean;
45
+ /**
46
+ * This prop is required if you use this component in a form input.
47
+ * Specify the unique field name, match with your needs for API request.
48
+ *
49
+ * @default 'numberInput'
50
+ */
51
+ fieldName?: string;
52
+ /**
53
+ * Wether this input field is required or not.
54
+ */
55
+ mandatory?: boolean;
56
+ /**
57
+ * Set custom validator message.
58
+ * It is rarely use, this component has handled the validator message.
59
+ */
60
+ validatorMessage?: string;
61
+ /**
62
+ * Custom invalid state.
63
+ */
64
+ invalid?: boolean;
65
+ /**
66
+ * Specify the input placeholder.
67
+ *
68
+ * @default 'Enter {label}' or 'Enter number'
69
+ */
70
+ placeholder?: string;
71
+ /**
72
+ * Disabled the input.
73
+ */
74
+ disabled?: boolean;
75
+ /**
76
+ * Displays increment/decrement buttons.
77
+ */
78
+ showButtons?: boolean;
79
+ /**
80
+ * The width of input.
81
+ */
82
+ size?: 'small' | 'normal' | 'full';
83
+ /**
84
+ * Defines the behavior of the component.
85
+ * @defaultValue currency
86
+ */
87
+ mode?: 'decimal' | 'currency';
88
+ /**
89
+ * Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators.
90
+ * @defaultValue true
91
+ */
92
+ useGrouping?: boolean;
93
+ /**
94
+ * Show information about the field.
95
+ */
96
+ fieldInfo?: string;
97
+ inputnNumberId?: string;
98
+ }
99
+
100
+ /**
101
+ * InputCurrency component emits
102
+ */
103
+ export type InputCurrencyEmits = {
104
+ /**
105
+ * Emits when the input has loosen focus.
106
+ * The model value is the valid value from given min and max number.
107
+ *
108
+ * If the inputted number is above max, return the max. And vice versa.
109
+ */
110
+ 'update:modelValue': [payload?: CurrencyValue];
111
+ /**
112
+ * If you need to check validation, you can use this events.
113
+ */
114
+ 'input': [payload?: number];
115
+ };
116
+
117
+ /**
118
+ * **WangsVue - InputCurrency**
119
+ *
120
+ * _Handle input Currency with form validation._
121
+ *
122
+ * --- ---
123
+ * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
124
+ *
125
+ * @group form
126
+ */
127
+ declare const InputCurrency: DefineComponent<
128
+ InputCurrencyProps,
129
+ InputCurrencyEmits
130
+ >;
131
+
132
+ export default InputCurrency;
@@ -0,0 +1,4 @@
1
+ import { CurrencyFormat } from '../InputCurrency.vue.d';
2
+ declare const getCurrency: (code?: string) => CurrencyFormat;
3
+ declare const formatCurrency: (value?: number | string | null, currency?: string, prefix?: boolean) => string;
4
+ export { getCurrency, formatCurrency };
@@ -0,0 +1,26 @@
1
+ import { DefineComponent } from 'vue';
2
+ import { InputTextEmits, InputTextProps } from '../inputtext/InputText.vue.d';
3
+
4
+
5
+ /**
6
+ * InputEmail component props
7
+ */
8
+ export type InputEmailProps = Omit<InputTextProps, 'type'>;
9
+
10
+ /**
11
+ * InputEmail component emits
12
+ */
13
+ export type InputEmailEmits = InputTextEmits;
14
+ /**
15
+ * **WangsVue - InputEmail**
16
+ *
17
+ * _Handle input email with form validation._
18
+ *
19
+ * --- ---
20
+ * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
21
+ *
22
+ * @group form
23
+ */
24
+ declare const InputEmail: DefineComponent<InputEmailProps, InputEmailEmits>;
25
+
26
+ export default InputEmail;
@@ -0,0 +1,131 @@
1
+ import { 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 InputGroupPassThroughOptionType =
8
+ | InputGroupPassThroughAttributes
9
+ | ((
10
+ options: InputGroupPassThroughMethodOptions,
11
+ ) => InputGroupPassThroughAttributes | string)
12
+ | string
13
+ | null
14
+ | undefined;
15
+
16
+ /**
17
+ * Custom passthrough(pt) option method.
18
+ */
19
+ export interface InputGroupPassThroughMethodOptions {
20
+ /**
21
+ * Defines instance.
22
+ */
23
+ instance: any;
24
+ /**
25
+ * Defines valid attributes.
26
+ */
27
+ attrs: any;
28
+ /**
29
+ * Defines parent options.
30
+ */
31
+ parent: any;
32
+ /**
33
+ * Defines passthrough(pt) options in global config.
34
+ */
35
+ global: object | undefined;
36
+ }
37
+
38
+ /**
39
+ * Custom passthrough(pt) options.
40
+ * @see {@link InputGroupProps.pt}
41
+ */
42
+ export interface InputGroupPassThroughOptions {
43
+ /**
44
+ * Used to pass attributes to the root's DOM element.
45
+ */
46
+ root?: InputGroupPassThroughOptionType;
47
+ /**
48
+ * Used to manage all lifecycle hooks.
49
+ * @see {@link BaseComponent.ComponentHooks}
50
+ */
51
+ hooks?: ComponentHooks;
52
+ }
53
+
54
+ /**
55
+ * Custom passthrough attributes for each DOM elements
56
+ */
57
+ export interface InputGroupPassThroughAttributes {
58
+ [key: string]: any;
59
+ }
60
+
61
+ /**
62
+ * Defines valid properties in InputGroup component.
63
+ */
64
+ export interface InputGroupProps {
65
+ /**
66
+ * Used to pass attributes to DOM elements inside the component.
67
+ * @type {InputGroupPassThroughOptions}
68
+ */
69
+ pt?: PassThrough<InputGroupPassThroughOptions>;
70
+ /**
71
+ * Used to configure passthrough(pt) options of the component.
72
+ * @type {PassThroughOptions}
73
+ */
74
+ ptOptions?: PassThroughOptions;
75
+ /**
76
+ * @default default
77
+ */
78
+ ring?: 'none' | 'default';
79
+ /**
80
+ * When enabled, it removes component related styles in the core.
81
+ * @defaultValue false
82
+ */
83
+ unstyled?: boolean;
84
+ /**
85
+ * @defaultValue false
86
+ */
87
+ invalid?: boolean;
88
+ /**
89
+ * @defaultValue false
90
+ */
91
+ disabled?: boolean;
92
+ }
93
+
94
+ /**
95
+ * Defines valid slots in InputGroup component.
96
+ */
97
+ export interface InputGroupSlots {
98
+ /**
99
+ * Custom default template.
100
+ */
101
+ default(): VNode[];
102
+ /**
103
+ * Dynamic content template.
104
+ * @todo
105
+ */
106
+ [key: string]: (node: any) => VNode[];
107
+ }
108
+
109
+ /**
110
+ * **WangsVue - InputGroup**
111
+ *
112
+ * _InputGroup displays text, icon, buttons and other content can be grouped next to an input._
113
+ *
114
+ * --- ---
115
+ * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
116
+ *
117
+ * @group Component
118
+ */
119
+ declare class InputGroup extends ClassComponent<
120
+ InputGroupProps,
121
+ InputGroupSlots,
122
+ unknown
123
+ > {}
124
+
125
+ declare module '@vue/runtime-core' {
126
+ interface GlobalComponents {
127
+ InputGroup: GlobalComponentConstructor<InputGroup>;
128
+ }
129
+ }
130
+
131
+ export default InputGroup;
@@ -0,0 +1,118 @@
1
+ import { DefineComponent } from 'vue';
2
+ import { Nullable } from '../ts-helpers';
3
+ import { CustomValidation } from '../form/Form.vue.d';
4
+
5
+
6
+ /**
7
+ * InputInitialName component props
8
+ */
9
+ export interface InputInitialNameProps {
10
+ /**
11
+ * Model value for the input field
12
+ */
13
+ modelValue?: Nullable<string>;
14
+ /**
15
+ * Initial value for field validation
16
+ */
17
+ value?: Nullable<string>;
18
+ /**
19
+ * Pass the full name to automaticaly formatted to initial name
20
+ */
21
+ fullName?: string;
22
+ /**
23
+ * A list of initital names to be compared with new inputed
24
+ */
25
+ existingInitialNames: string[];
26
+ maxLength?: number;
27
+ /**
28
+ * Label for the input field
29
+ */
30
+ label?: string;
31
+
32
+ /**
33
+ * Specify classes for label
34
+ */
35
+ labelClass?: string;
36
+
37
+ /**
38
+ * Field name for the input field
39
+ */
40
+ fieldName?: string;
41
+
42
+ /**
43
+ * Set manual invalid input container state.
44
+ */
45
+ manualInvalidContainer?: boolean;
46
+
47
+ /**
48
+ * Determines if the field is mandatory
49
+ */
50
+ mandatory?: boolean;
51
+
52
+ /**
53
+ * Determines if the field uses a validator
54
+ */
55
+ useValidator?: boolean;
56
+
57
+ /**
58
+ * Validator message for the input field
59
+ */
60
+ validatorMessage?: CustomValidation;
61
+
62
+ /**
63
+ * Classes for validator message in input field
64
+ */
65
+ validatorMessageClass?: string;
66
+
67
+ /**
68
+ * Placeholder for the input field
69
+ */
70
+ placeholder?: string;
71
+
72
+ /**
73
+ * Determines if the input field is disabled
74
+ */
75
+ disabled?: boolean;
76
+
77
+ /**
78
+ * Show information to user about the field.
79
+ */
80
+ fieldInfo?: string;
81
+
82
+ /**
83
+ * Specify classes for input
84
+ */
85
+ inputClass?: string;
86
+
87
+ /**
88
+ * Specify classes for input container
89
+ */
90
+ inputContainerClass?: string;
91
+ }
92
+
93
+ /**
94
+ * InputInitialName component emits
95
+ */
96
+ export type InputInitialNameEmits = {
97
+ /**
98
+ * Event emitted when the model value is updated
99
+ */
100
+ 'update:modelValue': [payload?: Nullable<string>];
101
+ 'blur': [payload?: Nullable<string>];
102
+ };
103
+ /**
104
+ * **WangsVue - InputInitialName**
105
+ *
106
+ * _Handle input email with form validation._
107
+ *
108
+ * --- ---
109
+ * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
110
+ *
111
+ * @group form
112
+ */
113
+ declare const InputInitialName: DefineComponent<
114
+ InputInitialNameProps,
115
+ InputInitialNameEmits
116
+ >;
117
+
118
+ export default InputInitialName;