@fewangsit/wangsvue-gsts 1.0.0-alpha.9 → 2.0.0-alpha.10

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 (232) hide show
  1. package/animation/index.d.ts +44 -0
  2. package/{components/approverinfo/ApproverInfo.vue.d.ts → approverinfo/index.d.ts} +4 -0
  3. package/assets/scanner.worker-Bk2e5hSA.js.map +1 -0
  4. package/{components/badge/Badge.vue.d.ts → badge/index.d.ts} +10 -2
  5. package/{components/badgegroup/BadgeGroup.vue.d.ts → badgegroup/index.d.ts} +19 -9
  6. package/{components/badgegrouptree/BadgeGroupTree.vue.d.ts → badgegrouptree/index.d.ts} +2 -3
  7. package/{components/basecomponent → basecomponent}/index.d.ts +0 -1
  8. package/{components/basetree/BaseTree.vue.d.ts → basetree/index.d.ts} +37 -4
  9. package/breadcrumb/index.d.ts +42 -0
  10. package/breadcrumb/store/index.d.ts +8 -0
  11. package/{components/button/Button.vue.d.ts → button/index.d.ts} +18 -7
  12. package/{components/buttonbulkaction/ButtonBulkAction.vue.d.ts → buttonbulkaction/index.d.ts} +11 -4
  13. package/buttoncopy/index.d.ts +26 -0
  14. package/{components/buttondownload/ButtonDownload.vue.d.ts → buttondownload/index.d.ts} +37 -3
  15. package/buttonfilter/index.d.ts +23 -0
  16. package/{components/buttonradio/ButtonRadio.vue.d.ts → buttonradio/index.d.ts} +3 -2
  17. package/buttonscan/index.d.ts +215 -0
  18. package/{components/buttonsearch/ButtonSearch.vue.d.ts → buttonsearch/index.d.ts} +6 -5
  19. package/buttonsearchbyscan/index.d.ts +51 -0
  20. package/{components/buttonselecttree/ButtonSelectTree.vue.d.ts → buttonselecttree/index.d.ts} +33 -14
  21. package/buttonsync/index.d.ts +22 -0
  22. package/buttontoggle/index.d.ts +27 -0
  23. package/{components/calendar/Calendar.vue.d.ts → calendar/index.d.ts} +44 -7
  24. package/{components/card/Card.vue.d.ts → card/index.d.ts} +3 -3
  25. package/carousel/index.d.ts +28 -0
  26. package/{components/changelog/Changelog.vue.d.ts → changelog/index.d.ts} +8 -4
  27. package/{components/changelogpage/ChangelogPage.vue.d.ts → changelogpage/index.d.ts} +9 -4
  28. package/{components/checkbox/Checkbox.vue.d.ts → checkbox/index.d.ts} +3 -2
  29. package/components.d.ts +66 -0
  30. package/config/defaultProps.d.ts +1 -1
  31. package/config/index.d.ts +1 -1
  32. package/config/locale.d.ts +1 -1
  33. package/{components/customcolumn/CustomColumn.vue.d.ts → customcolumn/index.d.ts} +18 -2
  34. package/datatable/index.d.ts +913 -0
  35. package/dial-codes-DGcGIlbX.js +5 -0
  36. package/dial-codes-DGcGIlbX.js.map +1 -0
  37. package/{components/dialog/Dialog.vue.d.ts → dialog/index.d.ts} +6 -6
  38. package/{components/dialogconfirm/DialogConfirm.vue.d.ts → dialogconfirm/index.d.ts} +9 -4
  39. package/{components/dialogform/DialogForm.vue.d.ts → dialogform/index.d.ts} +16 -36
  40. package/{components/dialogselecttree/DialogSelectTree.vue.d.ts → dialogselecttree/index.d.ts} +55 -14
  41. package/directives/focus.d.ts +1 -1
  42. package/directives/index.d.ts +1 -0
  43. package/directives/tooltip.d.ts +1 -0
  44. package/{components/dropdown/Dropdown.vue.d.ts → dropdown/index.d.ts} +44 -7
  45. package/{components/editor/Editor.vue.d.ts → editor/index.d.ts} +9 -1
  46. package/event-bus/index.d.ts +59 -48
  47. package/event-bus/mitt.d.ts +29 -14
  48. package/{components/fieldwrapper/FieldWrapper.vue.d.ts → fieldwrapper/index.d.ts} +32 -2
  49. package/{components/fileupload/FileUpload.vue.d.ts → fileupload/index.d.ts} +25 -8
  50. package/filtercontainer/index.d.ts +233 -0
  51. package/{components/form/Form.vue.d.ts → form/index.d.ts} +16 -3
  52. package/{components/icon/Icon.vue.d.ts → icon/index.d.ts} +76 -56
  53. package/{components/image/Image.vue.d.ts → image/index.d.ts} +35 -9
  54. package/{components/imagecompressor/ImageCompressor.vue.d.ts → imagecompressor/index.d.ts} +43 -3
  55. package/{components/inlinemessage/InlineMessage.vue.d.ts → inlinemessage/index.d.ts} +4 -1
  56. package/{components/inputbadge/InputBadge.vue.d.ts → inputbadge/index.d.ts} +37 -4
  57. package/inputcurrency/helpers/index.d.ts +8 -0
  58. package/{components/inputcurrency/InputCurrency.vue.d.ts → inputcurrency/index.d.ts} +5 -35
  59. package/inputemail/index.d.ts +30 -0
  60. package/{components/inputnumber/InputNumber.vue.d.ts → inputnumber/index.d.ts} +12 -10
  61. package/inputotp/index.d.ts +3 -0
  62. package/inputpassword/index.d.ts +73 -0
  63. package/{components/inputphonenumber/InputPhoneNumber.vue.d.ts → inputphonenumber/index.d.ts} +14 -9
  64. package/{components/inputrangenumber/InputRangeNumber.vue.d.ts → inputrangenumber/index.d.ts} +26 -11
  65. package/{components/inputtext/InputText.vue.d.ts → inputtext/index.d.ts} +9 -7
  66. package/inputurl/index.d.ts +38 -0
  67. package/invisiblefield/index.d.ts +39 -0
  68. package/languageswitcher/index.d.ts +15 -0
  69. package/{components/litedropdown/LiteDropdown.vue.d.ts → litedropdown/index.d.ts} +6 -4
  70. package/{components/loading/Loading.vue.d.ts → loading/index.d.ts} +3 -3
  71. package/{components/loading/store/loading.store.d.ts → loading/store/index.d.ts} +3 -3
  72. package/loading-page-CoC9UhfC.js +1 -0
  73. package/loading-page-CoC9UhfC.js.map +1 -0
  74. package/loading-page-CoXtqoc9.js +1 -0
  75. package/loading-page-CoXtqoc9.js.map +1 -0
  76. package/loading-page-dark-e0SrRAHc.js +5 -0
  77. package/loading-page-dark-e0SrRAHc.js.map +1 -0
  78. package/loading-page-f8D03l3G.js +1 -0
  79. package/loading-page-f8D03l3G.js.map +1 -0
  80. package/loading-plane-CoXtqoc9.js +1 -0
  81. package/loading-plane-CoXtqoc9.js.map +1 -0
  82. package/loading-table-ByUoWqUo.js +1 -0
  83. package/loading-table-ByUoWqUo.js.map +1 -0
  84. package/loading-table-BygEMzFM.js +1 -0
  85. package/loading-table-BygEMzFM.js.map +1 -0
  86. package/loading-table-D9bw9OcI.js +5 -0
  87. package/loading-table-D9bw9OcI.js.map +1 -0
  88. package/loading-table-dark-BGh0tAPM.js +5 -0
  89. package/loading-table-dark-BGh0tAPM.js.map +1 -0
  90. package/mcp/components.json +4767 -0
  91. package/mcp/components.summary.txt +24 -0
  92. package/mcp/main.js +16996 -0
  93. package/mcp/package.json +28 -0
  94. package/mcp/skills/api-service-generator/SKILL.md +93 -0
  95. package/mcp/skills/committing-changes/SKILL.md +38 -0
  96. package/mcp/skills/figma-datatable-generator/SKILL.md +93 -0
  97. package/mcp/skills/figma-to-code/SKILL.md +117 -0
  98. package/mcp/skills/import-validator/SKILL.md +54 -0
  99. package/mcp/skills/wangsvue-code-review/SKILL.md +70 -0
  100. package/mcp/skills/wangsvue-workflow/SKILL.md +91 -0
  101. package/{components/menu/Menu.vue.d.ts → menu/index.d.ts} +5 -4
  102. package/menuitem/index.d.ts +34 -0
  103. package/{components/multiselect/MultiSelect.vue.d.ts → multiselect/index.d.ts} +36 -6
  104. package/no-data-CTKux8RI.js +1 -0
  105. package/no-data-CTKux8RI.js.map +1 -0
  106. package/no-data-DLHO1L_u.js +1 -0
  107. package/no-data-DLHO1L_u.js.map +1 -0
  108. package/no-data-dark-nK4e4RAM.js +5 -0
  109. package/no-data-dark-nK4e4RAM.js.map +1 -0
  110. package/no-data-g0dJCy2p.js +1 -0
  111. package/no-data-g0dJCy2p.js.map +1 -0
  112. package/{components/overlaypanel/OverlayPanel.vue.d.ts → overlaypanel/index.d.ts} +4 -23
  113. package/package.json +27 -9
  114. package/paginator/index.d.ts +291 -0
  115. package/{components/passthrough → passthrough}/index.d.ts +0 -1
  116. package/plugins/WangsVue.d.ts +275 -98
  117. package/plugins/basei18n.d.ts +103 -0
  118. package/plugins/formValidation.d.ts +16 -6
  119. package/scan-qr-C6V4afHJ.js +5 -0
  120. package/scan-qr-C6V4afHJ.js.map +1 -0
  121. package/stats.html +4949 -0
  122. package/style.css +1 -1
  123. package/tabmenu/index.d.ts +104 -0
  124. package/tagtype/index.d.ts +33 -0
  125. package/{components/textarea/Textarea.vue.d.ts → textarea/index.d.ts} +16 -9
  126. package/{components/timeline/Timeline.vue.d.ts → timeline/index.d.ts} +42 -7
  127. package/{components/toast/Toast.vue.d.ts → toast/index.d.ts} +72 -71
  128. package/toast/service/index.d.ts +1 -0
  129. package/{components/toggleswitch/ToggleSwitch.vue.d.ts → toggleswitch/index.d.ts} +3 -2
  130. package/{components/tree → tree}/helpers/filterNodeKeys.helper.d.ts +8 -2
  131. package/tree/helpers/flattenTreeNodeChildren.helper.d.ts +8 -0
  132. package/{components/tree/Tree.vue.d.ts → tree/index.d.ts} +20 -12
  133. package/{components/ts-helpers.d.ts → ts-helpers.d.ts} +8 -1
  134. package/{components/username/UserName.vue.d.ts → username/index.d.ts} +14 -10
  135. package/utils/baseToast.util.d.ts +57 -0
  136. package/utils/cookie.util.d.ts +18 -0
  137. package/utils/date.util.d.ts +86 -23
  138. package/utils/exportToExcel.util.d.ts +19 -16
  139. package/utils/getStatusSeverity.util.d.ts +10 -3
  140. package/utils/index.d.ts +20 -17
  141. package/utils/object.util.d.ts +27 -2
  142. package/utils/role.util.d.ts +5 -1
  143. package/utils/textFormatter.util.d.ts +15 -3
  144. package/utils/toast.util.d.ts +2 -2
  145. package/utils/xlsx.util.d.ts +24 -0
  146. package/validatormessage/index.d.ts +23 -0
  147. package/wangsvue-gsts.d.ts +31 -0
  148. package/wangsvue-gsts.es.js +55418 -125996
  149. package/wangsvue-gsts.es.js.map +1 -0
  150. package/wangsvue-gsts.system.js +20 -422
  151. package/wangsvue-gsts.system.js.map +1 -0
  152. package/assets/json/currencies.json.d.ts +0 -1068
  153. package/assets/json/languages.json.d.ts +0 -180
  154. package/build-entry.d.ts +0 -14
  155. package/components/animation/Animation.vue.d.ts +0 -24
  156. package/components/basetree/TreeNode.vue.d.ts +0 -35
  157. package/components/breadcrumb/Breadcrumb.vue.d.ts +0 -26
  158. package/components/buttonImportExcel/ButtonImportExcel.vue.d.ts +0 -26
  159. package/components/buttonfilter/ButtonFilter.vue.d.ts +0 -12
  160. package/components/buttonsplit/ButtonSplit.d.ts +0 -350
  161. package/components/buttonsplit/ButtonSplit.vue.d.ts +0 -34
  162. package/components/buttontoggle/ButtonToggle.vue.d.ts +0 -18
  163. package/components/calendar/BaseCalendar.vue.d.ts +0 -83
  164. package/components/changelogpage/ChangelogFilter.vue.d.ts +0 -16
  165. package/components/codesnippet/CodeSnippet.vue.d.ts +0 -14
  166. package/components/datatable/DataTable.vue.d.ts +0 -704
  167. package/components/datatable/MultiRow.vue.d.ts +0 -16
  168. package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +0 -1
  169. package/components/datatable/helpers/filter.helper.d.ts +0 -28
  170. package/components/datatable/helpers/index.d.ts +0 -3
  171. package/components/datatable/helpers/readConfig.helper.d.ts +0 -2
  172. package/components/datatable/store/dataTable.store.d.ts +0 -22
  173. package/components/editor/CodeSnippetAdapter.vue.d.ts +0 -92
  174. package/components/editor/EditorButton.vue.d.ts +0 -15
  175. package/components/editor/MentionList.vue.d.ts +0 -35
  176. package/components/editor/MentionSection.vue.d.ts +0 -92
  177. package/components/editor/codeSnippetExtension.d.ts +0 -3
  178. package/components/editor/mentionSectionExtension.d.ts +0 -3
  179. package/components/editor/suggestion.d.ts +0 -2
  180. package/components/filtercontainer/FilterContainer.vue.d.ts +0 -141
  181. package/components/filtercontainer/helpers/applyFilter.helper.d.ts +0 -3
  182. package/components/filtercontainer/helpers/formatDateTimeRange.helper.d.ts +0 -7
  183. package/components/filtercontainer/helpers/getOption.helper.d.ts +0 -3
  184. package/components/gallerypreview/GalleryPreview.vue.d.ts +0 -31
  185. package/components/helpers/convertToArrayClass.helper.d.ts +0 -2
  186. package/components/helpers/index.d.ts +0 -2
  187. package/components/helpers/label.d.ts +0 -15
  188. package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +0 -36
  189. package/components/imagecompressor/ImageInputInfo.vue.d.ts +0 -30
  190. package/components/index.d.ts +0 -66
  191. package/components/inputcurrency/helpers/currency.helper.d.ts +0 -4
  192. package/components/inputemail/InputEmail.vue.d.ts +0 -25
  193. package/components/inputgroup/InputGroup.vue.d.ts +0 -141
  194. package/components/inputpassword/InputPassword.vue.d.ts +0 -32
  195. package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +0 -8
  196. package/components/inputurl/InputURL.vue.d.ts +0 -39
  197. package/components/invisiblefield/InvisibleField.vue.d.ts +0 -36
  198. package/components/languagedropdown/LanguageDropdown.vue.d.ts +0 -58
  199. package/components/languagedropdown/LanguageDropdownOption.vue.d.ts +0 -18
  200. package/components/menu/helpers/filterMenu.helper.d.ts +0 -12
  201. package/components/menu/helpers/index.d.ts +0 -1
  202. package/components/menuitem/MenuItem.vue.d.ts +0 -19
  203. package/components/menuitem/index.d.ts +0 -104
  204. package/components/progressbar/ProgressBar.vue.d.ts +0 -72
  205. package/components/quickfilter/QuickFilter.vue.d.ts +0 -25
  206. package/components/tabmenu/TabMenu.vue.d.ts +0 -288
  207. package/components/tagtype/TagType.vue.d.ts +0 -22
  208. package/components/timeline/TimelineContentByType.vue.d.ts +0 -16
  209. package/components/tooltipspan/TooltipSpan.vue.d.ts +0 -20
  210. package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +0 -6
  211. package/components/tree/helpers/index.d.ts +0 -3
  212. package/components/treesearchinput/TreeSearchInput.vue.d.ts +0 -16
  213. package/components/usergroup/UserGroup.vue.d.ts +0 -57
  214. package/components/validatormessage/ValidatorMessage.vue.d.ts +0 -12
  215. package/loading-page-BrQattYE.js +0 -1
  216. package/loading-page-CgfbWppy.js +0 -1
  217. package/loading-page-DbLuqCHa.js +0 -1
  218. package/loading-plane-CgfbWppy.js +0 -1
  219. package/loading-table-Bb2MtjdD.js +0 -4
  220. package/loading-table-Br25QIny.js +0 -1
  221. package/loading-table-BzrSQlA0.js +0 -1
  222. package/loading-table-chOgXi94.js +0 -1
  223. package/main.d.ts +0 -2
  224. package/no-data-Cgze_Rvp.js +0 -1
  225. package/no-data-Dep79CBh.js +0 -1
  226. package/no-data-y1X5WtcQ.js +0 -1
  227. package/plugins/translation.d.ts +0 -37
  228. package/types/options.type.d.ts +0 -16
  229. package/utils/filterOptions.util.d.ts +0 -3
  230. package/utils/genPlaceholder.util.d.ts +0 -8
  231. package/utils/getAttachmentIcon.util.d.ts +0 -8
  232. package/utils/mergePropsWithDefaults.util.d.ts +0 -20
