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

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 (281) hide show
  1. package/assets/lottiejs/loading-page-B9ooQcfF.system.js +1 -0
  2. package/assets/lottiejs/loading-page-CQ0mKER2.es.js +15 -0
  3. package/assets/lottiejs/loading-table-B4T3FYiI.system.js +1 -0
  4. package/assets/lottiejs/loading-table-BnpbX8Ew.es.js +15 -0
  5. package/assets/lottiejs/no-data-CMWnya_k.system.js +1 -0
  6. package/{no-data-DLHO1L_u.js → assets/lottiejs/no-data-DOy8kIGF.es.js} +13 -2
  7. package/components/animation/Animation-6756VN9N.system.js +1 -0
  8. package/components/animation/Animation-COWVilAA.es.js +428 -0
  9. package/components/approverinfo/ApproverInfo-BdqBpNjY.system.js +1 -0
  10. package/components/approverinfo/ApproverInfo-C3_ibV8c.es.js +321 -0
  11. package/components/assetinfo/AssetInfo-BBgKToRP.system.js +1 -0
  12. package/components/assetinfo/AssetInfo-CmwgOU74.es.js +298 -0
  13. package/components/backgroundimagecropper/BackgroundImageCropper-DFHtaSyE.system.js +1 -0
  14. package/components/backgroundimagecropper/BackgroundImageCropper-HKzUEXq-.es.js +57 -0
  15. package/components/badge/Badge-CndPv5v9.system.js +1 -0
  16. package/components/badge/Badge-DA-XiE1C.es.js +115 -0
  17. package/components/badgegroup/BadgeGroup-Bj0EjoML.es.js +68 -0
  18. package/components/badgegroup/BadgeGroup-Y-HhiHk8.system.js +1 -0
  19. package/components/basecalendar/BaseCalendar-47ahYXrt.es.js +867 -0
  20. package/components/basecalendar/BaseCalendar-Ce46jOkg.system.js +1 -0
  21. package/components/basetree/BaseTree-DDu1qI7t.system.js +1 -0
  22. package/components/basetree/BaseTree-DLSA5FMh.es.js +167 -0
  23. package/components/breadcrumb/Breadcrumb-B5bAijry.system.js +1 -0
  24. package/components/breadcrumb/Breadcrumb-BWSmLPqn.es.js +46 -0
  25. package/components/button/Button-D-MSv_AS.es.js +120 -0
  26. package/components/button/Button-Okx1_kOu.system.js +1 -0
  27. package/components/buttonbulkaction/ButtonBulkAction-B4RcdWmb.es.js +185 -0
  28. package/components/buttonbulkaction/ButtonBulkAction-DLmvicRL.system.js +1 -0
  29. package/components/buttoncopy/ButtonCopy-BZgQAFOM.es.js +31 -0
  30. package/components/buttoncopy/ButtonCopy-CKi1bBpz.system.js +1 -0
  31. package/components/buttondownload/ButtonDownload-Bw9T3mbW.es.js +92 -0
  32. package/components/buttondownload/ButtonDownload-CpA0ryUT.system.js +1 -0
  33. package/components/buttonfilter/ButtonFilter-BIE-jM2i.es.js +28 -0
  34. package/components/buttonfilter/ButtonFilter-C4WRvUrj.system.js +1 -0
  35. package/components/buttonradio/ButtonRadio-5VUY8o5h.es.js +83 -0
  36. package/components/buttonradio/ButtonRadio-B2wWrgB5.system.js +1 -0
  37. package/components/buttonscan/ButtonScan-BCScT2cx.es.js +421 -0
  38. package/components/buttonscan/ButtonScan-TbyhlW5M.system.js +1 -0
  39. package/components/buttonsearch/ButtonSearch-Clbafqts.es.js +70 -0
  40. package/components/buttonsearch/ButtonSearch-e57pD5r3.system.js +1 -0
  41. package/components/buttonselecttree/ButtonSelectTree-B-_Iw5sB.es.js +218 -0
  42. package/components/buttonselecttree/ButtonSelectTree-Cbq1oeVK.system.js +1 -0
  43. package/components/buttonselectuser/ButtonSelectUser-Ar7Y8tVR.es.js +101 -0
  44. package/components/buttonselectuser/ButtonSelectUser-Cfe6m75Z.system.js +1 -0
  45. package/components/buttonsync/ButtonSync-Bc1GZXT6.es.js +29 -0
  46. package/components/buttonsync/ButtonSync-ClllEdAy.system.js +1 -0
  47. package/components/buttontoggle/ButtonToggle-DIy3M8Pz.es.js +11 -0
  48. package/components/buttontoggle/ButtonToggle-VNp0lbcW.system.js +1 -0
  49. package/components/buttonviewlog/ButtonViewLog-Ct8QwEey.system.js +1 -0
  50. package/components/buttonviewlog/ButtonViewLog-h9uVv5A5.es.js +21 -0
  51. package/components/calendar/Calendar-7yBKZsvj.system.js +1 -0
  52. package/components/calendar/Calendar-Df6CnW-l.es.js +112 -0
  53. package/components/card/Card-BUKU2FcT.system.js +1 -0
  54. package/components/card/Card-CwnxKNdM.es.js +47 -0
  55. package/components/checkbox/Checkbox-CCtItmVW.system.js +1 -0
  56. package/components/checkbox/Checkbox-DdsR222S.es.js +135 -0
  57. package/components/codesnippet/CodeSnippet-Bpps-Iyc.es.js +127 -0
  58. package/components/codesnippet/CodeSnippet-DvTtZ28b.system.js +2 -0
  59. package/components/codesnippetadapter/CodeSnippetAdapter-BtSqWBl1.system.js +1 -0
  60. package/components/codesnippetadapter/CodeSnippetAdapter-jgXoPKzr.es.js +26 -0
  61. package/components/columnlist/ColumnList-Bh3LZlOa.system.js +1 -0
  62. package/components/columnlist/ColumnList-Bp7soiys.es.js +204 -0
  63. package/components/customcolumn/CustomColumn-CVhAbTGn.system.js +1 -0
  64. package/components/customcolumn/CustomColumn-Dblxjw_0.es.js +138 -0
  65. package/components/datatable/DataTable--mHUKNUr.system.js +1 -0
  66. package/components/datatable/DataTable-J1j-OKsW.es.js +983 -0
  67. package/components/dialog/Dialog-Dy93f91f.es.js +121 -0
  68. package/components/dialog/Dialog-WEl66uTI.system.js +1 -0
  69. package/components/dialogconfirm/DialogConfirm-BOFb7rJD.es.js +139 -0
  70. package/components/dialogconfirm/DialogConfirm-o7_v7F31.system.js +1 -0
  71. package/components/dialogform/DialogForm-C15nC1wH.es.js +223 -0
  72. package/components/dialogform/DialogForm-CdpY1_-F.system.js +1 -0
  73. package/components/dialogselecttree/DialogSelectTree-BA8xEqco.es.js +268 -0
  74. package/components/dialogselecttree/DialogSelectTree-DKxWI9Re.system.js +1 -0
  75. package/components/dialogselectuser/DialogSelectUser-BZTSktHZ.system.js +1 -0
  76. package/components/dialogselectuser/DialogSelectUser-Bu5TDAPt.es.js +186 -0
  77. package/components/dialogselectuserfilter/DialogSelectUserFilter-DEl4zFaX.system.js +1 -0
  78. package/components/dialogselectuserfilter/DialogSelectUserFilter-Dz5OxAU-.es.js +40 -0
  79. package/components/dropdown/Dropdown-D4S52rW5.es.js +252 -0
  80. package/components/dropdown/Dropdown-DuvNYyq0.system.js +1 -0
  81. package/components/editor/Editor-DQ7Xdy30.es.js +1036 -0
  82. package/components/editor/Editor-IfYw2Tps.system.js +1 -0
  83. package/components/editorbutton/EditorButton-DDgS2vga.es.js +28 -0
  84. package/components/editorbutton/EditorButton-DmVrr4Bk.system.js +1 -0
  85. package/components/fieldwrapper/FieldWrapper-C6HJ2HnC.es.js +34 -0
  86. package/components/fieldwrapper/FieldWrapper-DFjw9hA8.system.js +1 -0
  87. package/components/fileupload/FileUpload-B6PAucnD.es.js +175 -0
  88. package/components/fileupload/FileUpload-iVAJXujV.system.js +1 -0
  89. package/components/filtercontainer/FilterContainer-CuMaq5Sv.es.js +284 -0
  90. package/components/filtercontainer/FilterContainer-DUeVLHgZ.system.js +1 -0
  91. package/components/form/Form-D-e0VI8V.system.js +1 -0
  92. package/components/form/Form-eSj-nb1y.es.js +181 -0
  93. package/components/hardwaresync/HardwareSync--HomfQuH.system.js +1 -0
  94. package/components/hardwaresync/HardwareSync-DUsVwHx1.es.js +236 -0
  95. package/components/icon/Icon-DUylRmY4.system.js +1 -0
  96. package/components/icon/Icon-mDqG7urn.es.js +82 -0
  97. package/components/image/Image-BZ31CL-y.es.js +169 -0
  98. package/components/image/Image-DX6uB7Ns.system.js +1 -0
  99. package/components/imagecompressor/ImageCompressor-BLeJDvN3.system.js +1 -0
  100. package/components/imagecompressor/ImageCompressor-DaW0ak9c.es.js +501 -0
  101. package/components/imageinputinfo/ImageInputInfo-C5F14hbF.system.js +1 -0
  102. package/components/imageinputinfo/ImageInputInfo-oTtVBxzO.es.js +46 -0
  103. package/components/inlinemessage/InlineMessage-19w6FOcP.system.js +1 -0
  104. package/components/inlinemessage/InlineMessage-CBZT3jWS.es.js +94 -0
  105. package/components/inputbadge/InputBadge-CsdT7M7-.es.js +186 -0
  106. package/components/inputbadge/InputBadge-dgANMV70.system.js +1 -0
  107. package/components/inputcurrency/InputCurrency-B96npK8W.es.js +1208 -0
  108. package/components/inputcurrency/InputCurrency-ChqGX5L8.system.js +1 -0
  109. package/components/inputemail/InputEmail-BMzumenA.es.js +49 -0
  110. package/components/inputemail/InputEmail-CYILS9bp.system.js +1 -0
  111. package/components/inputgroup/InputGroup-G9TEI4vX.system.js +1 -0
  112. package/components/inputgroup/InputGroup-eNDRlJ5R.es.js +56 -0
  113. package/components/inputnumber/InputNumber-Bzk_YzWM.es.js +232 -0
  114. package/components/inputnumber/InputNumber-CRyg8Xw_.system.js +1 -0
  115. package/components/inputpassword/InputPassword-BMHMWLgU.es.js +121 -0
  116. package/components/inputpassword/InputPassword-BjB6FsoL.system.js +1 -0
  117. package/components/inputphonenumber/InputPhoneNumber-CVM2oK5q.es.js +591 -0
  118. package/components/inputphonenumber/InputPhoneNumber-DIbd3upL.system.js +1 -0
  119. package/components/inputrangenumber/InputRangeNumber-B1aAoKVj.es.js +134 -0
  120. package/components/inputrangenumber/InputRangeNumber-C28xgFBY.system.js +1 -0
  121. package/components/inputsearch/InputSearch--KHwTBTm.system.js +1 -0
  122. package/components/inputsearch/InputSearch-cPq3vqhy.es.js +53 -0
  123. package/components/inputtext/InputText-93zDNfC3.system.js +1 -0
  124. package/components/inputtext/InputText-_xEnXysf.es.js +241 -0
  125. package/components/inputurl/InputURL-aqx1PVKL.es.js +61 -0
  126. package/components/inputurl/InputURL-kWIiKGEG.system.js +1 -0
  127. package/components/invisiblefield/InvisibleField-4XbiOrqw.es.js +27 -0
  128. package/components/invisiblefield/InvisibleField-BHudtX2g.system.js +1 -0
  129. package/components/litedropdown/LiteDropdown-3KsCx4wX.system.js +1 -0
  130. package/components/litedropdown/LiteDropdown-DcSzP11l.es.js +102 -0
  131. package/components/loading/Loading-D8M801C9.es.js +24 -0
  132. package/components/loading/Loading-Diwog8dc.system.js +1 -0
  133. package/components/mentionlist/MentionList--7AymnhE.es.js +58 -0
  134. package/components/mentionlist/MentionList-600dsWhX.system.js +1 -0
  135. package/components/mentionsection/MentionSection-C1gWOzH2.system.js +3 -0
  136. package/components/mentionsection/MentionSection-C_c4qbpq.es.js +52 -0
  137. package/components/menu/Menu-BmTMFwBD.es.js +73 -0
  138. package/components/menu/Menu-OR25pAK3.system.js +1 -0
  139. package/components/menuitem/MenuItem-LoZMc0T9.es.js +65 -0
  140. package/components/menuitem/MenuItem-imQ-hYTP.system.js +1 -0
  141. package/components/multirow/MultiRow-ClSMxrEx.es.js +52 -0
  142. package/components/multirow/MultiRow-DKu6uIsI.system.js +1 -0
  143. package/components/multiselect/MultiSelect-DGhS1EyX.es.js +189 -0
  144. package/components/multiselect/MultiSelect-DKFYq47E.system.js +1 -0
  145. package/components/overlaypanel/OverlayPanel-C_WCcNPw.system.js +1 -0
  146. package/components/overlaypanel/OverlayPanel-DXNek7Yb.es.js +49 -0
  147. package/components/tabmenu/TabMenu-CAQqu-ff.system.js +1 -0
  148. package/components/tabmenu/TabMenu-iMeZa8gy.es.js +108 -0
  149. package/components/tagtype/TagType-CX7BVRrE.es.js +49 -0
  150. package/components/tagtype/TagType-IMYg8AJf.system.js +1 -0
  151. package/components/textarea/Textarea-ClnQ2qmf.es.js +108 -0
  152. package/components/textarea/Textarea-DlkzVURV.system.js +1 -0
  153. package/components/timeline/Timeline-BMRdV_mH.es.js +120 -0
  154. package/components/timeline/Timeline-D7SYc3QX.system.js +1 -0
  155. package/components/timelinecontentbytype/TimelineContentByType-BmWsZID0.system.js +1 -0
  156. package/components/timelinecontentbytype/TimelineContentByType-ehFLzTA1.es.js +111 -0
  157. package/components/toast/Toast-DnALWJkx.es.js +74 -0
  158. package/components/toast/Toast-Pc_DOZ5-.system.js +1 -0
  159. package/components/toggleswitch/ToggleSwitch-WHdD3oYL.system.js +1 -0
  160. package/components/toggleswitch/ToggleSwitch-wRjnHRIw.es.js +90 -0
  161. package/components/transactionroles/TransactionRoles-B_67h5wb.es.js +223 -0
  162. package/components/transactionroles/TransactionRoles-DSXBVwPM.system.js +1 -0
  163. package/components/tree/Tree-BoVGYw5N.system.js +1 -0
  164. package/components/tree/Tree-DnaIZZ8S.es.js +268 -0
  165. package/components/treenode/TreeNode-D5aepDIU.system.js +1 -0
  166. package/components/treenode/TreeNode-KJOUvlTH.es.js +499 -0
  167. package/components/treesearchinput/TreeSearchInput-B1PmhE7k.es.js +56 -0
  168. package/components/treesearchinput/TreeSearchInput-C-hXPV61.system.js +1 -0
  169. package/components/username/UserName-CCyPAYG6.system.js +1 -0
  170. package/components/username/UserName-CWs83BX6.es.js +130 -0
  171. package/components/userwithicon/UserWithIcon-CFjQcbAS.system.js +1 -0
  172. package/components/userwithicon/UserWithIcon-Dn3aNKdq.es.js +18 -0
  173. package/components/validatormessage/ValidatorMessage-BtKfBXzO.es.js +19 -0
  174. package/components/validatormessage/ValidatorMessage-VVfyqlRF.system.js +1 -0
  175. package/package.json +1 -1
  176. package/stats.html +1 -1
  177. package/style.css +1 -1
  178. package/vendor/@popperjs/core-BDAJHTVh.es.js +905 -0
  179. package/vendor/@popperjs/core-DpNOCyB0.system.js +1 -0
  180. package/vendor/@tiptap/core-BLz8iRA3.es.js +2868 -0
  181. package/vendor/@tiptap/core-bnIgGWIt.system.js +80 -0
  182. package/vendor/@tiptap/extension-bold-BnsTNqIJ.es.js +71 -0
  183. package/vendor/@tiptap/extension-bold-C_KVm_D0.system.js +1 -0
  184. package/vendor/@tiptap/extension-bubble-menu-D421L1EU.system.js +1 -0
  185. package/vendor/@tiptap/extension-bubble-menu-D9Vgq7yO.es.js +128 -0
  186. package/vendor/@tiptap/extension-bullet-list-GNj3sKw9.es.js +53 -0
  187. package/vendor/@tiptap/extension-bullet-list-kXXFF-_p.system.js +1 -0
  188. package/vendor/@tiptap/extension-code-CfQ7g1i2.es.js +51 -0
  189. package/vendor/@tiptap/extension-code-Q8P1EHjz.system.js +1 -0
  190. package/vendor/@tiptap/extension-floating-menu-8rFSweor.system.js +1 -0
  191. package/vendor/@tiptap/extension-floating-menu-CSQuJzDM.es.js +99 -0
  192. package/vendor/@tiptap/extension-heading-BE64-Rg_.system.js +1 -0
  193. package/vendor/@tiptap/extension-heading-ZTlCgdtc.es.js +54 -0
  194. package/vendor/@tiptap/extension-history-GLkLmX-Y.system.js +1 -0
  195. package/vendor/@tiptap/extension-history-eJIThEn-.es.js +35 -0
  196. package/vendor/@tiptap/extension-image-B8NPUVFM.es.js +64 -0
  197. package/vendor/@tiptap/extension-image-rKrdkZpJ.system.js +1 -0
  198. package/vendor/@tiptap/extension-italic-C_CyJubw.es.js +70 -0
  199. package/vendor/@tiptap/extension-italic-Dg0Nosoc.system.js +1 -0
  200. package/vendor/@tiptap/extension-link-Cd8bTMBz.system.js +1 -0
  201. package/vendor/@tiptap/extension-link-D4PFdLvA.es.js +262 -0
  202. package/vendor/@tiptap/extension-list-item-7pIJ7t09.es.js +33 -0
  203. package/vendor/@tiptap/extension-list-item-Mnhfw2gP.system.js +1 -0
  204. package/vendor/@tiptap/extension-mention-DVF3rX_z.system.js +1 -0
  205. package/vendor/@tiptap/extension-mention-Dkg-tbrz.es.js +130 -0
  206. package/vendor/@tiptap/extension-ordered-list-DLI4xDN8.es.js +71 -0
  207. package/vendor/@tiptap/extension-ordered-list-Hl0QU8Zt.system.js +1 -0
  208. package/vendor/@tiptap/extension-placeholder-BeLl2T-f.system.js +1 -0
  209. package/vendor/@tiptap/extension-placeholder-V0iTxU19.es.js +52 -0
  210. package/vendor/@tiptap/extension-underline-BdcAQ4JH.system.js +1 -0
  211. package/vendor/@tiptap/extension-underline-DsGbvz80.es.js +40 -0
  212. package/vendor/@tiptap/suggestion-BpZSO8Lm.system.js +1 -0
  213. package/vendor/@tiptap/suggestion-C4sBhJAD.es.js +131 -0
  214. package/vendor/@tiptap/vue-3-BH1pZykd.system.js +1 -0
  215. package/vendor/@tiptap/vue-3-DceiR7pK.es.js +436 -0
  216. package/vendor/highlight.js-BAruEf1H.system.js +2 -0
  217. package/vendor/highlight.js-DHowhWoU.es.js +2493 -0
  218. package/vendor/linkifyjs-BxsOjwQz.es.js +705 -0
  219. package/vendor/linkifyjs-CMLfIa6I.system.js +5 -0
  220. package/vendor/lodash-DbIT-6qv.es.js +127 -0
  221. package/vendor/lodash-DbvKLWSv.system.js +1 -0
  222. package/vendor/lodash-es-C3G1Cc1m.system.js +1 -0
  223. package/vendor/lodash-es-CJerBxJQ.es.js +766 -0
  224. package/vendor/orderedmap-B3SOk52B.es.js +103 -0
  225. package/vendor/orderedmap-Dwr31MF0.system.js +1 -0
  226. package/vendor/primevue-CadmDhWp.es.js +13928 -0
  227. package/vendor/primevue-u6FsQONA.system.js +193 -0
  228. package/vendor/prosemirror-commands-DLmzIpoS.es.js +383 -0
  229. package/vendor/prosemirror-commands-DgY3QRzI.system.js +2 -0
  230. package/vendor/prosemirror-history-BMpJFORS.es.js +248 -0
  231. package/vendor/prosemirror-history-BrK-FTBv.system.js +1 -0
  232. package/vendor/prosemirror-keymap-COb3Dq2o.system.js +1 -0
  233. package/vendor/prosemirror-keymap-DF8LLxca.es.js +60 -0
  234. package/vendor/prosemirror-model-D2n-Dx_L.es.js +2736 -0
  235. package/vendor/prosemirror-model-DTWK5xnv.system.js +4 -0
  236. package/vendor/prosemirror-schema-list-BPpAP8wR.system.js +1 -0
  237. package/vendor/prosemirror-schema-list-BvrICwYb.es.js +87 -0
  238. package/vendor/prosemirror-state-CwkYUmNs.es.js +820 -0
  239. package/vendor/prosemirror-state-DzPLD-6l.system.js +1 -0
  240. package/vendor/prosemirror-transform-DvAmofec.es.js +1507 -0
  241. package/vendor/prosemirror-transform-VaXuT0NM.system.js +2 -0
  242. package/vendor/prosemirror-view-JTdpiWMD.system.js +5 -0
  243. package/vendor/prosemirror-view-ta7l3rKk.es.js +3742 -0
  244. package/vendor/rope-sequence-4t46C6az.system.js +1 -0
  245. package/vendor/rope-sequence-sEGCUMi8.es.js +100 -0
  246. package/vendor/simplebar-core-71xT5g0m.system.js +1 -0
  247. package/vendor/simplebar-core-Db65-Ath.es.js +333 -0
  248. package/vendor/simplebar-vue-BFEeFUIv.system.js +1 -0
  249. package/vendor/simplebar-vue-DAxqu0eM.es.js +176 -0
  250. package/vendor/tippy.js-CuKTz0UR.system.js +1 -0
  251. package/vendor/tippy.js-DNnwm2RY.es.js +721 -0
  252. package/vendor/uuid-93tp0umt.es.js +9 -0
  253. package/vendor/uuid-Cymn6orr.system.js +1 -0
  254. package/vendor/vee-validate-Cc_B-qII.system.js +5 -0
  255. package/vendor/vee-validate-RE5RuswC.es.js +1309 -0
  256. package/vendor/vue-advanced-cropper-CshlvNaD.es.js +1380 -0
  257. package/vendor/vue-advanced-cropper-NG93jHnU.system.js +20 -0
  258. package/vendor/w3c-keyname-BSD-PgAi.system.js +1 -0
  259. package/vendor/w3c-keyname-CLxH8j-f.es.js +92 -0
  260. package/wangsvue-fats.js +542 -0
  261. package/wangsvue-fats.system.js +1 -313
  262. package/loading-page-BrQattYE.js +0 -1
  263. package/loading-page-CoC9UhfC.js +0 -4
  264. package/loading-page-DbLuqCHa.js +0 -1
  265. package/loading-page-f8D03l3G.js +0 -4
  266. package/loading-plane-CgfbWppy.js +0 -1
  267. package/loading-plane-CoXtqoc9.js +0 -4
  268. package/loading-table-Bdr9ZhtP.js +0 -1
  269. package/loading-table-ByUoWqUo.js +0 -4
  270. package/loading-table-BygEMzFM.js +0 -4
  271. package/loading-table-BzrSQlA0.js +0 -1
  272. package/loading-table-D9bw9OcI.js +0 -4
  273. package/loading-table-chOgXi94.js +0 -1
  274. package/no-data-CTKux8RI.js +0 -4
  275. package/no-data-Cgze_Rvp.js +0 -1
  276. package/no-data-Dep79CBh.js +0 -1
  277. package/no-data-g0dJCy2p.js +0 -4
  278. package/no-data-y1X5WtcQ.js +0 -1
  279. package/wangsvue-fats.es.js +0 -51894
  280. /package/{loading-page-CgfbWppy.js → assets/lottiejs/loading-plane-CgfbWppy.system.js} +0 -0
  281. /package/{loading-page-CoXtqoc9.js → assets/lottiejs/loading-plane-CoXtqoc9.es.js} +0 -0
@@ -0,0 +1,268 @@
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
+ };
@@ -0,0 +1 @@
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"]))}}))}}});
@@ -0,0 +1 @@
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"]))}}))}}});
@@ -0,0 +1,186 @@
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
+ };
@@ -0,0 +1 @@
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"]))}}))}}});
@@ -0,0 +1,40 @@
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
+ };