@utogether/udp-core 1.0.0

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 (343) hide show
  1. package/build/index.ts +90 -0
  2. package/build/plugins.ts +26 -0
  3. package/dist/403-B1R-4vXw.js +64 -0
  4. package/dist/404-fXPl8csw.js +64 -0
  5. package/dist/500-eI5842YB.js +66 -0
  6. package/dist/AuthorityInfo-CfVH6PaB.js +4 -0
  7. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-DbK-f8jH.js +102 -0
  8. package/dist/AuthorityPanel-BaLMwMgW.js +4 -0
  9. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-C_bkqLD9.js +107 -0
  10. package/dist/Company-CYC9Avfz.js +25 -0
  11. package/dist/CompanyPanel-B4MzoqN_.js +206 -0
  12. package/dist/DataSet-DT-rGICv.js +147 -0
  13. package/dist/Department-B4BNSiYx.js +25 -0
  14. package/dist/DepartmentPanel-zJO89L2O.js +224 -0
  15. package/dist/DesignPanel-S8P0J97f.js +4 -0
  16. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-DW-_Vqrr.js +1015 -0
  17. package/dist/DictView-bIS5-rK-.js +95 -0
  18. package/dist/InvOrganization-MuM2jtsG.js +66 -0
  19. package/dist/Org-kXHSjsgJ.js +35 -0
  20. package/dist/Preview-CRyiwUIR.js +48 -0
  21. package/dist/ReportDefine-WZYIx8Sm.js +10 -0
  22. package/dist/ReportDesign-D-7GKgpb.js +165 -0
  23. package/dist/ReportQuery-BIIJny6w.js +75 -0
  24. package/dist/ReportQueryFrom-OoUl7N2O.js +4 -0
  25. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-B878fgj8.js +177 -0
  26. package/dist/ReportTemplate-Cfeq9US-.js +161 -0
  27. package/dist/Role-BwTV2QMH.js +25 -0
  28. package/dist/RoleAssign-De1JjOun.js +26 -0
  29. package/dist/RolePanel-E3RcdByM.js +4 -0
  30. package/dist/RolePanel-pUBXsqCM.js +4 -0
  31. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-B2pQwHb0.js +148 -0
  32. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CTIad9_Q.js +126 -0
  33. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-vMR1fBi0.js +100 -0
  34. package/dist/Staff-Czm7A8vI.js +25 -0
  35. package/dist/StaffInfo-DJzvBuxy.js +4 -0
  36. package/dist/StaffInfo.vue_vue_type_style_index_0_lang-DMTL7KCh.js +108 -0
  37. package/dist/StaffPanel-CHk60LEz.js +4 -0
  38. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-iPKLb5wG.js +114 -0
  39. package/dist/SysUser-BGwbttRn.js +15 -0
  40. package/dist/SysUserPanel-BCbKoLKt.js +4 -0
  41. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-0QUjnhjF.js +289 -0
  42. package/dist/SystemMenu-BkqZSDKl.js +151 -0
  43. package/dist/UserInfo-BsyAcT2d.js +4 -0
  44. package/dist/UserInfo.vue_vue_type_style_index_0_lang-D0-KDxAh.js +158 -0
  45. package/dist/await-to-js.es5-BtRbN2QH.js +10 -0
  46. package/dist/childView-CF83nhxb.js +4 -0
  47. package/dist/childView-CyuLTUqC.js +4 -0
  48. package/dist/childView.vue_vue_type_style_index_0_lang-CNSgGda3.js +187 -0
  49. package/dist/childView.vue_vue_type_style_index_0_lang-Cch4lE-i.js +144 -0
  50. package/dist/code-rule-Bz-gnktN.js +147 -0
  51. package/dist/core.es.js +13 -0
  52. package/dist/core.umd.js +173 -0
  53. package/dist/cron-task-CIifSUdW.js +135 -0
  54. package/dist/frameView-_d2mqjjQ.js +43 -0
  55. package/dist/img/l_img.svg +1 -0
  56. package/dist/img/minicolors.png +0 -0
  57. package/dist/img/v_img.svg +1 -0
  58. package/dist/index-BKIw8tSn.js +9195 -0
  59. package/dist/layoutView-DLKVepB8.js +3317 -0
  60. package/dist/log-in-e7D5Ss1P.js +110 -0
  61. package/dist/log-out--RRncZhN.js +120 -0
  62. package/dist/login-LREiDfFU.js +251 -0
  63. package/dist/login-log-CvVnyGi3.js +68 -0
  64. package/dist/lov-view-DDrIVILB.js +97 -0
  65. package/dist/menuInfo-B1FUV-Sk.js +4 -0
  66. package/dist/menuInfo.vue_vue_type_style_index_0_lang-Cnk3vdtD.js +338 -0
  67. package/dist/pda-app-CRhVGijN.js +2209 -0
  68. package/dist/redirect-DiaNDu8F.js +15 -0
  69. package/dist/resource-BCwx9fEv.js +97 -0
  70. package/dist/su-welcome-189A7N4r.js +526 -0
  71. package/dist/sys-config-BZ3sejow.js +277 -0
  72. package/dist/udp-core.css +9 -0
  73. package/dist/utogether-r08LNiIZ.js +182 -0
  74. package/index.ts +36 -0
  75. package/package.json +16 -0
  76. package/public/img/l_img.svg +1 -0
  77. package/public/img/minicolors.png +0 -0
  78. package/public/img/v_img.svg +1 -0
  79. package/src/App.vue +70 -0
  80. package/src/api/http.ts +50 -0
  81. package/src/api/index.ts +31 -0
  82. package/src/api/mock.ts +20 -0
  83. package/src/api/user.ts +43 -0
  84. package/src/assets/images/avatars.jpg +0 -0
  85. package/src/assets/images/empty.png +0 -0
  86. package/src/assets/images/login.png +0 -0
  87. package/src/assets/images/logo.png +0 -0
  88. package/src/assets/images/mask-text.jpg +0 -0
  89. package/src/assets/images/minicolors.png +0 -0
  90. package/src/assets/images/utogether.png +0 -0
  91. package/src/assets/images/welcome.png +0 -0
  92. package/src/assets/status/403.svg +1 -0
  93. package/src/assets/status/404.svg +1 -0
  94. package/src/assets/status/500.svg +1 -0
  95. package/src/assets/svg/back_top.svg +1 -0
  96. package/src/assets/svg/bg.svg +1 -0
  97. package/src/assets/svg/close.svg +1 -0
  98. package/src/assets/svg/close_all.svg +1 -0
  99. package/src/assets/svg/close_left.svg +1 -0
  100. package/src/assets/svg/close_other.svg +1 -0
  101. package/src/assets/svg/close_right.svg +1 -0
  102. package/src/assets/svg/dark.svg +1 -0
  103. package/src/assets/svg/day.svg +1 -0
  104. package/src/assets/svg/enter_outlined.svg +1 -0
  105. package/src/assets/svg/exit_screen.svg +1 -0
  106. package/src/assets/svg/full_screen.svg +1 -0
  107. package/src/assets/svg/globalization.svg +1 -0
  108. package/src/assets/svg/loading.svg +17 -0
  109. package/src/assets/svg/mdi_keyboard_esc.svg +1 -0
  110. package/src/assets/svg/refresh.svg +1 -0
  111. package/src/assets/svg/system.svg +1 -0
  112. package/src/components/ReCountTo/README.md +2 -0
  113. package/src/components/ReCountTo/index.ts +18 -0
  114. package/src/components/ReCountTo/src/normal/index.tsx +165 -0
  115. package/src/components/ReCountTo/src/normal/props.ts +37 -0
  116. package/src/components/ReCountTo/src/rebound/index.tsx +67 -0
  117. package/src/components/ReCountTo/src/rebound/props.ts +14 -0
  118. package/src/components/ReCountTo/src/rebound/rebound.css +77 -0
  119. package/src/components/ReCropper/index.ts +14 -0
  120. package/src/components/ReCropper/src/index.tsx +141 -0
  121. package/src/components/ReFlicker/index.css +39 -0
  122. package/src/components/ReFlicker/index.ts +50 -0
  123. package/src/components/ReFlop/index.ts +14 -0
  124. package/src/components/ReFlop/src/Filpper.tsx +99 -0
  125. package/src/components/ReFlop/src/filpper.css +184 -0
  126. package/src/components/ReFlop/src/index.vue +126 -0
  127. package/src/components/ReFlowChart/index.ts +24 -0
  128. package/src/components/ReFlowChart/src/Control.vue +139 -0
  129. package/src/components/ReFlowChart/src/DataDialog.vue +12 -0
  130. package/src/components/ReFlowChart/src/NodePanel.vue +151 -0
  131. package/src/components/ReFlowChart/src/adpterForTurbo.ts +160 -0
  132. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.css +49 -0
  133. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.eot +0 -0
  134. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.js +61 -0
  135. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.json +58 -0
  136. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.svg +47 -0
  137. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.ttf +0 -0
  138. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff +0 -0
  139. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff2 +0 -0
  140. package/src/components/ReFlowChart/src/config.ts +62 -0
  141. package/src/components/ReIcon/index.ts +12 -0
  142. package/src/components/ReIcon/src/Icon.vue +81 -0
  143. package/src/components/ReIcon/src/hooks.ts +63 -0
  144. package/src/components/ReIcon/src/iconfont.ts +45 -0
  145. package/src/components/ReIcon/src/iconifyIconOffline.ts +36 -0
  146. package/src/components/ReIcon/src/iconifyIconOnline.ts +28 -0
  147. package/src/components/ReIcon/src/offlineIcon.ts +64 -0
  148. package/src/components/ReIcon/src/types.ts +20 -0
  149. package/src/components/ReSplitPane/index.css +49 -0
  150. package/src/components/ReSplitPane/index.tsx +119 -0
  151. package/src/components/ReSplitPane/resizer.css +45 -0
  152. package/src/components/ReSplitPane/resizer.tsx +30 -0
  153. package/src/components/SuCharts/index.ts +36 -0
  154. package/src/components/SuCharts/src/EchartBar.vue +134 -0
  155. package/src/components/SuCharts/src/UserInfo.vue +78 -0
  156. package/src/components/SuCharts/src/echart-line.vue +85 -0
  157. package/src/components/SuCharts/src/echart-pie.vue +95 -0
  158. package/src/components/SuCommon/card/components/Card.vue +148 -0
  159. package/src/components/SuCommon/card/components/DialogForm.vue +127 -0
  160. package/src/components/SuCommon/card/index.vue +142 -0
  161. package/src/components/SuCommon/icon-select/index.vue +241 -0
  162. package/src/components/SuCommon/table/index.vue +208 -0
  163. package/src/components/SuCommon/utils/index.ts +103 -0
  164. package/src/components/SuCommon/utils/slot.tsx +50 -0
  165. package/src/components/SuFloatButton/index.vue +159 -0
  166. package/src/components/SuQrcode/index.ts +14 -0
  167. package/src/components/SuQrcode/src/index.scss +9 -0
  168. package/src/components/SuQrcode/src/index.tsx +236 -0
  169. package/src/components/SuScrollTree/ScrollPanel.vue +175 -0
  170. package/src/components/SuTable/SuTable.vue +334 -0
  171. package/src/components/SuTypeit/index.ts +51 -0
  172. package/src/config/index.ts +35 -0
  173. package/src/contant/index.ts +20 -0
  174. package/src/directives/elResizeDetector/index.ts +33 -0
  175. package/src/directives/index.ts +11 -0
  176. package/src/directives/permission/index.ts +29 -0
  177. package/src/layout/components/lay-chrome/index.vue +30 -0
  178. package/src/layout/components/lay-content/index.vue +143 -0
  179. package/src/layout/components/lay-navbar/index.vue +237 -0
  180. package/src/layout/components/lay-notice/data.ts +59 -0
  181. package/src/layout/components/lay-notice/index.vue +83 -0
  182. package/src/layout/components/lay-notice/noticeItem.vue +160 -0
  183. package/src/layout/components/lay-notice/noticeList.vue +19 -0
  184. package/src/layout/components/lay-panel/index.vue +150 -0
  185. package/src/layout/components/lay-search/components/SearchFooter.vue +67 -0
  186. package/src/layout/components/lay-search/components/SearchModal.vue +189 -0
  187. package/src/layout/components/lay-search/components/SearchResult.vue +132 -0
  188. package/src/layout/components/lay-search/components/index.ts +10 -0
  189. package/src/layout/components/lay-search/index.vue +25 -0
  190. package/src/layout/components/lay-select-org/index.vue +69 -0
  191. package/src/layout/components/lay-setting/index.vue +510 -0
  192. package/src/layout/components/lay-sidebar/breadCrumb.vue +131 -0
  193. package/src/layout/components/lay-sidebar/extraIcon.vue +25 -0
  194. package/src/layout/components/lay-sidebar/hamBurger.vue +72 -0
  195. package/src/layout/components/lay-sidebar/horizontal.vue +191 -0
  196. package/src/layout/components/lay-sidebar/mixNav.vue +258 -0
  197. package/src/layout/components/lay-sidebar/sidebar-logo.vue +98 -0
  198. package/src/layout/components/lay-sidebar/sidebarItem.vue +205 -0
  199. package/src/layout/components/lay-sidebar/vertical.vue +94 -0
  200. package/src/layout/components/lay-tag/index.scss +375 -0
  201. package/src/layout/components/lay-tag/index.vue +625 -0
  202. package/src/layout/frameView.vue +71 -0
  203. package/src/layout/hooks/useBoolean.ts +33 -0
  204. package/src/layout/hooks/useDataThemeChange.ts +142 -0
  205. package/src/layout/hooks/useLayout.ts +65 -0
  206. package/src/layout/hooks/useNav.ts +173 -0
  207. package/src/layout/hooks/useTag.ts +233 -0
  208. package/src/layout/hooks/useTranslationLang.ts +51 -0
  209. package/src/layout/layoutView.vue +215 -0
  210. package/src/layout/redirect.vue +30 -0
  211. package/src/layout/routerView/parent.vue +23 -0
  212. package/src/layout/types.ts +92 -0
  213. package/src/main.ts +108 -0
  214. package/src/plugins/echarts/index.ts +58 -0
  215. package/src/plugins/echarts/theme.json +394 -0
  216. package/src/plugins/i18n/en.ts +289 -0
  217. package/src/plugins/i18n/index.ts +76 -0
  218. package/src/plugins/i18n/module/u-report.ts +64 -0
  219. package/src/plugins/i18n/module/u-workflow.ts +71 -0
  220. package/src/plugins/i18n/module/umsg.ts +28 -0
  221. package/src/plugins/i18n/zh.ts +337 -0
  222. package/src/plugins/vxe-table/index.ts +46 -0
  223. package/src/plugins/vxe-table/render.tsx +397 -0
  224. package/src/router/createComponent.tsx +25 -0
  225. package/src/router/index.ts +183 -0
  226. package/src/router/modules/error.ts +32 -0
  227. package/src/router/modules/home.ts +32 -0
  228. package/src/router/modules/nested.ts +93 -0
  229. package/src/router/modules/remaining.ts +83 -0
  230. package/src/router/modules/tabs.ts +55 -0
  231. package/src/router/utils.ts +377 -0
  232. package/src/store/index.ts +9 -0
  233. package/src/store/modules/app.ts +69 -0
  234. package/src/store/modules/epTheme.ts +49 -0
  235. package/src/store/modules/multiTags.ts +109 -0
  236. package/src/store/modules/permission.ts +103 -0
  237. package/src/store/modules/settings.ts +40 -0
  238. package/src/store/modules/system.ts +180 -0
  239. package/src/store/modules/types.ts +49 -0
  240. package/src/style/button.scss +78 -0
  241. package/src/style/clear-mixin.scss +28 -0
  242. package/src/style/dark.scss +218 -0
  243. package/src/style/element-plus.scss +206 -0
  244. package/src/style/index.scss +76 -0
  245. package/src/style/login.css +336 -0
  246. package/src/style/login2.css +106 -0
  247. package/src/style/print-lock.css +375 -0
  248. package/src/style/reset.scss +272 -0
  249. package/src/style/sidebar.scss +770 -0
  250. package/src/style/suprint.css +985 -0
  251. package/src/style/tailwind.css +68 -0
  252. package/src/style/theme.scss +143 -0
  253. package/src/style/transition.scss +42 -0
  254. package/src/style/vxetable.scss +256 -0
  255. package/src/utils/authority/index.ts +29 -0
  256. package/src/utils/browers.ts +59 -0
  257. package/src/utils/dataFormat/index.ts +223 -0
  258. package/src/utils/http/index.ts +297 -0
  259. package/src/utils/http/types.d.ts +46 -0
  260. package/src/utils/index.ts +47 -0
  261. package/src/utils/lifecycle.ts +20 -0
  262. package/src/utils/mitt.ts +19 -0
  263. package/src/utils/propTypes.ts +47 -0
  264. package/src/utils/storage/index.ts +51 -0
  265. package/src/views/components/contextmenu/basic.vue +74 -0
  266. package/src/views/components/contextmenu/context-menu.vue +40 -0
  267. package/src/views/components/contextmenu/menuDynamic.vue +99 -0
  268. package/src/views/components/contextmenu/menuGroup.vue +71 -0
  269. package/src/views/components/count-to/index.vue +43 -0
  270. package/src/views/components/cropping/index.vue +59 -0
  271. package/src/views/components/cropping/picture.jpeg +0 -0
  272. package/src/views/components/split-pane/index.vue +82 -0
  273. package/src/views/components/video/index.vue +57 -0
  274. package/src/views/error/403.vue +50 -0
  275. package/src/views/error/404.vue +50 -0
  276. package/src/views/error/500.vue +52 -0
  277. package/src/views/login/login-view.vue +314 -0
  278. package/src/views/login/utils/motion.ts +47 -0
  279. package/src/views/login/utils/rule.ts +70 -0
  280. package/src/views/login/utils/verifyCode.ts +52 -0
  281. package/src/views/organization/company/Company.vue +56 -0
  282. package/src/views/organization/company/CompanyPanel.vue +259 -0
  283. package/src/views/organization/department/Department.vue +58 -0
  284. package/src/views/organization/department/DepartmentPanel.vue +283 -0
  285. package/src/views/organization/inv-org/InvOrganization.vue +53 -0
  286. package/src/views/organization/org/Org.vue +43 -0
  287. package/src/views/organization/staff/Staff.vue +58 -0
  288. package/src/views/organization/staff/StaffInfo.vue +163 -0
  289. package/src/views/organization/staff/StaffPanel.vue +144 -0
  290. package/src/views/system/cron/cron-task.vue +157 -0
  291. package/src/views/system/menu/AuthorityPanel.vue +140 -0
  292. package/src/views/system/menu/SystemMenu.vue +191 -0
  293. package/src/views/system/menu/menuInfo.vue +368 -0
  294. package/src/views/system/role/AuthorityInfo.vue +147 -0
  295. package/src/views/system/role/Role.vue +57 -0
  296. package/src/views/system/role/RolePanel.vue +191 -0
  297. package/src/views/system/role/UserInfo.vue +193 -0
  298. package/src/views/system/role-assign/RoleAssign.vue +57 -0
  299. package/src/views/system/role-assign/RolePanel.vue +136 -0
  300. package/src/views/system/sys/sys-config.vue +291 -0
  301. package/src/views/system/sysUser/SysUser.vue +45 -0
  302. package/src/views/system/sysUser/SysUserPanel.vue +278 -0
  303. package/src/views/uapp/pda/pda-app.vue +176 -0
  304. package/src/views/udev/coderule/code-rule.vue +121 -0
  305. package/src/views/udev/dict/DictView.vue +106 -0
  306. package/src/views/udev/dict/childView.vue +222 -0
  307. package/src/views/udev/lov/childView.vue +180 -0
  308. package/src/views/udev/lov/lov-view.vue +91 -0
  309. package/src/views/ufile/aggregation/File.vue +87 -0
  310. package/src/views/ufile/file/water-mark.vue +103 -0
  311. package/src/views/uhome/components/menu-favorite.vue +331 -0
  312. package/src/views/uhome/su-welcome.vue +339 -0
  313. package/src/views/ulogin/login.vue +316 -0
  314. package/src/views/umsg/monitor/msg-monitor.vue +36 -0
  315. package/src/views/umsg/msg/TemplateContent.vue +103 -0
  316. package/src/views/umsg/msg/msg-template.vue +66 -0
  317. package/src/views/umsg/send/childView.vue +142 -0
  318. package/src/views/umsg/send/msg-send.vue +95 -0
  319. package/src/views/upms/interface/log-in.vue +106 -0
  320. package/src/views/upms/interface/log-out.vue +107 -0
  321. package/src/views/upms/user/login-log.vue +60 -0
  322. package/src/views/urpt/dataSet/DataSet.vue +139 -0
  323. package/src/views/urpt/design/DesignPanel.vue +526 -0
  324. package/src/views/urpt/design/Preview.vue +65 -0
  325. package/src/views/urpt/design/ReportDesign.vue +249 -0
  326. package/src/views/urpt/design/bg.png +0 -0
  327. package/src/views/urpt/design/panel.ts +841 -0
  328. package/src/views/urpt/design/print-data.ts +59 -0
  329. package/src/views/urpt/query/ReportQuery.vue +122 -0
  330. package/src/views/urpt/query/ReportQueryFrom.vue +252 -0
  331. package/src/views/urpt/report-request/ReportDefine.vue +10 -0
  332. package/src/views/urpt/static-resource/resource.vue +116 -0
  333. package/src/views/urpt/template/ReportTemplate.vue +198 -0
  334. package/tsconfig.json +30 -0
  335. package/types/env.d.ts +1 -0
  336. package/types/global-components.d.ts +12 -0
  337. package/types/global.d.ts +236 -0
  338. package/types/image.d.ts +7 -0
  339. package/types/index.d.ts +73 -0
  340. package/types/router.d.ts +107 -0
  341. package/types/shims-tsx.d.ts +22 -0
  342. package/types/shims-vue.d.ts +20 -0
  343. package/vite.config.ts +73 -0
