@fewangsit/wangsvue-fats 1.0.0-alpha.43 → 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 (375) hide show
  1. package/components/buttoncopy/ButtonCopy.vue.d.ts +4 -6
  2. package/components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts +44 -0
  3. package/components/index.d.ts +61 -162
  4. package/components/inlinemessage/InlineMessage.vue.d.ts +167 -0
  5. package/event-bus/index.d.ts +3 -0
  6. package/loading-page-BrQattYE.js +1 -0
  7. package/loading-page-CoC9UhfC.js +4 -0
  8. package/loading-page-DbLuqCHa.js +1 -0
  9. package/loading-page-f8D03l3G.js +4 -0
  10. package/loading-plane-CgfbWppy.js +1 -0
  11. package/loading-plane-CoXtqoc9.js +4 -0
  12. package/loading-table-Bdr9ZhtP.js +1 -0
  13. package/loading-table-ByUoWqUo.js +4 -0
  14. package/loading-table-BygEMzFM.js +4 -0
  15. package/loading-table-BzrSQlA0.js +1 -0
  16. package/loading-table-D9bw9OcI.js +4 -0
  17. package/loading-table-chOgXi94.js +1 -0
  18. package/no-data-CTKux8RI.js +4 -0
  19. package/no-data-Cgze_Rvp.js +1 -0
  20. package/{assets/lottie/no-data-DOy8kIGF.es.js → no-data-DLHO1L_u.js} +2 -13
  21. package/no-data-Dep79CBh.js +1 -0
  22. package/no-data-g0dJCy2p.js +4 -0
  23. package/no-data-y1X5WtcQ.js +1 -0
  24. package/package.json +3 -3
  25. package/stats.html +1 -1
  26. package/style.css +1 -1
  27. package/wangsvue-fats.js +52069 -144
  28. package/wangsvue-fats.system.js +312 -1
  29. package/ButtonCopy-C6DSmsOR.es.js +0 -4
  30. package/ButtonCopy-CeBlNyVx.system.js +0 -1
  31. package/ButtonSync-BLyCwwnU.system.js +0 -1
  32. package/ButtonSync-DtUhn-Q-.es.js +0 -4
  33. package/ButtonToggle-B9Fa75pf.es.js +0 -4
  34. package/ButtonToggle-CSxzlLR2.system.js +0 -1
  35. package/ButtonViewLog-B1oa4oFN.es.js +0 -4
  36. package/ButtonViewLog-_J6r7Oz8.system.js +0 -1
  37. package/Card-B19WgA6Y.es.js +0 -4
  38. package/Card-umUgd-nP.system.js +0 -1
  39. package/InputEmail-BZ5Y0wSk.system.js +0 -1
  40. package/InputEmail-DR_E1DsL.es.js +0 -4
  41. package/InputURL-DL6a94kM.system.js +0 -1
  42. package/InputURL-PVF5EUUY.es.js +0 -4
  43. package/Loading-Cq7rP88c.system.js +0 -1
  44. package/Loading-DUHTVct4.es.js +0 -4
  45. package/UserWithIcon-Ddn_GlNu.system.js +0 -1
  46. package/UserWithIcon-hWXf-A2U.es.js +0 -4
  47. package/assets/lottie/loading-page-B9ooQcfF.system.js +0 -1
  48. package/assets/lottie/loading-page-CQ0mKER2.es.js +0 -15
  49. package/assets/lottie/loading-table-B4T3FYiI.system.js +0 -1
  50. package/assets/lottie/loading-table-BnpbX8Ew.es.js +0 -15
  51. package/assets/lottie/no-data-CMWnya_k.system.js +0 -1
  52. package/async-components/index-C8nb7p3T.es.js +0 -70
  53. package/async-components/index-DvjqHrYE.system.js +0 -1
  54. package/components/animation/Animation-CCEnvZ_Z.es.js +0 -48
  55. package/components/animation/Animation-CJb4YIwm.system.js +0 -1
  56. package/components/approverinfo/ApproverInfo-Bruotw1h.es.js +0 -127
  57. package/components/approverinfo/ApproverInfo-CoWywuLZ.system.js +0 -1
  58. package/components/assetinfo/AssetInfo-B8KAsqvC.system.js +0 -1
  59. package/components/assetinfo/AssetInfo-DNsWx4Xv.es.js +0 -201
  60. package/components/badge/Badge-DXAyz4Z8.es.js +0 -99
  61. package/components/badge/Badge-wSExdsOP.system.js +0 -1
  62. package/components/badgegroup/BadgeGroup-CAYL_5-g.system.js +0 -1
  63. package/components/badgegroup/BadgeGroup-Dl2cL80L.es.js +0 -68
  64. package/components/basetree/BaseTree-CmBp0uwr.system.js +0 -1
  65. package/components/basetree/BaseTree-RsvvntBp.es.js +0 -167
  66. package/components/basetree/TreeNode-CUL5_2Rj.es.js +0 -499
  67. package/components/basetree/TreeNode-D-YgXird.system.js +0 -1
  68. package/components/breadcrumb/Breadcrumb-BmuuCYJx.system.js +0 -1
  69. package/components/breadcrumb/Breadcrumb-oqdG9WGT.es.js +0 -46
  70. package/components/button/Button-CgkhMnxo.es.js +0 -124
  71. package/components/button/Button-D892iaxz.system.js +0 -1
  72. package/components/buttonbulkaction/ButtonBulkAction-CAamlaLP.system.js +0 -1
  73. package/components/buttonbulkaction/ButtonBulkAction-Tdf3aVtp.es.js +0 -189
  74. package/components/buttoncopy/ButtonCopy-CUFHlIO-.es.js +0 -31
  75. package/components/buttoncopy/ButtonCopy-CZPTLNHh.system.js +0 -1
  76. package/components/buttondownload/ButtonDownload-BWGTiJnP.es.js +0 -61
  77. package/components/buttondownload/ButtonDownload-CUR6u0AT.system.js +0 -1
  78. package/components/buttonfilter/ButtonFilter-B1F4poKd.system.js +0 -1
  79. package/components/buttonfilter/ButtonFilter-B49leY-q.es.js +0 -28
  80. package/components/buttonradio/ButtonRadio-D6xKhPLg.es.js +0 -83
  81. package/components/buttonradio/ButtonRadio-NBcy0Epa.system.js +0 -1
  82. package/components/buttonscan/ButtonScan-BZzpqBe8.system.js +0 -1
  83. package/components/buttonscan/ButtonScan-mVHAdACL.es.js +0 -387
  84. package/components/buttonscan/workers/scanner.worker-8_0GG6W3.system.js +0 -1
  85. package/components/buttonscan/workers/scanner.worker-D3a72Zyk.es.js +0 -25
  86. package/components/buttonsearch/ButtonSearch-3hnarf3D.system.js +0 -1
  87. package/components/buttonsearch/ButtonSearch-BjcXUDQZ.es.js +0 -70
  88. package/components/buttonselecttree/ButtonSelectTree-D0lT3Exu.es.js +0 -218
  89. package/components/buttonselecttree/ButtonSelectTree-DKmPV8FD.system.js +0 -1
  90. package/components/buttonselectuser/ButtonSelectUser-B7GbLfS-.system.js +0 -1
  91. package/components/buttonselectuser/ButtonSelectUser-OAZRY9OR.es.js +0 -101
  92. package/components/buttonsync/ButtonSync-Brk16H8C.es.js +0 -29
  93. package/components/buttonsync/ButtonSync-D5lXmtHs.system.js +0 -1
  94. package/components/buttontoggle/ButtonToggle-1R5y5DCx.es.js +0 -11
  95. package/components/buttontoggle/ButtonToggle-DLsiXxjK.system.js +0 -1
  96. package/components/buttonviewlog/ButtonViewLog-CGsSkrzf.es.js +0 -21
  97. package/components/buttonviewlog/ButtonViewLog-leLO6F_N.system.js +0 -1
  98. package/components/calendar/BaseCalendar-5EI1UTbl.es.js +0 -867
  99. package/components/calendar/BaseCalendar-C02-gmOQ.system.js +0 -1
  100. package/components/calendar/Calendar-B2z-lfi9.es.js +0 -112
  101. package/components/calendar/Calendar-CWw4R5mN.system.js +0 -1
  102. package/components/card/Card-BccG14LV.es.js +0 -47
  103. package/components/card/Card-BjI-Xi0S.system.js +0 -1
  104. package/components/checkbox/Checkbox-DBU7Ji2C.es.js +0 -135
  105. package/components/checkbox/Checkbox-FZg_wq3C.system.js +0 -1
  106. package/components/codesnippet/CodeSnippet--pMQi4aO.es.js +0 -127
  107. package/components/codesnippet/CodeSnippet-BVwAQPSv.system.js +0 -2
  108. package/components/customcolumn/ColumnList-fdR5JfHj.es.js +0 -159
  109. package/components/customcolumn/ColumnList-yaNVEQFA.system.js +0 -1
  110. package/components/customcolumn/CustomColumn-CfvCLH4v.es.js +0 -139
  111. package/components/customcolumn/CustomColumn-D3u59-Rd.system.js +0 -1
  112. package/components/customcolumn/helpers/setVisibilityColumn.helper-B1vEZDtD.system.js +0 -1
  113. package/components/customcolumn/helpers/setVisibilityColumn.helper-CQ4P_C_9.es.js +0 -16
  114. package/components/datatable/DataTable-BH7Fk88O.es.js +0 -992
  115. package/components/datatable/DataTable-Cko2S6sM.system.js +0 -1
  116. package/components/datatable/MultiRow-B2vMSb7W.es.js +0 -52
  117. package/components/datatable/MultiRow-Sef5icam.system.js +0 -1
  118. package/components/datatable/store/dataTable.store-B4p-hj3w.es.js +0 -37
  119. package/components/datatable/store/dataTable.store-C9376aEJ.system.js +0 -1
  120. package/components/dialog/Dialog-BCcbXSya.es.js +0 -121
  121. package/components/dialog/Dialog-Dv7Jzg4E.system.js +0 -1
  122. package/components/dialogconfirm/DialogConfirm-BU-LRZCo.system.js +0 -1
  123. package/components/dialogconfirm/DialogConfirm-ByIWXisz.es.js +0 -139
  124. package/components/dialogform/DialogForm-DGl_NOEr.system.js +0 -1
  125. package/components/dialogform/DialogForm-tAbix3iC.es.js +0 -222
  126. package/components/dialogselecttree/DialogSelectTree-BrVtt3iG.es.js +0 -268
  127. package/components/dialogselecttree/DialogSelectTree-CT7dKC5N.system.js +0 -1
  128. package/components/dialogselectuser/DialogSelectUser-Bu7z7lUq.es.js +0 -121
  129. package/components/dialogselectuser/DialogSelectUser-DXL_NMJj.system.js +0 -1
  130. package/components/dialogselectuser/DialogSelectUserFilter-BNbIynoa.system.js +0 -1
  131. package/components/dialogselectuser/DialogSelectUserFilter-BgBrQCz1.es.js +0 -44
  132. package/components/dialogselectuser/options/columns-BKDHtwAp.es.js +0 -71
  133. package/components/dialogselectuser/options/columns-DLmJdDTR.system.js +0 -1
  134. package/components/dropdown/Dropdown-BNzT2uLU.system.js +0 -1
  135. package/components/dropdown/Dropdown-Dk4urj-W.es.js +0 -258
  136. package/components/editor/CodeSnippetAdapter-C0f7wytw.es.js +0 -26
  137. package/components/editor/CodeSnippetAdapter-f-VHwbwS.system.js +0 -1
  138. package/components/editor/Editor-RB5MqBs1.es.js +0 -887
  139. package/components/editor/Editor-upU4Z9FH.system.js +0 -1
  140. package/components/editor/EditorButton-CC6U1a_u.system.js +0 -1
  141. package/components/editor/EditorButton-Cfew79JD.es.js +0 -28
  142. package/components/editor/MentionList-BjWKefLh.system.js +0 -1
  143. package/components/editor/MentionList-CdX0_-TK.es.js +0 -58
  144. package/components/editor/MentionSection-5I-FSwew.es.js +0 -52
  145. package/components/editor/MentionSection-CiuaeX4J.system.js +0 -3
  146. package/components/editor/codeSnippetExtension-C-ADHg2S.es.js +0 -40
  147. package/components/editor/codeSnippetExtension-C3uj0fCk.system.js +0 -1
  148. package/components/editor/mentionSectionExtension-DJ6wkX1L.system.js +0 -1
  149. package/components/editor/mentionSectionExtension-rbWufuMT.es.js +0 -46
  150. package/components/editor/suggestion-BcYK0KeI.system.js +0 -1
  151. package/components/editor/suggestion-mkkpQFP-.es.js +0 -41
  152. package/components/fieldwrapper/FieldWrapper-Dc-stQRH.system.js +0 -1
  153. package/components/fieldwrapper/FieldWrapper-DmOogUM5.es.js +0 -35
  154. package/components/fileupload/FileUpload-0EHKlInu.es.js +0 -175
  155. package/components/fileupload/FileUpload-dXrsIAeC.system.js +0 -1
  156. package/components/filtercontainer/FilterContainer-Cd8TpncM.es.js +0 -234
  157. package/components/filtercontainer/FilterContainer-kkw3n3tu.system.js +0 -1
  158. package/components/filtercontainer/helpers/applyFilter.helper-Ci22FrPF.system.js +0 -1
  159. package/components/filtercontainer/helpers/applyFilter.helper-DpVdjYBr.es.js +0 -56
  160. package/components/form/Form-By85t_oI.system.js +0 -1
  161. package/components/form/Form-DhWBpdkq.es.js +0 -181
  162. package/components/hardwaresync/HardwareSync-BckCfIeF.es.js +0 -238
  163. package/components/hardwaresync/HardwareSync-DcgVc0cL.system.js +0 -1
  164. package/components/hardwaresync/store/device.store-DEKXH36R.system.js +0 -1
  165. package/components/hardwaresync/store/device.store-DpVE6Nhl.es.js +0 -20
  166. package/components/icon/Icon-C4kXVcEX.es.js +0 -82
  167. package/components/icon/Icon-D1a666FC.system.js +0 -1
  168. package/components/image/Image-Bf5EaBWP.es.js +0 -170
  169. package/components/image/Image-Cxi0E9gK.system.js +0 -1
  170. package/components/imagecompressor/BackgroundImageCropper-DhrTpgNX.system.js +0 -1
  171. package/components/imagecompressor/BackgroundImageCropper-hiHqCcIy.es.js +0 -52
  172. package/components/imagecompressor/ImageCompressor-C_vnTwmo.system.js +0 -1
  173. package/components/imagecompressor/ImageCompressor-DPo-1Yo8.es.js +0 -509
  174. package/components/imagecompressor/ImageInputInfo-4Ac8cBDM.es.js +0 -46
  175. package/components/imagecompressor/ImageInputInfo-U3hLlbwo.system.js +0 -1
  176. package/components/index-BMti6lK3.es.js +0 -64
  177. package/components/index-DBzSxIov.system.js +0 -1
  178. package/components/inlinemessage/InlineMessage-BPJD82sq.es.js +0 -94
  179. package/components/inlinemessage/InlineMessage-DTyTe5_W.system.js +0 -1
  180. package/components/inputbadge/InputBadge-BUm6Kn-F.system.js +0 -1
  181. package/components/inputbadge/InputBadge-BngtjqHQ.es.js +0 -186
  182. package/components/inputcurrency/InputCurrency-CE4WrJ9k.es.js +0 -1211
  183. package/components/inputcurrency/InputCurrency-DaJuUujH.system.js +0 -1
  184. package/components/inputemail/InputEmail-8E04RVeq.system.js +0 -1
  185. package/components/inputemail/InputEmail-BFeY1l9Z.es.js +0 -49
  186. package/components/inputgroup/InputGroup-CTHxHL8n.system.js +0 -1
  187. package/components/inputgroup/InputGroup-CUxNAtDZ.es.js +0 -56
  188. package/components/inputnumber/InputNumber-BJ8Qm27k.system.js +0 -1
  189. package/components/inputnumber/InputNumber-CQd01PQ5.es.js +0 -232
  190. package/components/inputpassword/InputPassword-D3jaUFfR.system.js +0 -1
  191. package/components/inputpassword/InputPassword-DGWsHAB4.es.js +0 -121
  192. package/components/inputphonenumber/InputPhoneNumber-3To4Ktp9.system.js +0 -1
  193. package/components/inputphonenumber/InputPhoneNumber-DVAOWAj6.es.js +0 -162
  194. package/components/inputphonenumber/helpers/getUserLocation.helper-B0lZav7S.es.js +0 -15
  195. package/components/inputphonenumber/helpers/getUserLocation.helper-CSC5I9tB.system.js +0 -1
  196. package/components/inputphonenumber/helpers/timeZoneCityToCountry.json-CUP9NUYE.es.js +0 -423
  197. package/components/inputphonenumber/helpers/timeZoneCityToCountry.json-DgzOgH_M.system.js +0 -1
  198. package/components/inputrangenumber/InputRangeNumber-Cfea6oM_.es.js +0 -134
  199. package/components/inputrangenumber/InputRangeNumber-iLScQOa6.system.js +0 -1
  200. package/components/inputsearch/InputSearch-CHJP-N57.es.js +0 -53
  201. package/components/inputsearch/InputSearch-DkB4O0Dc.system.js +0 -1
  202. package/components/inputtext/InputText-BEDxrRqK.es.js +0 -242
  203. package/components/inputtext/InputText-BOgH8xpA.system.js +0 -1
  204. package/components/inputurl/InputURL-CNrOkrAC.es.js +0 -61
  205. package/components/inputurl/InputURL-D4QWV9G7.system.js +0 -1
  206. package/components/invisiblefield/InvisibleField-4XbiOrqw.es.js +0 -27
  207. package/components/invisiblefield/InvisibleField-BHudtX2g.system.js +0 -1
  208. package/components/litedropdown/LiteDropdown-BbDUnfnd.es.js +0 -102
  209. package/components/litedropdown/LiteDropdown-DTXwb5JR.system.js +0 -1
  210. package/components/loading/Loading-DIfTUHr7.es.js +0 -24
  211. package/components/loading/Loading-Vb4HctBJ.system.js +0 -1
  212. package/components/menu/Menu-BtzGGhbp.es.js +0 -73
  213. package/components/menu/Menu-CPm5vua_.system.js +0 -1
  214. package/components/menuitem/MenuItem-8yxkFTug.system.js +0 -1
  215. package/components/menuitem/MenuItem-uLVAqgBS.es.js +0 -65
  216. package/components/multiselect/MultiSelect-BoPpQ31j.es.js +0 -189
  217. package/components/multiselect/MultiSelect-D5NEDtGe.system.js +0 -1
  218. package/components/overlaypanel/OverlayPanel-BKCivqTs.system.js +0 -1
  219. package/components/overlaypanel/OverlayPanel-bQbjuUgG.es.js +0 -49
  220. package/components/tabmenu/TabMenu-BBk8EW-C.system.js +0 -1
  221. package/components/tabmenu/TabMenu-ByKBaVsd.es.js +0 -108
  222. package/components/tagtype/TagType-CAXomDiD.es.js +0 -49
  223. package/components/tagtype/TagType-i4RK2JbL.system.js +0 -1
  224. package/components/textarea/Textarea-CnAlgPq5.es.js +0 -108
  225. package/components/textarea/Textarea-qirKOw5z.system.js +0 -1
  226. package/components/timeline/Timeline-CF2qJo4E.es.js +0 -120
  227. package/components/timeline/Timeline-DKfKWZFI.system.js +0 -1
  228. package/components/timeline/TimelineContentByType-_cKGDWAW.es.js +0 -108
  229. package/components/timeline/TimelineContentByType-uxM3NSqd.system.js +0 -1
  230. package/components/toast/Toast-C3D50rGo.system.js +0 -1
  231. package/components/toast/Toast-DRUJCz4I.es.js +0 -74
  232. package/components/toggleswitch/ToggleSwitch-De-_8nQl.es.js +0 -90
  233. package/components/toggleswitch/ToggleSwitch-DuyahX09.system.js +0 -1
  234. package/components/transactionroles/TransactionRoles-WrcXMwBu.es.js +0 -223
  235. package/components/transactionroles/TransactionRoles-iVQyWseb.system.js +0 -1
  236. package/components/tree/Tree-93NvdElH.es.js +0 -267
  237. package/components/tree/Tree-BTTVTAEH.system.js +0 -1
  238. package/components/tree/helpers/filterNodeKeys.helper-CmamKUTa.system.js +0 -1
  239. package/components/tree/helpers/filterNodeKeys.helper-z7SxLuvZ.es.js +0 -10
  240. package/components/treesearchinput/TreeSearchInput-BG2TfunA.system.js +0 -1
  241. package/components/treesearchinput/TreeSearchInput-CNfoc3f6.es.js +0 -56
  242. package/components/username/UserName-A1N6Q7bS.system.js +0 -1
  243. package/components/username/UserName-D5C0qdbu.es.js +0 -132
  244. package/components/userwithicon/UserWithIcon-CHHDfQG0.es.js +0 -18
  245. package/components/userwithicon/UserWithIcon-DnY6loZc.system.js +0 -1
  246. package/components/validatormessage/ValidatorMessage-BtKfBXzO.es.js +0 -19
  247. package/components/validatormessage/ValidatorMessage-VVfyqlRF.system.js +0 -1
  248. package/config/config.esm-BZepf1kR.system.js +0 -1
  249. package/config/config.esm-Drl0fECZ.es.js +0 -212
  250. package/config/defaultProps-B3syHUKt.system.js +0 -1
  251. package/config/defaultProps-BC_lvAG9.es.js +0 -136
  252. package/config/locale-DK6d2rJ3.system.js +0 -1
  253. package/config/locale-pQnRpNZ6.es.js +0 -85
  254. package/event-bus/index-CykcrsqY.system.js +0 -1
  255. package/event-bus/index-PQwO5T6B.es.js +0 -6
  256. package/event-bus/mitt-BjeF6e5j.es.js +0 -53
  257. package/event-bus/mitt-X_X8W9w9.system.js +0 -1
  258. package/plugins/WangsVue-Dl5OiLXF.es.js +0 -332
  259. package/plugins/WangsVue-Dugc3GRS.system.js +0 -1
  260. package/plugins/i18n-BVujDShu.system.js +0 -1
  261. package/plugins/i18n-CIoi8go0.es.js +0 -89
  262. package/utils/addAttachment.util-CPzZEHNG.system.js +0 -1
  263. package/utils/addAttachment.util-D9sYCBjS.es.js +0 -10
  264. package/utils/computeAutoPlacement-Ac2MkS5B.es.js +0 -33
  265. package/utils/computeAutoPlacement-DCaci6j-.system.js +0 -1
  266. package/utils/computeOffsets-Cx9i84Mn.system.js +0 -1
  267. package/utils/computeOffsets-DXWJPq7f.es.js +0 -56
  268. package/utils/date.util-DbjB32co.es.js +0 -198
  269. package/utils/date.util-rX9kq_yC.system.js +0 -1
  270. package/utils/detectOverflow-BrAC_sJF.system.js +0 -1
  271. package/utils/detectOverflow-CETbaen7.es.js +0 -88
  272. package/utils/exportToExcel.util-Bf-PpzHW.system.js +0 -1
  273. package/utils/exportToExcel.util-jz7aU08m.es.js +0 -32
  274. package/utils/genPlaceholder.util-0UuDQpbx.es.js +0 -37
  275. package/utils/genPlaceholder.util-CxMG7LbT.system.js +0 -1
  276. package/utils/mergePropsWithDefaults.util-BKcJzgvs.es.js +0 -9
  277. package/utils/mergePropsWithDefaults.util-CXowvEKY.system.js +0 -1
  278. package/utils/object.util-6veM2gu5.es.js +0 -51
  279. package/utils/object.util-uApor4uP.system.js +0 -1
  280. package/utils/orderModifiers-qXBm1wkD.system.js +0 -1
  281. package/utils/orderModifiers-rOag5Cyh.es.js +0 -31
  282. package/utils/role.util-BdUNoOqf.es.js +0 -67
  283. package/utils/role.util-Co8OMWnc.system.js +0 -1
  284. package/utils/textFormatter.util-BjenkyWf.system.js +0 -1
  285. package/utils/textFormatter.util-CYul3RpH.es.js +0 -21
  286. package/utils/toast.util-C7p3h9XQ.es.js +0 -52
  287. package/utils/toast.util-DPtauJUV.system.js +0 -1
  288. package/utils/utils.esm-iwnsFuDg.system.js +0 -23
  289. package/utils/utils.esm-s_-kLKXf.es.js +0 -1080
  290. package/utils/xlsx.util-FKEpiU2t.system.js +0 -1
  291. package/utils/xlsx.util-LU1upHR3.es.js +0 -8
  292. package/vendor/@popperjs/core-DFLwc7xU.system.js +0 -1
  293. package/vendor/@popperjs/core-DJHUrK4e.es.js +0 -748
  294. package/vendor/@tiptap/core-D4rHEGhs.system.js +0 -80
  295. package/vendor/@tiptap/core-DSbPv8xh.es.js +0 -2868
  296. package/vendor/@tiptap/extension-bold-CvAjR8FR.es.js +0 -71
  297. package/vendor/@tiptap/extension-bold-DI_Zfdzb.system.js +0 -1
  298. package/vendor/@tiptap/extension-bubble-menu-0_0wc2P7.system.js +0 -1
  299. package/vendor/@tiptap/extension-bubble-menu-DY29ulfu.es.js +0 -128
  300. package/vendor/@tiptap/extension-bullet-list-BrkIcd-z.es.js +0 -53
  301. package/vendor/@tiptap/extension-bullet-list-CgIgW9RG.system.js +0 -1
  302. package/vendor/@tiptap/extension-code-BtAtPCQQ.es.js +0 -51
  303. package/vendor/@tiptap/extension-code-SOANT0O3.system.js +0 -1
  304. package/vendor/@tiptap/extension-floating-menu-BTwcx1u8.es.js +0 -99
  305. package/vendor/@tiptap/extension-floating-menu-Dtu9tcTW.system.js +0 -1
  306. package/vendor/@tiptap/extension-heading-B6PMnqvS.es.js +0 -54
  307. package/vendor/@tiptap/extension-heading-BpK6SnFO.system.js +0 -1
  308. package/vendor/@tiptap/extension-history-CTFK6g3n.system.js +0 -1
  309. package/vendor/@tiptap/extension-history-DdPDTH0G.es.js +0 -35
  310. package/vendor/@tiptap/extension-image-BNa6azmK.system.js +0 -1
  311. package/vendor/@tiptap/extension-image-DCo2JDZp.es.js +0 -64
  312. package/vendor/@tiptap/extension-italic-D09oL4ps.es.js +0 -70
  313. package/vendor/@tiptap/extension-italic-w93Lmtg_.system.js +0 -1
  314. package/vendor/@tiptap/extension-link-CV6Fodq9.es.js +0 -262
  315. package/vendor/@tiptap/extension-link-FrdAKaJ2.system.js +0 -1
  316. package/vendor/@tiptap/extension-list-item-BRio_hHs.system.js +0 -1
  317. package/vendor/@tiptap/extension-list-item-D8wSpPxS.es.js +0 -33
  318. package/vendor/@tiptap/extension-mention-cFXQdAs7.es.js +0 -130
  319. package/vendor/@tiptap/extension-mention-y62_tYRn.system.js +0 -1
  320. package/vendor/@tiptap/extension-ordered-list-BZU-Ty3o.es.js +0 -71
  321. package/vendor/@tiptap/extension-ordered-list-CH9LyYR1.system.js +0 -1
  322. package/vendor/@tiptap/extension-placeholder-CsBxoitZ.es.js +0 -52
  323. package/vendor/@tiptap/extension-placeholder-Dqw7HNAJ.system.js +0 -1
  324. package/vendor/@tiptap/extension-underline-DklFOEoR.es.js +0 -40
  325. package/vendor/@tiptap/extension-underline-SGsaBlAL.system.js +0 -1
  326. package/vendor/@tiptap/suggestion-B3Grok9m.system.js +0 -1
  327. package/vendor/@tiptap/suggestion-Dg-vhPtN.es.js +0 -131
  328. package/vendor/@tiptap/vue-3-BOfcUn5G.es.js +0 -436
  329. package/vendor/@tiptap/vue-3-ZMNXXvBd.system.js +0 -1
  330. package/vendor/highlight.js-ClnJXT0q.system.js +0 -2
  331. package/vendor/highlight.js-Czlvg6fB.es.js +0 -2493
  332. package/vendor/linkifyjs-BxsOjwQz.es.js +0 -705
  333. package/vendor/linkifyjs-CMLfIa6I.system.js +0 -5
  334. package/vendor/lodash-B6nNLFd3.es.js +0 -127
  335. package/vendor/lodash-BuO1dYnQ.system.js +0 -1
  336. package/vendor/lodash-es-C3G1Cc1m.system.js +0 -1
  337. package/vendor/lodash-es-CJerBxJQ.es.js +0 -766
  338. package/vendor/orderedmap-B3SOk52B.es.js +0 -103
  339. package/vendor/orderedmap-Dwr31MF0.system.js +0 -1
  340. package/vendor/primevue-C5Z_k4WB.system.js +0 -171
  341. package/vendor/primevue-DkBtKf1Y.es.js +0 -12649
  342. package/vendor/prosemirror-commands-CUjo-x4s.es.js +0 -383
  343. package/vendor/prosemirror-commands-Dn6KNBP0.system.js +0 -2
  344. package/vendor/prosemirror-history-BPOe4I2H.es.js +0 -248
  345. package/vendor/prosemirror-history-BTrzvpc-.system.js +0 -1
  346. package/vendor/prosemirror-keymap-BvIUhswp.es.js +0 -60
  347. package/vendor/prosemirror-keymap-WRY9zVpK.system.js +0 -1
  348. package/vendor/prosemirror-model-D2n-Dx_L.es.js +0 -2736
  349. package/vendor/prosemirror-model-DTWK5xnv.system.js +0 -4
  350. package/vendor/prosemirror-schema-list-BvrICwYb.es.js +0 -87
  351. package/vendor/prosemirror-schema-list-Dv9KV10j.system.js +0 -1
  352. package/vendor/prosemirror-state-BW6XGB3U.es.js +0 -820
  353. package/vendor/prosemirror-state-COJ-aZZ4.system.js +0 -1
  354. package/vendor/prosemirror-transform-BXNgAhmF.system.js +0 -2
  355. package/vendor/prosemirror-transform-DvAmofec.es.js +0 -1507
  356. package/vendor/prosemirror-view-C9ZQp8VZ.es.js +0 -3742
  357. package/vendor/prosemirror-view-DOxSTbB-.system.js +0 -5
  358. package/vendor/rope-sequence-4t46C6az.system.js +0 -1
  359. package/vendor/rope-sequence-sEGCUMi8.es.js +0 -100
  360. package/vendor/simplebar-core-CtWK1-xd.system.js +0 -1
  361. package/vendor/simplebar-core-ofTx4QqK.es.js +0 -333
  362. package/vendor/simplebar-vue-BHVrvuf1.system.js +0 -1
  363. package/vendor/simplebar-vue-dpCx-K7E.es.js +0 -176
  364. package/vendor/tippy.js-6wuFov1j.system.js +0 -1
  365. package/vendor/tippy.js-i1ic-msv.es.js +0 -721
  366. package/vendor/uuid-93tp0umt.es.js +0 -9
  367. package/vendor/uuid-Cymn6orr.system.js +0 -1
  368. package/vendor/vee-validate-Cc_B-qII.system.js +0 -5
  369. package/vendor/vee-validate-RE5RuswC.es.js +0 -1309
  370. package/vendor/vue-advanced-cropper-CshlvNaD.es.js +0 -1380
  371. package/vendor/vue-advanced-cropper-NG93jHnU.system.js +0 -20
  372. package/vendor/w3c-keyname-BSD-PgAi.system.js +0 -1
  373. package/vendor/w3c-keyname-CLxH8j-f.es.js +0 -92
  374. /package/{assets/lottie/loading-plane-CgfbWppy.system.js → loading-page-CgfbWppy.js} +0 -0
  375. /package/{assets/lottie/loading-plane-CoXtqoc9.es.js → loading-page-CoXtqoc9.js} +0 -0