@@ -1,8 +1,7 @@
1
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
1
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
2
2
 
3
3
  export type WangsIconseverities =
4
4
  | 'danger'
5
- | 'info'
6
5
  | 'warning'
7
6
  | 'primary'
8
7
  | 'success'
@@ -12,26 +11,21 @@ export type WangsIconseverities =
12
11
  * List of all available icons.
13
12
  */
14
13
  export type WangsIcons =
15
- | 'add'
16
14
  | 'admin-line'
17
- | 'arrow-down'
18
15
  | 'arrow-down-fill'
19
- | 'arrow-drop-down'
20
16
  | 'arrow-go-back'
21
- | 'arrow-up-s'
22
- | 'arrow-up-down'
23
- | 'arrow-left'
24
- | 'arrow-left-double'
25
17
  | 'arrow-left-right'
26
18
  | 'arrow-right'
27
19
  | 'arrow-right-circle-line'
28
20
  | 'arrow-right-double'
29
21
  | 'arrow-right-fill'
22
+ | 'apps-2-line'
30
23
  | 'asset-view'
31
24
  | 'asset'
32
25
  | 'assignment'
33
26
  | 'attachment-2'
34
27
  | 'audit'
28
+ | 'bank-card-line'
35
29
  | 'barcode'
36
30
  | 'barricade-line'
