@utogether/udp-core 2.0.0-beta.1 → 2.0.0-beta.3

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 (182) hide show
  1. package/dist/{403-CTJDBjz7.js → 403-CxOqlq0f.js} +3 -3
  2. package/dist/403-WCboRvzZ-ZAPgYStl.js +65 -0
  3. package/dist/404-2V0Qi-d7-DkNwQggp.js +65 -0
  4. package/dist/{404-BFYkWIkQ.js → 404-xdB6lFeQ.js} +1 -1
  5. package/dist/500-BYfzvixf-CGpEieyQ.js +67 -0
  6. package/dist/{500-DGG3qadg.js → 500-C94bRK2S.js} +2 -2
  7. package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5.js +4 -0
  8. package/dist/{AuthorityInfo-ozZIo1Te.js → AuthorityInfo-Dy3b_nFN.js} +1 -1
  9. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DujerENw.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY.js} +2 -2
  10. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz.js +100 -0
  11. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +4 -0
  12. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +114 -0
  13. package/dist/Company-B4vsXy2I-CkNCOqjJ.js +25 -0
  14. package/dist/{Company-6VJtwh23.js → Company-gKkfnhLt.js} +3 -3
  15. package/dist/{CompanyPanel-B2P488mq.js → CompanyPanel-BF5Pc35s.js} +7 -7
  16. package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_.js +206 -0
  17. package/dist/DataSet-DT-rGICv-DaUfgbxk.js +147 -0
  18. package/dist/{Department-BnwoLEOC.js → Department-D0I3QVZe.js} +3 -3
  19. package/dist/Department-D0dVUrGC-C6HJcYI1.js +25 -0
  20. package/dist/{DepartmentPanel-CRrrmxtv.js → DepartmentPanel-2LHODgc7.js} +22 -22
  21. package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd.js +254 -0
  22. package/dist/{DesignPanel-CvbccgX2.js → DesignPanel-CtF3cAAQ.js} +1 -1
  23. package/dist/DesignPanel-DdFl_ohi-uCwFxcl1.js +4 -0
  24. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY.js +1013 -0
  25. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Dz2tUszs.js → DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt.js} +3 -3
  26. package/dist/DictView-BzQLOf_P-DDicwdmM.js +111 -0
  27. package/dist/{DictView-Ce1LoVHh.js → DictView-H3V5hxg3.js} +1 -1
  28. package/dist/{InvOrganization-BwCFZO1X.js → InvOrganization-BiGLnbqe.js} +2 -2
  29. package/dist/InvOrganization-atbhw0CI-BABbVt9V.js +74 -0
  30. package/dist/Org-BW1YHG-Q-Cow7JWlD.js +39 -0
  31. package/dist/{Org-0hzs6b0R.js → Org-DQTCQHNY.js} +2 -2
  32. package/dist/Preview-DJtVsoq1-CCGidQjJ.js +48 -0
  33. package/dist/{Preview--DnEAhwh.js → Preview-DXaiis29.js} +1 -1
  34. package/dist/{ReportDefine-Cu983bTN.js → ReportDefine-BLh4CiER.js} +1 -1
  35. package/dist/ReportDefine-CNx_ob99-6NQAHK-Q.js +10 -0
  36. package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp.js +165 -0
  37. package/dist/{ReportDesign-QsWXXgvo.js → ReportDesign-Ni1YxrLC.js} +7 -7
  38. package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda.js +75 -0
  39. package/dist/{ReportQuery-BjKIIhPu.js → ReportQuery-C8G88_qF.js} +1 -1
  40. package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy.js +4 -0
  41. package/dist/{ReportQueryFrom-DIjBO6Fx.js → ReportQueryFrom-CuZKPtB4.js} +1 -1
  42. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-0T62cUMK.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW.js} +7 -7
  43. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl.js +178 -0
  44. package/dist/ReportTemplate-BDANdIWv-D_IGjR1w.js +161 -0
  45. package/dist/{ReportTemplate-2uk9tJcy.js → ReportTemplate-DFnDXWmx.js} +8 -8
  46. package/dist/{Role-_QP8QEaI.js → Role-BQ7hsfPn.js} +3 -3
  47. package/dist/Role-ByB0WbxW-5E8Mb148.js +25 -0
  48. package/dist/RoleAssign-DW6iC_0v-Bis61auk.js +26 -0
  49. package/dist/{RoleAssign-C2gkcmEQ.js → RoleAssign-UPCg2d4G.js} +3 -3
  50. package/dist/RolePanel-BM2MaQPU-CgcsbfaX.js +4 -0
  51. package/dist/{RolePanel-vnl_lXNY.js → RolePanel-C-mQ5XRq.js} +1 -1
  52. package/dist/RolePanel-ClQy8DBL-DARL4O-o.js +4 -0
  53. package/dist/{RolePanel-B8FPNGaA.js → RolePanel-CoSXOCZN.js} +1 -1
  54. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI.js +132 -0
  55. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-bxHXrBYl.js → RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF.js} +7 -7
  56. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BuQbYEEI.js → RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8.js} +8 -8
  57. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy.js +154 -0
  58. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3.js +100 -0
  59. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-C6yZXBqB.js → ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk.js} +1 -1
  60. package/dist/Staff-CuxzvhD9-D0KTcyRh.js +25 -0
  61. package/dist/{Staff-CHWrMIEb.js → Staff-D-CmvG1R.js} +3 -3
  62. package/dist/StaffInfo-CY7gUICu-EZUhUwIp.js +4 -0
  63. package/dist/{StaffInfo-Cpq2eayz.js → StaffInfo-Idhvuc6e.js} +1 -1
  64. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn.js +108 -0
  65. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BVCjF2i1.js → StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU.js} +1 -1
  66. package/dist/{StaffPanel-D2BMXt5p.js → StaffPanel-CDDmAYE5.js} +1 -1
  67. package/dist/StaffPanel-CwqG0_xr-CrvzLJoc.js +4 -0
  68. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-B6jAGo-g.js → StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee.js} +42 -42
  69. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0.js +143 -0
  70. package/dist/SysUser-9Q2UJWhi-DprWXFlR.js +15 -0
  71. package/dist/{SysUser-om6H1BeC.js → SysUser-a-j5bppr.js} +2 -2
  72. package/dist/{SysUserPanel-CH0HPP7h.js → SysUserPanel-6V232wwB.js} +1 -1
  73. package/dist/SysUserPanel-bJy69O7x-BJtBgFEs.js +4 -0
  74. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-Dpl13ee0.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy.js} +2 -2
  75. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen.js +356 -0
  76. package/dist/{SystemMenu-BkG_DKxA.js → SystemMenu-BnVeOSOQ.js} +7 -7
  77. package/dist/SystemMenu-DGOAolc1-CJSLHP8i.js +156 -0
  78. package/dist/UserInfo-CKoOHkAM-DDWp0I_U.js +4 -0
  79. package/dist/{UserInfo-D9croxUe.js → UserInfo-Cax9b2nw.js} +1 -1
  80. package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO.js +160 -0
  81. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-DLIP8xpN.js → UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9.js} +2 -2
  82. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +10 -0
  83. package/dist/await-to-js.es5-Bv3Eu4mi.js +10 -0
  84. package/dist/childView-0YZQ6GBn-CEqg7k5d.js +4 -0
  85. package/dist/{childView-BY_Ip-l1.js → childView-DKG3eZo8.js} +1 -1
  86. package/dist/childView-DKkgi3yo-D47ft-vi.js +4 -0
  87. package/dist/{childView-CHp_TueS.js → childView-siumuBz0.js} +1 -1
  88. package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa.js +143 -0
  89. package/dist/{childView.vue_vue_type_style_index_0_lang-BNHbDRjt.js → childView.vue_vue_type_style_index_0_lang-CUfXDS1q.js} +8 -8
  90. package/dist/{childView.vue_vue_type_style_index_0_lang-CbjGf7Z7.js → childView.vue_vue_type_style_index_0_lang-CW3EbAmW.js} +8 -8
  91. package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK.js +180 -0
  92. package/dist/{code-rule-Ce6yWqCq.js → code-rule-Dtoree6F.js} +2 -2
  93. package/dist/code-rule-wQyfgpNL-C4evD4Co.js +148 -0
  94. package/dist/core.es.js +10 -10
  95. package/dist/cron-task-C-kryDtd-C0NuGZCe.js +135 -0
  96. package/dist/{cron-task-DziaH0rI.js → cron-task-GSRgA7S5.js} +2 -2
  97. package/dist/flow-task-B07st2aD-CgQvagSQ.js +10 -0
  98. package/dist/frameView-BOGA3ezf-QoSxzmSQ.js +44 -0
  99. package/dist/{frameView-DNeCVQaY.js → frameView-Cy6wxW0K.js} +1 -1
  100. package/dist/{index-BabfUVv_.js → index-Dc7xWMiC.js} +1057 -1033
  101. package/dist/layout-home-3Dy4onl4.js +228 -0
  102. package/dist/layout-home-CYHksXN_-Basy-3IH.js +228 -0
  103. package/dist/layoutView-BaRvAbIa-xVgfqspc.js +3302 -0
  104. package/dist/{layoutView-12Mlp9A2.js → layoutView-DMjNscJ-.js} +8 -8
  105. package/dist/log-in-Cx1dGik8-BVeEHeZ8.js +117 -0
  106. package/dist/{log-in-1NGaA5OM.js → log-in-VAG6Cvcx.js} +8 -8
  107. package/dist/log-out-COYdxrNC-ftopGZdE.js +130 -0
  108. package/dist/{log-out-B8_atGcQ.js → log-out-DZGaMCjC.js} +4 -4
  109. package/dist/{login-5dydO6GR.js → login-CqVMdNHs.js} +16 -16
  110. package/dist/login-Dg9ofNS8-Bocp1XMA.js +241 -0
  111. package/dist/login-log-DJBGJVV0-AoOyj0jD.js +70 -0
  112. package/dist/lov-view-C0T5prk8-B2DBmn55.js +97 -0
  113. package/dist/{lov-view-DPvGUu3h.js → lov-view-Cc68_28B.js} +7 -7
  114. package/dist/{menuInfo-DVADYfEK.js → menuInfo-BIrIaJlH.js} +1 -1
  115. package/dist/menuInfo-BZJ_q7bz-Drho-_QC.js +4 -0
  116. package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf.js +363 -0
  117. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DgsifDrm.js → menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X.js} +2 -2
  118. package/dist/{pda-app-BZXs-2BQ.js → pda-app-DnjphrRS.js} +9 -9
  119. package/dist/pda-app-m9hsppHo-B4xyja1o.js +710 -0
  120. package/dist/redirect-BqegffKC-CBCIuqmz.js +15 -0
  121. package/dist/resource-C6KEIXu--B_ddyecm.js +97 -0
  122. package/dist/{resource-BZA9NFKc.js → resource-DISgPDM7.js} +4 -4
  123. package/dist/su-welcome-BjbuSrBZ.js +49424 -0
  124. package/dist/su-welcome-CYYy-dzr-D3RKPoB0.js +42089 -0
  125. package/dist/sys-config-DCjJGtht-DARDjlrt.js +370 -0
  126. package/dist/{sys-config-DQmNjWH4.js → sys-config-Yc9vh1t1.js} +13 -13
  127. package/dist/udp-core.css +1 -1
  128. package/dist/utogether-MlnyYtNS-CGgjFNPS.js +4 -0
  129. package/package.json +5 -2
  130. package/src/App.vue +71 -71
  131. package/src/components/udp/content/index.vue +88 -88
  132. package/src/components/udp/form-upload/form-upload.vue +492 -492
  133. package/src/components/udp/grid/index.vue +524 -524
  134. package/src/components/udp/index.ts +6 -6
  135. package/src/components/udp/ut-stamp-badge/index.vue +271 -271
  136. package/src/components/udp/utils.ts +408 -408
  137. package/src/layout/components/lay-content/index.vue +136 -136
  138. package/src/layout/components/lay-search/components/SearchModal.vue +181 -189
  139. package/src/layout/components/lay-setting/index.vue +503 -503
  140. package/src/layout/components/lay-sidebar/sidebar-logo.vue +101 -101
  141. package/src/layout/components/lay-tag/index.vue +598 -598
  142. package/src/layout/hooks/useNav.ts +176 -176
  143. package/src/layout/hooks/useTag.ts +227 -227
  144. package/src/layout/layoutView.vue +216 -216
  145. package/src/layout/types.ts +93 -93
  146. package/src/main.ts +111 -112
  147. package/src/plugins/i18n/zh.ts +1 -0
  148. package/src/plugins/vxe-table/index.ts +116 -116
  149. package/src/plugins/vxe-table/render.tsx +968 -968
  150. package/src/router/index.ts +187 -187
  151. package/src/router/modules/home.ts +32 -32
  152. package/src/router/utils.ts +420 -420
  153. package/src/store/modules/epTheme.ts +48 -48
  154. package/src/style/vxetable.scss +364 -356
  155. package/src/utils/dataFormat/index.ts +222 -222
  156. package/src/utils/lifecycle.ts +39 -39
  157. package/src/views/organization/department/DepartmentPanel.vue +303 -303
  158. package/src/views/organization/staff/StaffInfo.vue +127 -127
  159. package/src/views/organization/staff/StaffPanel.vue +3 -3
  160. package/src/views/system/layout/layout-home.vue +45 -7
  161. package/src/views/system/menu/AuthorityPanel.vue +141 -141
  162. package/src/views/system/menu/SystemMenu.vue +194 -194
  163. package/src/views/system/menu/menuInfo.vue +1 -1
  164. package/src/views/system/sysUser/SysUserPanel.vue +363 -363
  165. package/src/views/udev/coderule/code-rule.vue +132 -132
  166. package/src/views/udev/dict/DictView.vue +118 -118
  167. package/src/views/udev/dict/childView.vue +184 -184
  168. package/src/views/udev/lov/childView.vue +174 -174
  169. package/src/views/uhome/components/common-menu.vue +118 -0
  170. package/src/views/uhome/components/dynamic-component.vue +66 -0
  171. package/src/views/uhome/components/home-todo.vue +170 -0
  172. package/src/views/uhome/components/menu-favorite.vue +315 -315
  173. package/src/views/uhome/dynamic-card.vue +18 -19
  174. package/src/views/uhome/su-welcome.vue +46 -116
  175. package/src/views/ulogin/login.vue +336 -336
  176. package/src/views/upms/interface/log-in.vue +100 -100
  177. package/src/views/upms/interface/log-out.vue +104 -104
  178. package/src/views/upms/user/login-log.vue +54 -54
  179. package/types/global.d.ts +232 -232
  180. package/dist/await-to-js.es5-BtRbN2QH.js +0 -10
  181. package/dist/layout-home-Cis1KlEr.js +0 -195
  182. package/dist/su-welcome-BXe6Cdp3.js +0 -580
