@web-utils/component 2.0.13 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/dist/chunks/config.46422d7f.js +73 -0
  2. package/dist/chunks/confirmable-mixin.3a79781b.js +75 -0
  3. package/dist/chunks/dataformat.fb35ee10.js +61 -0
  4. package/dist/chunks/detail.a3249549.js +28 -0
  5. package/dist/chunks/dic.5f7e3523.js +132 -0
  6. package/dist/chunks/event.50c365eb.js +235 -0
  7. package/dist/chunks/form-input-mixin.ff5b58f7.js +24 -0
  8. package/dist/chunks/form-item-mixin.79f6eaff.js +128 -0
  9. package/dist/chunks/{822300f3.js → form-pick-mixin.61ad06b2.js} +3 -3
  10. package/dist/chunks/init.352281f5.js +121 -0
  11. package/dist/chunks/{44b78389.js → input-number-mixin.41a066be.js} +8 -8
  12. package/dist/chunks/{e1939731.js → mixins.5a78e0db.js} +5 -6
  13. package/dist/chunks/packages.5d7a86c4.js +114 -0
  14. package/dist/chunks/permission.ce5d2121.js +16 -0
  15. package/dist/chunks/slot.1b8d2b1b.js +27 -0
  16. package/dist/chunks/tab-mixin.8c0142e0.js +81 -0
  17. package/dist/chunks/util.5053d54e.js +264 -0
  18. package/dist/chunks/utils.97652d86.js +26 -0
  19. package/dist/chunks/utils.fa73de78.js +185 -0
  20. package/dist/chunks/vueComponentNormalizer.71e2aa87.js +32 -0
  21. package/dist/components/address-input/index.js +43 -56
  22. package/dist/components/address-input/style.css +1 -15
  23. package/dist/components/affix/index.js +102 -0
  24. package/dist/components/affix/style.css +1 -0
  25. package/dist/components/array/index.js +156 -0
  26. package/dist/components/array/style.css +1 -0
  27. package/dist/components/article/index.js +93 -0
  28. package/dist/components/article/style.css +1 -0
  29. package/dist/components/aside-menu/index.js +30 -36
  30. package/dist/components/aside-menu/style.css +1 -9
  31. package/dist/components/avatar/index.js +106 -0
  32. package/dist/components/avatar/style.css +1 -0
  33. package/dist/components/awesome-button/index.js +32 -35
  34. package/dist/components/base.css +1 -66
  35. package/dist/components/capsule-tab/index.js +27 -33
  36. package/dist/components/capsule-tab/style.css +1 -32
  37. package/dist/components/card/index.js +130 -0
  38. package/dist/components/card/style.css +1 -0
  39. package/dist/components/carousel/index.js +70 -0
  40. package/dist/components/carousel/style.css +1 -0
  41. package/dist/components/chat/index.js +567 -0
  42. package/dist/components/chat/style.css +1 -0
  43. package/dist/components/chunk-file-uploader/index.js +54 -88
  44. package/dist/components/chunk-file-uploader/style.css +1 -4
  45. package/dist/components/chunk-file-uploader-button/index.js +25 -31
  46. package/dist/components/chunk-file-uploader-button/style.css +1 -17
  47. package/dist/components/chunk-file-uploader-drop/index.js +28 -42
  48. package/dist/components/chunk-file-uploader-drop/style.css +1 -12
  49. package/dist/components/chunk-file-uploader-file/index.js +134 -211
  50. package/dist/components/chunk-file-uploader-file/style.css +1 -125
  51. package/dist/components/chunk-file-uploader-files/index.js +28 -34
  52. package/dist/components/chunk-file-uploader-files/style.css +1 -9
  53. package/dist/components/chunk-file-uploader-list/index.js +29 -35
  54. package/dist/components/chunk-file-uploader-list/style.css +1 -9
  55. package/dist/components/chunk-file-uploader-un-support/index.js +30 -38
  56. package/dist/components/chunk-file-uploader-un-support/style.css +1 -6
  57. package/dist/components/code/index.js +66 -0
  58. package/dist/components/code-mirror-editor/index.js +156 -181
  59. package/dist/components/code-mirror-editor/style.css +1 -17
  60. package/dist/components/color-picker/index.js +49 -68
  61. package/dist/components/column/index.js +114 -0
  62. package/dist/components/column-default/index.js +105 -0
  63. package/dist/components/column-dynamic/index.js +93 -0
  64. package/dist/components/column-menu/index.js +286 -0
  65. package/dist/components/column-slot/index.js +265 -0
  66. package/dist/components/comment/index.js +94 -0
  67. package/dist/components/comment/style.css +1 -0
  68. package/dist/components/confirm-button/index.js +19 -21
  69. package/dist/components/confirmable/index.js +18 -19
  70. package/dist/components/context-menu/index.js +118 -130
  71. package/dist/components/context-menu/style.css +1 -88
  72. package/dist/components/count-up/index.js +120 -0
  73. package/dist/components/custom-scrollbar/index.js +50 -68
  74. package/dist/components/data-box/index.js +97 -0
  75. package/dist/components/data-box/style.css +1 -0
  76. package/dist/components/data-card/index.js +98 -0
  77. package/dist/components/data-card/style.css +1 -0
  78. package/dist/components/data-cardtext/index.js +82 -0
  79. package/dist/components/data-cardtext/style.css +1 -0
  80. package/dist/components/data-display/index.js +93 -0
  81. package/dist/components/data-display/style.css +1 -0
  82. package/dist/components/data-icons/index.js +104 -0
  83. package/dist/components/data-icons/style.css +1 -0
  84. package/dist/components/data-imgtext/index.js +106 -0
  85. package/dist/components/data-imgtext/style.css +1 -0
  86. package/dist/components/data-operatext/index.js +99 -0
  87. package/dist/components/data-operatext/style.css +1 -0
  88. package/dist/components/data-panel/index.js +93 -0
  89. package/dist/components/data-panel/style.css +1 -0
  90. package/dist/components/data-pay/index.js +149 -0
  91. package/dist/components/data-pay/style.css +1 -0
  92. package/dist/components/data-price/index.js +84 -0
  93. package/dist/components/data-price/style.css +1 -0
  94. package/dist/components/data-progress/index.js +97 -0
  95. package/dist/components/data-progress/style.css +1 -0
  96. package/dist/components/data-rotate/index.js +96 -0
  97. package/dist/components/data-rotate/style.css +1 -0
  98. package/dist/components/data-table-picker/index.js +62 -81
  99. package/dist/components/data-tabs/index.js +94 -0
  100. package/dist/components/data-tabs/style.css +1 -0
  101. package/dist/components/dialog-column/index.js +138 -0
  102. package/dist/components/dialog-excel/index.js +214 -0
  103. package/dist/components/dialog-filter/index.js +245 -0
  104. package/dist/components/dialog-form/index.js +275 -0
  105. package/dist/components/draggable/index.js +384 -0
  106. package/dist/components/draggable/style.css +1 -0
  107. package/dist/components/dynamic-table/index.js +89 -113
  108. package/dist/components/dynamic-table/style.css +1 -30
  109. package/dist/components/e-charts/index.js +126 -201
  110. package/dist/components/e-charts/style.css +1 -10
  111. package/dist/components/editable-progress/index.js +60 -93
  112. package/dist/components/editable-progress/style.css +1 -37
  113. package/dist/components/editable-tree/index.js +423 -638
  114. package/dist/components/editable-tree/style.css +1 -82
  115. package/dist/components/egd-collapse/index.js +33 -46
  116. package/dist/components/egd-collapse-item/index.js +60 -76
  117. package/dist/components/element-dialog/index.js +95 -147
  118. package/dist/components/element-dialog/style.css +1 -102
  119. package/dist/components/empty/index.js +59 -0
  120. package/dist/components/empty/style.css +1 -0
  121. package/dist/components/empty-view/index.js +28 -34
  122. package/dist/components/empty-view/style.css +1 -17
  123. package/dist/components/error-view/index.js +26 -32
  124. package/dist/components/error-view/style.css +1 -17
  125. package/dist/components/flex-column/index.js +25 -40
  126. package/dist/components/flex-item/index.js +29 -57
  127. package/dist/components/flex-row/index.js +25 -40
  128. package/dist/components/flex-scroller/index.js +26 -32
  129. package/dist/components/flex-scroller/style.css +1 -20
  130. package/dist/components/flow/index.js +278 -0
  131. package/dist/components/flow/style.css +1 -0
  132. package/dist/components/flow-node/index.js +102 -0
  133. package/dist/components/form-button/index.js +34 -38
  134. package/dist/components/form-cascader/index.js +71 -81
  135. package/dist/components/form-checkbox-group/index.js +88 -113
  136. package/dist/components/form-checkbox-group/style.css +1 -51
  137. package/dist/components/form-date-picker/index.js +70 -132
  138. package/dist/components/form-group/index.js +122 -0
  139. package/dist/components/form-group/style.css +1 -0
  140. package/dist/components/form-holder/index.js +53 -39
  141. package/dist/components/form-input/index.js +56 -62
  142. package/dist/components/form-input-email/index.js +48 -60
  143. package/dist/components/form-input-id-card/index.js +53 -59
  144. package/dist/components/form-input-number/index.js +61 -68
  145. package/dist/components/form-input-number/style.css +1 -12
  146. package/dist/components/form-input-phone-number/index.js +49 -55
  147. package/dist/components/form-input-time/index.js +53 -59
  148. package/dist/components/form-item/index.js +80 -123
  149. package/dist/components/form-item/style.css +1 -11
  150. package/dist/components/form-item-config-provider/index.js +25 -26
  151. package/dist/components/form-item-group/index.js +85 -111
  152. package/dist/components/form-item-group/style.css +1 -30
  153. package/dist/components/form-radio-group/index.js +85 -104
  154. package/dist/components/form-radio-group/style.css +1 -53
  155. package/dist/components/form-select/index.js +76 -91
  156. package/dist/components/form-switch/index.js +51 -57
  157. package/dist/components/form-temp/index.js +149 -0
  158. package/dist/components/form-textarea/index.js +51 -57
  159. package/dist/components/form-view/index.js +165 -232
  160. package/dist/components/form-view/style.css +1 -158
  161. package/dist/components/fy-cascader/index.js +132 -0
  162. package/dist/components/fy-checkbox/index.js +116 -0
  163. package/dist/components/fy-checkbox/style.css +1 -0
  164. package/dist/components/fy-curd/index.js +846 -0
  165. package/dist/components/fy-curd/style.css +1 -0
  166. package/dist/components/fy-date/index.js +84 -0
  167. package/dist/components/fy-date/style.css +1 -0
  168. package/dist/components/fy-dialog-form/index.js +278 -0
  169. package/dist/components/fy-dialog-form/style.css +1 -0
  170. package/dist/components/fy-dynamic/index.js +335 -0
  171. package/dist/components/fy-dynamic/style.css +1 -0
  172. package/dist/components/fy-form/index.js +754 -0
  173. package/dist/components/fy-form/style.css +1 -0
  174. package/dist/components/fy-form-menu/index.js +95 -0
  175. package/dist/components/fy-input/index.js +162 -0
  176. package/dist/components/fy-input-color/index.js +96 -0
  177. package/dist/components/fy-input-icon/index.js +161 -0
  178. package/dist/components/fy-input-icon/style.css +1 -0
  179. package/dist/components/fy-input-map/index.js +275 -0
  180. package/dist/components/fy-input-map/style.css +1 -0
  181. package/dist/components/fy-input-number/index.js +87 -0
  182. package/dist/components/fy-input-table/index.js +172 -0
  183. package/dist/components/fy-input-table/style.css +1 -0
  184. package/dist/components/fy-input-tree/index.js +265 -0
  185. package/dist/components/fy-input-tree/style.css +1 -0
  186. package/dist/components/fy-radio/index.js +68 -0
  187. package/dist/components/fy-radio/style.css +1 -0
  188. package/dist/components/fy-rate/index.js +105 -0
  189. package/dist/components/fy-rate/style.css +1 -0
  190. package/dist/components/fy-select/index.js +223 -0
  191. package/dist/components/fy-select/style.css +1 -0
  192. package/dist/components/fy-slider/index.js +79 -0
  193. package/dist/components/fy-switch/index.js +73 -0
  194. package/dist/components/fy-time/index.js +95 -0
  195. package/dist/components/fy-title/index.js +40 -0
  196. package/dist/components/fy-title/style.css +1 -0
  197. package/dist/components/fy-upload/index.js +704 -0
  198. package/dist/components/fy-upload/style.css +1 -0
  199. package/dist/components/guide-steps/index.js +44 -58
  200. package/dist/components/guide-steps/style.css +1 -34
  201. package/dist/components/header-menu/index.js +238 -0
  202. package/dist/components/header-search/index.js +246 -0
  203. package/dist/components/icon-card/index.js +29 -35
  204. package/dist/components/icon-card/style.css +1 -56
  205. package/dist/components/icon-temp/index.js +50 -0
  206. package/dist/components/icon-temp/style.css +1 -0
  207. package/dist/components/iframe-window/index.js +29 -35
  208. package/dist/components/iframe-window/style.css +1 -20
  209. package/dist/components/image-viewer/index.js +48 -66
  210. package/dist/components/image-viewer/style.css +1 -21
  211. package/dist/components/input-number/index.js +127 -193
  212. package/dist/components/input-number/style.css +1 -15
  213. package/dist/components/input-number-range/index.js +45 -57
  214. package/dist/components/input-number-range/style.css +1 -12
  215. package/dist/components/j-s-x-component/index.js +4 -4
  216. package/dist/components/keep-view-alive/index.js +77 -120
  217. package/dist/components/keyboard/index.js +389 -0
  218. package/dist/components/keyboard/style.css +1 -0
  219. package/dist/components/license/index.js +134 -0
  220. package/dist/components/loading-view/index.js +26 -32
  221. package/dist/components/loading-view/style.css +1 -17
  222. package/dist/components/login/index.js +244 -0
  223. package/dist/components/login/style.css +1 -0
  224. package/dist/components/name-avatar/index.js +66 -0
  225. package/dist/components/name-avatar/style.css +1 -0
  226. package/dist/components/nav-bar/index.js +27 -37
  227. package/dist/components/nav-bar/style.css +1 -17
  228. package/dist/components/not-implement/index.js +23 -31
  229. package/dist/components/not-implement/style.css +1 -15
  230. package/dist/components/notice/index.js +143 -0
  231. package/dist/components/notice/style.css +1 -0
  232. package/dist/components/page/index.js +22 -28
  233. package/dist/components/page/style.css +1 -12
  234. package/dist/components/page-header/index.js +30 -36
  235. package/dist/components/page-header/style.css +1 -14
  236. package/dist/components/page-index/index.js +62 -83
  237. package/dist/components/page-index/style.css +1 -23
  238. package/dist/components/page-index-top/index.js +53 -68
  239. package/dist/components/page-skeleton/index.js +31 -37
  240. package/dist/components/page-skeleton/style.css +1 -23
  241. package/dist/components/page-skeleton-new/index.js +42 -48
  242. package/dist/components/page-skeleton-new/style.css +1 -42
  243. package/dist/components/pageable-table/index.js +190 -253
  244. package/dist/components/pageable-table/style.css +1 -72
  245. package/dist/components/pageable-view/index.js +134 -199
  246. package/dist/components/pageable-view/style.css +1 -69
  247. package/dist/components/photo-swipe/index.js +116 -151
  248. package/dist/components/photo-swipe/style.css +1 -20
  249. package/dist/components/progress/index.js +60 -0
  250. package/dist/components/queue/index.js +76 -0
  251. package/dist/components/record-video/index.js +173 -0
  252. package/dist/components/record-video/style.css +1 -0
  253. package/dist/components/resize-observer/index.js +34 -68
  254. package/dist/components/resize-observer/style.css +1 -31
  255. package/dist/components/search/index.js +142 -0
  256. package/dist/components/search/style.css +1 -0
  257. package/dist/components/search-popover/index.js +153 -211
  258. package/dist/components/search-popover/style.css +1 -93
  259. package/dist/components/sign/index.js +128 -0
  260. package/dist/components/sign/style.css +1 -0
  261. package/dist/components/sign-panel/index.js +105 -142
  262. package/dist/components/sign-panel/style.css +1 -97
  263. package/dist/components/skeleton/index.js +82 -0
  264. package/dist/components/skeleton/style.css +1 -0
  265. package/dist/components/split-pane/index.js +107 -162
  266. package/dist/components/split-pane/style.css +1 -100
  267. package/dist/components/stateful/index.js +31 -34
  268. package/dist/components/stateful/style.css +1 -33
  269. package/dist/components/static-pageable-table/index.js +37 -44
  270. package/dist/components/static-pageable-table/style.css +1 -9
  271. package/dist/components/swiper/index.js +85 -150
  272. package/dist/components/swiper/style.css +1 -43
  273. package/dist/components/tab/index.js +56 -72
  274. package/dist/components/tab/style.css +1 -122
  275. package/dist/components/tab-item/index.js +30 -35
  276. package/dist/components/table-column/index.js +30 -32
  277. package/dist/components/table-page/index.js +129 -0
  278. package/dist/components/table-view/index.js +156 -227
  279. package/dist/components/table-view/style.css +1 -95
  280. package/dist/components/tabs/index.js +90 -0
  281. package/dist/components/tabs/style.css +0 -0
  282. package/dist/components/tag-render/index.js +44 -58
  283. package/dist/components/tag-render/style.css +1 -33
  284. package/dist/components/text-ellipsis/index.js +107 -0
  285. package/dist/components/text-ellipsis/style.css +1 -0
  286. package/dist/components/tinymce-editor/index.js +79 -95
  287. package/dist/components/tinymce-editor/style.css +1 -43
  288. package/dist/components/tinymce-wrapper/index.js +92 -121
  289. package/dist/components/tinymce-wrapper/style.css +1 -36
  290. package/dist/components/toolbar/index.js +63 -84
  291. package/dist/components/toolbar/style.css +1 -39
  292. package/dist/components/toolbar-button/index.js +41 -48
  293. package/dist/components/toolbar-button/style.css +1 -21
  294. package/dist/components/tree/index.js +427 -0
  295. package/dist/components/tree/style.css +1 -0
  296. package/dist/components/trigger/index.js +29 -36
  297. package/dist/components/verify/index.js +80 -0
  298. package/dist/components/verify/style.css +1 -0
  299. package/dist/components/vue-tags-input/index.js +305 -311
  300. package/dist/components/vue-tags-input/style.css +1 -682
  301. package/dist/components/watermark/index.js +43 -37
  302. package/dist/components/watermark/style.css +1 -11
  303. package/dist/index.css +4157 -1686
  304. package/dist/index.es.js +23131 -11014
  305. package/package.json +20 -4
  306. package/web-types.json +12777 -2788
  307. package/dist/chunks/3d28cc08.js +0 -57
  308. package/dist/chunks/5d33812d.js +0 -147
  309. package/dist/chunks/9d848bf6.js +0 -99
  310. package/dist/chunks/a0bb327b.js +0 -96
  311. package/dist/chunks/a8891d2c.js +0 -30
  312. package/dist/chunks/c69d5628.js +0 -248
  313. package/dist/chunks/de9fe802.js +0 -24
  314. package/dist/components/x-dialog/index.js +0 -199
  315. package/dist/components/x-dialog/style.css +0 -15