@@ -1,167 +0,0 @@
1
- import { defineComponent as w, inject as D, ref as F, computed as P, watch as A, createElementBlock as h, openBlock as f, mergeProps as u, unref as p, createCommentVNode as H, createElementVNode as N, normalizeProps as j, renderSlot as z, createVNode as I, Fragment as q, renderList as x, createBlock as G } from "vue";
2
- import { O as J } from "../../utils/utils.esm-s_-kLKXf.es.js";
3
- import Q from "../icon/Icon-C4kXVcEX.es.js";
4
- import { _ as R } from "./TreeNode-CUL5_2Rj.es.js";
5
- const X = ["id"], Y = ["aria-label", "aria-labelledby"], te = /* @__PURE__ */ w({
6
- inheritAttrs: !1,
7
- __name: "BaseTree",
8
- props: {
9
- disableKeys: {},
10
- disableNodeAll: { type: Boolean, default: !1 },
11
- exactDisableKeys: {},
12
- level: { default: 0 },
13
- listLabelsNoOption: {},
14
- value: {},
15
- propagateSelection: { type: Boolean, default: !0 },
16
- expandedKeys: {},
17
- selectionKeys: { default: null },
18
- treeNodeMenus: {},
19
- selectionMode: {},
20
- metaKeySelection: { type: Boolean, default: !1 },
21
- loading: { type: Boolean, default: !1 },
22
- loadingIcon: {},
23
- loadingMode: { default: "mask" },
24
- filterText: { default: "" },
25
- filterBy: { default: "label" },
26
- filterMode: { default: "lenient" },
27
- filterPlaceholder: {},
28
- filterLocale: {},
29
- highlightOnSelect: { type: Boolean, default: !1 },
30
- scrollHeight: {},
31
- ariaLabel: {},
32
- ariaLabelledby: {},
33
- pt: {},
34
- ptOptions: {},
35
- unstyled: { type: Boolean },
36
- useOption: { type: Boolean, default: !1 },
37
- disableNodeWhen: {},
38
- exactDisableNodeWhen: {},
39
- nodeSelectedWhen: {}
40
- },
41
- emits: ["update:expandedKeys", "update:selectionKeys", "nodeSelect", "nodeUnselect", "nodeExpand", "nodeCollapse", "toggleMenu"],
42
- setup(S, { emit: v }) {
43
- const l = S, i = v, c = D("preset", {}).tree, d = F(l.expandedKeys ?? []), L = (e) => {
44
- const { key: t } = e;
45
- d.value[t] ? (delete d.value[t], i("nodeCollapse", e)) : (d.value[t] = !0, i("nodeExpand", e)), d.value = { ...d.value }, i("update:expandedKeys", d.value);
46
- }, B = (e) => {
47
- if (l.selectionMode != null && e.node.selectable !== !1) {
48
- const o = (e.nodeTouched ? !1 : l.metaKeySelection) ? O(e) : $(e);
49
- i("update:selectionKeys", o);
50
- }
51
- }, C = (e) => {
52
- i("update:selectionKeys", e.selectionKeys), e.check ? i("nodeSelect", e.node) : i("nodeUnselect", e.node);
53
- }, O = (e) => {
54
- const { originalEvent: t } = e, { node: o } = e, s = t.metaKey || t.ctrlKey, a = g(o);
55
- let n;
56
- return a && s ? (y() ? n = {} : (n = { ...l.selectionKeys }, delete n[o.key]), i("nodeUnselect", o)) : (y() ? n = {} : E() && (s && l.selectionKeys ? n = { ...l.selectionKeys } : n = {}), n[o.key] = !0, i("nodeSelect", o)), n;
57
- }, $ = (e) => {
58
- const { node: t } = e, o = g(t);
59
- let s;
60
- return y() ? o ? (s = {}, i("nodeUnselect", t)) : (s = {}, s[t.key] = !0, i("nodeSelect", t)) : o ? (s = { ...l.selectionKeys }, delete s[t.key], i("nodeUnselect", t)) : (s = l.selectionKeys ? { ...l.selectionKeys } : {}, s[t.key] = !0, i("nodeSelect", t)), s;
61
- }, y = () => l.selectionMode === "single", E = () => l.selectionMode === "multiple", g = (e) => l.selectionMode && l.selectionKeys ? l.selectionKeys[e.key] === !0 : !1, T = (e) => e.leaf === !1 ? !1 : !(e.children && e.children.length), m = (e, t) => {
62
- if (e) {
63
- let o = !1;
64
- if (e.children) {
65
- const s = [...e.children];
66
- e.children = [];
67
- for (const a of s) {
68
- const n = { ...a };
69
- b(n, t) && (o = !0, e.children.push(n));
70
- }
71
- }
72
- if (o)
73
- return !0;
74
- }
75
- }, b = (e, { searchFields: t, filterText: o, strict: s }) => {
76
- let a = !1;
77
- for (const n of t)
78
- String(
79
- J.resolveFieldData(e, n)
80
- ).toLocaleLowerCase(l.filterLocale).indexOf(o) > -1 && (a = !0);
81
- return (!a || s && !T(e)) && (a = m(e, { searchFields: t, filterText: o, strict: s }) || a), a;
82
- }, U = P(() => {
83
- const e = [], t = l.filterBy.split(","), o = l.filterMode === "strict";
84
- for (const s of l.value) {
85
- const a = { ...s }, n = {
86
- searchFields: t,
87
- filterText: l.filterText.toLocaleLowerCase(l.filterLocale),
88
- strict: o
89
- };
90
- (o && (m(a, n) || b(a, n)) || !o && (b(a, n) || m(a, n))) && e.push(a);
91
- }
92
- return e;
93
- });
94
- return A(
95
- () => l.expandedKeys,
96
- (e) => {
97
- d.value = e;
98
- },
99
- { deep: !0 }
100
- ), (e, t) => {
101
- var o, s, a, n;
102
- return f(), h("div", u((o = l.pt ?? p(c)) == null ? void 0 : o.root, {
103
- id: e.$attrs.id,
104
- class: e.$attrs.class,
105
- "data-wv-name": "tree"
106
- }), [
107
- e.loading && e.loadingMode === "mask" ? (f(), h("div", j(u({ key: 0 }, (s = l.pt ?? p(c)) == null ? void 0 : s.loadingOverlay)), [
108
- z(e.$slots, "loadingicon", {}, () => {
109
- var r;
110
- return [
111
- I(Q, u({
112
- class: "animate-spin",
113
- icon: "spinner"
114
- }, (r = l.pt ?? p(c)) == null ? void 0 : r.loadingicon), null, 16)
115
- ];
116
- })
117
- ], 16)) : H("", !0),
118
- N("div", u({
119
- style: { maxHeight: e.scrollHeight }
120
- }, (a = l.pt ?? p(c)) == null ? void 0 : a.wrapper), [
121
- N("ul", u({
122
- "aria-label": e.ariaLabel,
123
- "aria-labelledby": e.ariaLabelledby
124
- }, (n = l.pt ?? p(c)) == null ? void 0 : n.container, {
125
- "data-pc-section": "container",
126
- role: "tree"
127
- }), [
128
- (f(!0), h(q, null, x(U.value, (r, V) => {
129
- var K, k, M;
130
- return f(), G(R, u({
131
- key: r.key,
132
- ref_for: !0
133
- }, l, {
134
- class: [...(k = (K = l.pt ?? p(c)) == null ? void 0 : K.node) == null ? void 0 : k.class],
135
- "disable-keys": e.disableKeys,
136
- "disable-node-all": l.disableNodeAll,
137
- disabled: (M = e.disableKeys) == null ? void 0 : M.includes(+r.key),
138
- "exact-disable-keys": e.exactDisableKeys,
139
- "expanded-keys": d.value,
140
- index: V,
141
- level: e.level + 1,
142
- "list-labels-no-option": e.listLabelsNoOption,
143
- "loading-mode": e.loadingMode,
144
- node: r,
145
- "propagate-selection": e.propagateSelection,
146
- pt: e.pt,
147
- "selection-keys": e.selectionKeys,
148
- "selection-mode": e.selectionMode,
149
- templates: e.$slots,
150
- "tree-node-menus": e.treeNodeMenus,
151
- unstyled: e.unstyled,
152
- "use-option": e.useOption,
153
- onCheckboxChange: C,
154
- onNodeClick: B,
155
- onNodeToggle: L,
156
- onToggleMenu: t[0] || (t[0] = (W) => e.$emit("toggleMenu", W))
157
- }), null, 16, ["class", "disable-keys", "disable-node-all", "disabled", "exact-disable-keys", "expanded-keys", "index", "level", "list-labels-no-option", "loading-mode", "node", "propagate-selection", "pt", "selection-keys", "selection-mode", "templates", "tree-node-menus", "unstyled", "use-option"]);
158
- }), 128))
159
- ], 16, Y)
160
- ], 16)
161
- ], 16, X);
162
- };
163
- }
164
- });
165
- export {
166
- te as default
167
- };
@@ -1,499 +0,0 @@
1
- import { defineComponent as De, inject as Le, ref as oe, computed as i, onMounted as Be, resolveComponent as Ie, createElementBlock as N, openBlock as a, Fragment as P, createElementVNode as C, createBlock as b, createCommentVNode as A, mergeProps as m, unref as d, resolveDynamicComponent as V, normalizeClass as E, withModifiers as x, toDisplayString as le, renderList as Oe, withCtx as We, createVNode as Pe, nextTick as ae } from "vue";
2
- import { D as y } from "../../utils/utils.esm-s_-kLKXf.es.js";
3
- import { _ as Ve } from "../button/Button-CgkhMnxo.es.js";
4
- import Fe from "../checkbox/Checkbox-DBU7Ji2C.es.js";
5
- import F from "../icon/Icon-C4kXVcEX.es.js";
6
- import Ue from "../menu/Menu-BtzGGhbp.es.js";
7
- const $e = ["aria-checked", "aria-expanded", "aria-label", "aria-level", "aria-posinset", "aria-selected", "aria-setsize", "tabindex"], ze = ["data-p-highlight", "data-p-selectable"], He = ["data-node-has-children", "data-node-key", "data-node-selected"], je = {
8
- "aria-hidden": "true",
9
- class: "flex items-center justify-start gap-2 px-4 py-1.5 hover:bg-surface-50 text-xs no-underline overflow-hidden cursor-pointer select-none",
10
- "data-pc-section": "action",
11
- tabindex: "-1"
12
- }, Ye = /* @__PURE__ */ De({
13
- __name: "TreeNode",
14
- props: {
15
- node: {},
16
- index: {},
17
- disabled: { type: Boolean },
18
- listLabelsNoOption: {},
19
- pt: {},
20
- templates: {},
21
- disableKeys: {},
22
- disableNodeAll: { type: Boolean },
23
- exactDisableKeys: {},
24
- level: {},
25
- value: {},
26
- propagateSelection: { type: Boolean },
27
- expandedKeys: {},
28
- selectionKeys: {},
29
- treeNodeMenus: {},
30
- selectionMode: {},
31
- metaKeySelection: { type: Boolean },
32
- loading: { type: Boolean },
33
- loadingIcon: {},
34
- loadingMode: {},
35
- filterText: {},
36
- filterBy: {},
37
- filterMode: {},
38
- filterPlaceholder: {},
39
- filterLocale: {},
40
- highlightOnSelect: { type: Boolean },
41
- scrollHeight: {},
42
- ariaLabel: {},
43
- ariaLabelledby: {},
44
- ptOptions: {},
45
- unstyled: { type: Boolean },
46
- useOption: { type: Boolean },
47
- disableNodeWhen: { type: Function },
48
- exactDisableNodeWhen: { type: Function },
49
- nodeSelectedWhen: { type: Function }
50
- },
51
- emits: ["nodeToggle", "nodeClick", "checkboxChange", "toggleMenu"],
52
- setup(se, { emit: ie }) {
53
- const u = ie, t = se, s = Le("preset", {}).tree, D = oe(), K = oe(null);
54
- let T = !1, L = !1;
55
- const de = i(
56
- () => {
57
- var e;
58
- return ((e = t.node) == null ? void 0 : e.children) && t.node.children.length > 0;
59
- }
60
- ), U = i(
61
- () => {
62
- var e;
63
- return +t.node.key != -1 && t.useOption && !((e = t.listLabelsNoOption) != null && e.includes(t.node.name));
64
- }
65
- ), h = i(
66
- () => t.expandedKeys && t.expandedKeys[t.node.key] === !0
67
- ), B = i(
68
- () => t.node.leaf === !1 ? !1 : !(t.node.children && t.node.children.length)
69
- ), $ = i(() => v(t.node) || w(t.node) || t.node.selectable === !1 ? !1 : t.selectionMode != null), M = i(
70
- () => {
71
- var e;
72
- return ((e = t.nodeSelectedWhen) == null ? void 0 : e.call(t, t.node)) || (t.selectionMode && t.selectionKeys ? t.selectionKeys[t.node.key] === !0 : !1);
73
- }
74
- ), I = i(
75
- () => t.selectionMode === "checkbox" && t.node.selectable !== !1
76
- ), g = i(
77
- () => {
78
- var e, n;
79
- return ((e = t.nodeSelectedWhen) == null ? void 0 : e.call(t, t.node)) || (t.selectionKeys ? (n = t.selectionKeys[t.node.key]) == null ? void 0 : n.checked : !1);
80
- }
81
- ), re = i(
82
- () => {
83
- var e;
84
- return t.selectionKeys ? (e = t.selectionKeys[t.node.key]) == null ? void 0 : e.partialChecked : !1;
85
- }
86
- ), ce = i(
87
- () => t.selectionMode === "single" || t.selectionMode === "multiple" ? M.value : void 0
88
- ), ue = i(
89
- () => I.value ? g.value : void 0
90
- ), ge = () => {
91
- u("nodeToggle", t.node), L = !0;
92
- }, pe = (e) => e.label, be = (e) => {
93
- u("nodeToggle", e);
94
- }, O = (e) => {
95
- if (L || y.getAttribute(
96
- e.target,
97
- '[data-pc-section="toggler"]'
98
- ) || y.getAttribute(
99
- e.target.parentElement,
100
- '[data-pc-section="toggler"]'
101
- )) {
102
- L = !1;
103
- return;
104
- }
105
- ve() ? ye(e.type === "dblclick" || t.node.key === -1) : u("nodeClick", {
106
- originalEvent: e,
107
- nodeTouched: T,
108
- node: { ...t.node, selectable: $.value }
109
- // To prevent selection when the node disabled by disableKeys or exactDisableKeys
110
- }), T = !1;
111
- }, fe = (e) => {
112
- u("nodeClick", e);
113
- }, he = () => {
114
- T = !0;
115
- }, me = (e, n) => {
116
- if (t.selectionMode !== null) {
117
- const o = [
118
- ...y.find(K.value.parentElement, '[role="treeitem"]')
119
- ];
120
- e.currentTarget.tabIndex = n === !1 ? -1 : 0, o.every((l) => l.tabIndex === -1) && (o[0].tabIndex = 0);
121
- }
122
- }, k = (e, n, o) => {
123
- e.tabIndex = -1, n.tabIndex = 0, Ae(o || n);
124
- }, z = (e) => {
125
- const n = e.closest("ul").closest("li");
126
- if (n) {
127
- const o = y.findSingle(n, "button");
128
- return o && o.style.visibility !== "hidden" ? n : z(e.previousElementSibling);
129
- }
130
- return null;
131
- }, H = () => {
132
- if (!K.value) return;
133
- const e = y.find(
134
- K.value.closest('[data-pc-section="container"]'),
135
- '[role="treeitem"]'
136
- ), n = [...e].some(
137
- (o) => o.getAttribute("aria-selected") === "true" || o.getAttribute("aria-checked") === "true"
138
- );
139
- if ([...e].forEach((o) => {
140
- o.tabIndex = -1;
141
- }), n) {
142
- const o = [...e].filter(
143
- (l) => l.getAttribute("aria-selected") === "true" || l.getAttribute("aria-checked") === "true"
144
- );
145
- o[0].tabIndex = 0;
146
- return;
147
- }
148
- [...e][0].tabIndex = 0;
149
- }, ye = (e = !1) => {
150
- const n = t.selectionKeys ? { ...t.selectionKeys } : {}, o = !g.value;
151
- j(t.node, o, n, e), u("checkboxChange", {
152
- node: t.node,
153
- check: o,
154
- selectionKeys: n
155
- });
156
- }, j = (e, n, o, l = !1) => {
157
- if (n ? o[e.key] = { checked: !0, partialChecked: !1 } : delete o[e.key], (l || t.propagateSelection) && e.children && e.children.length)
158
- for (const r of e.children)
159
- j(r, n, o, l);
160
- }, ke = (e) => {
161
- var f, p;
162
- const { check: n } = e, o = { ...e.selectionKeys };
163
- let l = 0, r = !1;
164
- if (t.node.children) {
165
- if (t.propagateSelection) {
166
- for (const S of t.node.children)
167
- (f = o[S.key]) != null && f.checked ? l++ : (p = o[S.key]) != null && p.partialChecked && (r = !0);
168
- n && l === t.node.children.length ? o[t.node.key] = { checked: !0, partialChecked: !1 } : (n || delete o[t.node.key], r || l > 0 && l !== t.node.children.length ? o[t.node.key] = {
169
- checked: !1,
170
- partialChecked: !0
171
- } : delete o[t.node.key]);
172
- }
173
- u("checkboxChange", {
174
- node: e.node,
175
- check: e.check,
176
- selectionKeys: o
177
- });
178
- }
179
- }, ve = () => t.selectionMode === "checkbox", Ne = (e) => {
180
- if (Te(e))
181
- switch (e.code) {
182
- case "Tab":
183
- Ke();
184
- break;
185
- case "ArrowDown":
186
- q(e);
187
- break;
188
- case "ArrowUp":
189
- Ce(e);
190
- break;
191
- case "ArrowRight":
192
- Ee(e);
193
- break;
194
- case "ArrowLeft":
195
- we(e);
196
- break;
197
- case "Enter":
198
- case "NumpadEnter":
199
- case "Space":
200
- Se(e);
201
- break;
202
- }
203
- }, q = (e) => {
204
- const n = e.target.getAttribute("data-wv-section") === "tree-node-toggler" ? e.target.closest(
205
- '[role="treeitem"]'
206
- ) : e.target, o = n.children[1];
207
- if (o)
208
- k(n, o.children[0]);
209
- else if (n.nextElementSibling)
210
- k(
211
- n,
212
- n.nextElementSibling
213
- );
214
- else {
215
- const l = R(
216
- n
217
- );
218
- l && k(n, l);
219
- }
220
- e.preventDefault();
221
- }, Ce = (e) => {
222
- const n = e.target;
223
- if (n.previousElementSibling)
224
- k(
225
- n,
226
- n.previousElementSibling,
227
- G(
228
- n.previousElementSibling
229
- )
230
- );
231
- else {
232
- const o = J(n);
233
- o && k(n, o);
234
- }
235
- e.preventDefault();
236
- }, Ee = (e) => {
237
- B.value || h.value || (e.currentTarget.tabIndex = -1, u("nodeToggle", t.node), ae(() => {
238
- q(e);
239
- }));
240
- }, we = (e) => {
241
- const n = y.findSingle(
242
- e.currentTarget,
243
- '[data-wv-section="tree-node-toggler"]'
244
- );
245
- if (t.level === 0 && !h.value)
246
- return !1;
247
- if (h.value && !B.value)
248
- return n.click(), !1;
249
- const o = z(
250
- e.currentTarget
251
- );
252
- o && k(e.currentTarget, o);
253
- }, Se = (e) => {
254
- me(e, T), O(e), e.preventDefault();
255
- }, Ke = () => {
256
- H();
257
- }, Te = (e) => e.currentTarget && (e.currentTarget.isSameNode(e.target) || e.currentTarget.isSameNode(e.target.closest('[role="treeitem"]'))), Me = async (e, n) => {
258
- var r, f;
259
- const o = e.target, l = o.tagName.toLowerCase() === "button" ? o : o.parentElement;
260
- if (l != null && l.classList.contains("tree-menu-button-active")) {
261
- W();
262
- const p = {
263
- ...e,
264
- currentTarget: e.target
265
- };
266
- (r = D.value) == null || r.toggle(p);
267
- } else {
268
- await ae(), W(), l == null || l.classList.add("tree-menu-button-active", "!bg-surface-300/20");
269
- const p = {
270
- ...e,
271
- currentTarget: e.target
272
- };
273
- (f = D.value) == null || f.toggle(p), u("toggleMenu", n);
274
- }
275
- }, W = () => {
276
- const e = document.querySelectorAll(
277
- ".tree-menu-button-active"
278
- );
279
- e == null || e.forEach((n) => {
280
- n.classList.remove("tree-menu-button-active", "!bg-surface-300/20");
281
- });
282
- }, R = (e) => {
283
- const n = J(e);
284
- return n ? n.nextElementSibling ? n.nextElementSibling : R(n) : null;
285
- }, G = (e) => {
286
- const n = e.children[1];
287
- if (n) {
288
- const o = n.children[n.children.length - 1];
289
- return G(o);
290
- }
291
- return e;
292
- }, J = (e) => {
293
- const n = e.parentElement.parentElement;
294
- return y.getAttribute(n, "role") === "treeitem" ? n : null;
295
- }, Ae = (e) => {
296
- e.focus();
297
- }, v = (e) => {
298
- var n, o;
299
- return ((n = t.disableKeys) == null ? void 0 : n.includes(+e.key)) || t.disabled || e.selectable == !1 || e.disabled == !0 || ((o = t.disableNodeWhen) == null ? void 0 : o.call(t, e));
300
- }, w = (e) => {
301
- var n, o;
302
- return e.selectable == !1 || ((n = t.exactDisableKeys) == null ? void 0 : n.includes(+e.key)) || t.disableNodeAll && +e.key == -1 || ((o = t.exactDisableNodeWhen) == null ? void 0 : o.call(t, e));
303
- };
304
- return Be(() => {
305
- H();
306
- }), (e, n) => {
307
- var l, r, f, p, S, Q, X, Y, Z, _, ee;
308
- const o = Ie("TreeNode", !0);
309
- return a(), N(P, null, [
310
- C("li", m({
311
- ref_key: "currentNode",
312
- ref: K,
313
- "aria-checked": ce.value,
314
- "aria-expanded": h.value,
315
- "aria-label": pe(e.node),
316
- "aria-level": e.level,
317
- "aria-posinset": e.index + 1,
318
- "aria-selected": ue.value,
319
- "aria-setsize": e.node.children ? e.node.children.length : 0,
320
- tabindex: e.index === 0 ? 0 : -1,
321
- onKeydown: Ne
322
- }, (l = t.pt ?? d(s)) == null ? void 0 : l.node, {
323
- "data-wv-name": "treenode",
324
- role: "treeitem"
325
- }), [
326
- C("div", m(
327
- (r = t.pt ?? d(s)) == null ? void 0 : r.content({
328
- props: t,
329
- context: {
330
- selected: g.value || M.value,
331
- disabled: v(e.node),
332
- exactDisabled: w(e.node)
333
- }
334
- }),
335
- {
336
- "data-p-highlight": I.value ? g.value : M.value,
337
- "data-p-selectable": $.value,
338
- style: e.node.style,
339
- onClick: O,
340
- onTouchend: he
341
- }
342
- ), [
343
- C("button", m({
344
- onClick: ge,
345
- "aria-hidden": "true",
346
- tabindex: "-1",
347
- type: "button"
348
- }, (f = t.pt ?? d(s)) == null ? void 0 : f.toggler({ context: { leaf: B.value } })), [
349
- e.node.loading && e.loadingMode === "icon" ? (a(), b(F, {
350
- key: 0,
351
- class: "animate-spin",
352
- icon: "spinner"
353
- })) : (a(), N(P, { key: 1 }, [
354
- e.templates.togglericon ? (a(), b(V(e.templates.togglericon), {
355
- key: 0,
356
- class: E([...(p = t.pt ?? d(s)) == null ? void 0 : p.togglericon.class]),
357
- expanded: h.value,
358
- node: e.node
359
- }, null, 8, ["class", "expanded", "node"])) : (a(), b(F, {
360
- key: 1,
361
- class: E([
362
- ...(S = t.pt ?? d(s)) == null ? void 0 : S.togglericon.class,
363
- { "rotate-90": h.value }
364
- ]),
365
- "data-wv-section": "togglericon",
366
- icon: "arrow-right"
367
- }, null, 8, ["class"]))
368
- ], 64))
369
- ], 16),
370
- I.value ? (a(), b(Fe, m({
371
- key: 0,
372
- binary: !1
373
- }, (Q = t.pt ?? d(s)) == null ? void 0 : Q.nodeCheckbox.root, {
374
- disabled: v(e.node) || w(e.node),
375
- "model-value": g.value ? g.value : re.value ? !1 : null,
376
- onClick: n[0] || (n[0] = x(() => {
377
- }, ["prevent"])),
378
- onKeydown: n[1] || (n[1] = x(() => {
379
- }, ["prevent", "stop"])),
380
- "onUpdate:modelValue": O,
381
- "data-wv-section": "nodecheckbox",
382
- "tri-state": ""
383
- }), null, 16, ["disabled", "model-value"])) : A("", !0),
384
- e.templates.nodeicon ? (a(), b(V(e.templates.nodeicon), {
385
- key: 1,
386
- class: E([...(X = t.pt ?? d(s)) == null ? void 0 : X.nodeicon().class]),
387
- node: e.node
388
- }, null, 8, ["class", "node"])) : (a(), N("span", {
389
- key: 2,
390
- class: E([...(Y = t.pt ?? d(s)) == null ? void 0 : Y.nodeicon().class, e.node.icon])
391
- }, null, 2)),
392
- C("span", m(
393
- (Z = t.pt ?? d(s)) == null ? void 0 : Z.label({
394
- props: t,
395
- context: {
396
- selected: g.value || M.value,
397
- disabled: v(e.node),
398
- exactDisabled: w(e.node)
399
- }
400
- }),
401
- {
402
- onKeydown: n[3] || (n[3] = x(() => {
403
- }, ["stop"]))
404
- }
405
- ), [
406
- e.templates[e.node.type] || e.templates.default ? (a(), b(V(e.templates[e.node.type] || e.templates.default), {
407
- key: 0,
408
- checked: g.value,
409
- disabled: w(e.node) || v(e.node),
410
- node: e.node
411
- }, null, 8, ["checked", "disabled", "node"])) : (a(), N("span", {
412
- key: 1,
413
- "data-node-has-children": !!((_ = e.node.children) != null && _.length),
414
- "data-node-key": e.node.key,
415
- "data-node-selected": g.value,
416
- class: "grow"
417
- }, le(e.node.name), 9, He)),
418
- U.value ? (a(), b(Ve, {
419
- key: 2,
420
- class: E([
421
- "!w-4 !h-4 !min-w-4 p-0.5",
422
- "!text-general-200",
423
- "rounded-full"
424
- ]),
425
- onClick: n[2] || (n[2] = x((c) => Me(c, e.node), ["stop"])),
426
- "data-wv-section": "nodemenubutton",
427
- icon: "more",
428
- severity: "secondary",
429
- text: "",
430
- tooltip: "Action",
431
- "tooltip-pos": "left"
432
- })) : A("", !0)
433
- ], 16)
434
- ], 16, ze),
435
- de.value && h.value ? (a(), N("ul", m({
436
- key: 0,
437
- role: "group"
438
- }, (ee = t.pt ?? d(s)) == null ? void 0 : ee.subgroup), [
439
- (a(!0), N(P, null, Oe(e.node.children, (c) => {
440
- var te, ne;
441
- return a(), b(o, m({
442
- key: c.key,
443
- ref_for: !0
444
- }, t, {
445
- class: [...(ne = (te = t.pt ?? d(s)) == null ? void 0 : te.node) == null ? void 0 : ne.class],
446
- "disable-keys": e.disableKeys,
447
- disabled: v(c),
448
- "exact-disable-keys": e.exactDisableKeys,
449
- "expanded-keys": e.expandedKeys,
450
- level: e.level + 1,
451
- "list-labels-no-option": e.listLabelsNoOption,
452
- "loading-mode": e.loadingMode,
453
- node: c,
454
- "propagate-selection": t.propagateSelection,
455
- pt: e.pt,
456
- "selection-keys": e.selectionKeys,
457
- "selection-mode": e.selectionMode,
458
- templates: e.templates,
459
- "tree-node-menus": e.treeNodeMenus,
460
- unstyled: e.unstyled,
461
- "use-option": e.useOption,
462
- onCheckboxChange: ke,
463
- onNodeClick: fe,
464
- onNodeToggle: be,
465
- onToggleMenu: n[4] || (n[4] = (xe) => u("toggleMenu", xe))
466
- }), null, 16, ["class", "disable-keys", "disabled", "exact-disable-keys", "expanded-keys", "level", "list-labels-no-option", "loading-mode", "node", "propagate-selection", "pt", "selection-keys", "selection-mode", "templates", "tree-node-menus", "unstyled", "use-option"]);
467
- }), 128))
468
- ], 16)) : A("", !0)
469
- ], 16, $e),
470
- U.value ? (a(), b(Ue, {
471
- key: 0,
472
- ref_key: "treeNodeMenu",
473
- ref: D,
474
- model: e.treeNodeMenus,
475
- popup: !0,
476
- onHide: W,
477
- "data-wv-section": "tree-node-menus"
478
- }, {
479
- item: We(({ item: c }) => [
480
- C("a", je, [
481
- Pe(F, {
482
- icon: c.icon,
483
- severity: c.danger ? "danger" : void 0
484
- }, null, 8, ["icon", "severity"]),
485
- C("span", {
486
- class: E(["text-inherit", { "!text-danger-500": c.danger }]),
487
- "data-pc-section": "label"
488
- }, le(c.label), 3)
489
- ])
490
- ]),
491
- _: 1
492
- }, 8, ["model"])) : A("", !0)
493
- ], 64);
494
- };
495
- }
496
- });
497
- export {
498
- Ye as _
499
- };