@utogether/udp-core 2.0.0-beta.4 → 2.0.0-beta.6

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 (207) hide show
  1. package/dist/{403-CekcmGOc.js → 403-FwkedC35.js} +1 -1
  2. package/dist/{404-DeSH9KnK.js → 404-fBOEoTA_.js} +1 -1
  3. package/dist/{500-DHOHlmtv.js → 500-iyNwORJV.js} +1 -1
  4. package/dist/{AuthorityInfo-BC8U3Zk4.js → AuthorityInfo-BTGUSDZ4.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DVFi0qOJ.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DSxmqRu8.js} +1 -1
  6. package/dist/{Company-Byq4p14C.js → Company-ueSjOTse.js} +3 -3
  7. package/dist/{CompanyPanel-CIHP7rVd.js → CompanyPanel-CAhzxgMa.js} +7 -7
  8. package/dist/{Department-CxgSq34X.js → Department-fGiF2ia2.js} +3 -3
  9. package/dist/{DepartmentPanel-hYNqywSQ.js → DepartmentPanel-DW7RJCcR.js} +20 -20
  10. package/dist/{DesignPanel-GEhqXIAx.js → DesignPanel-CAQBm4D4.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DxA6H5Ts.js → DesignPanel.vue_vue_type_style_index_0_lang-5LGPeXPl.js} +2 -2
  12. package/dist/{DictView-tyGrHFO8.js → DictView-CvJgPLm3.js} +10 -10
  13. package/dist/{InvOrganization-DjJ4XkxN.js → InvOrganization-qlTFGd3Z.js} +1 -1
  14. package/dist/{Org-3eHX7nBU.js → Org-XLreDKod.js} +1 -1
  15. package/dist/{Preview-Cgc3O8vp.js → Preview-CPbzW7CO.js} +1 -1
  16. package/dist/{ReportDefine-FYxHLbPV.js → ReportDefine-Cb8Kr-eh.js} +1 -1
  17. package/dist/{ReportDesign-BTOVgMzz.js → ReportDesign-C7NEHxsF.js} +6 -6
  18. package/dist/{ReportQuery-Dhy9sk04.js → ReportQuery-DRHAlGXP.js} +1 -1
  19. package/dist/{ReportQueryFrom-B1TE8lOG.js → ReportQueryFrom-BVzD7HiO.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-D93NL2N7.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-B_lbUpW7.js} +7 -7
  21. package/dist/{ReportTemplate-C-EuU7mL.js → ReportTemplate-jvKZTiwg.js} +8 -8
  22. package/dist/{Role-Dc1dZ0o9.js → Role-BHHb-iLB.js} +3 -3
  23. package/dist/{RoleAssign-DDv65izq.js → RoleAssign-BTBTh4BY.js} +3 -3
  24. package/dist/{RolePanel-CiDM8OSr.js → RolePanel-BCi1rex2.js} +1 -1
  25. package/dist/{RolePanel-Dw_pTEGV.js → RolePanel-aV6bg80k.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CG_KY7NS.js → RolePanel.vue_vue_type_script_setup_true_lang-BhFR-z17.js} +7 -7
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Ctq1lItN.js → RolePanel.vue_vue_type_script_setup_true_lang-C2b-FgFi.js} +7 -7
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CyU7XjI3.js → ScrollPanel.vue_vue_type_style_index_0_lang-BvNAonbh.js} +1 -1
  29. package/dist/{Staff-DMh451jL.js → Staff-CQqKHfmG.js} +3 -3
  30. package/dist/{StaffInfo-2PhYcVaz.js → StaffInfo-DBgWZZxQ.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CrCFms3g.js → StaffInfo.vue_vue_type_script_setup_true_lang-DZSUQTor.js} +1 -1
  32. package/dist/{StaffPanel-BrvkXT68.js → StaffPanel-qhtv83q9.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DKr8VVOJ.js → StaffPanel.vue_vue_type_script_setup_true_lang-B3j8x4MN.js} +8 -8
  34. package/dist/{SysUser-DLDd5do7.js → SysUser-D-7c33EB.js} +2 -2
  35. package/dist/{SysUserPanel-DDQxi2Hk.js → SysUserPanel-t1ZR91oy.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DvOggZs6.js → SysUserPanel.vue_vue_type_script_setup_true_lang-Bz2s1QPZ.js} +1 -1
  37. package/dist/{SystemMenu-nFNfz4Nj.js → SystemMenu-DNffJRQo.js} +6 -6
  38. package/dist/{UserInfo-B9PLKur5.js → UserInfo-niYGSHmG.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BwZNwtQH.js → UserInfo.vue_vue_type_style_index_0_lang-B8CRjdQG.js} +1 -1
  40. package/dist/{childView-BEDVB_RG.js → childView-Dn28g10M.js} +1 -1
  41. package/dist/{childView-BRa268Qh.js → childView-E2EnbUz2.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-BcyosNSH.js → childView.vue_vue_type_style_index_0_lang-DFs-YATK.js} +30 -27
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-qsceJGeR.js → childView.vue_vue_type_style_index_0_lang-UzBSJ6wt.js} +7 -7
  44. package/dist/{code-rule-CJ4FuOo1.js → code-rule-D-RJozWD.js} +1 -1
  45. package/dist/core.es.js +10 -10
  46. package/dist/{cron-task-CXnv7hIa.js → cron-task-CPuU0Rc2.js} +1 -1
  47. package/dist/{frameView-g5e9PYdE.js → frameView-c4xFtvR6.js} +1 -1
  48. package/dist/{index-BEAth5RR.js → index-CPKIQXdI.js} +1224 -1215
  49. package/dist/{layout-home-bl3JShSF.js → layout-home-DrimiAWf.js} +1 -1
  50. package/dist/{layoutView-DmM9xk-X.js → layoutView-DPaKZNx5.js} +1 -1
  51. package/dist/{log-in-eGoxFTDE.js → log-in-BQiOfnXg.js} +8 -8
  52. package/dist/{log-out-CthD_tSk.js → log-out-BvlexfR3.js} +3 -3
  53. package/dist/{login-Dn7iO3SU.js → login-0R1puBOn.js} +15 -15
  54. package/dist/{login-log-DJBGJVV0.js → login-log-BEHYT0v0.js} +5 -5
  55. package/dist/{lov-view-Bt23RK6S.js → lov-view-DieM-cvR.js} +6 -6
  56. package/dist/{menuInfo-BEmcSaIX.js → menuInfo-Db7s_jX8.js} +1 -1
  57. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CVuG-x2a.js → menuInfo.vue_vue_type_style_index_0_lang-QbKkjhUR.js} +1 -1
  58. package/dist/{pda-app-BKfXoKAs.js → pda-app-CCtwSfLe.js} +8 -8
  59. package/dist/{resource-CshrvEYp.js → resource-rliX23RM.js} +4 -4
  60. package/dist/{su-welcome-CYYy-dzr-D3RKPoB0-DhP783YJ.js → su-welcome-MLhkyOoQ.js} +20571 -20479
  61. package/dist/{sys-config-Jqj3l7NK.js → sys-config-Ci6UV7lE.js} +12 -12
  62. package/dist/udp-core.css +1 -1
  63. package/package.json +1 -1
  64. package/src/components/udp/form-upload/form-upload.vue +496 -492
  65. package/src/components/udp/utils.ts +414 -408
  66. package/src/plugins/i18n/zh.ts +1 -0
  67. package/src/plugins/vxe-table/index.ts +116 -116
  68. package/src/plugins/vxe-table/render.tsx +995 -968
  69. package/src/views/udev/dict/DictView.vue +118 -118
  70. package/src/views/udev/dict/childView.vue +185 -184
  71. package/src/views/ufile/aggregation/File.vue +87 -87
  72. package/src/views/uhome/components/home-todo.vue +11 -7
  73. package/src/views/uhome/su-welcome.vue +1 -3
  74. package/src/views/upms/user/login-log.vue +2 -2
  75. package/vite.config.ts +83 -84
  76. package/dist/403-CxOqlq0f-C28ufSE6.js +0 -65
  77. package/dist/403-WCboRvzZ-ZAPgYStl-Ck7rlpC9.js +0 -65
  78. package/dist/404-2V0Qi-d7-DkNwQggp-3kilva5o.js +0 -65
  79. package/dist/404-xdB6lFeQ-DRhUFuKU.js +0 -65
  80. package/dist/500-BYfzvixf-CGpEieyQ-DLrc9brB.js +0 -67
  81. package/dist/500-C94bRK2S-_XtNljMI.js +0 -67
  82. package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5-ChKFxbGl.js +0 -4
  83. package/dist/AuthorityInfo-Dy3b_nFN-BBC0HKlV.js +0 -4
  84. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY-BgLN7Lgx.js +0 -100
  85. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz-B8tPqh_7.js +0 -100
  86. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE-DAeYw45g.js +0 -4
  87. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +0 -4
  88. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8-C6jMEDJq.js +0 -114
  89. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +0 -114
  90. package/dist/Company-B4vsXy2I-CkNCOqjJ-PjoD0ztY.js +0 -25
  91. package/dist/Company-gKkfnhLt-BReGxz7n.js +0 -25
  92. package/dist/CompanyPanel-BF5Pc35s-CtpymP6a.js +0 -206
  93. package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_-mYpxegRQ.js +0 -206
  94. package/dist/DataSet-DT-rGICv-DaUfgbxk-YztlXv7w.js +0 -147
  95. package/dist/DataSet-DT-rGICv-DaUfgbxk.js +0 -147
  96. package/dist/Department-D0I3QVZe-CfWPT-lY.js +0 -25
  97. package/dist/Department-D0dVUrGC-C6HJcYI1-DhAtBQym.js +0 -25
  98. package/dist/DepartmentPanel-2LHODgc7--VCCaEsu.js +0 -254
  99. package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd-V3QvVWmJ.js +0 -254
  100. package/dist/DesignPanel-CtF3cAAQ-FM7zpexb.js +0 -4
  101. package/dist/DesignPanel-DdFl_ohi-uCwFxcl1-7p3ouXrw.js +0 -4
  102. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY-CoM_RAUN.js +0 -1013
  103. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt-CcCVpy0f.js +0 -1013
  104. package/dist/DictView-BzQLOf_P-DDicwdmM-B8CFC279.js +0 -111
  105. package/dist/DictView-H3V5hxg3-BQZWN2zT.js +0 -111
  106. package/dist/InvOrganization-BiGLnbqe-BK3vgYYR.js +0 -74
  107. package/dist/InvOrganization-atbhw0CI-BABbVt9V-BT8PkfWL.js +0 -74
  108. package/dist/Org-BW1YHG-Q-Cow7JWlD-C7ygI7jx.js +0 -39
  109. package/dist/Org-DQTCQHNY-CEEpGGlZ.js +0 -39
  110. package/dist/Preview-DJtVsoq1-CCGidQjJ-DQ_OC1-S.js +0 -48
  111. package/dist/Preview-DXaiis29-BYyNhC1p.js +0 -48
  112. package/dist/ReportDefine-BLh4CiER-D68a0DWB.js +0 -10
  113. package/dist/ReportDefine-CNx_ob99-6NQAHK-Q-BL5gB56o.js +0 -10
  114. package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp-DTsrU_wq.js +0 -165
  115. package/dist/ReportDesign-Ni1YxrLC-DfziOJc3.js +0 -165
  116. package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda-c9iy6TZ_.js +0 -75
  117. package/dist/ReportQuery-C8G88_qF-BKknwX1u.js +0 -75
  118. package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy-Cq4havLh.js +0 -4
  119. package/dist/ReportQueryFrom-CuZKPtB4-B_TaZr-N.js +0 -4
  120. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW-CdTqG6KF.js +0 -178
  121. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl-kdXwDD3n.js +0 -178
  122. package/dist/ReportTemplate-BDANdIWv-D_IGjR1w-txJDRw_J.js +0 -161
  123. package/dist/ReportTemplate-DFnDXWmx-QQkaZRvV.js +0 -161
  124. package/dist/Role-BQ7hsfPn-BLwTiMMj.js +0 -25
  125. package/dist/Role-ByB0WbxW-5E8Mb148-WoZV4JKV.js +0 -25
  126. package/dist/RoleAssign-DW6iC_0v-Bis61auk-BB4DziuB.js +0 -26
  127. package/dist/RoleAssign-UPCg2d4G-g4V-duK9.js +0 -26
  128. package/dist/RolePanel-BM2MaQPU-CgcsbfaX-D28vR3Fh.js +0 -4
  129. package/dist/RolePanel-C-mQ5XRq-JQYWITkX.js +0 -4
  130. package/dist/RolePanel-ClQy8DBL-DARL4O-o-DrElGZ66.js +0 -4
  131. package/dist/RolePanel-CoSXOCZN-BdCEhz3b.js +0 -4
  132. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI-Bsk0Mun8.js +0 -132
  133. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF-CMTLt3Lp.js +0 -154
  134. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8-DPs8J-8D.js +0 -132
  135. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy-vZfwM6bG.js +0 -154
  136. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3-CTeY23xN.js +0 -100
  137. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk-D-4pB58A.js +0 -100
  138. package/dist/Staff-CuxzvhD9-D0KTcyRh-Cj8NbX79.js +0 -25
  139. package/dist/Staff-D-CmvG1R-uwSWH8-m.js +0 -25
  140. package/dist/StaffInfo-CY7gUICu-EZUhUwIp-C8POP58u.js +0 -4
  141. package/dist/StaffInfo-Idhvuc6e-COVQmEz0.js +0 -4
  142. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn-p0kltEdZ.js +0 -108
  143. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU-Cj9lcXG6.js +0 -108
  144. package/dist/StaffPanel-CDDmAYE5-mLPGD2Nf.js +0 -4
  145. package/dist/StaffPanel-CwqG0_xr-CrvzLJoc-AX54GdZ3.js +0 -4
  146. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee-RiBDcMMj.js +0 -143
  147. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0-DFG90qAT.js +0 -143
  148. package/dist/SysUser-9Q2UJWhi-DprWXFlR-DUMl4Hfm.js +0 -15
  149. package/dist/SysUser-a-j5bppr-CpP0s5DW.js +0 -15
  150. package/dist/SysUserPanel-6V232wwB-DI8apzmL.js +0 -4
  151. package/dist/SysUserPanel-bJy69O7x-BJtBgFEs-DEXctwBe.js +0 -4
  152. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy-CD9JQp9h.js +0 -356
  153. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen-BBtBr0VU.js +0 -356
  154. package/dist/SystemMenu-BnVeOSOQ-6HW3jX57.js +0 -156
  155. package/dist/SystemMenu-DGOAolc1-CJSLHP8i-DIUNb03s.js +0 -156
  156. package/dist/UserInfo-CKoOHkAM-DDWp0I_U-DEerO-y3.js +0 -4
  157. package/dist/UserInfo-Cax9b2nw-DBResyaY.js +0 -4
  158. package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO-7IKIrGoq.js +0 -160
  159. package/dist/UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9-B2nI6TLi.js +0 -160
  160. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes-CRQnmLCs.js +0 -10
  161. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +0 -10
  162. package/dist/childView-0YZQ6GBn-CEqg7k5d-CDGM_XzZ.js +0 -4
  163. package/dist/childView-DKG3eZo8-CCtKjCU7.js +0 -4
  164. package/dist/childView-DKkgi3yo-D47ft-vi-B5yI8Dk7.js +0 -4
  165. package/dist/childView-siumuBz0-CyYKsSPy.js +0 -4
  166. package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa-BnvsyZ35.js +0 -143
  167. package/dist/childView.vue_vue_type_style_index_0_lang-CUfXDS1q-DNNy6Qe3.js +0 -180
  168. package/dist/childView.vue_vue_type_style_index_0_lang-CW3EbAmW-D6Jvom5y.js +0 -143
  169. package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK-ZSgCqafc.js +0 -180
  170. package/dist/code-rule-Dtoree6F-B4yeNvFw.js +0 -148
  171. package/dist/code-rule-wQyfgpNL-C4evD4Co-BOJCC1LY.js +0 -148
  172. package/dist/cron-task-C-kryDtd-C0NuGZCe-DIJuoNx-.js +0 -135
  173. package/dist/cron-task-GSRgA7S5-D_xfN2g_.js +0 -135
  174. package/dist/flow-task-B07st2aD-CgQvagSQ-BaPlX6ds.js +0 -10
  175. package/dist/flow-task-B07st2aD-CgQvagSQ.js +0 -10
  176. package/dist/frameView-BOGA3ezf-QoSxzmSQ-BWs9F5mT.js +0 -44
  177. package/dist/frameView-Cy6wxW0K-BLdNZaGh.js +0 -44
  178. package/dist/layout-home-3Dy4onl4-COK554mq.js +0 -228
  179. package/dist/layout-home-CYHksXN_-Basy-3IH-Dnun4YUs.js +0 -228
  180. package/dist/layoutView-BaRvAbIa-xVgfqspc-zL46XaoI.js +0 -3302
  181. package/dist/layoutView-DMjNscJ--DvK2S5BQ.js +0 -3302
  182. package/dist/log-in-Cx1dGik8-BVeEHeZ8-D7mV8pl4.js +0 -117
  183. package/dist/log-in-VAG6Cvcx-B6arurXx.js +0 -117
  184. package/dist/log-out-COYdxrNC-ftopGZdE-Ch_UgXZv.js +0 -130
  185. package/dist/log-out-DZGaMCjC-OztBlMPh.js +0 -130
  186. package/dist/login-CqVMdNHs-CRJ-LWAK.js +0 -241
  187. package/dist/login-Dg9ofNS8-Bocp1XMA-DY4y3cAG.js +0 -241
  188. package/dist/login-log-DJBGJVV0-AoOyj0jD-AoOyj0jD.js +0 -70
  189. package/dist/login-log-DJBGJVV0-AoOyj0jD.js +0 -70
  190. package/dist/lov-view-C0T5prk8-B2DBmn55-BvzOsVW8.js +0 -97
  191. package/dist/lov-view-Cc68_28B-y4f2SzBr.js +0 -97
  192. package/dist/menuInfo-BIrIaJlH-Bxn4KTWH.js +0 -4
  193. package/dist/menuInfo-BZJ_q7bz-Drho-_QC-BK5n3Shr.js +0 -4
  194. package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf-DEApwWGK.js +0 -363
  195. package/dist/menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X-gWYo2VJe.js +0 -363
  196. package/dist/pda-app-DnjphrRS-4tIZDsnN.js +0 -710
  197. package/dist/pda-app-m9hsppHo-B4xyja1o-9mD3zI7J.js +0 -710
  198. package/dist/redirect-BqegffKC-CBCIuqmz-46JkXpSM.js +0 -15
  199. package/dist/redirect-BqegffKC-CBCIuqmz.js +0 -15
  200. package/dist/resource-C6KEIXu--B_ddyecm-CFF-A4cr.js +0 -97
  201. package/dist/resource-DISgPDM7-C4P8jqU0.js +0 -97
  202. package/dist/su-welcome-BjbuSrBZ-DrInu823.js +0 -49339
  203. package/dist/su-welcome-t7YusM3U.js +0 -49427
  204. package/dist/sys-config-DCjJGtht-DARDjlrt-Dx8559bf.js +0 -370
  205. package/dist/sys-config-Yc9vh1t1-B3bJPd9S.js +0 -370
  206. package/dist/utogether-MlnyYtNS-CGgjFNPS-CGgjFNPS.js +0 -4
  207. package/dist/utogether-MlnyYtNS-CGgjFNPS.js +0 -4