@@ -0,0 +1,1013 @@
1
+ import { defineComponent as ie, ref as f, reactive as k, onMounted as oe, onBeforeUnmount as ne, resolveComponent as r, resolveDirective as ae, withDirectives as pe, createElementBlock as P, openBlock as w, createVNode as l, createBlock as C, createCommentVNode as H, withCtx as i, createElementVNode as t, Fragment as re, renderList as se, unref as de, toDisplayString as U, withModifiers as ce, createTextVNode as D, nextTick as he } from "vue";
2
+ import { VxeUI as O } from "vxe-pc-ui";
3
+ import { useGlobal as ue } from "@utogether/utils";
4
+ import { c as me } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
5
+ import { clone as fe } from "xe-utils";
6
+ import { M as ge, W as ye } from "./su-welcome-BjbuSrBZ.js";
7
+ import xe from "./Preview-DJtVsoq1-CCGidQjJ.js";
8
+ const ve = {
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
+ }, we = { class: "ut-design-panel" }, Te = { class: "flex justify-between" }, be = { style: { float: "left" } }, Ee = { style: { float: "right", "font-size": "13px", color: "var(--el-text-color-secondary)" } }, _e = {
484
+ class: "flex justify-center mb-1",
485
+ style: { width: "100%" }
486
+ }, ke = /* @__PURE__ */ ie({
487
+ __name: "DesignPanel",
488
+ props: {
489
+ record: { default: () => ({}) }
490
+ },
491
+ emits: ["onClose"],
492
+ setup(W, { emit: J }) {
493
+ const B = W;
494
+ let { $printPlugin: u } = ue();
495
+ const j = ge().getDataDict, F = ye();
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 e = m.value;
501
+ let a = T.value;
502
+ if (!a) {
503
+ const v = s.getJson();
504
+ a = JSON.stringify(v);
505
+ }
506
+ e.templateContent = a, x.value = !0;
507
+ const [E, _] = await me(F.put("/urpt/v1/printTemplate", [e]));
508
+ x.value = !1, E || (T.value = "", m.value = _[0]), n && n();
509
+ }, N = () => {
510
+ q("onClose");
511
+ }, q = J, A = (n) => {
512
+ let e = h.value;
513
+ n === "Y" ? (e += 0.1, e > h.max && (e = 5)) : (e -= 0.1, e < h.min && (e = 0.5)), s && (s.zoom(e), h.value = e, h.ration = `${(e * 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(N), y.value = !1);
520
+ }, G = async () => {
521
+ S.value = !0;
522
+ const n = {};
523
+ he(() => {
524
+ z.value.show(s, n, d.width || 220);
525
+ });
526
+ }, K = (n) => {
527
+ if (n !== "customize") {
528
+ const { width: e, height: a } = Q(n);
529
+ d.width = e, 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 oe(() => {
540
+ const { record: n } = B;
541
+ x.value = !0, m.value = fe(n, !0);
542
+ const e = n.templateContent ? JSON.parse(n.templateContent) : ve;
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: e,
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
+ }), ne(() => {
561
+ u = null, s = null;
562
+ }), (n, e) => {
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"), ee = r("vxe-textarea"), te = r("vxe-modal"), le = ae("spinning");
564
+ return pe((w(), P("div", we, [
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
+ t("div", Te, [
573
+ t("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": e[0] || (e[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: e[1] || (e[1] = (o) => K(m.value.paperType))
587
+ }, {
588
+ default: i(() => [
589
+ (w(!0), P(re, null, se(de(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
+ t("span", be, U(o.dictName), 1),
596
+ t("span", Ee, 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": e[5] || (e[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: e[4] || (e[4] = ce((o) => g.value = !0, ["stop"]))
618
+ })
619
+ ]),
620
+ default: i(() => [
621
+ t("div", null, [
622
+ t("div", _e, [
623
+ l(v, {
624
+ modelValue: d.width,
625
+ "onUpdate:modelValue": e[2] || (e[2] = (o) => d.width = o),
626
+ type: "number",
627
+ class: "w-40",
628
+ placeholder: "宽(mm)"
629
+ }, null, 8, ["modelValue"]),
630
+ e[15] || (e[15] = t("div", { class: "flex items-center justify-center w-8" }, "~", -1)),
631
+ l(v, {
632
+ modelValue: d.height,
633
+ "onUpdate:modelValue": e[3] || (e[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: e[6] || (e[6] = (o) => L())
654
+ }),
655
+ l(M, {
656
+ icon: "ri-indeterminate-circle-line ",
657
+ class: "design-custom-button",
658
+ onClick: e[7] || (e[7] = (o) => A("N"))
659
+ }),
660
+ l(v, {
661
+ modelValue: h.ration,
662
+ "onUpdate:modelValue": e[8] || (e[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: e[9] || (e[9] = (o) => A("Y"))
671
+ }),
672
+ l(a, {
673
+ status: "danger",
674
+ icon: "ri-delete-bin-5-fill",
675
+ content: "repaint",
676
+ auth: "repaint",
677
+ onTap: e[10] || (e[10] = (o) => I())
678
+ })
679
+ ]),
680
+ t("div", null, [
681
+ l(a, {
682
+ icon: "ri-save-3-fill",
683
+ content: "save",
684
+ onTap: e[11] || (e[11] = (o) => V())
685
+ }),
686
+ l(a, {
687
+ status: "info",
688
+ icon: "ri-reply-fill",
689
+ content: "back",
690
+ onTap: N
691
+ })
692
+ ])
693
+ ]),
694
+ e[16] || (e[16] = t("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(() => e[17] || (e[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(() => e[18] || (e[18] = [
724
+ t("div", null, [
725
+ t("a", {
726
+ class: "ep-draggable-item",
727
+ tid: "defaultModule.text"
728
+ }, [
729
+ t("span", {
730
+ class: "ri-text",
731
+ "ariel-hidden": "true"
732
+ }),
733
+ t("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(() => e[19] || (e[19] = [
744
+ t("div", null, [
745
+ t("a", {
746
+ class: "ep-draggable-item",
747
+ tid: "defaultModule.image"
748
+ }, [
749
+ t("span", {
750
+ class: "ri-image-line",
751
+ "ariel-hidden": "true"
752
+ }),
753
+ t("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(() => e[20] || (e[20] = [
770
+ t("div", null, [
771
+ t("a", {
772
+ class: "ep-draggable-item",
773
+ tid: "defaultModule.longText"
774
+ }, [
775
+ t("span", {
776
+ class: "ri-line-height",
777
+ "ariel-hidden": "true"
778
+ }),
779
+ t("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(() => e[21] || (e[21] = [
790
+ t("div", null, [
791
+ t("a", {
792
+ class: "ep-draggable-item",
793
+ tid: "defaultModule.table"
794
+ }, [
795
+ t("span", {
796
+ class: "ri-table-line",
797
+ "ariel-hidden": "true"
798
+ }),
799
+ t("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(() => e[22] || (e[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(() => e[23] || (e[23] = [
822
+ t("div", null, [
823
+ t("a", {
824
+ class: "ep-draggable-item",
825
+ tid: "defaultModule.hline"
826
+ }, [
827
+ t("span", {
828
+ class: "ri-expand-horizontal-s-fill",
829
+ "ariel-hidden": "true"
830
+ }),
831
+ t("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(() => e[24] || (e[24] = [
843
+ t("div", null, [
844
+ t("a", {
845
+ class: "ep-draggable-item",
846
+ tid: "defaultModule.vline"
847
+ }, [
848
+ t("span", {
849
+ class: "ri-expand-vertical-s-fill",
850
+ "ariel-hidden": "true"
851
+ }),
852
+ t("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(() => e[25] || (e[25] = [
869
+ t("div", null, [
870
+ t("a", {
871
+ class: "ep-draggable-item",
872
+ tid: "defaultModule.rect"
873
+ }, [
874
+ t("span", {
875
+ class: "ri-square-line",
876
+ "ariel-hidden": "true"
877
+ }),
878
+ t("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(() => e[26] || (e[26] = [
890
+ t("div", null, [
891
+ t("a", {
892
+ class: "ep-draggable-item",
893
+ tid: "defaultModule.oval"
894
+ }, [
895
+ t("span", {
896
+ class: "ri-checkbox-blank-circle-line",
897
+ "ariel-hidden": "true"
898
+ }),
899
+ t("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(() => e[27] || (e[27] = [
930
+ t("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(() => e[28] || (e[28] = [
952
+ t("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(te, {
969
+ modelValue: y.value,
970
+ "onUpdate:modelValue": e[14] || (e[14] = (o) => y.value = o),
971
+ title: "导入模板JSON数据",
972
+ height: "320",
973
+ width: "450",
974
+ "show-footer": ""
975
+ }, {
976
+ default: i(() => [
977
+ e[29] || (e[29] = t("p", { style: { color: "red" } }, "切勿随意修改JSON数据,可能导致模板加载出错", -1)),
978
+ l(ee, {
979
+ modelValue: T.value,
980
+ "onUpdate:modelValue": e[12] || (e[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: e[13] || (e[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(xe, {
1001
+ key: 0,
1002
+ ref_key: "previewRef",
1003
+ ref: z
1004
+ }, null, 512)) : H("", !0)
1005
+ ])), [
1006
+ [le, x.value]
1007
+ ]);
1008
+ };
1009
+ }
1010
+ });
1011
+ export {
1012
+ ke as N
1013
+ };