@web-utils/component 2.7.30 → 2.7.31

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 (330) hide show
  1. package/dist/chunks/{config.7dec2bf2.js → config.75161c38.js} +29 -29
  2. package/dist/chunks/confirmable-mixin.851d6299.js +137 -0
  3. package/dist/chunks/dataformat.b8c8c01a.js +237 -0
  4. package/dist/chunks/detail.6135ade5.js +55 -0
  5. package/dist/chunks/dic.e57b75f2.js +215 -0
  6. package/dist/chunks/{event.fc358074.js → event.812c361c.js} +54 -23
  7. package/dist/chunks/{form-input-mixin.760cd65d.js → form-input-mixin.3e63b57f.js} +4 -4
  8. package/dist/chunks/{form-item-mixin.fa314b67.js → form-item-mixin.a56c101a.js} +44 -17
  9. package/dist/chunks/{form-pick-mixin.c4e0391b.js → form-pick-mixin.822300f3.js} +1 -1
  10. package/dist/chunks/{init.e0133910.js → init.38cbb3a2.js} +41 -21
  11. package/dist/chunks/{input-number-mixin.6849fa63.js → input-number-mixin.44b78389.js} +4 -4
  12. package/dist/chunks/{mixins.6a394a6c.js → mixins.e1939731.js} +3 -2
  13. package/dist/chunks/{packages.419bde01.js → packages.c4ea639d.js} +12 -6
  14. package/dist/chunks/{permission.07c49abf.js → permission.9c766972.js} +6 -1
  15. package/dist/chunks/slot.55598d0f.js +35 -0
  16. package/dist/chunks/{tab-mixin.9d568df9.js → tab-mixin.9d848bf6.js} +29 -11
  17. package/dist/chunks/util.b0d0b0ad.js +478 -0
  18. package/dist/chunks/{utils.d7f73f8d.js → utils.2a3ffac9.js} +89 -24
  19. package/dist/chunks/{utils.f44207f4.js → utils.a8891d2c.js} +9 -5
  20. package/dist/chunks/vueComponentNormalizer.9c6b8b3d.js +59 -0
  21. package/dist/components/address-input/index.js +30 -17
  22. package/dist/components/address-input/style.css +15 -1
  23. package/dist/components/affix/index.js +78 -28
  24. package/dist/components/affix/style.css +5 -1
  25. package/dist/components/aside-menu/index.js +14 -8
  26. package/dist/components/aside-menu/style.css +9 -1
  27. package/dist/components/avatar/index.js +33 -15
  28. package/dist/components/avatar/style.css +57 -1
  29. package/dist/components/awesome-button/index.js +45 -31
  30. package/dist/components/base.css +410 -1
  31. package/dist/components/capsule-tab/index.js +13 -7
  32. package/dist/components/capsule-tab/style.css +32 -1
  33. package/dist/components/card/index.js +33 -20
  34. package/dist/components/card/style.css +90 -1
  35. package/dist/components/carousel/index.js +18 -12
  36. package/dist/components/carousel/style.css +41 -1
  37. package/dist/components/chat/index.js +245 -139
  38. package/dist/components/chat/style.css +279 -1
  39. package/dist/components/chunk-file-uploader/index.js +63 -29
  40. package/dist/components/chunk-file-uploader/style.css +4 -1
  41. package/dist/components/chunk-file-uploader-button/index.js +15 -9
  42. package/dist/components/chunk-file-uploader-button/style.css +17 -1
  43. package/dist/components/chunk-file-uploader-drop/index.js +45 -27
  44. package/dist/components/chunk-file-uploader-drop/style.css +12 -1
  45. package/dist/components/chunk-file-uploader-file/index.js +150 -73
  46. package/dist/components/chunk-file-uploader-file/style.css +125 -1
  47. package/dist/components/chunk-file-uploader-files/index.js +15 -9
  48. package/dist/components/chunk-file-uploader-files/style.css +9 -1
  49. package/dist/components/chunk-file-uploader-list/index.js +16 -10
  50. package/dist/components/chunk-file-uploader-list/style.css +9 -1
  51. package/dist/components/chunk-file-uploader-un-support/index.js +18 -10
  52. package/dist/components/chunk-file-uploader-un-support/style.css +6 -1
  53. package/dist/components/code-mirror-editor/index.js +75 -47
  54. package/dist/components/code-mirror-editor/style.css +17 -1
  55. package/dist/components/color-picker/index.js +62 -39
  56. package/dist/components/column/index.js +54 -29
  57. package/dist/components/column-default/index.js +47 -33
  58. package/dist/components/column-dynamic/index.js +26 -19
  59. package/dist/components/column-menu/index.js +98 -86
  60. package/dist/components/column-slot/index.js +135 -75
  61. package/dist/components/comment/index.js +28 -15
  62. package/dist/components/comment/style.css +92 -1
  63. package/dist/components/confirm-button/index.js +7 -5
  64. package/dist/components/confirmable/index.js +5 -4
  65. package/dist/components/context-menu/index.js +54 -32
  66. package/dist/components/context-menu/style.css +88 -1
  67. package/dist/components/count-up/index.js +55 -38
  68. package/dist/components/custom-scrollbar/index.js +45 -21
  69. package/dist/components/data-box/index.js +22 -16
  70. package/dist/components/data-box/style.css +58 -1
  71. package/dist/components/data-card/index.js +21 -15
  72. package/dist/components/data-card/style.css +46 -1
  73. package/dist/components/data-cardtext/index.js +19 -13
  74. package/dist/components/data-cardtext/style.css +36 -1
  75. package/dist/components/data-display/index.js +22 -16
  76. package/dist/components/data-display/style.css +37 -1
  77. package/dist/components/data-icons/index.js +23 -17
  78. package/dist/components/data-icons/style.css +53 -1
  79. package/dist/components/data-imgtext/index.js +26 -20
  80. package/dist/components/data-imgtext/style.css +70 -1
  81. package/dist/components/data-operatext/index.js +20 -14
  82. package/dist/components/data-operatext/style.css +81 -1
  83. package/dist/components/data-panel/index.js +21 -15
  84. package/dist/components/data-panel/style.css +37 -1
  85. package/dist/components/data-pay/index.js +29 -23
  86. package/dist/components/data-pay/style.css +102 -1
  87. package/dist/components/data-price/index.js +19 -13
  88. package/dist/components/data-price/style.css +81 -1
  89. package/dist/components/data-progress/index.js +26 -20
  90. package/dist/components/data-progress/style.css +30 -1
  91. package/dist/components/data-rotate/index.js +21 -15
  92. package/dist/components/data-rotate/style.css +50 -1
  93. package/dist/components/data-table-picker/index.js +47 -28
  94. package/dist/components/data-tabs/index.js +22 -16
  95. package/dist/components/data-tabs/style.css +70 -1
  96. package/dist/components/dialog-column/index.js +46 -33
  97. package/dist/components/dialog-excel/index.js +102 -53
  98. package/dist/components/dialog-filter/index.js +64 -51
  99. package/dist/components/dialog-form/index.js +54 -34
  100. package/dist/components/dialog-form/style.css +10 -0
  101. package/dist/components/dynamic-table/index.js +66 -42
  102. package/dist/components/dynamic-table/style.css +30 -1
  103. package/dist/components/e-charts/index.js +127 -46
  104. package/dist/components/e-charts/style.css +10 -1
  105. package/dist/components/easy-popup/index.js +32 -14
  106. package/dist/components/easy-popup/style.css +18 -1
  107. package/dist/components/editable-progress/index.js +64 -31
  108. package/dist/components/editable-progress/style.css +37 -1
  109. package/dist/components/editable-tree/index.js +513 -287
  110. package/dist/components/editable-tree/style.css +82 -1
  111. package/dist/components/egd-collapse/index.js +25 -12
  112. package/dist/components/egd-collapse-item/index.js +41 -25
  113. package/dist/components/element-dialog/index.js +101 -48
  114. package/dist/components/element-dialog/style.css +88 -1
  115. package/dist/components/empty-view/index.js +13 -7
  116. package/dist/components/empty-view/style.css +17 -1
  117. package/dist/components/error-view/index.js +12 -6
  118. package/dist/components/error-view/style.css +17 -1
  119. package/dist/components/flex-column/index.js +39 -17
  120. package/dist/components/flex-item/index.js +59 -24
  121. package/dist/components/flex-row/index.js +39 -17
  122. package/dist/components/flex-scroller/index.js +13 -7
  123. package/dist/components/flex-scroller/style.css +20 -1
  124. package/dist/components/flow/index.js +116 -64
  125. package/dist/components/flow/style.css +44 -1
  126. package/dist/components/flow-node/index.js +29 -21
  127. package/dist/components/flow-viewer/index.js +97 -52
  128. package/dist/components/flow-viewer/style.css +19 -1
  129. package/dist/components/form-button/index.js +12 -8
  130. package/dist/components/form-cascader/index.js +55 -40
  131. package/dist/components/form-checkbox-group/index.js +90 -60
  132. package/dist/components/form-checkbox-group/style.css +51 -1
  133. package/dist/components/form-date-picker/index.js +113 -44
  134. package/dist/components/form-group/index.js +23 -17
  135. package/dist/components/form-group/style.css +76 -1
  136. package/dist/components/form-holder/index.js +41 -30
  137. package/dist/components/form-input/index.js +42 -31
  138. package/dist/components/form-input-email/index.js +47 -30
  139. package/dist/components/form-input-id-card/index.js +40 -29
  140. package/dist/components/form-input-number/index.js +50 -38
  141. package/dist/components/form-input-number/style.css +12 -1
  142. package/dist/components/form-input-phone-number/index.js +40 -29
  143. package/dist/components/form-input-time/index.js +40 -29
  144. package/dist/components/form-item/index.js +99 -47
  145. package/dist/components/form-item/style.css +11 -1
  146. package/dist/components/form-item-config-provider/index.js +9 -8
  147. package/dist/components/form-item-group/index.js +69 -43
  148. package/dist/components/form-item-group/style.css +30 -1
  149. package/dist/components/form-radio-group/index.js +77 -53
  150. package/dist/components/form-radio-group/style.css +53 -1
  151. package/dist/components/form-select/index.js +71 -51
  152. package/dist/components/form-switch/index.js +41 -30
  153. package/dist/components/form-temp/index.js +49 -29
  154. package/dist/components/form-textarea/index.js +45 -34
  155. package/dist/components/form-view/index.js +152 -81
  156. package/dist/components/form-view/style.css +158 -1
  157. package/dist/components/fy-array/index.js +51 -43
  158. package/dist/components/fy-array/style.css +18 -1
  159. package/dist/components/fy-article/index.js +24 -13
  160. package/dist/components/fy-article/style.css +40 -1
  161. package/dist/components/fy-cascader/index.js +39 -29
  162. package/dist/components/fy-checkbox/index.js +38 -27
  163. package/dist/components/fy-checkbox/style.css +15 -1
  164. package/dist/components/fy-code/index.js +19 -12
  165. package/dist/components/fy-curd/index.js +290 -152
  166. package/dist/components/fy-curd/style.css +239 -1
  167. package/dist/components/fy-date/index.js +24 -18
  168. package/dist/components/fy-date/style.css +21 -1
  169. package/dist/components/fy-dialog-form/index.js +127 -54
  170. package/dist/components/fy-draggable/index.js +196 -73
  171. package/dist/components/fy-draggable/style.css +136 -1
  172. package/dist/components/fy-dynamic/index.js +116 -73
  173. package/dist/components/fy-dynamic/style.css +35 -1
  174. package/dist/components/fy-empty/index.js +15 -9
  175. package/dist/components/fy-empty/style.css +24 -1
  176. package/dist/components/fy-form/index.js +399 -221
  177. package/dist/components/fy-form/style.css +79 -1
  178. package/dist/components/fy-form-design/index.js +2267 -1630
  179. package/dist/components/fy-form-design/style.css +578 -1
  180. package/dist/components/fy-form-menu/index.js +43 -35
  181. package/dist/components/fy-input/index.js +46 -35
  182. package/dist/components/fy-input-color/index.js +40 -33
  183. package/dist/components/fy-input-icon/index.js +58 -37
  184. package/dist/components/fy-input-icon/style.css +39 -1
  185. package/dist/components/fy-input-map/index.js +113 -68
  186. package/dist/components/fy-input-map/style.css +50 -1
  187. package/dist/components/fy-input-number/index.js +29 -24
  188. package/dist/components/fy-input-table/index.js +82 -48
  189. package/dist/components/fy-input-table/style.css +10 -1
  190. package/dist/components/fy-input-tree/index.js +104 -60
  191. package/dist/components/fy-input-tree/style.css +25 -1
  192. package/dist/components/fy-progress/index.js +15 -10
  193. package/dist/components/fy-radio/index.js +20 -14
  194. package/dist/components/fy-radio/style.css +12 -1
  195. package/dist/components/fy-rate/index.js +21 -15
  196. package/dist/components/fy-rate/style.css +9 -1
  197. package/dist/components/fy-select/index.js +73 -55
  198. package/dist/components/fy-select/style.css +25 -1
  199. package/dist/components/fy-slider/index.js +22 -17
  200. package/dist/components/fy-switch/index.js +17 -12
  201. package/dist/components/fy-tabs/index.js +20 -12
  202. package/dist/components/fy-tabs/style.css +6 -0
  203. package/dist/components/fy-time/index.js +29 -18
  204. package/dist/components/fy-title/index.js +16 -8
  205. package/dist/components/fy-title/style.css +11 -1
  206. package/dist/components/fy-tree/index.js +135 -72
  207. package/dist/components/fy-tree/style.css +46 -1
  208. package/dist/components/fy-u-editor/index.js +172 -67
  209. package/dist/components/fy-u-editor/style.css +15 -1
  210. package/dist/components/fy-upload/index.js +317 -148
  211. package/dist/components/fy-upload/style.css +60 -1
  212. package/dist/components/guide-steps/index.js +31 -17
  213. package/dist/components/guide-steps/style.css +34 -1
  214. package/dist/components/header-menu/index.js +86 -66
  215. package/dist/components/header-search/index.js +92 -60
  216. package/dist/components/highlight-j-s/index.js +28 -15
  217. package/dist/components/highlight-j-s/style.css +21 -1
  218. package/dist/components/icon-card/index.js +13 -7
  219. package/dist/components/icon-card/style.css +56 -1
  220. package/dist/components/icon-temp/index.js +12 -6
  221. package/dist/components/icon-temp/style.css +21 -1
  222. package/dist/components/iframe-window/index.js +20 -14
  223. package/dist/components/iframe-window/style.css +20 -1
  224. package/dist/components/image-cropper/index.js +69 -51
  225. package/dist/components/image-cropper/style.css +34 -1
  226. package/dist/components/image-preview/index.js +77 -46
  227. package/dist/components/image-preview/style.css +72 -1
  228. package/dist/components/image-viewer/index.js +40 -22
  229. package/dist/components/image-viewer/style.css +21 -1
  230. package/dist/components/input-number/index.js +122 -56
  231. package/dist/components/input-number/style.css +15 -1
  232. package/dist/components/input-number-range/index.js +32 -20
  233. package/dist/components/input-number-range/style.css +12 -1
  234. package/dist/components/keep-view-alive/index.js +68 -21
  235. package/dist/components/keyboard/index.js +217 -132
  236. package/dist/components/keyboard/style.css +547 -1
  237. package/dist/components/license/index.js +81 -35
  238. package/dist/components/loading-view/index.js +12 -6
  239. package/dist/components/loading-view/style.css +17 -1
  240. package/dist/components/login/index.js +91 -62
  241. package/dist/components/login/style.css +25 -1
  242. package/dist/components/name-avatar/index.js +32 -10
  243. package/dist/components/name-avatar/style.css +35 -1
  244. package/dist/components/nav-bar/index.js +21 -11
  245. package/dist/components/nav-bar/style.css +17 -1
  246. package/dist/components/not-implement/index.js +16 -8
  247. package/dist/components/not-implement/style.css +15 -1
  248. package/dist/components/notice/index.js +40 -27
  249. package/dist/components/notice/style.css +54 -1
  250. package/dist/components/page/index.js +13 -7
  251. package/dist/components/page/style.css +12 -1
  252. package/dist/components/page-header/index.js +15 -9
  253. package/dist/components/page-header/style.css +14 -1
  254. package/dist/components/page-index/index.js +62 -37
  255. package/dist/components/page-index/style.css +23 -1
  256. package/dist/components/page-index-top/index.js +53 -34
  257. package/dist/components/page-skeleton/index.js +15 -9
  258. package/dist/components/page-skeleton/style.css +23 -1
  259. package/dist/components/page-skeleton-new/index.js +15 -9
  260. package/dist/components/page-skeleton-new/style.css +42 -1
  261. package/dist/components/pageable-table/index.js +187 -106
  262. package/dist/components/pageable-table/style.css +72 -1
  263. package/dist/components/pageable-view/index.js +164 -80
  264. package/dist/components/pageable-view/style.css +69 -1
  265. package/dist/components/photo-swipe/index.js +92 -46
  266. package/dist/components/process-designer/index.js +961 -772
  267. package/dist/components/process-designer/style.css +1186 -1
  268. package/dist/components/properties-panel/index.js +1488 -1044
  269. package/dist/components/properties-panel/style.css +122 -1
  270. package/dist/components/queue/index.js +24 -12
  271. package/dist/components/record-video/index.js +53 -27
  272. package/dist/components/record-video/style.css +53 -1
  273. package/dist/components/resize-observer/index.js +52 -18
  274. package/dist/components/resize-observer/style.css +31 -1
  275. package/dist/components/search/index.js +41 -22
  276. package/dist/components/search/style.css +57 -1
  277. package/dist/components/search-popover/index.js +153 -91
  278. package/dist/components/search-popover/style.css +93 -1
  279. package/dist/components/sign/index.js +138 -35
  280. package/dist/components/sign/style.css +12 -1
  281. package/dist/components/sign-panel/index.js +96 -46
  282. package/dist/components/sign-panel/style.css +97 -1
  283. package/dist/components/skeleton/index.js +22 -12
  284. package/dist/components/skeleton/style.css +61 -1
  285. package/dist/components/split-pane/index.js +125 -60
  286. package/dist/components/split-pane/style.css +100 -1
  287. package/dist/components/stateful/index.js +8 -5
  288. package/dist/components/stateful/style.css +33 -1
  289. package/dist/components/static-pageable-table/index.js +22 -15
  290. package/dist/components/static-pageable-table/style.css +9 -1
  291. package/dist/components/swiper/index.js +127 -58
  292. package/dist/components/swiper/style.css +43 -1
  293. package/dist/components/tab/index.js +34 -16
  294. package/dist/components/tab/style.css +122 -1
  295. package/dist/components/tab-item/index.js +14 -9
  296. package/dist/components/table-column/index.js +26 -17
  297. package/dist/components/table-page/index.js +42 -23
  298. package/dist/components/table-view/index.js +162 -87
  299. package/dist/components/table-view/style.css +95 -1
  300. package/dist/components/tag-render/index.js +41 -22
  301. package/dist/components/tag-render/style.css +33 -1
  302. package/dist/components/text-ellipsis/index.js +48 -26
  303. package/dist/components/text-ellipsis/style.css +9 -1
  304. package/dist/components/tinymce-editor/index.js +80 -60
  305. package/dist/components/tinymce-editor/style.css +43 -1
  306. package/dist/components/tinymce-wrapper/index.js +77 -41
  307. package/dist/components/tinymce-wrapper/style.css +36 -1
  308. package/dist/components/toolbar/index.js +46 -25
  309. package/dist/components/toolbar/style.css +39 -1
  310. package/dist/components/toolbar-button/index.js +46 -35
  311. package/dist/components/toolbar-button/style.css +21 -1
  312. package/dist/components/trigger/index.js +15 -8
  313. package/dist/components/verify/index.js +15 -8
  314. package/dist/components/verify/style.css +15 -1
  315. package/dist/components/vue-tags-input/index.js +233 -113
  316. package/dist/components/vue-tags-input/style.css +688 -1
  317. package/dist/components/watermark/index.js +33 -14
  318. package/dist/components/watermark/style.css +11 -1
  319. package/dist/index.css +2434 -1750
  320. package/dist/index.es.js +15944 -9317
  321. package/package.json +4 -4
  322. package/web-types.json +1 -1
  323. package/dist/chunks/confirmable-mixin.35bd1934.js +0 -104
  324. package/dist/chunks/dataformat.9cc4428a.js +0 -158
  325. package/dist/chunks/detail.544c52b0.js +0 -29
  326. package/dist/chunks/dic.9de2fe5a.js +0 -135
  327. package/dist/chunks/slot.a7387ecc.js +0 -27
  328. package/dist/chunks/util.89913643.js +0 -261
  329. package/dist/chunks/vueComponentNormalizer.77ec6792.js +0 -32
  330. package/dist/components/fy-dialog-form/style.css +0 -1