@@ -0,0 +1,15 @@
1
+ import { defineComponent as a, unref as s, createElementBlock as p, openBlock as u } from "vue";
2
+ import { c as _ } from "./index-BKIw8tSn.js";
3
+ const m = { name: "Redirect" }, y = /* @__PURE__ */ a({
4
+ ...m,
5
+ setup(i) {
6
+ const { currentRoute: t, replace: r } = _(), { params: o, query: n } = s(t), { path: e } = o, c = Array.isArray(e) ? e.join("/") : e;
7
+ return r({
8
+ path: "/" + c,
9
+ query: n
10
+ }), (f, l) => (u(), p("div"));
11
+ }
12
+ });
13
+ export {
14
+ y as default
15
+ };
@@ -0,0 +1,97 @@
1
+ import { defineComponent as w, ref as o, resolveComponent as l, createElementBlock as k, openBlock as u, createVNode as r, createBlock as b, createCommentVNode as x, Fragment as B } from "vue";
2
+ import { successMessage as U } from "@utogether/utils";
3
+ import { useClipboard as N } from "@vueuse/core";
4
+ import { B as y } from "./index-BKIw8tSn.js";
5
+ const q = {
6
+ name: "StaticResource"
7
+ }, V = /* @__PURE__ */ w({
8
+ ...q,
9
+ setup(F) {
10
+ const {
11
+ copy: m
12
+ } = N(), n = "/upms/v1/pdfTemplate", s = o(null), a = o({}), d = y(), c = [{
13
+ type: "checkbox",
14
+ width: 40,
15
+ align: "center"
16
+ }, {
17
+ field: "templateCode",
18
+ title: "message.file.resourceCode",
19
+ width: 140
20
+ }, {
21
+ field: "templateName",
22
+ title: "message.file.resourceName",
23
+ width: 150
24
+ }, {
25
+ field: "templateUrl",
26
+ title: "message.file.resourceUrl",
27
+ miWidth: 200
28
+ }, {
29
+ field: "operate",
30
+ width: 180,
31
+ fixed: "right",
32
+ slots: {
33
+ default: ({
34
+ row: e
35
+ }) => [r(B, null, [r(l("ut-button"), {
36
+ content: "download",
37
+ icon: "ri-download-line",
38
+ status: "success",
39
+ onTap: () => g(e)
40
+ }, null)])]
41
+ }
42
+ }], f = {
43
+ toolbarButtonClick({
44
+ code: e
45
+ }) {
46
+ e === "add" && _();
47
+ }
48
+ }, p = [{
49
+ field: "templateCode",
50
+ required: !0
51
+ }, {
52
+ field: "templateName",
53
+ required: !0
54
+ }, {
55
+ field: "templateUrl",
56
+ required: !0,
57
+ itemRender: {
58
+ name: "#upload",
59
+ props: {
60
+ baseUrl: d
61
+ }
62
+ }
63
+ }], t = o(!1), _ = (e) => {
64
+ a.value = {}, t.value = !0;
65
+ }, g = (e) => {
66
+ m(d + "/ufil/" + e.templateUrl), U("复制成功,快试试右键粘贴吧");
67
+ }, h = () => {
68
+ s.value.refreshData();
69
+ };
70
+ return (e, i) => {
71
+ const v = l("ut-grid"), C = l("ut-modal-form");
72
+ return u(), k("div", null, [r(v, {
73
+ ref_key: "xgrid",
74
+ ref: s,
75
+ columns: c,
76
+ url: n,
77
+ editable: !1,
78
+ mode: "form",
79
+ events: f
80
+ }, null, 512), t.value ? (u(), b(C, {
81
+ key: 0,
82
+ record: a.value,
83
+ items: p,
84
+ width: 300,
85
+ height: 340,
86
+ "data-status": "add",
87
+ title: "静态资源新增",
88
+ url: n,
89
+ onClose: i[0] || (i[0] = (R) => t.value = !1),
90
+ onConfirm: h
91
+ }, null, 8, ["record"])) : x("", !0)]);
92
+ };
93
+ }
94
+ });
95
+ export {
96
+ V as default
97
+ };
@@ -0,0 +1,526 @@
1
+ import { defineComponent as J, ref as y, onMounted as K, resolveComponent as _, createBlock as N, openBlock as a, withCtx as c, createElementVNode as e, createVNode as i, createCommentVNode as O, unref as B, normalizeStyle as Q, toDisplayString as f, createElementBlock as p, Fragment as k, renderList as C, nextTick as X, computed as Z, resolveDirective as ee, createTextVNode as Y, withDirectives as te, normalizeClass as se } from "vue";
2
+ import { w as G, i as oe, c as ne, p as le, _ as ae } from "./index-BKIw8tSn.js";
3
+ import ce from "dayjs";
4
+ import { dbstorage as ie, delay as re, warnMessage as ue, successMessage as de, lunarCalendar as me, cookies as fe } from "@utogether/utils";
5
+ import { clone as _e, max as ve } from "xe-utils";
6
+ import pe from "vuedraggable";
7
+ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye = { class: "h-24 w-24 flex justify-center items-center flex-col relative drag-item ut-menu-top-item" }, be = { class: "w-[90%] text-xs mt-2 text-ellipsis overflow-hidden whitespace-nowrap text-center" }, we = ["onClick"], ke = { class: "p-3" }, Ce = { class: "flex items-center" }, Ne = { class: "ml-1 font-bold text-base" }, $e = { class: "pl-3 py-2" }, Ie = { class: "flex items-center" }, Ve = { class: "ml-1 font-bold text-sm" }, Me = { class: "pl-3 py-2" }, Se = { class: "flex items-center" }, Ue = { class: "ml-1 font-bold text-sm" }, je = { class: "py-2" }, De = { class: "flex justify-end" }, Ee = "/upms/v1/menuFavority", Le = /* @__PURE__ */ J({
8
+ __name: "menu-favorite",
9
+ props: {
10
+ dataSource: { default: () => [] },
11
+ icons: { default: () => [] },
12
+ userName: { default: "" }
13
+ },
14
+ emits: ["close", "success"],
15
+ setup(P, { emit: h }) {
16
+ const j = P, r = y([]), $ = y([]), b = y(!1), I = y(!1), u = y({}), L = async () => {
17
+ $.value = await ie.getItem(`U-${j.userName}-ROUTES`), $.value = $.value.filter((o) => o.menuCode !== "SysHome"), await re(64), A();
18
+ }, R = (o, s) => {
19
+ var n;
20
+ r.value.splice(s, 1);
21
+ const t = (n = u.value[o.parentId]) == null ? void 0 : n.findIndex((v) => v === o.menuId);
22
+ u.value[o.parentId].splice(t, 1);
23
+ }, V = (o) => {
24
+ const s = [], t = [];
25
+ return o.children.forEach((n) => {
26
+ ["5", "100"].includes(n.menuCategory) ? s.push(n) : t.push(n);
27
+ }), { folder: s, menus: t };
28
+ }, A = () => {
29
+ j.dataSource.forEach((o) => {
30
+ u.value[o.parentId] ? u.value[o.parentId].push(o.menuId) : u.value[o.parentId] = [o.menuId];
31
+ });
32
+ }, D = (o, s) => {
33
+ debugger;
34
+ if (s.checked) {
35
+ if (r.value.length === 16)
36
+ return X(() => {
37
+ u.value[o.id].splice(u.value[o.id].length - 1, 1);
38
+ }), ue("最多只能选择16个常用功能");
39
+ const t = o.children.find((n) => n.id === s.label);
40
+ t && (t.seqNo = H() + 10, t.menuId = t.id, r.value.push(t));
41
+ } else {
42
+ let t = r.value.findIndex((n) => n.menuId === s.label);
43
+ t !== -1 && r.value.splice(t, 1), t = u.value[o.id].findIndex((n) => n === s.label), t !== -1 && u.value[o.id].splice(t, 1);
44
+ }
45
+ }, F = () => {
46
+ r.value.forEach((o, s) => {
47
+ o.seqNo = (s + 1) * 10;
48
+ });
49
+ }, H = () => {
50
+ var o;
51
+ return ((o = ve(r.value, (s) => s.seqNo)) == null ? void 0 : o.seqNo) || 0;
52
+ }, T = () => {
53
+ console.log(r);
54
+ const o = r.value.map((s) => ({
55
+ userName: j.userName,
56
+ menuId: s.menuId,
57
+ seqNo: s.seqNo
58
+ }));
59
+ console.log(o), I.value = !0, G().post(Ee, o).then(() => {
60
+ de(), E(), z("success");
61
+ }).finally(() => {
62
+ I.value = !1;
63
+ });
64
+ }, E = () => {
65
+ b.value = !1, z("close");
66
+ }, q = (o) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][o % 5], z = h;
67
+ return K(() => {
68
+ r.value = _e(j.dataSource, !0), b.value = !0, L();
69
+ }), (o, s) => {
70
+ const t = _("el-empty"), n = _("iconify-icon-offline"), v = _("el-scrollbar"), M = _("vxe-checkbox"), S = _("vxe-checkbox-group"), w = _("ut-button"), U = _("vxe-modal");
71
+ return a(), N(U, {
72
+ modelValue: b.value,
73
+ "onUpdate:modelValue": s[0] || (s[0] = (m) => b.value = m),
74
+ loading: I.value,
75
+ width: "75%",
76
+ height: "80%",
77
+ title: "常用菜单设置(拖动可改变菜单顺序)",
78
+ "class-name": "u-favorite-modal",
79
+ "show-footer": "",
80
+ onClose: E
81
+ }, {
82
+ default: c(() => [
83
+ e("div", ge, [
84
+ i(v, {
85
+ heigth: "100",
86
+ class: "w-full border-b border-slate-300"
87
+ }, {
88
+ default: c(() => [
89
+ e("div", he, [
90
+ r.value.length ? O("", !0) : (a(), N(t, {
91
+ key: 0,
92
+ "image-size": 50,
93
+ description: "",
94
+ class: "p-0"
95
+ })),
96
+ i(B(pe), {
97
+ list: r.value,
98
+ handle: ".drag-item",
99
+ animation: "300",
100
+ "item-key": "id",
101
+ class: "flex",
102
+ onEnd: F
103
+ }, {
104
+ item: c(({ element: m, index: l }) => [
105
+ e("div", xe, [
106
+ e("div", ye, [
107
+ e("div", {
108
+ class: "rounded-full w-10 h-10 flex items-center justify-center",
109
+ style: Q({ backgroundColor: q(l) })
110
+ }, [
111
+ i(n, {
112
+ icon: m.icon || `ri:${o.icons[l]}-line`,
113
+ class: "text-2xl text-white"
114
+ }, null, 8, ["icon"])
115
+ ], 4),
116
+ e("span", be, f(m.menuName), 1),
117
+ e("i", {
118
+ class: "ri-indeterminate-circle-line right-3 top-2 text-base hidden ut-menu-del",
119
+ onClick: (d) => R(m, l)
120
+ }, null, 8, we)
121
+ ])
122
+ ])
123
+ ]),
124
+ _: 1
125
+ }, 8, ["list"])
126
+ ])
127
+ ]),
128
+ _: 1
129
+ }),
130
+ i(v, { class: "u-favorite-menu--contain" }, {
131
+ default: c(() => [
132
+ e("div", ke, [
133
+ (a(!0), p(k, null, C($.value, (m) => (a(), p("div", {
134
+ key: m.id,
135
+ class: "grandparent-node"
136
+ }, [
137
+ e("div", Ce, [
138
+ s[1] || (s[1] = e("div", { class: "w-2 h-4 bg-green-400" }, null, -1)),
139
+ e("div", Ne, f(m.menuName), 1)
140
+ ]),
141
+ e("div", $e, [
142
+ i(S, {
143
+ modelValue: u.value[m.id],
144
+ "onUpdate:modelValue": (l) => u.value[m.id] = l,
145
+ onChange: (l) => D(m, l)
146
+ }, {
147
+ default: c(() => [
148
+ (a(!0), p(k, null, C(V(m).menus, (l) => (a(), N(M, {
149
+ key: l.id,
150
+ label: l.id,
151
+ content: l.menuName
152
+ }, null, 8, ["label", "content"]))), 128))
153
+ ]),
154
+ _: 2
155
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
156
+ ]),
157
+ (a(!0), p(k, null, C(V(m).folder, (l) => (a(), p("div", {
158
+ key: l.id,
159
+ class: "parent-node pl-3"
160
+ }, [
161
+ e("div", Ie, [
162
+ s[2] || (s[2] = e("div", { class: "w-2 h-4 bg-blue-400" }, null, -1)),
163
+ e("div", Ve, f(l.menuName), 1)
164
+ ]),
165
+ e("div", Me, [
166
+ i(S, {
167
+ modelValue: u.value[l.id],
168
+ "onUpdate:modelValue": (d) => u.value[l.id] = d,
169
+ onChange: (d) => D(l, d)
170
+ }, {
171
+ default: c(() => [
172
+ (a(!0), p(k, null, C(V(l).menus, (d) => (a(), N(M, {
173
+ key: d.id,
174
+ label: d.id,
175
+ content: d.menuName
176
+ }, null, 8, ["label", "content"]))), 128))
177
+ ]),
178
+ _: 2
179
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
180
+ ]),
181
+ (a(!0), p(k, null, C(V(l).folder, (d) => (a(), p("div", {
182
+ key: d.id,
183
+ class: "child-node pl-3"
184
+ }, [
185
+ e("div", Se, [
186
+ s[3] || (s[3] = e("div", { class: "w-2 h-4 bg-red-400" }, null, -1)),
187
+ e("div", Ue, f(d.menuName), 1)
188
+ ]),
189
+ e("div", je, [
190
+ i(S, {
191
+ modelValue: u.value[d.id],
192
+ "onUpdate:modelValue": (x) => u.value[d.id] = x,
193
+ onChange: (x) => D(l, x)
194
+ }, {
195
+ default: c(() => [
196
+ (a(!0), p(k, null, C(V(d).menus, (x) => (a(), N(M, {
197
+ key: x.id,
198
+ label: x.id,
199
+ content: x.menuName
200
+ }, null, 8, ["label", "content"]))), 128))
201
+ ]),
202
+ _: 2
203
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
204
+ ])
205
+ ]))), 128))
206
+ ]))), 128))
207
+ ]))), 128))
208
+ ])
209
+ ]),
210
+ _: 1
211
+ })
212
+ ])
213
+ ]),
214
+ footer: c(() => [
215
+ e("div", De, [
216
+ i(w, {
217
+ content: "cancel",
218
+ status: "warning",
219
+ onTap: E
220
+ }),
221
+ i(w, {
222
+ content: "confirm",
223
+ onTap: T
224
+ })
225
+ ])
226
+ ]),
227
+ _: 1
228
+ }, 8, ["modelValue", "loading"]);
229
+ };
230
+ }
231
+ }), qe = { class: "ut-home m-3" }, ze = { class: "h-32 mb-4 p-4 flex justify-between items-center bg-white home-page" }, Re = { class: "flex flex-row items-center flex-[2]" }, Ae = { class: "ml-4 text-xs flex-[2]" }, Fe = { class: "flex justify-center items-center" }, He = { class: "py-2 text-gray-500 flex" }, Te = { class: "w-2/3" }, Oe = { class: "text-gray-500 flex" }, Be = { class: "w-2/3" }, Ge = { class: "flex flex-col" }, Pe = { class: "text-4xl" }, We = { class: "mt-1 ml-3" }, Ye = { class: "default:bg-white dark:bg-black" }, Je = ["onClick"], Ke = { class: "h-20 flex justify-center items-center flex-col" }, Qe = { class: "text-xs mt-2" }, Xe = { class: "p-3" }, Ze = { class: "p-0 w-full h-full" }, et = { class: "flex" }, tt = { class: "ml-3" }, st = { class: "text-blue-600 mr-3" }, ot = { class: "text-gray-400 text-sm" }, nt = { class: "p-1" }, lt = /* @__PURE__ */ J({
232
+ name: "SuHome",
233
+ __name: "su-welcome",
234
+ setup(P) {
235
+ const h = oe(), j = ne(), r = y([]), $ = y([]), b = y(!1), I = y(!1), u = Z(() => {
236
+ var s;
237
+ return (s = h.getUserInfo.name) == null ? void 0 : s.slice(0, 1);
238
+ }), L = () => {
239
+ var t, n;
240
+ return h.isAdminRole ? "系统管理员" : (n = (t = h.getUserInfo) == null ? void 0 : t.sysRoles) == null ? void 0 : n.map((v) => v.roleName).join(",");
241
+ }, R = () => {
242
+ var t;
243
+ return h.isAdminRole ? "【系统管理员】拥有所有组织" : L() === "项目组管理员" ? "【项目组管理员】拥有所有组织" : (t = h.getOrglist) == null ? void 0 : t.map((n) => n.orgName).join(",");
244
+ }, V = () => {
245
+ const s = Number(ce().format("HH"));
246
+ return s < 12 ? "上午好" : s < 18 ? "下午好" : "晚上好";
247
+ }, A = () => {
248
+ const s = /* @__PURE__ */ new Date(), t = me.solar2lunar(
249
+ s.getFullYear(),
250
+ s.getMonth() + 1,
251
+ s.getDate()
252
+ ), { gzYear: n, IMonthCn: v, IDayCn: M, cMonth: S, cDay: w, ncWeek: U } = t;
253
+ return `${S}月${w}日 ${n}${v}${M} ${U}`;
254
+ }, D = () => {
255
+ const s = "/upms/v1/menuFavority";
256
+ I.value = !0;
257
+ const t = { pageSize: 20, pageNum: 1, userName: fe.get(le) };
258
+ G().get(s, t).then((n) => {
259
+ r.value = (n == null ? void 0 : n.list) || [];
260
+ }).finally(() => {
261
+ I.value = !1;
262
+ });
263
+ }, F = (s) => {
264
+ j.push(s.menuPath);
265
+ }, H = () => {
266
+ var n;
267
+ const s = "/upms/v1/userMonitor", t = { pageSize: 8, pageNum: 1, employeeName: (n = h.getUserInfo) == null ? void 0 : n.name };
268
+ G().get(s, t).then((v) => {
269
+ $.value = (v == null ? void 0 : v.list) || [];
270
+ });
271
+ }, T = () => {
272
+ b.value = !0;
273
+ };
274
+ K(() => {
275
+ D(), H();
276
+ });
277
+ const E = (s) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][s % 5], q = [
278
+ "community",
279
+ "shield-star",
280
+ "group",
281
+ "settings",
282
+ "star",
283
+ "train",
284
+ "send-plane",
285
+ "rocket",
286
+ "device",
287
+ "compass",
288
+ "map-pin",
289
+ "keynote",
290
+ "article",
291
+ "tv",
292
+ "database-2",
293
+ "calendar"
294
+ ], z = [
295
+ {
296
+ 2023: { 12: { 30: "班", 31: "班" } }
297
+ },
298
+ {
299
+ 2024: {
300
+ 1: { 1: "假" },
301
+ 2: {
302
+ 4: "班",
303
+ 10: "假",
304
+ 11: "假",
305
+ 12: "假",
306
+ 13: "假",
307
+ 14: "假",
308
+ 15: "假",
309
+ 16: "假",
310
+ 17: "假",
311
+ 18: "班"
312
+ },
313
+ 4: { 4: "假", 5: "假", 6: "假", 7: "班", 28: "班" },
314
+ 5: { 1: "假", 2: "假", 3: "假", 4: "假", 5: "假", 11: "班" },
315
+ 6: { 8: "假", 9: "假", 10: "假" },
316
+ 9: { 15: "假", 16: "假", 17: "假", 14: "班", 29: "班" },
317
+ 10: { 1: "假", 2: "假", 3: "假", 4: "假", 5: "假", 6: "假", 7: "假", 12: "班" }
318
+ }
319
+ }
320
+ ], o = [
321
+ { name: "元旦", date: "2024-01-01" },
322
+ { name: "春节", date: "2024-02-10" },
323
+ { name: "清明节", date: "2024-04-04" },
324
+ { name: "劳动节", date: "2024-05-01" },
325
+ { name: "端午节", date: "2024-06-10" },
326
+ { name: "中秋节", date: "2024-09-17" },
327
+ { name: "国庆节", date: "2024-10-01" }
328
+ ];
329
+ return (s, t) => {
330
+ var x;
331
+ const n = _("el-avatar"), v = _("ut-countdown"), M = _("el-empty"), S = _("iconify-icon-offline"), w = _("el-card"), U = _("el-col"), m = _("ut-calendar"), l = _("el-row"), d = ee("spinning");
332
+ return a(), p("div", qe, [
333
+ e("div", ze, [
334
+ e("div", Re, [
335
+ e("div", null, [
336
+ i(n, {
337
+ size: "large",
338
+ class: "text-4xl font-bold bg-[var(--el-color-primary)]"
339
+ }, {
340
+ default: c(() => [
341
+ Y(f(u.value), 1)
342
+ ]),
343
+ _: 1
344
+ })
345
+ ]),
346
+ e("div", Ae, [
347
+ e("div", Fe, [
348
+ e("span", null, f(V()) + ", " + f(((x = B(h).getUserInfo) == null ? void 0 : x.name) || "") + ",欢迎回来! ", 1),
349
+ t[1] || (t[1] = e("div", {
350
+ class: "flex flex-[2] justify-center items-center font-bold",
351
+ style: { color: "var(--el-color-primary)" }
352
+ }, " 星光不问赶路人,岁月不负有心人,以梦为马,不负韶华! ", -1))
353
+ ]),
354
+ e("div", He, [
355
+ t[2] || (t[2] = e("span", { class: "inline-block" }, " 所属角色: ", -1)),
356
+ e("div", Te, f(L()), 1)
357
+ ]),
358
+ e("div", Oe, [
359
+ t[3] || (t[3] = e("span", { class: "inline-block" }, " 所属组织: ", -1)),
360
+ e("div", Be, f(R()), 1)
361
+ ])
362
+ ])
363
+ ]),
364
+ e("div", Ge, [
365
+ e("span", Pe, [
366
+ i(v, {
367
+ "show-days": !1,
368
+ "show-labels": !1
369
+ })
370
+ ]),
371
+ e("div", We, f(A()), 1)
372
+ ])
373
+ ]),
374
+ i(l, {
375
+ class: "m-2",
376
+ gutter: 10
377
+ }, {
378
+ default: c(() => [
379
+ te((a(), N(U, {
380
+ lg: 24,
381
+ md: 24,
382
+ class: ""
383
+ }, {
384
+ default: c(() => [
385
+ i(w, { class: "mb-2" }, {
386
+ header: c(() => [
387
+ e("div", { class: "flex items-center justify-between dark:bg-black" }, [
388
+ t[5] || (t[5] = e("span", { class: "font-bold" }, "常用菜单", -1)),
389
+ e("span", {
390
+ class: "text-xs text-gray-400 cursor-pointer",
391
+ onClick: T
392
+ }, t[4] || (t[4] = [
393
+ e("span", null, "更多", -1),
394
+ e("i", { class: "vxe-icon-arrow-right" }, null, -1)
395
+ ]))
396
+ ])
397
+ ]),
398
+ default: c(() => [
399
+ e("div", Ye, [
400
+ r.value.length ? O("", !0) : (a(), N(M, {
401
+ key: 0,
402
+ "image-size": 100,
403
+ description: "快来添加常用菜单吧!",
404
+ class: "p-0 pb-3"
405
+ })),
406
+ e("ul", {
407
+ class: se(["p-0 w-full h-full grid grid-rows-1 grid-cols-8 u-dashed-menu", { "grid-rows-2": r.value.length > 8 }])
408
+ }, [
409
+ (a(!0), p(k, null, C(r.value, (g, W) => (a(), p("li", {
410
+ key: g.id,
411
+ class: "text-center list-none bg-white",
412
+ onClick: (at) => F(g)
413
+ }, [
414
+ e("div", Ke, [
415
+ e("div", {
416
+ class: "rounded-full w-10 h-10 flex items-center justify-center",
417
+ style: Q({ backgroundColor: E(W) })
418
+ }, [
419
+ i(S, {
420
+ icon: g.icon || `ri:${q[W]}-line`,
421
+ class: "text-2xl text-white"
422
+ }, null, 8, ["icon"])
423
+ ], 4),
424
+ e("span", Qe, f(g.menuName), 1)
425
+ ])
426
+ ], 8, Je))), 128))
427
+ ], 2)
428
+ ]),
429
+ t[6] || (t[6] = e("div", null, null, -1))
430
+ ]),
431
+ _: 1
432
+ })
433
+ ]),
434
+ _: 1
435
+ })), [
436
+ [d, I.value]
437
+ ]),
438
+ i(U, {
439
+ xl: 16,
440
+ lg: 12,
441
+ md: 24
442
+ }, {
443
+ default: c(() => [
444
+ i(w, { class: "mb-2" }, {
445
+ header: c(() => t[7] || (t[7] = [
446
+ e("div", { class: "font-bold" }, [
447
+ e("span", null, "个人动态")
448
+ ], -1)
449
+ ])),
450
+ default: c(() => [
451
+ e("div", Xe, [
452
+ e("ul", Ze, [
453
+ (a(!0), p(k, null, C($.value, (g) => (a(), p("li", {
454
+ key: g.id,
455
+ class: "w-full list-none p-2 border-b border-gray-200"
456
+ }, [
457
+ e("div", et, [
458
+ e("div", null, [
459
+ i(n, { class: "text-base" }, {
460
+ default: c(() => [
461
+ Y(f(u.value), 1)
462
+ ]),
463
+ _: 1
464
+ })
465
+ ]),
466
+ e("div", tt, [
467
+ e("div", null, [
468
+ e("span", st, f(g.browser), 1),
469
+ e("span", null, f(g.browserVersion || g.platformVersion), 1)
470
+ ]),
471
+ e("div", ot, f(g.loginTime), 1)
472
+ ])
473
+ ])
474
+ ]))), 128))
475
+ ])
476
+ ])
477
+ ]),
478
+ _: 1
479
+ })
480
+ ]),
481
+ _: 1
482
+ }),
483
+ i(U, {
484
+ xl: 8,
485
+ lg: 12,
486
+ md: 24,
487
+ class: ""
488
+ }, {
489
+ default: c(() => [
490
+ i(w, { class: "mb-2" }, {
491
+ header: c(() => t[8] || (t[8] = [
492
+ e("div", { class: "font-bold" }, [
493
+ e("span", null, "日历")
494
+ ], -1)
495
+ ])),
496
+ default: c(() => [
497
+ e("div", nt, [
498
+ i(m, {
499
+ holidays: z,
500
+ "statutory-holiday": o
501
+ })
502
+ ])
503
+ ]),
504
+ _: 1
505
+ })
506
+ ]),
507
+ _: 1
508
+ })
509
+ ]),
510
+ _: 1
511
+ }),
512
+ b.value ? (a(), N(Le, {
513
+ key: 0,
514
+ "data-source": r.value,
515
+ "user-name": B(h).getUserInfo.userName,
516
+ icons: q,
517
+ onClose: t[0] || (t[0] = (g) => b.value = !1),
518
+ onSuccess: D
519
+ }, null, 8, ["data-source", "user-name"])) : O("", !0)
520
+ ]);
521
+ };
522
+ }
523
+ }), ft = /* @__PURE__ */ ae(lt, [["__scopeId", "data-v-6a2c1a83"]]);
524
+ export {
525
+ ft as default
526
+ };