@web-utils/component 2.7.21 → 2.7.28

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 (310) hide show
  1. package/dist/chunks/confirmable-mixin.35bd1934.js +104 -0
  2. package/dist/chunks/{detail.6619700c.js → detail.544c52b0.js} +1 -1
  3. package/dist/chunks/{form-input-mixin.df413ca8.js → form-input-mixin.760cd65d.js} +1 -1
  4. package/dist/chunks/{form-item-mixin.b850e028.js → form-item-mixin.fa314b67.js} +14 -3
  5. package/dist/chunks/{tab-mixin.51886d91.js → tab-mixin.9d568df9.js} +1 -1
  6. package/dist/chunks/{vueComponentNormalizer.bf552d98.js → vueComponentNormalizer.77ec6792.js} +1 -1
  7. package/dist/components/address-input/index.js +1 -1
  8. package/dist/components/address-input/style.css +1 -10
  9. package/dist/components/affix/index.js +1 -1
  10. package/dist/components/affix/style.css +1 -4
  11. package/dist/components/aside-menu/index.js +1 -1
  12. package/dist/components/aside-menu/style.css +1 -3
  13. package/dist/components/avatar/index.js +1 -1
  14. package/dist/components/avatar/style.css +1 -51
  15. package/dist/components/awesome-button/index.js +42 -12
  16. package/dist/components/base.css +1 -536
  17. package/dist/components/capsule-tab/index.js +1 -1
  18. package/dist/components/capsule-tab/style.css +1 -26
  19. package/dist/components/card/index.js +1 -1
  20. package/dist/components/card/style.css +1 -84
  21. package/dist/components/carousel/index.js +1 -1
  22. package/dist/components/carousel/style.css +1 -35
  23. package/dist/components/chat/index.js +2 -2
  24. package/dist/components/chat/style.css +1 -277
  25. package/dist/components/chunk-file-uploader/index.js +1 -1
  26. package/dist/components/chunk-file-uploader/style.css +1 -3
  27. package/dist/components/chunk-file-uploader-button/index.js +1 -1
  28. package/dist/components/chunk-file-uploader-button/style.css +1 -16
  29. package/dist/components/chunk-file-uploader-drop/index.js +23 -5
  30. package/dist/components/chunk-file-uploader-drop/style.css +1 -11
  31. package/dist/components/chunk-file-uploader-file/index.js +2 -2
  32. package/dist/components/chunk-file-uploader-file/style.css +1 -124
  33. package/dist/components/chunk-file-uploader-files/index.js +1 -1
  34. package/dist/components/chunk-file-uploader-files/style.css +1 -8
  35. package/dist/components/chunk-file-uploader-list/index.js +1 -1
  36. package/dist/components/chunk-file-uploader-list/style.css +1 -8
  37. package/dist/components/chunk-file-uploader-un-support/index.js +1 -1
  38. package/dist/components/chunk-file-uploader-un-support/style.css +1 -5
  39. package/dist/components/code-mirror-editor/index.js +7 -7
  40. package/dist/components/code-mirror-editor/style.css +1 -11
  41. package/dist/components/color-picker/index.js +21 -3
  42. package/dist/components/column/index.js +1 -1
  43. package/dist/components/column-default/index.js +1 -1
  44. package/dist/components/column-dynamic/index.js +1 -1
  45. package/dist/components/column-menu/index.js +1 -1
  46. package/dist/components/column-slot/index.js +2 -2
  47. package/dist/components/comment/index.js +1 -1
  48. package/dist/components/comment/style.css +1 -110
  49. package/dist/components/confirm-button/index.js +2 -2
  50. package/dist/components/confirmable/index.js +2 -2
  51. package/dist/components/context-menu/index.js +1 -1
  52. package/dist/components/context-menu/style.css +1 -84
  53. package/dist/components/count-up/index.js +15 -4
  54. package/dist/components/custom-scrollbar/index.js +18 -5
  55. package/dist/components/data-box/index.js +1 -1
  56. package/dist/components/data-box/style.css +1 -52
  57. package/dist/components/data-card/index.js +1 -1
  58. package/dist/components/data-card/style.css +1 -35
  59. package/dist/components/data-cardtext/index.js +1 -1
  60. package/dist/components/data-cardtext/style.css +1 -30
  61. package/dist/components/data-display/index.js +1 -1
  62. package/dist/components/data-display/style.css +1 -31
  63. package/dist/components/data-icons/index.js +1 -1
  64. package/dist/components/data-icons/style.css +1 -47
  65. package/dist/components/data-imgtext/index.js +1 -1
  66. package/dist/components/data-imgtext/style.css +1 -65
  67. package/dist/components/data-operatext/index.js +1 -1
  68. package/dist/components/data-operatext/style.css +1 -72
  69. package/dist/components/data-panel/index.js +1 -1
  70. package/dist/components/data-panel/style.css +1 -31
  71. package/dist/components/data-pay/index.js +1 -1
  72. package/dist/components/data-pay/style.css +1 -96
  73. package/dist/components/data-price/index.js +1 -1
  74. package/dist/components/data-price/style.css +1 -75
  75. package/dist/components/data-progress/index.js +1 -1
  76. package/dist/components/data-progress/style.css +1 -24
  77. package/dist/components/data-rotate/index.js +1 -1
  78. package/dist/components/data-rotate/style.css +1 -44
  79. package/dist/components/data-table-picker/index.js +2 -100
  80. package/dist/components/data-tabs/index.js +1 -1
  81. package/dist/components/data-tabs/style.css +1 -64
  82. package/dist/components/dialog-column/index.js +1 -1
  83. package/dist/components/dialog-excel/index.js +2 -2
  84. package/dist/components/dialog-filter/index.js +1 -1
  85. package/dist/components/dialog-form/index.js +1 -1
  86. package/dist/components/dynamic-table/index.js +1 -1
  87. package/dist/components/dynamic-table/style.css +1 -24
  88. package/dist/components/e-charts/index.js +1 -1
  89. package/dist/components/e-charts/style.css +1 -4
  90. package/dist/components/easy-popup/index.js +1 -1
  91. package/dist/components/easy-popup/style.css +1 -12
  92. package/dist/components/editable-progress/index.js +1 -1
  93. package/dist/components/editable-progress/style.css +1 -33
  94. package/dist/components/editable-tree/index.js +206 -451
  95. package/dist/components/editable-tree/style.css +1 -79
  96. package/dist/components/egd-collapse/index.js +1 -1
  97. package/dist/components/egd-collapse-item/index.js +1 -1
  98. package/dist/components/element-dialog/index.js +2 -11
  99. package/dist/components/element-dialog/style.css +1 -82
  100. package/dist/components/empty-view/index.js +1 -1
  101. package/dist/components/empty-view/style.css +1 -11
  102. package/dist/components/error-view/index.js +1 -1
  103. package/dist/components/error-view/style.css +1 -11
  104. package/dist/components/flex-column/index.js +14 -2
  105. package/dist/components/flex-item/index.js +15 -3
  106. package/dist/components/flex-row/index.js +14 -2
  107. package/dist/components/flex-scroller/index.js +1 -1
  108. package/dist/components/flex-scroller/style.css +1 -14
  109. package/dist/components/flow/index.js +1 -1
  110. package/dist/components/flow/style.css +1 -38
  111. package/dist/components/flow-node/index.js +1 -1
  112. package/dist/components/flow-viewer/index.js +34 -7
  113. package/dist/components/flow-viewer/style.css +1 -13
  114. package/dist/components/form-button/index.js +2 -2
  115. package/dist/components/form-cascader/index.js +14 -3
  116. package/dist/components/form-checkbox-group/index.js +14 -3
  117. package/dist/components/form-checkbox-group/style.css +1 -45
  118. package/dist/components/form-date-picker/index.js +20 -11
  119. package/dist/components/form-group/index.js +1 -1
  120. package/dist/components/form-group/style.css +1 -76
  121. package/dist/components/form-holder/index.js +21 -3
  122. package/dist/components/form-input/index.js +14 -3
  123. package/dist/components/form-input-email/index.js +14 -3
  124. package/dist/components/form-input-id-card/index.js +14 -3
  125. package/dist/components/form-input-number/index.js +14 -3
  126. package/dist/components/form-input-number/style.css +1 -6
  127. package/dist/components/form-input-phone-number/index.js +14 -3
  128. package/dist/components/form-input-time/index.js +14 -3
  129. package/dist/components/form-item/index.js +43 -15
  130. package/dist/components/form-item/style.css +1 -5
  131. package/dist/components/form-item-config-provider/index.js +1 -1
  132. package/dist/components/form-item-group/index.js +1 -1
  133. package/dist/components/form-item-group/style.css +1 -25
  134. package/dist/components/form-radio-group/index.js +14 -3
  135. package/dist/components/form-radio-group/style.css +1 -47
  136. package/dist/components/form-select/index.js +14 -3
  137. package/dist/components/form-switch/index.js +14 -3
  138. package/dist/components/form-temp/index.js +1 -1
  139. package/dist/components/form-textarea/index.js +14 -3
  140. package/dist/components/form-view/index.js +35 -13
  141. package/dist/components/form-view/style.css +1 -155
  142. package/dist/components/fy-array/index.js +1 -1
  143. package/dist/components/fy-array/style.css +1 -12
  144. package/dist/components/fy-article/index.js +1 -1
  145. package/dist/components/fy-article/style.css +1 -56
  146. package/dist/components/fy-cascader/index.js +1 -1
  147. package/dist/components/fy-checkbox/index.js +1 -1
  148. package/dist/components/fy-checkbox/style.css +1 -9
  149. package/dist/components/fy-code/index.js +1 -1
  150. package/dist/components/fy-curd/index.js +1 -1
  151. package/dist/components/fy-curd/style.css +1 -236
  152. package/dist/components/fy-date/index.js +1 -1
  153. package/dist/components/fy-date/style.css +1 -15
  154. package/dist/components/fy-dialog-form/index.js +1 -1
  155. package/dist/components/fy-dialog-form/style.css +1 -0
  156. package/dist/components/fy-draggable/index.js +1 -1
  157. package/dist/components/fy-draggable/style.css +1 -136
  158. package/dist/components/fy-dynamic/index.js +1 -1
  159. package/dist/components/fy-dynamic/style.css +1 -29
  160. package/dist/components/fy-empty/index.js +1 -1
  161. package/dist/components/fy-empty/style.css +1 -18
  162. package/dist/components/fy-form/index.js +23 -5
  163. package/dist/components/fy-form/style.css +1 -73
  164. package/dist/components/fy-form-design/index.js +73 -49
  165. package/dist/components/fy-form-design/style.css +1 -560
  166. package/dist/components/fy-form-menu/index.js +1 -1
  167. package/dist/components/fy-input/index.js +1 -1
  168. package/dist/components/fy-input-color/index.js +1 -1
  169. package/dist/components/fy-input-icon/index.js +1 -1
  170. package/dist/components/fy-input-icon/style.css +1 -33
  171. package/dist/components/fy-input-map/index.js +1 -1
  172. package/dist/components/fy-input-map/style.css +1 -44
  173. package/dist/components/fy-input-number/index.js +1 -1
  174. package/dist/components/fy-input-table/index.js +1 -1
  175. package/dist/components/fy-input-table/style.css +1 -4
  176. package/dist/components/fy-input-tree/index.js +1 -1
  177. package/dist/components/fy-input-tree/style.css +1 -19
  178. package/dist/components/fy-progress/index.js +1 -1
  179. package/dist/components/fy-radio/index.js +1 -1
  180. package/dist/components/fy-radio/style.css +1 -6
  181. package/dist/components/fy-rate/index.js +1 -1
  182. package/dist/components/fy-rate/style.css +1 -3
  183. package/dist/components/fy-select/index.js +1 -1
  184. package/dist/components/fy-select/style.css +1 -19
  185. package/dist/components/fy-slider/index.js +1 -1
  186. package/dist/components/fy-switch/index.js +1 -1
  187. package/dist/components/fy-tabs/index.js +1 -1
  188. package/dist/components/fy-time/index.js +1 -1
  189. package/dist/components/fy-title/index.js +1 -1
  190. package/dist/components/fy-title/style.css +1 -5
  191. package/dist/components/fy-tree/index.js +1 -1
  192. package/dist/components/fy-tree/style.css +1 -39
  193. package/dist/components/fy-u-editor/index.js +47 -14
  194. package/dist/components/fy-u-editor/style.css +1 -9
  195. package/dist/components/fy-upload/index.js +1 -1
  196. package/dist/components/fy-upload/style.css +1 -55
  197. package/dist/components/guide-steps/index.js +1 -1
  198. package/dist/components/guide-steps/style.css +1 -28
  199. package/dist/components/header-menu/index.js +1 -1
  200. package/dist/components/header-search/index.js +1 -1
  201. package/dist/components/highlight-j-s/index.js +1 -1
  202. package/dist/components/highlight-j-s/style.css +1 -18
  203. package/dist/components/icon-card/index.js +1 -1
  204. package/dist/components/icon-card/style.css +1 -50
  205. package/dist/components/icon-temp/index.js +1 -1
  206. package/dist/components/icon-temp/style.css +1 -17
  207. package/dist/components/iframe-window/index.js +1 -1
  208. package/dist/components/iframe-window/style.css +1 -14
  209. package/dist/components/image-cropper/index.js +15 -6
  210. package/dist/components/image-cropper/style.css +1 -28
  211. package/dist/components/image-preview/index.js +15 -5
  212. package/dist/components/image-preview/style.css +1 -66
  213. package/dist/components/image-viewer/index.js +1 -1
  214. package/dist/components/image-viewer/style.css +1 -15
  215. package/dist/components/input-number/index.js +1 -1
  216. package/dist/components/input-number/style.css +1 -9
  217. package/dist/components/input-number-range/index.js +1 -1
  218. package/dist/components/input-number-range/style.css +1 -6
  219. package/dist/components/keep-view-alive/index.js +1 -1
  220. package/dist/components/keyboard/index.js +1 -1
  221. package/dist/components/keyboard/style.css +1 -473
  222. package/dist/components/license/index.js +1 -1
  223. package/dist/components/loading-view/index.js +1 -1
  224. package/dist/components/loading-view/style.css +1 -11
  225. package/dist/components/login/index.js +1 -1
  226. package/dist/components/login/style.css +1 -19
  227. package/dist/components/name-avatar/index.js +1 -1
  228. package/dist/components/name-avatar/style.css +1 -30
  229. package/dist/components/nav-bar/index.js +1 -1
  230. package/dist/components/nav-bar/style.css +1 -11
  231. package/dist/components/not-implement/index.js +1 -1
  232. package/dist/components/not-implement/style.css +1 -9
  233. package/dist/components/notice/index.js +1 -1
  234. package/dist/components/notice/style.css +1 -48
  235. package/dist/components/page/index.js +1 -1
  236. package/dist/components/page/style.css +1 -6
  237. package/dist/components/page-header/index.js +1 -1
  238. package/dist/components/page-header/style.css +1 -8
  239. package/dist/components/page-index/index.js +42 -18
  240. package/dist/components/page-index/style.css +1 -17
  241. package/dist/components/page-index-top/index.js +38 -16
  242. package/dist/components/page-skeleton/index.js +1 -1
  243. package/dist/components/page-skeleton/style.css +1 -17
  244. package/dist/components/page-skeleton-new/index.js +1 -1
  245. package/dist/components/page-skeleton-new/style.css +1 -36
  246. package/dist/components/pageable-table/index.js +78 -34
  247. package/dist/components/pageable-table/style.css +1 -66
  248. package/dist/components/pageable-view/index.js +78 -34
  249. package/dist/components/pageable-view/style.css +1 -63
  250. package/dist/components/photo-swipe/index.js +46 -24
  251. package/dist/components/process-designer/index.js +80 -50
  252. package/dist/components/process-designer/style.css +1 -1648
  253. package/dist/components/properties-panel/index.js +77 -51
  254. package/dist/components/properties-panel/style.css +1 -106
  255. package/dist/components/queue/index.js +1 -1
  256. package/dist/components/record-video/index.js +1 -1
  257. package/dist/components/record-video/style.css +1 -47
  258. package/dist/components/resize-observer/index.js +1 -1
  259. package/dist/components/resize-observer/style.css +1 -25
  260. package/dist/components/search/index.js +1 -1
  261. package/dist/components/search/style.css +1 -51
  262. package/dist/components/search-popover/index.js +29 -9
  263. package/dist/components/search-popover/style.css +1 -90
  264. package/dist/components/sign/index.js +2 -2
  265. package/dist/components/sign/style.css +1 -6
  266. package/dist/components/sign-panel/index.js +1 -1
  267. package/dist/components/sign-panel/style.css +1 -91
  268. package/dist/components/skeleton/index.js +1 -1
  269. package/dist/components/skeleton/style.css +1 -55
  270. package/dist/components/split-pane/index.js +21 -3
  271. package/dist/components/split-pane/style.css +1 -98
  272. package/dist/components/stateful/index.js +1 -1
  273. package/dist/components/stateful/style.css +1 -27
  274. package/dist/components/static-pageable-table/index.js +1 -1
  275. package/dist/components/static-pageable-table/style.css +1 -3
  276. package/dist/components/swiper/index.js +25 -5
  277. package/dist/components/swiper/style.css +1 -37
  278. package/dist/components/tab/index.js +2 -2
  279. package/dist/components/tab/style.css +1 -108
  280. package/dist/components/tab-item/index.js +3 -3
  281. package/dist/components/table-column/index.js +17 -7
  282. package/dist/components/table-page/index.js +1 -1
  283. package/dist/components/table-view/index.js +62 -36
  284. package/dist/components/table-view/style.css +1 -90
  285. package/dist/components/tag-render/index.js +13 -2
  286. package/dist/components/tag-render/style.css +1 -27
  287. package/dist/components/text-ellipsis/index.js +1 -1
  288. package/dist/components/text-ellipsis/style.css +1 -3
  289. package/dist/components/tinymce-editor/index.js +27 -9
  290. package/dist/components/tinymce-editor/style.css +1 -37
  291. package/dist/components/tinymce-wrapper/index.js +17 -7
  292. package/dist/components/tinymce-wrapper/style.css +1 -30
  293. package/dist/components/toolbar/index.js +4 -4
  294. package/dist/components/toolbar/style.css +1 -35
  295. package/dist/components/toolbar-button/index.js +28 -10
  296. package/dist/components/toolbar-button/style.css +1 -15
  297. package/dist/components/trigger/index.js +1 -1
  298. package/dist/components/verify/index.js +1 -1
  299. package/dist/components/verify/style.css +1 -9
  300. package/dist/components/vue-tags-input/index.js +1 -1
  301. package/dist/components/vue-tags-input/style.css +1 -102
  302. package/dist/components/watermark/index.js +15 -5
  303. package/dist/components/watermark/style.css +1 -10
  304. package/dist/index.css +26 -68
  305. package/dist/index.es.js +780 -1310
  306. package/package.json +4 -4
  307. package/web-types.json +1 -1
  308. package/dist/chunks/confirmable-mixin.7112b769.js +0 -75
  309. package/dist/chunks/dayjs.b0f2f7d9.js +0 -247
  310. package/dist/components/dialog-form/style.css +0 -5
