@web-utils/component 2.7.37 → 2.8.1

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 (381) hide show
  1. package/{dist/components/address-input → address-input}/index.mjs +1 -1
  2. package/{dist/components/address-input → address-input}/style.css +0 -0
  3. package/{dist/components/affix → affix}/index.mjs +1 -1
  4. package/{dist/components/affix → affix}/style.css +0 -0
  5. package/{dist/components/aside-menu → aside-menu}/index.mjs +1 -1
  6. package/{dist/components/aside-menu → aside-menu}/style.css +0 -0
  7. package/{dist/components/avatar → avatar}/index.mjs +1 -1
  8. package/avatar/style.css +1 -0
  9. package/{dist/components/awesome-button → awesome-button}/index.mjs +1 -1
  10. package/base.css +1 -0
  11. package/{dist/components/capsule-tab → capsule-tab}/index.mjs +1 -1
  12. package/{dist/components/capsule-tab → capsule-tab}/style.css +0 -0
  13. package/{dist/components/card → card}/index.mjs +1 -1
  14. package/card/style.css +1 -0
  15. package/{dist/components/carousel → carousel}/index.mjs +1 -1
  16. package/carousel/style.css +1 -0
  17. package/{dist/components/chat → chat}/index.mjs +4 -4
  18. package/chat/style.css +1 -0
  19. package/{dist/components/chunk-file-uploader → chunk-file-uploader}/index.mjs +2 -2
  20. package/{dist/components/chunk-file-uploader → chunk-file-uploader}/style.css +0 -0
  21. package/{dist/components/chunk-file-uploader-button → chunk-file-uploader-button}/index.mjs +2 -2
  22. package/{dist/components/chunk-file-uploader-button → chunk-file-uploader-button}/style.css +0 -0
  23. package/{dist/components/chunk-file-uploader-drop → chunk-file-uploader-drop}/index.mjs +2 -2
  24. package/{dist/components/chunk-file-uploader-drop → chunk-file-uploader-drop}/style.css +0 -0
  25. package/{dist/components/chunk-file-uploader-file → chunk-file-uploader-file}/index.mjs +2 -2
  26. package/{dist/components/chunk-file-uploader-file → chunk-file-uploader-file}/style.css +0 -0
  27. package/{dist/components/chunk-file-uploader-files → chunk-file-uploader-files}/index.mjs +2 -2
  28. package/{dist/components/chunk-file-uploader-files → chunk-file-uploader-files}/style.css +0 -0
  29. package/{dist/components/chunk-file-uploader-list → chunk-file-uploader-list}/index.mjs +2 -2
  30. package/{dist/components/chunk-file-uploader-list → chunk-file-uploader-list}/style.css +0 -0
  31. package/{dist/components/chunk-file-uploader-un-support → chunk-file-uploader-un-support}/index.mjs +2 -2
  32. package/{dist/components/chunk-file-uploader-un-support → chunk-file-uploader-un-support}/style.css +0 -0
  33. package/{dist/chunks → chunks}/config.46422d7f.mjs +0 -0
  34. package/{dist/chunks → chunks}/confirmable-mixin.2bfe1ab9.mjs +0 -0
  35. package/{dist/chunks/dataformat.5f95e59e.mjs → chunks/dataformat.25e22176.mjs} +7 -7
  36. package/{dist/chunks/detail.81ecaefa.mjs → chunks/detail.6e53ede8.mjs} +1 -1
  37. package/{dist/chunks/dic.5c08c9fb.mjs → chunks/dic.e8280157.mjs} +8 -13
  38. package/{dist/chunks/event.e4e57889.mjs → chunks/event.a018cb06.mjs} +2 -2
  39. package/{dist/chunks/form-input-mixin.e3b4c68c.mjs → chunks/form-input-mixin.124653d9.mjs} +2 -2
  40. package/{dist/chunks/form-item-mixin.149d5844.mjs → chunks/form-item-mixin.135b60df.mjs} +1 -1
  41. package/{dist/chunks → chunks}/form-pick-mixin.61ad06b2.mjs +0 -0
  42. package/{dist/chunks/index.9b7a65d1.mjs → chunks/index.57f871af.mjs} +0 -0
  43. package/{dist/chunks/init.07b0cebe.mjs → chunks/init.f04c7036.mjs} +2 -2
  44. package/{dist/chunks → chunks}/input-number-mixin.41a066be.mjs +0 -0
  45. package/chunks/json-beautifier.21cfffea.mjs +126 -0
  46. package/{dist/chunks → chunks}/mixins.5a78e0db.mjs +0 -0
  47. package/{dist/chunks → chunks}/packages.1fc9ccba.mjs +0 -0
  48. package/{dist/chunks → chunks}/permission.ce5d2121.mjs +0 -0
  49. package/{dist/chunks → chunks}/slot.4b391395.mjs +0 -0
  50. package/{dist/chunks → chunks}/tab-mixin.e2b9c6a4.mjs +0 -0
  51. package/{dist/chunks/util.eca708b6.mjs → chunks/util.17330567.mjs} +54 -49
  52. package/{dist/chunks → chunks}/utils.97652d86.mjs +0 -0
  53. package/{dist/chunks → chunks}/vueComponentNormalizer.446f5dc4.mjs +0 -0
  54. package/{dist/components/code-mirror-editor → code-mirror-editor}/index.mjs +1 -1
  55. package/{dist/components/code-mirror-editor → code-mirror-editor}/style.css +0 -0
  56. package/{dist/components/color-picker → color-picker}/index.mjs +1 -1
  57. package/{dist/components/column → column}/index.mjs +2 -2
  58. package/{dist/components/column-default → column-default}/index.mjs +3 -3
  59. package/{dist/components/column-dynamic → column-dynamic}/index.mjs +2 -2
  60. package/{dist/components/column-menu → column-menu}/index.mjs +4 -4
  61. package/{dist/components/column-slot → column-slot}/index.mjs +4 -4
  62. package/{dist/components/comment → comment}/index.mjs +1 -1
  63. package/comment/style.css +1 -0
  64. package/{dist/components/confirm-button → confirm-button}/index.mjs +2 -2
  65. package/{dist/components/confirmable → confirmable}/index.mjs +2 -2
  66. package/{dist/components/context-menu → context-menu}/index.mjs +1 -1
  67. package/{dist/components/context-menu → context-menu}/style.css +0 -0
  68. package/{dist/components/count-up → count-up}/index.mjs +1 -1
  69. package/{dist/components/custom-scrollbar → custom-scrollbar}/index.mjs +1 -1
  70. package/{dist/components/data-box → data-box}/index.mjs +1 -1
  71. package/data-box/style.css +1 -0
  72. package/{dist/components/data-card → data-card}/index.mjs +1 -1
  73. package/data-card/style.css +1 -0
  74. package/{dist/components/data-cardtext → data-cardtext}/index.mjs +1 -1
  75. package/data-cardtext/style.css +1 -0
  76. package/{dist/components/data-display → data-display}/index.mjs +1 -1
  77. package/data-display/style.css +1 -0
  78. package/{dist/components/data-icons → data-icons}/index.mjs +1 -1
  79. package/{dist/components/data-icons → data-icons}/style.css +1 -1
  80. package/{dist/components/data-imgtext → data-imgtext}/index.mjs +1 -1
  81. package/{dist/components/data-imgtext → data-imgtext}/style.css +1 -1
  82. package/{dist/components/data-operatext → data-operatext}/index.mjs +1 -1
  83. package/data-operatext/style.css +1 -0
  84. package/{dist/components/data-panel → data-panel}/index.mjs +1 -1
  85. package/data-panel/style.css +1 -0
  86. package/{dist/components/data-pay → data-pay}/index.mjs +1 -1
  87. package/data-pay/style.css +1 -0
  88. package/{dist/components/data-price → data-price}/index.mjs +1 -1
  89. package/data-price/style.css +1 -0
  90. package/{dist/components/data-progress → data-progress}/index.mjs +1 -1
  91. package/data-progress/style.css +1 -0
  92. package/{dist/components/data-rotate → data-rotate}/index.mjs +1 -1
  93. package/data-rotate/style.css +1 -0
  94. package/{dist/components/data-table-picker → data-table-picker}/index.mjs +2 -2
  95. package/{dist/components/data-tabs → data-tabs}/index.mjs +1 -1
  96. package/data-tabs/style.css +1 -0
  97. package/{dist/components/dialog-column → dialog-column}/index.mjs +2 -2
  98. package/{dist/components/dialog-excel → dialog-excel}/index.mjs +3 -3
  99. package/{dist/components/dialog-filter → dialog-filter}/index.mjs +2 -2
  100. package/{dist/components/dialog-form → dialog-form}/index.mjs +30 -25
  101. package/{dist/components/dialog-form → dialog-form}/style.css +0 -0
  102. package/{dist/components/dynamic-table → dynamic-table}/index.mjs +9 -9
  103. package/{dist/components/dynamic-table → dynamic-table}/style.css +0 -0
  104. package/{dist/components/e-charts → e-charts}/index.mjs +1 -1
  105. package/{dist/components/e-charts → e-charts}/style.css +0 -0
  106. package/{dist/components/easy-popup → easy-popup}/index.mjs +1 -1
  107. package/easy-popup/style.css +1 -0
  108. package/{dist/components/editable-progress → editable-progress}/index.mjs +1 -1
  109. package/{dist/components/editable-progress → editable-progress}/style.css +0 -0
  110. package/{dist/components/editable-tree → editable-tree}/index.mjs +2 -2
  111. package/{dist/components/editable-tree → editable-tree}/style.css +0 -0
  112. package/{dist/components/egd-collapse → egd-collapse}/index.mjs +1 -1
  113. package/{dist/components/egd-collapse-item → egd-collapse-item}/index.mjs +1 -1
  114. package/{dist/components/element-dialog → element-dialog}/index.mjs +1 -1
  115. package/{dist/components/element-dialog → element-dialog}/style.css +0 -0
  116. package/{dist/components/empty-view → empty-view}/index.mjs +1 -1
  117. package/{dist/components/empty-view → empty-view}/style.css +0 -0
  118. package/{dist/components/error-view → error-view}/index.mjs +1 -1
  119. package/{dist/components/error-view → error-view}/style.css +0 -0
  120. package/{dist/components/flex-column → flex-column}/index.mjs +2 -2
  121. package/{dist/components/flex-item → flex-item}/index.mjs +2 -2
  122. package/{dist/components/flex-row → flex-row}/index.mjs +2 -2
  123. package/{dist/components/flex-scroller → flex-scroller}/index.mjs +1 -1
  124. package/{dist/components/flex-scroller → flex-scroller}/style.css +0 -0
  125. package/{dist/components/flow → flow}/index.mjs +2 -2
  126. package/flow/style.css +1 -0
  127. package/{dist/components/flow-node → flow-node}/index.mjs +2 -2
  128. package/{dist/components/flow-viewer → flow-viewer}/index.mjs +1 -1
  129. package/{dist/components/flow-viewer → flow-viewer}/style.css +0 -0
  130. package/form-block/index.mjs +156 -0
  131. package/form-block/style.css +1 -0
  132. package/{dist/components/form-button → form-button}/index.mjs +2 -2
  133. package/{dist/components/form-cascader → form-cascader}/index.mjs +4 -4
  134. package/{dist/components/form-checkbox-group → form-checkbox-group}/index.mjs +4 -4
  135. package/{dist/components/form-checkbox-group → form-checkbox-group}/style.css +0 -0
  136. package/{dist/components/form-date-picker → form-date-picker}/index.mjs +4 -4
  137. package/{dist/components/form-group → form-group}/index.mjs +1 -1
  138. package/form-group/style.css +1 -0
  139. package/{dist/components/form-holder → form-holder}/index.mjs +2 -2
  140. package/{dist/components/form-input → form-input}/index.mjs +3 -3
  141. package/{dist/components/form-input-email → form-input-email}/index.mjs +3 -3
  142. package/{dist/components/form-input-id-card → form-input-id-card}/index.mjs +3 -3
  143. package/{dist/components/form-input-number → form-input-number}/index.mjs +4 -4
  144. package/{dist/components/form-input-number → form-input-number}/style.css +0 -0
  145. package/{dist/components/form-input-phone-number → form-input-phone-number}/index.mjs +3 -3
  146. package/form-input-tag/index.mjs +99 -0
  147. package/{dist/components/form-input-time → form-input-time}/index.mjs +3 -3
  148. package/{dist/components/form-item → form-item}/index.mjs +2 -2
  149. package/{dist/components/form-item → form-item}/style.css +0 -0
  150. package/{dist/components/form-item-config-provider → form-item-config-provider}/index.mjs +1 -1
  151. package/{dist/components/form-item-group → form-item-group}/index.mjs +1 -1
  152. package/{dist/components/form-item-group → form-item-group}/style.css +0 -0
  153. package/{dist/components/form-radio-group → form-radio-group}/index.mjs +4 -4
  154. package/{dist/components/form-radio-group → form-radio-group}/style.css +0 -0
  155. package/{dist/components/form-select → form-select}/index.mjs +4 -4
  156. package/{dist/components/form-switch → form-switch}/index.mjs +3 -3
  157. package/{dist/components/form-temp → form-temp}/index.mjs +4 -4
  158. package/{dist/components/form-textarea → form-textarea}/index.mjs +3 -3
  159. package/{dist/components/form-view → form-view}/index.mjs +1 -1
  160. package/{dist/components/form-view → form-view}/style.css +0 -0
  161. package/{dist/components/fy-array → fy-array}/index.mjs +3 -3
  162. package/{dist/components/fy-array → fy-array}/style.css +0 -0
  163. package/{dist/components/fy-article → fy-article}/index.mjs +1 -1
  164. package/fy-article/style.css +1 -0
  165. package/{dist/components/fy-cascader → fy-cascader}/index.mjs +2 -2
  166. package/{dist/components/fy-checkbox → fy-checkbox}/index.mjs +2 -2
  167. package/{dist/components/fy-checkbox → fy-checkbox}/style.css +0 -0
  168. package/{dist/components/fy-code → fy-code}/index.mjs +2 -2
  169. package/{dist/components/fy-curd → fy-curd}/index.mjs +7 -7
  170. package/{dist/components/fy-curd → fy-curd}/style.css +1 -1
  171. package/{dist/components/fy-date → fy-date}/index.mjs +2 -2
  172. package/{dist/components/fy-date → fy-date}/style.css +1 -1
  173. package/{dist/components/fy-dialog-form → fy-dialog-form}/index.mjs +3 -3
  174. package/{dist/components/fy-draggable → fy-draggable}/index.mjs +2 -2
  175. package/fy-draggable/style.css +1 -0
  176. package/{dist/components/fy-dynamic → fy-dynamic}/index.mjs +3 -3
  177. package/fy-dynamic/style.css +1 -0
  178. package/{dist/components/fy-empty → fy-empty}/index.mjs +2 -2
  179. package/{dist/components/fy-empty → fy-empty}/style.css +0 -0
  180. package/{dist/components/fy-form → fy-form}/index.mjs +10 -19
  181. package/{dist/components/fy-form → fy-form}/style.css +1 -1
  182. package/{dist/components/fy-form-design → fy-form-design}/index.mjs +55 -337
  183. package/fy-form-design/style.css +1 -0
  184. package/{dist/components/fy-form-menu → fy-form-menu}/index.mjs +1 -1
  185. package/{dist/components/fy-input → fy-input}/index.mjs +2 -2
  186. package/{dist/components/fy-input-color → fy-input-color}/index.mjs +2 -2
  187. package/{dist/components/fy-input-icon → fy-input-icon}/index.mjs +2 -2
  188. package/fy-input-icon/style.css +1 -0
  189. package/{dist/components/fy-input-map → fy-input-map}/index.mjs +2 -2
  190. package/{dist/components/fy-input-map → fy-input-map}/style.css +1 -1
  191. package/{dist/components/fy-input-number → fy-input-number}/index.mjs +2 -2
  192. package/{dist/components/fy-input-table → fy-input-table}/index.mjs +2 -2
  193. package/fy-input-table/style.css +1 -0
  194. package/{dist/components/fy-input-tree → fy-input-tree}/index.mjs +2 -2
  195. package/fy-input-tree/style.css +1 -0
  196. package/{dist/components/fy-progress → fy-progress}/index.mjs +1 -1
  197. package/{dist/components/fy-radio → fy-radio}/index.mjs +2 -2
  198. package/{dist/components/fy-radio → fy-radio}/style.css +0 -0
  199. package/{dist/components/fy-rate → fy-rate}/index.mjs +2 -2
  200. package/{dist/components/fy-rate → fy-rate}/style.css +0 -0
  201. package/{dist/components/fy-select → fy-select}/index.mjs +4 -4
  202. package/fy-select/style.css +1 -0
  203. package/{dist/components/fy-slider → fy-slider}/index.mjs +3 -3
  204. package/{dist/components/fy-switch → fy-switch}/index.mjs +2 -2
  205. package/{dist/components/fy-tabs → fy-tabs}/index.mjs +7 -7
  206. package/{dist/components/fy-time → fy-time}/index.mjs +2 -2
  207. package/{dist/components/fy-title → fy-title}/index.mjs +2 -2
  208. package/fy-title/style.css +1 -0
  209. package/{dist/components/fy-tree → fy-tree}/index.mjs +3 -3
  210. package/fy-tree/style.css +1 -0
  211. package/{dist/components/fy-u-editor → fy-u-editor}/index.mjs +2 -2
  212. package/{dist/components/fy-u-editor → fy-u-editor}/style.css +0 -0
  213. package/{dist/components/fy-upload → fy-upload}/index.mjs +4 -4
  214. package/fy-upload/style.css +1 -0
  215. package/{dist/components/guide-steps → guide-steps}/index.mjs +1 -1
  216. package/{dist/components/guide-steps → guide-steps}/style.css +0 -0
  217. package/{dist/components/header-menu → header-menu}/index.mjs +4 -4
  218. package/{dist/components/header-search → header-search}/index.mjs +5 -5
  219. package/{dist/components/highlight-j-s → highlight-j-s}/index.mjs +1 -1
  220. package/highlight-j-s/style.css +1 -0
  221. package/{dist/components/icon-card → icon-card}/index.mjs +1 -1
  222. package/{dist/components/icon-card → icon-card}/style.css +0 -0
  223. package/{dist/components/icon-temp → icon-temp}/index.mjs +1 -1
  224. package/{dist/components/icon-temp → icon-temp}/style.css +1 -1
  225. package/{dist/components/iframe-window → iframe-window}/index.mjs +1 -1
  226. package/{dist/components/iframe-window → iframe-window}/style.css +0 -0
  227. package/{dist/components/image-cropper → image-cropper}/index.mjs +71 -21
  228. package/image-cropper/style.css +1 -0
  229. package/{dist/components/image-preview → image-preview}/index.mjs +70 -43
  230. package/image-preview/style.css +1 -0
  231. package/{dist/components/image-viewer → image-viewer}/index.mjs +1 -1
  232. package/image-viewer/style.css +1 -0
  233. package/index.cjs +109 -0
  234. package/index.css +1 -0
  235. package/{dist/index.mjs → index.mjs} +4075 -3107
  236. package/{dist/components/input-number → input-number}/index.mjs +2 -2
  237. package/{dist/components/input-number → input-number}/style.css +0 -0
  238. package/{dist/components/input-number-range → input-number-range}/index.mjs +1 -1
  239. package/{dist/components/input-number-range → input-number-range}/style.css +0 -0
  240. package/{dist/components/j-s-x-component → j-s-x-component}/index.mjs +0 -0
  241. package/{dist/components/keep-view-alive → keep-view-alive}/index.mjs +1 -1
  242. package/{dist/components/keyboard → keyboard}/index.mjs +1 -1
  243. package/keyboard/style.css +1 -0
  244. package/{dist/components/license → license}/index.mjs +2 -2
  245. package/{dist/components/loading-view → loading-view}/index.mjs +1 -1
  246. package/{dist/components/loading-view → loading-view}/style.css +0 -0
  247. package/{dist/components/login → login}/index.mjs +2 -2
  248. package/login/style.css +1 -0
  249. package/monaco-editor/index.mjs +196 -0
  250. package/{dist/components/name-avatar → name-avatar}/index.mjs +1 -1
  251. package/name-avatar/style.css +1 -0
  252. package/{dist/components/nav-bar → nav-bar}/index.mjs +1 -1
  253. package/{dist/components/nav-bar → nav-bar}/style.css +0 -0
  254. package/{dist/components/not-implement → not-implement}/index.mjs +1 -1
  255. package/{dist/components/not-implement → not-implement}/style.css +0 -0
  256. package/{dist/components/notice → notice}/index.mjs +1 -1
  257. package/notice/style.css +1 -0
  258. package/package.json +5 -126
  259. package/{dist/components/page → page}/index.mjs +1 -1
  260. package/{dist/components/page → page}/style.css +0 -0
  261. package/{dist/components/page-header → page-header}/index.mjs +1 -1
  262. package/{dist/components/page-header → page-header}/style.css +0 -0
  263. package/{dist/components/page-index → page-index}/index.mjs +1 -1
  264. package/{dist/components/page-index → page-index}/style.css +0 -0
  265. package/{dist/components/page-index-top → page-index-top}/index.mjs +1 -1
  266. package/{dist/components/page-skeleton → page-skeleton}/index.mjs +1 -1
  267. package/{dist/components/page-skeleton → page-skeleton}/style.css +0 -0
  268. package/{dist/components/page-skeleton-new → page-skeleton-new}/index.mjs +1 -1
  269. package/{dist/components/page-skeleton-new → page-skeleton-new}/style.css +0 -0
  270. package/{dist/components/pageable-table → pageable-table}/index.mjs +2 -2
  271. package/{dist/components/pageable-table → pageable-table}/style.css +0 -0
  272. package/{dist/components/pageable-view → pageable-view}/index.mjs +2 -2
  273. package/{dist/components/pageable-view → pageable-view}/style.css +0 -0
  274. package/{dist/components/photo-swipe → photo-swipe}/index.mjs +1 -1
  275. package/present-view/index.mjs +360 -0
  276. package/present-view/style.css +1 -0
  277. package/{dist/components/process-designer → process-designer}/index.mjs +1 -1
  278. package/{dist/components/process-designer → process-designer}/style.css +1 -1
  279. package/{dist/components/properties-panel → properties-panel}/index.mjs +7 -7
  280. package/properties-panel/style.css +1 -0
  281. package/{dist/components/queue → queue}/index.mjs +1 -1
  282. package/{dist/components/record-video → record-video}/index.mjs +34 -34
  283. package/record-video/style.css +1 -0
  284. package/{dist/components/resize-observer → resize-observer}/index.mjs +2 -2
  285. package/{dist/components/resize-observer → resize-observer}/style.css +0 -0
  286. package/{dist/components/search → search}/index.mjs +3 -3
  287. package/search/style.css +1 -0
  288. package/{dist/components/search-popover → search-popover}/index.mjs +12 -12
  289. package/search-popover/style.css +1 -0
  290. package/{dist/components/sign → sign}/index.mjs +2 -2
  291. package/{dist/components/sign → sign}/style.css +0 -0
  292. package/{dist/components/sign-panel → sign-panel}/index.mjs +1 -1
  293. package/{dist/components/sign-panel → sign-panel}/style.css +0 -0
  294. package/{dist/components/skeleton → skeleton}/index.mjs +1 -1
  295. package/skeleton/style.css +1 -0
  296. package/{dist/components/split-pane → split-pane}/index.mjs +1 -1
  297. package/{dist/components/split-pane → split-pane}/style.css +0 -0
  298. package/{dist/components/stateful → stateful}/index.mjs +1 -1
  299. package/{dist/components/stateful → stateful}/style.css +0 -0
  300. package/{dist/components/static-pageable-table → static-pageable-table}/index.mjs +1 -1
  301. package/{dist/components/static-pageable-table → static-pageable-table}/style.css +0 -0
  302. package/{dist/components/swiper → swiper}/index.mjs +2 -2
  303. package/{dist/components/swiper → swiper}/style.css +0 -0
  304. package/{dist/components/tab → tab}/index.mjs +2 -2
  305. package/{dist/components/tab → tab}/style.css +0 -0
  306. package/{dist/components/tab-item → tab-item}/index.mjs +2 -2
  307. package/{dist/components/table-column → table-column}/index.mjs +1 -1
  308. package/{dist/components/table-page → table-page}/index.mjs +3 -3
  309. package/{dist/components/table-view → table-view}/index.mjs +2 -2
  310. package/{dist/components/table-view → table-view}/style.css +0 -0
  311. package/{dist/components/tag-render → tag-render}/index.mjs +1 -1
  312. package/{dist/components/tag-render → tag-render}/style.css +0 -0
  313. package/{dist/components/text-ellipsis → text-ellipsis}/index.mjs +2 -2
  314. package/{dist/components/text-ellipsis → text-ellipsis}/style.css +0 -0
  315. package/{dist/components/tinymce-editor → tinymce-editor}/index.mjs +1 -1
  316. package/{dist/components/tinymce-editor → tinymce-editor}/style.css +1 -1
  317. package/{dist/components/tinymce-wrapper → tinymce-wrapper}/index.mjs +290 -97
  318. package/{dist/components/tinymce-wrapper → tinymce-wrapper}/style.css +0 -0
  319. package/{dist/components/toolbar → toolbar}/index.mjs +1 -1
  320. package/{dist/components/toolbar → toolbar}/style.css +0 -0
  321. package/{dist/components/toolbar-button → toolbar-button}/index.mjs +1 -1
  322. package/{dist/components/toolbar-button → toolbar-button}/style.css +0 -0
  323. package/{dist/components/trigger → trigger}/index.mjs +1 -1
  324. package/{dist/components/verify → verify}/index.mjs +2 -2
  325. package/verify/style.css +1 -0
  326. package/{dist/components/vue-tags-input → vue-tags-input}/index.mjs +1 -1
  327. package/{dist/components/vue-tags-input → vue-tags-input}/style.css +0 -0
  328. package/{dist/components/watermark → watermark}/index.mjs +2 -2
  329. package/{dist/components/watermark → watermark}/style.css +0 -0
  330. package/web-types.json +832 -209
  331. package/x-input-tag/index.mjs +182 -0
  332. package/x-input-tag/style.css +1 -0
  333. package/README.md +0 -27
  334. package/dist/components/avatar/style.css +0 -1
  335. package/dist/components/base.css +0 -1
  336. package/dist/components/card/style.css +0 -1
  337. package/dist/components/carousel/style.css +0 -1
  338. package/dist/components/chat/style.css +0 -1
  339. package/dist/components/comment/style.css +0 -1
  340. package/dist/components/data-box/style.css +0 -1
  341. package/dist/components/data-card/style.css +0 -1
  342. package/dist/components/data-cardtext/style.css +0 -1
  343. package/dist/components/data-display/style.css +0 -1
  344. package/dist/components/data-operatext/style.css +0 -1
  345. package/dist/components/data-panel/style.css +0 -1
  346. package/dist/components/data-pay/style.css +0 -1
  347. package/dist/components/data-price/style.css +0 -1
  348. package/dist/components/data-progress/style.css +0 -1
  349. package/dist/components/data-rotate/style.css +0 -1
  350. package/dist/components/data-tabs/style.css +0 -1
  351. package/dist/components/easy-popup/style.css +0 -1
  352. package/dist/components/flow/style.css +0 -1
  353. package/dist/components/form-group/style.css +0 -1
  354. package/dist/components/fy-article/style.css +0 -1
  355. package/dist/components/fy-draggable/style.css +0 -1
  356. package/dist/components/fy-dynamic/style.css +0 -1
  357. package/dist/components/fy-form-design/style.css +0 -1
  358. package/dist/components/fy-input-icon/style.css +0 -1
  359. package/dist/components/fy-input-table/style.css +0 -1
  360. package/dist/components/fy-input-tree/style.css +0 -1
  361. package/dist/components/fy-select/style.css +0 -1
  362. package/dist/components/fy-tabs/style.css +0 -0
  363. package/dist/components/fy-title/style.css +0 -1
  364. package/dist/components/fy-tree/style.css +0 -1
  365. package/dist/components/fy-upload/style.css +0 -1
  366. package/dist/components/highlight-j-s/style.css +0 -1
  367. package/dist/components/image-cropper/style.css +0 -1
  368. package/dist/components/image-preview/style.css +0 -1
  369. package/dist/components/image-viewer/style.css +0 -1
  370. package/dist/components/keyboard/style.css +0 -1
  371. package/dist/components/login/style.css +0 -1
  372. package/dist/components/name-avatar/style.css +0 -1
  373. package/dist/components/notice/style.css +0 -1
  374. package/dist/components/properties-panel/style.css +0 -1
  375. package/dist/components/record-video/style.css +0 -1
  376. package/dist/components/search/style.css +0 -1
  377. package/dist/components/search-popover/style.css +0 -1
  378. package/dist/components/skeleton/style.css +0 -1
  379. package/dist/components/verify/style.css +0 -1
  380. package/dist/index.cjs +0 -85
  381. package/dist/index.css +0 -1
