agilebuilder-ui 1.1.65-tmp15 → 1.1.65-tmp17

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 (444) hide show
  1. package/lib/IntervalSelection/index.js +5 -7
  2. package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
  3. package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
  4. package/lib/_virtual/__vite-browser-external.js +2 -4
  5. package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
  6. package/lib/breadcrumb/index.js +3 -5
  7. package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
  8. package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
  9. package/lib/chat-embed/index.js +3 -5
  10. package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
  11. package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
  12. package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
  13. package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
  14. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
  15. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
  16. package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
  17. package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
  18. package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
  19. package/lib/chat-embed/src/chat-embed-message.js +14 -20
  20. package/lib/chat-embed/src/chat-sender.vue.js +5 -7
  21. package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
  22. package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
  23. package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
  24. package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
  25. package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
  26. package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
  27. package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
  28. package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
  29. package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
  30. package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
  31. package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
  32. package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
  33. package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
  34. package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
  35. package/lib/chat-embed/src/header.vue.js +5 -7
  36. package/lib/chat-embed/src/header.vue2.js +25 -32
  37. package/lib/chat-embed/src/header.vue3.js +2 -4
  38. package/lib/chat-embed/src/index.vue.js +5 -7
  39. package/lib/chat-embed/src/index.vue2.js +185 -211
  40. package/lib/chat-embed/src/index.vue3.js +2 -4
  41. package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
  42. package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
  43. package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
  44. package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
  45. package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
  46. package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
  47. package/lib/chat-embed/src/type.js +3 -5
  48. package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
  49. package/lib/chat-embed/src/util/history-message-util.js +63 -85
  50. package/lib/chat-embed/src/util/mcp-utils.js +5 -8
  51. package/lib/chat-embed/src/util/text-file-util.js +7 -11
  52. package/lib/chat-embed/src/voice/index.js +5 -7
  53. package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
  54. package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
  55. package/lib/chat-embed/src/voice/js/timer.js +7 -10
  56. package/lib/chat-embed/src/voice/voice.vue.js +61 -70
  57. package/lib/date-picker-range/index.js +5 -7
  58. package/lib/date-picker-range/index.vue.js +5 -7
  59. package/lib/date-picker-range/index.vue2.js +59 -63
  60. package/lib/date-picker-range/index.vue3.js +2 -4
  61. package/lib/department-tree/index.js +3 -5
  62. package/lib/department-tree/src/department-tree.vue.js +11 -17
  63. package/lib/department-tree-inline/index.js +3 -5
  64. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
  65. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
  66. package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
  67. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
  68. package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
  69. package/lib/department-tree-inline/src/department-tree-service.js +8 -10
  70. package/lib/department-tree-inline/src/search-result.vue.js +19 -23
  71. package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
  72. package/lib/department-tree-mobile/index.js +4 -7
  73. package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
  74. package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
  75. package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
  76. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
  77. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
  78. package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
  79. package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
  80. package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
  81. package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
  82. package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
  83. package/lib/department-user-tree/index.js +3 -5
  84. package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
  85. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
  86. package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
  87. package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
  88. package/lib/department-user-tree-inline/index.js +3 -5
  89. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
  90. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
  91. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
  92. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
  93. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
  94. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
  95. package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
  96. package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
  97. package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
  98. package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
  99. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
  100. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
  101. package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
  102. package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
  103. package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
  104. package/lib/department-user-tree-mobile/index.js +4 -7
  105. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
  106. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
  107. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
  108. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
  109. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
  110. package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
  111. package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
  112. package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
  113. package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
  114. package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
  115. package/lib/directives/prevent-reclick.js +2 -3
  116. package/lib/dynamic-source-select/index.js +5 -7
  117. package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
  118. package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
  119. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
  120. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
  121. package/lib/dynamic-source-select/src/events.js +2 -3
  122. package/lib/empty-state/index.vue.js +5 -8
  123. package/lib/empty-state/index.vue2.js +3 -4
  124. package/lib/fs-preview/index.js +5 -7
  125. package/lib/fs-preview/src/fs-preview.vue.js +63 -72
  126. package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
  127. package/lib/fs-upload/index.js +5 -7
  128. package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
  129. package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
  130. package/lib/fs-upload/src/fs-upload.vue.js +10 -16
  131. package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
  132. package/lib/fs-upload-list/index.js +5 -7
  133. package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
  134. package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
  135. package/lib/fs-upload-new/index.js +5 -7
  136. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
  137. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
  138. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
  139. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
  140. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
  141. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
  142. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
  143. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
  144. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
  145. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
  146. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
  147. package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
  148. package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
  149. package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
  150. package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
  151. package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
  152. package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
  153. package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
  154. package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
  155. package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
  156. package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
  157. package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
  158. package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
  159. package/lib/hamburger/index.js +3 -5
  160. package/lib/hamburger/src/hamburger.vue.js +10 -14
  161. package/lib/hamburger/src/hamburger.vue2.js +2 -4
  162. package/lib/index.js +40 -382
  163. package/lib/json-view/json-view-dialog.vue.js +12 -15
  164. package/lib/json-view/json-view-dialog.vue2.js +3 -4
  165. package/lib/json-view/json-view.vue.js +3 -4
  166. package/lib/json-view/json-view.vue2.js +27 -31
  167. package/lib/multipart-upload/index.js +5 -7
  168. package/lib/multipart-upload/src/index.vue.js +7 -11
  169. package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
  170. package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
  171. package/lib/organization-input/index.js +5 -7
  172. package/lib/organization-input/src/organization-input.vue.js +31 -37
  173. package/lib/organization-input/src/organization-input.vue2.js +2 -4
  174. package/lib/plugins/export-data-new.js +96 -104
  175. package/lib/plugins/export-data.js +45 -51
  176. package/lib/plugins/index.js +4 -8
  177. package/lib/plugins/public-method.js +2 -3
  178. package/lib/remove-department/index.js +3 -5
  179. package/lib/remove-department/src/remove-department.vue.js +13 -19
  180. package/lib/remove-department/src/remove-dept-service.js +9 -10
  181. package/lib/remove-user/index.js +5 -7
  182. package/lib/remove-user/src/remove-user-service.js +3 -4
  183. package/lib/remove-user/src/remove-user.vue.js +16 -22
  184. package/lib/remove-workgroup/index.js +5 -7
  185. package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
  186. package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
  187. package/lib/rich-editor/index.js +5 -7
  188. package/lib/rich-editor/index.vue.js +28 -76
  189. package/lib/rich-editor/tinymce/zh_CN.js +2 -2
  190. package/lib/rich-editor/viewer.vue.js +7 -10
  191. package/lib/row-form/index.js +5 -7
  192. package/lib/row-form/index.vue.js +5 -7
  193. package/lib/row-form/index.vue2.js +41 -47
  194. package/lib/row-form/index.vue3.js +2 -4
  195. package/lib/row-form/operation.vue.js +22 -26
  196. package/lib/row-form/operation.vue2.js +3 -4
  197. package/lib/scan-code-input/index.js +5 -7
  198. package/lib/scan-code-input/src/events.js +11 -13
  199. package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
  200. package/lib/scan-code-input-browser/index.js +5 -7
  201. package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
  202. package/lib/secret-info/index.js +5 -7
  203. package/lib/secret-info/index.vue.js +6 -9
  204. package/lib/src/api/sso-service.js +34 -36
  205. package/lib/src/api/tab.js +8 -9
  206. package/lib/src/assets/401/401.gif.js +2 -4
  207. package/lib/src/assets/404/404-cloud.png.js +2 -4
  208. package/lib/src/assets/404/404.png.js +2 -4
  209. package/lib/src/assets/chat-embed/robot.gif.js +2 -4
  210. package/lib/src/assets/chat-embed/robot.svg.js +2 -4
  211. package/lib/src/assets/nonemessage.png.js +2 -4
  212. package/lib/src/components/Affix/index.vue.js +5 -7
  213. package/lib/src/components/Affix/index.vue2.js +56 -58
  214. package/lib/src/components/Affix/index.vue3.js +2 -4
  215. package/lib/src/components/Card/index.js +33 -38
  216. package/lib/src/components/Scrollbar/index.vue.js +33 -37
  217. package/lib/src/components/Scrollbar/index.vue2.js +2 -4
  218. package/lib/src/directives/permission/index.js +3 -5
  219. package/lib/src/directives/permission/permission.js +7 -9
  220. package/lib/src/i18n/i18n.js +3 -7
  221. package/lib/src/i18n/langs/cn.js +2 -4
  222. package/lib/src/i18n/langs/en.js +2 -4
  223. package/lib/src/mixins/resizeMixin.js +2 -3
  224. package/lib/src/permission.js +43 -46
  225. package/lib/src/router/index.js +16 -9
  226. package/lib/src/store/getters.js +2 -4
  227. package/lib/src/store/index.js +16 -13
  228. package/lib/src/store/modules/app.js +3 -4
  229. package/lib/src/store/modules/chat-ai-store.js +19 -22
  230. package/lib/src/store/modules/permission.js +10 -11
  231. package/lib/src/store/modules/system.js +7 -9
  232. package/lib/src/store/modules/tab-content.js +13 -15
  233. package/lib/src/store/modules/table.js +2 -3
  234. package/lib/src/store/modules/user.js +89 -95
  235. package/lib/src/utils/auth-api.js +3 -5
  236. package/lib/src/utils/auth.js +69 -139
  237. package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
  238. package/lib/src/utils/calculator/calculator-factory.js +57 -58
  239. package/lib/src/utils/calculator/calculator-util.js +29 -32
  240. package/lib/src/utils/chat-ai-util.js +17 -25
  241. package/lib/src/utils/common-util.js +271 -356
  242. package/lib/src/utils/eventBus.js +3 -6
  243. package/lib/src/utils/file-util.js +15 -16
  244. package/lib/src/utils/global-prop.js +21 -37
  245. package/lib/src/utils/guid.js +5 -8
  246. package/lib/src/utils/i18n-util.js +16 -24
  247. package/lib/src/utils/iconUtils.js +16 -23
  248. package/lib/src/utils/index.js +26 -40
  249. package/lib/src/utils/insert_css.js +8 -7
  250. package/lib/src/utils/json-util.js +25 -27
  251. package/lib/src/utils/jump-page-utils.js +172 -180
  252. package/lib/src/utils/local-storage.js +2 -3
  253. package/lib/src/utils/menu.js +10 -11
  254. package/lib/src/utils/permission.js +22 -26
  255. package/lib/src/utils/permissionAuth.js +102 -136
  256. package/lib/src/utils/range-selector.js +41 -45
  257. package/lib/src/utils/request.js +77 -86
  258. package/lib/src/utils/resize.js +5 -5
  259. package/lib/src/utils/restful-interface-utils.js +12 -15
  260. package/lib/src/utils/util.js +6 -26
  261. package/lib/src/utils/validate.js +10 -20
  262. package/lib/src/utils/voice-setting-cache.js +140 -153
  263. package/lib/src/utils/watermark-cache.js +9 -14
  264. package/lib/src/utils/watermark.js +23 -30
  265. package/lib/src/utils/workflow-util.js +25 -26
  266. package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
  267. package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
  268. package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
  269. package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
  270. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
  271. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
  272. package/lib/src/views/dsc-component/Sidebar/index.vue.js +12 -20
  273. package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
  274. package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
  275. package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
  276. package/lib/src/views/error-page/401.vue.js +9 -13
  277. package/lib/src/views/error-page/401.vue2.js +2 -4
  278. package/lib/src/views/error-page/404.vue.js +7 -11
  279. package/lib/src/views/error-page/404.vue2.js +2 -4
  280. package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
  281. package/lib/src/views/layout/Layout.vue.js +12 -19
  282. package/lib/src/views/layout/Layout.vue2.js +2 -4
  283. package/lib/src/views/layout/NewLayout.vue.js +6 -10
  284. package/lib/src/views/layout/components/AppMain.vue.js +9 -11
  285. package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
  286. package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
  287. package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
  288. package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
  289. package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
  290. package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
  291. package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
  292. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
  293. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
  294. package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
  295. package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
  296. package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
  297. package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
  298. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
  299. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
  300. package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
  301. package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
  302. package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
  303. package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
  304. package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
  305. package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
  306. package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
  307. package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
  308. package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
  309. package/lib/src/views/layout/tab-content-index.vue.js +12 -18
  310. package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
  311. package/lib/src/views/login/authredirect.vue.js +2 -3
  312. package/lib/src/views/redirect/index.vue.js +17 -8
  313. package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
  314. package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
  315. package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
  316. package/lib/style.css +647 -647
  317. package/lib/super-grid/index.js +5 -7
  318. package/lib/super-grid/src/apis.js +221 -231
  319. package/lib/super-grid/src/columns-config.vue.js +16 -22
  320. package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
  321. package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
  322. package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
  323. package/lib/super-grid/src/components/mobile-table-card.js +73 -83
  324. package/lib/super-grid/src/components/select-input.vue.js +98 -106
  325. package/lib/super-grid/src/components/select-input.vue2.js +3 -4
  326. package/lib/super-grid/src/custom-formatter.js +69 -74
  327. package/lib/super-grid/src/dynamic-input.vue.js +142 -159
  328. package/lib/super-grid/src/eventBus.js +3 -6
  329. package/lib/super-grid/src/events.js +34 -36
  330. package/lib/super-grid/src/formValidatorUtil.js +62 -65
  331. package/lib/super-grid/src/formatter.js +36 -41
  332. package/lib/super-grid/src/group-column.vue.js +8 -13
  333. package/lib/super-grid/src/header-context-menu.vue.js +10 -13
  334. package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
  335. package/lib/super-grid/src/index-column.vue.js +7 -10
  336. package/lib/super-grid/src/normal-column-content.vue.js +186 -205
  337. package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
  338. package/lib/super-grid/src/normal-column.vue.js +40 -55
  339. package/lib/super-grid/src/normal-column.vue2.js +2 -4
  340. package/lib/super-grid/src/public-methods.js +12 -14
  341. package/lib/super-grid/src/row-detail.vue.js +7 -10
  342. package/lib/super-grid/src/row-operation.vue.js +19 -26
  343. package/lib/super-grid/src/row-operation.vue2.js +2 -4
  344. package/lib/super-grid/src/scan-util.js +24 -26
  345. package/lib/super-grid/src/search-button.vue.js +12 -17
  346. package/lib/super-grid/src/search-condition-input.vue.js +8 -12
  347. package/lib/super-grid/src/search-condition-list.vue.js +10 -13
  348. package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
  349. package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
  350. package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
  351. package/lib/super-grid/src/search-form-item.vue.js +16 -24
  352. package/lib/super-grid/src/search-form-item.vue2.js +2 -4
  353. package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
  354. package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
  355. package/lib/super-grid/src/search-form-number.vue.js +9 -14
  356. package/lib/super-grid/src/search-form-open.vue.js +7 -13
  357. package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
  358. package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
  359. package/lib/super-grid/src/search-form.vue.js +65 -77
  360. package/lib/super-grid/src/search-form.vue2.js +2 -4
  361. package/lib/super-grid/src/search-methods.js +2 -3
  362. package/lib/super-grid/src/selection-column.vue.js +7 -9
  363. package/lib/super-grid/src/store.js +3 -4
  364. package/lib/super-grid/src/super-grid-service.js +121 -128
  365. package/lib/super-grid/src/super-grid.vue.js +186 -217
  366. package/lib/super-grid/src/super-grid.vue2.js +2 -4
  367. package/lib/super-grid/src/utils.js +265 -322
  368. package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
  369. package/lib/super-icon/index.js +5 -7
  370. package/lib/super-icon/src/index.vue.js +5 -7
  371. package/lib/super-icon/src/index.vue2.js +8 -11
  372. package/lib/super-icon/src/index.vue3.js +2 -4
  373. package/lib/super-nine-grid/index.js +5 -7
  374. package/lib/super-nine-grid/src/apis.js +5 -8
  375. package/lib/super-nine-grid/src/custom-formatter.js +5 -7
  376. package/lib/super-nine-grid/src/formatter.js +28 -29
  377. package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
  378. package/lib/super-nine-grid/src/search-form.vue.js +33 -40
  379. package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
  380. package/lib/super-nine-grid/src/search-methods.js +2 -3
  381. package/lib/super-nine-grid/src/store.js +3 -4
  382. package/lib/super-nine-grid/src/super-grid-service.js +5 -9
  383. package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
  384. package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
  385. package/lib/super-nine-grid/src/utils.js +31 -27
  386. package/lib/svg-icon/index.js +5 -7
  387. package/lib/svg-icon/src/svg-icon.vue.js +8 -10
  388. package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
  389. package/lib/utils/gogocodeTransfer.js +23 -28
  390. package/lib/utils/memory-cache-utils.js +3 -5
  391. package/lib/utils/organization.js +40 -53
  392. package/lib/utils/utils.js +27 -29
  393. package/lib/utils/value-set.js +68 -70
  394. package/lib/valid-code/index.js +5 -7
  395. package/lib/valid-code/src/valid-code.vue.js +10 -13
  396. package/lib/valid-code/src/valid-code.vue2.js +2 -4
  397. package/lib/workflow-button/index.js +3 -5
  398. package/lib/workflow-button/src/workflow-button.vue.js +34 -39
  399. package/lib/workflow-history-list/index.js +5 -7
  400. package/lib/workflow-history-list/src/api.js +2 -3
  401. package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
  402. package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
  403. package/lib/workgroup-tree/index.js +5 -7
  404. package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
  405. package/lib/workgroup-tree-inline/index.js +3 -5
  406. package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
  407. package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
  408. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
  409. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
  410. package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
  411. package/lib/workgroup-tree-mobile/index.js +5 -8
  412. package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
  413. package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
  414. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
  415. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
  416. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
  417. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
  418. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
  419. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
  420. package/lib/workgroup-user-tree/index.js +5 -7
  421. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
  422. package/lib/workgroup-user-tree-inline/index.js +3 -5
  423. package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
  424. package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
  425. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
  426. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
  427. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
  428. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
  429. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
  430. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
  431. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
  432. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
  433. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
  434. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
  435. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
  436. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
  437. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
  438. package/lib/year-range-picker/index.js +3 -5
  439. package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
  440. package/package.json +1 -3
  441. package/vite.config.js +22 -22
  442. package/dist/favicon.svg +0 -29
  443. package/dist/index.full.min.js +0 -16440
  444. package/dist/style.css +0 -3078
