zartd 0.0.10

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 (645) hide show
  1. package/README.md +3 -0
  2. package/dist/index.css +2673 -0
  3. package/dist/index.d.ts +406 -0
  4. package/dist/index.js +1413 -0
  5. package/dist/index.min.css +2 -0
  6. package/dist/index.min.css.map +1 -0
  7. package/dist/index.min.js +3 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist/style/fonts/din/din-alternate-bold.ttf +0 -0
  10. package/dist/style/fonts/din/din.css +4 -0
  11. package/dist/style/fonts/iconfont/iconfont.css +525 -0
  12. package/dist/style/fonts/iconfont/iconfont.ttf +0 -0
  13. package/dist/style/fonts/iconfont/iconfont.woff +0 -0
  14. package/dist/style/fonts/iconfont/iconfont.woff2 +0 -0
  15. package/dist/style/images/empty-default.png +0 -0
  16. package/dist/style/images/login-banner-one-dark.png +0 -0
  17. package/dist/style/images/login-banner-one-gov.png +0 -0
  18. package/dist/style/images/login-banner-one.png +0 -0
  19. package/dist/style/images/login-banner-three-dark.png +0 -0
  20. package/dist/style/images/login-banner-three-gov.png +0 -0
  21. package/dist/style/images/login-banner-three.png +0 -0
  22. package/dist/style/images/login-banner-two-dark.png +0 -0
  23. package/dist/style/images/login-banner-two-gov.png +0 -0
  24. package/dist/style/images/login-banner-two.png +0 -0
  25. package/dist/style/images/login-bg-dark.png +0 -0
  26. package/dist/style/images/login-bg-gov.png +0 -0
  27. package/dist/style/images/login-bg.png +0 -0
  28. package/dist/style/images/spread-navigation-bg.png +0 -0
  29. package/es/_virtual/plugin-vue_export-helper.js +9 -0
  30. package/es/a-alert/style/index.css +407 -0
  31. package/es/a-alert/style/index.d.ts +2 -0
  32. package/es/a-alert/style/index.js +2 -0
  33. package/es/a-alert/style/index.less +75 -0
  34. package/es/a-avatar/style/index.css +3 -0
  35. package/es/a-avatar/style/index.d.ts +2 -0
  36. package/es/a-avatar/style/index.js +2 -0
  37. package/es/a-avatar/style/index.less +3 -0
  38. package/es/a-badge/style/index.css +3 -0
  39. package/es/a-badge/style/index.d.ts +2 -0
  40. package/es/a-badge/style/index.js +2 -0
  41. package/es/a-badge/style/index.less +5 -0
  42. package/es/a-button/style/index.css +512 -0
  43. package/es/a-button/style/index.d.ts +2 -0
  44. package/es/a-button/style/index.js +2 -0
  45. package/es/a-button/style/index.less +227 -0
  46. package/es/a-carousel/style/index.css +3 -0
  47. package/es/a-carousel/style/index.d.ts +2 -0
  48. package/es/a-carousel/style/index.js +2 -0
  49. package/es/a-carousel/style/index.less +9 -0
  50. package/es/a-cascader/style/index.css +442 -0
  51. package/es/a-cascader/style/index.d.ts +2 -0
  52. package/es/a-cascader/style/index.js +2 -0
  53. package/es/a-cascader/style/index.less +47 -0
  54. package/es/a-checkbox/style/index.css +383 -0
  55. package/es/a-checkbox/style/index.d.ts +2 -0
  56. package/es/a-checkbox/style/index.js +2 -0
  57. package/es/a-checkbox/style/index.less +65 -0
  58. package/es/a-collapse/style/index.css +23 -0
  59. package/es/a-collapse/style/index.d.ts +2 -0
  60. package/es/a-collapse/style/index.js +2 -0
  61. package/es/a-collapse/style/index.less +29 -0
  62. package/es/a-date-picker/style/index.css +26 -0
  63. package/es/a-date-picker/style/index.d.ts +2 -0
  64. package/es/a-date-picker/style/index.js +2 -0
  65. package/es/a-date-picker/style/index.less +53 -0
  66. package/es/a-description/style/index.css +8 -0
  67. package/es/a-description/style/index.d.ts +2 -0
  68. package/es/a-description/style/index.js +2 -0
  69. package/es/a-description/style/index.less +15 -0
  70. package/es/a-drawer/style/index.css +38 -0
  71. package/es/a-drawer/style/index.d.ts +2 -0
  72. package/es/a-drawer/style/index.js +2 -0
  73. package/es/a-drawer/style/index.less +53 -0
  74. package/es/a-dropdown/style/index.css +9 -0
  75. package/es/a-dropdown/style/index.d.ts +2 -0
  76. package/es/a-dropdown/style/index.js +2 -0
  77. package/es/a-dropdown/style/index.less +19 -0
  78. package/es/a-empty/style/index.css +48 -0
  79. package/es/a-empty/style/index.d.ts +2 -0
  80. package/es/a-empty/style/index.js +2 -0
  81. package/es/a-empty/style/index.less +62 -0
  82. package/es/a-form/style/index.css +366 -0
  83. package/es/a-form/style/index.d.ts +2 -0
  84. package/es/a-form/style/index.js +2 -0
  85. package/es/a-form/style/index.less +38 -0
  86. package/es/a-input/style/index.css +373 -0
  87. package/es/a-input/style/index.d.ts +2 -0
  88. package/es/a-input/style/index.js +2 -0
  89. package/es/a-input/style/index.less +41 -0
  90. package/es/a-input-number/style/index.css +396 -0
  91. package/es/a-input-number/style/index.d.ts +2 -0
  92. package/es/a-input-number/style/index.js +2 -0
  93. package/es/a-input-number/style/index.less +12 -0
  94. package/es/a-menu/style/index.css +442 -0
  95. package/es/a-menu/style/index.d.ts +2 -0
  96. package/es/a-menu/style/index.js +2 -0
  97. package/es/a-menu/style/index.less +116 -0
  98. package/es/a-message/style/index.css +361 -0
  99. package/es/a-message/style/index.d.ts +2 -0
  100. package/es/a-message/style/index.js +2 -0
  101. package/es/a-message/style/index.less +17 -0
  102. package/es/a-modal/style/index.css +381 -0
  103. package/es/a-modal/style/index.d.ts +2 -0
  104. package/es/a-modal/style/index.js +2 -0
  105. package/es/a-modal/style/index.less +41 -0
  106. package/es/a-notification/style/index.css +407 -0
  107. package/es/a-notification/style/index.d.ts +2 -0
  108. package/es/a-notification/style/index.js +2 -0
  109. package/es/a-notification/style/index.less +79 -0
  110. package/es/a-pageheader/style/index.css +12 -0
  111. package/es/a-pageheader/style/index.d.ts +2 -0
  112. package/es/a-pageheader/style/index.js +2 -0
  113. package/es/a-pageheader/style/index.less +16 -0
  114. package/es/a-pagination/style/index.css +4 -0
  115. package/es/a-pagination/style/index.d.ts +2 -0
  116. package/es/a-pagination/style/index.js +2 -0
  117. package/es/a-pagination/style/index.less +8 -0
  118. package/es/a-popover/style/index.css +439 -0
  119. package/es/a-popover/style/index.d.ts +2 -0
  120. package/es/a-popover/style/index.js +2 -0
  121. package/es/a-popover/style/index.less +115 -0
  122. package/es/a-progress/style/index.css +409 -0
  123. package/es/a-progress/style/index.d.ts +2 -0
  124. package/es/a-progress/style/index.js +2 -0
  125. package/es/a-progress/style/index.less +93 -0
  126. package/es/a-radio/style/index.css +389 -0
  127. package/es/a-radio/style/index.d.ts +2 -0
  128. package/es/a-radio/style/index.js +2 -0
  129. package/es/a-radio/style/index.less +59 -0
  130. package/es/a-select/style/index.css +373 -0
  131. package/es/a-select/style/index.d.ts +2 -0
  132. package/es/a-select/style/index.js +2 -0
  133. package/es/a-select/style/index.less +37 -0
  134. package/es/a-select-tree/style/index.css +526 -0
  135. package/es/a-select-tree/style/index.d.ts +2 -0
  136. package/es/a-select-tree/style/index.js +2 -0
  137. package/es/a-select-tree/style/index.less +16 -0
  138. package/es/a-steps/style/index.css +37 -0
  139. package/es/a-steps/style/index.d.ts +2 -0
  140. package/es/a-steps/style/index.js +2 -0
  141. package/es/a-steps/style/index.less +66 -0
  142. package/es/a-switch/style/index.css +359 -0
  143. package/es/a-switch/style/index.d.ts +2 -0
  144. package/es/a-switch/style/index.js +2 -0
  145. package/es/a-switch/style/index.less +18 -0
  146. package/es/a-table/style/index.css +12 -0
  147. package/es/a-table/style/index.d.ts +2 -0
  148. package/es/a-table/style/index.js +2 -0
  149. package/es/a-table/style/index.less +25 -0
  150. package/es/a-tabs/style/index.css +83 -0
  151. package/es/a-tabs/style/index.d.ts +2 -0
  152. package/es/a-tabs/style/index.js +2 -0
  153. package/es/a-tabs/style/index.less +104 -0
  154. package/es/a-tooltip/style/index.css +5 -0
  155. package/es/a-tooltip/style/index.d.ts +2 -0
  156. package/es/a-tooltip/style/index.js +2 -0
  157. package/es/a-tooltip/style/index.less +7 -0
  158. package/es/a-tree/style/index.css +457 -0
  159. package/es/a-tree/style/index.d.ts +2 -0
  160. package/es/a-tree/style/index.js +2 -0
  161. package/es/a-tree/style/index.less +84 -0
  162. package/es/a-upload/style/index.css +488 -0
  163. package/es/a-upload/style/index.d.ts +2 -0
  164. package/es/a-upload/style/index.js +2 -0
  165. package/es/a-upload/style/index.less +180 -0
  166. package/es/collapse-button/collapse-button.vue.d.ts +45 -0
  167. package/es/collapse-button/collapse-button.vue.js +54 -0
  168. package/es/collapse-button/index.d.ts +45 -0
  169. package/es/collapse-button/index.js +6 -0
  170. package/es/collapse-button/style/index.css +47 -0
  171. package/es/collapse-button/style/index.d.ts +2 -0
  172. package/es/collapse-button/style/index.js +2 -0
  173. package/es/collapse-button/style/index.less +58 -0
  174. package/es/empty/index.d.ts +14 -0
  175. package/es/empty/index.js +6 -0
  176. package/es/empty/index.vue.d.ts +14 -0
  177. package/es/empty/index.vue.js +24 -0
  178. package/es/empty/style/index.css +15 -0
  179. package/es/empty/style/index.d.ts +2 -0
  180. package/es/empty/style/index.js +2 -0
  181. package/es/empty/style/index.less +17 -0
  182. package/es/iframe/iframe.vue.d.ts +17 -0
  183. package/es/iframe/iframe.vue.js +42 -0
  184. package/es/iframe/index.d.ts +17 -0
  185. package/es/iframe/index.js +6 -0
  186. package/es/iframe/style/index.css +363 -0
  187. package/es/iframe/style/index.d.ts +2 -0
  188. package/es/iframe/style/index.js +2 -0
  189. package/es/iframe/style/index.less +15 -0
  190. package/es/iframe-with-token/iframe-with-token.vue.d.ts +16 -0
  191. package/es/iframe-with-token/iframe-with-token.vue.js +94 -0
  192. package/es/iframe-with-token/index.d.ts +16 -0
  193. package/es/iframe-with-token/index.js +6 -0
  194. package/es/iframe-with-token/style/index.css +4 -0
  195. package/es/iframe-with-token/style/index.d.ts +2 -0
  196. package/es/iframe-with-token/style/index.js +2 -0
  197. package/es/iframe-with-token/style/index.less +4 -0
  198. package/es/index.d.ts +24 -0
  199. package/es/index.js +62 -0
  200. package/es/layout-header-more/index.d.ts +6 -0
  201. package/es/layout-header-more/index.js +6 -0
  202. package/es/layout-header-more/layout-header-more.vue.d.ts +6 -0
  203. package/es/layout-header-more/layout-header-more.vue.js +164 -0
  204. package/es/layout-header-more/style/index.css +41 -0
  205. package/es/layout-header-more/style/index.d.ts +2 -0
  206. package/es/layout-header-more/style/index.js +2 -0
  207. package/es/layout-header-more/style/index.less +49 -0
  208. package/es/layout-navs/index.d.ts +44 -0
  209. package/es/layout-navs/index.js +6 -0
  210. package/es/layout-navs/layout-navs.vue.d.ts +45 -0
  211. package/es/layout-navs/layout-navs.vue.js +87 -0
  212. package/es/layout-navs/style/index.css +11 -0
  213. package/es/layout-navs/style/index.d.ts +2 -0
  214. package/es/layout-navs/style/index.js +2 -0
  215. package/es/layout-navs/style/index.less +15 -0
  216. package/es/modal-theme/index.d.ts +52 -0
  217. package/es/modal-theme/index.js +6 -0
  218. package/es/modal-theme/modal-theme.vue.d.ts +53 -0
  219. package/es/modal-theme/modal-theme.vue.js +162 -0
  220. package/es/modal-theme/style/index.css +3 -0
  221. package/es/modal-theme/style/index.d.ts +2 -0
  222. package/es/modal-theme/style/index.js +2 -0
  223. package/es/modal-theme/style/index.less +3 -0
  224. package/es/modules.d.js +1 -0
  225. package/es/panal-bg/index.d.ts +16 -0
  226. package/es/panal-bg/index.js +6 -0
  227. package/es/panal-bg/panal-bg.vue.d.ts +16 -0
  228. package/es/panal-bg/panal-bg.vue.js +31 -0
  229. package/es/panal-bg/style/index.css +17 -0
  230. package/es/panal-bg/style/index.d.ts +2 -0
  231. package/es/panal-bg/style/index.js +2 -0
  232. package/es/panal-bg/style/index.less +20 -0
  233. package/es/panal-table/index.d.ts +6 -0
  234. package/es/panal-table/index.js +6 -0
  235. package/es/panal-table/panal-table.vue.d.ts +6 -0
  236. package/es/panal-table/panal-table.vue.js +76 -0
  237. package/es/panal-table/style/index.css +39 -0
  238. package/es/panal-table/style/index.d.ts +2 -0
  239. package/es/panal-table/style/index.js +2 -0
  240. package/es/panal-table/style/index.less +57 -0
  241. package/es/profile-avatar/index.d.ts +42 -0
  242. package/es/profile-avatar/index.js +6 -0
  243. package/es/profile-avatar/profile-avatar.vue.d.ts +42 -0
  244. package/es/profile-avatar/profile-avatar.vue.js +52 -0
  245. package/es/profile-avatar/style/index.css +383 -0
  246. package/es/profile-avatar/style/index.d.ts +2 -0
  247. package/es/profile-avatar/style/index.js +2 -0
  248. package/es/profile-avatar/style/index.less +40 -0
  249. package/es/side-menu/index.d.ts +27 -0
  250. package/es/side-menu/index.js +6 -0
  251. package/es/side-menu/side-menu-item.vue.d.ts +14 -0
  252. package/es/side-menu/side-menu-item.vue.js +45 -0
  253. package/es/side-menu/side-menu.vue.d.ts +29 -0
  254. package/es/side-menu/side-menu.vue.js +73 -0
  255. package/es/side-menu/side-sub-menu.vue.d.ts +14 -0
  256. package/es/side-menu/side-sub-menu.vue.js +62 -0
  257. package/es/side-menu/style/index.css +16 -0
  258. package/es/side-menu/style/index.d.ts +2 -0
  259. package/es/side-menu/style/index.js +2 -0
  260. package/es/side-menu/style/index.less +25 -0
  261. package/es/spread-navigation/index.d.ts +32 -0
  262. package/es/spread-navigation/index.js +6 -0
  263. package/es/spread-navigation/spread-navigation.vue.d.ts +33 -0
  264. package/es/spread-navigation/spread-navigation.vue.js +71 -0
  265. package/es/spread-navigation/style/index.css +64 -0
  266. package/es/spread-navigation/style/index.d.ts +2 -0
  267. package/es/spread-navigation/style/index.js +2 -0
  268. package/es/spread-navigation/style/index.less +74 -0
  269. package/es/spread-navigation/types.d.ts +9 -0
  270. package/es/spread-navigation/types.js +1 -0
  271. package/es/style/core.less +2 -0
  272. package/es/style/fonts/din/din-alternate-bold.ttf +0 -0
  273. package/es/style/fonts/din/din.css +4 -0
  274. package/es/style/fonts/iconfont/iconfont.css +525 -0
  275. package/es/style/fonts/iconfont/iconfont.ttf +0 -0
  276. package/es/style/fonts/iconfont/iconfont.woff +0 -0
  277. package/es/style/fonts/iconfont/iconfont.woff2 +0 -0
  278. package/es/style/global.less +26 -0
  279. package/es/style/images/empty-default.png +0 -0
  280. package/es/style/images/login-banner-one-dark.png +0 -0
  281. package/es/style/images/login-banner-one-gov.png +0 -0
  282. package/es/style/images/login-banner-one.png +0 -0
  283. package/es/style/images/login-banner-three-dark.png +0 -0
  284. package/es/style/images/login-banner-three-gov.png +0 -0
  285. package/es/style/images/login-banner-three.png +0 -0
  286. package/es/style/images/login-banner-two-dark.png +0 -0
  287. package/es/style/images/login-banner-two-gov.png +0 -0
  288. package/es/style/images/login-banner-two.png +0 -0
  289. package/es/style/images/login-bg-dark.png +0 -0
  290. package/es/style/images/login-bg-gov.png +0 -0
  291. package/es/style/images/login-bg.png +0 -0
  292. package/es/style/images/spread-navigation-bg.png +0 -0
  293. package/es/style/index.css +2654 -0
  294. package/es/style/index.d.ts +1 -0
  295. package/es/style/index.js +1 -0
  296. package/es/style/index.less +57 -0
  297. package/es/style/themes/dark.less +18 -0
  298. package/es/style/themes/gov.less +17 -0
  299. package/es/style/themes/index.css +350 -0
  300. package/es/style/themes/index.less +129 -0
  301. package/es/style/themes/light.less +77 -0
  302. package/es/style/variable.less +257 -0
  303. package/es/sub-title/index.d.ts +2 -0
  304. package/es/sub-title/index.js +6 -0
  305. package/es/sub-title/style/index.css +370 -0
  306. package/es/sub-title/style/index.d.ts +2 -0
  307. package/es/sub-title/style/index.js +2 -0
  308. package/es/sub-title/style/index.less +23 -0
  309. package/es/sub-title/sub-title.vue.d.ts +2 -0
  310. package/es/sub-title/sub-title.vue.js +14 -0
  311. package/es/top-menu/index.d.ts +17 -0
  312. package/es/top-menu/index.js +6 -0
  313. package/es/top-menu/style/index.css +33 -0
  314. package/es/top-menu/style/index.d.ts +2 -0
  315. package/es/top-menu/style/index.js +2 -0
  316. package/es/top-menu/style/index.less +36 -0
  317. package/es/top-menu/top-menu.vue.d.ts +19 -0
  318. package/es/top-menu/top-menu.vue.js +57 -0
  319. package/es/view-login/index.d.ts +33 -0
  320. package/es/view-login/index.js +6 -0
  321. package/es/view-login/style/index.css +168 -0
  322. package/es/view-login/style/index.d.ts +2 -0
  323. package/es/view-login/style/index.js +2 -0
  324. package/es/view-login/style/index.less +209 -0
  325. package/es/view-login/view-login.vue.d.ts +33 -0
  326. package/es/view-login/view-login.vue.js +195 -0
  327. package/es/view-rec-box/index.d.ts +12 -0
  328. package/es/view-rec-box/index.js +6 -0
  329. package/es/view-rec-box/service.d.ts +6 -0
  330. package/es/view-rec-box/service.js +10 -0
  331. package/es/view-rec-box/style/index.css +4 -0
  332. package/es/view-rec-box/style/index.d.ts +2 -0
  333. package/es/view-rec-box/style/index.js +2 -0
  334. package/es/view-rec-box/style/index.less +4 -0
  335. package/es/view-rec-box/view-rec-box.vue.d.ts +12 -0
  336. package/es/view-rec-box/view-rec-box.vue.js +102 -0
  337. package/lib/_virtual/plugin-vue_export-helper.js +13 -0
  338. package/lib/a-alert/style/index.css +407 -0
  339. package/lib/a-alert/style/index.d.ts +2 -0
  340. package/lib/a-alert/style/index.js +2 -0
  341. package/lib/a-alert/style/index.less +75 -0
  342. package/lib/a-avatar/style/index.css +3 -0
  343. package/lib/a-avatar/style/index.d.ts +2 -0
  344. package/lib/a-avatar/style/index.js +2 -0
  345. package/lib/a-avatar/style/index.less +3 -0
  346. package/lib/a-badge/style/index.css +3 -0
  347. package/lib/a-badge/style/index.d.ts +2 -0
  348. package/lib/a-badge/style/index.js +2 -0
  349. package/lib/a-badge/style/index.less +5 -0
  350. package/lib/a-button/style/index.css +512 -0
  351. package/lib/a-button/style/index.d.ts +2 -0
  352. package/lib/a-button/style/index.js +2 -0
  353. package/lib/a-button/style/index.less +227 -0
  354. package/lib/a-carousel/style/index.css +3 -0
  355. package/lib/a-carousel/style/index.d.ts +2 -0
  356. package/lib/a-carousel/style/index.js +2 -0
  357. package/lib/a-carousel/style/index.less +9 -0
  358. package/lib/a-cascader/style/index.css +442 -0
  359. package/lib/a-cascader/style/index.d.ts +2 -0
  360. package/lib/a-cascader/style/index.js +2 -0
  361. package/lib/a-cascader/style/index.less +47 -0
  362. package/lib/a-checkbox/style/index.css +383 -0
  363. package/lib/a-checkbox/style/index.d.ts +2 -0
  364. package/lib/a-checkbox/style/index.js +2 -0
  365. package/lib/a-checkbox/style/index.less +65 -0
  366. package/lib/a-collapse/style/index.css +23 -0
  367. package/lib/a-collapse/style/index.d.ts +2 -0
  368. package/lib/a-collapse/style/index.js +2 -0
  369. package/lib/a-collapse/style/index.less +29 -0
  370. package/lib/a-date-picker/style/index.css +26 -0
  371. package/lib/a-date-picker/style/index.d.ts +2 -0
  372. package/lib/a-date-picker/style/index.js +2 -0
  373. package/lib/a-date-picker/style/index.less +53 -0
  374. package/lib/a-description/style/index.css +8 -0
  375. package/lib/a-description/style/index.d.ts +2 -0
  376. package/lib/a-description/style/index.js +2 -0
  377. package/lib/a-description/style/index.less +15 -0
  378. package/lib/a-drawer/style/index.css +38 -0
  379. package/lib/a-drawer/style/index.d.ts +2 -0
  380. package/lib/a-drawer/style/index.js +2 -0
  381. package/lib/a-drawer/style/index.less +53 -0
  382. package/lib/a-dropdown/style/index.css +9 -0
  383. package/lib/a-dropdown/style/index.d.ts +2 -0
  384. package/lib/a-dropdown/style/index.js +2 -0
  385. package/lib/a-dropdown/style/index.less +19 -0
  386. package/lib/a-empty/style/index.css +48 -0
  387. package/lib/a-empty/style/index.d.ts +2 -0
  388. package/lib/a-empty/style/index.js +2 -0
  389. package/lib/a-empty/style/index.less +62 -0
  390. package/lib/a-form/style/index.css +366 -0
  391. package/lib/a-form/style/index.d.ts +2 -0
  392. package/lib/a-form/style/index.js +2 -0
  393. package/lib/a-form/style/index.less +38 -0
  394. package/lib/a-input/style/index.css +373 -0
  395. package/lib/a-input/style/index.d.ts +2 -0
  396. package/lib/a-input/style/index.js +2 -0
  397. package/lib/a-input/style/index.less +41 -0
  398. package/lib/a-input-number/style/index.css +396 -0
  399. package/lib/a-input-number/style/index.d.ts +2 -0
  400. package/lib/a-input-number/style/index.js +2 -0
  401. package/lib/a-input-number/style/index.less +12 -0
  402. package/lib/a-menu/style/index.css +442 -0
  403. package/lib/a-menu/style/index.d.ts +2 -0
  404. package/lib/a-menu/style/index.js +2 -0
  405. package/lib/a-menu/style/index.less +116 -0
  406. package/lib/a-message/style/index.css +361 -0
  407. package/lib/a-message/style/index.d.ts +2 -0
  408. package/lib/a-message/style/index.js +2 -0
  409. package/lib/a-message/style/index.less +17 -0
  410. package/lib/a-modal/style/index.css +381 -0
  411. package/lib/a-modal/style/index.d.ts +2 -0
  412. package/lib/a-modal/style/index.js +2 -0
  413. package/lib/a-modal/style/index.less +41 -0
  414. package/lib/a-notification/style/index.css +407 -0
  415. package/lib/a-notification/style/index.d.ts +2 -0
  416. package/lib/a-notification/style/index.js +2 -0
  417. package/lib/a-notification/style/index.less +79 -0
  418. package/lib/a-pageheader/style/index.css +12 -0
  419. package/lib/a-pageheader/style/index.d.ts +2 -0
  420. package/lib/a-pageheader/style/index.js +2 -0
  421. package/lib/a-pageheader/style/index.less +16 -0
  422. package/lib/a-pagination/style/index.css +4 -0
  423. package/lib/a-pagination/style/index.d.ts +2 -0
  424. package/lib/a-pagination/style/index.js +2 -0
  425. package/lib/a-pagination/style/index.less +8 -0
  426. package/lib/a-popover/style/index.css +439 -0
  427. package/lib/a-popover/style/index.d.ts +2 -0
  428. package/lib/a-popover/style/index.js +2 -0
  429. package/lib/a-popover/style/index.less +115 -0
  430. package/lib/a-progress/style/index.css +409 -0
  431. package/lib/a-progress/style/index.d.ts +2 -0
  432. package/lib/a-progress/style/index.js +2 -0
  433. package/lib/a-progress/style/index.less +93 -0
  434. package/lib/a-radio/style/index.css +389 -0
  435. package/lib/a-radio/style/index.d.ts +2 -0
  436. package/lib/a-radio/style/index.js +2 -0
  437. package/lib/a-radio/style/index.less +59 -0
  438. package/lib/a-select/style/index.css +373 -0
  439. package/lib/a-select/style/index.d.ts +2 -0
  440. package/lib/a-select/style/index.js +2 -0
  441. package/lib/a-select/style/index.less +37 -0
  442. package/lib/a-select-tree/style/index.css +526 -0
  443. package/lib/a-select-tree/style/index.d.ts +2 -0
  444. package/lib/a-select-tree/style/index.js +2 -0
  445. package/lib/a-select-tree/style/index.less +16 -0
  446. package/lib/a-steps/style/index.css +37 -0
  447. package/lib/a-steps/style/index.d.ts +2 -0
  448. package/lib/a-steps/style/index.js +2 -0
  449. package/lib/a-steps/style/index.less +66 -0
  450. package/lib/a-switch/style/index.css +359 -0
  451. package/lib/a-switch/style/index.d.ts +2 -0
  452. package/lib/a-switch/style/index.js +2 -0
  453. package/lib/a-switch/style/index.less +18 -0
  454. package/lib/a-table/style/index.css +12 -0
  455. package/lib/a-table/style/index.d.ts +2 -0
  456. package/lib/a-table/style/index.js +2 -0
  457. package/lib/a-table/style/index.less +25 -0
  458. package/lib/a-tabs/style/index.css +83 -0
  459. package/lib/a-tabs/style/index.d.ts +2 -0
  460. package/lib/a-tabs/style/index.js +2 -0
  461. package/lib/a-tabs/style/index.less +104 -0
  462. package/lib/a-tooltip/style/index.css +5 -0
  463. package/lib/a-tooltip/style/index.d.ts +2 -0
  464. package/lib/a-tooltip/style/index.js +2 -0
  465. package/lib/a-tooltip/style/index.less +7 -0
  466. package/lib/a-tree/style/index.css +457 -0
  467. package/lib/a-tree/style/index.d.ts +2 -0
  468. package/lib/a-tree/style/index.js +2 -0
  469. package/lib/a-tree/style/index.less +84 -0
  470. package/lib/a-upload/style/index.css +488 -0
  471. package/lib/a-upload/style/index.d.ts +2 -0
  472. package/lib/a-upload/style/index.js +2 -0
  473. package/lib/a-upload/style/index.less +180 -0
  474. package/lib/collapse-button/collapse-button.vue.d.ts +45 -0
  475. package/lib/collapse-button/collapse-button.vue.js +58 -0
  476. package/lib/collapse-button/index.d.ts +45 -0
  477. package/lib/collapse-button/index.js +11 -0
  478. package/lib/collapse-button/style/index.css +47 -0
  479. package/lib/collapse-button/style/index.d.ts +2 -0
  480. package/lib/collapse-button/style/index.js +2 -0
  481. package/lib/collapse-button/style/index.less +58 -0
  482. package/lib/empty/index.d.ts +14 -0
  483. package/lib/empty/index.js +11 -0
  484. package/lib/empty/index.vue.d.ts +14 -0
  485. package/lib/empty/index.vue.js +28 -0
  486. package/lib/empty/style/index.css +15 -0
  487. package/lib/empty/style/index.d.ts +2 -0
  488. package/lib/empty/style/index.js +2 -0
  489. package/lib/empty/style/index.less +17 -0
  490. package/lib/iframe/iframe.vue.d.ts +17 -0
  491. package/lib/iframe/iframe.vue.js +46 -0
  492. package/lib/iframe/index.d.ts +17 -0
  493. package/lib/iframe/index.js +11 -0
  494. package/lib/iframe/style/index.css +363 -0
  495. package/lib/iframe/style/index.d.ts +2 -0
  496. package/lib/iframe/style/index.js +2 -0
  497. package/lib/iframe/style/index.less +15 -0
  498. package/lib/iframe-with-token/iframe-with-token.vue.d.ts +16 -0
  499. package/lib/iframe-with-token/iframe-with-token.vue.js +102 -0
  500. package/lib/iframe-with-token/index.d.ts +16 -0
  501. package/lib/iframe-with-token/index.js +11 -0
  502. package/lib/iframe-with-token/style/index.css +4 -0
  503. package/lib/iframe-with-token/style/index.d.ts +2 -0
  504. package/lib/iframe-with-token/style/index.js +2 -0
  505. package/lib/iframe-with-token/style/index.less +4 -0
  506. package/lib/index.d.ts +24 -0
  507. package/lib/index.js +67 -0
  508. package/lib/layout-header-more/index.d.ts +6 -0
  509. package/lib/layout-header-more/index.js +11 -0
  510. package/lib/layout-header-more/layout-header-more.vue.d.ts +6 -0
  511. package/lib/layout-header-more/layout-header-more.vue.js +168 -0
  512. package/lib/layout-header-more/style/index.css +41 -0
  513. package/lib/layout-header-more/style/index.d.ts +2 -0
  514. package/lib/layout-header-more/style/index.js +2 -0
  515. package/lib/layout-header-more/style/index.less +49 -0
  516. package/lib/layout-navs/index.d.ts +44 -0
  517. package/lib/layout-navs/index.js +11 -0
  518. package/lib/layout-navs/layout-navs.vue.d.ts +45 -0
  519. package/lib/layout-navs/layout-navs.vue.js +91 -0
  520. package/lib/layout-navs/style/index.css +11 -0
  521. package/lib/layout-navs/style/index.d.ts +2 -0
  522. package/lib/layout-navs/style/index.js +2 -0
  523. package/lib/layout-navs/style/index.less +15 -0
  524. package/lib/modal-theme/index.d.ts +52 -0
  525. package/lib/modal-theme/index.js +11 -0
  526. package/lib/modal-theme/modal-theme.vue.d.ts +53 -0
  527. package/lib/modal-theme/modal-theme.vue.js +166 -0
  528. package/lib/modal-theme/style/index.css +3 -0
  529. package/lib/modal-theme/style/index.d.ts +2 -0
  530. package/lib/modal-theme/style/index.js +2 -0
  531. package/lib/modal-theme/style/index.less +3 -0
  532. package/lib/modules.d.js +4 -0
  533. package/lib/panal-bg/index.d.ts +16 -0
  534. package/lib/panal-bg/index.js +11 -0
  535. package/lib/panal-bg/panal-bg.vue.d.ts +16 -0
  536. package/lib/panal-bg/panal-bg.vue.js +35 -0
  537. package/lib/panal-bg/style/index.css +17 -0
  538. package/lib/panal-bg/style/index.d.ts +2 -0
  539. package/lib/panal-bg/style/index.js +2 -0
  540. package/lib/panal-bg/style/index.less +20 -0
  541. package/lib/panal-table/index.d.ts +6 -0
  542. package/lib/panal-table/index.js +11 -0
  543. package/lib/panal-table/panal-table.vue.d.ts +6 -0
  544. package/lib/panal-table/panal-table.vue.js +80 -0
  545. package/lib/panal-table/style/index.css +39 -0
  546. package/lib/panal-table/style/index.d.ts +2 -0
  547. package/lib/panal-table/style/index.js +2 -0
  548. package/lib/panal-table/style/index.less +57 -0
  549. package/lib/profile-avatar/index.d.ts +42 -0
  550. package/lib/profile-avatar/index.js +11 -0
  551. package/lib/profile-avatar/profile-avatar.vue.d.ts +42 -0
  552. package/lib/profile-avatar/profile-avatar.vue.js +56 -0
  553. package/lib/profile-avatar/style/index.css +383 -0
  554. package/lib/profile-avatar/style/index.d.ts +2 -0
  555. package/lib/profile-avatar/style/index.js +2 -0
  556. package/lib/profile-avatar/style/index.less +40 -0
  557. package/lib/side-menu/index.d.ts +27 -0
  558. package/lib/side-menu/index.js +11 -0
  559. package/lib/side-menu/side-menu-item.vue.d.ts +14 -0
  560. package/lib/side-menu/side-menu-item.vue.js +49 -0
  561. package/lib/side-menu/side-menu.vue.d.ts +29 -0
  562. package/lib/side-menu/side-menu.vue.js +77 -0
  563. package/lib/side-menu/side-sub-menu.vue.d.ts +14 -0
  564. package/lib/side-menu/side-sub-menu.vue.js +66 -0
  565. package/lib/side-menu/style/index.css +16 -0
  566. package/lib/side-menu/style/index.d.ts +2 -0
  567. package/lib/side-menu/style/index.js +2 -0
  568. package/lib/side-menu/style/index.less +25 -0
  569. package/lib/spread-navigation/index.d.ts +32 -0
  570. package/lib/spread-navigation/index.js +11 -0
  571. package/lib/spread-navigation/spread-navigation.vue.d.ts +33 -0
  572. package/lib/spread-navigation/spread-navigation.vue.js +75 -0
  573. package/lib/spread-navigation/style/index.css +64 -0
  574. package/lib/spread-navigation/style/index.d.ts +2 -0
  575. package/lib/spread-navigation/style/index.js +2 -0
  576. package/lib/spread-navigation/style/index.less +74 -0
  577. package/lib/spread-navigation/types.d.ts +9 -0
  578. package/lib/spread-navigation/types.js +2 -0
  579. package/lib/style/core.less +2 -0
  580. package/lib/style/fonts/din/din-alternate-bold.ttf +0 -0
  581. package/lib/style/fonts/din/din.css +4 -0
  582. package/lib/style/fonts/iconfont/iconfont.css +525 -0
  583. package/lib/style/fonts/iconfont/iconfont.ttf +0 -0
  584. package/lib/style/fonts/iconfont/iconfont.woff +0 -0
  585. package/lib/style/fonts/iconfont/iconfont.woff2 +0 -0
  586. package/lib/style/global.less +26 -0
  587. package/lib/style/images/empty-default.png +0 -0
  588. package/lib/style/images/login-banner-one-dark.png +0 -0
  589. package/lib/style/images/login-banner-one-gov.png +0 -0
  590. package/lib/style/images/login-banner-one.png +0 -0
  591. package/lib/style/images/login-banner-three-dark.png +0 -0
  592. package/lib/style/images/login-banner-three-gov.png +0 -0
  593. package/lib/style/images/login-banner-three.png +0 -0
  594. package/lib/style/images/login-banner-two-dark.png +0 -0
  595. package/lib/style/images/login-banner-two-gov.png +0 -0
  596. package/lib/style/images/login-banner-two.png +0 -0
  597. package/lib/style/images/login-bg-dark.png +0 -0
  598. package/lib/style/images/login-bg-gov.png +0 -0
  599. package/lib/style/images/login-bg.png +0 -0
  600. package/lib/style/images/spread-navigation-bg.png +0 -0
  601. package/lib/style/index.css +2654 -0
  602. package/lib/style/index.d.ts +1 -0
  603. package/lib/style/index.js +1 -0
  604. package/lib/style/index.less +57 -0
  605. package/lib/style/themes/dark.less +18 -0
  606. package/lib/style/themes/gov.less +17 -0
  607. package/lib/style/themes/index.css +350 -0
  608. package/lib/style/themes/index.less +129 -0
  609. package/lib/style/themes/light.less +77 -0
  610. package/lib/style/variable.less +257 -0
  611. package/lib/sub-title/index.d.ts +2 -0
  612. package/lib/sub-title/index.js +11 -0
  613. package/lib/sub-title/style/index.css +370 -0
  614. package/lib/sub-title/style/index.d.ts +2 -0
  615. package/lib/sub-title/style/index.js +2 -0
  616. package/lib/sub-title/style/index.less +23 -0
  617. package/lib/sub-title/sub-title.vue.d.ts +2 -0
  618. package/lib/sub-title/sub-title.vue.js +18 -0
  619. package/lib/top-menu/index.d.ts +17 -0
  620. package/lib/top-menu/index.js +11 -0
  621. package/lib/top-menu/style/index.css +33 -0
  622. package/lib/top-menu/style/index.d.ts +2 -0
  623. package/lib/top-menu/style/index.js +2 -0
  624. package/lib/top-menu/style/index.less +36 -0
  625. package/lib/top-menu/top-menu.vue.d.ts +19 -0
  626. package/lib/top-menu/top-menu.vue.js +61 -0
  627. package/lib/view-login/index.d.ts +33 -0
  628. package/lib/view-login/index.js +11 -0
  629. package/lib/view-login/style/index.css +168 -0
  630. package/lib/view-login/style/index.d.ts +2 -0
  631. package/lib/view-login/style/index.js +2 -0
  632. package/lib/view-login/style/index.less +209 -0
  633. package/lib/view-login/view-login.vue.d.ts +33 -0
  634. package/lib/view-login/view-login.vue.js +199 -0
  635. package/lib/view-rec-box/index.d.ts +12 -0
  636. package/lib/view-rec-box/index.js +11 -0
  637. package/lib/view-rec-box/service.d.ts +6 -0
  638. package/lib/view-rec-box/service.js +14 -0
  639. package/lib/view-rec-box/style/index.css +4 -0
  640. package/lib/view-rec-box/style/index.d.ts +2 -0
  641. package/lib/view-rec-box/style/index.js +2 -0
  642. package/lib/view-rec-box/style/index.less +4 -0
  643. package/lib/view-rec-box/view-rec-box.vue.d.ts +12 -0
  644. package/lib/view-rec-box/view-rec-box.vue.js +106 -0
  645. package/package.json +88 -0
