agilebuilder-ui 1.1.65-tmp16 → 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 (441) 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 -383
  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 -10
  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 +685 -685
  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 -1
  441. package/vite.config.js +11 -11
@@ -1,57 +1,49 @@
1
- import { $emit as t } from "../../utils/gogocodeTransfer.js";
2
- import e from "./custom-formatter.js";
3
- import s from "./search-form.vue.js";
4
- import { getGridParams as i, getTableHeight as o, isHasOptionFunction as n, addDynamicProp as a } from "./utils.js";
5
- import r from "./store.js";
6
- import l from "./super-grid-service.js";
7
- import h from "./apis.js";
8
- import p from "sortablejs";
9
- import { resolveComponent as d, resolveDirective as c, openBlock as u, createElementBlock as g, withDirectives as m, createBlock as f, vShow as S, createCommentVNode as b, createElementVNode as I, normalizeStyle as y, createVNode as C, withCtx as v, toDisplayString as w, Fragment as P, renderList as D, normalizeClass as x, withModifiers as k, resolveDynamicComponent as z, createTextVNode as F, renderSlot as T } from "vue";
10
- import "./super-nine-grid.vue2.js";
11
- import _ from "../../_virtual/_plugin-vue_export-helper.js";
12
- const O = { name: "SuperNineGrid", components: { SearchForm: s }, props: { code: { type: String, default: "" }, url: { type: String, default: "" }, options: { type: Object, default: function() {
1
+ "use strict";
2
+ const t = require("../../utils/gogocodeTransfer.js"), e = require("./custom-formatter.js"), i = require("./search-form.vue.js"), o = require("./utils.js"), s = require("./store.js"), n = require("./super-grid-service.js"), r = require("./apis.js"), a = require("sortablejs"), l = require("vue");
3
+ require("./super-nine-grid.vue2.js");
4
+ const h = require("../../_virtual/_plugin-vue_export-helper.js"), c = { name: "SuperNineGrid", components: { SearchForm: i }, props: { code: { type: String, default: "" }, url: { type: String, default: "" }, options: { type: Object, default: function() {
13
5
  return {};
14
6
  } }, publishVersion: { type: Number, default: 0 } }, data() {
15
7
  let t2 = [];
16
8
  this.options && this.options.mergeFields && "" !== this.options.mergeFields && (t2 = this.options.mergeFields.split(","));
17
- const e2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?serverPath=", s2 = this.options && this.options.id ? this.options.id : "_nineGrid";
18
- return { isLoading: false, currentPage: 1, showColumnConfig: false, basicInfo: { summary: "no" }, columns: [], pagination: null, query: null, lineEdit: null, gridData: [], sortInfo: null, pageSize: null, showSearch: false, height: null, isSql: false, hasLoadData: false, mergeFields: t2, hasLoadedColumns: false, seen: false, current: null, isHasCreate: true, screenBaseUrl: null, props: null, operations: [], propCloumns: null, multiple: false, createPermission: "true", urlToSaveOrder: null, selections: [], selectionIds: [], selectionModels: {}, searchFormContent: null, initSearchProps: [], defaultShowImageAction: e2, gridId: s2, storeId: this.code + "~" + s2, currentId: null, isShowRadio: !(!this.options || void 0 === this.options.showRadio) && this.options.showRadio, titleStyle: null, isShowEnableState: false, colSpan: 6, slotBefore: "before", titleWidth: this.options && this.options.style && void 0 !== this.options.style.titleWidth ? this.options.style.titleWidth : "60%", slotState: "bottom", isShowBottom: true };
9
+ const e2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?serverPath=", i2 = this.options && this.options.id ? this.options.id : "_nineGrid";
10
+ return { isLoading: false, currentPage: 1, showColumnConfig: false, basicInfo: { summary: "no" }, columns: [], pagination: null, query: null, lineEdit: null, gridData: [], sortInfo: null, pageSize: null, showSearch: false, height: null, isSql: false, hasLoadData: false, mergeFields: t2, hasLoadedColumns: false, seen: false, current: null, isHasCreate: true, screenBaseUrl: null, props: null, operations: [], propCloumns: null, multiple: false, createPermission: "true", urlToSaveOrder: null, selections: [], selectionIds: [], selectionModels: {}, searchFormContent: null, initSearchProps: [], defaultShowImageAction: e2, gridId: i2, storeId: this.code + "~" + i2, currentId: null, isShowRadio: !(!this.options || void 0 === this.options.showRadio) && this.options.showRadio, titleStyle: null, isShowEnableState: false, colSpan: 6, slotBefore: "before", titleWidth: this.options && this.options.style && void 0 !== this.options.style.titleWidth ? this.options.style.titleWidth : "60%", slotState: "bottom", isShowBottom: true };
19
11
  }, computed: {}, provide: () => ({}), created() {
20
- r.set(this.code + "~" + this.gridId, i()), r.set("_nine_list_code", this.code + "~" + this.gridId), this.initSetting(), this.initialize(), this.operations;
12
+ s.set(this.code + "~" + this.gridId, o.getGridParams()), s.set("_nine_list_code", this.code + "~" + this.gridId), this.initSetting(), this.initialize(), this.operations;
21
13
  }, mounted() {
22
14
  this.$watch("showSearch", function(t2, e2) {
23
15
  this.$nextTick(() => {
24
- let e3 = o(t2, this.$refs.sf);
25
- const s2 = this.resizeHeight();
26
- s2 && (e3 = s2), this.height = e3;
16
+ let e3 = o.getTableHeight(t2, this.$refs.sf);
17
+ const i2 = this.resizeHeight();
18
+ i2 && (e3 = i2), this.height = e3;
27
19
  });
28
20
  }, { immediate: true, deep: true }), this.$watch("hasLoadData", function(t2, e2) {
29
21
  true === t2 && this.$nextTick(() => {
30
- const t3 = r.get(this.storeId);
31
- n("gridComplete", this.storeId) && t3.options.gridComplete.call(this, { gridData: this.gridData, columns: t3.columns, superGrid: this.$refs.superGrid });
22
+ const t3 = s.get(this.storeId);
23
+ o.isHasOptionFunction("gridComplete", this.storeId) && t3.options.gridComplete.call(this, { gridData: this.gridData, columns: t3.columns, superGrid: this.$refs.superGrid });
32
24
  const e3 = this.resizeHeight();
33
25
  e3 && (this.height = e3);
34
26
  });
35
27
  }, { immediate: true, deep: true });
36
- }, methods: { ...l, ...h, ...e, getTitleStyle(t2) {
28
+ }, methods: { ...n, ...r, ...e, getTitleStyle(t2) {
37
29
  return this.options && this.options.titleStyle ? this.options.titleStyle.call(this, t2) : { width: "100%" };
38
30
  }, getPropValue(t2, e2) {
39
- let s2 = "";
40
- const i2 = r.get(this.storeId);
31
+ let i2 = "";
32
+ const n2 = s.get(this.storeId);
41
33
  if ("content" === t2) {
42
34
  let t3 = "";
43
- n("setContent", this.storeId) && (t3 = i2.options.getContent.call(this, e2)), void 0 !== t3 && "" !== t3 || (this.props && this.props.content ? t3 = this.objectPropValue(e2, this.propCloumns.content, this.props.content) : this.props && this.props.title && (t3 = this.objectPropValue(e2, this.propCloumns.title, this.props.title))), s2 = t3;
35
+ o.isHasOptionFunction("setContent", this.storeId) && (t3 = n2.options.getContent.call(this, e2)), void 0 !== t3 && "" !== t3 || (this.props && this.props.content ? t3 = this.objectPropValue(e2, this.propCloumns.content, this.props.content) : this.props && this.props.title && (t3 = this.objectPropValue(e2, this.propCloumns.title, this.props.title))), i2 = t3;
44
36
  } else if ("title" === t2) {
45
37
  let t3 = "";
46
- n("setTitle", this.storeId) && (t3 = i2.options.setTitle.call(this, e2)), void 0 !== t3 && "" !== t3 || (this.props && this.props.title ? t3 = this.objectPropValue(e2, this.propCloumns.title, this.props.title) : this.props && this.props.content && (t3 = this.objectPropValue(e2, this.propCloumns.content, this.props.content))), s2 = t3;
38
+ o.isHasOptionFunction("setTitle", this.storeId) && (t3 = n2.options.setTitle.call(this, e2)), void 0 !== t3 && "" !== t3 || (this.props && this.props.title ? t3 = this.objectPropValue(e2, this.propCloumns.title, this.props.title) : this.props && this.props.content && (t3 = this.objectPropValue(e2, this.propCloumns.content, this.props.content))), i2 = t3;
47
39
  } else if ("subTitle" === t2) {
48
40
  let t3 = "";
49
- n("setSubTitle", this.storeId) && (t3 = i2.options.setSubTitle.call(this, e2)), void 0 !== t3 && "" !== t3 || this.props && this.props.subTitle && (t3 = this.objectPropValue(e2, this.propCloumns.subTitle, this.props.subTitle)), s2 = t3;
41
+ o.isHasOptionFunction("setSubTitle", this.storeId) && (t3 = n2.options.setSubTitle.call(this, e2)), void 0 !== t3 && "" !== t3 || this.props && this.props.subTitle && (t3 = this.objectPropValue(e2, this.propCloumns.subTitle, this.props.subTitle)), i2 = t3;
50
42
  }
51
- return void 0 === s2 && (s2 = ""), s2;
43
+ return void 0 === i2 && (i2 = ""), i2;
52
44
  }, resizeHeight() {
53
- const t2 = r.get(this.storeId);
54
- if (n("resizeHeight", this.storeId)) {
45
+ const t2 = s.get(this.storeId);
46
+ if (o.isHasOptionFunction("resizeHeight", this.storeId)) {
55
47
  let e2 = 0;
56
48
  return true === this.showSearch && this.$refs.sf && (e2 = this.$refs.sf.$el.offsetHeight), t2.options.resizeHeight.call(this, { code: this.code, height: this.height, searchHeight: e2 });
57
49
  }
@@ -60,82 +52,82 @@ const O = { name: "SuperNineGrid", components: { SearchForm: s }, props: { code:
60
52
  }, leave() {
61
53
  this.seen = false, this.current = null;
62
54
  }, initSetting() {
63
- const t2 = r.get(this.storeId);
55
+ const t2 = s.get(this.storeId);
64
56
  void 0 !== this.options ? Object.assign(t2.options, this.options) : t2.options = {}, this.options && void 0 !== this.options.isHasCreate && (this.isHasCreate = this.options.isHasCreate), this.options && void 0 !== this.options.props && (this.props = this.options.props), this.options && void 0 !== this.options.operations && (this.operations = this.options.operations), this.options && void 0 !== this.options.createPermission && (this.createPermission = this.options.createPermission), this.options && void 0 !== this.options.multiple && (this.multiple = this.options.multiple), this.options && void 0 !== this.options.isShowEnableState && (this.isShowEnableState = this.options.isShowEnableState), this.options && void 0 !== this.options.colSpan && (this.colSpan = this.options.colSpan);
65
57
  }, getPropColumns() {
66
58
  this.columns && this.columns.length > 0 && (this.propCloumns = {}, this.columns.forEach((t2) => {
67
59
  this.props.imageUrl && this.props.imageUrl === t2.prop && (this.propCloumns.imageUrl = t2), this.props.content && this.props.content === t2.prop && (this.propCloumns.content = t2), this.props.title && this.props.title === t2.prop && (this.propCloumns.title = t2), this.props.subTitle && this.props.subTitle === t2.prop && (this.propCloumns.subTitle = t2);
68
60
  }));
69
61
  }, fetchData(t2, e2) {
70
- return new Promise((s2, i2) => {
62
+ return new Promise((i2, n2) => {
71
63
  if (this.clearSelections(), this.getPropColumns(), this.isLoading = true, this.hasLoadData = false, void 0 === e2 || false === e2) {
72
64
  const e3 = window.sessionStorage.getItem("refreshList-" + this.storeId);
73
65
  if (void 0 !== e3 && "true" === e3) {
74
66
  const e4 = window.sessionStorage.getItem("searchParam-" + this.storeId);
75
67
  if (null != e4 && "" !== e4) {
76
- const s3 = (t2 = JSON.parse(e4)).pagination;
77
- s3 && (this.currentPage = s3.currentPage, this.pagination.pageSize = s3.pageSize, this.pagination.showTotal = s3.showTotal), this.getInitSearchForm(t2.searchForm);
68
+ const i3 = (t2 = JSON.parse(e4)).pagination;
69
+ i3 && (this.currentPage = i3.currentPage, this.pagination.pageSize = i3.pageSize, this.pagination.showTotal = i3.showTotal), this.getInitSearchForm(t2.searchForm);
78
70
  }
79
71
  }
80
72
  }
81
73
  window.sessionStorage.removeItem("refreshList-" + this.storeId), void 0 === t2 && (t2 = this.getSearchParam());
82
- const o2 = r.get(this.storeId);
74
+ const r2 = s.get(this.storeId);
83
75
  let a2 = t2;
84
- if (o2.options.extraParam && (a2 = { searchParam: t2 }, o2.options.extraParam))
85
- for (const t3 in o2.options.extraParam)
86
- a2[t3] = o2.options.extraParam[t3];
87
- o2.searchParam = t2, o2.url = this.url;
76
+ if (r2.options.extraParam && (a2 = { searchParam: t2 }, r2.options.extraParam))
77
+ for (const t3 in r2.options.extraParam)
78
+ a2[t3] = r2.options.extraParam[t3];
79
+ r2.searchParam = t2, r2.url = this.url;
88
80
  const l2 = this.url;
89
81
  window.sessionStorage.setItem("searchParam-" + this.storeId, JSON.stringify(a2)), this.$http.post(l2, a2).then((t3) => {
90
- if (n("gridDataLoaded", this.storeId)) {
91
- const e3 = o2.options.gridDataLoaded.call(this, { gridData: t3.data, columns: o2.columns });
82
+ if (o.isHasOptionFunction("gridDataLoaded", this.storeId)) {
83
+ const e3 = r2.options.gridDataLoaded.call(this, { gridData: t3.data, columns: r2.columns });
92
84
  this.gridData = e3 || t3.data;
93
85
  } else
94
86
  this.gridData = t3.data;
95
- this.gridData || (this.gridData = []), null !== this.pagination && (this.pagination.total = t3.total), o2.gridData = this.gridData, o2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), o2.pagination = this.pagination, o2.loaded = true, this.hasLoadData = true, s2();
87
+ this.gridData || (this.gridData = []), null !== this.pagination && (this.pagination.total = t3.total), r2.gridData = this.gridData, r2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), r2.pagination = this.pagination, r2.loaded = true, this.hasLoadData = true, i2();
96
88
  }).catch((t3) => {
97
- n("loadError", this.storeId) && o2.options.loadError.call(this, this.code, t3), i2(t3);
89
+ o.isHasOptionFunction("loadError", this.storeId) && r2.options.loadError.call(this, this.code, t3), n2(t3);
98
90
  });
99
91
  });
100
92
  }, getLength: (t2) => t2 && t2.length > 5 ? "(" + t2.substring(0, 5) + "...)" : t2 ? "(" + t2 + ")" : "", getInitSearchForm(t2) {
101
- const e2 = r.get(this.storeId);
93
+ const e2 = s.get(this.storeId);
102
94
  t2 && t2.length > 0 ? (this.searchFormContent = {}, t2.forEach((t3) => {
103
95
  let e3 = t3.propName;
104
- const s2 = t3.columnProp, i2 = t3.dataType;
105
- i2 && "BOOLEAN" === i2 && (e3 = s2), this.initSearchProps.push(e3);
106
- const o2 = t3.propValue;
107
- e3.indexOf(".") > 0 ? a(this.searchFormContent, e3, o2) : this.searchFormContent[e3] = o2;
96
+ const i2 = t3.columnProp, s2 = t3.dataType;
97
+ s2 && "BOOLEAN" === s2 && (e3 = i2), this.initSearchProps.push(e3);
98
+ const n2 = t3.propValue;
99
+ e3.indexOf(".") > 0 ? o.addDynamicProp(this.searchFormContent, e3, n2) : this.searchFormContent[e3] = n2;
108
100
  }), e2.searchForm = t2, this.showSearchForm()) : e2.searchForm = null;
109
101
  }, showDemo() {
110
102
  this.isLoading = true, this.$http.get(this.url).then((t2) => {
111
103
  Object.assign(this, t2);
112
- const e2 = r.get(this.storeId);
104
+ const e2 = s.get(this.storeId);
113
105
  if (e2.listCode = this.code, e2.columns = this.columns, e2.columns && this.options.dynamicColumns)
114
- for (var s2 = 0; s2 < this.options.dynamicColumns.length; s2++)
115
- this.options.dynamicColumns[s2].dynamic = true, e2.columns.push(this.options.dynamicColumns[s2]);
116
- if (e2.lineEdit = this.lineEdit, e2.basicInfo = this.basicInfo, e2.pagination = this.pagination, e2.query = this.query, this.gridData = t2.gridData, n("gridDataLoaded", this.storeId)) {
117
- const s3 = e2.options.gridDataLoaded.call(this, t2.gridData);
118
- this.gridData = s3 || t2.gridData;
106
+ for (var i2 = 0; i2 < this.options.dynamicColumns.length; i2++)
107
+ this.options.dynamicColumns[i2].dynamic = true, e2.columns.push(this.options.dynamicColumns[i2]);
108
+ if (e2.lineEdit = this.lineEdit, e2.basicInfo = this.basicInfo, e2.pagination = this.pagination, e2.query = this.query, this.gridData = t2.gridData, o.isHasOptionFunction("gridDataLoaded", this.storeId)) {
109
+ const i3 = e2.options.gridDataLoaded.call(this, t2.gridData);
110
+ this.gridData = i3 || t2.gridData;
119
111
  } else
120
112
  this.gridData = t2.gridData;
121
- null != this.pagination && (this.pagination.total = t2.total), this.gridData || (this.gridData = []), e2.gridData = this.gridData, e2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), e2.pagination = this.pagination, n("gridComplete", this.storeId) && e2.options.gridComplete.call(this, this.gridData, e2.columns);
113
+ null != this.pagination && (this.pagination.total = t2.total), this.gridData || (this.gridData = []), e2.gridData = this.gridData, e2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), e2.pagination = this.pagination, o.isHasOptionFunction("gridComplete", this.storeId) && e2.options.gridComplete.call(this, this.gridData, e2.columns);
122
114
  }).catch((t2) => {
123
- if (n("loadError", this.storeId)) {
124
- r.get(this.storeId).options.loadError.call(this, this.code, t2);
115
+ if (o.isHasOptionFunction("loadError", this.storeId)) {
116
+ s.get(this.storeId).options.loadError.call(this, this.code, t2);
125
117
  }
126
118
  });
127
119
  }, search(e2) {
128
- const s2 = this;
129
- return new Promise((i2, o2) => {
130
- const n2 = r.get(s2.storeId);
131
- n2.searchForm = null != e2 ? e2 : null, s2.fetchData(s2.getSearchParam(), true).then((e3) => {
132
- void 0 !== n2.options && void 0 !== n2.options.isHiddenSearchForm && true === n2.options.isHiddenSearchForm && (s2.showSearch = false, t(s2, "cancel-search")), s2.$refs.sf && (s2.$refs.sf.loading = false), i2(e3);
120
+ const i2 = this;
121
+ return new Promise((o2, n2) => {
122
+ const r2 = s.get(i2.storeId);
123
+ r2.searchForm = null != e2 ? e2 : null, i2.fetchData(i2.getSearchParam(), true).then((e3) => {
124
+ void 0 !== r2.options && void 0 !== r2.options.isHiddenSearchForm && true === r2.options.isHiddenSearchForm && (i2.showSearch = false, t.$emit(i2, "cancel-search")), i2.$refs.sf && (i2.$refs.sf.loading = false), o2(e3);
133
125
  }).catch((t2) => {
134
- s2.$refs.sf && (s2.$refs.sf.loading = false), o2(t2);
126
+ i2.$refs.sf && (i2.$refs.sf.loading = false), n2(t2);
135
127
  });
136
128
  });
137
129
  }, getSearchParam() {
138
- const t2 = { code: this.code }, e2 = r.get(this.storeId);
130
+ const t2 = { code: this.code }, e2 = s.get(this.storeId);
139
131
  if (null !== this.pagination) {
140
132
  const e3 = { currentPage: this.currentPage, pageSize: this.pagination.pageSize, showTotal: this.pagination.showTotal };
141
133
  null !== this.pageSize && (e3.pageSize = this.pageSize), t2.pagination = e3;
@@ -143,14 +135,14 @@ const O = { name: "SuperNineGrid", components: { SearchForm: s }, props: { code:
143
135
  if (null !== this.sortInfo && (t2.sorts = this.sortInfo), this.mergeFields && this.mergeFields.length > 0) {
144
136
  t2.sorts || (t2.sorts = []);
145
137
  const e3 = [];
146
- for (const s2 of this.mergeFields) {
147
- let i2 = true;
138
+ for (const i2 of this.mergeFields) {
139
+ let o2 = true;
148
140
  for (const e4 of t2.sorts)
149
- if (e4.prop === s2) {
150
- i2 = false;
141
+ if (e4.prop === i2) {
142
+ o2 = false;
151
143
  break;
152
144
  }
153
- i2 && e3.push({ prop: s2, order: "ascending" });
145
+ o2 && e3.push({ prop: i2, order: "ascending" });
154
146
  }
155
147
  e3.push(...t2.sorts), t2.sorts = e3;
156
148
  }
@@ -159,16 +151,16 @@ const O = { name: "SuperNineGrid", components: { SearchForm: s }, props: { code:
159
151
  this.pageSize = t2, this.fetchData(this.getSearchParam());
160
152
  }, handleCurrentChange(t2) {
161
153
  this.fetchData(this.getSearchParam());
162
- }, handleSortChange({ column: e2, prop: s2, order: i2 }) {
163
- this.sortInfo = null !== s2 ? [{ prop: s2, order: i2 }] : null, this.fetchData(this.getSearchParam()), t(this, "sort-change", { column: e2, prop: s2, order: i2 });
154
+ }, handleSortChange({ column: e2, prop: i2, order: o2 }) {
155
+ this.sortInfo = null !== i2 ? [{ prop: i2, order: o2 }] : null, this.fetchData(this.getSearchParam()), t.$emit(this, "sort-change", { column: e2, prop: i2, order: o2 });
164
156
  }, resetSearch() {
165
157
  this.search(null, false);
166
158
  }, add() {
167
- t(this, "add");
168
- }, buttonClick(e2, s2) {
169
- e2 && ("function" == typeof e2 ? e2.call(this, s2) : t(this, e2, s2));
159
+ t.$emit(this, "add");
160
+ }, buttonClick(e2, i2) {
161
+ e2 && ("function" == typeof e2 ? e2.call(this, i2) : t.$emit(this, e2, i2));
170
162
  }, clickContent(e2) {
171
- this.changeSelect(e2), t(this, "click", e2);
163
+ this.changeSelect(e2), t.$emit(this, "click", e2);
172
164
  }, rowDrop() {
173
165
  if (this.urlToSaveOrder) {
174
166
  let e2 = this.urlToSaveOrder;
@@ -176,50 +168,48 @@ const O = { name: "SuperNineGrid", components: { SearchForm: s }, props: { code:
176
168
  let t2 = window.$vueApp.config.globalProperties.baseURL;
177
169
  t2.lastIndexOf("/") === t2.length - 1 && (t2 = t2.substring(0, t2.length - 1)), e2.indexOf("/") > 0 && (e2 = "/" + e2), e2 = t2 + e2;
178
170
  }
179
- const s2 = document.querySelector("#" + this.gridId + " .el-row");
180
- if (null != s2) {
181
- const i2 = this;
182
- p.create(s2, { draggable: ".col-content", onEnd({ newIndex: s3, oldIndex: o2 }) {
183
- null != document.querySelector("#" + i2.gridId + " #_addCardId_") && (o2 > 0 && (o2 -= 1), s3 > 0 && (s3 -= 1));
184
- const n2 = { oldIndex: o2, newIndex: s3, gridData: i2.gridData };
185
- i2.$http.post(e2, n2).then((e3) => {
186
- const a2 = i2.gridData.splice(o2, 1)[0];
187
- i2.gridData.splice(s3, 0, a2), i2.refresh().then(() => {
188
- t(i2, "afterDrag", n2);
171
+ const i2 = document.querySelector("#" + this.gridId + " .el-row");
172
+ if (null != i2) {
173
+ const o2 = this;
174
+ a.create(i2, { draggable: ".col-content", onEnd({ newIndex: i3, oldIndex: s2 }) {
175
+ null != document.querySelector("#" + o2.gridId + " #_addCardId_") && (s2 > 0 && (s2 -= 1), i3 > 0 && (i3 -= 1));
176
+ const n2 = { oldIndex: s2, newIndex: i3, gridData: o2.gridData };
177
+ o2.$http.post(e2, n2).then((e3) => {
178
+ const r2 = o2.gridData.splice(s2, 1)[0];
179
+ o2.gridData.splice(i3, 0, r2), o2.refresh().then(() => {
180
+ t.$emit(o2, "afterDrag", n2);
189
181
  });
190
182
  });
191
183
  } });
192
184
  }
193
185
  }
194
186
  }, changeChecked(t2, e2) {
195
- const s2 = this.gridData[e2];
196
- (t2 + "").indexOf("false-") >= 0 ? this.unselect(s2) : this.select(s2);
187
+ const i2 = this.gridData[e2];
188
+ (t2 + "").indexOf("false-") >= 0 ? this.unselect(i2) : this.select(i2);
197
189
  }, unselect(e2) {
198
- const s2 = e2.id, i2 = this.selectionIds.indexOf(s2);
199
- i2 > -1 && (this.selections.splice(i2, 1), this.selectionIds.splice(i2, 1)), t(this, "unselect", e2, this.selections), this.selectionModels["select" + s2] = "false-" + s2;
190
+ const i2 = e2.id, o2 = this.selectionIds.indexOf(i2);
191
+ o2 > -1 && (this.selections.splice(o2, 1), this.selectionIds.splice(o2, 1)), t.$emit(this, "unselect", e2, this.selections), this.selectionModels["select" + i2] = "false-" + i2;
200
192
  }, select(e2) {
201
- const s2 = e2.id;
202
- this.selectionIds.indexOf(s2) < 0 && (this.selectionIds[this.selectionIds.length] = s2, this.selections[this.selections.length] = e2), t(this, "select", e2, this.selections), this.selectionModels["select" + s2] = s2;
193
+ const i2 = e2.id;
194
+ this.selectionIds.indexOf(i2) < 0 && (this.selectionIds[this.selectionIds.length] = i2, this.selections[this.selections.length] = e2), t.$emit(this, "select", e2, this.selections), this.selectionModels["select" + i2] = i2;
203
195
  }, changeSelectWhenRadio(t2, e2) {
204
- const s2 = this.gridData[e2];
205
- this.selectionIds = [], this.selections = [], this.selectionModels = {}, this.select(s2);
196
+ const i2 = this.gridData[e2];
197
+ this.selectionIds = [], this.selections = [], this.selectionModels = {}, this.select(i2);
206
198
  }, changeSelect(t2) {
207
199
  const e2 = t2.id;
208
200
  true === this.multiple ? this.selectionIds && this.selectionIds.indexOf(e2) >= 0 ? this.unselect(t2) : this.select(t2) : (this.currentId = e2, this.selectionIds = [], this.selections = [], this.selectionModels = {}, this.select(t2));
209
201
  }, isShowButton(t2, e2) {
210
- const s2 = this.isShowButtonFun(t2, e2);
211
- return void 0 === s2 || s2;
202
+ const i2 = this.isShowButtonFun(t2, e2);
203
+ return void 0 === i2 || i2;
212
204
  }, showEnableButton(t2) {
213
- const e2 = r.get(this.storeId);
214
- return !!n("showEnableButton", this.storeId) && e2.options.showEnableButton.call(this, t2);
205
+ const e2 = s.get(this.storeId);
206
+ return !!o.isHasOptionFunction("showEnableButton", this.storeId) && e2.options.showEnableButton.call(this, t2);
215
207
  }, changeState(t2) {
216
- const e2 = r.get(this.storeId);
217
- return !!n("changeState", this.storeId) && e2.options.changeState.call(this, t2);
218
- } }, emits: ["sort-change", , "click", "afterDrag", "unselect", "select", "cancel-search", "add", ,] }, $ = { class: "nine-grid-area" }, E = ["id"], j = { style: { "margin-top": "7px" } }, L = ["onClick", "onMouseenter"], B = { class: "image", style: { padding: "15px", "box-sizing": "border-box" } }, H = { key: 0, style: { "margin-left": "2px", color: "#00b42a", "background-color": "#e8ffea", width: "68px", "text-align": "center", display: "inline-block" } }, V = ["title"], M = { class: "button-style" }, N = { style: { padding: "10px", "box-sizing": "border-box", width: "50px" } }, U = { style: { "padding-left": "15px" } }, q = ["onClick"], G = { key: 0, style: { position: "absolute", right: "5%", bottom: "9%" } };
219
- const R = _(O, [["render", function(t2, e2, s2, i2, o2, n2) {
220
- const a2 = d("search-form"), r2 = d("Plus"), l2 = d("el-icon"), h2 = d("el-card"), p2 = d("el-col"), _2 = d("el-tooltip"), O2 = d("SuccessFilled"), R2 = d("el-button"), A = d("el-row"), J = d("el-pagination"), W = c("permission");
221
- return u(), g("div", null, [o2.hasLoadedColumns ? m((u(), f(a2, { key: 0, ref: "sf", code: s2.code, columns: o2.columns, "grid-id": o2.gridId, "init-search-props": o2.initSearchProps, pagination: o2.pagination, query: o2.query, "search-param": o2.searchFormContent, url: s2.url, onReset: n2.resetSearch, onSearch: n2.search }, null, 8, ["code", "columns", "grid-id", "init-search-props", "pagination", "query", "search-param", "url", "onReset", "onSearch"])), [[S, o2.showSearch]]) : b("", true), I("div", $, [I("div", { id: o2.gridId, style: y("height:" + o2.height + "px;overflow-y: auto;overflow-x: hidden;") }, [C(A, { gutter: 24 }, { default: v(() => [o2.isHasCreate ? m((u(), f(p2, { key: 0, id: "_addCardId_", span: o2.colSpan }, { default: v(() => [C(h2, { "body-style": { padding: "0px" }, style: { "border-radius": "4px", background: "#ffffff", border: "1px solid #e5e8ef" } }, { default: v(() => [I("div", { class: "add-screen", onClick: e2[0] || (e2[0] = (...t3) => n2.add && n2.add(...t3)) }, [C(l2, null, { default: v(() => [C(r2)]), _: 1 }), I("span", j, w(t2.$t("superNineGrid.add")), 1)])]), _: 1 })]), _: 1 }, 8, ["span"])), [[W, o2.createPermission]]) : b("", true), (u(true), g(P, null, D(o2.gridData, (s3, i3) => (u(), f(p2, { key: s3.id, offset: 1.5, span: o2.colSpan }, { default: v(() => [C(h2, { "body-style": { padding: "0px" }, style: y({ border: o2.selectionIds.indexOf(s3.id) > -1 ? "1px solid #005EBA" : "", position: "relative" }), shadow: "hover" }, { default: v(() => [I("div", { style: { height: "160px" }, onClick: (t3) => n2.clickContent(s3), onMouseenter: (t3) => n2.enter(i3), onMouseleave: e2[1] || (e2[1] = (t3) => n2.leave()) }, [I("div", B, [I("div", null, [C(_2, { content: o2.props && o2.props.content ? n2.getPropValue("content", s3) + "(" + s3.code + ")" : o2.props && o2.props.title ? n2.getPropValue("title", s3) + "(" + s3.code + ")" : "", effect: "dark", placement: "top-start" }, { default: v(() => [o2.props && o2.props.content ? (u(), g("div", { key: 0, style: y("display: inline-block;width:" + o2.titleWidth), class: "ellipsis cell--span" }, w(n2.getPropValue("content", s3) + "(" + s3.code + ")"), 5)) : o2.props && o2.props.title ? (u(), g("div", { key: 1, style: y("display: inline-block;width:" + o2.titleWidth), class: "ellipsis cell--span" }, w(n2.getPropValue("title", s3) + "(" + s3.code + ")"), 5)) : b("", true)]), _: 2 }, 1032, ["content"]), n2.showEnableButton(s3) ? (u(), g("div", H, [C(l2, null, { default: v(() => [C(O2)]), _: 1 }), I("span", { title: n2.getPropValue("subTitle", s3), style: { "margin-left": "4px" } }, w(n2.getPropValue("subTitle", s3)), 9, V)])) : b("", true)]), I("div", M, [I("div", N, w(t2.$t("imatrixUIPublicModel.edit")), 1), I("div", U, [(u(true), g(P, null, D(o2.operations, (t3) => (u(), g(P, null, [n2.isShowButton(s3, t3) ? (u(), g(P, { key: 0 }, [t3.icon ? m((u(), f(_2, { key: t3.name, content: t3.name, class: "item", effect: "dark", placement: "top", style: { "background-color": "red" } }, { default: v(() => [C(l2, { class: x(t3.icon + " icons"), onClick: k((e3) => n2.buttonClick(t3.event, s3), ["stop"]) }, { default: v(() => [(u(), f(z(t3.icon)))]), _: 2 }, 1032, ["class", "onClick"])]), _: 2 }, 1032, ["content"])), [[W, t3.permission ? t3.permission : "true"]]) : m((u(), g("em", { key: t3.name, class: x(t3.name + " icons"), onClick: k((e3) => n2.buttonClick(t3.event, s3), ["stop"]) }, [F(w(t3.name), 1)], 10, q)), [[W, t3.permission ? t3.permission : "true"]])], 64)) : b("", true)], 64))), 256)), T(t2.$slots, o2.slotBefore, { params: s3 }, void 0, true)])]), o2.isShowBottom ? (u(), g("div", G, [T(t2.$slots, o2.slotState, { params: s3 }, void 0, true), o2.isShowEnableState ? (u(), g(P, { key: 0 }, [n2.showEnableButton(s3) ? (u(), f(R2, { key: 0, class: "button--default", size: "default", onClick: k((t3) => n2.changeState(s3), ["stop"]) }, { default: v(() => [F(w(t2.$t("imatrixUIPublicModel.forbidden")), 1)]), _: 2 }, 1032, ["onClick"])) : (u(), f(R2, { key: 1, size: "default", type: "primary", onClick: k((t3) => n2.changeState(s3), ["stop"]) }, { default: v(() => [F(w(t2.$t("imatrixUIPublicModel.startUsing")), 1)]), _: 2 }, 1032, ["onClick"]))], 64)) : b("", true)])) : b("", true)])], 40, L)]), _: 2 }, 1032, ["style"])]), _: 2 }, 1032, ["span"]))), 128))]), _: 3 })], 12, E), o2.pagination ? (u(), f(J, { key: 0, background: "", "current-page": o2.currentPage, "onUpdate:currentPage": e2[2] || (e2[2] = (t3) => o2.currentPage = t3), "page-size": o2.pagination.pageSize, "onUpdate:pageSize": e2[3] || (e2[3] = (t3) => o2.pagination.pageSize = t3), layout: o2.pagination.layout, "page-sizes": o2.pagination.pageSizes, total: void 0 !== o2.pagination.total && "" !== o2.pagination.total && null !== o2.pagination.total ? o2.pagination.total : 0, onSizeChange: n2.handleSizeChange, onCurrentChange: n2.handleCurrentChange }, null, 8, ["current-page", "page-size", "layout", "page-sizes", "total", "onSizeChange", "onCurrentChange"])) : b("", true)])]);
208
+ const e2 = s.get(this.storeId);
209
+ return !!o.isHasOptionFunction("changeState", this.storeId) && e2.options.changeState.call(this, t2);
210
+ } }, emits: ["sort-change", , "click", "afterDrag", "unselect", "select", "cancel-search", "add", ,] }, p = { class: "nine-grid-area" }, d = ["id"], u = { style: { "margin-top": "7px" } }, g = ["onClick", "onMouseenter"], m = { class: "image", style: { padding: "15px", "box-sizing": "border-box" } }, f = { key: 0, style: { "margin-left": "2px", color: "#00b42a", "background-color": "#e8ffea", width: "68px", "text-align": "center", display: "inline-block" } }, S = ["title"], C = { class: "button-style" }, y = { style: { padding: "10px", "box-sizing": "border-box", width: "50px" } }, k = { style: { "padding-left": "15px" } }, v = ["onClick"], w = { key: 0, style: { position: "absolute", right: "5%", bottom: "9%" } };
211
+ const b = h(c, [["render", function(t2, e2, i2, o2, s2, n2) {
212
+ const r2 = l.resolveComponent("search-form"), a2 = l.resolveComponent("Plus"), h2 = l.resolveComponent("el-icon"), c2 = l.resolveComponent("el-card"), b2 = l.resolveComponent("el-col"), I = l.resolveComponent("el-tooltip"), D = l.resolveComponent("SuccessFilled"), x = l.resolveComponent("el-button"), P = l.resolveComponent("el-row"), B = l.resolveComponent("el-pagination"), F = l.resolveDirective("permission");
213
+ return l.openBlock(), l.createElementBlock("div", null, [s2.hasLoadedColumns ? l.withDirectives((l.openBlock(), l.createBlock(r2, { key: 0, ref: "sf", code: i2.code, columns: s2.columns, "grid-id": s2.gridId, "init-search-props": s2.initSearchProps, pagination: s2.pagination, query: s2.query, "search-param": s2.searchFormContent, url: i2.url, onReset: n2.resetSearch, onSearch: n2.search }, null, 8, ["code", "columns", "grid-id", "init-search-props", "pagination", "query", "search-param", "url", "onReset", "onSearch"])), [[l.vShow, s2.showSearch]]) : l.createCommentVNode("", true), l.createElementVNode("div", p, [l.createElementVNode("div", { id: s2.gridId, style: l.normalizeStyle("height:" + s2.height + "px;overflow-y: auto;overflow-x: hidden;") }, [l.createVNode(P, { gutter: 24 }, { default: l.withCtx(() => [s2.isHasCreate ? l.withDirectives((l.openBlock(), l.createBlock(b2, { key: 0, id: "_addCardId_", span: s2.colSpan }, { default: l.withCtx(() => [l.createVNode(c2, { "body-style": { padding: "0px" }, style: { "border-radius": "4px", background: "#ffffff", border: "1px solid #e5e8ef" } }, { default: l.withCtx(() => [l.createElementVNode("div", { class: "add-screen", onClick: e2[0] || (e2[0] = (...t3) => n2.add && n2.add(...t3)) }, [l.createVNode(h2, null, { default: l.withCtx(() => [l.createVNode(a2)]), _: 1 }), l.createElementVNode("span", u, l.toDisplayString(t2.$t("superNineGrid.add")), 1)])]), _: 1 })]), _: 1 }, 8, ["span"])), [[F, s2.createPermission]]) : l.createCommentVNode("", true), (l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(s2.gridData, (i3, o3) => (l.openBlock(), l.createBlock(b2, { key: i3.id, offset: 1.5, span: s2.colSpan }, { default: l.withCtx(() => [l.createVNode(c2, { "body-style": { padding: "0px" }, style: l.normalizeStyle({ border: s2.selectionIds.indexOf(i3.id) > -1 ? "1px solid #005EBA" : "", position: "relative" }), shadow: "hover" }, { default: l.withCtx(() => [l.createElementVNode("div", { style: { height: "160px" }, onClick: (t3) => n2.clickContent(i3), onMouseenter: (t3) => n2.enter(o3), onMouseleave: e2[1] || (e2[1] = (t3) => n2.leave()) }, [l.createElementVNode("div", m, [l.createElementVNode("div", null, [l.createVNode(I, { content: s2.props && s2.props.content ? n2.getPropValue("content", i3) + "(" + i3.code + ")" : s2.props && s2.props.title ? n2.getPropValue("title", i3) + "(" + i3.code + ")" : "", effect: "dark", placement: "top-start" }, { default: l.withCtx(() => [s2.props && s2.props.content ? (l.openBlock(), l.createElementBlock("div", { key: 0, style: l.normalizeStyle("display: inline-block;width:" + s2.titleWidth), class: "ellipsis cell--span" }, l.toDisplayString(n2.getPropValue("content", i3) + "(" + i3.code + ")"), 5)) : s2.props && s2.props.title ? (l.openBlock(), l.createElementBlock("div", { key: 1, style: l.normalizeStyle("display: inline-block;width:" + s2.titleWidth), class: "ellipsis cell--span" }, l.toDisplayString(n2.getPropValue("title", i3) + "(" + i3.code + ")"), 5)) : l.createCommentVNode("", true)]), _: 2 }, 1032, ["content"]), n2.showEnableButton(i3) ? (l.openBlock(), l.createElementBlock("div", f, [l.createVNode(h2, null, { default: l.withCtx(() => [l.createVNode(D)]), _: 1 }), l.createElementVNode("span", { title: n2.getPropValue("subTitle", i3), style: { "margin-left": "4px" } }, l.toDisplayString(n2.getPropValue("subTitle", i3)), 9, S)])) : l.createCommentVNode("", true)]), l.createElementVNode("div", C, [l.createElementVNode("div", y, l.toDisplayString(t2.$t("imatrixUIPublicModel.edit")), 1), l.createElementVNode("div", k, [(l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(s2.operations, (t3) => (l.openBlock(), l.createElementBlock(l.Fragment, null, [n2.isShowButton(i3, t3) ? (l.openBlock(), l.createElementBlock(l.Fragment, { key: 0 }, [t3.icon ? l.withDirectives((l.openBlock(), l.createBlock(I, { key: t3.name, content: t3.name, class: "item", effect: "dark", placement: "top", style: { "background-color": "red" } }, { default: l.withCtx(() => [l.createVNode(h2, { class: l.normalizeClass(t3.icon + " icons"), onClick: l.withModifiers((e3) => n2.buttonClick(t3.event, i3), ["stop"]) }, { default: l.withCtx(() => [(l.openBlock(), l.createBlock(l.resolveDynamicComponent(t3.icon)))]), _: 2 }, 1032, ["class", "onClick"])]), _: 2 }, 1032, ["content"])), [[F, t3.permission ? t3.permission : "true"]]) : l.withDirectives((l.openBlock(), l.createElementBlock("em", { key: t3.name, class: l.normalizeClass(t3.name + " icons"), onClick: l.withModifiers((e3) => n2.buttonClick(t3.event, i3), ["stop"]) }, [l.createTextVNode(l.toDisplayString(t3.name), 1)], 10, v)), [[F, t3.permission ? t3.permission : "true"]])], 64)) : l.createCommentVNode("", true)], 64))), 256)), l.renderSlot(t2.$slots, s2.slotBefore, { params: i3 }, void 0, true)])]), s2.isShowBottom ? (l.openBlock(), l.createElementBlock("div", w, [l.renderSlot(t2.$slots, s2.slotState, { params: i3 }, void 0, true), s2.isShowEnableState ? (l.openBlock(), l.createElementBlock(l.Fragment, { key: 0 }, [n2.showEnableButton(i3) ? (l.openBlock(), l.createBlock(x, { key: 0, class: "button--default", size: "default", onClick: l.withModifiers((t3) => n2.changeState(i3), ["stop"]) }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(t2.$t("imatrixUIPublicModel.forbidden")), 1)]), _: 2 }, 1032, ["onClick"])) : (l.openBlock(), l.createBlock(x, { key: 1, size: "default", type: "primary", onClick: l.withModifiers((t3) => n2.changeState(i3), ["stop"]) }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(t2.$t("imatrixUIPublicModel.startUsing")), 1)]), _: 2 }, 1032, ["onClick"]))], 64)) : l.createCommentVNode("", true)])) : l.createCommentVNode("", true)])], 40, g)]), _: 2 }, 1032, ["style"])]), _: 2 }, 1032, ["span"]))), 128))]), _: 3 })], 12, d), s2.pagination ? (l.openBlock(), l.createBlock(B, { key: 0, background: "", "current-page": s2.currentPage, "onUpdate:currentPage": e2[2] || (e2[2] = (t3) => s2.currentPage = t3), "page-size": s2.pagination.pageSize, "onUpdate:pageSize": e2[3] || (e2[3] = (t3) => s2.pagination.pageSize = t3), layout: s2.pagination.layout, "page-sizes": s2.pagination.pageSizes, total: void 0 !== s2.pagination.total && "" !== s2.pagination.total && null !== s2.pagination.total ? s2.pagination.total : 0, onSizeChange: n2.handleSizeChange, onCurrentChange: n2.handleCurrentChange }, null, 8, ["current-page", "page-size", "layout", "page-sizes", "total", "onSizeChange", "onCurrentChange"])) : l.createCommentVNode("", true)])]);
222
214
  }], ["__scopeId", "data-v-80f6a26f"]]);
223
- export {
224
- R as default
225
- };
215
+ module.exports = b;
@@ -1,4 +1,2 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
1
+ "use strict";
2
+ module.exports = "";
@@ -1,32 +1,36 @@
1
- import t from "./store.js";
2
- import * as n from "vue";
3
- function i(n2, i2) {
4
- i2 || (i2 = t.get("_nine_list_code")), i2 && i2.indexOf("~") < 0 && (i2 += "~_nineGrid");
5
- const o2 = t.get(i2);
6
- return !(!o2.options || "function" != typeof o2.options[n2]);
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const e = require("./store.js");
4
+ function t(e2) {
5
+ const t2 = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
6
+ if (e2) {
7
+ for (const n2 in e2)
8
+ if ("default" !== n2) {
9
+ const o = Object.getOwnPropertyDescriptor(e2, n2);
10
+ Object.defineProperty(t2, n2, o.get ? o : { enumerable: true, get: () => e2[n2] });
11
+ }
12
+ }
13
+ return t2.default = e2, Object.freeze(t2);
7
14
  }
8
- function o() {
15
+ const n = t(require("vue"));
16
+ exports.addDynamicProp = function(e2, t2, n2) {
17
+ const o = t2.split(".");
18
+ if (1 === o.length)
19
+ return void (e2[t2] = void 0 !== n2 ? n2 : null);
20
+ let r = e2;
21
+ for (let e3 = 0; e3 < o.length - 1; e3++)
22
+ void 0 === r[o[e3]] && (r[o[e3]] = {}), r = r[o[e3]];
23
+ r[o[o.length - 1]] = void 0 !== n2 ? n2 : null;
24
+ }, exports.getGridParams = function() {
9
25
  return n.reactive({ columns: [], gridData: [], orgGridData: [], showValidateError: true, options: {} });
10
- }
11
- function e(t2, n2, i2) {
12
- const o2 = n2.split(".");
13
- if (1 === o2.length)
14
- return void (t2[n2] = void 0 !== i2 ? i2 : null);
15
- let e2 = t2;
16
- for (let t3 = 0; t3 < o2.length - 1; t3++)
17
- void 0 === e2[o2[t3]] && (e2[o2[t3]] = {}), e2 = e2[o2[t3]];
18
- e2[o2[o2.length - 1]] = void 0 !== i2 ? i2 : null;
19
- }
20
- function r(t2, n2) {
21
- if (true === t2) {
22
- let t3 = 0;
23
- return n2 && (t3 = n2.$el.offsetHeight), window.innerHeight - t3 - 165;
26
+ }, exports.getTableHeight = function(e2, t2) {
27
+ if (true === e2) {
28
+ let e3 = 0;
29
+ return t2 && (e3 = t2.$el.offsetHeight), window.innerHeight - e3 - 165;
24
30
  }
25
31
  return window.innerHeight - 165;
26
- }
27
- export {
28
- e as addDynamicProp,
29
- o as getGridParams,
30
- r as getTableHeight,
31
- i as isHasOptionFunction
32
+ }, exports.isHasOptionFunction = function(t2, n2) {
33
+ n2 || (n2 = e.get("_nine_list_code")), n2 && n2.indexOf("~") < 0 && (n2 += "~_nineGrid");
34
+ const o = e.get(n2);
35
+ return !(!o.options || "function" != typeof o.options[t2]);
32
36
  };
@@ -1,7 +1,5 @@
1
- import n from "./src/svg-icon.vue.js";
2
- n.install = function(o) {
3
- o.component(n.name, n);
4
- };
5
- export {
6
- n as default
7
- };
1
+ "use strict";
2
+ const e = require("./src/svg-icon.vue.js");
3
+ e.install = function(n) {
4
+ n.component(e.name, e);
5
+ }, module.exports = e;
@@ -1,14 +1,12 @@
1
- import { openBlock as e, createElementBlock as s, normalizeClass as r, createElementVNode as n } from "vue";
2
- import "./svg-icon.vue2.js";
3
- import i from "../../_virtual/_plugin-vue_export-helper.js";
4
- const t = ["xlink:href"];
5
- const a = i({ name: "SvgIcon", props: { iconClass: { type: String, required: true }, className: { type: String, default: "" } }, computed: { iconName() {
1
+ "use strict";
2
+ const e = require("vue");
3
+ require("./svg-icon.vue2.js");
4
+ const s = require("../../_virtual/_plugin-vue_export-helper.js"), r = ["xlink:href"];
5
+ const n = s({ name: "SvgIcon", props: { iconClass: { type: String, required: true }, className: { type: String, default: "" } }, computed: { iconName() {
6
6
  return `#icon-${this.iconClass}`;
7
7
  }, svgClass() {
8
8
  return this.className ? "svg-icon " + this.className : "svg-icon";
9
- } } }, [["render", function(i2, a2, o, c, l, u) {
10
- return e(), s("svg", { class: r(u.svgClass), "aria-hidden": "true" }, [n("use", { "xlink:href": u.iconName }, null, 8, t)], 2);
9
+ } } }, [["render", function(s2, n2, t, i, a, c) {
10
+ return e.openBlock(), e.createElementBlock("svg", { class: e.normalizeClass(c.svgClass), "aria-hidden": "true" }, [e.createElementVNode("use", { "xlink:href": c.iconName }, null, 8, r)], 2);
11
11
  }], ["__scopeId", "data-v-67e4e504"]]);
12
- export {
13
- a as default
14
- };
12
+ module.exports = n;
@@ -1,4 +1,2 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
1
+ "use strict";
2
+ module.exports = "";
@@ -1,33 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
1
3
  const t = /* @__PURE__ */ new WeakMap();
2
- function r(r2) {
3
- let e2 = t.get(r2);
4
- return e2 || t.set(r2, e2 = /* @__PURE__ */ Object.create(null)), e2;
4
+ function e(e2) {
5
+ let r2 = t.get(e2);
6
+ return r2 || t.set(e2, r2 = /* @__PURE__ */ Object.create(null)), r2;
5
7
  }
6
- function e(t2, n2, c2) {
7
- if (Array.isArray(n2))
8
- n2.forEach((r2) => e(t2, r2, c2));
8
+ exports.$emit = function(t3, r2, ...n) {
9
+ t3 && t3.$emit && t3.$emit(r2, ...n);
10
+ const o = e(t3)[r2];
11
+ return o && o.map((e2) => e2.apply(t3, n)), t3;
12
+ }, exports.$off = function r(n, o, c) {
13
+ const i = n;
14
+ if (!o)
15
+ return t.set(n, /* @__PURE__ */ Object.create(null)), i;
16
+ if (Array.isArray(o))
17
+ return o.forEach((t3) => r(n, t3, c)), i;
18
+ const s = e(n), u = s[o];
19
+ return u ? c ? (s[o] = u.filter((t3) => !(t3 === c || t3.fn === c)), i) : (s[o] = void 0, i) : i;
20
+ }, exports.$on = function t2(r2, n, o) {
21
+ if (Array.isArray(n))
22
+ n.forEach((e2) => t2(r2, e2, o));
9
23
  else {
10
- const e2 = r(t2);
11
- (e2[n2] || (e2[n2] = [])).push(c2);
24
+ const t3 = e(r2);
25
+ (t3[n] || (t3[n] = [])).push(o);
12
26
  }
13
- return t2;
14
- }
15
- function n(e2, c2, i) {
16
- const o = e2;
17
- if (!c2)
18
- return t.set(e2, /* @__PURE__ */ Object.create(null)), o;
19
- if (Array.isArray(c2))
20
- return c2.forEach((t2) => n(e2, t2, i)), o;
21
- const u = r(e2), a = u[c2];
22
- return a ? i ? (u[c2] = a.filter((t2) => !(t2 === i || t2.fn === i)), o) : (u[c2] = void 0, o) : o;
23
- }
24
- function c(t2, e2, ...n2) {
25
- t2 && t2.$emit && t2.$emit(e2, ...n2);
26
- const c2 = r(t2)[e2];
27
- return c2 && c2.map((r2) => r2.apply(t2, n2)), t2;
28
- }
29
- export {
30
- c as $emit,
31
- n as $off,
32
- e as $on
27
+ return r2;
33
28
  };
@@ -1,5 +1,5 @@
1
- import e from "../src/utils/local-storage.js";
2
- const t = { memorySearch(e2, t2) {
1
+ "use strict";
2
+ const e = require("../src/utils/local-storage.js"), t = { memorySearch(e2, t2) {
3
3
  var a = this.memoryCacheData;
4
4
  setTimeout(() => {
5
5
  t2(a);
@@ -25,6 +25,4 @@ const t = { memorySearch(e2, t2) {
25
25
  var t2 = e.getObject(this.memoryCacheKey);
26
26
  t2 && t2.length > 0 && (this.memoryCacheData = t2);
27
27
  } };
28
- export {
29
- t as default
30
- };
28
+ module.exports = t;