@@ -0,0 +1,360 @@
1
+ var c = (t, e, o) => new Promise((r, s) => {
2
+ var n = (i) => {
3
+ try {
4
+ a(o.next(i));
5
+ } catch (f) {
6
+ s(f);
7
+ }
8
+ }, l = (i) => {
9
+ try {
10
+ a(o.throw(i));
11
+ } catch (f) {
12
+ s(f);
13
+ }
14
+ }, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(n, l);
15
+ a((o = o.apply(t, e)).next());
16
+ });
17
+ import { hasOwn as d, toStringArray as p, delay as v, isInContainer as _ } from "@web-utils/core";
18
+ import { merge as w } from "@web-utils/integrations/lodash";
19
+ import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
20
+ var g = function() {
21
+ var t = this, e = t.$createElement, o = t._self._c || e;
22
+ return o("div", {
23
+ class: ["form-view", t.className]
24
+ }, [o("div", {
25
+ directives: [{
26
+ name: "show",
27
+ rawName: "v-show",
28
+ value: !t.isFormLoading,
29
+ expression: "!isFormLoading"
30
+ }],
31
+ staticClass: "form-view-toolbar"
32
+ }, [t._t("form-view-toolbar", function() {
33
+ return [o("Toolbar", t._g(t._b({
34
+ directives: [{
35
+ name: "show",
36
+ rawName: "v-show",
37
+ value: t.showToolbar,
38
+ expression: "showToolbar"
39
+ }],
40
+ on: {
41
+ edit: t.onEdit
42
+ },
43
+ scopedSlots: t._u([{
44
+ key: "default",
45
+ fn: function(r) {
46
+ var s = r.buttons;
47
+ return [t._t("toolbar-button", null, {
48
+ buttons: s
49
+ })];
50
+ }
51
+ }, t._l(t.getToolbarSlotKeys(), function(r) {
52
+ return {
53
+ key: r,
54
+ fn: function() {
55
+ return [t._t(r)];
56
+ },
57
+ proxy: !0
58
+ };
59
+ }), {
60
+ key: "toolbar-right",
61
+ fn: function() {
62
+ return [t._t("toolbar-right")];
63
+ },
64
+ proxy: !0
65
+ }], null, !0)
66
+ }, "Toolbar", Object.assign({}, t.toolbarProps, {
67
+ buttons: t.getToolbarButtons(t.toolbarProps.buttons)
68
+ }), !1), t.toolbarListeners))];
69
+ })], 2), o("div", {
70
+ directives: [{
71
+ name: "show",
72
+ rawName: "v-show",
73
+ value: !t.isFormLoading,
74
+ expression: "!isFormLoading"
75
+ }],
76
+ staticClass: "form-scroller-wrapper"
77
+ }, [o("div", {
78
+ ref: "formScroller",
79
+ class: ["form-scroller", "absolute-box", t.contentClass],
80
+ on: {
81
+ scroll: t.onFormScroll
82
+ }
83
+ }, [t.notForm ? o("div", {
84
+ staticClass: "not-form",
85
+ style: {
86
+ width: t.formWidth
87
+ }
88
+ }, [t.title ? o("div", {
89
+ staticClass: "form-view-title"
90
+ }, [t._v(t._s(t.title))]) : t._e(), t._t("default", function() {
91
+ return [o("EmptyView", {
92
+ attrs: {
93
+ "empty-tips": "请添加表单内容"
94
+ }
95
+ })];
96
+ }), o("Toolbar", t._g(t._b({
97
+ attrs: {
98
+ footer: ""
99
+ },
100
+ scopedSlots: t._u([{
101
+ key: "default",
102
+ fn: function(r) {
103
+ var s = r.buttons, n = r.footer;
104
+ return [t._t("footer-button", null, {
105
+ buttons: s,
106
+ footer: n
107
+ })];
108
+ }
109
+ }, t._l(t.getFooterSlotKeys(), function(r) {
110
+ return {
111
+ key: t.getFooterSlotKey(r),
112
+ fn: function() {
113
+ return [t._t(r)];
114
+ },
115
+ proxy: !0
116
+ };
117
+ })], null, !0)
118
+ }, "Toolbar", Object.assign({}, t.toolbarProps, {
119
+ buttons: t.getFooterBarButtons(t.toolbarProps.buttons)
120
+ }), !1), t.toolbarListeners)), t.$scopedSlots["form-bottom"] ? t._t("form-bottom") : t._e()], 2) : o("div", {
121
+ class: ["form-card", {
122
+ "un-limit": t.unLimit
123
+ }],
124
+ style: {
125
+ width: `calc(${t.formWidth} + 40px)`
126
+ }
127
+ }, [o("div", {
128
+ staticClass: "form-content"
129
+ }, [t.title ? o("div", {
130
+ staticClass: "form-view-title"
131
+ }, [t._v(t._s(t.title))]) : t._e(), t._t("default", function() {
132
+ return [o("EmptyView", {
133
+ attrs: {
134
+ "empty-tips": "请添加表单内容"
135
+ }
136
+ })];
137
+ }), t.getFooterBarButtons(t.toolbarProps.buttons).length ? o("Toolbar", t._g(t._b({
138
+ attrs: {
139
+ footer: ""
140
+ },
141
+ scopedSlots: t._u([{
142
+ key: "default",
143
+ fn: function(r) {
144
+ var s = r.buttons, n = r.footer;
145
+ return [t._t("footer-button", null, {
146
+ buttons: s,
147
+ footer: n
148
+ })];
149
+ }
150
+ }, t._l(t.getFooterSlotKeys(), function(r) {
151
+ return {
152
+ key: t.getFooterSlotKey(r),
153
+ fn: function() {
154
+ return [t._t(r)];
155
+ },
156
+ proxy: !0
157
+ };
158
+ })], null, !0)
159
+ }, "Toolbar", Object.assign({}, t.toolbarProps, {
160
+ buttons: t.getFooterBarButtons(t.toolbarProps.buttons)
161
+ }), !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? o("div", {
162
+ class: ["form-card", {
163
+ "un-limit": t.unLimit
164
+ }],
165
+ staticStyle: {
166
+ "min-height": "0"
167
+ },
168
+ style: {
169
+ width: `calc(${t.formWidth} + 40px)`
170
+ }
171
+ }, [o("div", {
172
+ staticClass: "form-content"
173
+ }, [o("FormItemGroup", {
174
+ attrs: {
175
+ "block-title": "流程日志"
176
+ }
177
+ }, [o("FlowLog", {
178
+ attrs: {
179
+ fetch: !1,
180
+ "show-title": !1,
181
+ "business-key": t.$parent.bizKey
182
+ }
183
+ })], 1), t._t("form-bottom")], 2)]) : t._e()]), o("ResizeObserver", {
184
+ on: {
185
+ notify: t.onFormResize
186
+ }
187
+ })], 1), t.formNav && !t.isFormLoading && t.showNav && t.tabs.length ? o("div", {
188
+ staticClass: "form-nav"
189
+ }, [o("div", {
190
+ staticClass: "form-nav-header"
191
+ }, [t._v("表单导航")]), o("ul", {
192
+ staticClass: "form-nav-list"
193
+ }, t._l(t.tabs, function(r, s) {
194
+ return o("li", {
195
+ key: r.blockTitle,
196
+ class: ["form-nav-item", {
197
+ active: t.activeIndex === s
198
+ }],
199
+ on: {
200
+ click: function(n) {
201
+ return t.tabClick(r, s);
202
+ }
203
+ }
204
+ }, [t._v(" " + t._s(r.blockTitle) + " ")]);
205
+ }), 0)]) : t._e(), t.isFormLoading ? o("LoadingView", {
206
+ attrs: {
207
+ "icon-size": "34px",
208
+ "font-size": "16px"
209
+ }
210
+ }) : t._e()], 1);
211
+ }, x = [];
212
+ const b = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "agree", "disagree", "reject", "finish", "cancel", "enable", "exp", "imp", "del", "disabled", "reload", "slot"], $ = b.map((t) => `${t}-down`), S = ["back", "withdraw", "edit"], h = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], u = (t, e) => {
213
+ if (t.classList.contains(e))
214
+ return t;
215
+ let o = t.parentNode;
216
+ for (; o && !o.classList.contains(e); )
217
+ o = o.parentNode;
218
+ return o.classList.contains(e) ? o : null;
219
+ }, F = {
220
+ name: "PresentView",
221
+ inject: {
222
+ flowContext: {
223
+ default: {}
224
+ }
225
+ },
226
+ props: {
227
+ notForm: Boolean,
228
+ loading: Boolean,
229
+ unLimit: Boolean,
230
+ formWidth: {
231
+ type: String,
232
+ default: "75%"
233
+ },
234
+ toolbarAttrs: {
235
+ type: Object,
236
+ default: () => {
237
+ }
238
+ },
239
+ toolbarListeners: Object,
240
+ contentClass: String,
241
+ className: String,
242
+ title: String,
243
+ showToolbar: {
244
+ type: Boolean,
245
+ default: !0
246
+ },
247
+ formNav: {
248
+ type: Boolean,
249
+ default: !0
250
+ }
251
+ },
252
+ data() {
253
+ return {
254
+ tabs: [],
255
+ activeIndex: -1,
256
+ tryByClick: !1,
257
+ showNav: !1
258
+ };
259
+ },
260
+ computed: {
261
+ isFormLoading() {
262
+ return this.loading || d(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : !1;
263
+ },
264
+ toolbarProps() {
265
+ var r;
266
+ const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o = w({}, this.toolbarAttrs, t);
267
+ return o.buttons = e || ["back"], o.buttons = p(o.buttons), o;
268
+ }
269
+ },
270
+ created() {
271
+ this.$on("FormView.addTab", (t) => {
272
+ t && (this.activeIndex === -1 && (this.activeIndex = 0), this.tabs.push(t), this.tabs = this.tabs.sort((e, o) => {
273
+ const r = u(e.$el, "form-card"), s = u(o.$el, "form-card");
274
+ if (r === s) {
275
+ const n = [].indexOf.call(e.$el.parentNode.children, e.$el), l = [].indexOf.call(o.$el.parentNode.children, o.$el);
276
+ return n - l;
277
+ } else {
278
+ const n = u(r, "form-scroller"), l = [].indexOf.call(n.children, r), a = [].indexOf.call(n.children, s);
279
+ return l - a;
280
+ }
281
+ }), t.active && (this.activeIndex = this.tabs.indexOf(t), this.tabClick(t, this.activeIndex)));
282
+ }), this.$on("FormView.removeTab", (t) => {
283
+ if (t) {
284
+ const e = this.tabs.indexOf(t);
285
+ this.tabs.splice(e, 1), this.activeIndex > this.tabs.length - 1 && (this.activeIndex = 0);
286
+ }
287
+ }), this.onFormResize({ width: window.document.body.clientWidth });
288
+ },
289
+ activated() {
290
+ return c(this, null, function* () {
291
+ this.$refs.formScroller && (yield this.$nextTick(), this.scrollTo(this.formScrollTop, this.formScrollLeft));
292
+ });
293
+ },
294
+ methods: {
295
+ getToolbarSlotKeys() {
296
+ return Object.keys(this.$scopedSlots).filter((t) => b.includes(t));
297
+ },
298
+ getFooterSlotKeys() {
299
+ return Object.keys(this.$scopedSlots).filter((t) => $.includes(t));
300
+ },
301
+ getFooterSlotKey(t) {
302
+ return t.replace("-down", "");
303
+ },
304
+ onFormResize({ width: t }) {
305
+ this.showNav = t > 1500;
306
+ },
307
+ onEdit() {
308
+ !this.toolbarListeners.edit && d(this.$parent, "disabled") && (this.$parent.disabled = !1);
309
+ },
310
+ tabClick(t, e) {
311
+ return c(this, null, function* () {
312
+ this.showNav && (yield this.$nextTick(), t.expand || (t.open(), yield v(200), yield this.$nextTick()), this.tryByClick = !0, this.activeIndex = e, this.$refs.formScroller.scrollTop = t.$el.offsetTop - 10);
313
+ });
314
+ },
315
+ tryActive() {
316
+ return c(this, null, function* () {
317
+ if (this.showNav) {
318
+ for (let t = 0; t < this.tabs.length; t++)
319
+ if (_(this.tabs[t].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
320
+ this.activeIndex = t;
321
+ break;
322
+ }
323
+ }
324
+ });
325
+ },
326
+ onFormScroll() {
327
+ this.formScrollTop = this.$refs.formScroller.scrollTop, this.formScrollLeft = this.$refs.formScroller.scrollLeft, !this.tryByClick && this.tabs.length && window.requestAnimationFrame(this.tryActive), this.tryByClick = !1;
328
+ },
329
+ scrollTo(t, e) {
330
+ t && (this.$refs.formScroller.scrollTop = t), e && (this.$refs.formScroller.scrollLeft = e);
331
+ },
332
+ getToolbarButtons(t) {
333
+ return t.filter((e) => !h.includes(e) && e.indexOf(":down") < 0).map((e) => e.replace(":up", ""));
334
+ },
335
+ getFooterBarButtons(t) {
336
+ let e = t.filter((o) => !S.includes(o) && (h.includes(o) || o.indexOf(":down") > -1)).map((o) => o.replace(":down", ""));
337
+ return e = e || [], this.$parent.isEnabled && !e.includes("cancel") && e.push("cancel"), e;
338
+ }
339
+ }
340
+ }, m = {};
341
+ var k = /* @__PURE__ */ y(
342
+ F,
343
+ g,
344
+ x,
345
+ !1,
346
+ B,
347
+ null,
348
+ null,
349
+ null
350
+ );
351
+ function B(t) {
352
+ for (let e in m)
353
+ this[e] = m[e];
354
+ }
355
+ const I = /* @__PURE__ */ function() {
356
+ return k.exports;
357
+ }();
358
+ export {
359
+ I as default
360
+ };
@@ -0,0 +1 @@
1
+ .form-view{display:flex;flex-direction:column;height:100%}.form-view .form-scroller-wrapper{position:relative;flex:1}.form-view .not-form{margin:0 auto}.form-view .form-view-toolbar{overflow:hidden}.form-view .form-scroller{flex:1;overflow:auto}.form-view .form-scroller .el-row{position:static}.form-view .form-content .el-form .el-row{padding-right:2rem}.form-view .form-content .el-form .el-row .el-row{padding-right:0}.form-view .form-card{box-shadow:0 2px 12px #0000001a;max-width:1000px;margin:14px auto;padding:20px;color:#303133;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;transition:.3s}.form-view .form-card.un-limit{max-width:100%}.form-view .form-nav{box-shadow:0 2px 12px #0000001a;position:absolute;top:55px;left:20px;background-color:#fff}.form-view .form-nav-list{min-width:180px;padding:10px 20px}.form-view .form-nav-header{position:relative;padding:5px 20px;color:#e34e55;font-weight:700;font-size:15px;background-color:#f3f5fb}.form-view .form-nav-item{position:relative;padding:5px 0;font-family:element-icons!important;cursor:pointer}.form-view .form-nav-item.active,.form-view .form-nav-item:hover{color:#e34e55;font-weight:700}.form-view .form-nav-item.active:before{position:absolute;left:-14px;content:"\e6e0"}.form-view .form-view-title{width:100%;height:36px;margin-top:-10px;margin-bottom:10px;color:#333;font-size:22px;line-height:36px;text-align:center;background-color:#fff}.form-view .tip{margin:20px 0;padding:8px 16px;background-color:#ecf8ff;border-left:5px solid #50bfff;border-radius:4px}.form-view .tip p{color:#5e6d82;font-size:14px;line-height:1.5em}.form-view .tip.danger{background-color:#fde2e2;border-left-color:#f56c6c}.form-view .tip.danger p{color:#564646}.form-view .tip.warning{background-color:#f7efe2;border-left-color:#e6a23c}.form-view .tip.warning p{color:#5d564b}.form-view .select-num{color:#898989;font-size:12px}.form-view .select-num .num{font-size:19px;font-family:impact,Constantia,Georgia}.form-view .el-table .el-table__header th{color:#595959;font-weight:400;background:#fff}.form-view .el-table td{padding:4px 0}
@@ -32,7 +32,7 @@ import L from "x2js";
32
32
  import I from "highlight.js/lib/core";
33
33
  import R from "highlight.js/lib/languages/xml";
34
34
  import V from "highlight.js/lib/languages/json";
35
- import { n as z } from "../../chunks/vueComponentNormalizer.446f5dc4.mjs";
35
+ import { n as z } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
36
36
  const _ = (e, n, t) => (t = t || "camunda", `<?xml version="1.0" encoding="UTF-8"?>
37
37
  <bpmn2:definitions
38
38
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"