package/dist/index.js ADDED
@@ -0,0 +1,1413 @@
1
+ /*! zartd v0.0.10 */
2
+
3
+ (function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@ega/utils'), require('vue'), require('ant-design-vue'), require('qs'), require('@ega/hooks'), require('ant-design-vue/es'), require('@vueuse/core'), require('vue-router'), require('pinia')) :
5
+ typeof define === 'function' && define.amd ? define(['exports', '@ega/utils', 'vue', 'ant-design-vue', 'qs', '@ega/hooks', 'ant-design-vue/es', '@vueuse/core', 'vue-router', 'pinia'], factory) :
6
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.zartd = {}, global.EgaUtils, global.Vue, global.antd, global.Qs, global.EgaHooks, global.antd, global.VueuseCore, global.VueRouter, global.Pinia));
7
+ })(this, (function (exports, utils, vue, antDesignVue, qs, hooks, es, core, vueRouter, pinia) { 'use strict';
8
+
9
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
+
11
+ var qs__default = /*#__PURE__*/_interopDefaultLegacy(qs);
12
+
13
+ var _export_sfc = (sfc, props) => {
14
+ const target = sfc.__vccOpts || sfc;
15
+ for (const [key, val] of props) {
16
+ target[key] = val;
17
+ }
18
+ return target;
19
+ };
20
+
21
+ const _sfc_main$h = vue.defineComponent({
22
+ name: "ZtCollapseButton",
23
+ props: {
24
+ direction: { type: String, default: "horizontal" },
25
+ collapsed: { type: Boolean, default: false },
26
+ storageKey: { type: String, default: "" },
27
+ alwaysVisible: { type: Boolean, default: false }
28
+ },
29
+ emits: ["update:collapsed"],
30
+ setup(props, { emit }) {
31
+ function toggle() {
32
+ emit("update:collapsed", !props.collapsed);
33
+ }
34
+ vue.watch(
35
+ () => props.collapsed,
36
+ (val) => {
37
+ if (props.storageKey) {
38
+ utils.storage.set(props.storageKey, val);
39
+ }
40
+ }
41
+ );
42
+ vue.onBeforeMount(() => {
43
+ if (props.storageKey) {
44
+ utils.storage.get(props.storageKey).then((value) => {
45
+ emit("update:collapsed", value != null ? value : false);
46
+ });
47
+ }
48
+ });
49
+ return {
50
+ toggle
51
+ };
52
+ }
53
+ });
54
+ const _hoisted_1$d = /* @__PURE__ */ vue.createElementVNode("i", { class: "base-iconfont base-icon-triangle" }, null, -1);
55
+ const _hoisted_2$7 = [
56
+ _hoisted_1$d
57
+ ];
58
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
59
+ return vue.openBlock(), vue.createElementBlock("div", {
60
+ class: vue.normalizeClass(["zt-collapse-button", `direction-${_ctx.direction}`])
61
+ }, [
62
+ vue.createElementVNode("div", {
63
+ class: vue.normalizeClass(["animate__animated", [{ "is-collapse": _ctx.collapsed, "is-always-visible": _ctx.alwaysVisible }]]),
64
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.toggle && _ctx.toggle(...args))
65
+ }, _hoisted_2$7, 2)
66
+ ], 2);
67
+ }
68
+ var CollapseButton = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/collapse-button/collapse-button.vue"]]);
69
+
70
+ const ZtCollapseButton = utils.withInstall(CollapseButton);
71
+
72
+ const _sfc_main$g = vue.defineComponent({
73
+ name: "ZtEmpty",
74
+ props: {
75
+ description: { type: String, default: "" }
76
+ }
77
+ });
78
+ const _hoisted_1$c = { class: "zt-empty" };
79
+ const _hoisted_2$6 = /* @__PURE__ */ vue.createElementVNode("div", { class: "zt-empty-img" }, null, -1);
80
+ const _hoisted_3$6 = { class: "zt-empty-description" };
81
+ const _hoisted_4$5 = { key: 1 };
82
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
83
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
84
+ _hoisted_2$6,
85
+ vue.createElementVNode("div", _hoisted_3$6, [
86
+ _ctx.$slots.description ? vue.renderSlot(_ctx.$slots, "description", { key: 0 }) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$5, vue.toDisplayString(_ctx.description || "\u6682\u65E0\u6570\u636E"), 1))
87
+ ])
88
+ ]);
89
+ }
90
+ var Empty = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/empty/index.vue"]]);
91
+
92
+ const ZtEmpty = utils.withInstall(Empty);
93
+
94
+ const _sfc_main$f = vue.defineComponent({
95
+ name: "ZtIframe",
96
+ props: {
97
+ src: { type: String, default: "" }
98
+ },
99
+ setup(props) {
100
+ const loading = vue.ref(true);
101
+ const href = vue.ref();
102
+ vue.watch(
103
+ () => props.src,
104
+ (val) => {
105
+ loading.value = true;
106
+ href.value = val;
107
+ setTimeout(() => {
108
+ loading.value = false;
109
+ }, 500);
110
+ }
111
+ );
112
+ return {
113
+ loading,
114
+ href
115
+ };
116
+ }
117
+ });
118
+ const _hoisted_1$b = ["src"];
119
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
120
+ const _component_a_spin = vue.resolveComponent("a-spin");
121
+ return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "zt-iframe" }, _ctx.$attrs), [
122
+ _ctx.loading ? (vue.openBlock(), vue.createBlock(_component_a_spin, { key: 0 })) : (vue.openBlock(), vue.createElementBlock("iframe", {
123
+ key: 1,
124
+ scrolling: "no",
125
+ frameBorder: "0",
126
+ src: _ctx.href
127
+ }, null, 8, _hoisted_1$b))
128
+ ], 16);
129
+ }
130
+ var Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/iframe/iframe.vue"]]);
131
+
132
+ const ZtIframe = utils.withInstall(Iframe);
133
+
134
+ var __defProp = Object.defineProperty;
135
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
136
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
137
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
138
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
139
+ var __spreadValues = (a, b) => {
140
+ for (var prop in b || (b = {}))
141
+ if (__hasOwnProp.call(b, prop))
142
+ __defNormalProp(a, prop, b[prop]);
143
+ if (__getOwnPropSymbols)
144
+ for (var prop of __getOwnPropSymbols(b)) {
145
+ if (__propIsEnum.call(b, prop))
146
+ __defNormalProp(a, prop, b[prop]);
147
+ }
148
+ return a;
149
+ };
150
+ var __async$4 = (__this, __arguments, generator) => {
151
+ return new Promise((resolve, reject) => {
152
+ var fulfilled = (value) => {
153
+ try {
154
+ step(generator.next(value));
155
+ } catch (e) {
156
+ reject(e);
157
+ }
158
+ };
159
+ var rejected = (value) => {
160
+ try {
161
+ step(generator.throw(value));
162
+ } catch (e) {
163
+ reject(e);
164
+ }
165
+ };
166
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
167
+ step((generator = generator.apply(__this, __arguments)).next());
168
+ });
169
+ };
170
+ const _sfc_main$e = vue.defineComponent({
171
+ name: "ZtIframeWithToken",
172
+ props: {
173
+ src: { type: String, default: "" }
174
+ },
175
+ setup(props) {
176
+ const { global } = hooks.useGlobal();
177
+ const href = vue.ref();
178
+ vue.watch(
179
+ () => props.src,
180
+ (val) => __async$4(this, null, function* () {
181
+ try {
182
+ if (!val) {
183
+ throw new Error(val);
184
+ }
185
+ const accessToken = yield global == null ? void 0 : global.$storage.get("auth-access-token");
186
+ const token = { cas_type: "v22", cas_token: accessToken };
187
+ const url = new URL(val, window.location.origin);
188
+ let { origin, pathname, hash, search } = url;
189
+ if (hash.includes("?")) {
190
+ const r = hash.split(/(#.*)(\?.*)/g);
191
+ for (const s of r) {
192
+ if (s.startsWith("#")) {
193
+ hash = s;
194
+ } else if (s.startsWith("?")) {
195
+ search = s;
196
+ }
197
+ }
198
+ }
199
+ const query = qs__default["default"].parse(search, { ignoreQueryPrefix: true });
200
+ const searchWithToken = qs__default["default"].stringify(__spreadValues(__spreadValues({}, query), token), { addQueryPrefix: true });
201
+ const src = `${origin}${pathname}${hash}${searchWithToken}`;
202
+ console.log("\u8BBF\u95EE\u94FE\u63A5", { src });
203
+ href.value = src;
204
+ } catch (error) {
205
+ console.log(error);
206
+ antDesignVue.message.error(`\u94FE\u63A5${val ? ` ${val} ` : ""}\u9519\u8BEF\uFF0C\u8BF7\u914D\u7F6E\u5408\u6CD5\u7684 URL\uFF01`);
207
+ }
208
+ })
209
+ );
210
+ return {
211
+ href
212
+ };
213
+ }
214
+ });
215
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
216
+ const _component_zt_iframe = vue.resolveComponent("zt-iframe");
217
+ return vue.openBlock(), vue.createBlock(_component_zt_iframe, vue.mergeProps({ class: "zt-iframe-with-token" }, _ctx.$attrs, { src: _ctx.href }), null, 16, ["src"]);
218
+ }
219
+ var IframeWithToken = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/iframe-with-token/iframe-with-token.vue"]]);
220
+
221
+ const ZtIframeWithToken = utils.withInstall(IframeWithToken);
222
+
223
+ var __async$3 = (__this, __arguments, generator) => {
224
+ return new Promise((resolve, reject) => {
225
+ var fulfilled = (value) => {
226
+ try {
227
+ step(generator.next(value));
228
+ } catch (e) {
229
+ reject(e);
230
+ }
231
+ };
232
+ var rejected = (value) => {
233
+ try {
234
+ step(generator.throw(value));
235
+ } catch (e) {
236
+ reject(e);
237
+ }
238
+ };
239
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
240
+ step((generator = generator.apply(__this, __arguments)).next());
241
+ });
242
+ };
243
+ const _sfc_main$d = vue.defineComponent({
244
+ name: "ZtLayoutHeaderMore",
245
+ components: {
246
+ AButton: es.Button,
247
+ APopover: es.Popover,
248
+ ASpace: es.Space
249
+ },
250
+ setup() {
251
+ const [themeVisible, themeToggle] = core.useToggle();
252
+ const { global } = hooks.useGlobal();
253
+ function handleSkinClick() {
254
+ themeToggle();
255
+ }
256
+ function handleLogoutClick() {
257
+ es.Modal.confirm({
258
+ title: "\u9000\u51FA\u767B\u5F55",
259
+ content: "\u662F\u5426\u786E\u8BA4\u9000\u51FA\u767B\u5F55?",
260
+ onOk() {
261
+ return __async$3(this, null, function* () {
262
+ yield global == null ? void 0 : global.$login.logout();
263
+ });
264
+ }
265
+ });
266
+ }
267
+ return {
268
+ themeVisible,
269
+ handleSkinClick,
270
+ handleLogoutClick
271
+ };
272
+ }
273
+ });
274
+ const _hoisted_1$a = { class: "zt-layout-header-more" };
275
+ const _hoisted_2$5 = /* @__PURE__ */ vue.createElementVNode("i", { class: "base-iconfont base-icon-more" }, null, -1);
276
+ const _hoisted_3$5 = /* @__PURE__ */ vue.createElementVNode("i", { class: "base-iconfont base-icon-user" }, null, -1);
277
+ const _hoisted_4$4 = /* @__PURE__ */ vue.createTextVNode(" \u4E2A\u4EBA\u4E2D\u5FC3 ");
278
+ const _hoisted_5$3 = /* @__PURE__ */ vue.createElementVNode("i", { class: "base-iconfont base-icon-skin" }, null, -1);
279
+ const _hoisted_6$2 = /* @__PURE__ */ vue.createTextVNode(" \u4E3B\u9898\u8BBE\u7F6E ");
280
+ const _hoisted_7$1 = /* @__PURE__ */ vue.createElementVNode("i", { class: "base-iconfont base-icon-config" }, null, -1);
281
+ const _hoisted_8$1 = /* @__PURE__ */ vue.createTextVNode(" \u7CFB\u7EDF\u8BBE\u7F6E ");
282
+ const _hoisted_9$1 = /* @__PURE__ */ vue.createElementVNode("i", { class: "base-iconfont base-icon-info-about" }, null, -1);
283
+ const _hoisted_10$1 = /* @__PURE__ */ vue.createTextVNode(" \u5173\u4E8E\u6211\u4EEC ");
284
+ const _hoisted_11$1 = /* @__PURE__ */ vue.createElementVNode("i", { class: "base-iconfont base-icon-logout" }, null, -1);
285
+ const _hoisted_12 = /* @__PURE__ */ vue.createTextVNode(" \u6CE8\u9500 ");
286
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
287
+ const _component_a_button = vue.resolveComponent("a-button");
288
+ const _component_a_space = vue.resolveComponent("a-space");
289
+ const _component_a_popover = vue.resolveComponent("a-popover");
290
+ const _component_zt_modal_theme = vue.resolveComponent("zt-modal-theme");
291
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
292
+ vue.createElementVNode("div", _hoisted_1$a, [
293
+ vue.createVNode(_component_a_popover, { placement: "bottomRight" }, {
294
+ content: vue.withCtx(() => [
295
+ vue.createVNode(_component_a_space, {
296
+ direction: "vertical",
297
+ size: 0
298
+ }, {
299
+ default: vue.withCtx(() => [
300
+ vue.createVNode(_component_a_button, {
301
+ class: "zt-layout-header-more-button",
302
+ type: "text"
303
+ }, {
304
+ icon: vue.withCtx(() => [
305
+ _hoisted_3$5
306
+ ]),
307
+ default: vue.withCtx(() => [
308
+ _hoisted_4$4
309
+ ]),
310
+ _: 1
311
+ }),
312
+ vue.createVNode(_component_a_button, {
313
+ class: "zt-layout-header-more-button",
314
+ type: "text",
315
+ onClick: _ctx.handleSkinClick
316
+ }, {
317
+ icon: vue.withCtx(() => [
318
+ _hoisted_5$3
319
+ ]),
320
+ default: vue.withCtx(() => [
321
+ _hoisted_6$2
322
+ ]),
323
+ _: 1
324
+ }, 8, ["onClick"]),
325
+ vue.createVNode(_component_a_button, {
326
+ class: "zt-layout-header-more-button",
327
+ type: "text"
328
+ }, {
329
+ icon: vue.withCtx(() => [
330
+ _hoisted_7$1
331
+ ]),
332
+ default: vue.withCtx(() => [
333
+ _hoisted_8$1
334
+ ]),
335
+ _: 1
336
+ }),
337
+ vue.createVNode(_component_a_button, {
338
+ class: "zt-layout-header-more-button",
339
+ type: "text"
340
+ }, {
341
+ icon: vue.withCtx(() => [
342
+ _hoisted_9$1
343
+ ]),
344
+ default: vue.withCtx(() => [
345
+ _hoisted_10$1
346
+ ]),
347
+ _: 1
348
+ }),
349
+ vue.createVNode(_component_a_button, {
350
+ class: "zt-layout-header-more-button button-logout",
351
+ type: "text",
352
+ onClick: _ctx.handleLogoutClick
353
+ }, {
354
+ icon: vue.withCtx(() => [
355
+ _hoisted_11$1
356
+ ]),
357
+ default: vue.withCtx(() => [
358
+ _hoisted_12
359
+ ]),
360
+ _: 1
361
+ }, 8, ["onClick"])
362
+ ]),
363
+ _: 1
364
+ })
365
+ ]),
366
+ default: vue.withCtx(() => [
367
+ _hoisted_2$5
368
+ ]),
369
+ _: 1
370
+ })
371
+ ]),
372
+ vue.createVNode(_component_zt_modal_theme, {
373
+ visible: _ctx.themeVisible,
374
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.themeVisible = $event)
375
+ }, null, 8, ["visible"])
376
+ ], 64);
377
+ }
378
+ var LayoutHeaderMore = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/layout-header-more/layout-header-more.vue"]]);
379
+
380
+ const ZtLayoutHeaderMore = utils.withInstall(LayoutHeaderMore);
381
+
382
+ const _sfc_main$c = vue.defineComponent({
383
+ name: "ZtLayoutNavs",
384
+ components: {
385
+ ATabs: es.Tabs,
386
+ ATabPane: es.TabPane
387
+ },
388
+ setup() {
389
+ const router = vueRouter.useRouter();
390
+ const navStore = hooks.useNavStore();
391
+ const visible = vue.ref(false);
392
+ const activeTabKey = vue.computed(() => navStore.getNavKey(navStore.nav));
393
+ function handleTabClick(activeKey) {
394
+ if (typeof activeKey === "string" && activeTabKey.value !== activeKey) {
395
+ const currentNav = navStore.findNavByKey(activeKey);
396
+ if (currentNav) {
397
+ router.push(currentNav);
398
+ }
399
+ }
400
+ }
401
+ const handleTabEdit = (targetKey) => {
402
+ if (typeof targetKey === "string") {
403
+ const nextNav = navStore.removeByKey(targetKey);
404
+ if (nextNav) {
405
+ if (!navStore.isEquals(nextNav)) {
406
+ router.push(nextNav);
407
+ }
408
+ }
409
+ }
410
+ };
411
+ vue.watch(
412
+ () => navStore.nav,
413
+ (val) => {
414
+ var _a;
415
+ const show = !!((_a = val == null ? void 0 : val.meta) == null ? void 0 : _a.tab);
416
+ if (show) {
417
+ visible.value = show;
418
+ } else {
419
+ visible.value = show;
420
+ }
421
+ }
422
+ );
423
+ return {
424
+ visible,
425
+ navStore,
426
+ activeTabKey,
427
+ handleTabClick,
428
+ handleTabEdit
429
+ };
430
+ }
431
+ });
432
+ const _hoisted_1$9 = { class: "zt-layout-navs" };
433
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
434
+ const _component_a_tab_pane = vue.resolveComponent("a-tab-pane");
435
+ const _component_a_tabs = vue.resolveComponent("a-tabs");
436
+ return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
437
+ vue.createVNode(_component_a_tabs, {
438
+ activeKey: _ctx.activeTabKey,
439
+ "onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => _ctx.activeTabKey = $event),
440
+ "hide-add": "",
441
+ type: "editable-card",
442
+ onTabClick: _ctx.handleTabClick,
443
+ onEdit: _ctx.handleTabEdit
444
+ }, {
445
+ default: vue.withCtx(() => [
446
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navStore.navs, (nav) => {
447
+ return vue.openBlock(), vue.createBlock(_component_a_tab_pane, {
448
+ key: _ctx.navStore.getNavKey(nav),
449
+ tab: nav.meta.title,
450
+ closable: _ctx.navStore.navs && _ctx.navStore.navs.length > 1 && nav.meta.tabClosable
451
+ }, null, 8, ["tab", "closable"]);
452
+ }), 128))
453
+ ]),
454
+ _: 1
455
+ }, 8, ["activeKey", "onTabClick", "onEdit"])
456
+ ], 512)), [
457
+ [vue.vShow, _ctx.visible]
458
+ ]);
459
+ }
460
+ var LayoutNavs = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/layout-navs/layout-navs.vue"]]);
461
+
462
+ const ZtLayoutNavs = utils.withInstall(LayoutNavs);
463
+
464
+ var __async$2 = (__this, __arguments, generator) => {
465
+ return new Promise((resolve, reject) => {
466
+ var fulfilled = (value) => {
467
+ try {
468
+ step(generator.next(value));
469
+ } catch (e) {
470
+ reject(e);
471
+ }
472
+ };
473
+ var rejected = (value) => {
474
+ try {
475
+ step(generator.throw(value));
476
+ } catch (e) {
477
+ reject(e);
478
+ }
479
+ };
480
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
481
+ step((generator = generator.apply(__this, __arguments)).next());
482
+ });
483
+ };
484
+ const colors = [
485
+ { value: "light", text: "\u9752\u51FA\u4E8E\u84DD" },
486
+ { value: "dark", text: "\u5343\u5CA9\u7ADE\u79C0" },
487
+ { value: "gov", text: "\u7EA2\u65D7\u62DB\u5C55" }
488
+ ];
489
+ const sizes = [
490
+ { value: "large", text: "\u5927" },
491
+ { value: "middle", text: "\u4E2D" },
492
+ { value: "small", text: "\u5C0F" }
493
+ ];
494
+ const _sfc_main$b = vue.defineComponent({
495
+ name: "ZtModalTheme",
496
+ components: {
497
+ AModal: es.Modal,
498
+ AForm: es.Form,
499
+ AFormItem: es.FormItem,
500
+ ARadio: es.Radio,
501
+ ARadioGroup: es.RadioGroup
502
+ },
503
+ props: {
504
+ title: { type: String, default: "\u4E3B\u9898\u8BBE\u7F6E" },
505
+ visible: { type: Boolean, default: false }
506
+ },
507
+ emits: ["update:visible", "ok"],
508
+ setup(props, { emit }) {
509
+ const themeStore = hooks.useThemeStore();
510
+ const theme = pinia.storeToRefs(themeStore);
511
+ const { validate, validateInfos } = es.Form.useForm(theme, { color: [{ required: true }], size: [{ required: true }] });
512
+ function handleChangeColor(event) {
513
+ themeStore.changeColor(event.target.value);
514
+ }
515
+ function handleChangeSize(event) {
516
+ themeStore.changeSize(event.target.value);
517
+ }
518
+ function handleCancel() {
519
+ emit("update:visible", false);
520
+ }
521
+ function handleOk() {
522
+ return __async$2(this, null, function* () {
523
+ try {
524
+ const values = yield validate();
525
+ emit("update:visible", false);
526
+ emit("ok", values);
527
+ } catch (error) {
528
+ console.log(error);
529
+ }
530
+ });
531
+ }
532
+ return {
533
+ sizes,
534
+ colors,
535
+ theme,
536
+ validateInfos,
537
+ handleChangeColor,
538
+ handleChangeSize,
539
+ handleCancel,
540
+ handleOk
541
+ };
542
+ }
543
+ });
544
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
545
+ const _component_a_radio = vue.resolveComponent("a-radio");
546
+ const _component_a_radio_group = vue.resolveComponent("a-radio-group");
547
+ const _component_a_form_item = vue.resolveComponent("a-form-item");
548
+ const _component_a_form = vue.resolveComponent("a-form");
549
+ const _component_a_modal = vue.resolveComponent("a-modal");
550
+ return vue.openBlock(), vue.createBlock(_component_a_modal, {
551
+ visible: _ctx.visible,
552
+ class: "zt-modal-theme",
553
+ title: _ctx.title,
554
+ onCancel: _ctx.handleCancel,
555
+ onOk: _ctx.handleOk
556
+ }, {
557
+ default: vue.withCtx(() => [
558
+ vue.createVNode(_component_a_form, null, {
559
+ default: vue.withCtx(() => [
560
+ vue.createVNode(_component_a_form_item, vue.mergeProps({ label: "\u5B57\u4F53\u5927\u5C0F" }, _ctx.validateInfos.size), {
561
+ default: vue.withCtx(() => [
562
+ vue.createVNode(_component_a_radio_group, {
563
+ value: _ctx.theme.size,
564
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => _ctx.theme.size = $event),
565
+ onChange: _ctx.handleChangeSize
566
+ }, {
567
+ default: vue.withCtx(() => [
568
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.sizes, (size) => {
569
+ return vue.openBlock(), vue.createBlock(_component_a_radio, {
570
+ key: size.value,
571
+ value: size.value
572
+ }, {
573
+ default: vue.withCtx(() => [
574
+ vue.createTextVNode(vue.toDisplayString(size.text), 1)
575
+ ]),
576
+ _: 2
577
+ }, 1032, ["value"]);
578
+ }), 128))
579
+ ]),
580
+ _: 1
581
+ }, 8, ["value", "onChange"])
582
+ ]),
583
+ _: 1
584
+ }, 16),
585
+ vue.createVNode(_component_a_form_item, vue.mergeProps({ label: "\u4E3B\u9898\u989C\u8272" }, _ctx.validateInfos.color), {
586
+ default: vue.withCtx(() => [
587
+ vue.createVNode(_component_a_radio_group, {
588
+ value: _ctx.theme.color,
589
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => _ctx.theme.color = $event),
590
+ onChange: _ctx.handleChangeColor
591
+ }, {
592
+ default: vue.withCtx(() => [
593
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.colors, (color) => {
594
+ return vue.openBlock(), vue.createBlock(_component_a_radio, {
595
+ key: color.value,
596
+ value: color.value
597
+ }, {
598
+ default: vue.withCtx(() => [
599
+ vue.createTextVNode(vue.toDisplayString(color.text), 1)
600
+ ]),
601
+ _: 2
602
+ }, 1032, ["value"]);
603
+ }), 128))
604
+ ]),
605
+ _: 1
606
+ }, 8, ["value", "onChange"])
607
+ ]),
608
+ _: 1
609
+ }, 16)
610
+ ]),
611
+ _: 1
612
+ })
613
+ ]),
614
+ _: 1
615
+ }, 8, ["visible", "title", "onCancel", "onOk"]);
616
+ }
617
+ var ModalTheme = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/modal-theme/modal-theme.vue"]]);
618
+
619
+ const ZtModalTheme = utils.withInstall(ModalTheme);
620
+
621
+ const _sfc_main$a = vue.defineComponent({
622
+ name: "ZtPanalBg",
623
+ props: {
624
+ padding: { type: Number, default: 20 }
625
+ },
626
+ setup(props) {
627
+ const zoomPadding = vue.ref(0);
628
+ vue.watchEffect(() => {
629
+ zoomPadding.value = (window.pageZoom || 1) * (props.padding || 0);
630
+ });
631
+ return {
632
+ zoomPadding
633
+ };
634
+ }
635
+ });
636
+ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
637
+ return vue.openBlock(), vue.createElementBlock("section", vue.mergeProps({ class: "zt-panal-bg" }, _ctx.$attrs), [
638
+ vue.createElementVNode("main", {
639
+ class: "zt-panal-bg-shadow",
640
+ style: vue.normalizeStyle({ padding: _ctx.zoomPadding + "px" })
641
+ }, [
642
+ vue.renderSlot(_ctx.$slots, "default")
643
+ ], 4)
644
+ ], 16);
645
+ }
646
+ var PanalBg = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/panal-bg/panal-bg.vue"]]);
647
+
648
+ const ZtPanalBg = utils.withInstall(PanalBg);
649
+
650
+ const _sfc_main$9 = vue.defineComponent({
651
+ name: "ZtPanalTable",
652
+ emits: ["update:bodyHeight"],
653
+ setup(props, { emit }) {
654
+ const resizeObserver = vue.ref();
655
+ const dom = vue.ref(null);
656
+ const resize = core.useThrottleFn(() => {
657
+ if (!dom.value) {
658
+ return;
659
+ }
660
+ const domHeight = dom.value.offsetHeight || 0;
661
+ const domHeader = dom.value.querySelector(".ant-table-header");
662
+ if (!domHeader) {
663
+ return;
664
+ }
665
+ const headerHeight = domHeader.offsetHeight || 0;
666
+ const domPagination = dom.value.querySelector(".ant-pagination");
667
+ let paginationHeight = 0;
668
+ if (domPagination) {
669
+ const style = window.getComputedStyle(domPagination);
670
+ paginationHeight = domPagination.offsetHeight + (Number(style.marginTop.replace("px", "")) || 0);
671
+ }
672
+ const bodyHeight = domHeight - headerHeight - paginationHeight;
673
+ emit("update:bodyHeight", bodyHeight);
674
+ }, 500);
675
+ vue.onMounted(() => {
676
+ resizeObserver.value = new ResizeObserver(resize);
677
+ resizeObserver.value.observe(dom.value);
678
+ });
679
+ vue.onBeforeUnmount(() => {
680
+ resizeObserver.value.unobserve(dom.value);
681
+ });
682
+ return {
683
+ dom
684
+ };
685
+ }
686
+ });
687
+ const _hoisted_1$8 = { key: 0 };
688
+ const _hoisted_2$4 = {
689
+ key: 0,
690
+ class: "zt-panal-table-buttons"
691
+ };
692
+ const _hoisted_3$4 = {
693
+ key: 1,
694
+ class: "zt-panal-table-extra"
695
+ };
696
+ const _hoisted_4$3 = {
697
+ ref: "dom",
698
+ class: "zt-panal-table-main"
699
+ };
700
+ const _hoisted_5$2 = { key: 1 };
701
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
702
+ return vue.openBlock(), vue.createElementBlock("section", vue.mergeProps({ class: "zt-panal-table" }, _ctx.$attrs), [
703
+ _ctx.$slots.buttons || _ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$8, [
704
+ _ctx.$slots.buttons ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$4, [
705
+ vue.renderSlot(_ctx.$slots, "buttons")
706
+ ])) : vue.createCommentVNode("v-if", true),
707
+ _ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$4, [
708
+ vue.renderSlot(_ctx.$slots, "extra")
709
+ ])) : vue.createCommentVNode("v-if", true)
710
+ ])) : vue.createCommentVNode("v-if", true),
711
+ vue.createElementVNode("main", _hoisted_4$3, [
712
+ vue.renderSlot(_ctx.$slots, "default")
713
+ ], 512),
714
+ _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("footer", _hoisted_5$2, [
715
+ vue.renderSlot(_ctx.$slots, "footer")
716
+ ])) : vue.createCommentVNode("v-if", true)
717
+ ], 16);
718
+ }
719
+ var PanalTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/panal-table/panal-table.vue"]]);
720
+
721
+ const ZtPanalTable = utils.withInstall(PanalTable);
722
+
723
+ const _sfc_main$8 = vue.defineComponent({
724
+ name: "ZtProfileAvatar",
725
+ components: {
726
+ AImage: es.Image
727
+ },
728
+ props: {
729
+ name: { type: String, required: true },
730
+ photo: { type: String, default: void 0 },
731
+ photoId: { type: Number, default: void 0 },
732
+ direction: { type: String, default: "horizontal" }
733
+ },
734
+ setup(props) {
735
+ const avatarSrc = vue.ref();
736
+ vue.watchEffect(() => {
737
+ if (props.photo) {
738
+ avatarSrc.value = props.photo;
739
+ } else if (props.photoId) ;
740
+ });
741
+ return {
742
+ avatarSrc
743
+ };
744
+ }
745
+ });
746
+ const _hoisted_1$7 = { class: "zt-profile-avatar-photo" };
747
+ const _hoisted_2$3 = {
748
+ key: 1,
749
+ class: "base-iconfont base-icon-user"
750
+ };
751
+ const _hoisted_3$3 = { class: "zt-profile-avatar-name" };
752
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
753
+ const _component_a_image = vue.resolveComponent("a-image");
754
+ return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "zt-profile-avatar" }, _ctx.$attrs, {
755
+ class: `direction-${_ctx.direction}`
756
+ }), [
757
+ vue.createElementVNode("div", _hoisted_1$7, [
758
+ _ctx.avatarSrc ? (vue.openBlock(), vue.createBlock(_component_a_image, {
759
+ key: 0,
760
+ src: _ctx.avatarSrc,
761
+ "preview-mask": false
762
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("i", _hoisted_2$3))
763
+ ]),
764
+ vue.createElementVNode("div", _hoisted_3$3, vue.toDisplayString(_ctx.name), 1)
765
+ ], 16);
766
+ }
767
+ var ProfileAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/profile-avatar/profile-avatar.vue"]]);
768
+
769
+ const ZtProfileAvatar = utils.withInstall(ProfileAvatar);
770
+
771
+ const _sfc_main$7 = vue.defineComponent({
772
+ name: "ZtSideMenuItem",
773
+ components: {
774
+ AMenuItem: es.MenuItem
775
+ },
776
+ props: {
777
+ menu: { type: Object, required: true }
778
+ }
779
+ });
780
+ const _hoisted_1$6 = {
781
+ key: 1,
782
+ class: "zt-iconfont zt-icon-document"
783
+ };
784
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
785
+ var _a, _b;
786
+ const _component_a_menu_item = vue.resolveComponent("a-menu-item");
787
+ return vue.openBlock(), vue.createBlock(_component_a_menu_item, {
788
+ key: _ctx.menu.name,
789
+ title: (_b = (_a = _ctx.menu.meta) == null ? void 0 : _a.title) != null ? _b : ""
790
+ }, {
791
+ icon: vue.withCtx(() => {
792
+ var _a2, _b2;
793
+ return [
794
+ ((_a2 = _ctx.menu.meta) == null ? void 0 : _a2.icon) ? (vue.openBlock(), vue.createElementBlock("i", {
795
+ key: 0,
796
+ class: vue.normalizeClass(["iconfont", (_b2 = _ctx.menu.meta) == null ? void 0 : _b2.icon])
797
+ }, null, 2)) : (vue.openBlock(), vue.createElementBlock("i", _hoisted_1$6))
798
+ ];
799
+ }),
800
+ default: vue.withCtx(() => {
801
+ var _a2, _b2;
802
+ return [
803
+ vue.createElementVNode("span", null, vue.toDisplayString((_b2 = (_a2 = _ctx.menu.meta) == null ? void 0 : _a2.title) != null ? _b2 : ""), 1)
804
+ ];
805
+ }),
806
+ _: 1
807
+ }, 8, ["title"]);
808
+ }
809
+ var ZtSideMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/side-menu/side-menu-item.vue"]]);
810
+
811
+ const _sfc_main$6 = vue.defineComponent({
812
+ name: "ZtSideSubMenu",
813
+ components: {
814
+ ASubMenu: es.SubMenu,
815
+ ZtSideMenuItem
816
+ },
817
+ props: {
818
+ menu: { type: Object, required: true }
819
+ }
820
+ });
821
+ const _hoisted_1$5 = {
822
+ key: 1,
823
+ class: "zt-iconfont zt-icon-document"
824
+ };
825
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
826
+ var _a, _b;
827
+ const _component_zt_side_sub_menu = vue.resolveComponent("zt-side-sub-menu");
828
+ const _component_zt_side_menu_item = vue.resolveComponent("zt-side-menu-item");
829
+ const _component_a_sub_menu = vue.resolveComponent("a-sub-menu");
830
+ return vue.openBlock(), vue.createBlock(_component_a_sub_menu, {
831
+ key: _ctx.menu.name,
832
+ title: (_b = (_a = _ctx.menu.meta) == null ? void 0 : _a.title) != null ? _b : ""
833
+ }, {
834
+ icon: vue.withCtx(() => {
835
+ var _a2, _b2;
836
+ return [
837
+ ((_a2 = _ctx.menu.meta) == null ? void 0 : _a2.icon) ? (vue.openBlock(), vue.createElementBlock("i", {
838
+ key: 0,
839
+ class: vue.normalizeClass(["iconfont", (_b2 = _ctx.menu.meta) == null ? void 0 : _b2.icon])
840
+ }, null, 2)) : (vue.openBlock(), vue.createElementBlock("i", _hoisted_1$5))
841
+ ];
842
+ }),
843
+ default: vue.withCtx(() => {
844
+ var _a2;
845
+ return [
846
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a2 = _ctx.menu.meta) == null ? void 0 : _a2.children, (child) => {
847
+ var _a3, _b2;
848
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
849
+ key: child.name
850
+ }, [
851
+ ((_a3 = child.meta) == null ? void 0 : _a3.children) && ((_b2 = child.meta) == null ? void 0 : _b2.children.length) > 0 ? (vue.openBlock(), vue.createBlock(_component_zt_side_sub_menu, {
852
+ key: 0,
853
+ menu: child
854
+ }, null, 8, ["menu"])) : (vue.openBlock(), vue.createBlock(_component_zt_side_menu_item, {
855
+ key: 1,
856
+ menu: child
857
+ }, null, 8, ["menu"]))
858
+ ], 64);
859
+ }), 128))
860
+ ];
861
+ }),
862
+ _: 1
863
+ }, 8, ["title"]);
864
+ }
865
+ var ZtSideSubMenu = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/side-menu/side-sub-menu.vue"]]);
866
+
867
+ const _sfc_main$5 = vue.defineComponent({
868
+ name: "ZtSideMenu",
869
+ components: {
870
+ AMenu: es.Menu,
871
+ ZtSideSubMenu,
872
+ ZtSideMenuItem
873
+ },
874
+ props: {
875
+ menus: { type: [], default: [] },
876
+ collapseStorageKey: { type: String, default: "" }
877
+ },
878
+ setup() {
879
+ const { selectedKeys, handleMenuClick } = hooks.useMenu();
880
+ const collapsed = vue.ref(true);
881
+ return {
882
+ collapsed,
883
+ selectedKeys,
884
+ handleMenuClick
885
+ };
886
+ }
887
+ });
888
+ const _hoisted_1$4 = { class: "zt-side-menu" };
889
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
890
+ const _component_zt_side_sub_menu = vue.resolveComponent("zt-side-sub-menu");
891
+ const _component_zt_side_menu_item = vue.resolveComponent("zt-side-menu-item");
892
+ const _component_a_menu = vue.resolveComponent("a-menu");
893
+ const _component_zt_collapse_button = vue.resolveComponent("zt-collapse-button");
894
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [
895
+ vue.createVNode(_component_a_menu, {
896
+ selectedKeys: _ctx.selectedKeys,
897
+ "onUpdate:selectedKeys": _cache[0] || (_cache[0] = ($event) => _ctx.selectedKeys = $event),
898
+ mode: "inline",
899
+ "inline-indent": 12,
900
+ "inline-collapsed": _ctx.collapsed,
901
+ class: vue.normalizeClass({ "is-collapsed": _ctx.collapsed }),
902
+ onClick: _ctx.handleMenuClick
903
+ }, {
904
+ default: vue.withCtx(() => [
905
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menus, (menu) => {
906
+ var _a, _b;
907
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
908
+ key: menu.name
909
+ }, [
910
+ ((_a = menu.meta) == null ? void 0 : _a.children) && ((_b = menu.meta) == null ? void 0 : _b.children.length) > 0 ? (vue.openBlock(), vue.createBlock(_component_zt_side_sub_menu, {
911
+ key: 0,
912
+ menu
913
+ }, null, 8, ["menu"])) : (vue.openBlock(), vue.createBlock(_component_zt_side_menu_item, {
914
+ key: 1,
915
+ menu
916
+ }, null, 8, ["menu"]))
917
+ ], 64);
918
+ }), 128))
919
+ ]),
920
+ _: 1
921
+ }, 8, ["selectedKeys", "inline-collapsed", "class", "onClick"]),
922
+ vue.createVNode(_component_zt_collapse_button, {
923
+ collapsed: _ctx.collapsed,
924
+ "onUpdate:collapsed": _cache[1] || (_cache[1] = ($event) => _ctx.collapsed = $event),
925
+ direction: "vertical",
926
+ "storage-key": _ctx.collapseStorageKey
927
+ }, null, 8, ["collapsed", "storage-key"])
928
+ ]);
929
+ }
930
+ var SideMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/side-menu/side-menu.vue"]]);
931
+
932
+ const ZtSideMenu = utils.withInstall(SideMenu);
933
+
934
+ const _sfc_main$4 = vue.defineComponent({
935
+ name: "ZtSpreadNavigation",
936
+ props: {
937
+ collapsed: { type: Boolean, default: false },
938
+ mocks: { type: Array, default: () => [] }
939
+ },
940
+ emits: ["toggle"],
941
+ setup(props, { emit }) {
942
+ const selectedKey = vue.ref();
943
+ function routeChange(item) {
944
+ selectedKey.value = item.title;
945
+ emit("toggle");
946
+ console.log(item);
947
+ }
948
+ return {
949
+ selectedKey,
950
+ routeChange
951
+ };
952
+ }
953
+ });
954
+ const _hoisted_1$3 = { class: "zt-navigation-left" };
955
+ const _hoisted_2$2 = /* @__PURE__ */ vue.createElementVNode("div", { class: "zt-navigation-title" }, "\u5E38\u7528\u5E94\u7528", -1);
956
+ const _hoisted_3$2 = ["onClick"];
957
+ const _hoisted_4$2 = { class: "zt-navigation-right" };
958
+ const _hoisted_5$1 = { class: "zt-navigation-title" };
959
+ const _hoisted_6$1 = ["onClick"];
960
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
961
+ return _ctx.mocks.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", {
962
+ key: 0,
963
+ class: vue.normalizeClass(["zt-spread-navigation", { "zt-spread-navigation-open": _ctx.collapsed }])
964
+ }, [
965
+ vue.createElementVNode("div", _hoisted_1$3, [
966
+ _hoisted_2$2,
967
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.mocks[0].children, (item) => {
968
+ return vue.openBlock(), vue.createElementBlock("div", {
969
+ key: item.title,
970
+ class: vue.normalizeClass(["zt-navigation-item", { "zt-navigation-item-active": item.title === _ctx.selectedKey }]),
971
+ onClick: ($event) => _ctx.routeChange(item)
972
+ }, vue.toDisplayString(item.title), 11, _hoisted_3$2);
973
+ }), 128))
974
+ ]),
975
+ vue.createElementVNode("div", _hoisted_4$2, [
976
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.mocks.filter((g, i) => i > 0), (item) => {
977
+ return vue.openBlock(), vue.createElementBlock("div", {
978
+ key: item.title,
979
+ class: "zt-navigation-wrap"
980
+ }, [
981
+ vue.createElementVNode("div", _hoisted_5$1, vue.toDisplayString(item.title), 1),
982
+ vue.createElementVNode("div", {
983
+ class: "zt-navigation-content",
984
+ style: vue.normalizeStyle({ "column-count": Math.ceil(item.children.length / 10) })
985
+ }, [
986
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.children, (item2) => {
987
+ return vue.openBlock(), vue.createElementBlock("div", {
988
+ key: item2.title,
989
+ class: vue.normalizeClass(["zt-navigation-item", { "zt-navigation-item-active": item2.title === _ctx.selectedKey }]),
990
+ onClick: ($event) => _ctx.routeChange(item2)
991
+ }, vue.toDisplayString(item2.title), 11, _hoisted_6$1);
992
+ }), 128))
993
+ ], 4)
994
+ ]);
995
+ }), 128))
996
+ ])
997
+ ], 2)) : vue.createCommentVNode("v-if", true);
998
+ }
999
+ var SpreadNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/spread-navigation/spread-navigation.vue"]]);
1000
+
1001
+ const ZtSpreadNavigation = utils.withInstall(SpreadNavigation);
1002
+
1003
+ const _sfc_main$3 = vue.defineComponent({
1004
+ name: "ZtSubTitle"
1005
+ });
1006
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
1007
+ return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "zt-sub-title" }, _ctx.$attrs), [
1008
+ vue.renderSlot(_ctx.$slots, "default")
1009
+ ], 16);
1010
+ }
1011
+ var SubTitle = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/sub-title/sub-title.vue"]]);
1012
+
1013
+ const ZtSubTitle = utils.withInstall(SubTitle);
1014
+
1015
+ const _sfc_main$2 = vue.defineComponent({
1016
+ name: "ZtTopMenu",
1017
+ components: {
1018
+ AMenu: es.Menu,
1019
+ AMenuItem: es.MenuItem
1020
+ },
1021
+ props: {
1022
+ menus: { type: [], default: [] }
1023
+ },
1024
+ setup() {
1025
+ const { selectedKeys, handleMenuClick } = hooks.useMenu();
1026
+ return {
1027
+ selectedKeys,
1028
+ handleMenuClick
1029
+ };
1030
+ }
1031
+ });
1032
+ const _hoisted_1$2 = { class: "zt-top-menu" };
1033
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
1034
+ const _component_a_menu_item = vue.resolveComponent("a-menu-item");
1035
+ const _component_a_menu = vue.resolveComponent("a-menu");
1036
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
1037
+ vue.createVNode(_component_a_menu, {
1038
+ selectedKeys: _ctx.selectedKeys,
1039
+ "onUpdate:selectedKeys": _cache[0] || (_cache[0] = ($event) => _ctx.selectedKeys = $event),
1040
+ mode: "horizontal",
1041
+ onClick: _ctx.handleMenuClick
1042
+ }, {
1043
+ default: vue.withCtx(() => [
1044
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.menus, (menu) => {
1045
+ var _a, _b;
1046
+ return vue.openBlock(), vue.createBlock(_component_a_menu_item, {
1047
+ key: menu.name,
1048
+ title: (_b = (_a = menu.meta) == null ? void 0 : _a.title) != null ? _b : ""
1049
+ }, {
1050
+ default: vue.withCtx(() => {
1051
+ var _a2, _b2;
1052
+ return [
1053
+ vue.createElementVNode("span", null, vue.toDisplayString((_b2 = (_a2 = menu.meta) == null ? void 0 : _a2.title) != null ? _b2 : ""), 1)
1054
+ ];
1055
+ }),
1056
+ _: 2
1057
+ }, 1032, ["title"]);
1058
+ }), 128))
1059
+ ]),
1060
+ _: 1
1061
+ }, 8, ["selectedKeys", "onClick"])
1062
+ ]);
1063
+ }
1064
+ var TopMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/top-menu/top-menu.vue"]]);
1065
+
1066
+ const ZtTopMenu = utils.withInstall(TopMenu);
1067
+
1068
+ var __async$1 = (__this, __arguments, generator) => {
1069
+ return new Promise((resolve, reject) => {
1070
+ var fulfilled = (value) => {
1071
+ try {
1072
+ step(generator.next(value));
1073
+ } catch (e) {
1074
+ reject(e);
1075
+ }
1076
+ };
1077
+ var rejected = (value) => {
1078
+ try {
1079
+ step(generator.throw(value));
1080
+ } catch (e) {
1081
+ reject(e);
1082
+ }
1083
+ };
1084
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
1085
+ step((generator = generator.apply(__this, __arguments)).next());
1086
+ });
1087
+ };
1088
+ const _sfc_main$1 = vue.defineComponent({
1089
+ name: "ZtViewLogin",
1090
+ components: {
1091
+ AButton: es.Button,
1092
+ ACarousel: es.Carousel,
1093
+ ACheckbox: es.Checkbox,
1094
+ AForm: es.Form,
1095
+ AFormItem: es.FormItem,
1096
+ AInput: es.Input,
1097
+ AInputPassword: es.InputPassword
1098
+ },
1099
+ props: {
1100
+ appTitle: { type: String, required: true },
1101
+ logoSrc: { type: String, required: true }
1102
+ },
1103
+ setup() {
1104
+ const { global } = hooks.useGlobal();
1105
+ const imgs = ["one", "two", "three"];
1106
+ const router = vueRouter.useRouter();
1107
+ const form = vue.reactive({ username: "", password: "", remember: true });
1108
+ const loading = vue.ref(false);
1109
+ function onFinish(values) {
1110
+ return __async$1(this, null, function* () {
1111
+ loading.value = true;
1112
+ try {
1113
+ const { username, password } = values;
1114
+ const res = yield global == null ? void 0 : global.$login.login(username, password);
1115
+ if (res) {
1116
+ router.push({ name: "home" });
1117
+ }
1118
+ } catch (error) {
1119
+ console.log(error);
1120
+ } finally {
1121
+ loading.value = false;
1122
+ }
1123
+ });
1124
+ }
1125
+ return {
1126
+ imgs,
1127
+ form,
1128
+ loading,
1129
+ onFinish
1130
+ };
1131
+ }
1132
+ });
1133
+ const _hoisted_1$1 = { class: "zt-view-login" };
1134
+ const _hoisted_2$1 = { class: "login-box" };
1135
+ const _hoisted_3$1 = { class: "login-content" };
1136
+ const _hoisted_4$1 = { class: "login-title" };
1137
+ const _hoisted_5 = { class: "sys-logo" };
1138
+ const _hoisted_6 = ["src"];
1139
+ const _hoisted_7 = { class: "sys-title" };
1140
+ const _hoisted_8 = { class: "c-header-title-text" };
1141
+ const _hoisted_9 = { class: "login-form" };
1142
+ const _hoisted_10 = /* @__PURE__ */ vue.createTextVNode("\u8BB0\u4F4F\u5BC6\u7801");
1143
+ const _hoisted_11 = /* @__PURE__ */ vue.createTextVNode("\u767B\u5F55");
1144
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1145
+ const _component_a_carousel = vue.resolveComponent("a-carousel");
1146
+ const _component_a_input = vue.resolveComponent("a-input");
1147
+ const _component_a_form_item = vue.resolveComponent("a-form-item");
1148
+ const _component_a_input_password = vue.resolveComponent("a-input-password");
1149
+ const _component_a_checkbox = vue.resolveComponent("a-checkbox");
1150
+ const _component_a_button = vue.resolveComponent("a-button");
1151
+ const _component_a_form = vue.resolveComponent("a-form");
1152
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
1153
+ vue.createElementVNode("div", _hoisted_2$1, [
1154
+ vue.createVNode(_component_a_carousel, { autoplay: "" }, {
1155
+ default: vue.withCtx(() => [
1156
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.imgs, (img) => {
1157
+ return vue.openBlock(), vue.createElementBlock("div", {
1158
+ key: img,
1159
+ class: "carousel-content"
1160
+ }, [
1161
+ vue.createElementVNode("div", {
1162
+ class: vue.normalizeClass(["login-box-bg", img])
1163
+ }, null, 2)
1164
+ ]);
1165
+ }), 128))
1166
+ ]),
1167
+ _: 1
1168
+ }),
1169
+ vue.createElementVNode("div", _hoisted_3$1, [
1170
+ vue.createElementVNode("div", _hoisted_4$1, [
1171
+ vue.createElementVNode("div", _hoisted_5, [
1172
+ vue.createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_6)
1173
+ ]),
1174
+ vue.createElementVNode("div", _hoisted_7, [
1175
+ vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.appTitle), 1)
1176
+ ])
1177
+ ]),
1178
+ vue.createElementVNode("div", _hoisted_9, [
1179
+ vue.createVNode(_component_a_form, {
1180
+ model: _ctx.form,
1181
+ name: "basic",
1182
+ autocomplete: "off",
1183
+ onFinish: _ctx.onFinish
1184
+ }, {
1185
+ default: vue.withCtx(() => [
1186
+ vue.createVNode(_component_a_form_item, {
1187
+ class: "login-form-item-input",
1188
+ name: "username",
1189
+ rules: [{ required: true, message: "\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A" }]
1190
+ }, {
1191
+ default: vue.withCtx(() => [
1192
+ vue.createVNode(_component_a_input, {
1193
+ value: _ctx.form.username,
1194
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => _ctx.form.username = $event),
1195
+ bordered: false,
1196
+ placeholder: "\u7528\u6237\u540D"
1197
+ }, null, 8, ["value"])
1198
+ ]),
1199
+ _: 1
1200
+ }),
1201
+ vue.createVNode(_component_a_form_item, {
1202
+ class: "login-form-item-input",
1203
+ name: "password",
1204
+ rules: [{ required: true, message: "\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A" }]
1205
+ }, {
1206
+ default: vue.withCtx(() => [
1207
+ vue.createVNode(_component_a_input_password, {
1208
+ value: _ctx.form.password,
1209
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => _ctx.form.password = $event),
1210
+ bordered: false,
1211
+ placeholder: "\u5BC6\u7801"
1212
+ }, null, 8, ["value"])
1213
+ ]),
1214
+ _: 1
1215
+ }),
1216
+ vue.createVNode(_component_a_form_item, { name: "remember" }, {
1217
+ default: vue.withCtx(() => [
1218
+ vue.createVNode(_component_a_checkbox, {
1219
+ checked: _ctx.form.remember,
1220
+ "onUpdate:checked": _cache[2] || (_cache[2] = ($event) => _ctx.form.remember = $event)
1221
+ }, {
1222
+ default: vue.withCtx(() => [
1223
+ _hoisted_10
1224
+ ]),
1225
+ _: 1
1226
+ }, 8, ["checked"])
1227
+ ]),
1228
+ _: 1
1229
+ }),
1230
+ vue.createVNode(_component_a_form_item, null, {
1231
+ default: vue.withCtx(() => [
1232
+ vue.createVNode(_component_a_button, {
1233
+ class: "login-form-button",
1234
+ ghost: "",
1235
+ "html-type": "submit",
1236
+ loading: _ctx.loading
1237
+ }, {
1238
+ default: vue.withCtx(() => [
1239
+ _hoisted_11
1240
+ ]),
1241
+ _: 1
1242
+ }, 8, ["loading"])
1243
+ ]),
1244
+ _: 1
1245
+ })
1246
+ ]),
1247
+ _: 1
1248
+ }, 8, ["model", "onFinish"])
1249
+ ])
1250
+ ])
1251
+ ])
1252
+ ]);
1253
+ }
1254
+ var ViewLogin = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/view-login/view-login.vue"]]);
1255
+
1256
+ const ZtViewLogin = utils.withInstall(ViewLogin);
1257
+
1258
+ class Service {
1259
+ constructor(http) {
1260
+ this.http = http;
1261
+ }
1262
+ getPageLayout(pageId) {
1263
+ return this.http.get(`/unity/widget-page/${pageId}/layout`);
1264
+ }
1265
+ }
1266
+
1267
+ var __async = (__this, __arguments, generator) => {
1268
+ return new Promise((resolve, reject) => {
1269
+ var fulfilled = (value) => {
1270
+ try {
1271
+ step(generator.next(value));
1272
+ } catch (e) {
1273
+ reject(e);
1274
+ }
1275
+ };
1276
+ var rejected = (value) => {
1277
+ try {
1278
+ step(generator.throw(value));
1279
+ } catch (e) {
1280
+ reject(e);
1281
+ }
1282
+ };
1283
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
1284
+ step((generator = generator.apply(__this, __arguments)).next());
1285
+ });
1286
+ };
1287
+ const _sfc_main = vue.defineComponent({
1288
+ name: "ZtViewRecBox",
1289
+ components: {
1290
+ AButton: es.Button,
1291
+ ATable: es.Table
1292
+ },
1293
+ props: {
1294
+ pageId: { type: String, required: true }
1295
+ },
1296
+ setup(props) {
1297
+ const { global } = hooks.useGlobal();
1298
+ const service = new Service(global.$http);
1299
+ vue.watchEffect(() => __async(this, null, function* () {
1300
+ if (props.pageId) {
1301
+ const res = yield service.getPageLayout(props.pageId);
1302
+ console.log(res);
1303
+ }
1304
+ }));
1305
+ return {};
1306
+ }
1307
+ });
1308
+ const _hoisted_1 = { class: "zt-view-rec-box" };
1309
+ const _hoisted_2 = /* @__PURE__ */ vue.createTextVNode("\u6309\u94AE");
1310
+ const _hoisted_3 = /* @__PURE__ */ vue.createTextVNode("\u6309\u94AE");
1311
+ const _hoisted_4 = /* @__PURE__ */ vue.createTextVNode("\u6309\u94AE");
1312
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1313
+ const _component_a_button = vue.resolveComponent("a-button");
1314
+ const _component_a_table = vue.resolveComponent("a-table");
1315
+ const _component_zt_panal_table = vue.resolveComponent("zt-panal-table");
1316
+ const _component_zt_panal_bg = vue.resolveComponent("zt-panal-bg");
1317
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
1318
+ vue.createVNode(_component_zt_panal_bg, null, {
1319
+ default: vue.withCtx(() => [
1320
+ vue.createVNode(_component_zt_panal_table, null, {
1321
+ buttons: vue.withCtx(() => [
1322
+ vue.createVNode(_component_a_button, {
1323
+ type: "primary",
1324
+ ghost: ""
1325
+ }, {
1326
+ default: vue.withCtx(() => [
1327
+ _hoisted_2
1328
+ ]),
1329
+ _: 1
1330
+ }),
1331
+ vue.createVNode(_component_a_button, { ghost: "" }, {
1332
+ default: vue.withCtx(() => [
1333
+ _hoisted_3
1334
+ ]),
1335
+ _: 1
1336
+ }),
1337
+ vue.createVNode(_component_a_button, {
1338
+ danger: "",
1339
+ ghost: ""
1340
+ }, {
1341
+ default: vue.withCtx(() => [
1342
+ _hoisted_4
1343
+ ]),
1344
+ _: 1
1345
+ })
1346
+ ]),
1347
+ default: vue.withCtx(() => [
1348
+ vue.createVNode(_component_a_table, {
1349
+ columns: [],
1350
+ "data-source": []
1351
+ })
1352
+ ]),
1353
+ _: 1
1354
+ })
1355
+ ]),
1356
+ _: 1
1357
+ })
1358
+ ]);
1359
+ }
1360
+ var ViewRecBox = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/view-rec-box/view-rec-box.vue"]]);
1361
+
1362
+ const ZtViewRecBox = utils.withInstall(ViewRecBox);
1363
+
1364
+ const components = [
1365
+ ZtCollapseButton,
1366
+ ZtEmpty,
1367
+ ZtIframe,
1368
+ ZtIframeWithToken,
1369
+ ZtLayoutHeaderMore,
1370
+ ZtLayoutNavs,
1371
+ ZtModalTheme,
1372
+ ZtPanalBg,
1373
+ ZtPanalTable,
1374
+ ZtProfileAvatar,
1375
+ ZtSideMenu,
1376
+ ZtSpreadNavigation,
1377
+ ZtSubTitle,
1378
+ ZtTopMenu,
1379
+ ZtViewLogin,
1380
+ ZtViewRecBox
1381
+ ];
1382
+ const install = (app) => {
1383
+ for (const component of components) {
1384
+ if (component.install) {
1385
+ app.use(component);
1386
+ }
1387
+ }
1388
+ return app;
1389
+ };
1390
+ var index = { install };
1391
+
1392
+ exports.ZtCollapseButton = ZtCollapseButton;
1393
+ exports.ZtEmpty = ZtEmpty;
1394
+ exports.ZtIframe = ZtIframe;
1395
+ exports.ZtIframeWithToken = ZtIframeWithToken;
1396
+ exports.ZtLayoutHeaderMore = ZtLayoutHeaderMore;
1397
+ exports.ZtLayoutNavs = ZtLayoutNavs;
1398
+ exports.ZtModalTheme = ZtModalTheme;
1399
+ exports.ZtPanalBg = ZtPanalBg;
1400
+ exports.ZtPanalTable = ZtPanalTable;
1401
+ exports.ZtProfileAvatar = ZtProfileAvatar;
1402
+ exports.ZtSideMenu = ZtSideMenu;
1403
+ exports.ZtSpreadNavigation = ZtSpreadNavigation;
1404
+ exports.ZtSubTitle = ZtSubTitle;
1405
+ exports.ZtTopMenu = ZtTopMenu;
1406
+ exports.ZtViewLogin = ZtViewLogin;
1407
+ exports.ZtViewRecBox = ZtViewRecBox;
1408
+ exports["default"] = index;
1409
+ exports.install = install;
1410
+
1411
+ Object.defineProperty(exports, '__esModule', { value: true });
1412
+
1413
+ }));