37
31
  | 'bell'
@@ -41,75 +35,56 @@ export type WangsIcons =
41
35
  | 'building-2'
42
36
  | 'building-4'
43
37
  | 'calculator'
44
- | 'calendar'
38
+ | 'calendar-event'
45
39
  | 'calendar-todo'
46
- | 'chat'
47
40
  | 'chat-check'
48
41
  | 'change-tag'
49
- | 'check'
50
42
  | 'checkout'
51
43
  | 'check-double-fill'
52
- | 'checkbox-circle'
53
44
  | 'checkbox-circle-fill'
54
45
  | 'checkbox-blank-circle'
55
46
  | 'checkbox-blank-circle-fill'
56
47
  | 'checkbox-multiple'
57
- | 'close'
58
- | 'close-circle'
59
48
  | 'close-circle-fill'
60
49
  | 'cloud-line'
61
50
  | 'coins'
62
51
  | 'completion'
63
52
  | 'dashboard'
64
53
  | 'database'
65
- | 'delete-back'
66
- | 'delete-bin'
67
54
  | 'delete-bin-7'
68
55
  | 'device'
69
56
  | 'disposal'
70
- | 'download'
71
57
  | 'dropbox'
72
58
  | 'dragable-menu'
73
- | 'edit'
74
59
  | 'ellipsis-h'