@@ -1,149 +1,141 @@
1
- import { defineComponent as e, ref as l, watch as t, onMounted as a, resolveComponent as o, openBlock as n, createElementBlock as u, createBlock as i, withCtx as r, createVNode as p, unref as s, createCommentVNode as c, Fragment as d, renderList as v, createElementVNode as m } from "vue";
2
- import { useI18n as f } from "vue-i18n";
3
- import { isDynamicDataSourceSource as b, getClassOptionTitleCommon as g } from "../utils.js";
4
- import y from "clipboard";
5
- import { ElMessage as h } from "element-plus";
6
- import C from "../store.js";
7
- import { getRelativeBaseUrl as S } from "../../../src/utils/common-util.js";
8
- const O = { style: { "padding-left": "5px" } }, V = e({ __name: "select-input", props: { column: { type: Object, default: null }, type: { type: String, default: "input" }, controlConfig: { type: Object, default: false }, listCode: { type: String, default: "" }, listToolbarFormData: { type: Object, default: null }, dynamicDataSourceCode: { type: String, default: "" }, additionalParamMap: { type: [String, Object], default: null }, isSql: { type: Boolean, default: false }, parentFormData: { type: Object, default: () => ({}) }, tableName: { type: String, default: "" }, options: { type: Array, default: () => [] }, valueSetOptions: { type: Object, default: false }, disabled: { type: Boolean, default: false }, modelValue: { type: [String, Number, Boolean], default: "" }, prop: { type: String, default: "" }, entity: { type: Object, default: () => ({}) } }, emits: ["update:modelValue", "cellEvent", "extendParams", "setCellValue", "callCustomEventWithParam", "setCellValueWithProp"], setup(e2, { emit: V2 }) {
9
- const E = e2, { t: P } = f(), j = l(E.modelValue), F = l(false);
10
- t(() => E.modelValue, (e3, l2) => {
11
- j.value = e3;
1
+ "use strict";
2
+ const e = require("vue"), l = require("vue-i18n"), t = require("../utils.js"), a = require("clipboard"), o = require("element-plus"), n = require("../store.js"), u = require("../../../src/utils/common-util.js"), i = { style: { "padding-left": "5px" } }, r = e.defineComponent({ __name: "select-input", props: { column: { type: Object, default: null }, type: { type: String, default: "input" }, controlConfig: { type: Object, default: false }, listCode: { type: String, default: "" }, listToolbarFormData: { type: Object, default: null }, dynamicDataSourceCode: { type: String, default: "" }, additionalParamMap: { type: [String, Object], default: null }, isSql: { type: Boolean, default: false }, parentFormData: { type: Object, default: () => ({}) }, tableName: { type: String, default: "" }, options: { type: Array, default: () => [] }, valueSetOptions: { type: Object, default: false }, disabled: { type: Boolean, default: false }, modelValue: { type: [String, Number, Boolean], default: "" }, prop: { type: String, default: "" }, entity: { type: Object, default: () => ({}) } }, emits: ["update:modelValue", "cellEvent", "extendParams", "setCellValue", "callCustomEventWithParam", "setCellValueWithProp"], setup(r2, { emit: s }) {
3
+ const p = r2, { t: c } = l.useI18n(), d = e.ref(p.modelValue), v = e.ref(false);
4
+ e.watch(() => p.modelValue, (e2, l2) => {
5
+ d.value = e2;
12
6
  }, { immediate: true });
13
- const w = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime(), T = C.get(E.listCode);
14
- T && T.basicInfo && T.basicInfo.hasJoinTable && (F.value = T.basicInfo.hasJoinTable);
15
- let x = T.options.backendUrl;
16
- x || (x = window.$vueApp.config.globalProperties.baseURL);
17
- const D = l(false);
18
- D.value = b(E.column);
19
- let N = E.column.valueSetOptions ? JSON.parse(E.column.valueSetOptions) : null;
20
- const A = l(false);
21
- let I;
22
- A.value = !D.value && N && "remote" === N.filterType && N.type && "dataTable" === N.type, E.valueSetOptions, A.value, E.controlConfig;
23
- let M = l(E.options);
24
- D.value || _(null, true);
25
- const U = l(false);
26
- a(() => {
27
- const e3 = new y("#" + w, { text: function() {
28
- return function(e4) {
29
- if (null != e4 && "" !== e4 && e4.length > 0) {
7
+ const m = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime(), f = n.get(p.listCode);
8
+ f && f.basicInfo && f.basicInfo.hasJoinTable && (v.value = f.basicInfo.hasJoinTable);
9
+ let b = f.options.backendUrl;
10
+ b || (b = window.$vueApp.config.globalProperties.baseURL);
11
+ const g = e.ref(false);
12
+ g.value = t.isDynamicDataSourceSource(p.column);
13
+ let y = p.column.valueSetOptions ? JSON.parse(p.column.valueSetOptions) : null;
14
+ const C = e.ref(false);
15
+ let h;
16
+ C.value = !g.value && y && "remote" === y.filterType && y.type && "dataTable" === y.type, p.valueSetOptions, C.value, p.controlConfig;
17
+ let S = e.ref(p.options);
18
+ g.value || k(null, true);
19
+ const V = e.ref(false);
20
+ e.onMounted(() => {
21
+ const e2 = new a("#" + m, { text: function() {
22
+ return function(e3) {
23
+ if (null != e3 && "" !== e3 && e3.length > 0) {
30
24
  let l2 = "";
31
- return "string" == typeof e4 ? M.value.length > 0 ? M.value.forEach((t2) => {
32
- t2.value === e4 && (l2 = t2.label);
33
- }) : l2 = e4 : M.value.length > 0 ? (M.value.forEach((t2) => {
34
- e4.forEach((e5) => {
35
- t2.value === e5 && (l2 = l2 + t2.label + ",");
25
+ return "string" == typeof e3 ? S.value.length > 0 ? S.value.forEach((t2) => {
26
+ t2.value === e3 && (l2 = t2.label);
27
+ }) : l2 = e3 : S.value.length > 0 ? (S.value.forEach((t2) => {
28
+ e3.forEach((e4) => {
29
+ t2.value === e4 && (l2 = l2 + t2.label + ",");
36
30
  });
37
- }), l2 = l2.slice(0, l2.length - 1)) : l2 = e4.join(","), l2;
31
+ }), l2 = l2.slice(0, l2.length - 1)) : l2 = e3.join(","), l2;
38
32
  }
39
- }(j.value);
33
+ }(d.value);
40
34
  } });
41
- e3.on("success", () => {
42
- h({ type: "success", message: P("chatEmbed.copySuccess"), showClose: true });
43
- }), e3.on("error", (e4) => {
44
- console.error("复制失败", e4);
35
+ e2.on("success", () => {
36
+ o.ElMessage({ type: "success", message: c("chatEmbed.copySuccess"), showClose: true });
37
+ }), e2.on("error", (e3) => {
38
+ console.error("复制失败", e3);
45
39
  });
46
40
  });
47
- function W(e3, l2) {
48
- return l2 ? l2.find((l3) => l3.value === e3) : [];
41
+ function O(e2, l2) {
42
+ return l2 ? l2.find((l3) => l3.value === e2) : [];
49
43
  }
50
- function k(e3, l2) {
44
+ function E(e2, l2) {
51
45
  var _a;
52
- if ("select" === E.type && !D.value)
53
- return void ((e4) => {
54
- if (j.value = e4, (N == null ? void 0 : N.type) && "dataTable" === N.type && E.valueSetOptions && E.valueSetOptions.length > 0)
55
- if (null == e4 || "" === e4)
56
- $();
46
+ if ("select" === p.type && !g.value)
47
+ return void ((e3) => {
48
+ if (d.value = e3, (y == null ? void 0 : y.type) && "dataTable" === y.type && p.valueSetOptions && p.valueSetOptions.length > 0)
49
+ if (null == e3 || "" === e3)
50
+ w();
57
51
  else {
58
- const l3 = W(e4, M.value);
59
- l3 && E.valueSetOptions.forEach((e5) => {
60
- if (e5.valueField !== E.prop) {
61
- const t3 = l3[e5.columnName];
62
- V2("setCellValueWithProp", e5.valueField, t3);
52
+ const l3 = O(e3, S.value);
53
+ l3 && p.valueSetOptions.forEach((e4) => {
54
+ if (e4.valueField !== p.prop) {
55
+ const t3 = l3[e4.columnName];
56
+ s("setCellValueWithProp", e4.valueField, t3);
63
57
  }
64
58
  });
65
59
  }
66
- V2("update:modelValue", e4), V2("setCellValue", E.prop, e4, "change");
67
- })(e3);
68
- V2("extendParams", l2);
60
+ s("update:modelValue", e3), s("setCellValue", p.prop, e3, "change");
61
+ })(e2);
62
+ s("extendParams", l2);
69
63
  let t2 = false;
70
- if (e3 && e3.length > 0 && "multiselect" === E.type && !D.value) {
64
+ if (e2 && e2.length > 0 && "multiselect" === p.type && !g.value) {
71
65
  const l3 = "saveAll";
72
- if (-1 !== e3.indexOf(l3)) {
73
- e3.length - 1 >= M.value.length ? j.value = null : ((!j.value || j.value.indexOf(l3) >= 0) && (j.value = []), (_a = M.value) == null ? void 0 : _a.forEach((e4) => {
74
- -1 === j.value.indexOf(e4.value) && j.value.push(e4.value);
66
+ if (-1 !== e2.indexOf(l3)) {
67
+ e2.length - 1 >= S.value.length ? d.value = null : ((!d.value || d.value.indexOf(l3) >= 0) && (d.value = []), (_a = S.value) == null ? void 0 : _a.forEach((e3) => {
68
+ -1 === d.value.indexOf(e3.value) && d.value.push(e3.value);
75
69
  })), t2 = true;
76
70
  }
77
71
  }
78
- if ("multiselect" === E.type) {
79
- j.value && "number" != typeof j.value && -1 !== j.value.indexOf("saveAll") && j.value.splice(j.value.indexOf("saveAll"), 1), function() {
80
- if (j.value, (N == null ? void 0 : N.type) && "dataTable" === N.type && E.valueSetOptions && E.valueSetOptions.length > 0 && !D.value)
81
- if (j.value && 0 !== j.value.length) {
82
- let e5 = {};
83
- j.value.forEach((l3) => {
84
- const t3 = W(l3, M.value);
85
- t3 && E.valueSetOptions.forEach((l4) => {
86
- if (l4.valueField !== E.prop) {
87
- let a2 = e5[l4.valueField];
72
+ if ("multiselect" === p.type) {
73
+ d.value && "number" != typeof d.value && -1 !== d.value.indexOf("saveAll") && d.value.splice(d.value.indexOf("saveAll"), 1), function() {
74
+ if (d.value, (y == null ? void 0 : y.type) && "dataTable" === y.type && p.valueSetOptions && p.valueSetOptions.length > 0 && !g.value)
75
+ if (d.value && 0 !== d.value.length) {
76
+ let e4 = {};
77
+ d.value.forEach((l3) => {
78
+ const t3 = O(l3, S.value);
79
+ t3 && p.valueSetOptions.forEach((l4) => {
80
+ if (l4.valueField !== p.prop) {
81
+ let a2 = e4[l4.valueField];
88
82
  a2 || (a2 = []);
89
83
  const o2 = t3[l4.columnName];
90
- a2.push(o2), e5[l4.valueField] = a2;
84
+ a2.push(o2), e4[l4.valueField] = a2;
91
85
  }
92
86
  });
93
87
  });
94
- for (let l3 in e5) {
95
- const t3 = e5[l3];
88
+ for (let l3 in e4) {
89
+ const t3 = e4[l3];
96
90
  if (t3) {
97
- const e6 = t3.join(",");
98
- V2("setCellValueWithProp", l3, e6);
91
+ const e5 = t3.join(",");
92
+ s("setCellValueWithProp", l3, e5);
99
93
  } else
100
- V2("setCellValueWithProp", l3, null);
94
+ s("setCellValueWithProp", l3, null);
101
95
  }
102
96
  } else
103
- $();
97
+ w();
104
98
  }();
105
- const e4 = j.value && j.value.length > 0 ? j.value.join(",") : null;
106
- t2 && V2("cellEvent", "input", e4), V2("update:modelValue", e4), V2("setCellValue", E.prop, e4, "change");
99
+ const e3 = d.value && d.value.length > 0 ? d.value.join(",") : null;
100
+ t2 && s("cellEvent", "input", e3), s("update:modelValue", e3), s("setCellValue", p.prop, e3, "change");
107
101
  } else
108
- V2("update:modelValue", e3), V2("setCellValue", E.prop, e3, "change");
102
+ s("update:modelValue", e2), s("setCellValue", p.prop, e2, "change");
109
103
  }
110
- function B({ value: e3, sourceColumnName: l2, targetColumnName: t2, options: a2, selectedItem: o2 }) {
111
- t2 && (t2 === E.prop ? V2("setCellValue", t2, e3, "input") : V2("setCellValueWithProp", t2, e3));
104
+ function B({ value: e2, sourceColumnName: l2, targetColumnName: t2, options: a2, selectedItem: o2 }) {
105
+ t2 && (t2 === p.prop ? s("setCellValue", t2, e2, "input") : s("setCellValueWithProp", t2, e2));
112
106
  }
113
- function _(e3, l2) {
107
+ function k(e2, l2) {
114
108
  var _a;
115
- if (!(N == null ? void 0 : N.type) || "dataTable" !== (N == null ? void 0 : N.type))
109
+ if (!(y == null ? void 0 : y.type) || "dataTable" !== (y == null ? void 0 : y.type))
116
110
  return;
117
111
  let t2 = false;
118
- if (l2 || null != I && I === e3 || (I = e3, t2 = true), t2 || l2) {
112
+ if (l2 || null != h && h === e2 || (h = e2, t2 = true), t2 || l2) {
119
113
  let l3 = {};
120
- Object.assign(l3, N), l3.uuid = E.prop, l3.props || (l3.props = {}), l3.props.tableName = (_a = N == null ? void 0 : N.props) == null ? void 0 : _a.tableName, l3.props.prop = E.prop;
121
- const t3 = { listCode: E.listCode, entityMap: E.entity, additionalParamMap: E.additionalParamMap, dataSourceList: [l3] };
122
- null != e3 && (t3.query = e3), E.parentFormData && (t3.parent = E.parentFormData);
123
- const a2 = S(window.$vueApp.config.globalProperties.baseURL + "/common/common-data/find-grid-datas");
124
- window.$vueApp.config.globalProperties.$http.post(a2, t3).then((e4) => {
125
- if (e4 && e4.columnValueSet) {
126
- const l4 = e4.columnValueSet;
127
- M.value = l4[E.prop];
114
+ Object.assign(l3, y), l3.uuid = p.prop, l3.props || (l3.props = {}), l3.props.tableName = (_a = y == null ? void 0 : y.props) == null ? void 0 : _a.tableName, l3.props.prop = p.prop;
115
+ const t3 = { listCode: p.listCode, entityMap: p.entity, additionalParamMap: p.additionalParamMap, dataSourceList: [l3] };
116
+ null != e2 && (t3.query = e2), p.parentFormData && (t3.parent = p.parentFormData);
117
+ const a2 = u.getRelativeBaseUrl(window.$vueApp.config.globalProperties.baseURL + "/common/common-data/find-grid-datas");
118
+ window.$vueApp.config.globalProperties.$http.post(a2, t3).then((e3) => {
119
+ if (e3 && e3.columnValueSet) {
120
+ const l4 = e3.columnValueSet;
121
+ S.value = l4[p.prop];
128
122
  } else
129
- M.value = [];
130
- }).catch((e4) => {
123
+ S.value = [];
124
+ }).catch((e3) => {
131
125
  });
132
126
  }
133
127
  }
134
- function $() {
135
- E.valueSetOptions && E.valueSetOptions.forEach((e3) => {
136
- e3.valueField !== E.prop && V2("setCellValueWithProp", e3.valueField, null);
128
+ function w() {
129
+ p.valueSetOptions && p.valueSetOptions.forEach((e2) => {
130
+ e2.valueField !== p.prop && s("setCellValueWithProp", e2.valueField, null);
137
131
  });
138
132
  }
139
- return (l2, t2) => {
140
- const a2 = o("CopyDocument"), f2 = o("el-icon"), b2 = o("el-option"), y2 = o("el-select"), h2 = o("el-popover"), C2 = o("dynamic-source-select");
141
- return n(), u("span", null, [D.value ? "multiselect" !== e2.type && "select" !== e2.type || !D.value ? c("", true) : (n(), i(C2, { key: 1, value: j.value, "onUpdate:value": t2[7] || (t2[7] = (e3) => j.value = e3), "base-props": { multiple: "multiselect" === e2.type, disabled: e2.disabled }, column: e2.column, entity: e2.entity, "is-join-table": F.value, "list-code": e2.listCode, "list-toolbar-form-data": e2.listToolbarFormData, options: { dynamicDataSourceCode: e2.dynamicDataSourceCode, valueSetOptions: e2.valueSetOptions, isSql: e2.isSql, backendUrl: s(x), additionalParameter: e2.additionalParamMap ? JSON.stringify(e2.additionalParamMap) : null }, parent: e2.parentFormData, "table-name": e2.tableName, onBlur: t2[8] || (t2[8] = (e3) => V2("cellEvent", "blur", e3)), onChange: k, onClear: t2[9] || (t2[9] = (e3) => V2("cellEvent", "clear", e3)), onFocus: t2[10] || (t2[10] = (e3) => V2("cellEvent", "focus", "focus1111")), onInput: t2[11] || (t2[11] = (e3) => V2("cellEvent", "input", e3)), onVisibleChange: t2[12] || (t2[12] = (e3) => V2("cellEvent", "visible-change", e3)), onRemoveTag: t2[13] || (t2[13] = (e3) => V2("cellEvent", "remove-tag", e3)), onSetValue: B }, null, 8, ["value", "base-props", "column", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "parent", "table-name"])) : (n(), i(h2, { key: 0, placement: "top", trigger: "hover" }, { reference: r(() => {
142
- return [p(y2, { ref: "item", modelValue: j.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => j.value = e3), loading: U.value, "allow-create": !!e2.controlConfig.allowCreate, disabled: e2.disabled, "default-first-option": !!e2.controlConfig.allowCreate, filterable: !(void 0 !== e2.controlConfig.filterable && !e2.controlConfig.filterable) || !!A.value, placeholder: l2.$t("imatrixUIMessage.pleaseSelect"), title: (a3 = j.value, g(a3, M.value)), clearable: !(void 0 !== e2.controlConfig.clearable && !e2.controlConfig.clearable), "collapse-tags": "", multiple: "multiselect" === e2.type, remote: A.value, "remote-method": _, onBlur: t2[1] || (t2[1] = (e3) => V2("cellEvent", "blur", e3)), onChange: k, onClear: t2[2] || (t2[2] = (e3) => V2("cellEvent", "clear", e3)), onFocus: t2[3] || (t2[3] = (e3) => V2("cellEvent", "focus", e3)), onInput: t2[4] || (t2[4] = (e3) => V2("cellEvent", "input", e3)), onVisibleChange: t2[5] || (t2[5] = (e3) => V2("cellEvent", "visible-change", e3)), onRemoveTag: t2[6] || (t2[6] = (e3) => V2("cellEvent", "remove-tag", e3)) }, { default: r(() => ["multiselect" === e2.type ? (n(), i(b2, { key: 0, label: s(P)("superGrid.selectAll"), value: "saveAll" }, null, 8, ["label"])) : c("", true), (n(true), u(d, null, v(s(M), (e3) => (n(), i(b2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading", "allow-create", "disabled", "default-first-option", "filterable", "placeholder", "title", "clearable", "multiple", "remote"])];
143
- var a3;
144
- }), default: r(() => [m("span", O, [p(f2, { id: w }, { default: r(() => [p(a2)]), _: 1 })])]), _: 1 }))]);
133
+ return (l2, a2) => {
134
+ const o2 = e.resolveComponent("CopyDocument"), n2 = e.resolveComponent("el-icon"), u2 = e.resolveComponent("el-option"), p2 = e.resolveComponent("el-select"), f2 = e.resolveComponent("el-popover"), y2 = e.resolveComponent("dynamic-source-select");
135
+ return e.openBlock(), e.createElementBlock("span", null, [g.value ? "multiselect" !== r2.type && "select" !== r2.type || !g.value ? e.createCommentVNode("", true) : (e.openBlock(), e.createBlock(y2, { key: 1, value: d.value, "onUpdate:value": a2[7] || (a2[7] = (e2) => d.value = e2), "base-props": { multiple: "multiselect" === r2.type, disabled: r2.disabled }, column: r2.column, entity: r2.entity, "is-join-table": v.value, "list-code": r2.listCode, "list-toolbar-form-data": r2.listToolbarFormData, options: { dynamicDataSourceCode: r2.dynamicDataSourceCode, valueSetOptions: r2.valueSetOptions, isSql: r2.isSql, backendUrl: e.unref(b), additionalParameter: r2.additionalParamMap ? JSON.stringify(r2.additionalParamMap) : null }, parent: r2.parentFormData, "table-name": r2.tableName, onBlur: a2[8] || (a2[8] = (e2) => s("cellEvent", "blur", e2)), onChange: E, onClear: a2[9] || (a2[9] = (e2) => s("cellEvent", "clear", e2)), onFocus: a2[10] || (a2[10] = (e2) => s("cellEvent", "focus", "focus1111")), onInput: a2[11] || (a2[11] = (e2) => s("cellEvent", "input", e2)), onVisibleChange: a2[12] || (a2[12] = (e2) => s("cellEvent", "visible-change", e2)), onRemoveTag: a2[13] || (a2[13] = (e2) => s("cellEvent", "remove-tag", e2)), onSetValue: B }, null, 8, ["value", "base-props", "column", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "parent", "table-name"])) : (e.openBlock(), e.createBlock(f2, { key: 0, placement: "top", trigger: "hover" }, { reference: e.withCtx(() => {
136
+ return [e.createVNode(p2, { ref: "item", modelValue: d.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e2) => d.value = e2), loading: V.value, "allow-create": !!r2.controlConfig.allowCreate, disabled: r2.disabled, "default-first-option": !!r2.controlConfig.allowCreate, filterable: !(void 0 !== r2.controlConfig.filterable && !r2.controlConfig.filterable) || !!C.value, placeholder: l2.$t("imatrixUIMessage.pleaseSelect"), title: (o3 = d.value, t.getClassOptionTitleCommon(o3, S.value)), clearable: !(void 0 !== r2.controlConfig.clearable && !r2.controlConfig.clearable), "collapse-tags": "", multiple: "multiselect" === r2.type, remote: C.value, "remote-method": k, onBlur: a2[1] || (a2[1] = (e2) => s("cellEvent", "blur", e2)), onChange: E, onClear: a2[2] || (a2[2] = (e2) => s("cellEvent", "clear", e2)), onFocus: a2[3] || (a2[3] = (e2) => s("cellEvent", "focus", e2)), onInput: a2[4] || (a2[4] = (e2) => s("cellEvent", "input", e2)), onVisibleChange: a2[5] || (a2[5] = (e2) => s("cellEvent", "visible-change", e2)), onRemoveTag: a2[6] || (a2[6] = (e2) => s("cellEvent", "remove-tag", e2)) }, { default: e.withCtx(() => ["multiselect" === r2.type ? (e.openBlock(), e.createBlock(u2, { key: 0, label: e.unref(c)("superGrid.selectAll"), value: "saveAll" }, null, 8, ["label"])) : e.createCommentVNode("", true), (e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(e.unref(S), (l3) => (e.openBlock(), e.createBlock(u2, { key: l3.value, label: l3.label, value: l3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading", "allow-create", "disabled", "default-first-option", "filterable", "placeholder", "title", "clearable", "multiple", "remote"])];
137
+ var o3;
138
+ }), default: e.withCtx(() => [e.createElementVNode("span", i, [e.createVNode(n2, { id: m }, { default: e.withCtx(() => [e.createVNode(o2)]), _: 1 })])]), _: 1 }))]);
145
139
  };
146
140
  } });
147
- export {
148
- V as default
149
- };
141
+ module.exports = r;
@@ -1,4 +1,3 @@
1
- import e from "./select-input.vue.js";
2
- export {
3
- e as default
4
- };
1
+ "use strict";
2
+ const e = require("./select-input.vue.js");
3
+ module.exports = e;
@@ -1,15 +1,12 @@
1
- import { doFormat as t, formatDateTime as e } from "./formatter.js";
2
- import o from "./store.js";
3
- import { initialization as a, jumpToPage as i } from "../../src/utils/jump-page-utils.js";
4
- import { analysisFileSetObj as r, otherFilesToStandard as n } from "./utils.js";
5
- import { isPromise as l } from "../../src/utils/common-util.js";
6
- import "vue";
7
- const s = { customFormatValue(e2, o2, a2, i2) {
1
+ "use strict";
2
+ const t = require("./formatter.js"), e = require("./store.js"), o = require("../../src/utils/jump-page-utils.js"), a = require("./utils.js"), i = require("../../src/utils/common-util.js");
3
+ require("vue");
4
+ const r = { customFormatValue(e2, o2, a2, i2) {
8
5
  if (this.customFormat) {
9
6
  let r2 = e2[o2];
10
7
  this.isObjectProp(o2) && (r2 = this.objectPropOriginalValue(e2, o2));
11
- const n2 = t(this.column, r2), l2 = a2.call(this, r2, n2, e2, this.column, i2);
12
- return void 0 !== l2 && l2;
8
+ const n = t.doFormat(this.column, r2), l = a2.call(this, r2, n, e2, this.column, i2);
9
+ return void 0 !== l && l;
13
10
  }
14
11
  return false;
15
12
  }, isObjectProp: (t2) => !!(t2 && t2.indexOf(".") > 0), objectPropOriginalValue(t2, e2) {
@@ -37,9 +34,9 @@ const s = { customFormatValue(e2, o2, a2, i2) {
37
34
  if (!o2.childAnnexDataTableCode)
38
35
  return this.objectPropValue(t2, e2.prop);
39
36
  {
40
- const a2 = r(o2, this.isSql), i2 = this.objectPropValue(t2, e2.prop);
41
- if (i2 && i2.length > 0) {
42
- const t3 = n(o2, a2, i2, null);
37
+ const i2 = a.analysisFileSetObj(o2, this.isSql), r2 = this.objectPropValue(t2, e2.prop);
38
+ if (r2 && r2.length > 0) {
39
+ const t3 = a.otherFilesToStandard(o2, i2, r2, null);
43
40
  return t3[t3.length - 1].showName;
44
41
  }
45
42
  }
@@ -49,33 +46,33 @@ const s = { customFormatValue(e2, o2, a2, i2) {
49
46
  if (!o2.childAnnexDataTableCode)
50
47
  return this.objectPropValue(t2, e2.prop);
51
48
  {
52
- const a2 = r(o2, this.isSql), i2 = this.objectPropValue(t2, e2.prop);
53
- if (i2 && i2.length > 0) {
54
- const t3 = n(o2, a2, i2, null);
49
+ const i2 = a.analysisFileSetObj(o2, this.isSql), r2 = this.objectPropValue(t2, e2.prop);
50
+ if (r2 && r2.length > 0) {
51
+ const t3 = a.otherFilesToStandard(o2, i2, r2, null);
55
52
  return t3[t3.length - 1].showName;
56
53
  }
57
54
  }
58
55
  }
59
- }, formatter(e2, a2, i2) {
60
- const r2 = this.objectPropOriginalValue(e2, a2);
56
+ }, formatter(o2, a2, i2) {
57
+ const r2 = this.objectPropOriginalValue(o2, a2);
61
58
  if (void 0 !== this.columnFormatter && "custom" === this.columnFormatter.type) {
62
- let n2;
63
- if (this.columnFormatter.options && this.columnFormatter.options.format && (n2 = this.columnFormatter.options.format), n2 && null !== n2 && "" !== n2) {
64
- const l2 = o.get(this.listCode);
65
- if (l2.options && l2.options.eventCallBack && l2.options.eventCallBack[n2] && "function" == typeof l2.options.eventCallBack[n2]) {
66
- const t2 = { value: r2, row: e2, column: this.column, prop: a2, additionalParamMap: l2.additionalParamMap };
67
- return l2.options.eventCallBack[n2].call(this, t2);
59
+ let n;
60
+ if (this.columnFormatter.options && this.columnFormatter.options.format && (n = this.columnFormatter.options.format), n && null !== n && "" !== n) {
61
+ const l = e.get(this.listCode);
62
+ if (l.options && l.options.eventCallBack && l.options.eventCallBack[n] && "function" == typeof l.options.eventCallBack[n]) {
63
+ const t2 = { value: r2, row: o2, column: this.column, prop: a2, additionalParamMap: l.additionalParamMap };
64
+ return l.options.eventCallBack[n].call(this, t2);
68
65
  }
69
- return t(i2, r2);
66
+ return t.doFormat(i2, r2);
70
67
  }
71
- return t(i2, r2);
68
+ return t.doFormat(i2, r2);
72
69
  }
73
- return t(i2, r2);
70
+ return t.doFormat(i2, r2);
74
71
  }, getColumnValue(e2, o2) {
75
72
  const a2 = o2.prop;
76
73
  let i2 = e2[a2];
77
74
  this.isObjectProp(a2) && (i2 = this.objectPropOriginalValue(e2, a2));
78
- return { originalValue: i2, formatValue: t(o2, i2) };
75
+ return { originalValue: i2, formatValue: t.doFormat(o2, i2) };
79
76
  }, onClickFun(t2, e2, o2, a2, i2) {
80
77
  const r2 = this.getColumnValue(t2, e2);
81
78
  o2.call(this, r2.originalValue, r2.formatValue, t2, e2, a2, i2);
@@ -88,31 +85,31 @@ const s = { customFormatValue(e2, o2, a2, i2) {
88
85
  return void 0 === r2 && (r2 = true), r2;
89
86
  }
90
87
  return o2;
91
- }, getHyperLinkSetting(t2, i2, r2, n2, l2, s2, p) {
92
- const m = o.get(p);
93
- let c = null;
94
- m.options.extraParam && m.options.extraParam.entityMap && (c = m.options.extraParam.entityMap);
95
- let u, f = {};
96
- if (t2 && t2.formatter && t2.formatter.options && t2.formatter.options.format && (u = t2.formatter.options.format), u && "" !== u) {
97
- const e2 = JSON.parse(u), o2 = a(e2, i2, r2, n2, l2, s2, c, m);
98
- o2 && o2.label && "" !== o2.label || o2 && (void 0 === o2.displayTextJudge || o2.displayTextJudge) && (o2.label = this.objectPropValueTwo(i2, t2)), o2 && o2.title && "" !== o2.title || (o2.title = o2.label), f = o2;
88
+ }, getHyperLinkSetting(a2, i2, r2, n, l, s, p) {
89
+ const m = e.get(p);
90
+ let u = null;
91
+ m.options.extraParam && m.options.extraParam.entityMap && (u = m.options.extraParam.entityMap);
92
+ let c, f = {};
93
+ if (a2 && a2.formatter && a2.formatter.options && a2.formatter.options.format && (c = a2.formatter.options.format), c && "" !== c) {
94
+ const t2 = JSON.parse(c), e2 = o.initialization(t2, i2, r2, n, l, s, u, m);
95
+ e2 && e2.label && "" !== e2.label || e2 && (void 0 === e2.displayTextJudge || e2.displayTextJudge) && (e2.label = this.objectPropValueTwo(i2, a2)), e2 && e2.title && "" !== e2.title || (e2.title = e2.label), f = e2;
99
96
  } else
100
- f.visible = true, f.label = this.objectPropValueTwo(i2, t2), f.title = f.label;
97
+ f.visible = true, f.label = this.objectPropValueTwo(i2, a2), f.title = f.label;
101
98
  if (f.jumpPageItem) {
102
- const t3 = f.jumpPageItem.jumpPageSetting;
103
- if (t3 && t3.displayTextFormatType && t3.displayTextFormat) {
104
- const o2 = e(t3.displayTextFormatType, f.label, t3.displayTextFormat);
99
+ const e2 = f.jumpPageItem.jumpPageSetting;
100
+ if (e2 && e2.displayTextFormatType && e2.displayTextFormat) {
101
+ const o2 = t.formatDateTime(e2.displayTextFormatType, f.label, e2.displayTextFormat);
105
102
  f.label = o2, f.title = o2;
106
103
  }
107
104
  }
108
105
  return f;
109
- }, getMyHyperLinkSetting(t2, e2, a2) {
106
+ }, getMyHyperLinkSetting(t2, o2, a2) {
110
107
  this.transferColumnDataToUpperCase(t2);
111
- const i2 = o.get(a2);
108
+ const i2 = e.get(a2);
112
109
  let r2;
113
110
  i2 && i2.basicInfo && i2.basicInfo.tableName && (r2 = i2.basicInfo.tableName);
114
- const n2 = this.getHyperLinkSetting(this.column, t2, this.isSql, this.additionalParamMap, i2.contextParameter, r2, a2);
115
- return n2.icon = this.getHyperIconClass(n2), n2;
111
+ const n = this.getHyperLinkSetting(this.column, t2, this.isSql, this.additionalParamMap, i2.contextParameter, r2, a2);
112
+ return n.icon = this.getHyperIconClass(n), n;
116
113
  }, clickHyperLink(t2, e2, o2, a2) {
117
114
  let i2;
118
115
  t2 && t2.formatter && t2.formatter.options && t2.formatter.options.format && (i2 = t2.formatter.options.format);
@@ -121,48 +118,46 @@ const s = { customFormatValue(e2, o2, a2, i2) {
121
118
  const r3 = JSON.parse(i2);
122
119
  this.jumpPageLink(t2, e2, o2, a2, r3);
123
120
  }
124
- }, jumpPageLink(t2, e2, a2, i2, r2) {
125
- if (r2) {
126
- let n2 = true;
127
- const s2 = o.get(a2);
128
- if (r2.beforeClick) {
129
- const o2 = r2.beforeClick;
130
- if (s2.options && s2.options.eventCallBack && s2.options.eventCallBack[o2] && "function" == typeof s2.options.eventCallBack[o2]) {
131
- const r3 = { row: e2, column: t2, rowIndex: i2, listCode: a2, additionalParamMap: s2.additionalParamMap };
132
- n2 = s2.options.eventCallBack[o2].call(this, r3);
121
+ }, jumpPageLink(t2, o2, a2, r2, n) {
122
+ if (n) {
123
+ let l = true;
124
+ const s = e.get(a2);
125
+ if (n.beforeClick) {
126
+ const e2 = n.beforeClick;
127
+ if (s.options && s.options.eventCallBack && s.options.eventCallBack[e2] && "function" == typeof s.options.eventCallBack[e2]) {
128
+ const i2 = { row: o2, column: t2, rowIndex: r2, listCode: a2, additionalParamMap: s.additionalParamMap };
129
+ l = s.options.eventCallBack[e2].call(this, i2);
133
130
  }
134
131
  }
135
- l(n2) ? n2.then((o2) => {
136
- this.doClickHyperLink(e2, a2, i2, r2, s2, t2);
137
- }) : this.doClickHyperLink(e2, a2, i2, r2, s2, t2);
132
+ i.isPromise(l) ? l.then((e2) => {
133
+ this.doClickHyperLink(o2, a2, r2, n, s, t2);
134
+ }) : this.doClickHyperLink(o2, a2, r2, n, s, t2);
138
135
  }
139
- }, doClickHyperLink(t2, e2, o2, a2, r2, n2) {
136
+ }, doClickHyperLink(t2, e2, a2, i2, r2, n) {
140
137
  var _a;
141
- let l2 = null;
142
- r2.options.extraParam && r2.options.extraParam.entityMap && (l2 = r2.options.extraParam.entityMap), r2.options.isFormSubTable && ((_a = a2.jumpPageAdditional) == null ? void 0 : _a.length) > 0 && a2.jumpPageAdditional.forEach((t3, e3) => {
138
+ let l = null;
139
+ r2.options.extraParam && r2.options.extraParam.entityMap && (l = r2.options.extraParam.entityMap), r2.options.isFormSubTable && ((_a = i2.jumpPageAdditional) == null ? void 0 : _a.length) > 0 && i2.jumpPageAdditional.forEach((t3, e3) => {
143
140
  t3 && t3.paramValue && t3.paramValue.startsWith("${data.") && (t3.paramValue = t3.paramValue.replace("${data.", "${parent."));
144
141
  });
145
- const s2 = JSON.parse(JSON.stringify(r2.pageContext && r2.pageContext.entity && r2.pageContext.entity.page ? r2.pageContext.entity.page : {}));
146
- a2._pageData = s2, i(a2, r2.system, t2.id ? t2.id : t2.ID, t2, r2.additionalParamMap, null, null, l2).then((i2) => {
147
- if (i2) {
142
+ const s = JSON.parse(JSON.stringify(r2.pageContext && r2.pageContext.entity && r2.pageContext.entity.page ? r2.pageContext.entity.page : {}));
143
+ i2._pageData = s, o.jumpToPage(i2, r2.system, t2.id ? t2.id : t2.ID, t2, r2.additionalParamMap, null, null, l).then((o2) => {
144
+ if (o2) {
148
145
  let r3 = {};
149
- a2 && "string" == typeof a2 && "" !== a2 && (a2 = JSON.parse(a2)), Object.assign(r3, a2), Object.assign(r3, i2), r3._position = "list", r3._listCode = e2, r3._rowIndex = o2, r3.row = t2, r3._columnProp = n2.prop, this.$emit("open-page", r3);
146
+ i2 && "string" == typeof i2 && "" !== i2 && (i2 = JSON.parse(i2)), Object.assign(r3, i2), Object.assign(r3, o2), r3._position = "list", r3._listCode = e2, r3._rowIndex = a2, r3.row = t2, r3._columnProp = n.prop, this.$emit("open-page", r3);
150
147
  }
151
148
  });
152
- }, getIconSetting(t2, e2, o2, i2, r2) {
153
- let n2;
154
- const l2 = i2.additionalParamMap, s2 = i2.contextParameter;
155
- i2 && i2.basicInfo && i2.basicInfo.tableName && (n2 = i2.basicInfo.tableName);
149
+ }, getIconSetting(t2, e2, a2, i2, r2) {
150
+ let n;
151
+ const l = i2.additionalParamMap, s = i2.contextParameter;
152
+ i2 && i2.basicInfo && i2.basicInfo.tableName && (n = i2.basicInfo.tableName);
156
153
  let p = null;
157
154
  i2.options.extraParam && i2.options.extraParam.entityMap && (p = i2.options.extraParam.entityMap);
158
- let m, c = {};
155
+ let m, u = {};
159
156
  if (t2 && t2.formatter && t2.formatter.options && t2.formatter.options.format && (m = t2.formatter.options.format), m && "" !== m) {
160
- const r3 = a(JSON.parse(m), e2, o2, l2, s2, n2, p, i2);
161
- r3 && r3.label && "" !== r3.label || (r3.label = this.objectPropValueTwo(e2, t2)), r3 && r3.title && "" !== r3.title || (r3.title = r3.label), c = r3;
157
+ const r3 = o.initialization(JSON.parse(m), e2, a2, l, s, n, p, i2);
158
+ r3 && r3.label && "" !== r3.label || (r3.label = this.objectPropValueTwo(e2, t2)), r3 && r3.title && "" !== r3.title || (r3.title = r3.label), u = r3;
162
159
  } else
163
- c.visible = true, c.label = this.objectPropValueTwo(e2, t2), c.title = c.label;
164
- return c;
160
+ u.visible = true, u.label = this.objectPropValueTwo(e2, t2), u.title = u.label;
161
+ return u;
165
162
  } };
166
- export {
167
- s as default
168
- };
163
+ module.exports = r;