@@ -1 +1,122 @@
1
- .process-panel__container{box-sizing:border-box;padding:0 8px;border-left:1px solid #eeeeee;box-shadow:0 0 8px #ccc;max-height:100%;overflow-y:auto}.panel-tab__title{font-weight:600;padding:0 8px;font-size:1.1em;line-height:1.2em}.panel-tab__title i{margin-right:8px;font-size:1.2em}.panel-tab__content{width:100%;box-sizing:border-box;border-top:1px solid #eeeeee;padding:8px 16px}.panel-tab__content .panel-tab__content--title{display:flex;justify-content:space-between;padding-bottom:8px}.panel-tab__content .panel-tab__content--title span{flex:1;text-align:left}.element-property{width:100%;display:flex;align-items:flex-start;margin:8px 0}.element-property .element-property__label{display:block;width:90px;text-align:right;overflow:hidden;padding-right:12px;line-height:32px;font-size:14px;box-sizing:border-box}.element-property .element-property__value{flex:1;line-height:32px}.element-property .el-form-item{width:100%;margin-bottom:0;padding-bottom:18px}.list-property{flex-direction:column}.list-property .element-listener-item{width:100%;display:inline-grid;grid-template-columns:16px auto 32px 32px;grid-column-gap:8px}.list-property .element-listener-item+.element-listener-item{margin-top:8px}.listener-filed__title{display:inline-flex;width:100%;justify-content:space-between;align-items:center;margin-top:0}.listener-filed__title span{width:200px;text-align:left;font-size:14px}.listener-filed__title i{margin-right:8px}.element-drawer__button{margin-top:8px;width:100%;display:inline-flex;justify-content:space-around}.element-drawer__button>.el-button{width:100%}.el-collapse-item__content{padding-bottom:0}.el-input.is-disabled .el-input__inner{color:#999}.el-form-item.el-form-item--mini{margin-bottom:0}.el-form-item.el-form-item--mini+.el-form-item{margin-top:16px}
1
+ /* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
2
+ /* 应用头部高度 */
3
+ /* 页面宽度 */
4
+ /* 侧栏宽度 */
5
+ /* 标签高度 */
6
+ /* 页面头部工具条高度 */
7
+ .process-panel__container {
8
+ box-sizing: border-box;
9
+ padding: 0 8px;
10
+ border-left: 1px solid #eeeeee;
11
+ box-shadow: 0 0 8px #cccccc;
12
+ max-height: 100%;
13
+ overflow-y: auto;
14
+ }
15
+
16
+ .panel-tab__title {
17
+ font-weight: 600;
18
+ padding: 0 8px;
19
+ font-size: 1.1em;
20
+ line-height: 1.2em;
21
+ }
22
+ .panel-tab__title i {
23
+ margin-right: 8px;
24
+ font-size: 1.2em;
25
+ }
26
+
27
+ .panel-tab__content {
28
+ width: 100%;
29
+ box-sizing: border-box;
30
+ border-top: 1px solid #eeeeee;
31
+ padding: 8px 16px;
32
+ }
33
+ .panel-tab__content .panel-tab__content--title {
34
+ display: flex;
35
+ justify-content: space-between;
36
+ padding-bottom: 8px;
37
+ }
38
+ .panel-tab__content .panel-tab__content--title span {
39
+ flex: 1;
40
+ text-align: left;
41
+ }
42
+
43
+ .element-property {
44
+ width: 100%;
45
+ display: flex;
46
+ align-items: flex-start;
47
+ margin: 8px 0;
48
+ }
49
+ .element-property .element-property__label {
50
+ display: block;
51
+ width: 90px;
52
+ text-align: right;
53
+ overflow: hidden;
54
+ padding-right: 12px;
55
+ line-height: 32px;
56
+ font-size: 14px;
57
+ box-sizing: border-box;
58
+ }
59
+ .element-property .element-property__value {
60
+ flex: 1;
61
+ line-height: 32px;
62
+ }
63
+ .element-property .el-form-item {
64
+ width: 100%;
65
+ margin-bottom: 0;
66
+ padding-bottom: 18px;
67
+ }
68
+
69
+ .list-property {
70
+ flex-direction: column;
71
+ }
72
+ .list-property .element-listener-item {
73
+ width: 100%;
74
+ display: inline-grid;
75
+ grid-template-columns: 16px auto 32px 32px;
76
+ grid-column-gap: 8px;
77
+ }
78
+ .list-property .element-listener-item + .element-listener-item {
79
+ margin-top: 8px;
80
+ }
81
+
82
+ .listener-filed__title {
83
+ display: inline-flex;
84
+ width: 100%;
85
+ justify-content: space-between;
86
+ align-items: center;
87
+ margin-top: 0;
88
+ }
89
+ .listener-filed__title span {
90
+ width: 200px;
91
+ text-align: left;
92
+ font-size: 14px;
93
+ }
94
+ .listener-filed__title i {
95
+ margin-right: 8px;
96
+ }
97
+
98
+ .element-drawer__button {
99
+ margin-top: 8px;
100
+ width: 100%;
101
+ display: inline-flex;
102
+ justify-content: space-around;
103
+ }
104
+
105
+ .element-drawer__button > .el-button {
106
+ width: 100%;
107
+ }
108
+
109
+ .el-collapse-item__content {
110
+ padding-bottom: 0;
111
+ }
112
+
113
+ .el-input.is-disabled .el-input__inner {
114
+ color: #999999;
115
+ }
116
+
117
+ .el-form-item.el-form-item--mini {
118
+ margin-bottom: 0;
119
+ }
120
+ .el-form-item.el-form-item--mini + .el-form-item {
121
+ margin-top: 16px;
122
+ }
@@ -1,6 +1,8 @@
1
- import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
1
+ import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
2
2
  var render = function() {
3
- var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
3
+ var _vm = this;
4
+ var _h = _vm.$createElement;
5
+ var _c = _vm._self._c || _h;
4
6
  return _c("div", {
5
7
  class: ["avue-queue", {
6
8
  "avue-queue--block": _vm.block
@@ -10,7 +12,8 @@ var render = function() {
10
12
  staticClass: "animated",
11
13
  class: _vm.animate
12
14
  }, [_vm._t("default")], 2)]);
13
- }, staticRenderFns = [];
15
+ };
16
+ var staticRenderFns = [];
14
17
  const __vue2_script = {
15
18
  name: "Queue",
16
19
  props: {
@@ -24,7 +27,7 @@ const __vue2_script = {
24
27
  },
25
28
  block: {
26
29
  type: Boolean,
27
- default: !1
30
+ default: false
28
31
  },
29
32
  delay: {
30
33
  type: Number,
@@ -39,7 +42,8 @@ const __vue2_script = {
39
42
  },
40
43
  mounted() {
41
44
  this.$nextTick(() => {
42
- addEventListener("scroll", this.handleAnimate), this.handleAnimate();
45
+ addEventListener("scroll", this.handleAnimate);
46
+ this.handleAnimate();
43
47
  });
44
48
  },
45
49
  destroyed() {
@@ -47,26 +51,34 @@ const __vue2_script = {
47
51
  },
48
52
  methods: {
49
53
  handleAnimate() {
50
- const top = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop, vh = document.documentElement.clientHeight, v = this.$refs.queue;
51
- top + vh > v.offsetTop ? setTimeout(() => {
52
- this.animate = [this.enter, "avue-opacity--active"];
53
- }, this.delay) : this.animate = ["avue-opacity"];
54
+ const top = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
55
+ const vh = document.documentElement.clientHeight;
56
+ const v = this.$refs.queue;
57
+ if (top + vh > v.offsetTop) {
58
+ setTimeout(() => {
59
+ this.animate = [this.enter, "avue-opacity--active"];
60
+ }, this.delay);
61
+ } else {
62
+ this.animate = ["avue-opacity"];
63
+ }
54
64
  }
55
65
  }
56
- }, __cssModules = {};
66
+ };
67
+ const __cssModules = {};
57
68
  var __component__ = /* @__PURE__ */ normalizeComponent(
58
69
  __vue2_script,
59
70
  render,
60
71
  staticRenderFns,
61
- !1,
72
+ false,
62
73
  __vue2_injectStyles,
63
74
  null,
64
75
  null,
65
76
  null
66
77
  );
67
78
  function __vue2_injectStyles(context) {
68
- for (let o in __cssModules)
79
+ for (let o in __cssModules) {
69
80
  this[o] = __cssModules[o];
81
+ }
70
82
  }
71
83
  const Queue = /* @__PURE__ */ function() {
72
84
  return __component__.exports;
@@ -1,13 +1,15 @@
1
- import { s as setPx } from "../../chunks/util.89913643.js";
2
- import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
3
- let RecordVideo$1 = class {
1
+ import { s as setPx } from "../../chunks/util.b0d0b0ad.js";
2
+ import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
3
+ let RecordVideo$1 = class RecordVideo {
4
4
  /**
5
5
  * 构造函数
6
6
  *
7
7
  * @param {Object} videoObj 视频对象
8
8
  */
9
9
  constructor(videoObj) {
10
- this.video = videoObj, this.mediaRecorder = null, this.chunks = [];
10
+ this.video = videoObj;
11
+ this.mediaRecorder = null;
12
+ this.chunks = [];
11
13
  }
12
14
  /**
13
15
  * 初始化
@@ -17,18 +19,26 @@ let RecordVideo$1 = class {
17
19
  init() {
18
20
  return new Promise((resolve, reject) => {
19
21
  navigator.mediaDevices.getUserMedia({
20
- audio: !0,
21
- video: !0
22
+ audio: true,
23
+ video: true
22
24
  // video: {
23
25
  // width: this.videoWidth,
24
26
  // height: this.videoHeight
25
27
  // }
26
28
  }).then((stream) => {
27
- "srcObject" in this.video ? this.video.srcObject = stream : this.video.src = window.URL.createObjectURL(stream), this.video.addEventListener("loadmetadata", () => {
29
+ if ("srcObject" in this.video) {
30
+ this.video.srcObject = stream;
31
+ } else {
32
+ this.video.src = window.URL.createObjectURL(stream);
33
+ }
34
+ this.video.addEventListener("loadmetadata", () => {
28
35
  this.video.play();
29
- }), this.mediaRecorder = new MediaRecorder(stream), this.mediaRecorder.addEventListener("dataavailable", (e) => {
36
+ });
37
+ this.mediaRecorder = new MediaRecorder(stream);
38
+ this.mediaRecorder.addEventListener("dataavailable", (e) => {
30
39
  this.chunks.push(e.data);
31
- }), resolve();
40
+ });
41
+ resolve();
32
42
  }).catch((error) => {
33
43
  reject(error);
34
44
  });
@@ -38,13 +48,17 @@ let RecordVideo$1 = class {
38
48
  * 视频开始录制
39
49
  */
40
50
  startRecord() {
41
- this.mediaRecorder.state === "inactive" && this.mediaRecorder.start();
51
+ if (this.mediaRecorder.state === "inactive") {
52
+ this.mediaRecorder.start();
53
+ }
42
54
  }
43
55
  /**
44
56
  * 视频结束录制
45
57
  */
46
58
  stopRecord() {
47
- this.mediaRecorder.state === "recording" && this.mediaRecorder.stop();
59
+ if (this.mediaRecorder.state === "recording") {
60
+ this.mediaRecorder.stop();
61
+ }
48
62
  }
49
63
  /**
50
64
  * 检测当前浏览器对否支持
@@ -52,12 +66,16 @@ let RecordVideo$1 = class {
52
66
  * @return {boolean} 当前浏览器是否支持
53
67
  */
54
68
  isSupport() {
55
- if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia)
56
- return !0;
69
+ const flag = navigator.mediaDevices && navigator.mediaDevices.getUserMedia;
70
+ if (flag) {
71
+ return true;
72
+ }
57
73
  }
58
74
  };
59
75
  var render = function() {
60
- var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
76
+ var _vm = this;
77
+ var _h = _vm.$createElement;
78
+ var _c = _vm._self._c || _h;
61
79
  return _c("div", {
62
80
  staticClass: "avue-video",
63
81
  style: _vm.styleName
@@ -75,21 +93,23 @@ var render = function() {
75
93
  staticClass: "avue-video__img",
76
94
  style: _vm.imgStyleName,
77
95
  attrs: {
78
- src: _vm.background,
79
- alt: ""
96
+ "src": _vm.background,
97
+ "alt": ""
80
98
  }
81
99
  }), _c("video", {
82
100
  ref: "main",
83
101
  staticClass: "avue-video__main",
84
102
  attrs: {
85
- autoplay: "",
86
- muted: ""
103
+ "autoplay": "",
104
+ "muted": ""
87
105
  },
88
106
  domProps: {
89
- muted: !0
107
+ "muted": true
90
108
  }
91
109
  })]);
92
- }, staticRenderFns = [];
110
+ };
111
+ var staticRenderFns = [];
112
+ const RecordVideo_vue_vue_type_style_index_0_lang = "";
93
113
  const __vue2_script = {
94
114
  name: "RecordVideo",
95
115
  props: {
@@ -130,8 +150,10 @@ const __vue2_script = {
130
150
  },
131
151
  methods: {
132
152
  init() {
133
- this.videoObj = new RecordVideo$1(this.$refs.main), this.videoObj.init().then(() => {
134
- this.videoObj.mediaRecorder.addEventListener("stop", this.getData, !1);
153
+ this.videoObj = new RecordVideo$1(this.$refs.main);
154
+ const videoPromise = this.videoObj.init();
155
+ videoPromise.then(() => {
156
+ this.videoObj.mediaRecorder.addEventListener("stop", this.getData, false);
135
157
  });
136
158
  },
137
159
  startRecord() {
@@ -143,27 +165,31 @@ const __vue2_script = {
143
165
  getData() {
144
166
  const blob = new Blob(this.videoObj.chunks, {
145
167
  type: "video/mp4"
146
- }), reader = new FileReader();
147
- reader.readAsDataURL(blob), reader.addEventListener("loadend", () => {
168
+ });
169
+ const reader = new FileReader();
170
+ reader.readAsDataURL(blob);
171
+ reader.addEventListener("loadend", () => {
148
172
  const videoBase64 = reader.result;
149
173
  this.$emit("data-change", videoBase64);
150
174
  });
151
175
  }
152
176
  }
153
- }, __cssModules = {};
177
+ };
178
+ const __cssModules = {};
154
179
  var __component__ = /* @__PURE__ */ normalizeComponent(
155
180
  __vue2_script,
156
181
  render,
157
182
  staticRenderFns,
158
- !1,
183
+ false,
159
184
  __vue2_injectStyles,
160
185
  null,
161
186
  null,
162
187
  null
163
188
  );
164
189
  function __vue2_injectStyles(context) {
165
- for (let o in __cssModules)
190
+ for (let o in __cssModules) {
166
191
  this[o] = __cssModules[o];
192
+ }
167
193
  }
168
194
  const RecordVideo2 = /* @__PURE__ */ function() {
169
195
  return __component__.exports;
@@ -1 +1,53 @@
1
- .avue-video{position:relative;width:500px;overflow:hidden}.avue-video__border span{position:absolute;width:30px;height:30px;border-width:4px;color:#0073eb;border-style:solid}.avue-video__border span:nth-child(1){left:15px;top:15px;border-right:0;border-bottom:0}.avue-video__border span:nth-child(2){right:15px;top:15px;border-left:0;border-bottom:0}.avue-video__border span:nth-child(3){bottom:15px;left:15px;border-right:0;border-top:0}.avue-video__border span:nth-child(4){bottom:15px;right:15px;border-left:0;border-top:0}.avue-video__img{width:100px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.avue-video__main{width:100%}
1
+ /* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
2
+ /* 应用头部高度 */
3
+ /* 页面宽度 */
4
+ /* 侧栏宽度 */
5
+ /* 标签高度 */
6
+ /* 页面头部工具条高度 */
7
+ .avue-video {
8
+ position: relative;
9
+ width: 500px;
10
+ overflow: hidden;
11
+ }
12
+ .avue-video__border span {
13
+ position: absolute;
14
+ width: 30px;
15
+ height: 30px;
16
+ border-width: 4px;
17
+ color: #0073eb;
18
+ border-style: solid;
19
+ }
20
+ .avue-video__border span:nth-child(1) {
21
+ left: 15px;
22
+ top: 15px;
23
+ border-right: 0;
24
+ border-bottom: 0;
25
+ }
26
+ .avue-video__border span:nth-child(2) {
27
+ right: 15px;
28
+ top: 15px;
29
+ border-left: 0;
30
+ border-bottom: 0;
31
+ }
32
+ .avue-video__border span:nth-child(3) {
33
+ bottom: 15px;
34
+ left: 15px;
35
+ border-right: 0;
36
+ border-top: 0;
37
+ }
38
+ .avue-video__border span:nth-child(4) {
39
+ bottom: 15px;
40
+ right: 15px;
41
+ border-left: 0;
42
+ border-top: 0;
43
+ }
44
+ .avue-video__img {
45
+ width: 100px;
46
+ position: absolute;
47
+ left: 50%;
48
+ top: 50%;
49
+ transform: translate(-50%, -50%);
50
+ }
51
+ .avue-video__main {
52
+ width: 100%;
53
+ }
@@ -1,58 +1,92 @@
1
- import { j as getInternetExplorerVersion } from "../../chunks/utils.d7f73f8d.js";
2
- import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
1
+ import { j as getInternetExplorerVersion } from "../../chunks/utils.2a3ffac9.js";
2
+ import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
3
3
  var render = function() {
4
- var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
4
+ var _vm = this;
5
+ var _h = _vm.$createElement;
6
+ var _c = _vm._self._c || _h;
5
7
  return _c("div", {
6
8
  staticClass: "resize-observer",
7
9
  attrs: {
8
- tabindex: "-1"
10
+ "tabindex": "-1"
9
11
  }
10
12
  });
11
- }, staticRenderFns = [];
13
+ };
14
+ var staticRenderFns = [];
15
+ const ResizeObserver_vue_vue_type_style_index_0_lang = "";
12
16
  let isIE;
13
17
  function initCompat() {
14
- initCompat.init || (initCompat.init = !0, isIE = getInternetExplorerVersion() !== -1);
18
+ if (!initCompat.init) {
19
+ initCompat.init = true;
20
+ isIE = getInternetExplorerVersion() !== -1;
21
+ }
15
22
  }
16
23
  const __vue2_script = {
17
24
  name: "ResizeObserver",
18
25
  mounted() {
19
- initCompat(), this.$nextTick(() => {
20
- this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight;
26
+ initCompat();
27
+ this.$nextTick(() => {
28
+ this._w = this.$el.offsetWidth;
29
+ this._h = this.$el.offsetHeight;
21
30
  });
22
31
  const object = document.createElement("object");
23
- this._resizeObject = object, object.setAttribute("aria-hidden", "true"), object.setAttribute("tabindex", -1), object.onload = this.addResizeHandlers, object.type = "text/html", isIE && this.$el.appendChild(object), object.data = "about:blank", isIE || this.$el.appendChild(object);
32
+ this._resizeObject = object;
33
+ object.setAttribute("aria-hidden", "true");
34
+ object.setAttribute("tabindex", -1);
35
+ object.onload = this.addResizeHandlers;
36
+ object.type = "text/html";
37
+ if (isIE) {
38
+ this.$el.appendChild(object);
39
+ }
40
+ object.data = "about:blank";
41
+ if (!isIE) {
42
+ this.$el.appendChild(object);
43
+ }
24
44
  },
25
45
  beforeDestroy() {
26
46
  this.removeResizeHandlers();
27
47
  },
28
48
  methods: {
29
49
  compareAndNotify() {
30
- (this._w !== this.$el.offsetWidth || this._h !== this.$el.offsetHeight) && (this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.$emit("notify", {
31
- width: this._w,
32
- height: this._h
33
- }));
50
+ if (this._w !== this.$el.offsetWidth || this._h !== this.$el.offsetHeight) {
51
+ this._w = this.$el.offsetWidth;
52
+ this._h = this.$el.offsetHeight;
53
+ this.$emit("notify", {
54
+ width: this._w,
55
+ height: this._h
56
+ });
57
+ }
34
58
  },
35
59
  addResizeHandlers() {
36
- this._resizeObject.contentDocument.defaultView.addEventListener("resize", this.compareAndNotify), this.compareAndNotify();
60
+ this._resizeObject.contentDocument.defaultView.addEventListener("resize", this.compareAndNotify);
61
+ this.compareAndNotify();
37
62
  },
38
63
  removeResizeHandlers() {
39
- this._resizeObject && this._resizeObject.onload && (!isIE && this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
64
+ if (this._resizeObject && this._resizeObject.onload) {
65
+ if (!isIE && this._resizeObject.contentDocument) {
66
+ this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify);
67
+ }
68
+ this.$el.removeChild(this._resizeObject);
69
+ this._resizeObject.onload = null;
70
+ this._resizeObject = null;
71
+ }
40
72
  }
41
73
  }
42
- }, __cssModules = {};
74
+ };
75
+ const __cssModules = {};
43
76
  var __component__ = /* @__PURE__ */ normalizeComponent(
44
77
  __vue2_script,
45
78
  render,
46
79
  staticRenderFns,
47
- !1,
80
+ false,
48
81
  __vue2_injectStyles,
49
82
  null,
50
83
  null,
51
84
  null
52
85
  );
53
86
  function __vue2_injectStyles(context) {
54
- for (let o in __cssModules)
87
+ for (let o in __cssModules) {
55
88
  this[o] = __cssModules[o];
89
+ }
56
90
  }
57
91
  const ResizeObserver = /* @__PURE__ */ function() {
58
92
  return __component__.exports;
@@ -1 +1,31 @@
1
- .resize-observer{position:absolute;top:0;left:0;z-index:-1;display:block;width:100%;height:100%;overflow:hidden;background-color:transparent;border:none;opacity:0;pointer-events:none}.resize-observer>object{position:absolute;top:0;left:0;z-index:-1;display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}
1
+ /* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
2
+ /* 应用头部高度 */
3
+ /* 页面宽度 */
4
+ /* 侧栏宽度 */
5
+ /* 标签高度 */
6
+ /* 页面头部工具条高度 */
7
+ .resize-observer {
8
+ position: absolute;
9
+ top: 0;
10
+ left: 0;
11
+ z-index: -1;
12
+ display: block;
13
+ width: 100%;
14
+ height: 100%;
15
+ overflow: hidden;
16
+ background-color: transparent;
17
+ border: none;
18
+ opacity: 0;
19
+ pointer-events: none;
20
+ }
21
+ .resize-observer > object {
22
+ position: absolute;
23
+ top: 0;
24
+ left: 0;
25
+ z-index: -1;
26
+ display: block;
27
+ width: 100%;
28
+ height: 100%;
29
+ overflow: hidden;
30
+ pointer-events: none;
31
+ }