package/dist/index.es.js CHANGED
@@ -1,4 +1,42 @@
1
- import { isFunction, error, isBlank, getObjType, getComputedHeight, drag, hasOwn, isObject as isObject$1, isString, isPlainObject, isArray, camelize, isEmpty, fastClone, validateNumber, validateIdCard, validatePhoneNum, isVerticalScrollbarVisible, scrollbarWidth, computePosition, isUndefined, isNotEmpty, delay, findTreeChildren, setParent, warning, toStringArray, animate, isInContainer, createLogger, escapeHtml, setPx as setPx$1, copy, treeToArray, findFirstMatchNode, debug, getEleWidth, trace, guid, NOOP } from "@web-utils/core";
1
+ var __defProp = Object.defineProperty, __defProps = Object.defineProperties;
2
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
3
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
5
+ var __defNormalProp = (obj2, key2, value2) => key2 in obj2 ? __defProp(obj2, key2, { enumerable: !0, configurable: !0, writable: !0, value: value2 }) : obj2[key2] = value2, __spreadValues = (a, b) => {
6
+ for (var prop in b || (b = {}))
7
+ __hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
8
+ if (__getOwnPropSymbols)
9
+ for (var prop of __getOwnPropSymbols(b))
10
+ __propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
11
+ return a;
12
+ }, __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
13
+ var __objRest = (source, exclude) => {
14
+ var target = {};
15
+ for (var prop in source)
16
+ __hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0 && (target[prop] = source[prop]);
17
+ if (source != null && __getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(source))
19
+ exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop) && (target[prop] = source[prop]);
20
+ return target;
21
+ };
22
+ var __async = (__this, __arguments, generator) => new Promise((resolve2, reject2) => {
23
+ var fulfilled = (value2) => {
24
+ try {
25
+ step(generator.next(value2));
26
+ } catch (e2) {
27
+ reject2(e2);
28
+ }
29
+ }, rejected = (value2) => {
30
+ try {
31
+ step(generator.throw(value2));
32
+ } catch (e2) {
33
+ reject2(e2);
34
+ }
35
+ }, step = (x) => x.done ? resolve2(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
36
+ step((generator = generator.apply(__this, __arguments)).next());
37
+ });
38
+ import { isFunction, error, isBlank, getObjType, isObject as isObject$1, isString, hasOwn, isPlainObject, isArray, camelize, isEmpty, fastClone, validateNumber, validateIdCard, validatePhoneNum, isVerticalScrollbarVisible, scrollbarWidth, computePosition, isUndefined, isNotEmpty, delay, findTreeChildren, setParent, warning, toStringArray, animate, isInContainer, createLogger, escapeHtml, setPx as setPx$1, copy, treeToArray, findFirstMatchNode, debug, getEleWidth, trace, guid, NOOP } from "@web-utils/core";
39
+ import { formatDate, toDate } from "@web-utils/integrations/dayjs";
2
40
  import Uploader from "simple-uploader.js";
3
41
  import CodeMirror from "codemirror";
4
42
  import "codemirror/lib/codemirror.css";
@@ -20,6 +58,7 @@ import { MessageBox, Loading, Dialog, Col, FormItem as FormItem$1, Cascader, Che
20
58
  import { CountUp as CountUp$1 } from "countup.js";
21
59
  import OverlayScrollbars from "overlayscrollbars";
22
60
  import "overlayscrollbars/css/OverlayScrollbars.css";
61
+ import { dialog } from "@web-utils/vue/mixin/dialog";
23
62
  import Vue from "vue";
24
63
  import * as echarts from "echarts/core";
25
64
  import { BarChart, LineChart, PieChart, RadarChart, MapChart, ScatterChart, EffectScatterChart, PictorialBarChart } from "echarts/charts";
@@ -27,8 +66,10 @@ import { TitleComponent, TooltipComponent, GridComponent, LegendComponent, Datas
27
66
  import { CanvasRenderer } from "echarts/renderers";
28
67
  import { debounce, cloneDeep, merge } from "@web-utils/integrations/lodash";
29
68
  import { addListener, removeListener } from "resize-detector";
69
+ import { addResizeListener, removeResizeListener } from "@web-utils/integrations/resize";
30
70
  import Emitter from "element-ui/src/mixins/emitter";
31
71
  import { generateId } from "element-ui/src/utils/util";
72
+ import { dialogDrag } from "@web-utils/vue/directives/dialog-drag";
32
73
  import BpmnViewer from "bpmn-js/lib/NavigatedViewer";
33
74
  import ZoomScroll from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
34
75
  import ElScrollbar from "element-ui/lib/scrollbar";
@@ -110,7 +151,7 @@ function normalizeComponent(scriptExports, render2, staticRenderFns2, functional
110
151
  if (moduleIdentifier ? (hook = function(context) {
111
152
  context = context || // cached call
112
153
  this.$vnode && this.$vnode.ssrContext || // stateful
113
- this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !context && typeof __VUE_SSR_CONTEXT__ < "u" && (context = __VUE_SSR_CONTEXT__), injectStyles && injectStyles.call(this, context), context && context._registeredComponents && context._registeredComponents.add(moduleIdentifier);
154
+ this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !context && typeof __VUE_SSR_CONTEXT__ != "undefined" && (context = __VUE_SSR_CONTEXT__), injectStyles && injectStyles.call(this, context), context && context._registeredComponents && context._registeredComponents.add(moduleIdentifier);
114
155
  }, options2._ssrRegister = hook) : injectStyles && (hook = shadowMode ? function() {
115
156
  injectStyles.call(
116
157
  this,
@@ -492,16 +533,18 @@ const Avatar = /* @__PURE__ */ function() {
492
533
  };
493
534
  },
494
535
  methods: {
495
- async onClick(e2) {
496
- this.isLoading = !0;
497
- const { click } = this.$listeners;
498
- if (isFunction(click))
499
- try {
500
- await click(e2);
501
- } catch (e3) {
502
- error.call(this, e3);
503
- }
504
- this.isLoading = !1;
536
+ onClick(e2) {
537
+ return __async(this, null, function* () {
538
+ this.isLoading = !0;
539
+ const { click } = this.$listeners;
540
+ if (isFunction(click))
541
+ try {
542
+ yield click(e2);
543
+ } catch (e3) {
544
+ error.call(this, e3);
545
+ }
546
+ this.isLoading = !1;
547
+ });
505
548
  }
506
549
  },
507
550
  render(createElement) {
@@ -509,7 +552,7 @@ const Avatar = /* @__PURE__ */ function() {
509
552
  const vNode = (_b = (_a = this.$scopedSlots).default) == null ? void 0 : _b.call(_a);
510
553
  return createElement(
511
554
  "ElButton",
512
- { on: { click: this.onClick }, props: { ...this.$props, disabled: this.isLoading } },
555
+ { on: { click: this.onClick }, props: __spreadProps(__spreadValues({}, this.$props), { disabled: this.isLoading }) },
513
556
  vNode && (vNode[0].tag || vNode[0].text) ? vNode : this.text
514
557
  );
515
558
  }
@@ -772,256 +815,7 @@ function __vue2_injectStyles$3h(context) {
772
815
  }
773
816
  const Carousel = /* @__PURE__ */ function() {
774
817
  return __component__$3h.exports;
775
- }();
776
- var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
777
- function getDefaultExportFromCjs(x) {
778
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x.default : x;
779
- }
780
- var dayjs_minExports$1 = {}, dayjs_min = {
781
- get exports() {
782
- return dayjs_minExports$1;
783
- },
784
- set exports(v) {
785
- dayjs_minExports$1 = v;
786
- }
787
- }, hasRequiredDayjs_min;
788
- function requireDayjs_min() {
789
- return hasRequiredDayjs_min || (hasRequiredDayjs_min = 1, function(module, exports) {
790
- (function(t, e2) {
791
- module.exports = e2();
792
- })(commonjsGlobal, function() {
793
- var t = 1e3, e2 = 6e4, n = 36e5, r = "millisecond", i2 = "second", s = "minute", u = "hour", a = "day", o = "week", f = "month", h = "quarter", c = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
794
- var e3 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
795
- return "[" + t2 + (e3[(n2 - 20) % 10] || e3[n2] || e3[0]) + "]";
796
- } }, m = function(t2, e3, n2) {
797
- var r2 = String(t2);
798
- return !r2 || r2.length >= e3 ? t2 : "" + Array(e3 + 1 - r2.length).join(n2) + t2;
799
- }, v = { s: m, z: function(t2) {
800
- var e3 = -t2.utcOffset(), n2 = Math.abs(e3), r2 = Math.floor(n2 / 60), i3 = n2 % 60;
801
- return (e3 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i3, 2, "0");
802
- }, m: function t2(e3, n2) {
803
- if (e3.date() < n2.date())
804
- return -t2(n2, e3);
805
- var r2 = 12 * (n2.year() - e3.year()) + (n2.month() - e3.month()), i3 = e3.clone().add(r2, f), s2 = n2 - i3 < 0, u2 = e3.clone().add(r2 + (s2 ? -1 : 1), f);
806
- return +(-(r2 + (n2 - i3) / (s2 ? i3 - u2 : u2 - i3)) || 0);
807
- }, a: function(t2) {
808
- return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
809
- }, p: function(t2) {
810
- return { M: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i2, ms: r, Q: h }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
811
- }, u: function(t2) {
812
- return t2 === void 0;
813
- } }, g = "en", D = {};
814
- D[g] = M;
815
- var p = function(t2) {
816
- return t2 instanceof _;
817
- }, S = function t2(e3, n2, r2) {
818
- var i3;
819
- if (!e3)
820
- return g;
821
- if (typeof e3 == "string") {
822
- var s2 = e3.toLowerCase();
823
- D[s2] && (i3 = s2), n2 && (D[s2] = n2, i3 = s2);
824
- var u2 = e3.split("-");
825
- if (!i3 && u2.length > 1)
826
- return t2(u2[0]);
827
- } else {
828
- var a2 = e3.name;
829
- D[a2] = e3, i3 = a2;
830
- }
831
- return !r2 && i3 && (g = i3), i3 || !r2 && g;
832
- }, w = function(t2, e3) {
833
- if (p(t2))
834
- return t2.clone();
835
- var n2 = typeof e3 == "object" ? e3 : {};
836
- return n2.date = t2, n2.args = arguments, new _(n2);
837
- }, O = v;
838
- O.l = S, O.i = p, O.w = function(t2, e3) {
839
- return w(t2, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
840
- };
841
- var _ = function() {
842
- function M2(t2) {
843
- this.$L = S(t2.locale, null, !0), this.parse(t2);
844
- }
845
- var m2 = M2.prototype;
846
- return m2.parse = function(t2) {
847
- this.$d = function(t3) {
848
- var e3 = t3.date, n2 = t3.utc;
849
- if (e3 === null)
850
- return new Date(NaN);
851
- if (O.u(e3))
852
- return new Date();
853
- if (e3 instanceof Date)
854
- return new Date(e3);
855
- if (typeof e3 == "string" && !/Z$/i.test(e3)) {
856
- var r2 = e3.match($);
857
- if (r2) {
858
- var i3 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
859
- return n2 ? new Date(Date.UTC(r2[1], i3, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i3, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
860
- }
861
- }
862
- return new Date(e3);
863
- }(t2), this.$x = t2.x || {}, this.init();
864
- }, m2.init = function() {
865
- var t2 = this.$d;
866
- this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
867
- }, m2.$utils = function() {
868
- return O;
869
- }, m2.isValid = function() {
870
- return this.$d.toString() !== l;
871
- }, m2.isSame = function(t2, e3) {
872
- var n2 = w(t2);
873
- return this.startOf(e3) <= n2 && n2 <= this.endOf(e3);
874
- }, m2.isAfter = function(t2, e3) {
875
- return w(t2) < this.startOf(e3);
876
- }, m2.isBefore = function(t2, e3) {
877
- return this.endOf(e3) < w(t2);
878
- }, m2.$g = function(t2, e3, n2) {
879
- return O.u(t2) ? this[e3] : this.set(n2, t2);
880
- }, m2.unix = function() {
881
- return Math.floor(this.valueOf() / 1e3);
882
- }, m2.valueOf = function() {
883
- return this.$d.getTime();
884
- }, m2.startOf = function(t2, e3) {
885
- var n2 = this, r2 = !!O.u(e3) || e3, h2 = O.p(t2), l2 = function(t3, e4) {
886
- var i3 = O.w(n2.$u ? Date.UTC(n2.$y, e4, t3) : new Date(n2.$y, e4, t3), n2);
887
- return r2 ? i3 : i3.endOf(a);
888
- }, $2 = function(t3, e4) {
889
- return O.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n2);
890
- }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
891
- switch (h2) {
892
- case c:
893
- return r2 ? l2(1, 0) : l2(31, 11);
894
- case f:
895
- return r2 ? l2(1, M3) : l2(0, M3 + 1);
896
- case o:
897
- var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
898
- return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
899
- case a:
900
- case d:
901
- return $2(v2 + "Hours", 0);
902
- case u:
903
- return $2(v2 + "Minutes", 1);
904
- case s:
905
- return $2(v2 + "Seconds", 2);
906
- case i2:
907
- return $2(v2 + "Milliseconds", 3);
908
- default:
909
- return this.clone();
910
- }
911
- }, m2.endOf = function(t2) {
912
- return this.startOf(t2, !1);
913
- }, m2.$set = function(t2, e3) {
914
- var n2, o2 = O.p(t2), h2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = h2 + "Date", n2[d] = h2 + "Date", n2[f] = h2 + "Month", n2[c] = h2 + "FullYear", n2[u] = h2 + "Hours", n2[s] = h2 + "Minutes", n2[i2] = h2 + "Seconds", n2[r] = h2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e3 - this.$W) : e3;
915
- if (o2 === f || o2 === c) {
916
- var y2 = this.clone().set(d, 1);
917
- y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
918
- } else
919
- l2 && this.$d[l2]($2);
920
- return this.init(), this;
921
- }, m2.set = function(t2, e3) {
922
- return this.clone().$set(t2, e3);
923
- }, m2.get = function(t2) {
924
- return this[O.p(t2)]();
925
- }, m2.add = function(r2, h2) {
926
- var d2, l2 = this;
927
- r2 = Number(r2);
928
- var $2 = O.p(h2), y2 = function(t2) {
929
- var e3 = w(l2);
930
- return O.w(e3.date(e3.date() + Math.round(t2 * r2)), l2);
931
- };
932
- if ($2 === f)
933
- return this.set(f, this.$M + r2);
934
- if ($2 === c)
935
- return this.set(c, this.$y + r2);
936
- if ($2 === a)
937
- return y2(1);
938
- if ($2 === o)
939
- return y2(7);
940
- var M3 = (d2 = {}, d2[s] = e2, d2[u] = n, d2[i2] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
941
- return O.w(m3, this);
942
- }, m2.subtract = function(t2, e3) {
943
- return this.add(-1 * t2, e3);
944
- }, m2.format = function(t2) {
945
- var e3 = this, n2 = this.$locale();
946
- if (!this.isValid())
947
- return n2.invalidDate || l;
948
- var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i3 = O.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, f2 = n2.months, h2 = function(t3, n3, i4, s3) {
949
- return t3 && (t3[n3] || t3(e3, r2)) || i4[n3].slice(0, s3);
950
- }, c2 = function(t3) {
951
- return O.s(s2 % 12 || 12, t3, "0");
952
- }, d2 = n2.meridiem || function(t3, e4, n3) {
953
- var r3 = t3 < 12 ? "AM" : "PM";
954
- return n3 ? r3.toLowerCase() : r3;
955
- }, $2 = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a2 + 1, MM: O.s(a2 + 1, 2, "0"), MMM: h2(n2.monthsShort, a2, f2, 3), MMMM: h2(f2, a2), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h2(n2.weekdaysMin, this.$W, o2, 2), ddd: h2(n2.weekdaysShort, this.$W, o2, 3), dddd: o2[this.$W], H: String(s2), HH: O.s(s2, 2, "0"), h: c2(1), hh: c2(2), a: d2(s2, u2, !0), A: d2(s2, u2, !1), m: String(u2), mm: O.s(u2, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i3 };
956
- return r2.replace(y, function(t3, e4) {
957
- return e4 || $2[t3] || i3.replace(":", "");
958
- });
959
- }, m2.utcOffset = function() {
960
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
961
- }, m2.diff = function(r2, d2, l2) {
962
- var $2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e2, v2 = this - M3, g2 = O.m(this, M3);
963
- return g2 = ($2 = {}, $2[c] = g2 / 12, $2[f] = g2, $2[h] = g2 / 3, $2[o] = (v2 - m3) / 6048e5, $2[a] = (v2 - m3) / 864e5, $2[u] = v2 / n, $2[s] = v2 / e2, $2[i2] = v2 / t, $2)[y2] || v2, l2 ? g2 : O.a(g2);
964
- }, m2.daysInMonth = function() {
965
- return this.endOf(f).$D;
966
- }, m2.$locale = function() {
967
- return D[this.$L];
968
- }, m2.locale = function(t2, e3) {
969
- if (!t2)
970
- return this.$L;
971
- var n2 = this.clone(), r2 = S(t2, e3, !0);
972
- return r2 && (n2.$L = r2), n2;
973
- }, m2.clone = function() {
974
- return O.w(this.$d, this);
975
- }, m2.toDate = function() {
976
- return new Date(this.valueOf());
977
- }, m2.toJSON = function() {
978
- return this.isValid() ? this.toISOString() : null;
979
- }, m2.toISOString = function() {
980
- return this.$d.toISOString();
981
- }, m2.toString = function() {
982
- return this.$d.toUTCString();
983
- }, M2;
984
- }(), T = _.prototype;
985
- return w.prototype = T, [["$ms", r], ["$s", i2], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function(t2) {
986
- T[t2[1]] = function(e3) {
987
- return this.$g(e3, t2[0], t2[1]);
988
- };
989
- }), w.extend = function(t2, e3) {
990
- return t2.$i || (t2(e3, _, w), t2.$i = !0), w;
991
- }, w.locale = S, w.isDayjs = p, w.unix = function(t2) {
992
- return w(1e3 * t2);
993
- }, w.en = D[g], w.Ls = D, w.p = {}, w;
994
- });
995
- }(dayjs_min)), dayjs_minExports$1;
996
- }
997
- var dayjs_minExports = requireDayjs_min();
998
- const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
999
- var zhCnExports = {}, zhCn = {
1000
- get exports() {
1001
- return zhCnExports;
1002
- },
1003
- set exports(v) {
1004
- zhCnExports = v;
1005
- }
1006
- };
1007
- (function(module, exports) {
1008
- (function(e2, _) {
1009
- module.exports = _(requireDayjs_min());
1010
- })(commonjsGlobal, function(e2) {
1011
- function _(e3) {
1012
- return e3 && typeof e3 == "object" && "default" in e3 ? e3 : { default: e3 };
1013
- }
1014
- var t = _(e2), d = { name: "zh-cn", weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"), weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"), weekdaysMin: "日_一_二_三_四_五_六".split("_"), months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"), monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"), ordinal: function(e3, _2) {
1015
- return _2 === "W" ? e3 + "周" : e3 + "日";
1016
- }, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY年M月D日", LLL: "YYYY年M月D日Ah点mm分", LLLL: "YYYY年M月D日ddddAh点mm分", l: "YYYY/M/D", ll: "YYYY年M月D日", lll: "YYYY年M月D日 HH:mm", llll: "YYYY年M月D日dddd HH:mm" }, relativeTime: { future: "%s内", past: "%s前", s: "几秒", m: "1 分钟", mm: "%d 分钟", h: "1 小时", hh: "%d 小时", d: "1 天", dd: "%d 天", M: "1 个月", MM: "%d 个月", y: "1 年", yy: "%d 年" }, meridiem: function(e3, _2) {
1017
- var t2 = 100 * e3 + _2;
1018
- return t2 < 600 ? "凌晨" : t2 < 900 ? "早上" : t2 < 1100 ? "上午" : t2 < 1300 ? "中午" : t2 < 1800 ? "下午" : "晚上";
1019
- } };
1020
- return t.default.locale(d, null, !0), d;
1021
- });
1022
- })(zhCn);
1023
- dayjs.locale("zh-cn");
1024
- const toDate = (date) => dayjs(date).toDate(), formatDate = (date, pattern = "YYYY-MM-DD HH:mm:ss") => date ? dayjs(date).format(pattern) : "", KEY_COMPONENT_NAME = "fy-", DIC_PROPS = {
818
+ }(), KEY_COMPONENT_NAME = "fy-", DIC_PROPS = {
1025
819
  rowKey: "id",
1026
820
  rowParentKey: "parentId",
1027
821
  nodeKey: "id",
@@ -2029,10 +1823,12 @@ const ChunkFileUploaderDrop_vue_vue_type_style_index_0_lang = "", __vue2_script$
2029
1823
  dropClass: ""
2030
1824
  };
2031
1825
  },
2032
- async mounted() {
2033
- await this.$nextTick();
2034
- const dropEle = this.$refs.drop, uploader = this.uploader.uploader;
2035
- uploader.assignDrop(dropEle), uploader.on("dragenter", this.onDragEnter), uploader.on("dragleave", this.onDragLeave), uploader.on("drop", this.onDrop);
1826
+ mounted() {
1827
+ return __async(this, null, function* () {
1828
+ yield this.$nextTick();
1829
+ const dropEle = this.$refs.drop, uploader = this.uploader.uploader;
1830
+ uploader.assignDrop(dropEle), uploader.on("dragenter", this.onDragEnter), uploader.on("dragleave", this.onDragLeave), uploader.on("drop", this.onDrop);
1831
+ });
2036
1832
  },
2037
1833
  beforeDestroy() {
2038
1834
  const dropEle = this.$refs.drop, uploader = this.uploader.uploader;
@@ -2326,7 +2122,7 @@ const ChunkFileUploaderFile_vue_vue_type_style_index_0_lang = "", __vue2_script$
2326
2122
  let res = message;
2327
2123
  try {
2328
2124
  res = JSON.parse(message);
2329
- } catch {
2125
+ } catch (e2) {
2330
2126
  }
2331
2127
  this.response = res;
2332
2128
  },
@@ -2568,11 +2364,11 @@ var jsonlint = function() {
2568
2364
  return a2 = c2.lexer.lex() || 1, typeof a2 != "number" && (a2 = c2.symbols_[a2] || a2), a2;
2569
2365
  }
2570
2366
  var c2 = this, d2 = [0], e2 = [null], f = [], g = this.table, h = "", i2 = 0, j = 0, k = 0, l = 2, m = 1;
2571
- this.lexer.setInput(b2), this.lexer.yy = this.yy, this.yy.lexer = this.lexer, typeof this.lexer.yylloc > "u" && (this.lexer.yylloc = {});
2367
+ this.lexer.setInput(b2), this.lexer.yy = this.yy, this.yy.lexer = this.lexer, typeof this.lexer.yylloc == "undefined" && (this.lexer.yylloc = {});
2572
2368
  var n = this.lexer.yylloc;
2573
2369
  f.push(n), typeof this.yy.parseError == "function" && (this.parseError = this.yy.parseError);
2574
2370
  for (var q, r, s, t, v, w = {}, x, y, z, A; ; ) {
2575
- if (s = d2[d2.length - 1], this.defaultActions[s] ? t = this.defaultActions[s] : (q == null && (q = p()), t = g[s] && g[s][q]), typeof t > "u" || !t.length || !t[0]) {
2371
+ if (s = d2[d2.length - 1], this.defaultActions[s] ? t = this.defaultActions[s] : (q == null && (q = p()), t = g[s] && g[s][q]), typeof t == "undefined" || !t.length || !t[0]) {
2576
2372
  if (!k) {
2577
2373
  A = [];
2578
2374
  for (x in g[s])
@@ -2601,7 +2397,7 @@ Expecting ` + A.join(", ") + ", got '" + this.terminals_[q] + "'" : B = "Parse e
2601
2397
  d2.push(q), e2.push(this.lexer.yytext), f.push(this.lexer.yylloc), d2.push(t[1]), q = null, r ? (q = r, r = null) : (j = this.lexer.yyleng, h = this.lexer.yytext, i2 = this.lexer.yylineno, n = this.lexer.yylloc, k > 0 && k--);
2602
2398
  break;
2603
2399
  case 2:
2604
- if (y = this.productions_[t[1]][1], w.$ = e2[e2.length - y], w._$ = { first_line: f[f.length - (y || 1)].first_line, last_line: f[f.length - 1].last_line, first_column: f[f.length - (y || 1)].first_column, last_column: f[f.length - 1].last_column }, v = this.performAction.call(w, h, j, i2, this.yy, t[1], e2, f), typeof v < "u")
2400
+ if (y = this.productions_[t[1]][1], w.$ = e2[e2.length - y], w._$ = { first_line: f[f.length - (y || 1)].first_line, last_line: f[f.length - 1].last_line, first_column: f[f.length - (y || 1)].first_column, last_column: f[f.length - 1].last_column }, v = this.performAction.call(w, h, j, i2, this.yy, t[1], e2, f), typeof v != "undefined")
2605
2401
  return v;
2606
2402
  y && (d2 = d2.slice(0, -1 * y * 2), e2 = e2.slice(0, -1 * y), f = f.slice(0, -1 * y)), d2.push(this.productions_[t[1]][0]), e2.push(w.$), f.push(w._$), z = g[d2[d2.length - 2]][d2[d2.length - 1]], d2.push(z);
2607
2403
  break;
@@ -2654,7 +2450,7 @@ Expecting ` + A.join(", ") + ", got '" + this.terminals_[q] + "'" : B = "Parse e
2654
2450
  ` + this.showPosition(), { text: "", token: null, line: this.yylineno });
2655
2451
  }, lex: function() {
2656
2452
  var b2 = this.next();
2657
- return typeof b2 < "u" ? b2 : this.lex();
2453
+ return typeof b2 != "undefined" ? b2 : this.lex();
2658
2454
  }, begin: function(b2) {
2659
2455
  this.conditionStack.push(b2);
2660
2456
  }, popState: function() {
@@ -2718,14 +2514,14 @@ const format = (value2) => {
2718
2514
  if (value2)
2719
2515
  try {
2720
2516
  return JSON.stringify(JSON.parse(value2), null, 1);
2721
- } catch {
2517
+ } catch (e2) {
2722
2518
  }
2723
2519
  return value2;
2724
2520
  }, parse = (value2) => {
2725
2521
  if (value2)
2726
2522
  try {
2727
2523
  return JSON.stringify(JSON.parse(value2));
2728
- } catch {
2524
+ } catch (e2) {
2729
2525
  }
2730
2526
  return value2;
2731
2527
  }, __vue2_script$38 = {
@@ -2866,8 +2662,10 @@ const __vue2_script$37 = {
2866
2662
  },
2867
2663
  visible: {
2868
2664
  immediate: !0,
2869
- async handler(newVal) {
2870
- newVal ? (await this.$nextTick(), this.$refs.dropdown.referenceElm = this.anchor) : this.$refs.dropdown && this.$refs.dropdown.doDestroy(!0), this.showPicker = newVal;
2665
+ handler(newVal) {
2666
+ return __async(this, null, function* () {
2667
+ newVal ? (yield this.$nextTick(), this.$refs.dropdown.referenceElm = this.anchor) : this.$refs.dropdown && this.$refs.dropdown.doDestroy(!0), this.showPicker = newVal;
2668
+ });
2871
2669
  }
2872
2670
  }
2873
2671
  },
@@ -4059,26 +3857,28 @@ function __vue2_injectStyles$31(context) {
4059
3857
  const Comment = /* @__PURE__ */ function() {
4060
3858
  return __component__$31.exports;
4061
3859
  }();
4062
- async function onClick(e2, props2, listeners) {
4063
- const { stop, prevent, message, loadable, loadingText, confirmable, confirmType, confirmText } = props2;
4064
- stop && e2.stopPropagation(), prevent && e2.preventDefault();
4065
- const { before, click, cancel, after } = listeners;
4066
- if (isFunction(click))
4067
- try {
4068
- let pass = !0;
4069
- if (isFunction(before) && (pass = await before(e2)), pass === !1)
4070
- return;
4071
- confirmable && await MessageBox.confirm(message || confirmText, { type: confirmType });
4072
- let loadingInstance;
4073
- loadable && (loadingInstance = Loading.service({ background: "rgba(0,0,0,0.3)", text: loadingText }));
3860
+ function onClick(e2, props2, listeners) {
3861
+ return __async(this, null, function* () {
3862
+ const { stop, prevent, message, loadable, loadingText, confirmable, confirmType, confirmText } = props2;
3863
+ stop && e2.stopPropagation(), prevent && e2.preventDefault();
3864
+ const { before, click, cancel, after } = listeners;
3865
+ if (isFunction(click))
4074
3866
  try {
4075
- await click(e2);
4076
- } catch {
3867
+ let pass = !0;
3868
+ if (isFunction(before) && (pass = yield before(e2)), pass === !1)
3869
+ return;
3870
+ confirmable && (yield MessageBox.confirm(message || confirmText, { type: confirmType }));
3871
+ let loadingInstance;
3872
+ loadable && (loadingInstance = Loading.service({ background: "rgba(0,0,0,0.3)", text: loadingText }));
3873
+ try {
3874
+ yield click(e2);
3875
+ } catch (e3) {
3876
+ }
3877
+ loadable && loadingInstance.close(), isFunction(after) && (yield after(e2));
3878
+ } catch (e3) {
3879
+ isFunction(cancel) && (yield cancel(e3));
4077
3880
  }
4078
- loadable && loadingInstance.close(), isFunction(after) && await after(e2);
4079
- } catch (e3) {
4080
- isFunction(cancel) && await cancel(e3);
4081
- }
3881
+ });
4082
3882
  }
4083
3883
  const confirmableMixin = {
4084
3884
  functional: !0,
@@ -4122,11 +3922,10 @@ const confirmableMixin = {
4122
3922
  }
4123
3923
  },
4124
3924
  render(createElement, { props: props2, data: data2, children, listeners }) {
4125
- return createElement(props2.tag, {
4126
- ...data2,
3925
+ return createElement(props2.tag, __spreadProps(__spreadValues({}, data2), {
4127
3926
  on: { click: (e2) => onClick(e2, props2, listeners) },
4128
3927
  props: props2
4129
- }, children || props2.text);
3928
+ }), children || props2.text);
4130
3929
  }
4131
3930
  }, __vue2_script$30 = {
4132
3931
  name: "Confirmable",
@@ -4516,12 +4315,11 @@ const __vue2_script$2Z = {
4516
4315
  this.c || (this.c = new CountUp$1(
4517
4316
  this.$el,
4518
4317
  this.end,
4519
- {
4520
- ...this.options,
4318
+ __spreadProps(__spreadValues({}, this.options), {
4521
4319
  decimal: this.decimals,
4522
4320
  duration: this.duration,
4523
4321
  startVal: this.start
4524
- }
4322
+ })
4525
4323
  ), this.c.start(() => {
4526
4324
  this.callback(this.c);
4527
4325
  }));
@@ -4635,12 +4433,12 @@ const __vue2_script$2Y = {
4635
4433
  },
4636
4434
  computed: {
4637
4435
  innerOptions() {
4638
- return {
4639
- ...this.options || {},
4436
+ const options2 = this.options || {};
4437
+ return __spreadProps(__spreadValues({}, options2), {
4640
4438
  className: this.theme || "os-theme-dark",
4641
4439
  scrollbars: { autoHide: "l", autoHideDelay: 100 },
4642
4440
  callbacks: { onScroll: this.internalScroll }
4643
- };
4441
+ });
4644
4442
  }
4645
4443
  },
4646
4444
  watch: {
@@ -4661,7 +4459,8 @@ const __vue2_script$2Y = {
4661
4459
  );
4662
4460
  },
4663
4461
  activated() {
4664
- this.$refs.viewport.scrollTop = this.scrollOffset ?? 0;
4462
+ var _a;
4463
+ this.$refs.viewport.scrollTop = (_a = this.scrollOffset) != null ? _a : 0;
4665
4464
  },
4666
4465
  deactivated() {
4667
4466
  this.scrollOffset = this.$refs.viewport.scrollTop;
@@ -5863,104 +5662,7 @@ function __vue2_injectStyles$2M(context) {
5863
5662
  }
5864
5663
  const DataRotate = /* @__PURE__ */ function() {
5865
5664
  return __component__$2M.exports;
5866
- }(), nodeList = /* @__PURE__ */ new Map();
5867
- let startClick;
5868
- document.addEventListener("mousedown", (e2) => startClick = e2);
5869
- document.addEventListener("mouseup", (e2) => {
5870
- for (const { documentHandler } of nodeList.values())
5871
- documentHandler(e2, startClick);
5872
- });
5873
- function bindDrag$1(el, binding) {
5874
- var _a, _b;
5875
- const dialogHeaderEl = el.querySelector(".el-dialog__header"), dragDom = el.querySelector(".el-dialog");
5876
- dialogHeaderEl && (binding.arg ? dialogHeaderEl.style.cssText += ";cursor:default;" : dialogHeaderEl.style.cssText += ";cursor:move;", drag(dragDom, dialogHeaderEl, hasOwn(binding.value, "limit") ? (_a = binding.value) == null ? void 0 : _a.limit : !0, { onMove: (_b = binding.value) == null ? void 0 : _b.onMove }));
5877
- }
5878
- const dialogDrag$1 = {
5879
- bind: (el, binding) => bindDrag$1(el, binding),
5880
- update: (el, binding) => bindDrag$1(el, binding)
5881
- };
5882
- var __async = (__this, __arguments, generator) => new Promise((resolve2, reject2) => {
5883
- var fulfilled = (value2) => {
5884
- try {
5885
- step(generator.next(value2));
5886
- } catch (e2) {
5887
- reject2(e2);
5888
- }
5889
- }, rejected = (value2) => {
5890
- try {
5891
- step(generator.throw(value2));
5892
- } catch (e2) {
5893
- reject2(e2);
5894
- }
5895
- }, step = (x) => x.done ? resolve2(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
5896
- step((generator = generator.apply(__this, __arguments)).next());
5897
- });
5898
- const dialog = {
5899
- directives: {
5900
- dialogDrag: dialogDrag$1,
5901
- alignCenter: {
5902
- inserted(el, binding, vNode) {
5903
- return __async(this, null, function* () {
5904
- yield vNode.componentInstance.$nextTick();
5905
- const dialogHeight = getComputedHeight(vNode.componentInstance.$refs.dialog), availableHeight = window.document.body.offsetHeight - dialogHeight;
5906
- vNode.componentInstance.$refs.dialog.style.marginTop = `${availableHeight / 2}px`;
5907
- });
5908
- }
5909
- }
5910
- },
5911
- props: {
5912
- visible: {
5913
- type: Boolean,
5914
- default: !1
5915
- },
5916
- closeOnClickModal: Boolean,
5917
- reservePositionOnClose: {
5918
- type: Boolean,
5919
- default: !0
5920
- }
5921
- },
5922
- data() {
5923
- return {
5924
- show: !1,
5925
- fullScreen: !1
5926
- };
5927
- },
5928
- methods: {
5929
- closed() {
5930
- if (!this.reservePositionOnClose && this.$refs.dialog) {
5931
- const { dialog: dialog2 } = this.$refs.dialog.$refs;
5932
- dialog2.style.top = "unset", dialog2.style.left = "unset";
5933
- }
5934
- this.exitFullScreen(), this.$emit("closed");
5935
- },
5936
- close() {
5937
- this.show = !1;
5938
- },
5939
- toggleFullScreen() {
5940
- this.fullScreen = !this.fullScreen;
5941
- },
5942
- enterFullScreen() {
5943
- this.fullScreen = !0;
5944
- },
5945
- exitFullScreen() {
5946
- this.fullScreen = !1;
5947
- }
5948
- },
5949
- watch: {
5950
- visible: {
5951
- immediate: !0,
5952
- handler(newVal) {
5953
- this.show = newVal;
5954
- }
5955
- },
5956
- show(newVal) {
5957
- newVal !== this.visible && this.$emit("update:visible", newVal), newVal || this.$emit("close");
5958
- }
5959
- },
5960
- beforeDestroy() {
5961
- this.show && this.close();
5962
- }
5963
- }, util = "", index$2 = "", getClass = (customClass, fixedClass) => isPlainObject(customClass) || isString(customClass) ? [fixedClass, customClass] : isArray(customClass) ? [fixedClass, ...customClass] : [fixedClass];
5665
+ }(), util = "", index$1 = "", getClass = (customClass, fixedClass) => isPlainObject(customClass) || isString(customClass) ? [fixedClass, customClass] : isArray(customClass) ? [fixedClass, ...customClass] : [fixedClass];
5964
5666
  function getInternetExplorerVersion() {
5965
5667
  const ua = window.navigator.userAgent, msie = ua.indexOf("MSIE ");
5966
5668
  if (msie > 0)
@@ -7706,305 +7408,6 @@ function __vue2_injectStyles$2C(context) {
7706
7408
  const EditableProgress = /* @__PURE__ */ function() {
7707
7409
  return __component__$2C.exports;
7708
7410
  }();
7709
- var MapShim = function() {
7710
- if (typeof Map < "u")
7711
- return Map;
7712
- function getIndex(arr, key2) {
7713
- var result2 = -1;
7714
- return arr.some(function(entry, index2) {
7715
- return entry[0] === key2 ? (result2 = index2, !0) : !1;
7716
- }), result2;
7717
- }
7718
- return (
7719
- /** @class */
7720
- function() {
7721
- function class_1() {
7722
- this.__entries__ = [];
7723
- }
7724
- return Object.defineProperty(class_1.prototype, "size", {
7725
- /**
7726
- * @returns {boolean}
7727
- */
7728
- get: function() {
7729
- return this.__entries__.length;
7730
- },
7731
- enumerable: !0,
7732
- configurable: !0
7733
- }), class_1.prototype.get = function(key2) {
7734
- var index2 = getIndex(this.__entries__, key2), entry = this.__entries__[index2];
7735
- return entry && entry[1];
7736
- }, class_1.prototype.set = function(key2, value2) {
7737
- var index2 = getIndex(this.__entries__, key2);
7738
- ~index2 ? this.__entries__[index2][1] = value2 : this.__entries__.push([key2, value2]);
7739
- }, class_1.prototype.delete = function(key2) {
7740
- var entries = this.__entries__, index2 = getIndex(entries, key2);
7741
- ~index2 && entries.splice(index2, 1);
7742
- }, class_1.prototype.has = function(key2) {
7743
- return !!~getIndex(this.__entries__, key2);
7744
- }, class_1.prototype.clear = function() {
7745
- this.__entries__.splice(0);
7746
- }, class_1.prototype.forEach = function(callback, ctx2) {
7747
- ctx2 === void 0 && (ctx2 = null);
7748
- for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {
7749
- var entry = _a[_i];
7750
- callback.call(ctx2, entry[1], entry[0]);
7751
- }
7752
- }, class_1;
7753
- }()
7754
- );
7755
- }(), isBrowser = typeof window < "u" && typeof document < "u" && window.document === document, global$1 = function() {
7756
- return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
7757
- }(), requestAnimationFrame$1 = function() {
7758
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(global$1) : function(callback) {
7759
- return setTimeout(function() {
7760
- return callback(Date.now());
7761
- }, 1e3 / 60);
7762
- };
7763
- }(), trailingTimeout = 2;
7764
- function throttle(callback, delay2) {
7765
- var leadingCall = !1, trailingCall = !1, lastCallTime = 0;
7766
- function resolvePending() {
7767
- leadingCall && (leadingCall = !1, callback()), trailingCall && proxy();
7768
- }
7769
- function timeoutCallback() {
7770
- requestAnimationFrame$1(resolvePending);
7771
- }
7772
- function proxy() {
7773
- var timeStamp = Date.now();
7774
- if (leadingCall) {
7775
- if (timeStamp - lastCallTime < trailingTimeout)
7776
- return;
7777
- trailingCall = !0;
7778
- } else
7779
- leadingCall = !0, trailingCall = !1, setTimeout(timeoutCallback, delay2);
7780
- lastCallTime = timeStamp;
7781
- }
7782
- return proxy;
7783
- }
7784
- var REFRESH_DELAY = 20, transitionKeys = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], mutationObserverSupported = typeof MutationObserver < "u", ResizeObserverController = (
7785
- /** @class */
7786
- function() {
7787
- function ResizeObserverController2() {
7788
- this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);
7789
- }
7790
- return ResizeObserverController2.prototype.addObserver = function(observer) {
7791
- ~this.observers_.indexOf(observer) || this.observers_.push(observer), this.connected_ || this.connect_();
7792
- }, ResizeObserverController2.prototype.removeObserver = function(observer) {
7793
- var observers2 = this.observers_, index2 = observers2.indexOf(observer);
7794
- ~index2 && observers2.splice(index2, 1), !observers2.length && this.connected_ && this.disconnect_();
7795
- }, ResizeObserverController2.prototype.refresh = function() {
7796
- var changesDetected = this.updateObservers_();
7797
- changesDetected && this.refresh();
7798
- }, ResizeObserverController2.prototype.updateObservers_ = function() {
7799
- var activeObservers = this.observers_.filter(function(observer) {
7800
- return observer.gatherActive(), observer.hasActive();
7801
- });
7802
- return activeObservers.forEach(function(observer) {
7803
- return observer.broadcastActive();
7804
- }), activeObservers.length > 0;
7805
- }, ResizeObserverController2.prototype.connect_ = function() {
7806
- !isBrowser || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), mutationObserverSupported ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
7807
- attributes: !0,
7808
- childList: !0,
7809
- characterData: !0,
7810
- subtree: !0
7811
- })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
7812
- }, ResizeObserverController2.prototype.disconnect_ = function() {
7813
- !isBrowser || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
7814
- }, ResizeObserverController2.prototype.onTransitionEnd_ = function(_a) {
7815
- var _b = _a.propertyName, propertyName = _b === void 0 ? "" : _b, isReflowProperty = transitionKeys.some(function(key2) {
7816
- return !!~propertyName.indexOf(key2);
7817
- });
7818
- isReflowProperty && this.refresh();
7819
- }, ResizeObserverController2.getInstance = function() {
7820
- return this.instance_ || (this.instance_ = new ResizeObserverController2()), this.instance_;
7821
- }, ResizeObserverController2.instance_ = null, ResizeObserverController2;
7822
- }()
7823
- ), defineConfigurable = function(target, props2) {
7824
- for (var _i = 0, _a = Object.keys(props2); _i < _a.length; _i++) {
7825
- var key2 = _a[_i];
7826
- Object.defineProperty(target, key2, {
7827
- value: props2[key2],
7828
- enumerable: !1,
7829
- writable: !1,
7830
- configurable: !0
7831
- });
7832
- }
7833
- return target;
7834
- }, getWindowOf = function(target) {
7835
- var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;
7836
- return ownerGlobal || global$1;
7837
- }, emptyRect = createRectInit(0, 0, 0, 0);
7838
- function toFloat(value2) {
7839
- return parseFloat(value2) || 0;
7840
- }
7841
- function getBordersSize(styles) {
7842
- for (var positions = [], _i = 1; _i < arguments.length; _i++)
7843
- positions[_i - 1] = arguments[_i];
7844
- return positions.reduce(function(size2, position) {
7845
- var value2 = styles["border-" + position + "-width"];
7846
- return size2 + toFloat(value2);
7847
- }, 0);
7848
- }
7849
- function getPaddings(styles) {
7850
- for (var positions = ["top", "right", "bottom", "left"], paddings = {}, _i = 0, positions_1 = positions; _i < positions_1.length; _i++) {
7851
- var position = positions_1[_i], value2 = styles["padding-" + position];
7852
- paddings[position] = toFloat(value2);
7853
- }
7854
- return paddings;
7855
- }
7856
- function getSVGContentRect(target) {
7857
- var bbox = target.getBBox();
7858
- return createRectInit(0, 0, bbox.width, bbox.height);
7859
- }
7860
- function getHTMLElementContentRect(target) {
7861
- var clientWidth = target.clientWidth, clientHeight = target.clientHeight;
7862
- if (!clientWidth && !clientHeight)
7863
- return emptyRect;
7864
- var styles = getWindowOf(target).getComputedStyle(target), paddings = getPaddings(styles), horizPad = paddings.left + paddings.right, vertPad = paddings.top + paddings.bottom, width = toFloat(styles.width), height = toFloat(styles.height);
7865
- if (styles.boxSizing === "border-box" && (Math.round(width + horizPad) !== clientWidth && (width -= getBordersSize(styles, "left", "right") + horizPad), Math.round(height + vertPad) !== clientHeight && (height -= getBordersSize(styles, "top", "bottom") + vertPad)), !isDocumentElement(target)) {
7866
- var vertScrollbar = Math.round(width + horizPad) - clientWidth, horizScrollbar = Math.round(height + vertPad) - clientHeight;
7867
- Math.abs(vertScrollbar) !== 1 && (width -= vertScrollbar), Math.abs(horizScrollbar) !== 1 && (height -= horizScrollbar);
7868
- }
7869
- return createRectInit(paddings.left, paddings.top, width, height);
7870
- }
7871
- var isSVGGraphicsElement = function() {
7872
- return typeof SVGGraphicsElement < "u" ? function(target) {
7873
- return target instanceof getWindowOf(target).SVGGraphicsElement;
7874
- } : function(target) {
7875
- return target instanceof getWindowOf(target).SVGElement && typeof target.getBBox == "function";
7876
- };
7877
- }();
7878
- function isDocumentElement(target) {
7879
- return target === getWindowOf(target).document.documentElement;
7880
- }
7881
- function getContentRect(target) {
7882
- return isBrowser ? isSVGGraphicsElement(target) ? getSVGContentRect(target) : getHTMLElementContentRect(target) : emptyRect;
7883
- }
7884
- function createReadOnlyRect(_a) {
7885
- var x = _a.x, y = _a.y, width = _a.width, height = _a.height, Constr = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, rect = Object.create(Constr.prototype);
7886
- return defineConfigurable(rect, {
7887
- x,
7888
- y,
7889
- width,
7890
- height,
7891
- top: y,
7892
- right: x + width,
7893
- bottom: height + y,
7894
- left: x
7895
- }), rect;
7896
- }
7897
- function createRectInit(x, y, width, height) {
7898
- return { x, y, width, height };
7899
- }
7900
- var ResizeObservation = (
7901
- /** @class */
7902
- function() {
7903
- function ResizeObservation2(target) {
7904
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = createRectInit(0, 0, 0, 0), this.target = target;
7905
- }
7906
- return ResizeObservation2.prototype.isActive = function() {
7907
- var rect = getContentRect(this.target);
7908
- return this.contentRect_ = rect, rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight;
7909
- }, ResizeObservation2.prototype.broadcastRect = function() {
7910
- var rect = this.contentRect_;
7911
- return this.broadcastWidth = rect.width, this.broadcastHeight = rect.height, rect;
7912
- }, ResizeObservation2;
7913
- }()
7914
- ), ResizeObserverEntry = (
7915
- /** @class */
7916
- function() {
7917
- function ResizeObserverEntry2(target, rectInit) {
7918
- var contentRect = createReadOnlyRect(rectInit);
7919
- defineConfigurable(this, { target, contentRect });
7920
- }
7921
- return ResizeObserverEntry2;
7922
- }()
7923
- ), ResizeObserverSPI = (
7924
- /** @class */
7925
- function() {
7926
- function ResizeObserverSPI2(callback, controller, callbackCtx) {
7927
- if (this.activeObservations_ = [], this.observations_ = new MapShim(), typeof callback != "function")
7928
- throw new TypeError("The callback provided as parameter 1 is not a function.");
7929
- this.callback_ = callback, this.controller_ = controller, this.callbackCtx_ = callbackCtx;
7930
- }
7931
- return ResizeObserverSPI2.prototype.observe = function(target) {
7932
- if (!arguments.length)
7933
- throw new TypeError("1 argument required, but only 0 present.");
7934
- if (!(typeof Element > "u" || !(Element instanceof Object))) {
7935
- if (!(target instanceof getWindowOf(target).Element))
7936
- throw new TypeError('parameter 1 is not of type "Element".');
7937
- var observations = this.observations_;
7938
- observations.has(target) || (observations.set(target, new ResizeObservation(target)), this.controller_.addObserver(this), this.controller_.refresh());
7939
- }
7940
- }, ResizeObserverSPI2.prototype.unobserve = function(target) {
7941
- if (!arguments.length)
7942
- throw new TypeError("1 argument required, but only 0 present.");
7943
- if (!(typeof Element > "u" || !(Element instanceof Object))) {
7944
- if (!(target instanceof getWindowOf(target).Element))
7945
- throw new TypeError('parameter 1 is not of type "Element".');
7946
- var observations = this.observations_;
7947
- observations.has(target) && (observations.delete(target), observations.size || this.controller_.removeObserver(this));
7948
- }
7949
- }, ResizeObserverSPI2.prototype.disconnect = function() {
7950
- this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
7951
- }, ResizeObserverSPI2.prototype.gatherActive = function() {
7952
- var _this = this;
7953
- this.clearActive(), this.observations_.forEach(function(observation) {
7954
- observation.isActive() && _this.activeObservations_.push(observation);
7955
- });
7956
- }, ResizeObserverSPI2.prototype.broadcastActive = function() {
7957
- if (this.hasActive()) {
7958
- var ctx2 = this.callbackCtx_, entries = this.activeObservations_.map(function(observation) {
7959
- return new ResizeObserverEntry(observation.target, observation.broadcastRect());
7960
- });
7961
- this.callback_.call(ctx2, entries, ctx2), this.clearActive();
7962
- }
7963
- }, ResizeObserverSPI2.prototype.clearActive = function() {
7964
- this.activeObservations_.splice(0);
7965
- }, ResizeObserverSPI2.prototype.hasActive = function() {
7966
- return this.activeObservations_.length > 0;
7967
- }, ResizeObserverSPI2;
7968
- }()
7969
- ), observers = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new MapShim(), ResizeObserver$1 = (
7970
- /** @class */
7971
- function() {
7972
- function ResizeObserver2(callback) {
7973
- if (!(this instanceof ResizeObserver2))
7974
- throw new TypeError("Cannot call a class as a function.");
7975
- if (!arguments.length)
7976
- throw new TypeError("1 argument required, but only 0 present.");
7977
- var controller = ResizeObserverController.getInstance(), observer = new ResizeObserverSPI(callback, controller, this);
7978
- observers.set(this, observer);
7979
- }
7980
- return ResizeObserver2;
7981
- }()
7982
- );
7983
- [
7984
- "observe",
7985
- "unobserve",
7986
- "disconnect"
7987
- ].forEach(function(method) {
7988
- ResizeObserver$1.prototype[method] = function() {
7989
- var _a;
7990
- return (_a = observers.get(this))[method].apply(_a, arguments);
7991
- };
7992
- });
7993
- var index$1 = function() {
7994
- return typeof global$1.ResizeObserver < "u" ? global$1.ResizeObserver : ResizeObserver$1;
7995
- }();
7996
- const isServer = typeof window > "u", resizeHandler = (entries) => {
7997
- for (const entry of entries) {
7998
- const listeners = entry.target.__resizeListeners__ || [];
7999
- listeners.length && listeners.forEach((fn) => {
8000
- fn();
8001
- });
8002
- }
8003
- }, addResizeListener = (element, fn) => {
8004
- isServer || (element.__resizeListeners__ || (element.__resizeListeners__ = [], element.__ro__ = new index$1(resizeHandler), element.__ro__.observe(element)), element.__resizeListeners__.push(fn));
8005
- }, removeResizeListener = (element, fn) => {
8006
- !element || !element.__resizeListeners__ || (element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1), element.__resizeListeners__.length || element.__ro__.disconnect());
8007
- };
8008
7411
  var render$2p = function() {
8009
7412
  var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
8010
7413
  return _c("div", {
@@ -8503,45 +7906,51 @@ const EditableTree_vue_vue_type_style_index_0_lang = "", __vue2_script$2B = {
8503
7906
  resize() {
8504
7907
  isVerticalScrollbarVisible(this.$refs.treeWrapper) ? this.right = 4 + scrollbarWidth : this.right = 4;
8505
7908
  },
8506
- async showContextMenu(event2, data2, node) {
8507
- data2.contextmenu === !1 || data2.id === -1 || data2.id === 0 || data2.edit === !0 || this.contextMenu && (this.curNode = node, this.curData = data2, this.showMenu = !0, this.$refs.tree.setCurrentKey(data2.id), await this.$nextTick(), this.position = computePosition(event2, this.$refs.contextMenu), window.addEventListener("click", this.hideContextMenu));
7909
+ showContextMenu(event2, data2, node) {
7910
+ return __async(this, null, function* () {
7911
+ data2.contextmenu === !1 || data2.id === -1 || data2.id === 0 || data2.edit === !0 || this.contextMenu && (this.curNode = node, this.curData = data2, this.showMenu = !0, this.$refs.tree.setCurrentKey(data2.id), yield this.$nextTick(), this.position = computePosition(event2, this.$refs.contextMenu), window.addEventListener("click", this.hideContextMenu));
7912
+ });
8508
7913
  },
8509
7914
  hideContextMenu() {
8510
7915
  this.showMenu = !1, window.removeEventListener("click", this.hideContextMenu);
8511
7916
  },
8512
- async tryFetch() {
8513
- var _a;
8514
- if (this.lazy === !1 && this.fetchApi) {
8515
- const res = await this.fetchApi(((_a = this.rootNode) == null ? void 0 : _a.id) ?? -1, {});
8516
- if (isPlainObject(res.data) && (res.data = [res.data]), res.data = res.data || [], this.empty = res.data.length === 0, isPlainObject(this.customRootNode)) {
8517
- const data2 = cloneDeep(this.customRootNode);
8518
- data2[this.treeProps.children || "children"] = res.data, this.treeData = [data2];
8519
- } else if (isFunction(this.customRootNode)) {
8520
- const data2 = this.customRootNode(res.data);
8521
- data2[this.treeProps.children || "children"] = res.data, this.treeData = isPlainObject(data2) ? [data2] : data2;
8522
- } else
8523
- this.treeData = res.data;
8524
- }
7917
+ tryFetch() {
7918
+ return __async(this, null, function* () {
7919
+ var _a, _b;
7920
+ if (this.lazy === !1 && this.fetchApi) {
7921
+ const res = yield this.fetchApi((_b = (_a = this.rootNode) == null ? void 0 : _a.id) != null ? _b : -1, {});
7922
+ if (isPlainObject(res.data) && (res.data = [res.data]), res.data = res.data || [], this.empty = res.data.length === 0, isPlainObject(this.customRootNode)) {
7923
+ const data2 = cloneDeep(this.customRootNode);
7924
+ data2[this.treeProps.children || "children"] = res.data, this.treeData = [data2];
7925
+ } else if (isFunction(this.customRootNode)) {
7926
+ const data2 = this.customRootNode(res.data);
7927
+ data2[this.treeProps.children || "children"] = res.data, this.treeData = isPlainObject(data2) ? [data2] : data2;
7928
+ } else
7929
+ this.treeData = res.data;
7930
+ }
7931
+ });
8525
7932
  },
8526
- async loadNode(node, resolve2) {
8527
- var _a, _b, _c;
8528
- if (node.level === 0) {
8529
- const res = await this.fetchApi(((_a = this.rootNode) == null ? void 0 : _a.id) ?? -1, node);
8530
- if (this.empty = res.data.length === 0, isPlainObject(this.customRootNode)) {
8531
- const data2 = cloneDeep(this.customRootNode);
8532
- data2[this.treeProps.children || "children"] = res.data, resolve2([data2]);
8533
- } else if (isFunction(this.customRootNode)) {
8534
- const data2 = this.customRootNode(res.data);
8535
- data2[this.treeProps.children || "children"] = res.data, this.treeData = isPlainObject(data2) ? [data2] : data2;
8536
- } else
8537
- resolve2(res.data);
8538
- await this.$nextTick(), this.$emit("root-node-loaded", res.data), this.defaultExpandedKeys ? this.expandedKeys = [(_b = res == null ? void 0 : res.data[0]) == null ? void 0 : _b.id, ...this.defaultExpandedKeys] : this.expandFirstNode && (this.expandedKeys = [(_c = res == null ? void 0 : res.data[0]) == null ? void 0 : _c.id]);
8539
- } else {
8540
- if (node.leaf || node.data.isTempNode)
8541
- return resolve2([]);
8542
- const res = await this.fetchApi(node.data.id, node);
8543
- resolve2(res.data), await this.$nextTick(), this.$emit("node-loaded", res.data);
8544
- }
7933
+ loadNode(node, resolve2) {
7934
+ return __async(this, null, function* () {
7935
+ var _a, _b, _c, _d;
7936
+ if (node.level === 0) {
7937
+ const res = yield this.fetchApi((_b = (_a = this.rootNode) == null ? void 0 : _a.id) != null ? _b : -1, node);
7938
+ if (this.empty = res.data.length === 0, isPlainObject(this.customRootNode)) {
7939
+ const data2 = cloneDeep(this.customRootNode);
7940
+ data2[this.treeProps.children || "children"] = res.data, resolve2([data2]);
7941
+ } else if (isFunction(this.customRootNode)) {
7942
+ const data2 = this.customRootNode(res.data);
7943
+ data2[this.treeProps.children || "children"] = res.data, this.treeData = isPlainObject(data2) ? [data2] : data2;
7944
+ } else
7945
+ resolve2(res.data);
7946
+ yield this.$nextTick(), this.$emit("root-node-loaded", res.data), this.defaultExpandedKeys ? this.expandedKeys = [(_c = res == null ? void 0 : res.data[0]) == null ? void 0 : _c.id, ...this.defaultExpandedKeys] : this.expandFirstNode && (this.expandedKeys = [(_d = res == null ? void 0 : res.data[0]) == null ? void 0 : _d.id]);
7947
+ } else {
7948
+ if (node.leaf || node.data.isTempNode)
7949
+ return resolve2([]);
7950
+ const res = yield this.fetchApi(node.data.id, node);
7951
+ resolve2(res.data), yield this.$nextTick(), this.$emit("node-loaded", res.data);
7952
+ }
7953
+ });
8545
7954
  },
8546
7955
  clear() {
8547
7956
  this.cancelEdit(), this.removeNewNode();
@@ -8555,67 +7964,68 @@ const EditableTree_vue_vue_type_style_index_0_lang = "", __vue2_script$2B = {
8555
7964
  cancelEdit() {
8556
7965
  this.editData && (isUndefined(this.editData.edit) ? this.$set(this.editData, "edit", !0) : this.editData.edit = !1);
8557
7966
  },
8558
- async editNode(node, data2) {
8559
- !this.contextMenu || this.contextMenuIcon || this.contextMenuInline ? (this.clear(), this.editData = data2, this.text = data2[this.treeProps.label], isUndefined(data2.edit) ? this.$set(data2, "edit", !0) : data2.edit = !0, await this.$nextTick(), this.$refs.labelTxt.focus()) : await this.$prompt(`请输入新的${this.label}名:`, {
8560
- ...this.defaultOptions,
8561
- inputValue: data2[this.treeProps.label],
8562
- beforeClose: async (action, instance, done) => {
8563
- if (action === "confirm") {
8564
- try {
8565
- instance.confirmButtonLoading = !0, instance.confirmButtonText = "处理中...", this.text = instance.inputValue, await this.onConfirm(this.curNode, this.curData), done();
8566
- } catch {
8567
- instance.confirmButtonText = "确定";
8568
- }
8569
- instance.confirmButtonLoading = !1;
8570
- } else
8571
- done();
8572
- }
8573
- }).catch((_) => _);
8574
- },
8575
- async appendRootNode() {
8576
- this.text = "", !this.contextMenu || this.contextMenuIcon || this.contextMenuInline ? (this.clear(), this.createNewChild(void 0), this.$refs.tree.root.insertChild({ data: this.newChild }, void 0, !0), await this.scrollIntoView(!0)) : await this.$prompt(`请输入${this.label}名:`, {
8577
- ...this.defaultOptions,
8578
- beforeClose: async (action, instance, done) => {
8579
- if (action === "confirm") {
8580
- try {
8581
- this.createNewChild(-1), instance.confirmButtonLoading = !0, instance.confirmButtonText = "处理中...";
8582
- const res = await this.saveApi(this.newNodeBuilder(instance.inputValue, { id: -1 }));
8583
- this.newChild[this.treeProps.label] = instance.inputValue, this.newChild.edit = !1, assignReactiveProperties(this.newChild, res.data), this.$refs.tree.root.insertChild({ data: this.newChild }, void 0, !0), await this.locateView(), done();
8584
- } catch {
8585
- instance.confirmButtonText = "确定";
8586
- }
8587
- instance.confirmButtonLoading = !1;
8588
- } else
8589
- done();
8590
- }
8591
- }).catch((_) => _);
7967
+ editNode(node, data2) {
7968
+ return __async(this, null, function* () {
7969
+ !this.contextMenu || this.contextMenuIcon || this.contextMenuInline ? (this.clear(), this.editData = data2, this.text = data2[this.treeProps.label], isUndefined(data2.edit) ? this.$set(data2, "edit", !0) : data2.edit = !0, yield this.$nextTick(), this.$refs.labelTxt.focus()) : yield this.$prompt(`请输入新的${this.label}名:`, __spreadProps(__spreadValues({}, this.defaultOptions), {
7970
+ inputValue: data2[this.treeProps.label],
7971
+ beforeClose: (action, instance, done) => __async(this, null, function* () {
7972
+ if (action === "confirm") {
7973
+ try {
7974
+ instance.confirmButtonLoading = !0, instance.confirmButtonText = "处理中...", this.text = instance.inputValue, yield this.onConfirm(this.curNode, this.curData), done();
7975
+ } catch (e2) {
7976
+ instance.confirmButtonText = "确定";
7977
+ }
7978
+ instance.confirmButtonLoading = !1;
7979
+ } else
7980
+ done();
7981
+ })
7982
+ })).catch((_) => _);
7983
+ });
7984
+ },
7985
+ appendRootNode() {
7986
+ return __async(this, null, function* () {
7987
+ this.text = "", !this.contextMenu || this.contextMenuIcon || this.contextMenuInline ? (this.clear(), this.createNewChild(void 0), this.$refs.tree.root.insertChild({ data: this.newChild }, void 0, !0), yield this.scrollIntoView(!0)) : yield this.$prompt(`请输入${this.label}名:`, __spreadProps(__spreadValues({}, this.defaultOptions), {
7988
+ beforeClose: (action, instance, done) => __async(this, null, function* () {
7989
+ if (action === "confirm") {
7990
+ try {
7991
+ this.createNewChild(-1), instance.confirmButtonLoading = !0, instance.confirmButtonText = "处理中...";
7992
+ const res = yield this.saveApi(this.newNodeBuilder(instance.inputValue, { id: -1 }));
7993
+ this.newChild[this.treeProps.label] = instance.inputValue, this.newChild.edit = !1, assignReactiveProperties(this.newChild, res.data), this.$refs.tree.root.insertChild({ data: this.newChild }, void 0, !0), yield this.locateView(), done();
7994
+ } catch (e2) {
7995
+ instance.confirmButtonText = "确定";
7996
+ }
7997
+ instance.confirmButtonLoading = !1;
7998
+ } else
7999
+ done();
8000
+ })
8001
+ })).catch((_) => _);
8002
+ });
8592
8003
  },
8593
8004
  appendChildNode(node) {
8594
8005
  this.text = "";
8595
8006
  const expanded = node.expanded;
8596
- node.expand(async () => {
8597
- !this.contextMenu || this.contextMenuIcon || this.contextMenuInline ? (this.clear(), this.createNewChild(node.data.id), this.$refs.tree.append(this.newChild, node), await this.scrollIntoView(expanded)) : await this.$prompt(`请输入${this.label}名:`, {
8598
- ...this.defaultOptions,
8599
- beforeClose: async (action, instance, done) => {
8007
+ node.expand(() => __async(this, null, function* () {
8008
+ !this.contextMenu || this.contextMenuIcon || this.contextMenuInline ? (this.clear(), this.createNewChild(node.data.id), this.$refs.tree.append(this.newChild, node), yield this.scrollIntoView(expanded)) : yield this.$prompt(`请输入${this.label}名:`, __spreadProps(__spreadValues({}, this.defaultOptions), {
8009
+ beforeClose: (action, instance, done) => __async(this, null, function* () {
8600
8010
  if (action === "confirm") {
8601
8011
  try {
8602
8012
  this.createNewChild(node.data.id), instance.confirmButtonLoading = !0, instance.confirmButtonText = "处理中...";
8603
- const res = await this.saveApi(this.newNodeBuilder(instance.inputValue, node.data));
8604
- this.newChild[this.treeProps.label] = instance.inputValue, this.newChild.edit = !1, assignReactiveProperties(this.newChild, res.data), this.$refs.tree.append(this.newChild, node), await this.locateView(), done();
8605
- } catch {
8013
+ const res = yield this.saveApi(this.newNodeBuilder(instance.inputValue, node.data));
8014
+ this.newChild[this.treeProps.label] = instance.inputValue, this.newChild.edit = !1, assignReactiveProperties(this.newChild, res.data), this.$refs.tree.append(this.newChild, node), yield this.locateView(), done();
8015
+ } catch (e2) {
8606
8016
  instance.confirmButtonText = "确定";
8607
8017
  }
8608
8018
  instance.confirmButtonLoading = !1;
8609
8019
  } else
8610
8020
  done();
8611
- }
8612
- }).catch((_) => _);
8613
- });
8021
+ })
8022
+ })).catch((_) => _);
8023
+ }));
8614
8024
  },
8615
8025
  appendChildNodeWithData(node, parentId, label) {
8616
8026
  this.text = "";
8617
8027
  const expanded = node.expanded;
8618
- node.expand(async () => {
8028
+ node.expand(() => __async(this, null, function* () {
8619
8029
  this.clear(), this.newChild = {
8620
8030
  id: -1,
8621
8031
  parentId,
@@ -8623,24 +8033,30 @@ const EditableTree_vue_vue_type_style_index_0_lang = "", __vue2_script$2B = {
8623
8033
  edit: !1,
8624
8034
  isTempNode: !0,
8625
8035
  hasChildren: !1
8626
- }, this.$refs.tree.append(this.newChild, node), await this.scrollIntoView(expanded);
8627
- });
8036
+ }, this.$refs.tree.append(this.newChild, node), yield this.scrollIntoView(expanded);
8037
+ }));
8628
8038
  },
8629
8039
  appendPeerNode(node) {
8630
8040
  node.parent && node.parent.level !== 0 ? this.appendChildNode(node.parent) : this.appendRootNode();
8631
8041
  },
8632
- async addRootNode(data2) {
8633
- this.$refs.tree.remove(data2), await this.$nextTick(), this.$refs.tree.root.insertChild({ data: data2 }, void 0, !0);
8042
+ addRootNode(data2) {
8043
+ return __async(this, null, function* () {
8044
+ this.$refs.tree.remove(data2), yield this.$nextTick(), this.$refs.tree.root.insertChild({ data: data2 }, void 0, !0);
8045
+ });
8634
8046
  },
8635
- async addChildNode(data2) {
8636
- this.curNode && this.curNode.level !== 0 ? this.curNode.expand(async () => {
8637
- this.$refs.tree.remove(data2), await this.$nextTick(), this.$refs.tree.append(data2, this.curNode);
8638
- }) : await this.addRootNode(data2);
8047
+ addChildNode(data2) {
8048
+ return __async(this, null, function* () {
8049
+ this.curNode && this.curNode.level !== 0 ? this.curNode.expand(() => __async(this, null, function* () {
8050
+ this.$refs.tree.remove(data2), yield this.$nextTick(), this.$refs.tree.append(data2, this.curNode);
8051
+ })) : yield this.addRootNode(data2);
8052
+ });
8639
8053
  },
8640
- async addPeerNode(data2) {
8641
- this.curNode && this.curNode.parent && this.curNode.parent.level !== 0 ? this.curNode.parent.expand(async () => {
8642
- this.$refs.tree.remove(data2), await this.$nextTick(), this.$refs.tree.append(data2, this.curNode.parent);
8643
- }) : await this.addRootNode(data2);
8054
+ addPeerNode(data2) {
8055
+ return __async(this, null, function* () {
8056
+ this.curNode && this.curNode.parent && this.curNode.parent.level !== 0 ? this.curNode.parent.expand(() => __async(this, null, function* () {
8057
+ this.$refs.tree.remove(data2), yield this.$nextTick(), this.$refs.tree.append(data2, this.curNode.parent);
8058
+ })) : yield this.addRootNode(data2);
8059
+ });
8644
8060
  },
8645
8061
  updateNode(data2) {
8646
8062
  const node = this.$refs.tree.getNode(data2);
@@ -8659,60 +8075,66 @@ const EditableTree_vue_vue_type_style_index_0_lang = "", __vue2_script$2B = {
8659
8075
  hasChildren: !1
8660
8076
  }, this.$emit("create-new-node", this.newChild);
8661
8077
  },
8662
- async removeNodeModal(node) {
8663
- await this.$confirm(
8664
- `你确定要删除${this.label}[<span class="break-word" style="color: orange">${node.data[this.treeProps.label]}</span>]吗?`,
8665
- "系统提示",
8666
- {
8667
- type: "warning",
8668
- modal: !0,
8669
- dangerouslyUseHTMLString: !0,
8670
- iconClass: "el-icon-question",
8671
- closeOnClickModal: !1,
8672
- confirmButtonClass: "el-button--danger",
8673
- cancelButtonClass: "el-button--primary is-plain",
8674
- beforeClose: async (action, instance, done) => {
8675
- if (action === "confirm") {
8676
- try {
8677
- instance.confirmButtonLoading = !0, instance.confirmButtonText = "删除...";
8678
- const parentNode = node.parent, res = await this.deleteApi(node.data.id);
8679
- res.code === 0 ? (this.$message.success("删除成功!"), this.$refs.tree.remove(node), this.$emit("node-deleted", parentNode, node.data), done()) : this.$message.error(res.message);
8680
- } catch {
8681
- }
8682
- instance.confirmButtonText = "确定", instance.confirmButtonLoading = !1;
8683
- } else
8684
- done();
8078
+ removeNodeModal(node) {
8079
+ return __async(this, null, function* () {
8080
+ yield this.$confirm(
8081
+ `你确定要删除${this.label}[<span class="break-word" style="color: orange">${node.data[this.treeProps.label]}</span>]吗?`,
8082
+ "系统提示",
8083
+ {
8084
+ type: "warning",
8085
+ modal: !0,
8086
+ dangerouslyUseHTMLString: !0,
8087
+ iconClass: "el-icon-question",
8088
+ closeOnClickModal: !1,
8089
+ confirmButtonClass: "el-button--danger",
8090
+ cancelButtonClass: "el-button--primary is-plain",
8091
+ beforeClose: (action, instance, done) => __async(this, null, function* () {
8092
+ if (action === "confirm") {
8093
+ try {
8094
+ instance.confirmButtonLoading = !0, instance.confirmButtonText = "删除...";
8095
+ const parentNode = node.parent, res = yield this.deleteApi(node.data.id);
8096
+ res.code === 0 ? (this.$message.success("删除成功!"), this.$refs.tree.remove(node), this.$emit("node-deleted", parentNode, node.data), done()) : this.$message.error(res.message);
8097
+ } catch (_) {
8098
+ }
8099
+ instance.confirmButtonText = "确定", instance.confirmButtonLoading = !1;
8100
+ } else
8101
+ done();
8102
+ })
8685
8103
  }
8686
- }
8687
- ).catch((_) => _);
8104
+ ).catch((_) => _);
8105
+ });
8688
8106
  },
8689
- async removeNode(node) {
8690
- try {
8691
- const parentNode = node.parent;
8692
- if (this.deleteApi) {
8693
- const res = await this.deleteApi(node.data.id);
8694
- res.code === 0 ? (this.$message.success("删除成功!"), this.$refs.tree.remove(node), this.$emit("node-deleted", parentNode, node.data)) : this.$message.error(res.message);
8695
- } else
8696
- this.$refs.tree.remove(node);
8697
- } catch {
8698
- }
8107
+ removeNode(node) {
8108
+ return __async(this, null, function* () {
8109
+ try {
8110
+ const parentNode = node.parent;
8111
+ if (this.deleteApi) {
8112
+ const res = yield this.deleteApi(node.data.id);
8113
+ res.code === 0 ? (this.$message.success("删除成功!"), this.$refs.tree.remove(node), this.$emit("node-deleted", parentNode, node.data)) : this.$message.error(res.message);
8114
+ } else
8115
+ this.$refs.tree.remove(node);
8116
+ } catch (e2) {
8117
+ }
8118
+ });
8699
8119
  },
8700
- async onConfirm(node, data2) {
8701
- if (data2[this.treeProps.label] === this.text || !isNotEmpty(this.text)) {
8702
- this.clear();
8703
- return;
8704
- }
8705
- isUndefined(data2.loading) ? this.$set(data2, "loading", !0) : data2.loading = !0;
8706
- try {
8707
- if (this.loading = !0, data2.id === -1) {
8708
- const res = await this.saveApi(this.newNodeBuilder(this.text, node.parent.data || { id: -1 })), old = fastClone(data2);
8709
- assignReactiveProperties(data2, { ...res.data, isTempNode: !1 }), this.$emit("node-added", data2, old, node), this.registerNode(node);
8710
- } else
8711
- await this.updateApi({ ...data2, [this.treeProps.label]: this.text });
8712
- data2[this.treeProps.label] = this.text, data2.edit = !1, this.$emit("node-updated", data2, node), this.text = "";
8713
- } catch {
8714
- }
8715
- data2.loading = !1, this.loading = !1;
8120
+ onConfirm(node, data2) {
8121
+ return __async(this, null, function* () {
8122
+ if (data2[this.treeProps.label] === this.text || !isNotEmpty(this.text)) {
8123
+ this.clear();
8124
+ return;
8125
+ }
8126
+ isUndefined(data2.loading) ? this.$set(data2, "loading", !0) : data2.loading = !0;
8127
+ try {
8128
+ if (this.loading = !0, data2.id === -1) {
8129
+ const res = yield this.saveApi(this.newNodeBuilder(this.text, node.parent.data || { id: -1 })), old = fastClone(data2);
8130
+ assignReactiveProperties(data2, __spreadProps(__spreadValues({}, res.data), { isTempNode: !1 })), this.$emit("node-added", data2, old, node), this.registerNode(node);
8131
+ } else
8132
+ yield this.updateApi(__spreadProps(__spreadValues({}, data2), { [this.treeProps.label]: this.text }));
8133
+ data2[this.treeProps.label] = this.text, data2.edit = !1, this.$emit("node-updated", data2, node), this.text = "";
8134
+ } catch (e2) {
8135
+ }
8136
+ data2.loading = !1, this.loading = !1;
8137
+ });
8716
8138
  },
8717
8139
  onCancel(node, data2) {
8718
8140
  data2.id === -1 ? this.$refs.tree.remove(node) : data2.edit = !1, this.text = "";
@@ -8723,14 +8145,18 @@ const EditableTree_vue_vue_type_style_index_0_lang = "", __vue2_script$2B = {
8723
8145
  getCurrentNode() {
8724
8146
  return this.$refs.tree.getCurrentNode();
8725
8147
  },
8726
- async locateView() {
8727
- await this.$nextTick();
8728
- const el = this.$el.querySelector(`[data-id="${this.newChild.id}"]`);
8729
- el && el.scrollIntoView();
8148
+ locateView() {
8149
+ return __async(this, null, function* () {
8150
+ yield this.$nextTick();
8151
+ const el = this.$el.querySelector(`[data-id="${this.newChild.id}"]`);
8152
+ el && el.scrollIntoView();
8153
+ });
8730
8154
  },
8731
- async scrollIntoView(expanded) {
8732
- var _a, _b;
8733
- await this.$nextTick(), expanded || await delay(300), (_b = (_a = this.$refs) == null ? void 0 : _a.labelTxt) == null || _b.focus();
8155
+ scrollIntoView(expanded) {
8156
+ return __async(this, null, function* () {
8157
+ var _a, _b;
8158
+ yield this.$nextTick(), expanded || (yield delay(300)), (_b = (_a = this.$refs) == null ? void 0 : _a.labelTxt) == null || _b.focus();
8159
+ });
8734
8160
  },
8735
8161
  inputKeyup(event2, node, data2) {
8736
8162
  event2.keyCode === 13 && this.onConfirm(node, data2), event2.keyCode === 27 && this.clear();
@@ -8766,8 +8192,10 @@ const EditableTree_vue_vue_type_style_index_0_lang = "", __vue2_script$2B = {
8766
8192
  registerNode(node) {
8767
8193
  node.store.registerNode(node), delete node.store.nodesMap[-1];
8768
8194
  },
8769
- async reloadTree() {
8770
- this.lazy ? this.treeKey = Date.now() : await this.tryFetch();
8195
+ reloadTree() {
8196
+ return __async(this, null, function* () {
8197
+ this.lazy ? this.treeKey = Date.now() : yield this.tryFetch();
8198
+ });
8771
8199
  }
8772
8200
  }
8773
8201
  }, __cssModules$2B = {};
@@ -8989,15 +8417,6 @@ function __vue2_injectStyles$2z(context) {
8989
8417
  const EgdCollapseItem = /* @__PURE__ */ function() {
8990
8418
  return __component__$2z.exports;
8991
8419
  }();
8992
- function bindDrag(el, binding) {
8993
- var _a, _b;
8994
- const dialogHeaderEl = el.querySelector(".el-dialog__header"), dragDom = el.querySelector(".el-dialog");
8995
- dialogHeaderEl && (binding.arg ? dialogHeaderEl.style.cssText += ";cursor:default;" : dialogHeaderEl.style.cssText += ";cursor:move;", drag(dragDom, dialogHeaderEl, hasOwn(binding.value, "limit") ? (_a = binding.value) == null ? void 0 : _a.limit : !0, { onMove: (_b = binding.value) == null ? void 0 : _b.onMove }));
8996
- }
8997
- const dialogDrag = {
8998
- bind: (el, binding) => bindDrag(el, binding),
8999
- update: (el, binding) => bindDrag(el, binding)
9000
- };
9001
8420
  var render$2m = function() {
9002
8421
  var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
9003
8422
  return _c("Transition", {
@@ -9385,7 +8804,7 @@ const ErrorView = /* @__PURE__ */ function() {
9385
8804
  },
9386
8805
  render(createElement, { data: data2, children, props: props2 }) {
9387
8806
  const viewClass = getClass(data2.class, "flex-column");
9388
- return props2.center || props2.horizonCenter && props2.verticalCenter ? (viewClass.push("horizon-center"), viewClass.push("vertical-center")) : (props2.horizonCenter && viewClass.push("horizon-center"), props2.verticalCenter && viewClass.push("vertical-center")), props2.textCenter && viewClass.push("text-center"), createElement("div", { ...data2, class: viewClass }, children);
8807
+ return props2.center || props2.horizonCenter && props2.verticalCenter ? (viewClass.push("horizon-center"), viewClass.push("vertical-center")) : (props2.horizonCenter && viewClass.push("horizon-center"), props2.verticalCenter && viewClass.push("vertical-center")), props2.textCenter && viewClass.push("text-center"), createElement("div", __spreadProps(__spreadValues({}, data2), { class: viewClass }), children);
9389
8808
  }
9390
8809
  };
9391
8810
  let __vue2_render$b, __vue2_staticRenderFns$b;
@@ -9445,10 +8864,10 @@ const FlexColumn = /* @__PURE__ */ function() {
9445
8864
  },
9446
8865
  render(createElement, { children, data: data2, props: props2 }) {
9447
8866
  const viewClass = getClass(data2.class, props2.relative ? "flex-item-relative" : "flex-item");
9448
- return props2.absolute && !props2.relative && viewClass.push("flex-item-relative"), props2.center || props2.horizonCenter && props2.verticalCenter ? (viewClass.push("horizon-center"), viewClass.push("vertical-center")) : (props2.horizonCenter && viewClass.push("horizon-center"), props2.verticalCenter && viewClass.push("vertical-center")), props2.textCenter && viewClass.push("text-center"), props2.flexColumn && viewClass.push("flex-column"), props2.flexRow && viewClass.push("flex-row"), props2.absolute ? createElement("div", { ...data2, class: viewClass }, [createElement("div", {
8867
+ return props2.absolute && !props2.relative && viewClass.push("flex-item-relative"), props2.center || props2.horizonCenter && props2.verticalCenter ? (viewClass.push("horizon-center"), viewClass.push("vertical-center")) : (props2.horizonCenter && viewClass.push("horizon-center"), props2.verticalCenter && viewClass.push("vertical-center")), props2.textCenter && viewClass.push("text-center"), props2.flexColumn && viewClass.push("flex-column"), props2.flexRow && viewClass.push("flex-row"), props2.absolute ? createElement("div", __spreadProps(__spreadValues({}, data2), { class: viewClass }), [createElement("div", {
9449
8868
  class: "absolute",
9450
8869
  style: "overflow:auto"
9451
- }, children)]) : createElement("div", { ...data2, class: viewClass }, children);
8870
+ }, children)]) : createElement("div", __spreadProps(__spreadValues({}, data2), { class: viewClass }), children);
9452
8871
  }
9453
8872
  };
9454
8873
  let __vue2_render$a, __vue2_staticRenderFns$a;
@@ -9492,7 +8911,7 @@ const FlexItem = /* @__PURE__ */ function() {
9492
8911
  },
9493
8912
  render(createElement, { data: data2, children, props: props2 }) {
9494
8913
  const viewClass = getClass(data2.class, "flex-row");
9495
- return props2.center || props2.horizonCenter && props2.verticalCenter ? (viewClass.push("horizon-center"), viewClass.push("vertical-center")) : (props2.horizonCenter && viewClass.push("horizon-center"), props2.verticalCenter && viewClass.push("vertical-center")), props2.textCenter && viewClass.push("text-center"), createElement("div", { ...data2, class: viewClass }, children);
8914
+ return props2.center || props2.horizonCenter && props2.verticalCenter ? (viewClass.push("horizon-center"), viewClass.push("vertical-center")) : (props2.horizonCenter && viewClass.push("horizon-center"), props2.verticalCenter && viewClass.push("vertical-center")), props2.textCenter && viewClass.push("text-center"), createElement("div", __spreadProps(__spreadValues({}, data2), { class: viewClass }), children);
9496
8915
  }
9497
8916
  };
9498
8917
  let __vue2_render$9, __vue2_staticRenderFns$9;
@@ -9993,17 +9412,16 @@ const ZoomScrollModule = {
9993
9412
  mounted() {
9994
9413
  var _a;
9995
9414
  const container = this.$refs.container;
9996
- this.bpmnViewer = new BpmnViewer({
9997
- ...this.options,
9415
+ this.bpmnViewer = new BpmnViewer(__spreadProps(__spreadValues({}, this.options), {
9998
9416
  container,
9999
9417
  additionalModules: [ZoomScrollModule]
10000
- }), this.bpmnViewer.on("import.done", (event2) => {
9418
+ })), this.bpmnViewer.on("import.done", (event2) => {
10001
9419
  const error2 = event2.error, warnings = event2.warnings;
10002
9420
  error2 ? this.$emit("error", error2) : this.$emit("shown", warnings), this.bpmnViewer.get("canvas").zoom("fit-viewport", "center");
10003
9421
  const eventBus = this.bpmnViewer.get("eventBus");
10004
- this.canvas = this.bpmnViewer.get("canvas"), eventBus.on("element.mousemove", async (e2) => {
10005
- e2.element.type === "bpmn:UserTask" && (this.element = e2.element, await this.$nextTick(), this.$refs.popup.show(e2.originalEvent));
10006
- }), eventBus.on("element.out", () => {
9422
+ this.canvas = this.bpmnViewer.get("canvas"), eventBus.on("element.mousemove", (e2) => __async(this, null, function* () {
9423
+ e2.element.type === "bpmn:UserTask" && (this.element = e2.element, yield this.$nextTick(), this.$refs.popup.show(e2.originalEvent));
9424
+ })), eventBus.on("element.out", () => {
10007
9425
  this.$refs.popup.hide(), this.element = {};
10008
9426
  }), this.highlightFlow(this.flows), this.highlightActivity(this.activities);
10009
9427
  }), (_a = this.bpmnViewer) == null || _a.importXML(this.xml);
@@ -10202,13 +9620,13 @@ const FormButton = /* @__PURE__ */ function() {
10202
9620
  return this.block ? 24 : this.span;
10203
9621
  },
10204
9622
  formItemProps() {
10205
- return filterProperties({ ...this.$props, ...this.$attrs }, formItemAutoBindKeys);
9623
+ return filterProperties(__spreadValues(__spreadValues({}, this.$props), this.$attrs), formItemAutoBindKeys);
10206
9624
  },
10207
9625
  elFormItemProps() {
10208
- return filterProperties({ ...this.$props, ...this.$attrs }, elFormItemAutoBindKeys);
9626
+ return filterProperties(__spreadValues(__spreadValues({}, this.$props), this.$attrs), elFormItemAutoBindKeys);
10209
9627
  },
10210
9628
  elColProps() {
10211
- return filterProperties({ ...this.$props, ...this.$attrs }, elColAutoBindKeys);
9629
+ return filterProperties(__spreadValues(__spreadValues({}, this.$props), this.$attrs), elColAutoBindKeys);
10212
9630
  }
10213
9631
  },
10214
9632
  watch: {
@@ -10350,7 +9768,7 @@ const autoBindKeys$c = Object.keys(Cascader.props).filter((key2) => !["value", "
10350
9768
  },
10351
9769
  computed: {
10352
9770
  inputProps() {
10353
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$c);
9771
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$c);
10354
9772
  },
10355
9773
  inputVal() {
10356
9774
  let [parent] = findTreeChildren(this.innerOptions, (node) => node[this.valueKey] === this.value);
@@ -10530,7 +9948,7 @@ const FormCheckboxGroup_vue_vue_type_style_index_0_lang = "", autoBindKeys$b = O
10530
9948
  return this.classic ? "value" : this.valueProp;
10531
9949
  },
10532
9950
  inputProps() {
10533
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$b);
9951
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$b);
10534
9952
  },
10535
9953
  innerOptions() {
10536
9954
  return this.gender ? [
@@ -10693,15 +10111,14 @@ const autoBindKeys$a = ["type", "timeArrowControl", "size", "format", "valueForm
10693
10111
  return this.maxDate ? toDate(this.maxDate) : null;
10694
10112
  },
10695
10113
  pickerOption() {
10696
- return {
10114
+ return __spreadValues({
10697
10115
  disabledDate: (time) => {
10698
10116
  if (!this.mini && !this.max)
10699
10117
  return !1;
10700
10118
  const currentTime = time.getTime();
10701
10119
  return this.mini && !this.max ? currentTime <= this.mini.getTime() : !this.mini && this.max ? currentTime >= this.max.getTime() : this.mini && this.max ? currentTime <= this.mini.getTime() && currentTime >= this.max.getTime() : !1;
10702
- },
10703
- ...this.pickerOptions
10704
- };
10120
+ }
10121
+ }, this.pickerOptions);
10705
10122
  },
10706
10123
  innerVal() {
10707
10124
  if (this.range && this.split) {
@@ -10714,15 +10131,13 @@ const autoBindKeys$a = ["type", "timeArrowControl", "size", "format", "valueForm
10714
10131
  return this.year ? "yyyy" : this.month || this.monthRange ? "yyyy-MM" : this.week ? "yyyy 第 WW 周" : this.dateTime || this.dateTimeRange ? "yyyy-MM-dd HH:mm" : "yyyy-MM-dd";
10715
10132
  },
10716
10133
  inputProps() {
10717
- return filterProperties({
10718
- ...normalizeProps(this.$attrs),
10719
- ...this.$props,
10134
+ return filterProperties(__spreadProps(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), {
10720
10135
  valueFormat: this.week ? "yyyy-MM-dd" : this.valueFormat || this.fat,
10721
10136
  format: this.format || this.fat,
10722
10137
  rangeSeparator: this.rangeSeparator || "至",
10723
10138
  startPlaceholder: this.startPlaceholder || "开始日期",
10724
10139
  endPlaceholder: this.endPlaceholder || "结束日期"
10725
- }, autoBindKeys$a);
10140
+ }), autoBindKeys$a);
10726
10141
  },
10727
10142
  range() {
10728
10143
  return this.dateTimeRange || this.dateRange || this.monthRange;
@@ -10952,8 +10367,10 @@ const __vue2_script$2j = {
10952
10367
  var _a;
10953
10368
  (_a = this.$refs.form) == null || _a.clearValidate(fields2);
10954
10369
  },
10955
- async validate() {
10956
- return this.$refs.form.validate();
10370
+ validate() {
10371
+ return __async(this, null, function* () {
10372
+ return this.$refs.form.validate();
10373
+ });
10957
10374
  },
10958
10375
  resetFields() {
10959
10376
  return this.$refs.form.resetFields();
@@ -11050,7 +10467,7 @@ const autoBindKeys$9 = Object.keys(Input.props).filter((key2) => !["value", "pla
11050
10467
  },
11051
10468
  computed: {
11052
10469
  inputProps() {
11053
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$9);
10470
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$9);
11054
10471
  }
11055
10472
  },
11056
10473
  methods: {
@@ -11136,7 +10553,7 @@ const autoBindKeys$8 = Object.keys(Input.props).filter((key2) => !["value", "pla
11136
10553
  },
11137
10554
  computed: {
11138
10555
  inputProps() {
11139
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$8);
10556
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$8);
11140
10557
  }
11141
10558
  },
11142
10559
  methods: {
@@ -11231,7 +10648,7 @@ const autoBindKeys$7 = Object.keys(Input.props).filter((key2) => !["value", "pla
11231
10648
  },
11232
10649
  computed: {
11233
10650
  inputProps() {
11234
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$7);
10651
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$7);
11235
10652
  }
11236
10653
  },
11237
10654
  methods: {
@@ -11412,7 +10829,7 @@ const FormInputNumber_vue_vue_type_style_index_0_lang = "", autoBindKeys$6 = Obj
11412
10829
  },
11413
10830
  computed: {
11414
10831
  inputProps() {
11415
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$6);
10832
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$6);
11416
10833
  }
11417
10834
  }
11418
10835
  }, __cssModules$2f = {};
@@ -11491,7 +10908,7 @@ const autoBindKeys$5 = Object.keys(Input.props).filter((key2) => !["value", "pla
11491
10908
  },
11492
10909
  computed: {
11493
10910
  inputProps() {
11494
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$5);
10911
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$5);
11495
10912
  }
11496
10913
  },
11497
10914
  methods: {
@@ -11619,7 +11036,7 @@ const autoBindKeys$4 = Object.keys(TimePicker.props).filter((key2) => !["value",
11619
11036
  return "请选择";
11620
11037
  },
11621
11038
  inputProps() {
11622
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$4);
11039
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$4);
11623
11040
  }
11624
11041
  }
11625
11042
  }, __cssModules$2d = {};
@@ -11652,10 +11069,11 @@ const FormInputTime = /* @__PURE__ */ function() {
11652
11069
  },
11653
11070
  computed: {
11654
11071
  gutter() {
11072
+ var _a;
11655
11073
  let parent = this.$parent;
11656
11074
  for (; parent && parent.$options.componentName !== "ElRow"; )
11657
11075
  parent = parent.$parent;
11658
- return (parent == null ? void 0 : parent.gutter) ?? 0;
11076
+ return (_a = parent == null ? void 0 : parent.gutter) != null ? _a : 0;
11659
11077
  }
11660
11078
  },
11661
11079
  methods: {
@@ -11690,9 +11108,7 @@ const FormInputTime = /* @__PURE__ */ function() {
11690
11108
  key: `${prop}-${formRequired}`,
11691
11109
  class: rawRequired ? `form-item required ${formItemClass || ""}` : `${formItemClass || ""}`,
11692
11110
  scopedSlots: $scopedSlots,
11693
- props: {
11694
- ...elFormItemProps
11695
- },
11111
+ props: __spreadValues({}, elFormItemProps),
11696
11112
  attrs: {
11697
11113
  label,
11698
11114
  "label-width": labelWidth,
@@ -11702,13 +11118,17 @@ const FormInputTime = /* @__PURE__ */ function() {
11702
11118
  ref: "formItem"
11703
11119
  }) : h("div", [(_c = $scopedSlots.default) == null ? void 0 : _c.call($scopedSlots)]);
11704
11120
  },
11705
- async clearValidate() {
11706
- var _a, _b;
11707
- await this.$nextTick(), (_b = (_a = this.$refs.formItem).clearValidate) == null || _b.call(_a);
11121
+ clearValidate() {
11122
+ return __async(this, null, function* () {
11123
+ var _a, _b;
11124
+ yield this.$nextTick(), (_b = (_a = this.$refs.formItem).clearValidate) == null || _b.call(_a);
11125
+ });
11708
11126
  },
11709
- async validate() {
11710
- var _a, _b;
11711
- await this.$nextTick(), (_b = (_a = this.$refs.formItem).validate) == null || _b.call(_a);
11127
+ validate() {
11128
+ return __async(this, null, function* () {
11129
+ var _a, _b;
11130
+ yield this.$nextTick(), (_b = (_a = this.$refs.formItem).validate) == null || _b.call(_a);
11131
+ });
11712
11132
  }
11713
11133
  },
11714
11134
  render() {
@@ -11724,9 +11144,7 @@ const FormInputTime = /* @__PURE__ */ function() {
11724
11144
  } = this;
11725
11145
  let formWrapCol = wrapCol;
11726
11146
  return formItemConfig && hasOwn(formItemConfig, "wrapCol") && (formWrapCol = formItemConfig.wrapCol), unwrap ? h("div", [(_a = $scopedSlots.default) == null ? void 0 : _a.call($scopedSlots)]) : formWrapCol ? h("ElCol", {
11727
- props: {
11728
- ...elColProps
11729
- },
11147
+ props: __spreadValues({}, elColProps),
11730
11148
  attrs: {
11731
11149
  span: computeSpan
11732
11150
  }
@@ -12079,7 +11497,7 @@ const FormRadioGroup_vue_vue_type_style_index_0_lang = "", autoBindKeys$3 = Obje
12079
11497
  return "请选择";
12080
11498
  },
12081
11499
  inputProps() {
12082
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$3);
11500
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$3);
12083
11501
  },
12084
11502
  labelKey() {
12085
11503
  return this.classic ? "label" : this.labelProp;
@@ -12234,7 +11652,7 @@ const autoBindKeys$2 = Object.keys(Select.props).filter((key2) => !["value", "pl
12234
11652
  return this.classic ? "value" : this.valueProp;
12235
11653
  },
12236
11654
  inputProps() {
12237
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$2);
11655
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$2);
12238
11656
  },
12239
11657
  innerOptions() {
12240
11658
  return this.gender ? [
@@ -12345,7 +11763,7 @@ const autoBindKeys$1 = Object.keys(Switch.props).filter((key2) => !["value", "pl
12345
11763
  },
12346
11764
  computed: {
12347
11765
  inputProps() {
12348
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys$1);
11766
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys$1);
12349
11767
  }
12350
11768
  },
12351
11769
  methods: {
@@ -12755,7 +12173,7 @@ const autoBindKeys = Object.keys(Input.props).filter((key2) => !["value", "place
12755
12173
  },
12756
12174
  computed: {
12757
12175
  inputProps() {
12758
- return filterProperties({ ...normalizeProps(this.$attrs), ...this.$props }, autoBindKeys);
12176
+ return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys);
12759
12177
  }
12760
12178
  }
12761
12179
  }, __cssModules$25 = {};
@@ -13055,8 +12473,10 @@ const FormView_vue_vue_type_style_index_0_lang = "", builtInButtons$1 = ["back",
13055
12473
  }
13056
12474
  }), this.onFormResize({ width: window.document.body.clientWidth });
13057
12475
  },
13058
- async activated() {
13059
- this.$refs.formScroller && (await this.$nextTick(), this.scrollTo(this.formScrollTop, this.formScrollLeft));
12476
+ activated() {
12477
+ return __async(this, null, function* () {
12478
+ this.$refs.formScroller && (yield this.$nextTick(), this.scrollTo(this.formScrollTop, this.formScrollLeft));
12479
+ });
13060
12480
  },
13061
12481
  methods: {
13062
12482
  getToolbarSlotKeys() {
@@ -13074,20 +12494,24 @@ const FormView_vue_vue_type_style_index_0_lang = "", builtInButtons$1 = ["back",
13074
12494
  onEdit() {
13075
12495
  !this.toolbarListeners.edit && hasOwn(this.$parent, "disabled") && (this.$parent.disabled = !1);
13076
12496
  },
13077
- async navItemClick(item, index2) {
13078
- this.showNav && (await this.$nextTick(), this.activeFormItemGroup(item, index2), item.expand || item.open());
12497
+ navItemClick(item, index2) {
12498
+ return __async(this, null, function* () {
12499
+ this.showNav && (yield this.$nextTick(), this.activeFormItemGroup(item, index2), item.expand || item.open());
12500
+ });
13079
12501
  },
13080
12502
  activeFormItemGroup(tab, index2) {
13081
12503
  this.$refs.formScroller.scrollTop = tab.$el.offsetTop - 10, animate(tab.$el, "breathe-indicator-animation"), this.tryByClick = !0, this.activeIndex = index2;
13082
12504
  },
13083
- async tryActive() {
13084
- if (this.showNav) {
13085
- for (let i2 = 0; i2 < this.groups.length; i2++)
13086
- if (isInContainer(this.groups[i2].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
13087
- this.activeIndex = i2;
13088
- break;
13089
- }
13090
- }
12505
+ tryActive() {
12506
+ return __async(this, null, function* () {
12507
+ if (this.showNav) {
12508
+ for (let i2 = 0; i2 < this.groups.length; i2++)
12509
+ if (isInContainer(this.groups[i2].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
12510
+ this.activeIndex = i2;
12511
+ break;
12512
+ }
12513
+ }
12514
+ });
13091
12515
  },
13092
12516
  onFormScroll() {
13093
12517
  this.formScrollTop = this.$refs.formScroller.scrollTop, this.formScrollLeft = this.$refs.formScroller.scrollLeft, !this.tryByClick && this.groups.length && window.requestAnimationFrame(this.tryActive), this.tryByClick = !1;
@@ -16583,9 +16007,11 @@ const FyForm_vue_vue_type_style_index_0_lang = "", __vue2_script$1U = {
16583
16007
  let key2;
16584
16008
  return isBlank(column.display) ? this.isAdd ? key2 = "addDisplay" : this.isEdit ? key2 = "editDisplay" : this.isView && (key2 = "viewDisplay") : key2 = "display", key2 ? optVal(column[key2], !0) : !0;
16585
16009
  },
16586
- async clearValidate(list2) {
16587
- var _a;
16588
- (_a = this.$refs.form) == null || _a.clearValidate(list2);
16010
+ clearValidate(list2) {
16011
+ return __async(this, null, function* () {
16012
+ var _a;
16013
+ (_a = this.$refs.form) == null || _a.clearValidate(list2);
16014
+ });
16589
16015
  },
16590
16016
  validateCellForm() {
16591
16017
  return new Promise((resolve2) => {
@@ -17273,13 +16699,12 @@ const MonacoEditor = {
17273
16699
  methods: {
17274
16700
  initMonaco() {
17275
16701
  const { value: value2, language, theme, readOnly, options: options2 } = this;
17276
- Object.assign(options2, this._editorBeforeMount()), this.editor = monaco.editor[this.diffEditor ? "createDiffEditor" : "create"](this.$el, {
16702
+ Object.assign(options2, this._editorBeforeMount()), this.editor = monaco.editor[this.diffEditor ? "createDiffEditor" : "create"](this.$el, __spreadValues({
17277
16703
  value: typeof value2 == "string" ? value2 : convert(value2),
17278
16704
  language,
17279
16705
  theme,
17280
- readOnly,
17281
- ...options2
17282
- }), this.diffEditor && this._setModel(this.value, this.original), this._editorMounted(this.editor);
16706
+ readOnly
16707
+ }, options2)), this.diffEditor && this._setModel(this.value, this.original), this._editorMounted(this.editor);
17283
16708
  },
17284
16709
  _handleFullScreen() {
17285
16710
  this.isMaximum ? this.minEditor() : this.maxEditor();
@@ -17370,10 +16795,7 @@ const MonacoEditor = {
17370
16795
  return deepClone(steps[index]);
17371
16796
  }
17372
16797
  }
17373
- this.historySteps = {
17374
- ...this.historySteps,
17375
- ...data
17376
- };
16798
+ this.historySteps = __spreadValues(__spreadValues({}, this.historySteps), data);
17377
16799
  const { index, steps } = this.historySteps;
17378
16800
  return deepClone(steps[index]);
17379
16801
  },
@@ -17682,14 +17104,14 @@ const __vue2_script$1S = {
17682
17104
  return;
17683
17105
  }
17684
17106
  const data2 = deepClone(column.children.column[newIndex]);
17685
- data2.prop || (data2.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`), data2.subfield = !0, delete data2.icon, this.$set(column.children.column, newIndex, { ...data2 }), this.selectWidget = column.children.column[newIndex], this.$emit("change");
17107
+ data2.prop || (data2.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`), data2.subfield = !0, delete data2.icon, this.$set(column.children.column, newIndex, __spreadValues({}, data2)), this.selectWidget = column.children.column[newIndex], this.$emit("change");
17686
17108
  },
17687
17109
  handleWidgetTableSelect(data2) {
17688
17110
  this.selectWidget = data2;
17689
17111
  },
17690
17112
  handleWidgetTableClone(column, item) {
17691
17113
  const data2 = deepClone(item);
17692
- data2.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`, this.$set(column.children.column, column.children.column.length, { ...data2 }), this.$nextTick(() => {
17114
+ data2.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`, this.$set(column.children.column, column.children.column.length, __spreadValues({}, data2)), this.$nextTick(() => {
17693
17115
  this.selectWidget = column.children.column[column.children.column.length - 1], this.$emit("change");
17694
17116
  });
17695
17117
  },
@@ -17941,7 +17363,7 @@ const __vue2_script$1R = {
17941
17363
  },
17942
17364
  handleWidgetTableClone(column, item) {
17943
17365
  const data2 = deepClone(item);
17944
- data2.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`, this.$set(column.children.column, column.children.column.length, { ...data2 }), this.$nextTick(() => {
17366
+ data2.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`, this.$set(column.children.column, column.children.column.length, __spreadValues({}, data2)), this.$nextTick(() => {
17945
17367
  this.selectWidget = column.children.column[column.children.column.length - 1], this.$emit("change");
17946
17368
  });
17947
17369
  },
@@ -17958,7 +17380,7 @@ const __vue2_script$1R = {
17958
17380
  return;
17959
17381
  }
17960
17382
  const data2 = deepClone(column.children.column[newIndex]);
17961
- data2.prop || (data2.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`), delete data2.icon, data2.type === "dynamic" ? data2.span = 24 : data2.span = 12, this.$set(column.children.column, newIndex, { ...data2 }), this.selectWidget = column.children.column[newIndex], this.$emit("change");
17383
+ data2.prop || (data2.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`), delete data2.icon, data2.type === "dynamic" ? data2.span = 24 : data2.span = 12, this.$set(column.children.column, newIndex, __spreadValues({}, data2)), this.selectWidget = column.children.column[newIndex], this.$emit("change");
17962
17384
  }
17963
17385
  }
17964
17386
  }, __cssModules$1R = {};
@@ -24061,7 +23483,7 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script$1s = {
24061
23483
  console.error("非法配置"), options = { column: [] };
24062
23484
  }
24063
23485
  this.transAvueOptionsToFormDesigner(options).then((res) => {
24064
- this.widgetForm = { ...this.widgetForm, ...res };
23486
+ this.widgetForm = __spreadValues(__spreadValues({}, this.widgetForm), res);
24065
23487
  });
24066
23488
  },
24067
23489
  deep: !0
@@ -24078,22 +23500,24 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script$1s = {
24078
23500
  },
24079
23501
  methods: {
24080
23502
  // 组件初始化时加载本地存储中的options(需开启storage),若不存在则读取用户配置的options
24081
- async handleLoadStorage() {
24082
- let options = this.options;
24083
- if (typeof options == "string")
24084
- try {
24085
- options = eval(`(${options})`);
24086
- } catch (e2) {
24087
- console.error("非法配置"), options = { column: [] };
24088
- }
24089
- options.column || (options.column = []), this.widgetForm = this.initHistory({
24090
- index: 0,
24091
- maxStep: 20,
24092
- steps: [await this.transAvueOptionsToFormDesigner({ ...this.widgetForm, ...options })],
24093
- storage: this.storage
24094
- }), this.undoRedo && window.addEventListener("keydown", (evt) => {
24095
- (evt.metaKey && !evt.shiftKey && evt.keyCode === 90 || evt.ctrlKey && !evt.shiftKey && evt.keyCode === 90) && (this.widgetForm = this.handleUndo()), (evt.metaKey && evt.shiftKey && evt.keyCode === 90 || evt.ctrlKey && evt.shiftKey && evt.keyCode === 90 || evt.ctrlKey && evt.keyCode === 89) && (this.widgetForm = this.handleRedo());
24096
- }, !1);
23503
+ handleLoadStorage() {
23504
+ return __async(this, null, function* () {
23505
+ let options = this.options;
23506
+ if (typeof options == "string")
23507
+ try {
23508
+ options = eval(`(${options})`);
23509
+ } catch (e2) {
23510
+ console.error("非法配置"), options = { column: [] };
23511
+ }
23512
+ options.column || (options.column = []), this.widgetForm = this.initHistory({
23513
+ index: 0,
23514
+ maxStep: 20,
23515
+ steps: [yield this.transAvueOptionsToFormDesigner(__spreadValues(__spreadValues({}, this.widgetForm), options))],
23516
+ storage: this.storage
23517
+ }), this.undoRedo && window.addEventListener("keydown", (evt) => {
23518
+ (evt.metaKey && !evt.shiftKey && evt.keyCode === 90 || evt.ctrlKey && !evt.shiftKey && evt.keyCode === 90) && (this.widgetForm = this.handleUndo()), (evt.metaKey && evt.shiftKey && evt.keyCode === 90 || evt.ctrlKey && evt.shiftKey && evt.keyCode === 90 || evt.ctrlKey && evt.keyCode === 89) && (this.widgetForm = this.handleRedo());
23519
+ }, !1);
23520
+ });
24097
23521
  },
24098
23522
  // 加载icon
24099
23523
  handleLoadCss() {
@@ -24135,20 +23559,18 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script$1s = {
24135
23559
  // 生成JSON - 弹窗 - 确定
24136
23560
  handleGenerate() {
24137
23561
  this.transformToAvueOptions(this.widgetForm).then((data2) => {
24138
- this.configOption.generateType && this.configOption.generateType === "string" ? this.$emit("submit", convert(data2, {
24139
- minify: !0,
24140
- ...this.configOption
24141
- })) : this.$emit("submit", data2);
23562
+ this.configOption.generateType && this.configOption.generateType === "string" ? this.$emit("submit", convert(data2, __spreadValues({
23563
+ minify: !0
23564
+ }, this.configOption))) : this.$emit("submit", data2);
24142
23565
  });
24143
23566
  },
24144
23567
  // 生成JSON - 弹窗 - 拷贝
24145
23568
  handleCopy() {
24146
23569
  this.transformToAvueOptions(this.widgetForm).then((data2) => {
24147
23570
  this.$Clipboard({
24148
- text: convert(data2, {
24149
- minify: !0,
24150
- ...this.configOption
24151
- })
23571
+ text: convert(data2, __spreadValues({
23572
+ minify: !0
23573
+ }, this.configOption))
24152
23574
  }).then(() => {
24153
23575
  this.$message.success("复制成功");
24154
23576
  }).catch(() => {
@@ -24357,17 +23779,18 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script$1s = {
24357
23779
  }
24358
23780
  });
24359
23781
  },
24360
- async getData(type2 = "json", option = {}) {
24361
- if (type2 === "string")
24362
- return convert(await this.transformToAvueOptions(this.widgetForm), {
24363
- minify: !0,
24364
- ...option
24365
- });
24366
- if (type2 === "app") {
24367
- const option2 = await this.transformToAvueOptions(this.widgetForm);
24368
- return this.parseJson(option2), option2;
24369
- } else
24370
- return await this.transformToAvueOptions(this.widgetForm);
23782
+ getData() {
23783
+ return __async(this, arguments, function* (type2 = "json", option = {}) {
23784
+ if (type2 === "string")
23785
+ return convert(yield this.transformToAvueOptions(this.widgetForm), __spreadValues({
23786
+ minify: !0
23787
+ }, option));
23788
+ if (type2 === "app") {
23789
+ const option2 = yield this.transformToAvueOptions(this.widgetForm);
23790
+ return this.parseJson(option2), option2;
23791
+ } else
23792
+ return yield this.transformToAvueOptions(this.widgetForm);
23793
+ });
24371
23794
  },
24372
23795
  parseJson(jsonObj) {
24373
23796
  for (const key2 in jsonObj) {
@@ -27156,21 +26579,21 @@ const FyUEditor_vue_vue_type_style_index_0_lang = "", __vue2_script$19 = {
27156
26579
  },
27157
26580
  methods: {
27158
26581
  initEdit() {
27159
- const mode = "default", { onFocus, onBlur, onChange, ...rest } = this.customConfig, editorConfig = {
26582
+ const mode = "default", _a = this.customConfig, { onFocus, onBlur, onChange } = _a, rest = __objRest(_a, ["onFocus", "onBlur", "onChange"]), editorConfig = __spreadValues({
27160
26583
  placeholder: this.placeholder,
27161
26584
  readOnly: this.disabled,
27162
26585
  MENU_CONF: {
27163
26586
  uploadImage: {
27164
- customUpload: async (file) => {
27165
- const res = await this.uploadFile(file);
26587
+ customUpload: (file) => __async(this, null, function* () {
26588
+ const res = yield this.uploadFile(file);
27166
26589
  this.editor.dangerouslyInsertHtml(res);
27167
- }
26590
+ })
27168
26591
  },
27169
26592
  uploadVideo: {
27170
- customUpload: async (file) => {
27171
- const res = await this.uploadFile(file);
26593
+ customUpload: (file) => __async(this, null, function* () {
26594
+ const res = yield this.uploadFile(file);
27172
26595
  this.editor.dangerouslyInsertHtml(res);
27173
- }
26596
+ })
27174
26597
  }
27175
26598
  },
27176
26599
  onFocus: () => {
@@ -27183,18 +26606,15 @@ const FyUEditor_vue_vue_type_style_index_0_lang = "", __vue2_script$19 = {
27183
26606
  onChange: (editor) => {
27184
26607
  const html = editor.getHtml();
27185
26608
  this.$emit("input", html);
27186
- },
27187
- ...rest
27188
- };
26609
+ }
26610
+ }, rest);
27189
26611
  this.editor = Object.seal(createEditor({
27190
26612
  selector: this.$refs.editor,
27191
26613
  config: editorConfig,
27192
26614
  html: this.value,
27193
26615
  mode
27194
26616
  }));
27195
- const toolbarConfig = {
27196
- ...this.toolbarConfig
27197
- };
26617
+ const toolbarConfig = __spreadValues({}, this.toolbarConfig);
27198
26618
  this.toolbar = createToolbar({
27199
26619
  editor: this.editor,
27200
26620
  selector: this.$refs.toolbar,
@@ -28639,7 +28059,7 @@ function __vue2_injectStyles$11(context) {
28639
28059
  const IframeWindow = /* @__PURE__ */ function() {
28640
28060
  return __component__$11.exports;
28641
28061
  }(), imageCropper = (ops = {}) => {
28642
- const ImageCropperConstructor = Vue.extend(ImageCropper), option = {
28062
+ const ImageCropperConstructor = Vue.extend(ImageCropper), option = __spreadValues({
28643
28063
  outputSize: 1,
28644
28064
  // 裁剪生成图片的质量(可选0.1 - 1)
28645
28065
  outputType: "jpeg",
@@ -28668,10 +28088,8 @@ const IframeWindow = /* @__PURE__ */ function() {
28668
28088
  // 是否按照设备的dpr 输出等比例图片
28669
28089
  infoTrue: !1,
28670
28090
  // true为展示真实输出图片宽高,false展示看到的截图框宽高
28671
- enlarge: 1,
28672
- // 图片根据截图框输出比例倍数
28673
- ...ops
28674
- }, instance = new ImageCropperConstructor({
28091
+ enlarge: 1
28092
+ }, ops), instance = new ImageCropperConstructor({
28675
28093
  data: {
28676
28094
  option
28677
28095
  }
@@ -28874,13 +28292,12 @@ const ImageCropper = /* @__PURE__ */ function() {
28874
28292
  const ImagePreviewConstructor = Vue.extend(ImagePreview), options2 = {
28875
28293
  datas,
28876
28294
  index: index2,
28877
- ops: {
28295
+ ops: __spreadValues({
28878
28296
  closeOnClickModal: !1,
28879
28297
  beforeClose: null,
28880
28298
  click: null,
28881
- modal: !0,
28882
- ...ops
28883
- }
28299
+ modal: !0
28300
+ }, ops)
28884
28301
  }, instance = new ImagePreviewConstructor({
28885
28302
  data: options2
28886
28303
  }).$mount();
@@ -31135,8 +30552,10 @@ const PageableTable_vue_vue_type_style_index_0_lang = "", TABLE_STATUS$1 = {
31135
30552
  });
31136
30553
  body && ((_a = body.$refs.tooltip) == null || _a.hide()), this.$emit("row-dblclick", ...args);
31137
30554
  },
31138
- async updateTableScrollPosition() {
31139
- this.$refs.table.bodyWrapper && this.scrollTo(this.tableScrollTop, this.tableScrollLeft);
30555
+ updateTableScrollPosition() {
30556
+ return __async(this, null, function* () {
30557
+ this.$refs.table.bodyWrapper && this.scrollTo(this.tableScrollTop, this.tableScrollLeft);
30558
+ });
31140
30559
  },
31141
30560
  filterTableProperties,
31142
30561
  filterTableEvents,
@@ -31199,41 +30618,46 @@ const PageableTable_vue_vue_type_style_index_0_lang = "", TABLE_STATUS$1 = {
31199
30618
  search() {
31200
30619
  this.setModel(this.model), this.getPage();
31201
30620
  },
31202
- async getPage() {
31203
- var _a;
31204
- if (hasOwn(this.$attrs, "data")) {
31205
- this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
31206
- return;
31207
- }
31208
- this.records = [];
31209
- let res;
31210
- const { filters, ...rest } = this.page, page = { ...rest };
31211
- if ((_a = filters == null ? void 0 : filters.rules) != null && _a.length && (page.filters = { rules: filters.rules }), this.api || this.url) {
31212
- this.tableStatus = TABLE_STATUS$1.loading;
31213
- try {
31214
- this.api && (res = await this.api(page)), this.url && (res = await this.method(this.url, page));
31215
- } catch (e2) {
31216
- this.tableStatus = TABLE_STATUS$1.error, console.error(e2);
30621
+ getPage() {
30622
+ return __async(this, null, function* () {
30623
+ var _b;
30624
+ if (hasOwn(this.$attrs, "data")) {
30625
+ this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
31217
30626
  return;
31218
30627
  }
31219
- } else {
31220
- this.$notify.warning({
31221
- title: "开发提示!",
31222
- message: "PageableTable 请提供 url(String) api(Function) 属性"
31223
- });
31224
- return;
31225
- }
31226
- const { data: data2 } = res || {}, { total, records } = data2 || {};
31227
- this.page.total = Number(total), this.records = records, !records || !records.length ? this.tableStatus = TABLE_STATUS$1.empty : this.tableStatus = TABLE_STATUS$1.success, this.$refs.table.doLayout(), this.$emit("page-loaded", data2);
30628
+ this.records = [];
30629
+ let res;
30630
+ const _a = this.page, { filters } = _a, rest = __objRest(_a, ["filters"]), page = __spreadValues({}, rest);
30631
+ if ((_b = filters == null ? void 0 : filters.rules) != null && _b.length && (page.filters = { rules: filters.rules }), this.api || this.url) {
30632
+ this.tableStatus = TABLE_STATUS$1.loading;
30633
+ try {
30634
+ this.api && (res = yield this.api(page)), this.url && (res = yield this.method(this.url, page));
30635
+ } catch (e2) {
30636
+ this.tableStatus = TABLE_STATUS$1.error, console.error(e2);
30637
+ return;
30638
+ }
30639
+ } else {
30640
+ this.$notify.warning({
30641
+ title: "开发提示!",
30642
+ message: "PageableTable 请提供 url(String) 或 api(Function) 属性"
30643
+ });
30644
+ return;
30645
+ }
30646
+ const { data: data2 } = res || {}, { total, records } = data2 || {};
30647
+ this.page.total = Number(total), this.records = records, !records || !records.length ? this.tableStatus = TABLE_STATUS$1.empty : this.tableStatus = TABLE_STATUS$1.success, this.$refs.table.doLayout(), this.$emit("page-loaded", data2);
30648
+ });
31228
30649
  },
31229
- async refresh() {
31230
- await this.getPage();
30650
+ refresh() {
30651
+ return __async(this, null, function* () {
30652
+ yield this.getPage();
30653
+ });
31231
30654
  },
31232
- async reload() {
31233
- this.page = {
31234
- ...this.$options.data.call(this).page,
31235
- total: this.page.total
31236
- };
30655
+ reload() {
30656
+ return __async(this, null, function* () {
30657
+ this.page = __spreadProps(__spreadValues({}, this.$options.data.call(this).page), {
30658
+ total: this.page.total
30659
+ });
30660
+ });
31237
30661
  },
31238
30662
  scrollTo(top, left) {
31239
30663
  top && (this.$refs.table.bodyWrapper.scrollTop = top), left && (this.$refs.table.bodyWrapper.scrollLeft = left);
@@ -31462,8 +30886,10 @@ const TABLE_STATUS = {
31462
30886
  (_a = this.$refs.scroller) == null || _a.removeEventListener("scroll", this.onTableScroll);
31463
30887
  },
31464
30888
  methods: {
31465
- async updateTableScrollPosition() {
31466
- this.$refs.scroller && this.scrollTo(this.tableScrollTop, this.tableScrollLeft);
30889
+ updateTableScrollPosition() {
30890
+ return __async(this, null, function* () {
30891
+ this.$refs.scroller && this.scrollTo(this.tableScrollTop, this.tableScrollLeft);
30892
+ });
31467
30893
  },
31468
30894
  filterTableProperties,
31469
30895
  filterTableEvents,
@@ -31527,41 +30953,46 @@ const TABLE_STATUS = {
31527
30953
  search() {
31528
30954
  this.setModel(this.model), this.getPage();
31529
30955
  },
31530
- async getPage() {
31531
- var _a;
31532
- if (hasOwn(this.$attrs, "data")) {
31533
- this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
31534
- return;
31535
- }
31536
- this.records = [];
31537
- let res;
31538
- const { filters, ...rest } = this.page, page = { ...rest };
31539
- if ((_a = filters == null ? void 0 : filters.rules) != null && _a.length && (page.filters = { rules: filters.rules }), this.api || this.url) {
31540
- this.tableStatus = TABLE_STATUS.loading;
31541
- try {
31542
- this.loading = !0, this.api && (res = await this.api(page)), this.url && (res = await this.method(this.url, page)), this.loading = !1;
31543
- } catch (e2) {
31544
- this.tableStatus = TABLE_STATUS.error, console.error(e2), this.loading = !1;
30956
+ getPage() {
30957
+ return __async(this, null, function* () {
30958
+ var _b;
30959
+ if (hasOwn(this.$attrs, "data")) {
30960
+ this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
31545
30961
  return;
31546
30962
  }
31547
- } else {
31548
- this.$notify.warning({
31549
- title: "开发提示!",
31550
- message: "PageableTable 请提供 url(String) api(Function) 属性"
31551
- });
31552
- return;
31553
- }
31554
- const { data: data2 } = res || {}, { total, records } = data2 || {};
31555
- this.page.total = Number(total), this.records = records, !records || !records.length ? this.tableStatus = TABLE_STATUS.empty : this.tableStatus = TABLE_STATUS.success, this.$refs.table && (this.$refs.scroller.scrollTop = 0), this.$emit("page-loaded", data2);
30963
+ this.records = [];
30964
+ let res;
30965
+ const _a = this.page, { filters } = _a, rest = __objRest(_a, ["filters"]), page = __spreadValues({}, rest);
30966
+ if ((_b = filters == null ? void 0 : filters.rules) != null && _b.length && (page.filters = { rules: filters.rules }), this.api || this.url) {
30967
+ this.tableStatus = TABLE_STATUS.loading;
30968
+ try {
30969
+ this.loading = !0, this.api && (res = yield this.api(page)), this.url && (res = yield this.method(this.url, page)), this.loading = !1;
30970
+ } catch (e2) {
30971
+ this.tableStatus = TABLE_STATUS.error, console.error(e2), this.loading = !1;
30972
+ return;
30973
+ }
30974
+ } else {
30975
+ this.$notify.warning({
30976
+ title: "开发提示!",
30977
+ message: "PageableTable 请提供 url(String) 或 api(Function) 属性"
30978
+ });
30979
+ return;
30980
+ }
30981
+ const { data: data2 } = res || {}, { total, records } = data2 || {};
30982
+ this.page.total = Number(total), this.records = records, !records || !records.length ? this.tableStatus = TABLE_STATUS.empty : this.tableStatus = TABLE_STATUS.success, this.$refs.table && (this.$refs.scroller.scrollTop = 0), this.$emit("page-loaded", data2);
30983
+ });
31556
30984
  },
31557
- async refresh() {
31558
- await this.getPage();
30985
+ refresh() {
30986
+ return __async(this, null, function* () {
30987
+ yield this.getPage();
30988
+ });
31559
30989
  },
31560
- async reload() {
31561
- this.page = {
31562
- ...this.$options.data.call(this).page,
31563
- total: this.page.total
31564
- };
30990
+ reload() {
30991
+ return __async(this, null, function* () {
30992
+ this.page = __spreadProps(__spreadValues({}, this.$options.data.call(this).page), {
30993
+ total: this.page.total
30994
+ });
30995
+ });
31565
30996
  },
31566
30997
  scrollTo(top, left) {
31567
30998
  top && (this.$refs.scroller.scrollTop = top), left && (this.$refs.scroller.scrollLeft = left);
@@ -31743,26 +31174,34 @@ const PageIndex_vue_vue_type_style_index_0_lang = "", __vue2_script$K = {
31743
31174
  this.setCurrentKey(this.$route.path);
31744
31175
  },
31745
31176
  methods: {
31746
- async activeFirstMenu() {
31747
- if (treeToArray(this.menus).map((value2) => value2.path).filter((value2) => value2).includes(this.$route.path))
31748
- await this.setCurrentKey(this.$route.path);
31749
- else {
31750
- const menuItem = findFirstMatchNode(this.menus, (node) => node.path);
31751
- menuItem && (await this.$router.push({ path: menuItem.path, query: menuItem.query }), await this.setCurrentKey(menuItem.path));
31752
- }
31177
+ activeFirstMenu() {
31178
+ return __async(this, null, function* () {
31179
+ if (treeToArray(this.menus).map((value2) => value2.path).filter((value2) => value2).includes(this.$route.path))
31180
+ yield this.setCurrentKey(this.$route.path);
31181
+ else {
31182
+ const menuItem = findFirstMatchNode(this.menus, (node) => node.path);
31183
+ menuItem && (yield this.$router.push({ path: menuItem.path, query: menuItem.query }), yield this.setCurrentKey(menuItem.path));
31184
+ }
31185
+ });
31753
31186
  },
31754
- async onNodeClick(node) {
31755
- node.path && node.path.indexOf("/") > -1 && await this.$router.push({ path: node.path, query: node.query }), await this.setCurrentKey(node.key);
31187
+ onNodeClick(node) {
31188
+ return __async(this, null, function* () {
31189
+ node.path && node.path.indexOf("/") > -1 && (yield this.$router.push({ path: node.path, query: node.query })), yield this.setCurrentKey(node.key);
31190
+ });
31756
31191
  },
31757
- async setCurrentKey(path) {
31758
- await this.$nextTick(), this.$refs.menuTree && this.$refs.menuTree.setCurrentKey(path);
31192
+ setCurrentKey(path) {
31193
+ return __async(this, null, function* () {
31194
+ yield this.$nextTick(), this.$refs.menuTree && this.$refs.menuTree.setCurrentKey(path);
31195
+ });
31759
31196
  },
31760
- async beforeRouteUpdate(to, from, next) {
31761
- if (to.path === this.schema) {
31762
- const menuItem = findFirstMatchNode(this.menus, (node) => node.path);
31763
- menuItem ? (await next({ path: menuItem.path, query: menuItem.query }), await this.setCurrentKey(menuItem.path)) : await next(!1);
31764
- } else
31765
- await next(), await this.setCurrentKey(this.$route.path);
31197
+ beforeRouteUpdate(to, from, next) {
31198
+ return __async(this, null, function* () {
31199
+ if (to.path === this.schema) {
31200
+ const menuItem = findFirstMatchNode(this.menus, (node) => node.path);
31201
+ menuItem ? (yield next({ path: menuItem.path, query: menuItem.query }), yield this.setCurrentKey(menuItem.path)) : yield next(!1);
31202
+ } else
31203
+ yield next(), yield this.setCurrentKey(this.$route.path);
31204
+ });
31766
31205
  }
31767
31206
  }
31768
31207
  }, __cssModules$K = {};
@@ -31860,23 +31299,29 @@ const __vue2_script$J = {
31860
31299
  this.activeFirstMenu();
31861
31300
  },
31862
31301
  methods: {
31863
- async activeFirstMenu() {
31864
- if (treeToArray(this.menus).map((value2) => value2.path).filter((value2) => value2).includes(this.$route.path))
31865
- this.activeTab = this.$route.path;
31866
- else {
31867
- const menuItem = findFirstMatchNode(this.menus, (node) => node.path);
31868
- menuItem && (this.activeTab = menuItem.path, await this.$router.push({ path: menuItem.path, query: menuItem.query }));
31869
- }
31302
+ activeFirstMenu() {
31303
+ return __async(this, null, function* () {
31304
+ if (treeToArray(this.menus).map((value2) => value2.path).filter((value2) => value2).includes(this.$route.path))
31305
+ this.activeTab = this.$route.path;
31306
+ else {
31307
+ const menuItem = findFirstMatchNode(this.menus, (node) => node.path);
31308
+ menuItem && (this.activeTab = menuItem.path, yield this.$router.push({ path: menuItem.path, query: menuItem.query }));
31309
+ }
31310
+ });
31870
31311
  },
31871
- async tabClick(tab) {
31872
- await this.$router.push(tab.name);
31312
+ tabClick(tab) {
31313
+ return __async(this, null, function* () {
31314
+ yield this.$router.push(tab.name);
31315
+ });
31873
31316
  },
31874
- async beforeRouteUpdate(to, from, next) {
31875
- if (to.path === this.schema) {
31876
- const menuItem = findFirstMatchNode(this.menus, (node) => node.path);
31877
- menuItem ? (await next({ path: menuItem.path, query: menuItem.query }), this.activeTab = menuItem.path) : await next(!1);
31878
- } else
31879
- await next();
31317
+ beforeRouteUpdate(to, from, next) {
31318
+ return __async(this, null, function* () {
31319
+ if (to.path === this.schema) {
31320
+ const menuItem = findFirstMatchNode(this.menus, (node) => node.path);
31321
+ menuItem ? (yield next({ path: menuItem.path, query: menuItem.query }), this.activeTab = menuItem.path) : yield next(!1);
31322
+ } else
31323
+ yield next();
31324
+ });
31880
31325
  }
31881
31326
  }
31882
31327
  }, __cssModules$J = {};
@@ -32046,28 +31491,32 @@ const PageSkeletonNew = /* @__PURE__ */ function() {
32046
31491
  function initPhotoSwipe(options2) {
32047
31492
  new PhotoSwipe$1(options2).init();
32048
31493
  }
32049
- async function photoswipe(event2, thumbnailsWrapperDom, options2 = { selector: "chat-image" }) {
32050
- const target = event2.target;
32051
- if (!(!target || target.classList.contains(options2.selector) || target.tagName === "IMG"))
32052
- return;
32053
- const galleryItems = thumbnailsWrapperDom.querySelectorAll(options2.selector === "img" ? options2.selector : `.${options2.selector}`), position = [...galleryItems].findIndex((value2) => value2 === target);
32054
- position >= 0 && (options2.index = position);
32055
- const dataSource = await getDataSource(galleryItems);
32056
- await initPhotoSwipe({ dataSource, index: position });
32057
- }
32058
- async function getDataSource(images) {
32059
- const dataSource = [];
32060
- for (let i2 = 0, length = images.length; i2 < length; i2++) {
32061
- const image = images[i2], src = image.getAttribute("data-src") || image.getAttribute("src"), item = {
32062
- src,
32063
- msrc: src,
32064
- alt: image.getAttribute("data-title") || image.getAttribute("alt"),
32065
- element: image
32066
- }, height = image.getAttribute("data-height"), width = image.getAttribute("data-width");
32067
- let rect = { width, height };
32068
- !height && !width && (rect = await getImageSize(image), image.setAttribute("data-height", rect.height), image.setAttribute("data-width", rect.width)), item.w = rect.width, item.width = rect.width, item.h = rect.height, item.height = rect.height, dataSource.push(item);
32069
- }
32070
- return dataSource;
31494
+ function photoswipe(_0, _1) {
31495
+ return __async(this, arguments, function* (event2, thumbnailsWrapperDom, options2 = { selector: "chat-image" }) {
31496
+ const target = event2.target;
31497
+ if (!(!target || target.classList.contains(options2.selector) || target.tagName === "IMG"))
31498
+ return;
31499
+ const galleryItems = thumbnailsWrapperDom.querySelectorAll(options2.selector === "img" ? options2.selector : `.${options2.selector}`), position = [...galleryItems].findIndex((value2) => value2 === target);
31500
+ position >= 0 && (options2.index = position);
31501
+ const dataSource = yield getDataSource(galleryItems);
31502
+ yield initPhotoSwipe({ dataSource, index: position });
31503
+ });
31504
+ }
31505
+ function getDataSource(images) {
31506
+ return __async(this, null, function* () {
31507
+ const dataSource = [];
31508
+ for (let i2 = 0, length = images.length; i2 < length; i2++) {
31509
+ const image = images[i2], src = image.getAttribute("data-src") || image.getAttribute("src"), item = {
31510
+ src,
31511
+ msrc: src,
31512
+ alt: image.getAttribute("data-title") || image.getAttribute("alt"),
31513
+ element: image
31514
+ }, height = image.getAttribute("data-height"), width = image.getAttribute("data-width");
31515
+ let rect = { width, height };
31516
+ !height && !width && (rect = yield getImageSize(image), image.setAttribute("data-height", rect.height), image.setAttribute("data-width", rect.width)), item.w = rect.width, item.width = rect.width, item.h = rect.height, item.height = rect.height, dataSource.push(item);
31517
+ }
31518
+ return dataSource;
31519
+ });
32071
31520
  }
32072
31521
  function getImageSize(ele) {
32073
31522
  const url = ele.getAttribute("data-src") || ele.getAttribute("src"), height = ele.getAttribute("data-height"), width = ele.getAttribute("data-width");
@@ -32122,8 +31571,10 @@ const __vue2_script$G = {
32122
31571
  }
32123
31572
  },
32124
31573
  methods: {
32125
- async preview(e2) {
32126
- await photoswipe(e2, this.$refs.wrapper, { selector: this.selector });
31574
+ preview(e2) {
31575
+ return __async(this, null, function* () {
31576
+ yield photoswipe(e2, this.$refs.wrapper, { selector: this.selector });
31577
+ });
32127
31578
  }
32128
31579
  }
32129
31580
  }, __cssModules$G = {};
@@ -35975,10 +35426,10 @@ const translationsCN = {
35975
35426
  emumerations
35976
35427
  }, WILDCARD = "*";
35977
35428
  function CamundaModdleExtension$1(eventBus) {
35978
- const self2 = this;
35429
+ const self = this;
35979
35430
  eventBus.on("moddleCopy.canCopyProperty", function(context) {
35980
35431
  const property = context.property, parent = context.parent;
35981
- return self2.canCopyProperty(property, parent);
35432
+ return self.canCopyProperty(property, parent);
35982
35433
  });
35983
35434
  }
35984
35435
  CamundaModdleExtension$1.$inject = ["eventBus"];
@@ -36584,13 +36035,12 @@ const __vue2_script$F = {
36584
36035
  },
36585
36036
  methods: {
36586
36037
  initBpmnModeler() {
36587
- this.bpmnModeler || (this.bpmnModeler = new BpmnModeler({
36038
+ this.bpmnModeler || (this.bpmnModeler = new BpmnModeler(__spreadValues({
36588
36039
  container: this.$refs["bpmn-canvas"],
36589
36040
  keyboard: this.keyboard ? { bindTo: document } : null,
36590
36041
  additionalModules: this.additionalModules,
36591
- moddleExtensions: this.moddleExtensions,
36592
- ...this.options
36593
- }), this.$emit("init-finished", this.bpmnModeler), this.initModelListeners());
36042
+ moddleExtensions: this.moddleExtensions
36043
+ }, this.options)), this.$emit("init-finished", this.bpmnModeler), this.initModelListeners());
36594
36044
  },
36595
36045
  initModelListeners() {
36596
36046
  const EventBus = this.bpmnModeler.get("eventBus"), that = this;
@@ -36599,71 +36049,75 @@ const __vue2_script$F = {
36599
36049
  const eventName = event2.replace(/\./g, "-"), element = eventObj ? eventObj.element : null;
36600
36050
  that.$emit(eventName, element, eventObj);
36601
36051
  });
36602
- }), EventBus.on("commandStack.changed", async (event2) => {
36052
+ }), EventBus.on("commandStack.changed", (event2) => __async(this, null, function* () {
36603
36053
  try {
36604
36054
  this.recoverable = this.bpmnModeler.get("commandStack").canRedo(), this.revocable = this.bpmnModeler.get("commandStack").canUndo();
36605
- const { xml: xml2 } = await this.bpmnModeler.saveXML({ format: !0 });
36055
+ const { xml: xml2 } = yield this.bpmnModeler.saveXML({ format: !0 });
36606
36056
  this.$emit("commandStack-changed", event2), this.$emit("input", xml2), this.$emit("change", xml2);
36607
36057
  } catch (e2) {
36608
36058
  console.error(`[Process Designer Warn]: ${e2.message || e2}`);
36609
36059
  }
36610
- }), this.bpmnModeler.on("canvas.viewbox.changed", ({ viewbox }) => {
36060
+ })), this.bpmnModeler.on("canvas.viewbox.changed", ({ viewbox }) => {
36611
36061
  this.$emit("canvas-viewbox-changed", { viewbox });
36612
36062
  const { scale } = viewbox;
36613
36063
  this.defaultZoom = Math.floor(scale * 100) / 100;
36614
36064
  });
36615
36065
  },
36616
36066
  /* 创建新的流程图 */
36617
- async createNewDiagram(xml2) {
36618
- const newId = this.processId || `Process_${new Date().getTime()}`, newName = this.processName || `业务流程_${new Date().getTime()}`, xmlString = xml2 || DefaultEmptyXML(newId, newName, this.prefix);
36619
- try {
36620
- const { warnings } = await this.bpmnModeler.importXML(xmlString);
36621
- warnings && warnings.length && warnings.forEach((warn) => console.warn(warn));
36622
- } catch (e2) {
36623
- console.error(`[Process Designer Warn]: ${(e2 == null ? void 0 : e2.message) || e2}`);
36624
- }
36067
+ createNewDiagram(xml2) {
36068
+ return __async(this, null, function* () {
36069
+ const newId = this.processId || `Process_${new Date().getTime()}`, newName = this.processName || `业务流程_${new Date().getTime()}`, xmlString = xml2 || DefaultEmptyXML(newId, newName, this.prefix);
36070
+ try {
36071
+ const { warnings } = yield this.bpmnModeler.importXML(xmlString);
36072
+ warnings && warnings.length && warnings.forEach((warn) => console.warn(warn));
36073
+ } catch (e2) {
36074
+ console.error(`[Process Designer Warn]: ${(e2 == null ? void 0 : e2.message) || e2}`);
36075
+ }
36076
+ });
36625
36077
  },
36626
36078
  // 下载流程图到本地
36627
36079
  /**
36628
36080
  * @param {string} type
36629
36081
  * @param {*} name
36630
36082
  */
36631
- async downloadProcess(type2, name2) {
36632
- try {
36633
- const _this = this;
36634
- if (type2 === "xml" || type2 === "bpmn") {
36635
- const {
36636
- err,
36637
- xml: xml2
36638
- } = await this.bpmnModeler.saveXML();
36639
- err && console.error(`[Process Designer Warn ]: ${err.message || err}`);
36640
- const {
36641
- href,
36642
- filename
36643
- } = _this.setEncoded(type2.toUpperCase(), name2, xml2);
36644
- downloadFunc(href, filename);
36645
- } else {
36646
- const {
36647
- err,
36648
- svg
36649
- } = await this.bpmnModeler.saveSVG();
36650
- if (err)
36651
- return console.error(err);
36652
- const {
36653
- href,
36654
- filename
36655
- } = _this.setEncoded("SVG", name2, svg);
36656
- downloadFunc(href, filename);
36083
+ downloadProcess(type2, name2) {
36084
+ return __async(this, null, function* () {
36085
+ try {
36086
+ const _this = this;
36087
+ if (type2 === "xml" || type2 === "bpmn") {
36088
+ const {
36089
+ err,
36090
+ xml: xml2
36091
+ } = yield this.bpmnModeler.saveXML();
36092
+ err && console.error(`[Process Designer Warn ]: ${err.message || err}`);
36093
+ const {
36094
+ href,
36095
+ filename
36096
+ } = _this.setEncoded(type2.toUpperCase(), name2, xml2);
36097
+ downloadFunc(href, filename);
36098
+ } else {
36099
+ const {
36100
+ err,
36101
+ svg
36102
+ } = yield this.bpmnModeler.saveSVG();
36103
+ if (err)
36104
+ return console.error(err);
36105
+ const {
36106
+ href,
36107
+ filename
36108
+ } = _this.setEncoded("SVG", name2, svg);
36109
+ downloadFunc(href, filename);
36110
+ }
36111
+ } catch (e2) {
36112
+ console.error(`[Process Designer Warn ]: ${e2.message || e2}`);
36657
36113
  }
36658
- } catch (e2) {
36659
- console.error(`[Process Designer Warn ]: ${e2.message || e2}`);
36660
- }
36661
- function downloadFunc(href, filename) {
36662
- if (href && filename) {
36663
- const a = document.createElement("a");
36664
- a.download = filename, a.href = href, a.click(), URL.revokeObjectURL(a.href);
36114
+ function downloadFunc(href, filename) {
36115
+ if (href && filename) {
36116
+ const a = document.createElement("a");
36117
+ a.download = filename, a.href = href, a.click(), URL.revokeObjectURL(a.href);
36118
+ }
36665
36119
  }
36666
- }
36120
+ });
36667
36121
  },
36668
36122
  // 根据所需类型进行转码并返回下载地址
36669
36123
  setEncoded(type2, filename = "diagram", data2) {
@@ -37750,9 +37204,7 @@ const __vue2_script$z = {
37750
37204
  },
37751
37205
  methods: {
37752
37206
  changeTaskAsync() {
37753
- !this.taskConfigForm.asyncBefore && !this.taskConfigForm.asyncAfter && (this.taskConfigForm.exclusive = !1), window.bpmnInstances.modeling.updateProperties(window.bpmnInstances.bpmnElement, {
37754
- ...this.taskConfigForm
37755
- });
37207
+ !this.taskConfigForm.asyncBefore && !this.taskConfigForm.asyncAfter && (this.taskConfigForm.exclusive = !1), window.bpmnInstances.modeling.updateProperties(window.bpmnInstances.bpmnElement, __spreadValues({}, this.taskConfigForm));
37756
37208
  }
37757
37209
  }
37758
37210
  }, __cssModules$z = {};
@@ -38009,7 +37461,7 @@ const __vue2_script$y = {
38009
37461
  },
38010
37462
  methods: {
38011
37463
  getElementLoop(businessObject) {
38012
- var _a, _b, _c, _d;
37464
+ var _a, _b, _c, _d, _e, _f;
38013
37465
  if (!businessObject.loopCharacteristics) {
38014
37466
  this.loopCharacteristics = "Null", this.loopInstanceForm = {};
38015
37467
  return;
@@ -38018,12 +37470,10 @@ const __vue2_script$y = {
38018
37470
  this.loopCharacteristics = "StandardLoop", this.loopInstanceForm = {};
38019
37471
  return;
38020
37472
  }
38021
- businessObject.loopCharacteristics.isSequential ? this.loopCharacteristics = "SequentialMultiInstance" : this.loopCharacteristics = "ParallelMultiInstance", this.loopInstanceForm = {
38022
- ...this.defaultLoopInstanceForm,
38023
- ...businessObject.loopCharacteristics,
38024
- completionCondition: ((_b = (_a = businessObject.loopCharacteristics) == null ? void 0 : _a.completionCondition) == null ? void 0 : _b.body) ?? "",
38025
- loopCardinality: ((_d = (_c = businessObject.loopCharacteristics) == null ? void 0 : _c.loopCardinality) == null ? void 0 : _d.body) ?? ""
38026
- }, this.multiLoopInstance = window.bpmnInstances.bpmnElement.businessObject.loopCharacteristics, businessObject.loopCharacteristics.extensionElements && businessObject.loopCharacteristics.extensionElements.values && businessObject.loopCharacteristics.extensionElements.values.length && this.$set(this.loopInstanceForm, "timeCycle", businessObject.loopCharacteristics.extensionElements.values[0].body);
37473
+ businessObject.loopCharacteristics.isSequential ? this.loopCharacteristics = "SequentialMultiInstance" : this.loopCharacteristics = "ParallelMultiInstance", this.loopInstanceForm = __spreadProps(__spreadValues(__spreadValues({}, this.defaultLoopInstanceForm), businessObject.loopCharacteristics), {
37474
+ completionCondition: (_c = (_b = (_a = businessObject.loopCharacteristics) == null ? void 0 : _a.completionCondition) == null ? void 0 : _b.body) != null ? _c : "",
37475
+ loopCardinality: (_f = (_e = (_d = businessObject.loopCharacteristics) == null ? void 0 : _d.loopCardinality) == null ? void 0 : _e.body) != null ? _f : ""
37476
+ }), this.multiLoopInstance = window.bpmnInstances.bpmnElement.businessObject.loopCharacteristics, businessObject.loopCharacteristics.extensionElements && businessObject.loopCharacteristics.extensionElements.values && businessObject.loopCharacteristics.extensionElements.values.length && this.$set(this.loopInstanceForm, "timeCycle", businessObject.loopCharacteristics.extensionElements.values[0].body);
38027
37477
  },
38028
37478
  changeLoopCharacteristicsType(type2) {
38029
37479
  if (type2 === "Null") {
@@ -38301,7 +37751,7 @@ const __vue2_script$x = {
38301
37751
  this.flowConditionForm = { type: "normal" };
38302
37752
  else {
38303
37753
  const conditionExpression = this.bpmnElement.businessObject.conditionExpression;
38304
- if (this.flowConditionForm = { ...conditionExpression, type: "condition" }, this.flowConditionForm.resource) {
37754
+ if (this.flowConditionForm = __spreadProps(__spreadValues({}, conditionExpression), { type: "condition" }), this.flowConditionForm.resource) {
38305
37755
  this.$set(this.flowConditionForm, "conditionType", "script"), this.$set(this.flowConditionForm, "scriptType", "externalScript");
38306
37756
  return;
38307
37757
  }
@@ -38565,7 +38015,7 @@ const __vue2_script$w = {
38565
38015
  methods: {
38566
38016
  initDataList() {
38567
38017
  this.rootElements = window.bpmnInstances.modeler.getDefinitions().rootElements, this.messageIdMap = {}, this.signalIdMap = {}, this.messageList = [], this.signalList = [], this.rootElements.forEach((el) => {
38568
- el.$type === "bpmn:Message" && (this.messageIdMap[el.id] = !0, this.messageList.push({ ...el })), el.$type === "bpmn:Signal" && (this.signalIdMap[el.id] = !0, this.signalList.push({ ...el }));
38018
+ el.$type === "bpmn:Message" && (this.messageIdMap[el.id] = !0, this.messageList.push(__spreadValues({}, el))), el.$type === "bpmn:Signal" && (this.signalIdMap[el.id] = !0, this.signalList.push(__spreadValues({}, el)));
38569
38019
  });
38570
38020
  },
38571
38021
  openModel(type2) {
@@ -38654,28 +38104,23 @@ function uuid(length = 8, chars) {
38654
38104
  return result2;
38655
38105
  }
38656
38106
  function initListenerForm(listener) {
38657
- let self2 = {
38658
- ...listener
38659
- };
38660
- if (listener.script && (self2 = {
38661
- ...listener,
38662
- ...listener.script,
38107
+ let self = __spreadValues({}, listener);
38108
+ if (listener.script && (self = __spreadProps(__spreadValues(__spreadValues({}, listener), listener.script), {
38663
38109
  scriptType: listener.script.resource ? "externalScript" : "inlineScript"
38664
- }), listener.event === "timeout" && listener.eventDefinitions && listener.eventDefinitions.length) {
38110
+ })), listener.event === "timeout" && listener.eventDefinitions && listener.eventDefinitions.length) {
38665
38111
  let k = "";
38666
38112
  for (const key2 in listener.eventDefinitions[0])
38667
- console.log(listener.eventDefinitions, key2), key2.indexOf("time") !== -1 && (k = key2, self2.eventDefinitionType = key2.replace("time", "").toLowerCase());
38668
- console.log(k), self2.eventTimeDefinitions = listener.eventDefinitions[0][k].body;
38113
+ console.log(listener.eventDefinitions, key2), key2.indexOf("time") !== -1 && (k = key2, self.eventDefinitionType = key2.replace("time", "").toLowerCase());
38114
+ console.log(k), self.eventTimeDefinitions = listener.eventDefinitions[0][k].body;
38669
38115
  }
38670
- return self2;
38116
+ return self;
38671
38117
  }
38672
38118
  function initListenerType(listener) {
38119
+ var _a;
38673
38120
  let listenerType2;
38674
- return listener.class && (listenerType2 = "classListener"), listener.expression && (listenerType2 = "expressionListener"), listener.delegateExpression && (listenerType2 = "delegateExpressionListener"), listener.script && (listenerType2 = "scriptListener"), {
38675
- ...JSON.parse(JSON.stringify(listener)),
38676
- ...listener.script ?? {},
38121
+ return listener.class && (listenerType2 = "classListener"), listener.expression && (listenerType2 = "expressionListener"), listener.delegateExpression && (listenerType2 = "delegateExpressionListener"), listener.script && (listenerType2 = "scriptListener"), __spreadProps(__spreadValues(__spreadValues({}, JSON.parse(JSON.stringify(listener))), (_a = listener.script) != null ? _a : {}), {
38677
38122
  listenerType: listenerType2
38678
- };
38123
+ });
38679
38124
  }
38680
38125
  const listenerType = {
38681
38126
  classListener: "Java 类",
@@ -39305,13 +38750,12 @@ const __vue2_script$v = {
39305
38750
  },
39306
38751
  methods: {
39307
38752
  resetListenersList() {
39308
- var _a, _b, _c;
39309
- this.bpmnElement = window.bpmnInstances.bpmnElement, this.otherExtensionList = [], this.bpmnElementListeners = ((_c = (_b = (_a = this.bpmnElement.businessObject) == null ? void 0 : _a.extensionElements) == null ? void 0 : _b.values) == null ? void 0 : _c.filter((ex) => ex.$type === `${this.prefix}:ExecutionListener`)) ?? [], this.elementListenersList = this.bpmnElementListeners.map((listener) => initListenerType(listener));
38753
+ var _a, _b, _c, _d;
38754
+ this.bpmnElement = window.bpmnInstances.bpmnElement, this.otherExtensionList = [], this.bpmnElementListeners = (_d = (_c = (_b = (_a = this.bpmnElement.businessObject) == null ? void 0 : _a.extensionElements) == null ? void 0 : _b.values) == null ? void 0 : _c.filter((ex) => ex.$type === `${this.prefix}:ExecutionListener`)) != null ? _d : [], this.elementListenersList = this.bpmnElementListeners.map((listener) => initListenerType(listener));
39310
38755
  },
39311
38756
  // 打开 监听器详情 侧边栏
39312
38757
  openListenerForm(listener, index2) {
39313
- listener ? (this.listenerForm = initListenerForm(listener), this.editingListenerIndex = index2) : (this.listenerForm = {}, this.editingListenerIndex = -1), listener && listener.fields ? this.fieldsListOfListener = listener.fields.map((field) => ({
39314
- ...field,
38758
+ listener ? (this.listenerForm = initListenerForm(listener), this.editingListenerIndex = index2) : (this.listenerForm = {}, this.editingListenerIndex = -1), listener && listener.fields ? this.fieldsListOfListener = listener.fields.map((field) => __spreadProps(__spreadValues({}, field), {
39315
38759
  fieldType: field.string ? "string" : "expression"
39316
38760
  })) : (this.fieldsListOfListener = [], this.$set(this.listenerForm, "fields", [])), this.listenerFormModelVisible = !0, this.$nextTick(() => {
39317
38761
  this.$refs.listenerFormRef && this.$refs.listenerFormRef.clearValidate();
@@ -39324,8 +38768,10 @@ const __vue2_script$v = {
39324
38768
  });
39325
38769
  },
39326
38770
  // 保存监听器注入字段
39327
- async saveListenerFiled() {
39328
- await this.$refs.listenerFieldFormRef.validate() && (this.editingListenerFieldIndex === -1 ? (this.fieldsListOfListener.push(this.listenerFieldForm), this.listenerForm.fields.push(this.listenerFieldForm)) : (this.fieldsListOfListener.splice(this.editingListenerFieldIndex, 1, this.listenerFieldForm), this.listenerForm.fields.splice(this.editingListenerFieldIndex, 1, this.listenerFieldForm)), this.listenerFieldFormModelVisible = !1, this.$nextTick(() => this.listenerFieldForm = {}));
38771
+ saveListenerFiled() {
38772
+ return __async(this, null, function* () {
38773
+ (yield this.$refs.listenerFieldFormRef.validate()) && (this.editingListenerFieldIndex === -1 ? (this.fieldsListOfListener.push(this.listenerFieldForm), this.listenerForm.fields.push(this.listenerFieldForm)) : (this.fieldsListOfListener.splice(this.editingListenerFieldIndex, 1, this.listenerFieldForm), this.listenerForm.fields.splice(this.editingListenerFieldIndex, 1, this.listenerFieldForm)), this.listenerFieldFormModelVisible = !1, this.$nextTick(() => this.listenerFieldForm = {}));
38774
+ });
39329
38775
  },
39330
38776
  // 移除监听器字段
39331
38777
  removeListenerField(field, index2) {
@@ -39346,12 +38792,14 @@ const __vue2_script$v = {
39346
38792
  }).catch(() => console.info("操作取消"));
39347
38793
  },
39348
38794
  // 保存监听器配置
39349
- async saveListenerConfig() {
39350
- var _a, _b, _c;
39351
- if (!await this.$refs.listenerFormRef.validate())
39352
- return;
39353
- const listenerObject = createListenerObject(this.listenerForm, !1, this.prefix);
39354
- this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(listenerObject), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, listenerObject), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = ((_c = (_b = (_a = this.bpmnElement.businessObject) == null ? void 0 : _a.extensionElements) == null ? void 0 : _b.values) == null ? void 0 : _c.filter((ex) => ex.$type !== `${this.prefix}:ExecutionListener`)) ?? [], updateElementExtensions(this.bpmnElement, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
38795
+ saveListenerConfig() {
38796
+ return __async(this, null, function* () {
38797
+ var _a, _b, _c, _d;
38798
+ if (!(yield this.$refs.listenerFormRef.validate()))
38799
+ return;
38800
+ const listenerObject = createListenerObject(this.listenerForm, !1, this.prefix);
38801
+ this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(listenerObject), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, listenerObject), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (_d = (_c = (_b = (_a = this.bpmnElement.businessObject) == null ? void 0 : _a.extensionElements) == null ? void 0 : _b.values) == null ? void 0 : _c.filter((ex) => ex.$type !== `${this.prefix}:ExecutionListener`)) != null ? _d : [], updateElementExtensions(this.bpmnElement, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
38802
+ });
39355
38803
  }
39356
38804
  }
39357
38805
  }, __cssModules$v = {};
@@ -39566,8 +39014,8 @@ const __vue2_script$u = {
39566
39014
  },
39567
39015
  methods: {
39568
39016
  resetAttributesList() {
39569
- var _a, _b, _c;
39570
- this.bpmnElement = window.bpmnInstances.bpmnElement, this.otherExtensionList = [], this.bpmnElementProperties = ((_c = (_b = (_a = this.bpmnElement.businessObject) == null ? void 0 : _a.extensionElements) == null ? void 0 : _b.values) == null ? void 0 : _c.filter((ex) => (ex.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(ex), ex.$type === `${this.prefix}:Properties`))) ?? [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce((pre, current) => pre.concat(current.values), []), this.elementPropertyList = JSON.parse(JSON.stringify(this.bpmnElementPropertyList ?? []));
39017
+ var _a, _b, _c, _d, _e;
39018
+ this.bpmnElement = window.bpmnInstances.bpmnElement, this.otherExtensionList = [], this.bpmnElementProperties = (_d = (_c = (_b = (_a = this.bpmnElement.businessObject) == null ? void 0 : _a.extensionElements) == null ? void 0 : _b.values) == null ? void 0 : _c.filter((ex) => (ex.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(ex), ex.$type === `${this.prefix}:Properties`))) != null ? _d : [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce((pre, current) => pre.concat(current.values), []), this.elementPropertyList = JSON.parse(JSON.stringify((_e = this.bpmnElementPropertyList) != null ? _e : []));
39571
39019
  },
39572
39020
  openAttributesForm(attr, index2) {
39573
39021
  this.editingPropertyIndex = index2, this.propertyForm = index2 === -1 ? {} : JSON.parse(JSON.stringify(attr)), this.propertyFormModelVisible = !0, this.$nextTick(() => {
@@ -41130,12 +40578,11 @@ const __vue2_script$s = {
41130
40578
  },
41131
40579
  methods: {
41132
40580
  resetListenersList() {
41133
- var _a, _b, _c;
41134
- this.bpmnElement = window.bpmnInstances.bpmnElement, this.otherExtensionList = [], this.bpmnElementListeners = ((_c = (_b = (_a = this.bpmnElement.businessObject) == null ? void 0 : _a.extensionElements) == null ? void 0 : _b.values) == null ? void 0 : _c.filter((ex) => ex.$type === `${this.prefix}:TaskListener`)) ?? [], this.elementListenersList = this.bpmnElementListeners.map((listener) => initListenerType(listener));
40581
+ var _a, _b, _c, _d;
40582
+ this.bpmnElement = window.bpmnInstances.bpmnElement, this.otherExtensionList = [], this.bpmnElementListeners = (_d = (_c = (_b = (_a = this.bpmnElement.businessObject) == null ? void 0 : _a.extensionElements) == null ? void 0 : _b.values) == null ? void 0 : _c.filter((ex) => ex.$type === `${this.prefix}:TaskListener`)) != null ? _d : [], this.elementListenersList = this.bpmnElementListeners.map((listener) => initListenerType(listener));
41135
40583
  },
41136
40584
  openListenerForm(listener, index2) {
41137
- listener ? (this.listenerForm = initListenerForm(listener), this.editingListenerIndex = index2) : (this.listenerForm = {}, this.editingListenerIndex = -1), listener && listener.fields ? this.fieldsListOfListener = listener.fields.map((field) => ({
41138
- ...field,
40585
+ listener ? (this.listenerForm = initListenerForm(listener), this.editingListenerIndex = index2) : (this.listenerForm = {}, this.editingListenerIndex = -1), listener && listener.fields ? this.fieldsListOfListener = listener.fields.map((field) => __spreadProps(__spreadValues({}, field), {
41139
40586
  fieldType: field.string ? "string" : "expression"
41140
40587
  })) : (this.fieldsListOfListener = [], this.$set(this.listenerForm, "fields", [])), this.listenerFormModelVisible = !0, this.$nextTick(() => {
41141
40588
  this.$refs.listenerFormRef && this.$refs.listenerFormRef.clearValidate();
@@ -41151,12 +40598,14 @@ const __vue2_script$s = {
41151
40598
  }).catch(() => console.info("操作取消"));
41152
40599
  },
41153
40600
  // 保存监听器
41154
- async saveListenerConfig() {
41155
- var _a, _b, _c;
41156
- if (!await this.$refs.listenerFormRef.validate())
41157
- return;
41158
- const listenerObject = createListenerObject(this.listenerForm, !0, this.prefix);
41159
- this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(listenerObject), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, listenerObject), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = ((_c = (_b = (_a = this.bpmnElement.businessObject) == null ? void 0 : _a.extensionElements) == null ? void 0 : _b.values) == null ? void 0 : _c.filter((ex) => ex.$type !== `${this.prefix}:TaskListener`)) ?? [], updateElementExtensions(this.bpmnElement, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
40601
+ saveListenerConfig() {
40602
+ return __async(this, null, function* () {
40603
+ var _a, _b, _c, _d;
40604
+ if (!(yield this.$refs.listenerFormRef.validate()))
40605
+ return;
40606
+ const listenerObject = createListenerObject(this.listenerForm, !0, this.prefix);
40607
+ this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(listenerObject), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, listenerObject), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (_d = (_c = (_b = (_a = this.bpmnElement.businessObject) == null ? void 0 : _a.extensionElements) == null ? void 0 : _b.values) == null ? void 0 : _c.filter((ex) => ex.$type !== `${this.prefix}:TaskListener`)) != null ? _d : [], updateElementExtensions(this.bpmnElement, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
40608
+ });
41160
40609
  },
41161
40610
  // 打开监听器字段编辑弹窗
41162
40611
  openListenerFieldForm(field, index2) {
@@ -41165,8 +40614,10 @@ const __vue2_script$s = {
41165
40614
  });
41166
40615
  },
41167
40616
  // 保存监听器注入字段
41168
- async saveListenerFiled() {
41169
- await this.$refs.listenerFieldFormRef.validate() && (this.editingListenerFieldIndex === -1 ? (this.fieldsListOfListener.push(this.listenerFieldForm), this.listenerForm.fields.push(this.listenerFieldForm)) : (this.fieldsListOfListener.splice(this.editingListenerFieldIndex, 1, this.listenerFieldForm), this.listenerForm.fields.splice(this.editingListenerFieldIndex, 1, this.listenerFieldForm)), this.listenerFieldFormModelVisible = !1, this.$nextTick(() => this.listenerFieldForm = {}));
40617
+ saveListenerFiled() {
40618
+ return __async(this, null, function* () {
40619
+ (yield this.$refs.listenerFieldFormRef.validate()) && (this.editingListenerFieldIndex === -1 ? (this.fieldsListOfListener.push(this.listenerFieldForm), this.listenerForm.fields.push(this.listenerFieldForm)) : (this.fieldsListOfListener.splice(this.editingListenerFieldIndex, 1, this.listenerFieldForm), this.listenerForm.fields.splice(this.editingListenerFieldIndex, 1, this.listenerFieldForm)), this.listenerFieldFormModelVisible = !1, this.$nextTick(() => this.listenerFieldForm = {}));
40620
+ });
41170
40621
  },
41171
40622
  // 移除监听器字段
41172
40623
  removeListenerField(field, index2) {
@@ -41505,8 +40956,9 @@ const __vue2_script$r = {
41505
40956
  },
41506
40957
  // 初始化数据
41507
40958
  initFormOnChanged(element) {
40959
+ var _a;
41508
40960
  let activatedElement = element;
41509
- activatedElement || (activatedElement = window.bpmnInstances.elementRegistry.find((el) => el.type === "bpmn:Process") ?? window.bpmnInstances.elementRegistry.find((el) => el.type === "bpmn:Collaboration")), activatedElement && (debug.call(this, `select element changed: id: ${activatedElement.id} , type: ${activatedElement.businessObject.$type}`), debug.call(this, "businessObject", activatedElement.businessObject), window.bpmnInstances.bpmnElement = activatedElement, this.bpmnElement = activatedElement, this.elementId = activatedElement.id, this.elementType = activatedElement.type.split(":")[1] || "", this.elementBusinessObject = JSON.parse(JSON.stringify(activatedElement.businessObject)), this.conditionFormVisible = !!(this.elementType === "SequenceFlow" && activatedElement.source && activatedElement.source.type.indexOf("StartEvent") === -1), this.formVisible = this.elementType === "UserTask" || this.elementType === "StartEvent");
40961
+ activatedElement || (activatedElement = (_a = window.bpmnInstances.elementRegistry.find((el) => el.type === "bpmn:Process")) != null ? _a : window.bpmnInstances.elementRegistry.find((el) => el.type === "bpmn:Collaboration")), activatedElement && (debug.call(this, `select element changed: id: ${activatedElement.id} , type: ${activatedElement.businessObject.$type}`), debug.call(this, "businessObject", activatedElement.businessObject), window.bpmnInstances.bpmnElement = activatedElement, this.bpmnElement = activatedElement, this.elementId = activatedElement.id, this.elementType = activatedElement.type.split(":")[1] || "", this.elementBusinessObject = JSON.parse(JSON.stringify(activatedElement.businessObject)), this.conditionFormVisible = !!(this.elementType === "SequenceFlow" && activatedElement.source && activatedElement.source.type.indexOf("StartEvent") === -1), this.formVisible = this.elementType === "UserTask" || this.elementType === "StartEvent");
41510
40962
  },
41511
40963
  beforeDestroy() {
41512
40964
  window.bpmnInstances = null;
@@ -42296,8 +41748,10 @@ const SearchPopover_vue_vue_type_style_index_0_lang = "", __vue2_script$m = {
42296
41748
  window.removeEventListener("keydown", this.keydown);
42297
41749
  },
42298
41750
  methods: {
42299
- async onItemClick(item) {
42300
- item.path && (this.hidePopover(), await this.$router.push(item.path));
41751
+ onItemClick(item) {
41752
+ return __async(this, null, function* () {
41753
+ item.path && (this.hidePopover(), yield this.$router.push(item.path));
41754
+ });
42301
41755
  },
42302
41756
  copyEvalResult() {
42303
41757
  return copy(this.evalResult);
@@ -42311,12 +41765,14 @@ const SearchPopover_vue_vue_type_style_index_0_lang = "", __vue2_script$m = {
42311
41765
  mouseHoverItem(item, index2) {
42312
41766
  this.currentIndex = index2;
42313
41767
  },
42314
- async keydown(event2) {
42315
- if (event2.key === "Shift") {
42316
- const cost = Date.now() - this.last;
42317
- cost > 0 && cost < 500 ? (this.showPopover = !0, await this.$nextTick(), this.$refs.searchInput.focus()) : this.last = Date.now();
42318
- }
42319
- this.showPopover === !0 && (event2.key === "Escape" && this.hidePopover(), event2.key === "Enter" && (this.currentItem ? this.currentItem.url ? (window.open(this.currentItem.url, "_blank"), this.hidePopover()) : this.currentItem.path && await this.onItemClick(this.currentItem) : this.copyEvalResult()), event2.key === "ArrowUp" && (this.currentIndex--, this.currentIndex < 0 && (this.currentIndex = this.filterList.length - 1), this.scrollIntoView(this.currentIndex)), event2.key === "ArrowDown" && (this.currentIndex++, this.currentIndex >= this.filterList.length && (this.currentIndex = 0), this.scrollIntoView(this.currentIndex)));
41768
+ keydown(event2) {
41769
+ return __async(this, null, function* () {
41770
+ if (event2.key === "Shift") {
41771
+ const cost = Date.now() - this.last;
41772
+ cost > 0 && cost < 500 ? (this.showPopover = !0, yield this.$nextTick(), this.$refs.searchInput.focus()) : this.last = Date.now();
41773
+ }
41774
+ this.showPopover === !0 && (event2.key === "Escape" && this.hidePopover(), event2.key === "Enter" && (this.currentItem ? this.currentItem.url ? (window.open(this.currentItem.url, "_blank"), this.hidePopover()) : this.currentItem.path && (yield this.onItemClick(this.currentItem)) : this.copyEvalResult()), event2.key === "ArrowUp" && (this.currentIndex--, this.currentIndex < 0 && (this.currentIndex = this.filterList.length - 1), this.scrollIntoView(this.currentIndex)), event2.key === "ArrowDown" && (this.currentIndex++, this.currentIndex >= this.filterList.length && (this.currentIndex = 0), this.scrollIntoView(this.currentIndex)));
41775
+ });
42320
41776
  },
42321
41777
  scrollIntoView(index2) {
42322
41778
  if (index2 === 0) {
@@ -42425,7 +41881,7 @@ const __vue2_script$l = {
42425
41881
  init() {
42426
41882
  this.canvas = this.$refs.canvas;
42427
41883
  const canvas2 = this.canvas, _safe = this;
42428
- typeof document.ontouchstart < "u" ? (canvas2.addEventListener("touchmove", onMouseMove, !1), canvas2.addEventListener("touchstart", onMouseDown, !1), canvas2.addEventListener("touchend", onMouseUp, !1)) : (canvas2.addEventListener("mousemove", onMouseMove, !1), canvas2.addEventListener("mousedown", onMouseDown, !1), canvas2.addEventListener("mouseup", onMouseUp, !1), canvas2.addEventListener("mouseleave", onMouseUp, !1)), this.context = canvas2.getContext("2d");
41884
+ typeof document.ontouchstart != "undefined" ? (canvas2.addEventListener("touchmove", onMouseMove, !1), canvas2.addEventListener("touchstart", onMouseDown, !1), canvas2.addEventListener("touchend", onMouseUp, !1)) : (canvas2.addEventListener("mousemove", onMouseMove, !1), canvas2.addEventListener("mousedown", onMouseDown, !1), canvas2.addEventListener("mouseup", onMouseUp, !1), canvas2.addEventListener("mouseleave", onMouseUp, !1)), this.context = canvas2.getContext("2d");
42429
41885
  const context = this.context;
42430
41886
  this.linex = [], this.liney = [], this.linen = [];
42431
41887
  let lastX = 1, lastY = 30, flag = 0;
@@ -42963,8 +42419,10 @@ const SplitPane_vue_vue_type_style_index_0_lang = "", __vue2_script$i = {
42963
42419
  watch: {
42964
42420
  value: "resetOffset"
42965
42421
  },
42966
- async mounted() {
42967
- await this.$nextTick(), this.resetOffset();
42422
+ mounted() {
42423
+ return __async(this, null, function* () {
42424
+ yield this.$nextTick(), this.resetOffset();
42425
+ });
42968
42426
  },
42969
42427
  methods: {
42970
42428
  resetOffset() {
@@ -43241,15 +42699,19 @@ const Swiper_vue_vue_type_style_index_0_lang = "", __vue2_script$f = {
43241
42699
  }
43242
42700
  };
43243
42701
  },
43244
- async mounted() {
43245
- await this.layout();
42702
+ mounted() {
42703
+ return __async(this, null, function* () {
42704
+ yield this.layout();
42705
+ });
43246
42706
  },
43247
42707
  updated() {
43248
42708
  this.computeContentWidth();
43249
42709
  },
43250
42710
  methods: {
43251
- async layout() {
43252
- await this.$nextTick(), this.computeContentWidth(), this.resize();
42711
+ layout() {
42712
+ return __async(this, null, function* () {
42713
+ yield this.$nextTick(), this.computeContentWidth(), this.resize();
42714
+ });
43253
42715
  },
43254
42716
  resize() {
43255
42717
  console.log(1), this.swiperBoxWith = this.$refs.swiperBox.offsetWidth;
@@ -43393,7 +42855,7 @@ const Swiper = /* @__PURE__ */ function() {
43393
42855
  this.$parent.$emit("on-before-index-change", this.currentIndex);
43394
42856
  return;
43395
42857
  }
43396
- (typeof this.disabled > "u" || this.disabled === !1) && (this.currentSelected = !0, this.$parent.currentIndex = this.currentIndex, this.$nextTick(() => {
42858
+ (typeof this.disabled == "undefined" || this.disabled === !1) && (this.currentSelected = !0, this.$parent.currentIndex = this.currentIndex, this.$nextTick(() => {
43397
42859
  this.$emit("on-item-click", this.currentIndex);
43398
42860
  }));
43399
42861
  }
@@ -43567,7 +43029,7 @@ var render$a = function() {
43567
43029
  on: {
43568
43030
  click: _vm.onItemClick
43569
43031
  }
43570
- }, [_vm._t("default"), typeof _vm.badgeLabel < "u" && _vm.badgeLabel !== "" ? _c("span", {
43032
+ }, [_vm._t("default"), typeof _vm.badgeLabel != "undefined" && _vm.badgeLabel !== "" ? _c("span", {
43571
43033
  staticClass: "vux-tab-item-badge",
43572
43034
  style: {
43573
43035
  background: _vm.badgeBackground,
@@ -43682,13 +43144,11 @@ const TabItem = /* @__PURE__ */ function() {
43682
43144
  functional: !0,
43683
43145
  mixins: [tableColumnProps],
43684
43146
  render(createElement, { data: data2, props: props2, children }) {
43685
- return createElement("ElTableColumn", {
43686
- ...data2,
43687
- props: {
43688
- ...props2,
43147
+ return createElement("ElTableColumn", __spreadProps(__spreadValues({}, data2), {
43148
+ props: __spreadProps(__spreadValues({}, props2), {
43689
43149
  showOverflowTooltip: ["selection", "single-selection", "index", "expand"].includes(props2.type) ? !1 : props2.showOverflowTooltip
43690
- }
43691
- }, children);
43150
+ })
43151
+ }), children);
43692
43152
  }
43693
43153
  };
43694
43154
  let __vue2_render$2, __vue2_staticRenderFns$2;
@@ -44102,8 +43562,10 @@ const TableView_vue_vue_type_style_index_0_lang = "", builtInButtons = ["back",
44102
43562
  created() {
44103
43563
  this._viewIds = [], this.viewId && this._viewIds.push(this.viewId), this._viewIds.includes(this.$parent.$options.name) || this._viewIds.push(this.$parent.$options.name);
44104
43564
  },
44105
- async activated() {
44106
- this.$refs.treeScroller && (this.treeScrollTop && (this.$refs.treeScroller.scrollTop = this.treeScrollTop), this.treeScrollLeft && (this.$refs.treeScroller.scrollLeft = this.treeScrollLeft));
43565
+ activated() {
43566
+ return __async(this, null, function* () {
43567
+ this.$refs.treeScroller && (this.treeScrollTop && (this.$refs.treeScroller.scrollTop = this.treeScrollTop), this.treeScrollLeft && (this.$refs.treeScroller.scrollLeft = this.treeScrollLeft));
43568
+ });
44107
43569
  },
44108
43570
  methods: {
44109
43571
  onTreeScroll() {
@@ -44112,11 +43574,15 @@ const TableView_vue_vue_type_style_index_0_lang = "", builtInButtons = ["back",
44112
43574
  toggleSearch() {
44113
43575
  this.right = this.right === 0 ? -this.searchPanelProps.width : 0;
44114
43576
  },
44115
- async onSearchClick() {
44116
- this.$refs.table.setModel(this.searchModel || this.searchPanelProps.model), await this.refreshTable();
43577
+ onSearchClick() {
43578
+ return __async(this, null, function* () {
43579
+ this.$refs.table.setModel(this.searchModel || this.searchPanelProps.model), yield this.refreshTable();
43580
+ });
44117
43581
  },
44118
- async onClearClick() {
44119
- this.$emit("reset"), this.$refs.form.resetFields(), this.$refs.table.setModel(this.searchModel || this.searchPanelProps.model), await this.refreshTable();
43582
+ onClearClick() {
43583
+ return __async(this, null, function* () {
43584
+ this.$emit("reset"), this.$refs.form.resetFields(), this.$refs.table.setModel(this.searchModel || this.searchPanelProps.model), yield this.refreshTable();
43585
+ });
44120
43586
  },
44121
43587
  openFrom(row2) {
44122
43588
  this.$router.push(fillPath(this.formPath, row2));
@@ -44132,41 +43598,45 @@ const TableView_vue_vue_type_style_index_0_lang = "", builtInButtons = ["back",
44132
43598
  var _a;
44133
43599
  !((_a = this.toolbarListeners) != null && _a.create) && this.formPath && this.openFrom();
44134
43600
  },
44135
- async del() {
44136
- var _a;
44137
- const api = this.deleteApi || this.$parent.del;
44138
- if (!((_a = this.toolbarListeners) != null && _a.del) && isFunction(api)) {
44139
- if (!this.selectedRows.length) {
44140
- this.$message.warning("请选择要删除的记录!");
44141
- return;
44142
- }
44143
- await this.$confirm(
44144
- `您确定要删除选中的[<span class="break-word" style="color: orange">${this.selectedRows.length}</span>]行记录吗?`,
44145
- "系统提示",
44146
- {
44147
- type: "warning",
44148
- modal: !0,
44149
- dangerouslyUseHTMLString: !0,
44150
- closeOnClickModal: !1,
44151
- beforeClose: async (action, instance, done) => {
44152
- if (action === "confirm")
44153
- try {
44154
- instance.confirmButtonLoading = !0, instance.confirmButtonText = "删除...", await api.call(this, this.selectedRows.map((value2) => value2.id).join(",")), this.$message.success("删除成功"), await this.reloadTable(), await this.refreshTree();
44155
- } catch {
44156
- }
44157
- done();
44158
- }
43601
+ del() {
43602
+ return __async(this, null, function* () {
43603
+ var _a;
43604
+ const api = this.deleteApi || this.$parent.del;
43605
+ if (!((_a = this.toolbarListeners) != null && _a.del) && isFunction(api)) {
43606
+ if (!this.selectedRows.length) {
43607
+ this.$message.warning("请选择要删除的记录!");
43608
+ return;
44159
43609
  }
44160
- ).catch((_) => _);
44161
- }
43610
+ yield this.$confirm(
43611
+ `您确定要删除选中的[<span class="break-word" style="color: orange">${this.selectedRows.length}</span>]行记录吗?`,
43612
+ "系统提示",
43613
+ {
43614
+ type: "warning",
43615
+ modal: !0,
43616
+ dangerouslyUseHTMLString: !0,
43617
+ closeOnClickModal: !1,
43618
+ beforeClose: (action, instance, done) => __async(this, null, function* () {
43619
+ if (action === "confirm")
43620
+ try {
43621
+ instance.confirmButtonLoading = !0, instance.confirmButtonText = "删除...", yield api.call(this, this.selectedRows.map((value2) => value2.id).join(",")), this.$message.success("删除成功"), yield this.reloadTable(), yield this.refreshTree();
43622
+ } catch (_) {
43623
+ }
43624
+ done();
43625
+ })
43626
+ }
43627
+ ).catch((_) => _);
43628
+ }
43629
+ });
44162
43630
  },
44163
43631
  reloadTable() {
44164
43632
  var _a;
44165
43633
  (_a = this.$refs.table) == null || _a.reload();
44166
43634
  },
44167
- async refreshTable() {
44168
- var _a;
44169
- await ((_a = this.$refs.table) == null ? void 0 : _a.getPage());
43635
+ refreshTable() {
43636
+ return __async(this, null, function* () {
43637
+ var _a;
43638
+ yield (_a = this.$refs.table) == null ? void 0 : _a.getPage();
43639
+ });
44170
43640
  },
44171
43641
  refreshTree() {
44172
43642
  this.$refs.tree.reloadTree();
@@ -44252,7 +43722,7 @@ const TagRender_vue_vue_type_style_index_0_lang = "", __vue2_script$9 = {
44252
43722
  computed: {
44253
43723
  internalTags() {
44254
43724
  return this.transfer ? this.tags.map((value2) => {
44255
- const temp = { ...value2 };
43725
+ const temp = __spreadValues({}, value2);
44256
43726
  return this.transfer(temp);
44257
43727
  }) : this.tags;
44258
43728
  }
@@ -44526,14 +43996,16 @@ const TinymceEditor_vue_vue_type_style_index_0_lang = "", __vue2_script$7 = {
44526
43996
  getEditor() {
44527
43997
  return this.$refs.editor.$refs.editor.editor;
44528
43998
  },
44529
- async onEditorShadowClick() {
44530
- if (this.inputDisabled)
44531
- return;
44532
- this.focus = !0, await this.$nextTick();
44533
- const editor = this.getEditor();
44534
- editor.focus();
44535
- const body = editor.getBody();
44536
- editor.selection.setCursorLocation(body, body.childNodes.length);
43999
+ onEditorShadowClick() {
44000
+ return __async(this, null, function* () {
44001
+ if (this.inputDisabled)
44002
+ return;
44003
+ this.focus = !0, yield this.$nextTick();
44004
+ const editor = this.getEditor();
44005
+ editor.focus();
44006
+ const body = editor.getBody();
44007
+ editor.selection.setCursorLocation(body, body.childNodes.length);
44008
+ });
44537
44009
  },
44538
44010
  insertContent(content) {
44539
44011
  this.getEditor().insertContent(content);
@@ -45054,10 +44526,9 @@ const __vue2_script$6 = {
45054
44526
  }), buttons.forEach((btn) => {
45055
44527
  btn.icon = ` ${btn.icon}`;
45056
44528
  const { onclick } = btn;
45057
- editor.addButton(btn.name, {
45058
- ...btn,
44529
+ editor.addButton(btn.name, __spreadProps(__spreadValues({}, btn), {
45059
44530
  onclick: () => onclick(editor)
45060
- });
44531
+ }));
45061
44532
  });
45062
44533
  const uploadButton = {
45063
44534
  icon: " el-icon-picture",
@@ -45065,10 +44536,9 @@ const __vue2_script$6 = {
45065
44536
  title: "上传图片",
45066
44537
  onclick: this.upload
45067
44538
  };
45068
- editor.addButton(uploadButton.name, {
45069
- ...uploadButton,
44539
+ editor.addButton(uploadButton.name, __spreadProps(__spreadValues({}, uploadButton), {
45070
44540
  onclick: () => uploadButton.onclick(editor)
45071
- });
44541
+ }));
45072
44542
  },
45073
44543
  toolbar,
45074
44544
  placeholder: "在这里输入文字",
@@ -45320,12 +44790,12 @@ const TinymceWrapper = /* @__PURE__ */ function() {
45320
44790
  createButton
45321
44791
  } = this;
45322
44792
  return ((_b = (_a = this.$scopedSlots)["toolbar-left"]) == null ? void 0 : _b.call(_a)) || this.buttons.map((key2) => {
45323
- var _a2, _b2, _c, _d;
44793
+ var _a2, _b2, _c, _d, _e;
45324
44794
  const button = builtinButtons[key2];
45325
- return button ? ((_b2 = (_a2 = this.$scopedSlots)[key2]) == null ? void 0 : _b2.call(_a2)) || createButton(key2, button) : key2 === "slot" ? ((_d = (_c = this.$scopedSlots).default) == null ? void 0 : _d.call(_c, {
44795
+ return button ? ((_b2 = (_a2 = this.$scopedSlots)[key2]) == null ? void 0 : _b2.call(_a2)) || createButton(key2, button) : key2 === "slot" && (_e = (_d = (_c = this.$scopedSlots).default) == null ? void 0 : _d.call(_c, {
45326
44796
  buttons: this.buttons,
45327
44797
  footer: this.footer
45328
- })) ?? null : null;
44798
+ })) != null ? _e : null;
45329
44799
  });
45330
44800
  },
45331
44801
  getRightButtons() {
@@ -45427,15 +44897,17 @@ const ToolbarButton_vue_vue_type_style_index_0_lang = "", __vue2_script$4 = {
45427
44897
  };
45428
44898
  },
45429
44899
  methods: {
45430
- async onClick(e2) {
45431
- this.loading = !0;
45432
- const { click } = this.$listeners;
45433
- if (isFunction(click))
45434
- try {
45435
- await click(e2);
45436
- } catch {
45437
- }
45438
- this.loading = !1;
44900
+ onClick(e2) {
44901
+ return __async(this, null, function* () {
44902
+ this.loading = !0;
44903
+ const { click } = this.$listeners;
44904
+ if (isFunction(click))
44905
+ try {
44906
+ yield click(e2);
44907
+ } catch (e3) {
44908
+ }
44909
+ this.loading = !1;
44910
+ });
45439
44911
  }
45440
44912
  }
45441
44913
  }, __cssModules$4 = {};
@@ -46199,11 +45671,9 @@ const VueTagsInput = /* @__PURE__ */ function() {
46199
45671
  const context2D = canvas2.getContext("2d");
46200
45672
  return context2D.font = "15px Verdana", context2D.fillStyle = backgroundColor, context2D.fillRect(0, 0, width, height), context2D.translate(width / 2, height / 2), context2D.rotate(rotate * Math.PI / 180), context2D.fillStyle = color, context2D.textAlign = "center", context2D.textBaseline = "middle", context2D.fillText(text, 0, 0), h("div", {
46201
45673
  class: getClass(data2.class, `watermark ${data2.staticClass || ""}`),
46202
- style: {
46203
- ...data2.style || {},
46204
- ...data2.staticStyle || {},
45674
+ style: __spreadProps(__spreadValues(__spreadValues({}, data2.style || {}), data2.staticStyle || {}), {
46205
45675
  background: `url(${canvas2.toDataURL("image/png")}) left top repeat`
46206
- }
45676
+ })
46207
45677
  });
46208
45678
  }
46209
45679
  };
@@ -46225,7 +45695,7 @@ function __vue2_injectStyles(context) {
46225
45695
  }
46226
45696
  const Watermark = /* @__PURE__ */ function() {
46227
45697
  return __component__.exports;
46228
- }(), version = "2.7.21";
45698
+ }(), version = "2.7.28";
46229
45699
  function index(Vue2) {
46230
45700
  Vue2.component(AddressInput.name, AddressInput), Vue2.component(Affix.name, Affix), Vue2.component(AsideMenu.name, AsideMenu), Vue2.component(Avatar.name, Avatar), Vue2.component(AwesomeButton.name, AwesomeButton), Vue2.component(CapsuleTab.name, CapsuleTab), Vue2.component(Card.name, Card), Vue2.component(Carousel.name, Carousel), Vue2.component(Chat.name, Chat), Vue2.component(ChunkFileUploader.name, ChunkFileUploader), Vue2.component(ChunkFileUploaderButton.name, ChunkFileUploaderButton), Vue2.component(ChunkFileUploaderDrop.name, ChunkFileUploaderDrop), Vue2.component(ChunkFileUploaderFile.name, ChunkFileUploaderFile), Vue2.component(ChunkFileUploaderFiles.name, ChunkFileUploaderFiles), Vue2.component(ChunkFileUploaderList.name, ChunkFileUploaderList), Vue2.component(ChunkFileUploaderUnSupport.name, ChunkFileUploaderUnSupport), Vue2.component(CodeMirrorEditor.name, CodeMirrorEditor), Vue2.component(ColorPicker.name, ColorPicker), Vue2.component(Column.name, Column), Vue2.component(ColumnDefault.name, ColumnDefault), Vue2.component(ColumnDynamic.name, ColumnDynamic), Vue2.component(ColumnMenu.name, ColumnMenu), Vue2.component(ColumnSlot.name, ColumnSlot), Vue2.component(Comment.name, Comment), Vue2.component(Confirmable.name, Confirmable), Vue2.component(ConfirmButton.name, ConfirmButton), Vue2.component(ContextMenu.name, ContextMenu), Vue2.component(CountUp.name, CountUp), Vue2.component(CustomScrollbar.name, CustomScrollbar), Vue2.component(DataBox.name, DataBox), Vue2.component(DataCard.name, DataCard), Vue2.component(DataCardtext.name, DataCardtext), Vue2.component(DataDisplay.name, DataDisplay), Vue2.component(DataIcons.name, DataIcons), Vue2.component(DataImgtext.name, DataImgtext), Vue2.component(DataOperatext.name, DataOperatext), Vue2.component(DataPanel.name, DataPanel), Vue2.component(DataPay.name, DataPay), Vue2.component(DataPrice.name, DataPrice), Vue2.component(DataProgress.name, DataProgress), Vue2.component(DataRotate.name, DataRotate), Vue2.component(DataTablePicker.name, DataTablePicker), Vue2.component(DataTabs.name, DataTabs), Vue2.component(DialogColumn.name, DialogColumn), Vue2.component(DialogExcel.name, DialogExcel), Vue2.component(DialogFilter.name, DialogFilter), Vue2.component(DialogForm.name, DialogForm), Vue2.component(DynamicTable.name, DynamicTable), Vue2.component(EasyPopup.name, EasyPopup), Vue2.component(ECharts.name, ECharts), Vue2.component(EditableProgress.name, EditableProgress), Vue2.component(EditableTree.name, EditableTree), Vue2.component(EgdCollapse.name, EgdCollapse), Vue2.component(EgdCollapseItem.name, EgdCollapseItem), Vue2.component(ElementDialog.name, ElementDialog), Vue2.component(EmptyView.name, EmptyView), Vue2.component(ErrorView.name, ErrorView), Vue2.component(FlexColumn.name, FlexColumn), Vue2.component(FlexItem.name, FlexItem), Vue2.component(FlexRow.name, FlexRow), Vue2.component(FlexScroller.name, FlexScroller), Vue2.component(Flow.name, Flow), Vue2.component(FlowNode.name, FlowNode), Vue2.component(FlowViewer.name, FlowViewer), Vue2.component(FormButton.name, FormButton), Vue2.component(FormCascader.name, FormCascader), Vue2.component(FormCheckboxGroup.name, FormCheckboxGroup), Vue2.component(FormDatePicker.name, FormDatePicker), Vue2.component(FormGroup.name, FormGroup), Vue2.component(FormHolder.name, FormHolder), Vue2.component(FormInput.name, FormInput), Vue2.component(FormInputEmail.name, FormInputEmail), Vue2.component(FormInputIdCard.name, FormInputIdCard), Vue2.component(FormInputNumber.name, FormInputNumber), Vue2.component(FormInputPhoneNumber.name, FormInputPhoneNumber), Vue2.component(FormInputTime.name, FormInputTime), Vue2.component(FormItem.name, FormItem), Vue2.component(FormItemConfigProvider.name, FormItemConfigProvider), Vue2.component(FormItemGroup.name, FormItemGroup), Vue2.component(FormRadioGroup.name, FormRadioGroup), Vue2.component(FormSelect.name, FormSelect), Vue2.component(FormSwitch.name, FormSwitch), Vue2.component(FormTemp.name, FormTemp), Vue2.component(FormTextarea.name, FormTextarea), Vue2.component(FormView.name, FormView), Vue2.component(FyArray.name, FyArray), Vue2.component(FyArticle.name, FyArticle), Vue2.component(FyCascader.name, FyCascader), Vue2.component(FyCheckbox.name, FyCheckbox), Vue2.component(FyCode.name, FyCode), Vue2.component(FyCurd.name, FyCurd), Vue2.component(FyDate.name, FyDate), Vue2.component(FyDialogForm.name, FyDialogForm), Vue2.component(FyDraggable.name, FyDraggable), Vue2.component(FyDynamic.name, FyDynamic), Vue2.component(FyEmpty.name, FyEmpty), Vue2.component(FyForm.name, FyForm), Vue2.component(FyFormDesign.name, FyFormDesign), Vue2.component(FyFormMenu.name, FyFormMenu), Vue2.component(FyInput.name, FyInput), Vue2.component(FyInputColor.name, FyInputColor), Vue2.component(FyInputIcon.name, FyInputIcon), Vue2.component(FyInputMap.name, FyInputMap), Vue2.component(FyInputNumber.name, FyInputNumber), Vue2.component(FyInputTable.name, FyInputTable), Vue2.component(FyInputTree.name, FyInputTree), Vue2.component(FyProgress.name, FyProgress), Vue2.component(FyRadio.name, FyRadio), Vue2.component(FyRate.name, FyRate), Vue2.component(FySelect.name, FySelect), Vue2.component(FySlider.name, FySlider), Vue2.component(FySwitch.name, FySwitch), Vue2.component(FyTabs.name, FyTabs), Vue2.component(FyTime.name, FyTime), Vue2.component(FyTitle.name, FyTitle), Vue2.component(FyTree.name, FyTree), Vue2.component(FyUEditor.name, FyUEditor), Vue2.component(FyUpload.name, FyUpload), Vue2.component(GuideSteps.name, GuideSteps), Vue2.component(HeaderMenu.name, HeaderMenu), Vue2.component(HeaderSearch.name, HeaderSearch), Vue2.component(HighlightJS.name, HighlightJS), Vue2.component(IconCard.name, IconCard), Vue2.component(IconTemp.name, IconTemp), Vue2.component(IframeWindow.name, IframeWindow), Vue2.component(ImageCropper.name, ImageCropper), Vue2.component(ImagePreview.name, ImagePreview), Vue2.component(ImageViewer.name, ImageViewer), Vue2.component(InputNumber.name, InputNumber), Vue2.component(InputNumberRange.name, InputNumberRange), Vue2.component(JSXComponent.name, JSXComponent), Vue2.component(KeepViewAlive.name, KeepViewAlive), Vue2.component(Keyboard.name, Keyboard), Vue2.component(License.name, License), Vue2.component(LoadingView.name, LoadingView), Vue2.component(Login.name, Login), Vue2.component(NameAvatar.name, NameAvatar), Vue2.component(NavBar.name, NavBar), Vue2.component(Notice.name, Notice), Vue2.component(NotImplement.name, NotImplement), Vue2.component(Page.name, Page), Vue2.component(PageableTable.name, PageableTable), Vue2.component(PageableView.name, PageableView), Vue2.component(PageHeader.name, PageHeader), Vue2.component(PageIndex.name, PageIndex), Vue2.component(PageIndexTop.name, PageIndexTop), Vue2.component(PageSkeleton.name, PageSkeleton), Vue2.component(PageSkeletonNew.name, PageSkeletonNew), Vue2.component(PhotoSwipe.name, PhotoSwipe), Vue2.component(ProcessDesigner.name, ProcessDesigner), Vue2.component(PropertiesPanel.name, PropertiesPanel), Vue2.component(Queue.name, Queue), Vue2.component(RecordVideo.name, RecordVideo), Vue2.component(ResizeObserver.name, ResizeObserver), Vue2.component(Search.name, Search), Vue2.component(SearchPopover.name, SearchPopover), Vue2.component(Sign.name, Sign), Vue2.component(SignPanel.name, SignPanel), Vue2.component(Skeleton.name, Skeleton), Vue2.component(SplitPane.name, SplitPane), Vue2.component(Stateful.name, Stateful), Vue2.component(StaticPageableTable.name, StaticPageableTable), Vue2.component(Swiper.name, Swiper), Vue2.component(Tab.name, Tab), Vue2.component(TabItem.name, TabItem), Vue2.component(TableColumn.name, TableColumn), Vue2.component(TablePage.name, TablePage), Vue2.component(TableView.name, TableView), Vue2.component(TagRender.name, TagRender), Vue2.component(TextEllipsis.name, TextEllipsis), Vue2.component(TinymceEditor.name, TinymceEditor), Vue2.component(TinymceWrapper.name, TinymceWrapper), Vue2.component(Toolbar.name, Toolbar), Vue2.component(ToolbarButton.name, ToolbarButton), Vue2.component(Trigger.name, Trigger), Vue2.component(Verify.name, Verify), Vue2.component(VueTagsInput.name, VueTagsInput), Vue2.component(Watermark.name, Watermark);
46231
45701
  }