@fewangsit/wangsvue-fats 1.0.0-alpha.42 → 1.0.0-alpha.44

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 (284) hide show
  1. package/components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts +44 -0
  2. package/components/index.d.ts +1 -0
  3. package/components/inlinemessage/InlineMessage.vue.d.ts +167 -0
  4. package/event-bus/index.d.ts +3 -0
  5. package/loading-page-BrQattYE.js +1 -0
  6. package/loading-page-CoC9UhfC.js +4 -0
  7. package/loading-page-DbLuqCHa.js +1 -0
  8. package/loading-page-f8D03l3G.js +4 -0
  9. package/loading-plane-CgfbWppy.js +1 -0
  10. package/loading-plane-CoXtqoc9.js +4 -0
  11. package/loading-table-Bdr9ZhtP.js +1 -0
  12. package/loading-table-ByUoWqUo.js +4 -0
  13. package/loading-table-BygEMzFM.js +4 -0
  14. package/loading-table-BzrSQlA0.js +1 -0
  15. package/loading-table-D9bw9OcI.js +4 -0
  16. package/loading-table-chOgXi94.js +1 -0
  17. package/no-data-CTKux8RI.js +4 -0
  18. package/no-data-Cgze_Rvp.js +1 -0
  19. package/{assets/lottiejs/no-data-DOy8kIGF.es.js → no-data-DLHO1L_u.js} +2 -13
  20. package/no-data-Dep79CBh.js +1 -0
  21. package/no-data-g0dJCy2p.js +4 -0
  22. package/no-data-y1X5WtcQ.js +1 -0
  23. package/package.json +3 -3
  24. package/stats.html +1 -1
  25. package/style.css +1 -1
  26. package/wangsvue-fats.js +51885 -346
  27. package/wangsvue-fats.system.js +312 -1
  28. package/assets/lottiejs/loading-page-B9ooQcfF.system.js +0 -1
  29. package/assets/lottiejs/loading-page-CQ0mKER2.es.js +0 -15
  30. package/assets/lottiejs/loading-table-B4T3FYiI.system.js +0 -1
  31. package/assets/lottiejs/loading-table-BnpbX8Ew.es.js +0 -15
  32. package/assets/lottiejs/no-data-CMWnya_k.system.js +0 -1
  33. package/components/animation/Animation-6756VN9N.system.js +0 -1
  34. package/components/animation/Animation-COWVilAA.es.js +0 -428
  35. package/components/approverinfo/ApproverInfo-BdqBpNjY.system.js +0 -1
  36. package/components/approverinfo/ApproverInfo-C3_ibV8c.es.js +0 -321
  37. package/components/assetinfo/AssetInfo-BBgKToRP.system.js +0 -1
  38. package/components/assetinfo/AssetInfo-CmwgOU74.es.js +0 -298
  39. package/components/backgroundimagecropper/BackgroundImageCropper-DFHtaSyE.system.js +0 -1
  40. package/components/backgroundimagecropper/BackgroundImageCropper-HKzUEXq-.es.js +0 -57
  41. package/components/badge/Badge-CndPv5v9.system.js +0 -1
  42. package/components/badge/Badge-DA-XiE1C.es.js +0 -115
  43. package/components/badgegroup/BadgeGroup-Bj0EjoML.es.js +0 -68
  44. package/components/badgegroup/BadgeGroup-Y-HhiHk8.system.js +0 -1
  45. package/components/basecalendar/BaseCalendar-47ahYXrt.es.js +0 -867
  46. package/components/basecalendar/BaseCalendar-Ce46jOkg.system.js +0 -1
  47. package/components/basetree/BaseTree-DDu1qI7t.system.js +0 -1
  48. package/components/basetree/BaseTree-DLSA5FMh.es.js +0 -167
  49. package/components/breadcrumb/Breadcrumb-B5bAijry.system.js +0 -1
  50. package/components/breadcrumb/Breadcrumb-BWSmLPqn.es.js +0 -46
  51. package/components/button/Button-D-MSv_AS.es.js +0 -120
  52. package/components/button/Button-Okx1_kOu.system.js +0 -1
  53. package/components/buttonbulkaction/ButtonBulkAction-B4RcdWmb.es.js +0 -185
  54. package/components/buttonbulkaction/ButtonBulkAction-DLmvicRL.system.js +0 -1
  55. package/components/buttoncopy/ButtonCopy-BZgQAFOM.es.js +0 -31
  56. package/components/buttoncopy/ButtonCopy-CKi1bBpz.system.js +0 -1
  57. package/components/buttondownload/ButtonDownload-Bw9T3mbW.es.js +0 -92
  58. package/components/buttondownload/ButtonDownload-CpA0ryUT.system.js +0 -1
  59. package/components/buttonfilter/ButtonFilter-BIE-jM2i.es.js +0 -28
  60. package/components/buttonfilter/ButtonFilter-C4WRvUrj.system.js +0 -1
  61. package/components/buttonradio/ButtonRadio-5VUY8o5h.es.js +0 -83
  62. package/components/buttonradio/ButtonRadio-B2wWrgB5.system.js +0 -1
  63. package/components/buttonscan/ButtonScan-BCScT2cx.es.js +0 -421
  64. package/components/buttonscan/ButtonScan-TbyhlW5M.system.js +0 -1
  65. package/components/buttonsearch/ButtonSearch-Clbafqts.es.js +0 -70
  66. package/components/buttonsearch/ButtonSearch-e57pD5r3.system.js +0 -1
  67. package/components/buttonselecttree/ButtonSelectTree-B-_Iw5sB.es.js +0 -218
  68. package/components/buttonselecttree/ButtonSelectTree-Cbq1oeVK.system.js +0 -1
  69. package/components/buttonselectuser/ButtonSelectUser-Ar7Y8tVR.es.js +0 -101
  70. package/components/buttonselectuser/ButtonSelectUser-Cfe6m75Z.system.js +0 -1
  71. package/components/buttonsync/ButtonSync-Bc1GZXT6.es.js +0 -29
  72. package/components/buttonsync/ButtonSync-ClllEdAy.system.js +0 -1
  73. package/components/buttontoggle/ButtonToggle-DIy3M8Pz.es.js +0 -11
  74. package/components/buttontoggle/ButtonToggle-VNp0lbcW.system.js +0 -1
  75. package/components/buttonviewlog/ButtonViewLog-Ct8QwEey.system.js +0 -1
  76. package/components/buttonviewlog/ButtonViewLog-h9uVv5A5.es.js +0 -21
  77. package/components/calendar/Calendar-7yBKZsvj.system.js +0 -1
  78. package/components/calendar/Calendar-Df6CnW-l.es.js +0 -112
  79. package/components/card/Card-BUKU2FcT.system.js +0 -1
  80. package/components/card/Card-CwnxKNdM.es.js +0 -47
  81. package/components/checkbox/Checkbox-CCtItmVW.system.js +0 -1
  82. package/components/checkbox/Checkbox-DdsR222S.es.js +0 -135
  83. package/components/codesnippet/CodeSnippet-Bpps-Iyc.es.js +0 -127
  84. package/components/codesnippet/CodeSnippet-DvTtZ28b.system.js +0 -2
  85. package/components/codesnippetadapter/CodeSnippetAdapter-BtSqWBl1.system.js +0 -1
  86. package/components/codesnippetadapter/CodeSnippetAdapter-jgXoPKzr.es.js +0 -26
  87. package/components/columnlist/ColumnList-Bh3LZlOa.system.js +0 -1
  88. package/components/columnlist/ColumnList-Bp7soiys.es.js +0 -204
  89. package/components/customcolumn/CustomColumn-CVhAbTGn.system.js +0 -1
  90. package/components/customcolumn/CustomColumn-Dblxjw_0.es.js +0 -138
  91. package/components/datatable/DataTable--mHUKNUr.system.js +0 -1
  92. package/components/datatable/DataTable-J1j-OKsW.es.js +0 -983
  93. package/components/dialog/Dialog-Dy93f91f.es.js +0 -121
  94. package/components/dialog/Dialog-WEl66uTI.system.js +0 -1
  95. package/components/dialogconfirm/DialogConfirm-BOFb7rJD.es.js +0 -139
  96. package/components/dialogconfirm/DialogConfirm-o7_v7F31.system.js +0 -1
  97. package/components/dialogform/DialogForm-C15nC1wH.es.js +0 -223
  98. package/components/dialogform/DialogForm-CdpY1_-F.system.js +0 -1
  99. package/components/dialogselecttree/DialogSelectTree-BA8xEqco.es.js +0 -268
  100. package/components/dialogselecttree/DialogSelectTree-DKxWI9Re.system.js +0 -1
  101. package/components/dialogselectuser/DialogSelectUser-BZTSktHZ.system.js +0 -1
  102. package/components/dialogselectuser/DialogSelectUser-Bu5TDAPt.es.js +0 -186
  103. package/components/dialogselectuserfilter/DialogSelectUserFilter-DEl4zFaX.system.js +0 -1
  104. package/components/dialogselectuserfilter/DialogSelectUserFilter-Dz5OxAU-.es.js +0 -40
  105. package/components/dropdown/Dropdown-D4S52rW5.es.js +0 -252
  106. package/components/dropdown/Dropdown-DuvNYyq0.system.js +0 -1
  107. package/components/editor/Editor-DQ7Xdy30.es.js +0 -1036
  108. package/components/editor/Editor-IfYw2Tps.system.js +0 -1
  109. package/components/editorbutton/EditorButton-DDgS2vga.es.js +0 -28
  110. package/components/editorbutton/EditorButton-DmVrr4Bk.system.js +0 -1
  111. package/components/fieldwrapper/FieldWrapper-C6HJ2HnC.es.js +0 -34
  112. package/components/fieldwrapper/FieldWrapper-DFjw9hA8.system.js +0 -1
  113. package/components/fileupload/FileUpload-B6PAucnD.es.js +0 -175
  114. package/components/fileupload/FileUpload-iVAJXujV.system.js +0 -1
  115. package/components/filtercontainer/FilterContainer-CuMaq5Sv.es.js +0 -284
  116. package/components/filtercontainer/FilterContainer-DUeVLHgZ.system.js +0 -1
  117. package/components/form/Form-D-e0VI8V.system.js +0 -1
  118. package/components/form/Form-eSj-nb1y.es.js +0 -181
  119. package/components/hardwaresync/HardwareSync--HomfQuH.system.js +0 -1
  120. package/components/hardwaresync/HardwareSync-DUsVwHx1.es.js +0 -236
  121. package/components/icon/Icon-DUylRmY4.system.js +0 -1
  122. package/components/icon/Icon-mDqG7urn.es.js +0 -82
  123. package/components/image/Image-BZ31CL-y.es.js +0 -169
  124. package/components/image/Image-DX6uB7Ns.system.js +0 -1
  125. package/components/imagecompressor/ImageCompressor-BLeJDvN3.system.js +0 -1
  126. package/components/imagecompressor/ImageCompressor-DaW0ak9c.es.js +0 -501
  127. package/components/imageinputinfo/ImageInputInfo-C5F14hbF.system.js +0 -1
  128. package/components/imageinputinfo/ImageInputInfo-oTtVBxzO.es.js +0 -46
  129. package/components/inlinemessage/InlineMessage-19w6FOcP.system.js +0 -1
  130. package/components/inlinemessage/InlineMessage-CBZT3jWS.es.js +0 -94
  131. package/components/inputbadge/InputBadge-CsdT7M7-.es.js +0 -186
  132. package/components/inputbadge/InputBadge-dgANMV70.system.js +0 -1
  133. package/components/inputcurrency/InputCurrency-B96npK8W.es.js +0 -1208
  134. package/components/inputcurrency/InputCurrency-ChqGX5L8.system.js +0 -1
  135. package/components/inputemail/InputEmail-BMzumenA.es.js +0 -49
  136. package/components/inputemail/InputEmail-CYILS9bp.system.js +0 -1
  137. package/components/inputgroup/InputGroup-G9TEI4vX.system.js +0 -1
  138. package/components/inputgroup/InputGroup-eNDRlJ5R.es.js +0 -56
  139. package/components/inputnumber/InputNumber-Bzk_YzWM.es.js +0 -232
  140. package/components/inputnumber/InputNumber-CRyg8Xw_.system.js +0 -1
  141. package/components/inputpassword/InputPassword-BMHMWLgU.es.js +0 -121
  142. package/components/inputpassword/InputPassword-BjB6FsoL.system.js +0 -1
  143. package/components/inputphonenumber/InputPhoneNumber-CVM2oK5q.es.js +0 -591
  144. package/components/inputphonenumber/InputPhoneNumber-DIbd3upL.system.js +0 -1
  145. package/components/inputrangenumber/InputRangeNumber-B1aAoKVj.es.js +0 -134
  146. package/components/inputrangenumber/InputRangeNumber-C28xgFBY.system.js +0 -1
  147. package/components/inputsearch/InputSearch--KHwTBTm.system.js +0 -1
  148. package/components/inputsearch/InputSearch-cPq3vqhy.es.js +0 -53
  149. package/components/inputtext/InputText-93zDNfC3.system.js +0 -1
  150. package/components/inputtext/InputText-_xEnXysf.es.js +0 -241
  151. package/components/inputurl/InputURL-aqx1PVKL.es.js +0 -61
  152. package/components/inputurl/InputURL-kWIiKGEG.system.js +0 -1
  153. package/components/invisiblefield/InvisibleField-4XbiOrqw.es.js +0 -27
  154. package/components/invisiblefield/InvisibleField-BHudtX2g.system.js +0 -1
  155. package/components/litedropdown/LiteDropdown-3KsCx4wX.system.js +0 -1
  156. package/components/litedropdown/LiteDropdown-DcSzP11l.es.js +0 -102
  157. package/components/loading/Loading-D8M801C9.es.js +0 -24
  158. package/components/loading/Loading-Diwog8dc.system.js +0 -1
  159. package/components/mentionlist/MentionList--7AymnhE.es.js +0 -58
  160. package/components/mentionlist/MentionList-600dsWhX.system.js +0 -1
  161. package/components/mentionsection/MentionSection-C1gWOzH2.system.js +0 -3
  162. package/components/mentionsection/MentionSection-C_c4qbpq.es.js +0 -52
  163. package/components/menu/Menu-BmTMFwBD.es.js +0 -73
  164. package/components/menu/Menu-OR25pAK3.system.js +0 -1
  165. package/components/menuitem/MenuItem-LoZMc0T9.es.js +0 -65
  166. package/components/menuitem/MenuItem-imQ-hYTP.system.js +0 -1
  167. package/components/multirow/MultiRow-ClSMxrEx.es.js +0 -52
  168. package/components/multirow/MultiRow-DKu6uIsI.system.js +0 -1
  169. package/components/multiselect/MultiSelect-DGhS1EyX.es.js +0 -189
  170. package/components/multiselect/MultiSelect-DKFYq47E.system.js +0 -1
  171. package/components/overlaypanel/OverlayPanel-C_WCcNPw.system.js +0 -1
  172. package/components/overlaypanel/OverlayPanel-DXNek7Yb.es.js +0 -49
  173. package/components/tabmenu/TabMenu-CAQqu-ff.system.js +0 -1
  174. package/components/tabmenu/TabMenu-iMeZa8gy.es.js +0 -108
  175. package/components/tagtype/TagType-CX7BVRrE.es.js +0 -49
  176. package/components/tagtype/TagType-IMYg8AJf.system.js +0 -1
  177. package/components/textarea/Textarea-ClnQ2qmf.es.js +0 -108
  178. package/components/textarea/Textarea-DlkzVURV.system.js +0 -1
  179. package/components/timeline/Timeline-BMRdV_mH.es.js +0 -120
  180. package/components/timeline/Timeline-D7SYc3QX.system.js +0 -1
  181. package/components/timelinecontentbytype/TimelineContentByType-BmWsZID0.system.js +0 -1
  182. package/components/timelinecontentbytype/TimelineContentByType-ehFLzTA1.es.js +0 -111
  183. package/components/toast/Toast-DnALWJkx.es.js +0 -74
  184. package/components/toast/Toast-Pc_DOZ5-.system.js +0 -1
  185. package/components/toggleswitch/ToggleSwitch-WHdD3oYL.system.js +0 -1
  186. package/components/toggleswitch/ToggleSwitch-wRjnHRIw.es.js +0 -90
  187. package/components/transactionroles/TransactionRoles-B_67h5wb.es.js +0 -223
  188. package/components/transactionroles/TransactionRoles-DSXBVwPM.system.js +0 -1
  189. package/components/tree/Tree-BoVGYw5N.system.js +0 -1
  190. package/components/tree/Tree-DnaIZZ8S.es.js +0 -268
  191. package/components/treenode/TreeNode-D5aepDIU.system.js +0 -1
  192. package/components/treenode/TreeNode-KJOUvlTH.es.js +0 -499
  193. package/components/treesearchinput/TreeSearchInput-B1PmhE7k.es.js +0 -56
  194. package/components/treesearchinput/TreeSearchInput-C-hXPV61.system.js +0 -1
  195. package/components/username/UserName-CCyPAYG6.system.js +0 -1
  196. package/components/username/UserName-CWs83BX6.es.js +0 -130
  197. package/components/userwithicon/UserWithIcon-CFjQcbAS.system.js +0 -1
  198. package/components/userwithicon/UserWithIcon-Dn3aNKdq.es.js +0 -18
  199. package/components/validatormessage/ValidatorMessage-BtKfBXzO.es.js +0 -19
  200. package/components/validatormessage/ValidatorMessage-VVfyqlRF.system.js +0 -1
  201. package/vendor/@popperjs/core-BDAJHTVh.es.js +0 -905
  202. package/vendor/@popperjs/core-DpNOCyB0.system.js +0 -1
  203. package/vendor/@tiptap/core-BLz8iRA3.es.js +0 -2868
  204. package/vendor/@tiptap/core-bnIgGWIt.system.js +0 -80
  205. package/vendor/@tiptap/extension-bold-BnsTNqIJ.es.js +0 -71
  206. package/vendor/@tiptap/extension-bold-C_KVm_D0.system.js +0 -1
  207. package/vendor/@tiptap/extension-bubble-menu-D421L1EU.system.js +0 -1
  208. package/vendor/@tiptap/extension-bubble-menu-D9Vgq7yO.es.js +0 -128
  209. package/vendor/@tiptap/extension-bullet-list-GNj3sKw9.es.js +0 -53
  210. package/vendor/@tiptap/extension-bullet-list-kXXFF-_p.system.js +0 -1
  211. package/vendor/@tiptap/extension-code-CfQ7g1i2.es.js +0 -51
  212. package/vendor/@tiptap/extension-code-Q8P1EHjz.system.js +0 -1
  213. package/vendor/@tiptap/extension-floating-menu-8rFSweor.system.js +0 -1
  214. package/vendor/@tiptap/extension-floating-menu-CSQuJzDM.es.js +0 -99
  215. package/vendor/@tiptap/extension-heading-BE64-Rg_.system.js +0 -1
  216. package/vendor/@tiptap/extension-heading-ZTlCgdtc.es.js +0 -54
  217. package/vendor/@tiptap/extension-history-GLkLmX-Y.system.js +0 -1
  218. package/vendor/@tiptap/extension-history-eJIThEn-.es.js +0 -35
  219. package/vendor/@tiptap/extension-image-B8NPUVFM.es.js +0 -64
  220. package/vendor/@tiptap/extension-image-rKrdkZpJ.system.js +0 -1
  221. package/vendor/@tiptap/extension-italic-C_CyJubw.es.js +0 -70
  222. package/vendor/@tiptap/extension-italic-Dg0Nosoc.system.js +0 -1
  223. package/vendor/@tiptap/extension-link-Cd8bTMBz.system.js +0 -1
  224. package/vendor/@tiptap/extension-link-D4PFdLvA.es.js +0 -262
  225. package/vendor/@tiptap/extension-list-item-7pIJ7t09.es.js +0 -33
  226. package/vendor/@tiptap/extension-list-item-Mnhfw2gP.system.js +0 -1
  227. package/vendor/@tiptap/extension-mention-DVF3rX_z.system.js +0 -1
  228. package/vendor/@tiptap/extension-mention-Dkg-tbrz.es.js +0 -130
  229. package/vendor/@tiptap/extension-ordered-list-DLI4xDN8.es.js +0 -71
  230. package/vendor/@tiptap/extension-ordered-list-Hl0QU8Zt.system.js +0 -1
  231. package/vendor/@tiptap/extension-placeholder-BeLl2T-f.system.js +0 -1
  232. package/vendor/@tiptap/extension-placeholder-V0iTxU19.es.js +0 -52
  233. package/vendor/@tiptap/extension-underline-BdcAQ4JH.system.js +0 -1
  234. package/vendor/@tiptap/extension-underline-DsGbvz80.es.js +0 -40
  235. package/vendor/@tiptap/suggestion-BpZSO8Lm.system.js +0 -1
  236. package/vendor/@tiptap/suggestion-C4sBhJAD.es.js +0 -131
  237. package/vendor/@tiptap/vue-3-BH1pZykd.system.js +0 -1
  238. package/vendor/@tiptap/vue-3-DceiR7pK.es.js +0 -436
  239. package/vendor/highlight.js-BAruEf1H.system.js +0 -2
  240. package/vendor/highlight.js-DHowhWoU.es.js +0 -2493
  241. package/vendor/linkifyjs-BxsOjwQz.es.js +0 -705
  242. package/vendor/linkifyjs-CMLfIa6I.system.js +0 -5
  243. package/vendor/lodash-DbIT-6qv.es.js +0 -127
  244. package/vendor/lodash-DbvKLWSv.system.js +0 -1
  245. package/vendor/lodash-es-C3G1Cc1m.system.js +0 -1
  246. package/vendor/lodash-es-CJerBxJQ.es.js +0 -766
  247. package/vendor/orderedmap-B3SOk52B.es.js +0 -103
  248. package/vendor/orderedmap-Dwr31MF0.system.js +0 -1
  249. package/vendor/primevue-CadmDhWp.es.js +0 -13928
  250. package/vendor/primevue-u6FsQONA.system.js +0 -193
  251. package/vendor/prosemirror-commands-DLmzIpoS.es.js +0 -383
  252. package/vendor/prosemirror-commands-DgY3QRzI.system.js +0 -2
  253. package/vendor/prosemirror-history-BMpJFORS.es.js +0 -248
  254. package/vendor/prosemirror-history-BrK-FTBv.system.js +0 -1
  255. package/vendor/prosemirror-keymap-COb3Dq2o.system.js +0 -1
  256. package/vendor/prosemirror-keymap-DF8LLxca.es.js +0 -60
  257. package/vendor/prosemirror-model-D2n-Dx_L.es.js +0 -2736
  258. package/vendor/prosemirror-model-DTWK5xnv.system.js +0 -4
  259. package/vendor/prosemirror-schema-list-BPpAP8wR.system.js +0 -1
  260. package/vendor/prosemirror-schema-list-BvrICwYb.es.js +0 -87
  261. package/vendor/prosemirror-state-CwkYUmNs.es.js +0 -820
  262. package/vendor/prosemirror-state-DzPLD-6l.system.js +0 -1
  263. package/vendor/prosemirror-transform-DvAmofec.es.js +0 -1507
  264. package/vendor/prosemirror-transform-VaXuT0NM.system.js +0 -2
  265. package/vendor/prosemirror-view-JTdpiWMD.system.js +0 -5
  266. package/vendor/prosemirror-view-ta7l3rKk.es.js +0 -3742
  267. package/vendor/rope-sequence-4t46C6az.system.js +0 -1
  268. package/vendor/rope-sequence-sEGCUMi8.es.js +0 -100
  269. package/vendor/simplebar-core-71xT5g0m.system.js +0 -1
  270. package/vendor/simplebar-core-Db65-Ath.es.js +0 -333
  271. package/vendor/simplebar-vue-BFEeFUIv.system.js +0 -1
  272. package/vendor/simplebar-vue-DAxqu0eM.es.js +0 -176
  273. package/vendor/tippy.js-CuKTz0UR.system.js +0 -1
  274. package/vendor/tippy.js-DNnwm2RY.es.js +0 -721
  275. package/vendor/uuid-93tp0umt.es.js +0 -9
  276. package/vendor/uuid-Cymn6orr.system.js +0 -1
  277. package/vendor/vee-validate-Cc_B-qII.system.js +0 -5
  278. package/vendor/vee-validate-RE5RuswC.es.js +0 -1309
  279. package/vendor/vue-advanced-cropper-CshlvNaD.es.js +0 -1380
  280. package/vendor/vue-advanced-cropper-NG93jHnU.system.js +0 -20
  281. package/vendor/w3c-keyname-BSD-PgAi.system.js +0 -1
  282. package/vendor/w3c-keyname-CLxH8j-f.es.js +0 -92
  283. /package/{assets/lottiejs/loading-plane-CgfbWppy.system.js → loading-page-CgfbWppy.js} +0 -0
  284. /package/{assets/lottiejs/loading-plane-CoXtqoc9.es.js → loading-page-CoXtqoc9.js} +0 -0