75
60
  | 'emotion-happy-fill'
76
61
  | 'emotion-unhappy-fill'
77
- | 'error'
78
- | 'error-fill'
79
- | 'exchange'
62
+ | 'expired'
80
63
  | 'extension-borrow'
81
64
  | 'eye'
82
- | 'eye-off'
83
65
  | 'flag'
84
66
  | 'file-add'
85
- | 'file-copy'
86
67
  | 'file-copy-2-line'
87
- | 'file-edit'
88
68
  | 'file-history'
89
69
  | 'file-history-fill'
90
- | 'file-info'
91
70
  | 'files'
92
71
  | 'file-lines'
93
- | 'file-list-2'
72
+ | 'file-list-3'
94
73
  | 'file-list'
95
- | 'file-settings'
96
74
  | 'file-shield-line'
97
75
  | 'file-shield-2'
98
76
  | 'file-up'
99
77
  | 'file-user'
100
78
  | 'filter-fill'
101
79
  | 'filter'
80
+ | 'fingerprint-line'
102
81
  | 'folder'
103
- | 'group'
104
- | 'hand-coin'
82
+ | 'folder-add-line'
83
+ | 'gate'
105
84
  | 'handheld'
106
- | 'history'
107
- | 'image-add'
108
85
  | 'indeterminate-circle-fill'