@@ -1,97 +1 @@
1
- /* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
2
- /* 应用头部高度 */
3
- /* 页面宽度 */
4
- /* 侧栏宽度 */
5
- /* 标签高度 */
6
- /* 页面头部工具条高度 */
7
- .sign-panel {
8
- align-items: flex-start;
9
- justify-content: center;
10
- width: 100%;
11
- background: #fff;
12
- user-select: none;
13
- }
14
- .sign-panel .sign-canvas {
15
- position: absolute;
16
- top: 0;
17
- right: 0;
18
- bottom: 0;
19
- left: 0;
20
- width: 100%;
21
- max-width: 100%;
22
- height: 100%;
23
- background: rgba(255, 255, 155, 0);
24
- border: 1px solid #ccc;
25
- }
26
- .sign-panel .sign-tool-bar {
27
- display: flex;
28
- width: 100%;
29
- border: 1px solid #ccc;
30
- border-top: none;
31
- }
32
- .sign-panel .sign-tips {
33
- user-select: none;
34
- pointer-events: none;
35
- }
36
- .sign-panel .sign-button {
37
- padding: 6px;
38
- line-height: 1.6;
39
- text-align: center;
40
- background-color: #ebeef5;
41
- cursor: pointer;
42
- user-select: none;
43
- }
44
- .sign-panel .sign-button:hover {
45
- color: #1989fa;
46
- background-color: #d0d4de;
47
- }
48
- .sign-panel .sign-button:nth-child(n) {
49
- border-right: 1px solid #ccc;
50
- }
51
- .sign-panel .sign-button:last-child {
52
- border: none !important;
53
- }
54
- .sign-panel .sign-watermark {
55
- position: absolute;
56
- top: 0;
57
- right: 0;
58
- bottom: 0;
59
- left: 0;
60
- display: flex;
61
- align-items: center;
62
- justify-content: center;
63
- width: 100%;
64
- height: 100%;
65
- color: #eee;
66
- }
67
- .sign-panel .sign-view {
68
- position: relative;
69
- display: flex;
70
- align-items: center;
71
- justify-content: center;
72
- min-width: 212px;
73
- height: 80px;
74
- background-color: #fff;
75
- border: 1px solid #eee;
76
- }
77
- .sign-panel .sign-edit-icon {
78
- position: absolute;
79
- right: 4px;
80
- bottom: 4px;
81
- }
82
- .sign-panel .sign-image {
83
- display: inline-block;
84
- min-width: 160px;
85
- height: 80px;
86
- }
87
- .sign-panel .sign-edit {
88
- display: flex;
89
- flex-direction: column;
90
- align-items: center;
91
- max-width: 100%;
92
- background-color: #fff;
93
- }
94
- .sign-panel .sign-draw-area {
95
- position: relative;
96
- max-width: 100%;
97
- }
1
+ .sign-panel{align-items:flex-start;justify-content:center;width:100%;background:#fff;user-select:none}.sign-panel .sign-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;max-width:100%;height:100%;background:rgba(255,255,155,0);border:1px solid #ccc}.sign-panel .sign-tool-bar{display:flex;width:100%;border:1px solid #ccc;border-top:none}.sign-panel .sign-tips{user-select:none;pointer-events:none}.sign-panel .sign-button{padding:6px;line-height:1.6;text-align:center;background-color:#ebeef5;cursor:pointer;user-select:none}.sign-panel .sign-button:hover{color:#1989fa;background-color:#d0d4de}.sign-panel .sign-button:nth-child(n){border-right:1px solid #ccc}.sign-panel .sign-button:last-child{border:none!important}.sign-panel .sign-watermark{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#eee}.sign-panel .sign-view{position:relative;display:flex;align-items:center;justify-content:center;min-width:212px;height:80px;background-color:#fff;border:1px solid #eee}.sign-panel .sign-edit-icon{position:absolute;right:4px;bottom:4px}.sign-panel .sign-image{display:inline-block;min-width:160px;height:80px}.sign-panel .sign-edit{display:flex;flex-direction:column;align-items:center;max-width:100%;background-color:#fff}.sign-panel .sign-draw-area{position:relative;max-width:100%}
@@ -0,0 +1,82 @@
1
+ import { n as o } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
2
+ var r = function() {
3
+ var e = this, a = e.$createElement, t = e._self._c || a;
4
+ return t("div", {
5
+ staticClass: "avue-skeleton"
6
+ }, [e.loading ? e._l(e.number, function(d, n) {
7
+ return t("div", {
8
+ key: n,
9
+ staticClass: "avue-skeleton__item"
10
+ }, [t("div", {
11
+ staticClass: "avue-skeleton__header"
12
+ }, [e.avatar ? t("span", {
13
+ staticClass: "avue-skeleton__vatar'),className]"
14
+ }) : e._e()]), t("div", {
15
+ staticClass: "avue-skeleton__content"
16
+ }, [t("h3", {
17
+ class: ["avue-skeleton__title", e.className]
18
+ }), t("div", {
19
+ staticClass: "avue-skeleton__list"
20
+ }, e._l(e.rows, function(m, l) {
21
+ return t("p", {
22
+ key: l,
23
+ class: ["avue-skeleton__li", e.className],
24
+ style: e.styleName
25
+ });
26
+ }), 0)])]);
27
+ }) : t("div", [e._t("default")], 2)], 2);
28
+ }, _ = [];
29
+ const i = "avue-skeleton", u = {
30
+ name: "Skeleton",
31
+ props: {
32
+ loading: {
33
+ type: Boolean,
34
+ default: !0
35
+ },
36
+ avatar: Boolean,
37
+ active: {
38
+ type: Boolean,
39
+ default: !0
40
+ },
41
+ block: Boolean,
42
+ number: {
43
+ type: Number,
44
+ default: 1
45
+ },
46
+ rows: {
47
+ type: Number,
48
+ default: 3
49
+ }
50
+ },
51
+ computed: {
52
+ styleName() {
53
+ return this.block ? {
54
+ width: "100%"
55
+ } : {};
56
+ },
57
+ className() {
58
+ let { active: e } = this;
59
+ return { [`${i}__loading`]: e };
60
+ }
61
+ }
62
+ }, s = {};
63
+ var c = /* @__PURE__ */ o(
64
+ u,
65
+ r,
66
+ _,
67
+ !1,
68
+ v,
69
+ null,
70
+ null,
71
+ null
72
+ );
73
+ function v(e) {
74
+ for (let a in s)
75
+ this[a] = s[a];
76
+ }
77
+ const p = /* @__PURE__ */ function() {
78
+ return c.exports;
79
+ }();
80
+ export {
81
+ p as default
82
+ };
@@ -0,0 +1 @@
1
+ .avue-skeleton__avatar{width:40px;height:40px;line-height:40px;display:inline-block;border-radius:50%;background:#f2f2f2}.avue-skeleton__header{display:table-cell;vertical-align:top;padding-right:16px}.avue-skeleton__content{display:table-cell;vertical-align:top;width:100%}.avue-skeleton__title{margin-top:16px;height:16px;width:40%;background:#f2f2f2}.avue-skeleton__item{padding-top:16px;padding-bottom:16px;border-bottom:1px solid #e8e8e8}.avue-skeleton__item:last-child{border-bottom:none}.avue-skeleton__li{margin-bottom:10px;height:16px;background:#f2f2f2;list-style:none;width:100%}.avue-skeleton__li:last-child{width:50%}.avue-skeleton__loading{background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);animation:avue-skeleton-loading 1.4s ease infinite;background-size:400% 100%}@keyframes avue-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}
@@ -1,117 +1,94 @@
1
- import { n as normalizeComponent } from "../../chunks/3d28cc08.js";
2
- function oneOf(value, validList) {
3
- for (let i = 0; i < validList.length; i++) {
4
- if (value === validList[i]) {
5
- return true;
6
- }
7
- }
8
- return false;
1
+ import { n as h } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
2
+ function l(t, e) {
3
+ for (let s = 0; s < e.length; s++)
4
+ if (t === e[s])
5
+ return !0;
6
+ return !1;
9
7
  }
10
- const on = function() {
11
- if (document.addEventListener) {
12
- return function(element, event, handler) {
13
- if (element && event && handler) {
14
- element.addEventListener(event, handler, false);
15
- }
16
- };
17
- } else {
18
- return function(element, event, handler) {
19
- if (element && event && handler) {
20
- element.attachEvent(`on${event}`, handler);
21
- }
22
- };
23
- }
24
- }();
25
- const off = function() {
26
- if (document.removeEventListener) {
27
- return function(element, event, handler) {
28
- if (element && event) {
29
- element.removeEventListener(event, handler, false);
30
- }
31
- };
32
- } else {
33
- return function(element, event, handler) {
34
- if (element && event) {
35
- element.detachEvent(`on${event}`, handler);
36
- }
37
- };
38
- }
8
+ const n = function() {
9
+ return document.addEventListener ? function(t, e, s) {
10
+ t && e && s && t.addEventListener(e, s, !1);
11
+ } : function(t, e, s) {
12
+ t && e && s && t.attachEvent(`on${e}`, s);
13
+ };
14
+ }(), a = function() {
15
+ return document.removeEventListener ? function(t, e, s) {
16
+ t && e && t.removeEventListener(e, s, !1);
17
+ } : function(t, e, s) {
18
+ t && e && t.detachEvent(`on${e}`, s);
19
+ };
39
20
  }();
40
- var render = function() {
41
- var _vm = this;
42
- var _h = _vm.$createElement;
43
- var _c = _vm._self._c || _h;
44
- return _c("div", {
21
+ var p = function() {
22
+ var t = this, e = t.$createElement, s = t._self._c || e;
23
+ return s("div", {
45
24
  ref: "outerWrapper",
46
- class: _vm.wrapperClasses
47
- }, [_vm.isHorizontal ? _c("div", {
48
- class: `${_vm.prefix}-horizontal`
49
- }, [!_vm.hideLeft ? [_c("div", {
50
- class: [`${_vm.prefix}-pane`, "left-pane"],
25
+ class: t.wrapperClasses
26
+ }, [t.isHorizontal ? s("div", {
27
+ class: `${t.prefix}-horizontal`
28
+ }, [t.hideLeft ? s("div", {
29
+ class: [`${t.prefix}-pane`, "right-pane"],
30
+ staticStyle: {
31
+ left: "0"
32
+ }
33
+ }, [t._t("right")], 2) : [s("div", {
34
+ class: [`${t.prefix}-pane`, "left-pane"],
51
35
  style: {
52
- right: `${_vm.anotherOffset}%`
36
+ right: `${t.anotherOffset}%`
53
37
  }
54
- }, [_vm._t("left")], 2), _c("div", {
55
- class: `${_vm.prefix}-trigger-con`,
38
+ }, [t._t("left")], 2), s("div", {
39
+ class: `${t.prefix}-trigger-con`,
56
40
  style: {
57
- left: `calc(${_vm.offset}% + ${_vm.triggerSize / 2}px)`,
58
- width: `${_vm.triggerSize}px`
41
+ left: `calc(${t.offset}% + ${t.triggerSize / 2}px)`,
42
+ width: `${t.triggerSize}px`
59
43
  },
60
44
  on: {
61
- "mousedown": _vm.handleMousedown
45
+ mousedown: t.handleMousedown
62
46
  }
63
- }, [_vm._t("trigger", function() {
64
- return [_c("Trigger", {
47
+ }, [t._t("trigger", function() {
48
+ return [s("Trigger", {
65
49
  attrs: {
66
- "mode": "vertical"
50
+ mode: "vertical"
67
51
  }
68
52
  })];
69
- })], 2), _c("div", {
70
- class: [`${_vm.prefix}-pane`, "right-pane"],
53
+ })], 2), s("div", {
54
+ class: [`${t.prefix}-pane`, "right-pane"],
71
55
  style: {
72
- left: `calc(${_vm.offset}% + ${_vm.triggerSize}px)`
73
- }
74
- }, [_vm._t("right")], 2)] : _c("div", {
75
- class: [`${_vm.prefix}-pane`, "right-pane"],
76
- staticStyle: {
77
- "left": "0"
56
+ left: `calc(${t.offset}% + ${t.triggerSize}px)`
78
57
  }
79
- }, [_vm._t("right")], 2)], 2) : _c("div", {
80
- class: `${_vm.prefix}-vertical`
81
- }, [_c("div", {
82
- class: [`${_vm.prefix}-pane`, "top-pane"],
58
+ }, [t._t("right")], 2)]], 2) : s("div", {
59
+ class: `${t.prefix}-vertical`
60
+ }, [s("div", {
61
+ class: [`${t.prefix}-pane`, "top-pane"],
83
62
  style: {
84
- bottom: `${_vm.anotherOffset}%`
63
+ bottom: `${t.anotherOffset}%`
85
64
  }
86
- }, [_vm._t("top")], 2), _c("div", {
87
- class: `${_vm.prefix}-trigger-con`,
65
+ }, [t._t("top")], 2), s("div", {
66
+ class: `${t.prefix}-trigger-con`,
88
67
  style: {
89
- top: `calc(${_vm.offset}% + ${_vm.triggerSize / 2}px)`,
90
- height: `${_vm.triggerSize}px`
68
+ top: `calc(${t.offset}% + ${t.triggerSize / 2}px)`,
69
+ height: `${t.triggerSize}px`
91
70
  },
92
71
  on: {
93
- "mousedown": _vm.handleMousedown
72
+ mousedown: t.handleMousedown
94
73
  }
95
- }, [_vm._t("trigger", function() {
96
- return [_c("Trigger", {
74
+ }, [t._t("trigger", function() {
75
+ return [s("Trigger", {
97
76
  attrs: {
98
- "mode": "horizontal"
77
+ mode: "horizontal"
99
78
  }
100
79
  })];
101
- })], 2), _c("div", {
102
- class: [`${_vm.prefix}-pane`, "bottom-pane"],
80
+ })], 2), s("div", {
81
+ class: [`${t.prefix}-pane`, "bottom-pane"],
103
82
  style: {
104
- top: `calc(${_vm.offset}% + ${_vm.triggerSize}px)`
83
+ top: `calc(${t.offset}% + ${t.triggerSize}px)`
105
84
  }
106
- }, [_vm._t("bottom")], 2)]), _c("ResizeObserver", {
85
+ }, [t._t("bottom")], 2)]), s("ResizeObserver", {
107
86
  on: {
108
- "notify": _vm.resetOffset
87
+ notify: t.resetOffset
109
88
  }
110
89
  })], 1);
111
- };
112
- var staticRenderFns = [];
113
- const SplitPane_vue_vue_type_style_index_0_lang = "";
114
- const __vue2_script = {
90
+ }, u = [];
91
+ const d = {
115
92
  name: "SplitPane",
116
93
  props: {
117
94
  value: {
@@ -119,8 +96,8 @@ const __vue2_script = {
119
96
  default: 0.5
120
97
  },
121
98
  mode: {
122
- validator(value) {
123
- return oneOf(value, ["horizontal", "vertical"]);
99
+ validator(t) {
100
+ return l(t, ["horizontal", "vertical"]);
124
101
  },
125
102
  default: "horizontal"
126
103
  },
@@ -138,12 +115,18 @@ const __vue2_script = {
138
115
  default: "40px"
139
116
  }
140
117
  },
118
+ /**
119
+ * Events
120
+ * @on-move-start
121
+ * @on-moving 返回值:事件对象,但是在事件对象中加入了两个参数:atMin(当前是否在最小值处), atMax(当前是否在最大值处)
122
+ * @on-move-end
123
+ */
141
124
  data() {
142
125
  return {
143
126
  prefix: "egd-split",
144
127
  offset: 0,
145
128
  oldOffset: 0,
146
- isMoving: false
129
+ isMoving: !1
147
130
  };
148
131
  },
149
132
  computed: {
@@ -157,7 +140,7 @@ const __vue2_script = {
157
140
  return 100 - this.offset;
158
141
  },
159
142
  valueIsPx() {
160
- return typeof this.value === "string";
143
+ return typeof this.value == "string";
161
144
  },
162
145
  offsetSize() {
163
146
  return this.isHorizontal ? "offsetWidth" : "offsetHeight";
@@ -173,98 +156,60 @@ const __vue2_script = {
173
156
  value: "resetOffset"
174
157
  },
175
158
  async mounted() {
176
- await this.$nextTick();
177
- this.resetOffset();
159
+ await this.$nextTick(), this.resetOffset();
178
160
  },
179
161
  methods: {
180
162
  resetOffset() {
181
163
  this.offset = (this.valueIsPx ? this.px2percent(this.value, this.$refs.outerWrapper[this.offsetSize]) : this.value) * 1e4 / 100;
182
164
  },
183
- px2percent(numerator, denominator) {
184
- return parseFloat(numerator) / parseFloat(denominator);
165
+ px2percent(t, e) {
166
+ return parseFloat(t) / parseFloat(e);
185
167
  },
186
- getComputedThresholdValue(type) {
187
- const size = this.$refs.outerWrapper[this.offsetSize];
188
- if (this.valueIsPx) {
189
- return typeof this[type] === "string" ? this[type] : size * this[type];
190
- } else {
191
- return typeof this[type] === "string" ? this.px2percent(this[type], size) : this[type];
192
- }
168
+ getComputedThresholdValue(t) {
169
+ const e = this.$refs.outerWrapper[this.offsetSize];
170
+ return this.valueIsPx ? typeof this[t] == "string" ? this[t] : e * this[t] : typeof this[t] == "string" ? this.px2percent(this[t], e) : this[t];
193
171
  },
194
- getMin(value1, value2) {
195
- if (this.valueIsPx) {
196
- return `${Math.min(parseFloat(value1), parseFloat(value2))}px`;
197
- } else {
198
- return Math.min(value1, value2);
199
- }
172
+ getMin(t, e) {
173
+ return this.valueIsPx ? `${Math.min(parseFloat(t), parseFloat(e))}px` : Math.min(t, e);
200
174
  },
201
- getMax(value1, value2) {
202
- if (this.valueIsPx) {
203
- return `${Math.max(parseFloat(value1), parseFloat(value2))}px`;
204
- } else {
205
- return Math.max(value1, value2);
206
- }
175
+ getMax(t, e) {
176
+ return this.valueIsPx ? `${Math.max(parseFloat(t), parseFloat(e))}px` : Math.max(t, e);
207
177
  },
208
- getAnotherOffset(value) {
209
- let res = 0;
210
- if (this.valueIsPx) {
211
- res = `${this.$refs.outerWrapper[this.offsetSize] - parseFloat(value)}px`;
212
- } else {
213
- res = 1 - value;
214
- }
215
- return res;
178
+ getAnotherOffset(t) {
179
+ let e = 0;
180
+ return this.valueIsPx ? e = `${this.$refs.outerWrapper[this.offsetSize] - parseFloat(t)}px` : e = 1 - t, e;
216
181
  },
217
- handleMove(e) {
218
- const pageOffset = this.isHorizontal ? e.pageX : e.pageY;
219
- const offset = pageOffset - this.initOffset;
220
- const outerWidth = this.$refs.outerWrapper[this.offsetSize];
221
- let value = this.valueIsPx ? `${parseFloat(this.oldOffset) + offset}px` : this.px2percent(outerWidth * this.oldOffset + offset, outerWidth);
222
- const anotherValue = this.getAnotherOffset(value);
223
- if (parseFloat(value) <= parseFloat(this.computedMin))
224
- value = this.getMax(value, this.computedMin);
225
- if (parseFloat(anotherValue) <= parseFloat(this.computedMax)) {
226
- value = this.getAnotherOffset(this.getMax(anotherValue, this.computedMax));
227
- }
228
- e.atMin = this.value === this.computedMin;
229
- e.atMax = this.valueIsPx ? this.getAnotherOffset(this.value) === this.computedMax : this.getAnotherOffset(this.value).toFixed(5) === this.computedMax.toFixed(5);
230
- this.$emit("input", value);
231
- this.$emit("on-moving", e);
182
+ handleMove(t) {
183
+ const s = (this.isHorizontal ? t.pageX : t.pageY) - this.initOffset, r = this.$refs.outerWrapper[this.offsetSize];
184
+ let i = this.valueIsPx ? `${parseFloat(this.oldOffset) + s}px` : this.px2percent(r * this.oldOffset + s, r);
185
+ const o = this.getAnotherOffset(i);
186
+ parseFloat(i) <= parseFloat(this.computedMin) && (i = this.getMax(i, this.computedMin)), parseFloat(o) <= parseFloat(this.computedMax) && (i = this.getAnotherOffset(this.getMax(o, this.computedMax))), t.atMin = this.value === this.computedMin, t.atMax = this.valueIsPx ? this.getAnotherOffset(this.value) === this.computedMax : this.getAnotherOffset(this.value).toFixed(5) === this.computedMax.toFixed(5), this.$emit("input", i), this.$emit("on-moving", t);
232
187
  },
233
188
  handleUp() {
234
- this.isMoving = false;
235
- off(window, "mousemove", this.handleMove);
236
- off(window, "mouseup", this.handleUp);
237
- this.$emit("on-move-end");
189
+ this.isMoving = !1, a(window, "mousemove", this.handleMove), a(window, "mouseup", this.handleUp), this.$emit("on-move-end");
238
190
  },
239
- handleMousedown(e) {
240
- this.initOffset = this.isHorizontal ? e.pageX : e.pageY;
241
- this.oldOffset = this.value;
242
- this.isMoving = true;
243
- on(window, "mousemove", this.handleMove);
244
- on(window, "mouseup", this.handleUp);
245
- this.$emit("on-move-start");
191
+ handleMousedown(t) {
192
+ this.initOffset = this.isHorizontal ? t.pageX : t.pageY, this.oldOffset = this.value, this.isMoving = !0, n(window, "mousemove", this.handleMove), n(window, "mouseup", this.handleUp), this.$emit("on-move-start");
246
193
  }
247
194
  }
248
- };
249
- const __cssModules = {};
250
- var __component__ = /* @__PURE__ */ normalizeComponent(
251
- __vue2_script,
252
- render,
253
- staticRenderFns,
254
- false,
255
- __vue2_injectStyles,
195
+ }, f = {};
196
+ var c = /* @__PURE__ */ h(
197
+ d,
198
+ p,
199
+ u,
200
+ !1,
201
+ g,
256
202
  null,
257
203
  null,
258
204
  null
259
205
  );
260
- function __vue2_injectStyles(context) {
261
- for (let o in __cssModules) {
262
- this[o] = __cssModules[o];
263
- }
206
+ function g(t) {
207
+ for (let e in f)
208
+ this[e] = f[e];
264
209
  }
265
- const SplitPane = /* @__PURE__ */ function() {
266
- return __component__.exports;
210
+ const x = /* @__PURE__ */ function() {
211
+ return c.exports;
267
212
  }();
268
213
  export {
269
- SplitPane as default
214
+ x as default
270
215
  };
@@ -1,100 +1 @@
1
- /* 全局公共颜色配置 */ /* 全局公共尺寸配置 */ /* 应用头部高度 */ /* 页面宽度 */ /* 侧栏宽度 */ /* 标签高度 */ /* 页面头部工具条高度 */
2
- .egd-split-wrapper {
3
- position: relative;
4
- width: 100%;
5
- height: 100%;
6
- }
7
- .egd-split-pane {
8
- position: absolute;
9
- }
10
- .egd-split-pane.left-pane, .egd-split-pane.right-pane {
11
- top: 0;
12
- bottom: 0;
13
- }
14
- .egd-split-pane.left-pane {
15
- left: 0;
16
- }
17
- .egd-split-pane.right-pane {
18
- right: 0;
19
- }
20
- .egd-split-pane.top-pane, .egd-split-pane.bottom-pane {
21
- right: 0;
22
- left: 0;
23
- }
24
- .egd-split-pane.top-pane {
25
- top: 0;
26
- }
27
- .egd-split-pane.bottom-pane {
28
- bottom: 0;
29
- }
30
- .egd-split-trigger-con {
31
- position: absolute;
32
- z-index: 10;
33
- transform: translate(-50%, -50%);
34
- }
35
- .egd-split-trigger-bar-con {
36
- position: absolute;
37
- overflow: hidden;
38
- }
39
- .egd-split-trigger-bar-con.vertical {
40
- top: 50%;
41
- left: 1px;
42
- height: 32px;
43
- transform: translate(0, -50%);
44
- }
45
- .egd-split-trigger-bar-con.horizontal {
46
- top: 1px;
47
- left: 50%;
48
- width: 32px;
49
- transform: translate(-50%, 0);
50
- }
51
- .egd-split-trigger-vertical {
52
- width: 6px;
53
- height: 100%;
54
- background: #f8f8f9;
55
- box-shadow: 0 0 4px 0 rgba(28, 36, 56, 0.4);
56
- cursor: ew-resize;
57
- }
58
- .egd-split-trigger-vertical .egd-split-trigger-bar {
59
- float: left;
60
- width: 4px;
61
- height: 1px;
62
- margin-top: 3px;
63
- background: rgba(23, 35, 61, 0.25);
64
- }
65
- .egd-split-trigger-horizontal {
66
- width: 100%;
67
- height: 6px;
68
- background: #f8f8f9;
69
- box-shadow: 0 0 4px 0 rgba(28, 36, 56, 0.4);
70
- cursor: ns-resize;
71
- }
72
- .egd-split-trigger-horizontal .egd-split-trigger-bar {
73
- float: left;
74
- width: 1px;
75
- height: 4px;
76
- margin-right: 3px;
77
- background: rgba(23, 35, 61, 0.25);
78
- }
79
- .egd-split-horizontal .egd-split-trigger-con {
80
- top: 50%;
81
- height: 100%;
82
- border-right: 1px solid #d7dae0;
83
- }
84
- .egd-split-vertical .egd-split-trigger-con {
85
- left: 50%;
86
- width: 100%;
87
- border-bottom: 1px solid #d7dae0;
88
- }
89
- .egd-split-trigger-vertical-line {
90
- background-color: transparent;
91
- box-shadow: none;
92
- }
93
- .egd-split-trigger-horizontal-line {
94
- background-color: transparent;
95
- box-shadow: none;
96
- }
97
- .egd-split .no-select {
98
- -webkit-touch-callout: none;
99
- user-select: none;
100
- }
1
+ .egd-split-wrapper{position:relative;width:100%;height:100%}.egd-split-pane{position:absolute}.egd-split-pane.left-pane,.egd-split-pane.right-pane{top:0;bottom:0}.egd-split-pane.left-pane{left:0}.egd-split-pane.right-pane{right:0}.egd-split-pane.top-pane,.egd-split-pane.bottom-pane{right:0;left:0}.egd-split-pane.top-pane{top:0}.egd-split-pane.bottom-pane{bottom:0}.egd-split-trigger-con{position:absolute;z-index:10;transform:translate(-50%,-50%)}.egd-split-trigger-bar-con{position:absolute;overflow:hidden}.egd-split-trigger-bar-con.vertical{top:50%;left:1px;height:32px;transform:translateY(-50%)}.egd-split-trigger-bar-con.horizontal{top:1px;left:50%;width:32px;transform:translate(-50%)}.egd-split-trigger-vertical{width:6px;height:100%;background:#f8f8f9;box-shadow:0 0 4px #1c243866;cursor:ew-resize}.egd-split-trigger-vertical .egd-split-trigger-bar{float:left;width:4px;height:1px;margin-top:3px;background:rgba(23,35,61,.25)}.egd-split-trigger-horizontal{width:100%;height:6px;background:#f8f8f9;box-shadow:0 0 4px #1c243866;cursor:ns-resize}.egd-split-trigger-horizontal .egd-split-trigger-bar{float:left;width:1px;height:4px;margin-right:3px;background:rgba(23,35,61,.25)}.egd-split-horizontal .egd-split-trigger-con{top:50%;height:100%;border-right:1px solid #d7dae0}.egd-split-vertical .egd-split-trigger-con{left:50%;width:100%;border-bottom:1px solid #d7dae0}.egd-split-trigger-vertical-line,.egd-split-trigger-horizontal-line{background-color:transparent;box-shadow:none}.egd-split .no-select{-webkit-touch-callout:none;user-select:none}