@@ -1,268 +0,0 @@
1
- import { defineComponent as P, mergeModels as T, useModel as U, inject as F, ref as o, computed as W, watch as b, createBlock as N, openBlock as d, unref as v, createSlots as O, withCtx as g, createVNode as w, mergeProps as z, renderSlot as D, createElementVNode as K, createElementBlock as k, createCommentVNode as S, normalizeClass as V, toDisplayString as L, Fragment as I, renderList as Y, withDirectives as q, vShow as J } from "vue";
2
- import { g as Q } from "../animation/Animation-COWVilAA.es.js";
3
- import { _ as j } from "../button/Button-D-MSv_AS.es.js";
4
- import { _ as R } from "../dialog/Dialog-Dy93f91f.es.js";
5
- import { _ as X } from "../tree/Tree-DnaIZZ8S.es.js";
6
- import { _ as Z } from "../treesearchinput/TreeSearchInput-B1PmhE7k.es.js";
7
- import { _ } from "../validatormessage/ValidatorMessage-BtKfBXzO.es.js";
8
- const ee = {
9
- class: "flex flex-col gap-3 items-start w-full",
10
- "data-wv-section": "header-wrapper"
11
- }, le = {
12
- key: 0,
13
- class: "list-inside w-full overflow-auto max-h-20",
14
- "data-wv-section": "dialog-select-tree-lists"
15
- }, te = {
16
- class: "flex gap-1 items-center justify-end",
17
- "data-wv-section": "footer-button"
18
- }, ue = /* @__PURE__ */ P({
19
- __name: "DialogSelectTree",
20
- props: /* @__PURE__ */ T({
21
- fetchTree: {},
22
- params: {},
23
- visible: { type: Boolean },
24
- type: { default: "group" },
25
- autoSelectAll: { type: Boolean },
26
- header: {},
27
- subHeader: { default: void 0 },
28
- selectionMode: { default: "checkbox" },
29
- allowEmptySelection: { type: Boolean, default: !0 },
30
- keys: { default: void 0 },
31
- lists: { default: void 0 },
32
- listLabel: { default: void 0 },
33
- disableNodeAll: { type: Boolean, default: !1 },
34
- exactDisableKey: {},
35
- disableKeys: {},
36
- exactDisableKeys: {},
37
- readonly: { type: Boolean },
38
- showDisposableGroups: { type: Boolean },
39
- flattenDisposableNode: { type: Boolean },
40
- excludedKeys: {},
41
- hidden: { type: Boolean },
42
- propagateSelection: { type: Boolean },
43
- selectedKeys: {},
44
- selectedTreeNodes: {},
45
- useOption: { type: Boolean },
46
- listLabelsNoOption: {},
47
- treeNodeMenus: {},
48
- selectLastNode: { type: Boolean },
49
- includeNodeAllKey: { type: Boolean },
50
- selectDisposableOnly: { type: Boolean },
51
- shouldEmitEventOnChange: { type: Boolean },
52
- level: {},
53
- value: {},
54
- expandedKeys: {},
55
- selectionKeys: {},
56
- metaKeySelection: { type: Boolean },
57
- loading: { type: Boolean },
58
- loadingIcon: {},
59
- loadingMode: {},
60
- filterText: {},
61
- filterBy: {},
62
- filterMode: {},
63
- filterPlaceholder: {},
64
- filterLocale: {},
65
- highlightOnSelect: { type: Boolean },
66
- scrollHeight: {},
67
- ariaLabel: {},
68
- ariaLabelledby: {},
69
- pt: {},
70
- ptOptions: {},
71
- unstyled: { type: Boolean },
72
- disableNodeWhen: {},
73
- exactDisableNodeWhen: {},
74
- nodeSelectedWhen: {}
75
- }, {
76
- visible: { type: Boolean, default: !1 },
77
- visibleModifiers: {}
78
- }),
79
- emits: /* @__PURE__ */ T(["select", "hide"], ["update:visible"]),
80
- setup($, { expose: x, emit: A }) {
81
- const s = $, C = A, n = U($, "visible"), f = F("preset", {}).dialog, r = o(), p = o(""), y = o(""), m = o([]), c = o(), h = o(), E = o(!1), u = o(), B = o(), H = W(() => s.header ? s.header : s.type === "group" ? "Select Group" : "Select Category"), M = (e = !0) => {
82
- c.value = u.value, h.value = B.value, Object.keys(c.value ?? {}).length ? (C("select", {
83
- keys: c.value,
84
- selectedNodes: m.value,
85
- singleNode: h.value
86
- }), n.value = !e) : s.allowEmptySelection ? (C("select", {
87
- keys: [],
88
- selectedNodes: void 0,
89
- singleNode: void 0
90
- }), n.value = !e) : s.allowEmptySelection || (y.value = "You must pick a " + s.type.toLowerCase());
91
- };
92
- return b(n, (e) => {
93
- u.value = e ? c.value : void 0, B.value = e ? h.value : void 0, e && s.keys && !u.value && (u.value = s.keys);
94
- }), b(
95
- r,
96
- (e) => {
97
- e && s.showDisposableGroups && (e.showDisposableGroups = !0, E.value = !0);
98
- },
99
- { deep: !0 }
100
- ), b(
101
- m,
102
- () => {
103
- s.hidden && M(!1);
104
- },
105
- { once: !0 }
106
- ), b(
107
- () => s.keys,
108
- () => {
109
- c.value = s.keys;
110
- }
111
- ), x({ treeComponent: r }), (e, l) => (d(), N(R, {
112
- visible: n.value,
113
- "onUpdate:visible": l[7] || (l[7] = (t) => n.value = t),
114
- modal: !e.hidden,
115
- pt: {
116
- root: {
117
- class: [
118
- ...v(f).root({ state: {} }).class,
119
- "!w-[400px]",
120
- { "!hidden": e.hidden }
121
- ]
122
- },
123
- header: {
124
- class: "relative"
125
- },
126
- icons: {
127
- class: "absolute top-0 right-0"
128
- },
129
- content: {
130
- class: [
131
- ...v(f).content({ state: {}, instance: {} }).class,
132
- "pr-1.5 focus-visible:outline-none"
133
- ]
134
- },
135
- footer: {
136
- class: [
137
- {
138
- "flex justify-end items-center gap-1": e.allowEmptySelection,
139
- "flex justify-end items-end flex-col gap-1": !e.allowEmptySelection
140
- }
141
- ]
142
- }
143
- },
144
- onHide: l[8] || (l[8] = (t) => e.$emit("hide")),
145
- onShow: l[9] || (l[9] = (t) => y.value = ""),
146
- "data-wv-name": "dialogselecttree"
147
- }, O({
148
- header: g(() => {
149
- var t;
150
- return [
151
- D(e.$slots, "header", {
152
- dialogHeader: H.value,
153
- filter: p.value,
154
- isLoading: !!((t = r.value) != null && t.isLoading),
155
- listLabel: e.listLabel,
156
- lists: e.lists,
157
- subHeader: e.subHeader,
158
- updateFilter: (a) => p.value = a
159
- }, () => {
160
- var a;
161
- return [
162
- K("div", ee, [
163
- K("h3", {
164
- class: V([...v(f).title.class, "!leading-6"])
165
- }, L(H.value), 3),
166
- e.lists ? (d(), k("ul", le, [
167
- (d(!0), k(I, null, Y(e.lists, (i, G) => (d(), k("li", {
168
- key: G,
169
- class: "text-xs leading-[16.39px] tracking-[0.02em] font-medium text-general-800 list-disc ps-[6px]"
170
- }, L(e.listLabel && typeof i != "string" ? v(Q)(i, e.listLabel) : i), 1))), 128))
171
- ])) : S("", !0),
172
- e.subHeader ? (d(), k("h4", {
173
- key: 1,
174
- class: V([...v(f).title.class, "!leading-6 text-sm"])
175
- }, L(e.subHeader), 3)) : S("", !0),
176
- (a = r.value) != null && a.isLoading ? S("", !0) : (d(), N(Z, {
177
- key: 2,
178
- modelValue: p.value,
179
- "onUpdate:modelValue": l[0] || (l[0] = (i) => p.value = i),
180
- class: "w-full"
181
- }, null, 8, ["modelValue"]))
182
- ])
183
- ];
184
- })
185
- ];
186
- }),
187
- default: g(() => [
188
- w(X, z({
189
- ref_key: "treeComponent",
190
- ref: r
191
- }, s, {
192
- "selected-keys": u.value,
193
- "onUpdate:selectedKeys": [
194
- l[1] || (l[1] = (t) => u.value = t),
195
- l[4] || (l[4] = (t) => y.value = "")
196
- ],
197
- "selected-tree-nodes": m.value,
198
- "onUpdate:selectedTreeNodes": l[2] || (l[2] = (t) => m.value = t),
199
- "auto-select-all": e.autoSelectAll,
200
- "disable-keys": e.disableKeys,
201
- "disable-node-all": e.disableNodeAll,
202
- "exact-disable-key": e.exactDisableKey,
203
- "exact-disable-keys": e.exactDisableKeys,
204
- "excluded-keys": e.excludedKeys,
205
- "fetch-tree": e.fetchTree,
206
- filter: p.value,
207
- "flatten-disposable-node": e.flattenDisposableNode,
208
- params: e.params,
209
- "propagate-selection": e.propagateSelection,
210
- readonly: s.readonly,
211
- "select-disposable-only": E.value,
212
- "selection-mode": e.selectionMode,
213
- type: s.type,
214
- onNodeSelect: l[3] || (l[3] = (t) => B.value = t)
215
- }), O({ _: 2 }, [
216
- e.$slots.treenode ? {
217
- name: "default",
218
- fn: g(({ node: t, checked: a, disabled: i }) => [
219
- D(e.$slots, "treenode", {
220
- checked: a,
221
- disabled: i,
222
- node: t
223
- })
224
- ]),
225
- key: "0"
226
- } : void 0
227
- ]), 1040, ["selected-keys", "selected-tree-nodes", "auto-select-all", "disable-keys", "disable-node-all", "exact-disable-key", "exact-disable-keys", "excluded-keys", "fetch-tree", "filter", "flatten-disposable-node", "params", "propagate-selection", "readonly", "select-disposable-only", "selection-mode", "type"])
228
- ]),
229
- _: 2
230
- }, [
231
- s.readonly ? void 0 : {
232
- name: "footer",
233
- fn: g(() => [
234
- D(e.$slots, "footer", {}, () => {
235
- var t;
236
- return [
237
- e.allowEmptySelection ? S("", !0) : q((d(), N(_, {
238
- key: 0,
239
- format: !1,
240
- message: y.value
241
- }, null, 8, ["message"])), [
242
- [J, !!y.value]
243
- ]),
244
- K("div", te, [
245
- w(j, {
246
- onClick: l[5] || (l[5] = (a) => n.value = !1),
247
- label: "Cancel",
248
- severity: "secondary",
249
- text: ""
250
- }),
251
- w(j, {
252
- disabled: (t = r.value) == null ? void 0 : t.isLoading,
253
- onClick: l[6] || (l[6] = (a) => M(!0)),
254
- label: "Select",
255
- severity: "success"
256
- }, null, 8, ["disabled"])
257
- ])
258
- ];
259
- })
260
- ]),
261
- key: "0"
262
- }
263
- ]), 1032, ["visible", "modal", "pt"]));
264
- }
265
- });
266
- export {
267
- ue as _
268
- };
@@ -1 +0,0 @@
1
- System.register(["vue","../animation/Animation-6756VN9N.system.js","../button/Button-Okx1_kOu.system.js","../dialog/Dialog-WEl66uTI.system.js","../tree/Tree-BoVGYw5N.system.js","../treesearchinput/TreeSearchInput-C-hXPV61.system.js","../validatormessage/ValidatorMessage-VVfyqlRF.system.js"],function(Z,ae){"use strict";var T,L,V,H,o,O,y,S,i,r,K,v,h,x,B,w,f,b,$,N,A,P,F,G,U,j,W,z,I,Y;return{setters:[l=>{T=l.defineComponent,L=l.mergeModels,V=l.useModel,H=l.inject,o=l.ref,O=l.computed,y=l.watch,S=l.createBlock,i=l.openBlock,r=l.unref,K=l.createSlots,v=l.withCtx,h=l.createVNode,x=l.mergeProps,B=l.renderSlot,w=l.createElementVNode,f=l.createElementBlock,b=l.createCommentVNode,$=l.normalizeClass,N=l.toDisplayString,A=l.Fragment,P=l.renderList,F=l.withDirectives,G=l.vShow},l=>{U=l.g},l=>{j=l._},l=>{W=l._},l=>{z=l._},l=>{I=l._},l=>{Y=l._}],execute:function(){const l={class:"flex flex-col gap-3 items-start w-full","data-wv-section":"header-wrapper"},_={key:0,class:"list-inside w-full overflow-auto max-h-20","data-wv-section":"dialog-select-tree-lists"},ee={class:"flex gap-1 items-center justify-end","data-wv-section":"footer-button"},oe=Z("_",T({__name:"DialogSelectTree",props:L({fetchTree:{},params:{},visible:{type:Boolean},type:{default:"group"},autoSelectAll:{type:Boolean},header:{},subHeader:{default:void 0},selectionMode:{default:"checkbox"},allowEmptySelection:{type:Boolean,default:!0},keys:{default:void 0},lists:{default:void 0},listLabel:{default:void 0},disableNodeAll:{type:Boolean,default:!1},exactDisableKey:{},disableKeys:{},exactDisableKeys:{},readonly:{type:Boolean},showDisposableGroups:{type:Boolean},flattenDisposableNode:{type:Boolean},excludedKeys:{},hidden:{type:Boolean},propagateSelection:{type:Boolean},selectedKeys:{},selectedTreeNodes:{},useOption:{type:Boolean},listLabelsNoOption:{},treeNodeMenus:{},selectLastNode:{type:Boolean},includeNodeAllKey:{type:Boolean},selectDisposableOnly:{type:Boolean},shouldEmitEventOnChange:{type:Boolean},level:{},value:{},expandedKeys:{},selectionKeys:{},metaKeySelection:{type:Boolean},loading:{type:Boolean},loadingIcon:{},loadingMode:{},filterText:{},filterBy:{},filterMode:{},filterPlaceholder:{},filterLocale:{},highlightOnSelect:{type:Boolean},scrollHeight:{},ariaLabel:{},ariaLabelledby:{},pt:{},ptOptions:{},unstyled:{type:Boolean},disableNodeWhen:{},exactDisableNodeWhen:{},nodeSelectedWhen:{}},{visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:L(["select","hide"],["update:visible"]),setup(q,{expose:le,emit:te}){const a=q,J=te,u=V(q,"visible"),D=H("preset",{}).dialog,p=o(),m=o(""),g=o(""),C=o([]),k=o(),E=o(),Q=o(!1),c=o(),M=o(),R=O(()=>a.header?a.header:a.type==="group"?"Select Group":"Select Category"),X=(e=!0)=>{k.value=c.value,E.value=M.value,Object.keys(k.value??{}).length?(J("select",{keys:k.value,selectedNodes:C.value,singleNode:E.value}),u.value=!e):a.allowEmptySelection?(J("select",{keys:[],selectedNodes:void 0,singleNode:void 0}),u.value=!e):a.allowEmptySelection||(g.value="You must pick a "+a.type.toLowerCase())};return y(u,e=>{c.value=e?k.value:void 0,M.value=e?E.value:void 0,e&&a.keys&&!c.value&&(c.value=a.keys)}),y(p,e=>{e&&a.showDisposableGroups&&(e.showDisposableGroups=!0,Q.value=!0)},{deep:!0}),y(C,()=>{a.hidden&&X(!1)},{once:!0}),y(()=>a.keys,()=>{k.value=a.keys}),le({treeComponent:p}),(e,t)=>(i(),S(W,{visible:u.value,"onUpdate:visible":t[7]||(t[7]=s=>u.value=s),modal:!e.hidden,pt:{root:{class:[...r(D).root({state:{}}).class,"!w-[400px]",{"!hidden":e.hidden}]},header:{class:"relative"},icons:{class:"absolute top-0 right-0"},content:{class:[...r(D).content({state:{},instance:{}}).class,"pr-1.5 focus-visible:outline-none"]},footer:{class:[{"flex justify-end items-center gap-1":e.allowEmptySelection,"flex justify-end items-end flex-col gap-1":!e.allowEmptySelection}]}},onHide:t[8]||(t[8]=s=>e.$emit("hide")),onShow:t[9]||(t[9]=s=>g.value=""),"data-wv-name":"dialogselecttree"},K({header:v(()=>{var s;return[B(e.$slots,"header",{dialogHeader:R.value,filter:m.value,isLoading:!!((s=p.value)!=null&&s.isLoading),listLabel:e.listLabel,lists:e.lists,subHeader:e.subHeader,updateFilter:n=>m.value=n},()=>{var n;return[w("div",l,[w("h3",{class:$([...r(D).title.class,"!leading-6"])},N(R.value),3),e.lists?(i(),f("ul",_,[(i(!0),f(A,null,P(e.lists,(d,se)=>(i(),f("li",{key:se,class:"text-xs leading-[16.39px] tracking-[0.02em] font-medium text-general-800 list-disc ps-[6px]"},N(e.listLabel&&typeof d!="string"?r(U)(d,e.listLabel):d),1))),128))])):b("",!0),e.subHeader?(i(),f("h4",{key:1,class:$([...r(D).title.class,"!leading-6 text-sm"])},N(e.subHeader),3)):b("",!0),(n=p.value)!=null&&n.isLoading?b("",!0):(i(),S(I,{key:2,modelValue:m.value,"onUpdate:modelValue":t[0]||(t[0]=d=>m.value=d),class:"w-full"},null,8,["modelValue"]))])]})]}),default:v(()=>[h(z,x({ref_key:"treeComponent",ref:p},a,{"selected-keys":c.value,"onUpdate:selectedKeys":[t[1]||(t[1]=s=>c.value=s),t[4]||(t[4]=s=>g.value="")],"selected-tree-nodes":C.value,"onUpdate:selectedTreeNodes":t[2]||(t[2]=s=>C.value=s),"auto-select-all":e.autoSelectAll,"disable-keys":e.disableKeys,"disable-node-all":e.disableNodeAll,"exact-disable-key":e.exactDisableKey,"exact-disable-keys":e.exactDisableKeys,"excluded-keys":e.excludedKeys,"fetch-tree":e.fetchTree,filter:m.value,"flatten-disposable-node":e.flattenDisposableNode,params:e.params,"propagate-selection":e.propagateSelection,readonly:a.readonly,"select-disposable-only":Q.value,"selection-mode":e.selectionMode,type:a.type,onNodeSelect:t[3]||(t[3]=s=>M.value=s)}),K({_:2},[e.$slots.treenode?{name:"default",fn:v(({node:s,checked:n,disabled:d})=>[B(e.$slots,"treenode",{checked:n,disabled:d,node:s})]),key:"0"}:void 0]),1040,["selected-keys","selected-tree-nodes","auto-select-all","disable-keys","disable-node-all","exact-disable-key","exact-disable-keys","excluded-keys","fetch-tree","filter","flatten-disposable-node","params","propagate-selection","readonly","select-disposable-only","selection-mode","type"])]),_:2},[a.readonly?void 0:{name:"footer",fn:v(()=>[B(e.$slots,"footer",{},()=>{var s;return[e.allowEmptySelection?b("",!0):F((i(),S(Y,{key:0,format:!1,message:g.value},null,8,["message"])),[[G,!!g.value]]),w("div",ee,[h(j,{onClick:t[5]||(t[5]=n=>u.value=!1),label:"Cancel",severity:"secondary",text:""}),h(j,{disabled:(s=p.value)==null?void 0:s.isLoading,onClick:t[6]||(t[6]=n=>X(!0)),label:"Select",severity:"success"},null,8,["disabled"])])]})]),key:"0"}]),1032,["visible","modal","pt"]))}}))}}});
@@ -1 +0,0 @@
1
- System.register(["vue","@tagsamurai/fats-api-services","../image/Image-DX6uB7Ns.system.js","../button/Button-Okx1_kOu.system.js","../buttonfilter/ButtonFilter-C4WRvUrj.system.js","../buttonsearch/ButtonSearch-e57pD5r3.system.js","../datatable/DataTable--mHUKNUr.system.js","../dialog/Dialog-WEl66uTI.system.js","../dialogselectuserfilter/DialogSelectUserFilter-DEl4zFaX.system.js"],function(I,M){"use strict";var a,k,S,w,x,c,b,n,u,v,o,B,C,g,F,D,y,N,h,T,U,j,$,V;return{setters:[e=>{a=e.ref,k=e.defineComponent,S=e.computed,w=e.watch,x=e.createBlock,c=e.openBlock,b=e.withCtx,n=e.createElementVNode,u=e.createElementBlock,v=e.createCommentVNode,o=e.createVNode,B=e.Fragment,C=e.renderList,g=e.toDisplayString,F=e.unref,D=e.renderSlot},e=>{y=e.getImageURL},e=>{N=e._},e=>{h=e._},e=>{T=e._},e=>{U=e._},e=>{j=e.D},e=>{$=e._},e=>{V=e._}],execute:function(){const e=()=>a([{field:"profilePictureSmall",header:"Photo",sortable:!0,bodyComponent(t){return{component:N,props:{thumbnail:y(t.profilePictureSmall),preview:y(t.profilePictureBig),size:"small"}}}},{field:"fullName",header:"Name",sortable:!0,bodyTemplate(t){return(t==null?void 0:t.fullName)??(t==null?void 0:t.name)}},{field:"employeeId",header:"Empolyee ID",sortable:!0,bodyTemplate(t){return(t==null?void 0:t.employeeId)??"-"}},{field:"email",header:"Email",sortable:!0,bodyTemplate(t){return(t==null?void 0:t.email)??"-"}},{field:"phoneNumber",header:"Phone",sortable:!0,bodyTemplate(t){return(t==null?void 0:t.phoneNumber)??"-"}},{field:"position",header:"Position",sortable:!0,bodyTemplate(t){return(t==null?void 0:t.position)??"-"}},{field:"division",header:"Division",sortable:!0,bodyTemplate(t){return(t==null?void 0:t.division)??"-"}}]),L={class:"flex flex-col gap-2"},P={key:0,class:"overflow-auto max-h-20 list-inside list-disc h-auto ml-2"},O={class:"flex justify-between items-center gap-1","data-ts-section":"dialog-asset-name-detail-action-group"},R={class:""},z={class:"flex justify-end items-center gap-1"},W={class:"flex flex-col justify-end gap-1"},Y={key:0,class:"text-danger-500 text-[12px] font-light","data-ts-section":"warning-message"},Q=I("_",k({__name:"DialogSelectUser",props:{header:{default:"Select User"},description:{default:"Select user"},selectionType:{},visible:{type:Boolean},list:{},selectButtonLabel:{default:"Select"},fetchFunction:{},fetchOptionFunction:{}},emits:["update:visible","selected"],setup(t,{emit:q}){const s=t,p=q,_=S(()=>s.visible),d=a(!1),E=a(),f=a([]),m=a(),A=e(),G=()=>{!f.value.length&&!m.value?d.value=!0:(s.selectionType==="checkbox"?p("selected",f.value):p("selected",m.value),p("update:visible",!1))},H=()=>{f.value=[],m.value=void 0,d.value=!1},J=async r=>{if(s.fetchFunction)return await s.fetchFunction(r)};return w(_,async r=>{H(),r&&s.fetchOptionFunction&&(E.value=await s.fetchOptionFunction())},{immediate:!0}),(r,l)=>(c(),x($,{visible:_.value,"onUpdate:visible":[l[3]||(l[3]=i=>_.value=i),l[4]||(l[4]=i=>p("update:visible",!!i))],draggable:!1,header:s.header,class:"w-[800px]",closable:"","data-ts-name":"dialog-asset-name-detail",modal:""},{footer:b(()=>[D(r.$slots,"footer",{},()=>[n("div",W,[d.value?(c(),u("span",Y," You must pick a user ")):v("",!0),n("div",null,[o(h,{onClick:l[2]||(l[2]=i=>r.$emit("update:visible",!1)),label:"Cancel",severity:"dark",text:""}),o(h,{label:s.selectButtonLabel,onClick:G,"data-ts-section":"select-button",severity:"success"},null,8,["label"])])])])]),default:b(()=>[n("div",L,[s.list&&s.list.length?(c(),u("ul",P,[(c(!0),u(B,null,C(s.list,(i,K)=>(c(),u("li",{key:K},g(i),1))),128))])):v("",!0),n("div",O,[n("div",R,g(r.description),1),n("div",z,[o(U,{"table-name":"dialog-select-user-table"}),o(T,{"table-name":"dialog-select-user-table"})])]),o(V,{"filter-options":E.value,"table-name":"dialog-select-user-table"},null,8,["filter-options"]),o(j,{"selected-data":f.value,"onUpdate:selectedData":l[0]||(l[0]=i=>f.value=i),columns:F(A),"fetch-function":J,rows:10,"selection-type":s.selectionType,"use-option":!1,onRowSelect:l[1]||(l[1]=i=>{d.value=!1,m.value=m.value?void 0:i.data}),"data-key":"_id",lazy:"","table-name":"dialog-select-user-table","use-paginator":""},null,8,["selected-data","columns","selection-type"])])]),_:3},8,["visible","header"]))}}))}}});
@@ -1,186 +0,0 @@
1
- import { ref as c, defineComponent as U, computed as $, watch as C, createBlock as N, openBlock as u, withCtx as v, createElementVNode as i, createElementBlock as f, createCommentVNode as h, createVNode as n, Fragment as B, renderList as D, toDisplayString as y, unref as P, renderSlot as E } from "vue";
2
- import { getImageURL as _ } from "@tagsamurai/fats-api-services";
3
- import { _ as I } from "../image/Image-BZ31CL-y.es.js";
4
- import { _ as g } from "../button/Button-D-MSv_AS.es.js";
5
- import { _ as L } from "../buttonfilter/ButtonFilter-BIE-jM2i.es.js";
6
- import { _ as O } from "../buttonsearch/ButtonSearch-Clbafqts.es.js";
7
- import { D as j } from "../datatable/DataTable-J1j-OKsW.es.js";
8
- import { _ as V } from "../dialog/Dialog-Dy93f91f.es.js";
9
- import { _ as z } from "../dialogselectuserfilter/DialogSelectUserFilter-Dz5OxAU-.es.js";
10
- const R = () => c([
11
- {
12
- field: "profilePictureSmall",
13
- header: "Photo",
14
- sortable: !0,
15
- bodyComponent(e) {
16
- return {
17
- component: I,
18
- props: {
19
- thumbnail: _(e.profilePictureSmall),
20
- preview: _(e.profilePictureBig),
21
- size: "small"
22
- }
23
- };
24
- }
25
- },
26
- {
27
- field: "fullName",
28
- header: "Name",
29
- sortable: !0,
30
- bodyTemplate(e) {
31
- return (e == null ? void 0 : e.fullName) ?? (e == null ? void 0 : e.name);
32
- }
33
- },
34
- {
35
- field: "employeeId",
36
- header: "Empolyee ID",
37
- sortable: !0,
38
- bodyTemplate(e) {
39
- return (e == null ? void 0 : e.employeeId) ?? "-";
40
- }
41
- },
42
- {
43
- field: "email",
44
- header: "Email",
45
- sortable: !0,
46
- bodyTemplate(e) {
47
- return (e == null ? void 0 : e.email) ?? "-";
48
- }
49
- },
50
- {
51
- field: "phoneNumber",
52
- header: "Phone",
53
- sortable: !0,
54
- bodyTemplate(e) {
55
- return (e == null ? void 0 : e.phoneNumber) ?? "-";
56
- }
57
- },
58
- {
59
- field: "position",
60
- header: "Position",
61
- sortable: !0,
62
- bodyTemplate(e) {
63
- return (e == null ? void 0 : e.position) ?? "-";
64
- }
65
- },
66
- {
67
- field: "division",
68
- header: "Division",
69
- sortable: !0,
70
- bodyTemplate(e) {
71
- return (e == null ? void 0 : e.division) ?? "-";
72
- }
73
- }
74
- ]), W = { class: "flex flex-col gap-2" }, Y = {
75
- key: 0,
76
- class: "overflow-auto max-h-20 list-inside list-disc h-auto ml-2"
77
- }, q = {
78
- class: "flex justify-between items-center gap-1",
79
- "data-ts-section": "dialog-asset-name-detail-action-group"
80
- }, A = { class: "" }, G = { class: "flex justify-end items-center gap-1" }, H = { class: "flex flex-col justify-end gap-1" }, J = {
81
- key: 0,
82
- class: "text-danger-500 text-[12px] font-light",
83
- "data-ts-section": "warning-message"
84
- }, oe = /* @__PURE__ */ U({
85
- __name: "DialogSelectUser",
86
- props: {
87
- header: { default: "Select User" },
88
- description: { default: "Select user" },
89
- selectionType: {},
90
- visible: { type: Boolean },
91
- list: {},
92
- selectButtonLabel: { default: "Select" },
93
- fetchFunction: {},
94
- fetchOptionFunction: {}
95
- },
96
- emits: ["update:visible", "selected"],
97
- setup(e, { emit: x }) {
98
- const t = e, m = x, d = $(() => t.visible), p = c(!1), b = c(), r = c([]), a = c(), k = R(), w = () => {
99
- !r.value.length && !a.value ? p.value = !0 : (t.selectionType === "checkbox" ? m("selected", r.value) : m("selected", a.value), m("update:visible", !1));
100
- }, S = () => {
101
- r.value = [], a.value = void 0, p.value = !1;
102
- }, T = async (o) => {
103
- if (t.fetchFunction)
104
- return await t.fetchFunction(o);
105
- };
106
- return C(
107
- d,
108
- async (o) => {
109
- S(), o && t.fetchOptionFunction && (b.value = await t.fetchOptionFunction());
110
- },
111
- { immediate: !0 }
112
- ), (o, l) => (u(), N(V, {
113
- visible: d.value,
114
- "onUpdate:visible": [
115
- l[3] || (l[3] = (s) => d.value = s),
116
- l[4] || (l[4] = (s) => m("update:visible", !!s))
117
- ],
118
- draggable: !1,
119
- header: t.header,
120
- class: "w-[800px]",
121
- closable: "",
122
- "data-ts-name": "dialog-asset-name-detail",
123
- modal: ""
124
- }, {
125
- footer: v(() => [
126
- E(o.$slots, "footer", {}, () => [
127
- i("div", H, [
128
- p.value ? (u(), f("span", J, " You must pick a user ")) : h("", !0),
129
- i("div", null, [
130
- n(g, {
131
- onClick: l[2] || (l[2] = (s) => o.$emit("update:visible", !1)),
132
- label: "Cancel",
133
- severity: "dark",
134
- text: ""
135
- }),
136
- n(g, {
137
- label: t.selectButtonLabel,
138
- onClick: w,
139
- "data-ts-section": "select-button",
140
- severity: "success"
141
- }, null, 8, ["label"])
142
- ])
143
- ])
144
- ])
145
- ]),
146
- default: v(() => [
147
- i("div", W, [
148
- t.list && t.list.length ? (u(), f("ul", Y, [
149
- (u(!0), f(B, null, D(t.list, (s, F) => (u(), f("li", { key: F }, y(s), 1))), 128))
150
- ])) : h("", !0),
151
- i("div", q, [
152
- i("div", A, y(o.description), 1),
153
- i("div", G, [
154
- n(O, { "table-name": "dialog-select-user-table" }),
155
- n(L, { "table-name": "dialog-select-user-table" })
156
- ])
157
- ]),
158
- n(z, {
159
- "filter-options": b.value,
160
- "table-name": "dialog-select-user-table"
161
- }, null, 8, ["filter-options"]),
162
- n(j, {
163
- "selected-data": r.value,
164
- "onUpdate:selectedData": l[0] || (l[0] = (s) => r.value = s),
165
- columns: P(k),
166
- "fetch-function": T,
167
- rows: 10,
168
- "selection-type": t.selectionType,
169
- "use-option": !1,
170
- onRowSelect: l[1] || (l[1] = (s) => {
171
- p.value = !1, a.value = a.value ? void 0 : s.data;
172
- }),
173
- "data-key": "_id",
174
- lazy: "",
175
- "table-name": "dialog-select-user-table",
176
- "use-paginator": ""
177
- }, null, 8, ["selected-data", "columns", "selection-type"])
178
- ])
179
- ]),
180
- _: 3
181
- }, 8, ["visible", "header"]));
182
- }
183
- });
184
- export {
185
- oe as _
186
- };
@@ -1 +0,0 @@
1
- System.register(["vue","../filtercontainer/FilterContainer-DUeVLHgZ.system.js"],function(r,f){"use strict";var i,n,o,l,s;return{setters:[e=>{i=e.defineComponent,n=e.computed,o=e.createBlock,l=e.openBlock},e=>{s=e._}],execute:function(){const e=r("_",i({__name:"DialogSelectUserFilter",props:{tableName:{},filterOptions:{}},setup(p){const c=p,a=n(()=>[{type:"multiselect",field:"position",label:"Position",placeholder:"Select position",fetchOptionFn:()=>{var t;return(t=c.filterOptions)==null?void 0:t.positionOptions}},{type:"multiselect",field:"division",label:"Division",placeholder:"Select division",fetchOptionFn:()=>{var t;return(t=c.filterOptions)==null?void 0:t.divisionOptions}}]);return(t,u)=>(l(),o(s,{fields:a.value,"table-name":t.tableName},null,8,["fields","table-name"]))}}))}}});
@@ -1,40 +0,0 @@
1
- import { defineComponent as l, computed as n, createBlock as s, openBlock as p } from "vue";
2
- import { _ as a } from "../filtercontainer/FilterContainer-CuMaq5Sv.es.js";
3
- const m = /* @__PURE__ */ l({
4
- __name: "DialogSelectUserFilter",
5
- props: {
6
- tableName: {},
7
- filterOptions: {}
8
- },
9
- setup(t) {
10
- const i = t, o = n(() => [
11
- {
12
- type: "multiselect",
13
- field: "position",
14
- label: "Position",
15
- placeholder: "Select position",
16
- fetchOptionFn: () => {
17
- var e;
18
- return (e = i.filterOptions) == null ? void 0 : e.positionOptions;
19
- }
20
- },
21
- {
22
- type: "multiselect",
23
- field: "division",
24
- label: "Division",
25
- placeholder: "Select division",
26
- fetchOptionFn: () => {
27
- var e;
28
- return (e = i.filterOptions) == null ? void 0 : e.divisionOptions;
29
- }
30
- }
31
- ]);
32
- return (e, r) => (p(), s(a, {
33
- fields: o.value,
34
- "table-name": e.tableName
35
- }, null, 8, ["fields", "table-name"]));
36
- }
37
- });
38
- export {
39
- m as _
40
- };