109
- | 'info'
110
86
  | 'information-line'
111
87
  | 'infrared-thermometer'
112
- | 'list-check'
113
88
  | 'link'
114
89
  | 'luggage-cart'
115
90
  | 'csv'
@@ -119,33 +94,34 @@ export type WangsIcons =
119
94
  | 'line-chart'
120
95
  | 'link-unlink-m'
121
96
  | 'list-settings'
122
- | 'loader-4'
97
+ | 'lock-line'
123
98
  | 'logout-box-r'
124
99
  | 'mail-open'
125
- | 'mail-send'
100
+ | 'magic-line'
126
101
  | 'map-2'
127
102
  | 'map-pin'
128
103
  | 'menu'
129
104
  | 'menu-unfold'
105
+ | 'mind-map'
130
106
  | 'minus'
131
107
  | 'money-cny-box'
132
- | 'more'
108
+ | 'money-dollar-circle'
133
109
  | 'move-to'
134
110
  | 'nfc'
135
111
  | 'node-tree'
136
112
  | 'note'
137
113
  | 'notification'
114
+ | 'organization-chart'
138
115
  | 'pdf'
139
116
  | 'pair-tag'
140
- | 'pencil'
141
117
  | 'phone'
142
- | 'printer'
143
118
  | 'printer-cloud'
144
119
  | 'price-tag-3'
145
120
  | 'profile'
146
121
  | 'qr'
147
122
  | 'qr-scan'
148
- | 'refresh'
123
+ | 'reception'
124
+ | 'recycle-bin'
149
125
  | 'replace-tag'
150
126
  | 'report-tag'
151
127
  | 'repair-ticketing'
@@ -154,25 +130,23 @@ export type WangsIcons =
154
130
  | 'round-keyboard-arrow-right'
155
131
  | 'round-keyboard-double-arrow-left'
156
132
  | 'round-keyboard-double-arrow-right'
157
- | 'search'
158
133
  | 'search-line'
159
- | 'search-eye'
160
134
  | 'send-plane-line'
161
- | 'settings'
162
135
  | 'shopping-cart-2'
163
136
  | 'smartphone'
164
137
  | 'sort-asc'
165
138
  | 'sort-desc'
166
139
  | 'supplier-return'
140
+ | 'internal-return'
167
141
  | 'spinner'
168
142
  | 'stack'
169
- | 'star'
170
143
  | 'store'
171
- | 'subtract'
144
+ | 'table'
172
145
  | 'time'
173
146
  | 'ticket'
174
147
  | 'tools'
175
148
  | 'tracking'
149
+ | 'truck-line'
176
150
  | 'unassign'
177
151
  | 'upload-2'
178
152
  | 'upload-cloud-2'
@@ -180,14 +154,10 @@ export type WangsIcons =
180
154
  | 'user-add'
181
155
  | 'user-follow'
182
156
  | 'user-received-2-line'
183
- | 'user-search'
184
- | 'user-settings'
185
157
  | 'user-shared-2-line'
186
158
  | 'user-star'
187
159
  | 'user-unfollow'
188
160
  | 'verification'
189
- | 'team'
190
- | 'mail'
191
161
  | 'timer'
192
162
  | 'format-clear'
193
163
  | 'code-line'
@@ -197,11 +167,8 @@ export type WangsIcons =
197
167
  | 'italic'
198
168
  | 'underline'
199
169
  | 'list-unordered'
200
- | 'external-link'
201
- | 'whatsapp'
202
- | 'chat-1-line'
170
+ | 'chat-1-fill'
203
171
  | 'attachment-2'
204
- | 'save'
205
172
  | 'chat-new-line'
206
173
  | 'code-box-line'
207
174
  | 'file-chart-line'
@@ -216,10 +183,63 @@ export type WangsIcons =
216
183
  | 'timer-line'
217
184
  | 'star-fill'
218
185
  | 'focus-2-line'