@@ -1,1013 +0,0 @@
1
- import { defineComponent as it, ref as f, reactive as k, onMounted as ot, onBeforeUnmount as nt, resolveComponent as r, resolveDirective as at, withDirectives as pt, createElementBlock as P, openBlock as w, createVNode as l, createBlock as C, createCommentVNode as H, withCtx as i, createElementVNode as e, Fragment as rt, renderList as st, unref as dt, toDisplayString as U, withModifiers as ct, createTextVNode as D, nextTick as ht } from "vue";
2
- import { VxeUI as O } from "vxe-pc-ui";
3
- import { useGlobal as ut } from "@utogether/utils";
4
- import { r as mt } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes-CRQnmLCs.js";
5
- import { clone as ft } from "xe-utils";
6
- import { M as gt, W as yt } from "./su-welcome-BjbuSrBZ-DrInu823.js";
7
- import xt from "./Preview-DJtVsoq1-CCGidQjJ-DQ_OC1-S.js";
8
- const vt = {
9
- panels: [
10
- {
11
- index: 0,
12
- height: 148,
13
- width: 210,
14
- paperHeader: -1.5,
15
- paperFooter: 380,
16
- printElements: [
17
- {
18
- options: {
19
- left: 540,
20
- top: 10.5,
21
- height: 35,
22
- width: 33,
23
- borderColor: "#f20000",
24
- coordinateSync: !0,
25
- widthHeightSync: !0
26
- },
27
- printElementType: { title: "椭圆", type: "oval" }
28
- },
29
- {
30
- options: {
31
- left: 454.5,
32
- top: 15,
33
- height: 18,
34
- width: 74,
35
- title: "8888888",
36
- fontSize: 18,
37
- fontWeight: "600",
38
- color: "#2935e3",
39
- textAlign: "center",
40
- lineHeight: 16
41
- },
42
- printElementType: { title: "文本", type: "text" }
43
- },
44
- {
45
- options: {
46
- left: 424.5,
47
- top: 15,
48
- height: 19,
49
- width: 24,
50
- title: "NO",
51
- fontSize: 18,
52
- color: "#2935e3",
53
- textAlign: "center",
54
- lineHeight: 15
55
- },
56
- printElementType: { title: "文本", type: "text" }
57
- },
58
- {
59
- options: {
60
- left: 190.5,
61
- top: 15,
62
- height: 21,
63
- width: 226,
64
- title: "上海增值税普通发票",
65
- fontSize: 18,
66
- fontWeight: "600",
67
- letterSpacing: 2.5,
68
- color: "#cc5a5a",
69
- textAlign: "center",
70
- lineHeight: 18
71
- },
72
- printElementType: { title: "文本", type: "text" }
73
- },
74
- {
75
- options: {
76
- left: 244.5,
77
- top: 19.5,
78
- height: 51,
79
- width: 112,
80
- borderColor: "#eb1111",
81
- borderWidth: "2"
82
- },
83
- printElementType: { title: "椭圆", type: "oval" }
84
- },
85
- {
86
- options: {
87
- left: 90,
88
- top: 19.5,
89
- height: 21,
90
- width: 96,
91
- title: "8888888",
92
- fontSize: 19,
93
- letterSpacing: 1,
94
- color: "#2935e3",
95
- textAlign: "center",
96
- lineHeight: 18
97
- },
98
- printElementType: { title: "文本", type: "text" }
99
- },
100
- {
101
- options: {
102
- left: 19.5,
103
- top: 19.5,
104
- height: 61,
105
- width: 65,
106
- title: "031001800204",
107
- textType: "qrcode"
108
- },
109
- printElementType: { title: "文本", type: "text" }
110
- },
111
- {
112
- options: { left: 250.5, top: 25.5, height: 42, width: 104, borderColor: "#f00505" },
113
- printElementType: { title: "椭圆", type: "oval" }
114
- },
115
- {
116
- options: { left: 190.5, top: 45, height: 10, width: 228, borderColor: "#b5a8a8" },
117
- printElementType: { title: "横线", type: "hline" }
118
- },
119
- {
120
- options: { left: 190.5, top: 49.5, height: 10, width: 228, borderColor: "#baafaf" },
121
- printElementType: { title: "横线", type: "hline" }
122
- },
123
- {
124
- options: {
125
- left: 244.5,
126
- top: 55.5,
127
- height: 22,
128
- width: 120,
129
- title: "发票联",
130
- fontSize: 18,
131
- fontWeight: "600",
132
- letterSpacing: 8,
133
- color: "#cc5a5a",
134
- textAlign: "center",
135
- lineHeight: 18
136
- },
137
- printElementType: { title: "文本", type: "text" }
138
- },
139
- {
140
- options: {
141
- left: 510,
142
- top: 55.5,
143
- height: 13,
144
- width: 69,
145
- title: "2019年05月09日",
146
- color: "#2935e3"
147
- },
148
- printElementType: { title: "文本", type: "text" }
149
- },
150
- {
151
- options: {
152
- left: 445.5,
153
- top: 55.5,
154
- height: 15,
155
- width: 57,
156
- title: "开票日期:",
157
- color: "#cc5a5a",
158
- lineHeight: 13
159
- },
160
- printElementType: { title: "文本", type: "text" }
161
- },
162
- {
163
- options: {
164
- left: 90,
165
- top: 64.5,
166
- height: 15,
167
- width: 141,
168
- title: "校验码:123456 788942 52344",
169
- color: "#2935e3",
170
- textAlign: "center",
171
- lineHeight: 13
172
- },
173
- printElementType: { title: "文本", type: "text" }
174
- },
175
- {
176
- options: { left: 400, top: 90, height: 60, width: 10, borderColor: "#cc5a5a" },
177
- printElementType: { title: "竖线", type: "vline" }
178
- },
179
- {
180
- options: { left: 35, top: 90, height: 60, width: 10, borderColor: "#cc5a5a" },
181
- printElementType: { title: "竖线", type: "vline" }
182
- },
183
- {
184
- options: { left: 420, top: 90, height: 61, width: 10, borderColor: "#cc5a5a" },
185
- printElementType: { title: "竖线", type: "vline" }
186
- },
187
- {
188
- options: { left: 10.5, top: 90, height: 282, width: 572, borderColor: "#cc5a5a" },
189
- printElementType: { title: "矩形", type: "rect" }
190
- },
191
- {
192
- options: {
193
- left: 405,
194
- top: 94.5,
195
- height: 55,
196
- width: 13,
197
- title: "密码区",
198
- fontSize: 13,
199
- color: "#cc5a5a",
200
- lineHeight: 18
201
- },
202
- printElementType: { title: "文本", type: "text" }
203
- },
204
- {
205
- options: { left: 424.5, top: 94.5, height: 50, width: 152, title: "", color: "#2935e3" },
206
- printElementType: { title: "文本", type: "text" }
207
- },
208
- {
209
- options: {
210
- left: 15,
211
- top: 94.5,
212
- height: 53,
213
- width: 15,
214
- title: "购买方",
215
- fontSize: 13,
216
- color: "#cc5a5a",
217
- lineHeight: 18
218
- },
219
- printElementType: { title: "文本", type: "text" }
220
- },
221
- {
222
- options: {
223
- left: 45,
224
- top: 100.5,
225
- height: 10,
226
- width: 348,
227
- title: "名称:北京地铁税务局有限公司",
228
- color: "#2935e3"
229
- },
230
- printElementType: { title: "文本", type: "text" }
231
- },
232
- {
233
- options: {
234
- left: 45,
235
- top: 115.5,
236
- height: 10,
237
- width: 347,
238
- title: "纳税人识别号:999999999999999999",
239
- color: "#2935e3"
240
- },
241
- printElementType: { title: "文本", type: "text" }
242
- },
243
- {
244
- options: {
245
- left: 45,
246
- top: 130.5,
247
- height: 10,
248
- width: 347,
249
- title: "地址、电话:18888888888",
250
- color: "#2935e3"
251
- },
252
- printElementType: { title: "文本", type: "text" }
253
- },
254
- {
255
- options: { left: 345, top: 150, height: 190, width: 10, borderColor: "#cc5a5a" },
256
- printElementType: { title: "竖线", type: "vline" }
257
- },
258
- {
259
- options: { left: 409.5, top: 150, height: 190, width: 10, borderColor: "#cc5a5a" },
260
- printElementType: { title: "竖线", type: "vline" }
261
- },
262
- {
263
- options: { left: 295.5, top: 150, height: 190, width: 10, borderColor: "#cc5a5a" },
264
- printElementType: { title: "竖线", type: "vline" }
265
- },
266
- {
267
- options: { left: 480, top: 150, height: 190, width: 10, borderColor: "#cc5a5a" },
268
- printElementType: { title: "竖线", type: "vline" }
269
- },
270
- {
271
- options: { left: 215, top: 150, height: 224, width: 10, borderColor: "#cc5a5a" },
272
- printElementType: { title: "竖线", type: "vline" }
273
- },
274
- {
275
- options: { left: 520.5, top: 150, height: 190, width: 10, borderColor: "#cc5a5a" },
276
- printElementType: { title: "竖线", type: "vline" }
277
- },
278
- {
279
- options: { left: 10, top: 150, height: 10, width: 574, borderColor: "#cc5a5a" },
280
- printElementType: { title: "横线", type: "hline" }
281
- },
282
- {
283
- options: {
284
- left: 300,
285
- top: 160.5,
286
- height: 10,
287
- width: 36,
288
- title: "单位",
289
- fontSize: 13,
290
- color: "#cc5a5a",
291
- textAlign: "center"
292
- },
293
- printElementType: { title: "文本", type: "text" }
294
- },
295
- {
296
- options: {
297
- left: 349.5,
298
- top: 160.5,
299
- height: 11,
300
- width: 51,
301
- title: "数量",
302
- fontSize: 13,
303
- color: "#cc5a5a",
304
- textAlign: "center"
305
- },
306
- printElementType: { title: "文本", type: "text" }
307
- },
308
- {
309
- options: {
310
- left: 225,
311
- top: 160.5,
312
- height: 10,
313
- width: 62,
314
- title: "规格名称",
315
- fontSize: 13,
316
- color: "#cc5a5a",
317
- textAlign: "center"
318
- },
319
- printElementType: { title: "文本", type: "text" }
320
- },
321
- {
322
- options: {
323
- left: 420,
324
- top: 160.5,
325
- height: 10,
326
- width: 53,
327
- title: "单价",
328
- fontSize: 13,
329
- color: "#cc5a5a",
330
- textAlign: "center"
331
- },
332
- printElementType: { title: "文本", type: "text" }
333
- },
334
- {
335
- options: {
336
- left: 484.5,
337
- top: 160.5,
338
- height: 10,
339
- width: 32,
340
- title: "税率",
341
- fontSize: 13,
342
- color: "#cc5a5a",
343
- textAlign: "center"
344
- },
345
- printElementType: { title: "文本", type: "text" }
346
- },
347
- {
348
- options: {
349
- left: 525,
350
- top: 160.5,
351
- height: 10,
352
- width: 52,
353
- title: "税额",
354
- fontSize: 13,
355
- color: "#cc5a5a",
356
- textAlign: "center"
357
- },
358
- printElementType: { title: "文本", type: "text" }
359
- },
360
- {
361
- options: {
362
- left: 19.5,
363
- top: 160.5,
364
- height: 10,
365
- width: 184,
366
- title: "货物或应税劳务、服务名称",
367
- fontSize: 13,
368
- color: "#cc5a5a",
369
- textAlign: "center"
370
- },
371
- printElementType: { title: "文本", type: "text" }
372
- },
373
- {
374
- options: {
375
- left: 40.5,
376
- top: 175.5,
377
- height: 12,
378
- width: 120,
379
- title: "*餐饮服务*餐费",
380
- color: "#2935e3"
381
- },
382
- printElementType: { title: "文本", type: "text" }
383
- },
384
- {
385
- options: { left: 10.5, top: 340.5, height: 10, width: 574, borderColor: "#cc5a5a" },
386
- printElementType: { title: "横线", type: "hline" }
387
- },
388
- {
389
- options: {
390
- left: 225,
391
- top: 349.5,
392
- height: 14,
393
- width: 229,
394
- title: "壹佰贰拾元整",
395
- color: "#2935e3"
396
- },
397
- printElementType: { title: "文本", type: "text" }
398
- },
399
- {
400
- options: {
401
- left: 460.5,
402
- top: 349.5,
403
- height: 13,
404
- width: 58,
405
- title: "(小写)",
406
- fontSize: 13,
407
- color: "#cc5a5a"
408
- },
409
- printElementType: { title: "文本", type: "text" }
410
- },
411
- {
412
- options: {
413
- left: 520.5,
414
- top: 349.5,
415
- height: 13,
416
- width: 48,
417
- title: "¥100.00",
418
- color: "#2935e3"
419
- },
420
- printElementType: { title: "文本", type: "text" }
421
- },
422
- {
423
- options: {
424
- left: 15,
425
- top: 349.5,
426
- height: 14,
427
- width: 193,
428
- title: "价税合计(大写)",
429
- fontSize: 13,
430
- color: "#cc5a5a",
431
- textAlign: "center"
432
- },
433
- printElementType: { title: "文本", type: "text" }
434
- },
435
- {
436
- options: { left: 300, top: 385.5, height: 10, width: 39, title: "开票人:", color: "#cc5a5a" },
437
- printElementType: { title: "文本", type: "text" }
438
- },
439
- {
440
- options: {
441
- left: 190.5,
442
- top: 385.5,
443
- height: 10,
444
- width: 103,
445
- title: "轩大可",
446
- color: "#2935e3"
447
- },
448
- printElementType: { title: "文本", type: "text" }
449
- },
450
- {
451
- options: { left: 150, top: 385.5, height: 10, width: 33, title: "复核:", color: "#cc5a5a" },
452
- printElementType: { title: "文本", type: "text" }
453
- },
454
- {
455
- options: { left: 345, top: 385.5, height: 10, width: 86, title: "张天天", color: "#2935e3" },
456
- printElementType: { title: "文本", type: "text" }
457
- },
458
- {
459
- options: { left: 64.5, top: 385.5, height: 10, width: 78, title: "轩天天", color: "#2935e3" },
460
- printElementType: { title: "文本", type: "text" }
461
- },
462
- {
463
- options: {
464
- left: 439.5,
465
- top: 385.5,
466
- height: 10,
467
- width: 40,
468
- title: "销售方:",
469
- color: "#cc5a5a"
470
- },
471
- printElementType: { title: "文本", type: "text" }
472
- },
473
- {
474
- options: { left: 15, top: 385.5, height: 10, width: 44, title: "收款人:", color: "#cc5a5a" },
475
- printElementType: { title: "文本", type: "text" }
476
- }
477
- ],
478
- paperNumberLeft: 565.5,
479
- paperNumberTop: 394.5,
480
- paperNumberDisabled: !0
481
- }
482
- ]
483
- }, wt = { class: "ut-design-panel" }, Tt = { class: "flex justify-between" }, bt = { style: { float: "left" } }, Et = { style: { float: "right", "font-size": "13px", color: "var(--el-text-color-secondary)" } }, _t = {
484
- class: "flex justify-center mb-1",
485
- style: { width: "100%" }
486
- }, kt = /* @__PURE__ */ it({
487
- __name: "DesignPanel",
488
- props: {
489
- record: { default: () => ({}) }
490
- },
491
- emits: ["onClose"],
492
- setup(B, { emit: J }) {
493
- const W = B;
494
- let { $printPlugin: u } = ut();
495
- const j = gt().getDataDict, F = yt();
496
- let s = null;
497
- const S = f(!1), g = f(!1), y = f(!1), x = f(!1), z = f(null), T = f(""), m = f({}), d = k({}), h = k({ max: 5, min: 0.5, value: 1, ration: "100%" }), R = () => {
498
- g.value = !1, s.setPaper(d.width || 210, d.height || 296.6);
499
- }, V = async (n) => {
500
- const t = m.value;
501
- let a = T.value;
502
- if (!a) {
503
- const v = s.getJson();
504
- a = JSON.stringify(v);
505
- }
506
- t.templateContent = a, x.value = !0;
507
- const [E, _] = await mt(F.put("/urpt/v1/printTemplate", [t]));
508
- x.value = !1, E || (T.value = "", m.value = _[0]), n && n();
509
- }, A = () => {
510
- q("onClose");
511
- }, q = J, N = (n) => {
512
- let t = h.value;
513
- n === "Y" ? (t += 0.1, t > h.max && (t = 5)) : (t -= 0.1, t < h.min && (t = 0.5)), s && (s.zoom(t), h.value = t, h.ration = `${(t * 100).toFixed(0)}%`);
514
- }, I = async () => {
515
- await O.modal.confirm("重绘操作不可逆,您确定继续吗?", "温馨提示") === "confirm" && s.clear();
516
- }, L = async () => {
517
- y.value = !0;
518
- }, Y = async () => {
519
- await O.modal.confirm("导入后将覆盖原有的模板,您确定继续吗?", "温馨提示") === "confirm" && (V(A), y.value = !1);
520
- }, G = async () => {
521
- S.value = !0;
522
- const n = {};
523
- ht(() => {
524
- z.value.show(s, n, d.width || 220);
525
- });
526
- }, K = (n) => {
527
- if (n !== "customize") {
528
- const { width: t, height: a } = Q(n);
529
- d.width = t, d.height = a, s.setPaper(d.width, d.height);
530
- } else
531
- g.value = !0;
532
- }, Q = (n) => ({
533
- A3: { width: 420, height: 296.6 },
534
- A4: { width: 210, height: 296.6 },
535
- A5: { width: 210, height: 147.6 },
536
- bisect: { width: 241, height: 140 },
537
- trisection: { width: 241, height: 93 }
538
- })[n];
539
- return ot(() => {
540
- const { record: n } = W;
541
- x.value = !0, m.value = ft(n, !0);
542
- const t = n.templateContent ? JSON.parse(n.templateContent) : vt;
543
- $("#hiprint-printTemplate").empty(), u.print.init({
544
- providers: [new u.provider()]
545
- }), u.print.setConfig(), u.print.setConfig({
546
- movingDistance: 2.5,
547
- text: {
548
- supportOptions: [
549
- { name: "styler", hidden: !0 },
550
- { name: "formatter", hidden: !0 }
551
- ]
552
- }
553
- }), u.print.PrintElementTypeManager.buildByHtml($(".ep-draggable-item")), s = new u.print.PrintTemplate({
554
- template: t,
555
- settingContainer: "#PrintElementOptionSetting",
556
- paginationContainer: ".hiprint-printPagination",
557
- history: !1
558
- // 是否需要 撤销重做功能
559
- }), s.design("#hiprint-printTemplate", { grid: !0 }), h.value = s.editingPanel.scale || 1, x.value = !1;
560
- }), nt(() => {
561
- u = null, s = null;
562
- }), (n, t) => {
563
- const a = r("ut-button"), E = r("el-option"), _ = r("el-select"), v = r("vxe-input"), X = r("el-popover"), M = r("vxe-button"), Z = r("el-space"), c = r("el-row"), p = r("el-col"), b = r("el-card"), tt = r("vxe-textarea"), et = r("vxe-modal"), lt = at("spinning");
564
- return pt((w(), P("div", wt, [
565
- l(b, { class: "design-panel-contain" }, {
566
- default: i(() => [
567
- l(Z, {
568
- style: { "margin-bottom": "10px" },
569
- fill: ""
570
- }, {
571
- default: i(() => [
572
- e("div", Tt, [
573
- e("div", null, [
574
- l(a, {
575
- icon: "ri-eye-line ri-1x",
576
- content: "preview",
577
- onTap: G
578
- }),
579
- l(_, {
580
- modelValue: m.value.paperType,
581
- "onUpdate:modelValue": t[0] || (t[0] = (o) => m.value.paperType = o),
582
- size: "small",
583
- placeholder: "Select Paper",
584
- class: "ml-1 mr-1",
585
- style: { width: "100px !important" },
586
- onChange: t[1] || (t[1] = (o) => K(m.value.paperType))
587
- }, {
588
- default: i(() => [
589
- (w(!0), P(rt, null, st(dt(j)["SU.PRINT.PAPER"].children, (o) => (w(), C(E, {
590
- key: o.dictCode,
591
- label: o.dictName,
592
- value: o.dictCode
593
- }, {
594
- default: i(() => [
595
- e("span", bt, U(o.dictName), 1),
596
- e("span", Et, U(o.dictDesc), 1)
597
- ]),
598
- _: 2
599
- }, 1032, ["label", "value"]))), 128))
600
- ]),
601
- _: 1
602
- }, 8, ["modelValue"]),
603
- m.value.paperType === "customize" ? (w(), C(X, {
604
- key: 0,
605
- visible: g.value,
606
- "onUpdate:visible": t[5] || (t[5] = (o) => g.value = o),
607
- title: "设置纸张宽高(mm)",
608
- width: "300",
609
- size: "small",
610
- effect: "light",
611
- trigger: "click"
612
- }, {
613
- reference: i(() => [
614
- l(a, {
615
- icon: "ri-font-size",
616
- content: "customSize",
617
- onTap: t[4] || (t[4] = ct((o) => g.value = !0, ["stop"]))
618
- })
619
- ]),
620
- default: i(() => [
621
- e("div", null, [
622
- e("div", _t, [
623
- l(v, {
624
- modelValue: d.width,
625
- "onUpdate:modelValue": t[2] || (t[2] = (o) => d.width = o),
626
- type: "number",
627
- class: "w-40",
628
- placeholder: "宽(mm)"
629
- }, null, 8, ["modelValue"]),
630
- t[15] || (t[15] = e("div", { class: "flex items-center justify-center w-8" }, "~", -1)),
631
- l(v, {
632
- modelValue: d.height,
633
- "onUpdate:modelValue": t[3] || (t[3] = (o) => d.height = o),
634
- type: "number",
635
- class: "w-40",
636
- placeholder: "高(mm)"
637
- }, null, 8, ["modelValue"])
638
- ]),
639
- l(a, {
640
- style: { width: "100%" },
641
- content: "confirm",
642
- onTap: R
643
- })
644
- ])
645
- ]),
646
- _: 1
647
- }, 8, ["visible"])) : H("", !0),
648
- l(a, {
649
- status: "u-cyan",
650
- icon: "ri-upload-2-line",
651
- content: "importJSON",
652
- auth: "import",
653
- onTap: t[6] || (t[6] = (o) => L())
654
- }),
655
- l(M, {
656
- icon: "ri-indeterminate-circle-line ",
657
- class: "design-custom-button",
658
- onClick: t[7] || (t[7] = (o) => N("N"))
659
- }),
660
- l(v, {
661
- modelValue: h.ration,
662
- "onUpdate:modelValue": t[8] || (t[8] = (o) => h.ration = o),
663
- disabled: "",
664
- align: "center",
665
- style: { width: "70px", "margin-left": "10px" }
666
- }, null, 8, ["modelValue"]),
667
- l(M, {
668
- icon: "ri-add-circle-fill ",
669
- class: "design-custom-button",
670
- onClick: t[9] || (t[9] = (o) => N("Y"))
671
- }),
672
- l(a, {
673
- status: "danger",
674
- icon: "ri-delete-bin-5-fill",
675
- content: "repaint",
676
- auth: "repaint",
677
- onTap: t[10] || (t[10] = (o) => I())
678
- })
679
- ]),
680
- e("div", null, [
681
- l(a, {
682
- icon: "ri-save-3-fill",
683
- content: "save",
684
- onTap: t[11] || (t[11] = (o) => V())
685
- }),
686
- l(a, {
687
- status: "info",
688
- icon: "ri-reply-fill",
689
- content: "back",
690
- onTap: A
691
- })
692
- ])
693
- ]),
694
- t[16] || (t[16] = e("div", { style: { "font-size": "12px", color: "red", "text-align": "center" } }, " 温馨提示: 蓝色线(页眉)以下,每张纸打印都会重复打印到页面底部;红色线(页尾)以下,每张纸打印都会重复打印到页面底部 ", -1))
695
- ]),
696
- _: 1
697
- }),
698
- l(c, null, {
699
- default: i(() => [
700
- l(p, { span: 3 }, {
701
- default: i(() => [
702
- l(b, { class: "ut-design-item" }, {
703
- default: i(() => [
704
- l(c, null, {
705
- default: i(() => [
706
- l(p, {
707
- span: 24,
708
- class: "rect-printElement-types hiprintEpContainer"
709
- }, {
710
- default: i(() => [
711
- l(c, { class: "drag_item_title" }, {
712
- default: i(() => t[17] || (t[17] = [
713
- D("拖拽组件列表")
714
- ])),
715
- _: 1
716
- }),
717
- l(c, { style: { height: "60px" } }, {
718
- default: i(() => [
719
- l(p, {
720
- span: 12,
721
- class: "drag_item_box"
722
- }, {
723
- default: i(() => t[18] || (t[18] = [
724
- e("div", null, [
725
- e("a", {
726
- class: "ep-draggable-item",
727
- tid: "defaultModule.text"
728
- }, [
729
- e("span", {
730
- class: "ri-text",
731
- "ariel-hidden": "true"
732
- }),
733
- e("p", { class: "glyphicon-class" }, "文本")
734
- ])
735
- ], -1)
736
- ])),
737
- _: 1
738
- }),
739
- l(p, {
740
- span: 12,
741
- class: "drag_item_box"
742
- }, {
743
- default: i(() => t[19] || (t[19] = [
744
- e("div", null, [
745
- e("a", {
746
- class: "ep-draggable-item",
747
- tid: "defaultModule.image"
748
- }, [
749
- e("span", {
750
- class: "ri-image-line",
751
- "ariel-hidden": "true"
752
- }),
753
- e("p", { class: "glyphicon-class" }, "图片")
754
- ])
755
- ], -1)
756
- ])),
757
- _: 1
758
- })
759
- ]),
760
- _: 1
761
- }),
762
- l(c, { style: { height: "60px" } }, {
763
- default: i(() => [
764
- l(p, {
765
- span: 12,
766
- class: "drag_item_box",
767
- tid: "defaultModule.text"
768
- }, {
769
- default: i(() => t[20] || (t[20] = [
770
- e("div", null, [
771
- e("a", {
772
- class: "ep-draggable-item",
773
- tid: "defaultModule.longText"
774
- }, [
775
- e("span", {
776
- class: "ri-line-height",
777
- "ariel-hidden": "true"
778
- }),
779
- e("p", { class: "glyphicon-class" }, "长文")
780
- ])
781
- ], -1)
782
- ])),
783
- _: 1
784
- }),
785
- l(p, {
786
- span: 12,
787
- class: "drag_item_box"
788
- }, {
789
- default: i(() => t[21] || (t[21] = [
790
- e("div", null, [
791
- e("a", {
792
- class: "ep-draggable-item",
793
- tid: "defaultModule.table"
794
- }, [
795
- e("span", {
796
- class: "ri-table-line",
797
- "ariel-hidden": "true"
798
- }),
799
- e("p", { class: "glyphicon-class" }, "表格")
800
- ])
801
- ], -1)
802
- ])),
803
- _: 1
804
- })
805
- ]),
806
- _: 1
807
- }),
808
- l(c, { class: "drag_item_title" }, {
809
- default: i(() => t[22] || (t[22] = [
810
- D("辅助")
811
- ])),
812
- _: 1
813
- }),
814
- l(c, { style: { height: "60px" } }, {
815
- default: i(() => [
816
- l(p, {
817
- span: 12,
818
- class: "drag_item_box",
819
- tid: "defaultModule.text"
820
- }, {
821
- default: i(() => t[23] || (t[23] = [
822
- e("div", null, [
823
- e("a", {
824
- class: "ep-draggable-item",
825
- tid: "defaultModule.hline"
826
- }, [
827
- e("span", {
828
- class: "ri-expand-horizontal-s-fill",
829
- "ariel-hidden": "true"
830
- }),
831
- e("p", { class: "glyphicon-class" }, "横线")
832
- ])
833
- ], -1)
834
- ])),
835
- _: 1
836
- }),
837
- l(p, {
838
- span: 12,
839
- class: "drag_item_box",
840
- tid: "defaultModule.text"
841
- }, {
842
- default: i(() => t[24] || (t[24] = [
843
- e("div", null, [
844
- e("a", {
845
- class: "ep-draggable-item",
846
- tid: "defaultModule.vline"
847
- }, [
848
- e("span", {
849
- class: "ri-expand-vertical-s-fill",
850
- "ariel-hidden": "true"
851
- }),
852
- e("p", { class: "glyphicon-class" }, "竖线")
853
- ])
854
- ], -1)
855
- ])),
856
- _: 1
857
- })
858
- ]),
859
- _: 1
860
- }),
861
- l(c, { style: { height: "60px" } }, {
862
- default: i(() => [
863
- l(p, {
864
- span: 12,
865
- class: "drag_item_box",
866
- tid: "defaultModule.text"
867
- }, {
868
- default: i(() => t[25] || (t[25] = [
869
- e("div", null, [
870
- e("a", {
871
- class: "ep-draggable-item",
872
- tid: "defaultModule.rect"
873
- }, [
874
- e("span", {
875
- class: "ri-square-line",
876
- "ariel-hidden": "true"
877
- }),
878
- e("p", { class: "glyphicon-class" }, "矩形")
879
- ])
880
- ], -1)
881
- ])),
882
- _: 1
883
- }),
884
- l(p, {
885
- span: 12,
886
- class: "drag_item_box",
887
- tid: "defaultModule.text"
888
- }, {
889
- default: i(() => t[26] || (t[26] = [
890
- e("div", null, [
891
- e("a", {
892
- class: "ep-draggable-item",
893
- tid: "defaultModule.oval"
894
- }, [
895
- e("span", {
896
- class: "ri-checkbox-blank-circle-line",
897
- "ariel-hidden": "true"
898
- }),
899
- e("p", { class: "glyphicon-class" }, "椭圆")
900
- ])
901
- ], -1)
902
- ])),
903
- _: 1
904
- })
905
- ]),
906
- _: 1
907
- })
908
- ]),
909
- _: 1
910
- })
911
- ]),
912
- _: 1
913
- })
914
- ]),
915
- _: 1
916
- })
917
- ]),
918
- _: 1
919
- }),
920
- l(p, {
921
- xs: 15,
922
- sm: 15,
923
- md: 15,
924
- lg: 16,
925
- xl: 18
926
- }, {
927
- default: i(() => [
928
- l(b, { class: "card-design" }, {
929
- default: i(() => t[27] || (t[27] = [
930
- e("div", {
931
- id: "hiprint-printTemplate",
932
- class: "hiprint-printTemplate"
933
- }, null, -1)
934
- ])),
935
- _: 1
936
- })
937
- ]),
938
- _: 1
939
- }),
940
- l(p, {
941
- xs: 6,
942
- sm: 6,
943
- md: 6,
944
- lg: 5,
945
- xl: 3
946
- }, {
947
- default: i(() => [
948
- l(b, { class: "design-setting-panel" }, {
949
- default: i(() => [
950
- l(c, { class: "hinnn-layout-sider" }, {
951
- default: i(() => t[28] || (t[28] = [
952
- e("div", { id: "PrintElementOptionSetting" }, null, -1)
953
- ])),
954
- _: 1
955
- })
956
- ]),
957
- _: 1
958
- })
959
- ]),
960
- _: 1
961
- })
962
- ]),
963
- _: 1
964
- })
965
- ]),
966
- _: 1
967
- }),
968
- l(et, {
969
- modelValue: y.value,
970
- "onUpdate:modelValue": t[14] || (t[14] = (o) => y.value = o),
971
- title: "导入模板JSON数据",
972
- height: "320",
973
- width: "450",
974
- "show-footer": ""
975
- }, {
976
- default: i(() => [
977
- t[29] || (t[29] = e("p", { style: { color: "red" } }, "切勿随意修改JSON数据,可能导致模板加载出错", -1)),
978
- l(tt, {
979
- modelValue: T.value,
980
- "onUpdate:modelValue": t[12] || (t[12] = (o) => T.value = o),
981
- rows: 10,
982
- size: "mini"
983
- }, null, 8, ["modelValue"])
984
- ]),
985
- footer: i(() => [
986
- l(a, {
987
- icon: "ri-close-fill",
988
- content: "cancel",
989
- onTap: t[13] || (t[13] = (o) => y.value = !1)
990
- }),
991
- l(a, {
992
- icon: "ri-save-3-fill",
993
- status: "u-cyan",
994
- content: "confirm",
995
- onTap: Y
996
- })
997
- ]),
998
- _: 1
999
- }, 8, ["modelValue"]),
1000
- S.value ? (w(), C(xt, {
1001
- key: 0,
1002
- ref_key: "previewRef",
1003
- ref: z
1004
- }, null, 512)) : H("", !0)
1005
- ])), [
1006
- [lt, x.value]
1007
- ]);
1008
- };
1009
- }
1010
- });
1011
- export {
1012
- kt as k
1013
- };