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
@@ -0,0 +1,199 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var vueRouter = require('vue-router');
7
+ var es = require('ant-design-vue/es');
8
+ var hooks = require('@ega/hooks');
9
+ var pluginVue_exportHelper = require('../_virtual/plugin-vue_export-helper.js');
10
+
11
+ var __async = (__this, __arguments, generator) => {
12
+ return new Promise((resolve, reject) => {
13
+ var fulfilled = (value) => {
14
+ try {
15
+ step(generator.next(value));
16
+ } catch (e) {
17
+ reject(e);
18
+ }
19
+ };
20
+ var rejected = (value) => {
21
+ try {
22
+ step(generator.throw(value));
23
+ } catch (e) {
24
+ reject(e);
25
+ }
26
+ };
27
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
28
+ step((generator = generator.apply(__this, __arguments)).next());
29
+ });
30
+ };
31
+ const _sfc_main = vue.defineComponent({
32
+ name: "ZtViewLogin",
33
+ components: {
34
+ AButton: es.Button,
35
+ ACarousel: es.Carousel,
36
+ ACheckbox: es.Checkbox,
37
+ AForm: es.Form,
38
+ AFormItem: es.FormItem,
39
+ AInput: es.Input,
40
+ AInputPassword: es.InputPassword
41
+ },
42
+ props: {
43
+ appTitle: { type: String, required: true },
44
+ logoSrc: { type: String, required: true }
45
+ },
46
+ setup() {
47
+ const { global } = hooks.useGlobal();
48
+ const imgs = ["one", "two", "three"];
49
+ const router = vueRouter.useRouter();
50
+ const form = vue.reactive({ username: "", password: "", remember: true });
51
+ const loading = vue.ref(false);
52
+ function onFinish(values) {
53
+ return __async(this, null, function* () {
54
+ loading.value = true;
55
+ try {
56
+ const { username, password } = values;
57
+ const res = yield global == null ? void 0 : global.$login.login(username, password);
58
+ if (res) {
59
+ router.push({ name: "home" });
60
+ }
61
+ } catch (error) {
62
+ console.log(error);
63
+ } finally {
64
+ loading.value = false;
65
+ }
66
+ });
67
+ }
68
+ return {
69
+ imgs,
70
+ form,
71
+ loading,
72
+ onFinish
73
+ };
74
+ }
75
+ });
76
+ const _hoisted_1 = { class: "zt-view-login" };
77
+ const _hoisted_2 = { class: "login-box" };
78
+ const _hoisted_3 = { class: "login-content" };
79
+ const _hoisted_4 = { class: "login-title" };
80
+ const _hoisted_5 = { class: "sys-logo" };
81
+ const _hoisted_6 = ["src"];
82
+ const _hoisted_7 = { class: "sys-title" };
83
+ const _hoisted_8 = { class: "c-header-title-text" };
84
+ const _hoisted_9 = { class: "login-form" };
85
+ const _hoisted_10 = /* @__PURE__ */ vue.createTextVNode("\u8BB0\u4F4F\u5BC6\u7801");
86
+ const _hoisted_11 = /* @__PURE__ */ vue.createTextVNode("\u767B\u5F55");
87
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
88
+ const _component_a_carousel = vue.resolveComponent("a-carousel");
89
+ const _component_a_input = vue.resolveComponent("a-input");
90
+ const _component_a_form_item = vue.resolveComponent("a-form-item");
91
+ const _component_a_input_password = vue.resolveComponent("a-input-password");
92
+ const _component_a_checkbox = vue.resolveComponent("a-checkbox");
93
+ const _component_a_button = vue.resolveComponent("a-button");
94
+ const _component_a_form = vue.resolveComponent("a-form");
95
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
96
+ vue.createElementVNode("div", _hoisted_2, [
97
+ vue.createVNode(_component_a_carousel, { autoplay: "" }, {
98
+ default: vue.withCtx(() => [
99
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.imgs, (img) => {
100
+ return vue.openBlock(), vue.createElementBlock("div", {
101
+ key: img,
102
+ class: "carousel-content"
103
+ }, [
104
+ vue.createElementVNode("div", {
105
+ class: vue.normalizeClass(["login-box-bg", img])
106
+ }, null, 2)
107
+ ]);
108
+ }), 128))
109
+ ]),
110
+ _: 1
111
+ }),
112
+ vue.createElementVNode("div", _hoisted_3, [
113
+ vue.createElementVNode("div", _hoisted_4, [
114
+ vue.createElementVNode("div", _hoisted_5, [
115
+ vue.createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_6)
116
+ ]),
117
+ vue.createElementVNode("div", _hoisted_7, [
118
+ vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.appTitle), 1)
119
+ ])
120
+ ]),
121
+ vue.createElementVNode("div", _hoisted_9, [
122
+ vue.createVNode(_component_a_form, {
123
+ model: _ctx.form,
124
+ name: "basic",
125
+ autocomplete: "off",
126
+ onFinish: _ctx.onFinish
127
+ }, {
128
+ default: vue.withCtx(() => [
129
+ vue.createVNode(_component_a_form_item, {
130
+ class: "login-form-item-input",
131
+ name: "username",
132
+ rules: [{ required: true, message: "\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A" }]
133
+ }, {
134
+ default: vue.withCtx(() => [
135
+ vue.createVNode(_component_a_input, {
136
+ value: _ctx.form.username,
137
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => _ctx.form.username = $event),
138
+ bordered: false,
139
+ placeholder: "\u7528\u6237\u540D"
140
+ }, null, 8, ["value"])
141
+ ]),
142
+ _: 1
143
+ }),
144
+ vue.createVNode(_component_a_form_item, {
145
+ class: "login-form-item-input",
146
+ name: "password",
147
+ rules: [{ required: true, message: "\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A" }]
148
+ }, {
149
+ default: vue.withCtx(() => [
150
+ vue.createVNode(_component_a_input_password, {
151
+ value: _ctx.form.password,
152
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => _ctx.form.password = $event),
153
+ bordered: false,
154
+ placeholder: "\u5BC6\u7801"
155
+ }, null, 8, ["value"])
156
+ ]),
157
+ _: 1
158
+ }),
159
+ vue.createVNode(_component_a_form_item, { name: "remember" }, {
160
+ default: vue.withCtx(() => [
161
+ vue.createVNode(_component_a_checkbox, {
162
+ checked: _ctx.form.remember,
163
+ "onUpdate:checked": _cache[2] || (_cache[2] = ($event) => _ctx.form.remember = $event)
164
+ }, {
165
+ default: vue.withCtx(() => [
166
+ _hoisted_10
167
+ ]),
168
+ _: 1
169
+ }, 8, ["checked"])
170
+ ]),
171
+ _: 1
172
+ }),
173
+ vue.createVNode(_component_a_form_item, null, {
174
+ default: vue.withCtx(() => [
175
+ vue.createVNode(_component_a_button, {
176
+ class: "login-form-button",
177
+ ghost: "",
178
+ "html-type": "submit",
179
+ loading: _ctx.loading
180
+ }, {
181
+ default: vue.withCtx(() => [
182
+ _hoisted_11
183
+ ]),
184
+ _: 1
185
+ }, 8, ["loading"])
186
+ ]),
187
+ _: 1
188
+ })
189
+ ]),
190
+ _: 1
191
+ }, 8, ["model", "onFinish"])
192
+ ])
193
+ ])
194
+ ])
195
+ ]);
196
+ }
197
+ var ViewLogin = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/view-login/view-login.vue"]]);
198
+
199
+ exports["default"] = ViewLogin;
@@ -0,0 +1,12 @@
1
+ export declare const ZtViewRecBox: import("@ega/utils").SFCWithInstall<import("vue").DefineComponent<{
2
+ pageId: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ pageId: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ }>>, {}>>;
12
+ export default ZtViewRecBox;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var utils = require('@ega/utils');
6
+ var viewRecBox = require('./view-rec-box.vue.js');
7
+
8
+ const ZtViewRecBox = utils.withInstall(viewRecBox["default"]);
9
+
10
+ exports.ZtViewRecBox = ZtViewRecBox;
11
+ exports["default"] = ZtViewRecBox;
@@ -0,0 +1,6 @@
1
+ import type { Http, Page } from '@ega/utils';
2
+ export default class Service {
3
+ constructor(http: Http);
4
+ private http;
5
+ getPageLayout<T>(pageId: string): Promise<import("@ega/utils").HttpResponseData<Page<T>>>;
6
+ }
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ class Service {
6
+ constructor(http) {
7
+ this.http = http;
8
+ }
9
+ getPageLayout(pageId) {
10
+ return this.http.get(`/unity/widget-page/${pageId}/layout`);
11
+ }
12
+ }
13
+
14
+ exports["default"] = Service;
@@ -0,0 +1,4 @@
1
+ .zt-view-rec-box {
2
+ width: 100%;
3
+ height: 100%;
4
+ }
@@ -0,0 +1,2 @@
1
+ import '../../style/core.less';
2
+ import './index.less';
@@ -0,0 +1,2 @@
1
+ import '../../style/core.less';
2
+ import './index.less';
@@ -0,0 +1,4 @@
1
+ .zt-view-rec-box {
2
+ width: 100%;
3
+ height: 100%;
4
+ }
@@ -0,0 +1,12 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ pageId: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ pageId: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ }>>, {}>;
12
+ export default _default;
@@ -0,0 +1,106 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var hooks = require('@ega/hooks');
7
+ var es = require('ant-design-vue/es');
8
+ var service = require('./service.js');
9
+ var pluginVue_exportHelper = require('../_virtual/plugin-vue_export-helper.js');
10
+
11
+ var __async = (__this, __arguments, generator) => {
12
+ return new Promise((resolve, reject) => {
13
+ var fulfilled = (value) => {
14
+ try {
15
+ step(generator.next(value));
16
+ } catch (e) {
17
+ reject(e);
18
+ }
19
+ };
20
+ var rejected = (value) => {
21
+ try {
22
+ step(generator.throw(value));
23
+ } catch (e) {
24
+ reject(e);
25
+ }
26
+ };
27
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
28
+ step((generator = generator.apply(__this, __arguments)).next());
29
+ });
30
+ };
31
+ const _sfc_main = vue.defineComponent({
32
+ name: "ZtViewRecBox",
33
+ components: {
34
+ AButton: es.Button,
35
+ ATable: es.Table
36
+ },
37
+ props: {
38
+ pageId: { type: String, required: true }
39
+ },
40
+ setup(props) {
41
+ const { global } = hooks.useGlobal();
42
+ const service$1 = new service["default"](global.$http);
43
+ vue.watchEffect(() => __async(this, null, function* () {
44
+ if (props.pageId) {
45
+ const res = yield service$1.getPageLayout(props.pageId);
46
+ console.log(res);
47
+ }
48
+ }));
49
+ return {};
50
+ }
51
+ });
52
+ const _hoisted_1 = { class: "zt-view-rec-box" };
53
+ const _hoisted_2 = /* @__PURE__ */ vue.createTextVNode("\u6309\u94AE");
54
+ const _hoisted_3 = /* @__PURE__ */ vue.createTextVNode("\u6309\u94AE");
55
+ const _hoisted_4 = /* @__PURE__ */ vue.createTextVNode("\u6309\u94AE");
56
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
57
+ const _component_a_button = vue.resolveComponent("a-button");
58
+ const _component_a_table = vue.resolveComponent("a-table");
59
+ const _component_zt_panal_table = vue.resolveComponent("zt-panal-table");
60
+ const _component_zt_panal_bg = vue.resolveComponent("zt-panal-bg");
61
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
62
+ vue.createVNode(_component_zt_panal_bg, null, {
63
+ default: vue.withCtx(() => [
64
+ vue.createVNode(_component_zt_panal_table, null, {
65
+ buttons: vue.withCtx(() => [
66
+ vue.createVNode(_component_a_button, {
67
+ type: "primary",
68
+ ghost: ""
69
+ }, {
70
+ default: vue.withCtx(() => [
71
+ _hoisted_2
72
+ ]),
73
+ _: 1
74
+ }),
75
+ vue.createVNode(_component_a_button, { ghost: "" }, {
76
+ default: vue.withCtx(() => [
77
+ _hoisted_3
78
+ ]),
79
+ _: 1
80
+ }),
81
+ vue.createVNode(_component_a_button, {
82
+ danger: "",
83
+ ghost: ""
84
+ }, {
85
+ default: vue.withCtx(() => [
86
+ _hoisted_4
87
+ ]),
88
+ _: 1
89
+ })
90
+ ]),
91
+ default: vue.withCtx(() => [
92
+ vue.createVNode(_component_a_table, {
93
+ columns: [],
94
+ "data-source": []
95
+ })
96
+ ]),
97
+ _: 1
98
+ })
99
+ ]),
100
+ _: 1
101
+ })
102
+ ]);
103
+ }
104
+ var ViewRecBox = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__file", "/Users/peritotchan/workspace/egova/ega-monorepo/packages/zartd/src/view-rec-box/view-rec-box.vue"]]);
105
+
106
+ exports["default"] = ViewRecBox;
package/package.json ADDED
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "zartd",
3
+ "version": "0.0.10",
4
+ "main": "lib/index.js",
5
+ "module": "es/index.js",
6
+ "unpkg": "dist/index.min.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "require": "./lib/index.js",
11
+ "import": "./es/index.js"
12
+ },
13
+ "./es": "./es/index.js",
14
+ "./es/*": "./es/*.js",
15
+ "./es/*.js": "./es/*.js",
16
+ "./lib": "./lib/index.js",
17
+ "./lib/*": "./lib/*.js",
18
+ "./lib/*.js": "./lib/*.js",
19
+ "./*": "./*"
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "es",
24
+ "lib"
25
+ ],
26
+ "sideEffects": [
27
+ "dist/*",
28
+ "es/**/style/*",
29
+ "lib/**/style/*",
30
+ "*.less"
31
+ ],
32
+ "dependencies": {
33
+ "@ega/hooks": "0.0.8",
34
+ "@ega/utils": "0.0.10",
35
+ "@vueuse/core": "^8.7.5",
36
+ "lodash-es": "^4.17.21",
37
+ "pinia": "^2.0.14",
38
+ "qs": "^6.11.0"
39
+ },
40
+ "devDependencies": {
41
+ "@babel/core": "~7.18.6",
42
+ "@babel/preset-env": "~7.18.6",
43
+ "@babel/register": "^7.18.9",
44
+ "@rollup/plugin-alias": "^3.1.9",
45
+ "@rollup/plugin-babel": "~5.3.1",
46
+ "@rollup/plugin-commonjs": "~22.0.1",
47
+ "@rollup/plugin-json": "^4.1.0",
48
+ "@rollup/plugin-node-resolve": "~13.3.0",
49
+ "@types/lodash-es": "^4.17.6",
50
+ "@types/qs": "^6.9.7",
51
+ "@vitejs/plugin-vue": "^2.3.3",
52
+ "@vue/compiler-sfc": "^3.2.37",
53
+ "@vue/tsconfig": "^0.1.3",
54
+ "ant-design-vue": "^3.2.11",
55
+ "autoprefixer": "^10.4.8",
56
+ "cssnano": "^5.1.12",
57
+ "esbuild": "^0.14.51",
58
+ "fast-glob": "^3.2.11",
59
+ "fs-extra": "^10.1.0",
60
+ "gulp": "^4.0.2",
61
+ "gulp-less": "^5.0.0",
62
+ "gulp-postcss": "^9.0.1",
63
+ "gulp-rename": "^2.0.0",
64
+ "gulp-replace": "^1.1.3",
65
+ "gulp-sourcemaps": "^3.0.0",
66
+ "postcss": "^8.4.14",
67
+ "rimraf": "^3.0.2",
68
+ "rollup": "~2.75.7",
69
+ "rollup-plugin-dts": "^4.2.2",
70
+ "rollup-plugin-esbuild": "^4.9.1",
71
+ "rollup-plugin-terser": "^7.0.2",
72
+ "ts-morph": "^15.1.0",
73
+ "tslib": "~2.4.0",
74
+ "typescript": "~4.7.4",
75
+ "vite": "^2.9.13",
76
+ "vue": "^3.2.37",
77
+ "vue-router": "^4.1.3"
78
+ },
79
+ "peerDependencies": {
80
+ "ant-design-vue": "^3.2.9",
81
+ "vue": "^3.2.37",
82
+ "vue-router": "^4.1.3"
83
+ },
84
+ "scripts": {
85
+ "dev": "gulp dev -f scripts/gulpfile.babel.js",
86
+ "build": "gulp build -f scripts/gulpfile.babel.js"
87
+ }
88
+ }