219
- | 'focus-3-line';
186
+ | 'global-line'
187
+ | 'focus-3-line'
188
+ | 'add-line' // Preferred
189
+ | 'arrow-down-s-line' // Preferred
190
+ | 'arrow-drop-down-line' // Preferred
191
+ | 'folder-line' // Preferred
192
+ | 'arrow-left-double-line' // Preferred
193
+ | 'arrow-left-line' // Preferred
194
+ | 'arrow-up-down-line' // Preferred
195
+ | 'arrow-up-s-line' // Preferred
196
+ | 'calendar-line' // Preferred
197
+ | 'chat-1' // Preferred
198
+ | 'chat-3-line' // Preferred
199
+ | 'check-line' // Preferred
200
+ | 'checkbox-circle-line' // Preferred
201
+ | 'close-circle-line' // Preferred
202
+ | 'close-line' // Preferred
203
+ | 'delete-back-2-line' // Preferred
204
+ | 'delete-bin-6-line' // Preferred
205
+ | 'download-2-line' // Preferred
206
+ | 'edit-2-line' // Preferred
207
+ | 'error-warning-fill' // Preferred
208
+ | 'error-warning-line' // Preferred
209
+ | 'exchange-line' // Preferred
210
+ | 'external-link-line' // Preferred
211
+ | 'eye-off-line' // Preferred
212
+ | 'file-copy-line' // Preferred
213
+ | 'file-edit-line' // Preferred
214
+ | 'file-info-line' // Preferred
215
+ | 'file-list-2-line' // Preferred
216
+ | 'file-settings-line' // Preferred
217
+ | 'group-line' // Preferred
218
+ | 'global-line' // Preferred
219
+ | 'hand-coin-line' // Preferred
220
+ | 'history-line' // Preferred
221
+ | 'image-add-line' // Preferred
222
+ | 'list-check-2' // Preferred
223
+ | 'loader-4-line' // Preferred
224
+ | 'mail-line' // Preferred
225
+ | 'mail-send-line' // Preferred
226
+ | 'more-fill' // Preferred
227
+ | 'pencil-line' // Preferred
228
+ | 'printer-line' // Preferred
229
+ | 'refresh-line' // Preferred
230
+ | 'save-line' // Preferred
231
+ | 'search-2-line' // Preferred
232
+ | 'search-eye-line' // Preferred
233
+ | 'settings-4-line' // Preferred
234
+ | 'star-line' // Preferred
235
+ | 'subtract-line' // Preferred
236
+ | 'team-line' // Preferred
237
+ | 'user-search-line' // Preferred
238
+ | 'user-settings-line' // Preferred
239
+ | 'whatsapp-line'; // Preferred
220
240
 
221
241
  export interface IconProps {
222
- icon: WangsIcons;
242
+ icon: WangsIcons | null;
223
243
  severity?: WangsIconseverities;
224
244
  /**
225
245
  * Show info on hover.
@@ -229,7 +249,7 @@ export interface IconProps {
229
249
  * Set the position of tooltip.
230
250
  */
231
251
  tooltipPos?: 'top' | 'right' | 'bottom' | 'left';
232
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
252
+
233
253
  class?: any;
234
254
  }
235
255
 
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  /**
3
2
  *
4
3
  * Displays an image with preview.
@@ -9,13 +8,14 @@
9
8
  *
10
9
  */
11
10
  import { TransitionProps, VNode } from 'vue';
11
+
12
12
  import { ComponentHooks } from '../basecomponent';
13
13
  import { PassThroughOptions } from '../passthrough';
14
14
  import {
15
15
  ClassComponent,
16
16
  GlobalComponentConstructor,
17
17
  PassThrough,
18
- } from '../ts-helpers';
18
+ } from '../ts-helpers.d';
19
19
 
20
20
  export declare type ImagePassThroughOptionType =
21
21
  | ImagePassThroughAttributes
@@ -195,6 +195,13 @@ export interface ImageProps {
195
195
  * The thumbnail image.
196
196
  */
197
197
  src?: string | Blob;
198
+
199
+ /**
200
+ * Wether use preview full image functionality
201
+ *
202
+ * @default true
203
+ */
204
+ preview?: boolean;
198
205
  /**
199
206
  * The thumbnail image width.
200
207
  *
@@ -263,23 +270,42 @@ export interface ImageProps {
263
270
  unstyled?: boolean;
264
271
 
265
272
  /**
266
- * Get image url for specifics project from its server.
267
- * @returns The full URL of the image from the server.
268
- * @param path - the Image path from API Response JSON
269
- * @param width - the image width in pixels
270
- * @param height - the image height in pixels
273
+ * Returns the full image URL or a ObjetctURL from Blob for an image resource, based on the provided path and dimensions.
274
+ *
275
+ * If the image is publicly accessible, this typically returns a fully qualified URL.
276
+ * If the image requires authentication or protected access, this may return a ObjetctURL from Blob (e.g., Base64-encoded).
277
+ *
278
+ * @param path - The image path as provided in the API response JSON. Can be null or undefined.
279
+ * @param width - Optional width of the image in pixels.
280
+ * @param height - Optional height of the image in pixels.
281
+ *
282
+ * @returns A string representing either the full image URL or a ObjetctURL from Blob. Returns `undefined` if the path is invalid.
283
+ * @example res.blob().then((blob) => resolve(URL.createObjectURL(blob)))
284
+ *
271
285
  */
272
286
  getImageURL?: (
273
287
  path?: string | null,
274
288
  width?: number,
275
289
  height?: number,
276
- ) => string | undefined;
290
+ returnURLOnly?: boolean, // Default is undefined or will return Promise when using Auth, when it manually sets to true, return the url only
291
+ ) => string | undefined | Promise<string | undefined>;
277
292
 
278
293
  /**
279
294
  * The placeholder to be shown when the image failed to load, or the src is not provided.
280
295
  * It should be preserved by project configuration.
281
296
  */
282
297
  placeholder?: string | undefined;
298
+
299
+ /**
300
+ * Use default value for width and height if not specified. The default size is 125px.
301
+ * @defaultValue true
302
+ */
303
+ useDefaultSize?: boolean;
304
+
305
+ /**
306
+ * The size of thumbnail image (in px) if props.width is undefined and props.useDefaultSize is false.
307
+ */
308
+ thumbnailSize?: number;
283
309
  }
284
310
 
285
311
  /**
@@ -368,7 +394,7 @@ export interface ImageSlots {
368
394
  * _Displays an image with preview._
369
395
  *
370
396
  * --- ---
371
- * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
397
+ * ![WangsVue](https://www.wangsit.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
372
398
  *
373
399
  * @group Component
374
400
  *
@@ -1,5 +1,31 @@
1
- import { CustomValidation } from '../form/Form.vue.d';
2
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
1
+ import { CustomValidation } from '../form';
2
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
3
+
4
+ export interface ImageCompressorLocaleConfig {
5
+ cropDialogHeader: string;
6
+ /**
7
+ * @example 'Gunakan Ctrl + Scroll untuk perbesar atau perkecil gambar'
8
+ */
9
+ cropperCtrlScrollInfo: string;
10
+ /**
11
+ * @example 'Gunakan dua jari untuk untuk perbesar atau perkecil gambar'
12
+ */
13
+ cropperTwoFingerInfo: string;
14
+
15
+ /**
16
+ * @example 'Maks. 1 MB'
17
+ */
18
+ maxSizeRequirement: string;
19
+
20
+ /**
21
+ * @example 'Hanya mendukung format gambar'
22
+ */
23
+ imageTypeRequirement: string;
24
+
25
+ cancelCropLabel: string;
26
+ changeImageLabel: string;
27
+ applyCropLabel: string;
28
+ }
3
29
 
4
30
  export type Image = {
5
31
  src: string | null;
@@ -115,6 +141,12 @@ export interface ImageCompressorProps {
115
141
  * @default true
116
142
  */
117
143
  showInfo?: boolean;
144
+ /**
145
+ * Change the requirements of the photo
146
+ *
147
+ * @default undefined - will use maxSizeRequirement, imageTypeRequirement from LocaleConfig
148
+ */
149
+ customRequirements?: string[];
118
150
  /**
119
151
  * Show dialog confirmation before delete the image.
120
152
  */
@@ -136,6 +168,10 @@ export interface ImageCompressorProps {
136
168
  * @default 'webp'
137
169
  */
138
170
  fileType?: 'webp' | 'jpeg' | 'jpg';
171
+ /**
172
+ * @default normal
173
+ */
174
+ type?: 'inline-table' | 'normal';
139
175
  }
140
176
 
141
177
  export interface ImageCompressorSlots {
@@ -152,6 +188,10 @@ export type ImageCompressorEmits = {
152
188
  */
153
189
  'applyProp': [];
154
190
  'update:defaultImage': [index?: number];
191
+ /**
192
+ * Emits on every changes in `field.value`
193
+ */
194
+ 'update:fieldValue': [value?: File[] | File];
155
195
  /**
156
196
  * On delete button clicked.
157
197
  *
@@ -170,7 +210,7 @@ export type ImageCompressorEmits = {
170
210
  * _Handle image input and compression._
171
211
  *
172
212
  * --- ---
173
- * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
213
+ * ![WangsVue](https://www.wangsit.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
174
214
  *
175
215
  * @group Component
176
216
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  */
8
8
  import { ComponentHooks } from '../basecomponent';
9
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
9
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
10
10
 
11
11
  export declare type InlineMessagePassThroughOptionType =
12
12
  | InlineMessagePassThroughAttributes
@@ -136,6 +136,9 @@ export interface InlineMessageProps {
136
136
  * The message section additional class.
137
137
  */
138
138
  messageWrapperClass?: string | string[];
139
+ listClass?: string | string[];
140
+ itemWrapperClass?: string | string[];
141
+ itemClass?: string | string[];
139
142
  /**
140
143
  * Whether to show the loading state of the component.
141
144
  *
@@ -1,5 +1,7 @@
1
- import { CustomValidation } from '../form/Form.vue.d';
2
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
1
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
+ import { BadgeProps } from '../badge';
3
+ import { CustomValidation } from '../form';
4
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
3
5
 
4
6
  /**
5
7
  * InputBadge component props
@@ -32,6 +34,37 @@ export interface InputBadgeProps {
32
34
  * - Need to specify the custom validation : { empty: 'Error message when empty' } within props validatorMessage
33
35
  */
34
36
  existingValues?: string[];
37
+ /**
38
+ * Values that can be edited by the user.
39
+ * Any new added label will considered as editable. You dont need to pass a reactive value this prop and update whenever new label is added.
40
+ *
41
+ * @default undefined - All values are editable.
42
+ */
43
+ editableValues?: string[];
44
+ /**
45
+ * List of values that can be removed. If not removable, the remove icon will be either disabled or hidden.
46
+ *
47
+ * Any new added label will considered as removable. You dont need to pass a reactive value this prop and update whenever new label is added.
48
+ * @default undefined - All values are removable.
49
+ */
50
+ removableValues?: string[];
51
+
52
+ /**
53
+ * Specify the variant of the remove button on each badge.
54
+ * By default, the remove button is hidden if the badge is not removable.
55
+ * You can set this to 'disabled' to show the remove button but disable it.
56
+ * @default hidden
57
+ *
58
+ * See {@link BadgeProps.disableRemoveButton}
59
+ */
60
+ removeButtonVariant?: 'disabled' | 'hidden';
61
+
62
+ /**
63
+ * While editing the badgem if it left empty, the badge will be restored to the previous value.
64
+ * @default false - The badge removed.
65
+ */
66
+ restoreValueOnEmpty?: boolean;
67
+
35
68
  /**
36
69
  * Determines if the field is mandatory
37
70
  */
@@ -103,13 +136,13 @@ export type InputBadgeEmits = {
103
136
  * _InputBadge is input text that changes it value into Badge component on Enter key pressed._
104
137
  *
105
138
  * --- ---
106
- * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
139
+ * ![WangsVue](https://www.wangsit.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
107
140
  *
108
141
  * @group Component
109
142
  */
110
143
  declare class InputBadge extends ClassComponent<
111
144
  InputBadgeProps,
112
- Record<string, unknown>,
145
+ unknown,
113
146
  InputBadgeEmits
114
147
  > {}
115
148
 
@@ -0,0 +1,8 @@
1
+ import { CurrencyFormat } from '..';
2
+ declare const getCurrency: (code?: string) => CurrencyFormat;
3
+ declare const formatCurrency: (
4
+ value?: number | string | null,
5
+ currency?: string,
6
+ prefix?: boolean,
7
+ ) => string;
8
+ export { formatCurrency, getCurrency };
@@ -1,5 +1,5 @@
1
- import { CustomValidation } from '../form/Form.vue.d';
2
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
1
+ import { CustomValidation } from '../form';
2
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
3
3
 
4
4
  export type CurrencyFormat = {
5
5
  name?: string;
@@ -31,18 +31,10 @@ export interface InputCurrencyLocaleConfig {
31
31
  */
32
32
  export interface InputCurrencyProps {
33
33
  /**
34
- * Number modelValue of the input.
34
+ * Used for two-way data binding outside form integration, or sets initial value for form field.
35
35
  */
36
36
  modelValue?: CurrencyValue;
37
37
 
38
- /**
39
- * Sets the initial value of the field.
40
- * This will only available with option 'useValidator'.
41
- *
42
- * In usecase like edit form, you need to display the previous inputted value.
43
- */
44
- value?: number;
45
-
46
38
  /**
47
39
  * The input label. Tell the user what input is this.
48
40
  */
@@ -98,28 +90,6 @@ export interface InputCurrencyProps {
98
90
  */
99
91
  disabled?: boolean;
100
92
 
101
- /**
102
- * Displays increment/decrement buttons.
103
- */
104
- showButtons?: boolean;
105
-
106
- /**
107
- * The width of input.
108
- */
109
- size?: 'small' | 'normal' | 'full';
110
-
111
- /**
112
- * Defines the behavior of the component.
113
- * @defaultValue currency
114
- */
115
- mode?: 'decimal' | 'currency';
116
-
117
- /**
118
- * Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators.
119
- * @defaultValue true
120
- */
121
- useGrouping?: boolean;
122
-
123
93
  /**
124
94
  * Show information about the field.
125
95
  */
@@ -148,10 +118,10 @@ export type InputCurrencyEmits = {
148
118
  /**
149
119
  * **WangsVue - InputCurrency**
150
120
  *
151
- * _Handle input Currency with form validation._
121
+ * _Handle input Currency with form validation. This component is an extension from InputNumber with mode currency._
152
122
  *
153
123
  * --- ---
154
- * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
124
+ * ![WangsVue](https://www.wangsit.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
155
125
  *
156
126
  * @group form
157
127
  */
@@ -0,0 +1,30 @@
1
+ import { InputTextEmits, InputTextProps } from '../inputtext';
2
+ import { ClassComponent } from '../ts-helpers.d';
3
+
4
+ /**
5
+ * InputEmail component props
6
+ */
7
+ export interface InputEmailProps extends Omit<InputTextProps, 'type'> {}
8
+
9
+ /**
10
+ * InputEmail component emits
11
+ */
12
+ export interface InputEmailEmits extends InputTextEmits {}
13
+
14
+ /**
15
+ * **WangsVue - InputEmail**
16
+ *
17
+ * _Handle input email with form validation._
18
+ *
19
+ * --- ---
20
+ * ![WangsVue](https://www.wangsit.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
21
+ *
22
+ * @group form
23
+ */
24
+ declare class InputEmail extends ClassComponent<
25
+ InputEmailProps,
26
+ unknown,
27
+ InputEmailEmits
28
+ > {}
29
+
30
+ export default InputEmail;