ai.touchui-vue 1.30.2 → 1.30.3

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 (724) hide show
  1. package/README.md +21 -21
  2. package/lib/ai.touchui-vue.common.js +2087 -2092
  3. package/lib/chat.js +5 -5
  4. package/lib/collapse.js +2 -1
  5. package/lib/color.js +5 -5
  6. package/lib/date-picker.js +2 -1
  7. package/lib/date-range.js +11 -12
  8. package/lib/export.js +3 -3
  9. package/lib/index.js +1 -1
  10. package/lib/locale/format.js +10 -10
  11. package/lib/menu-icon.js +295 -295
  12. package/lib/mixins/migrating.js +20 -20
  13. package/lib/mixins/transition.js +14 -14
  14. package/lib/org.js +2 -1
  15. package/lib/page.js +2 -1
  16. package/lib/range.js +3 -3
  17. package/lib/static/{net-mix.293a4b6.svg → net-mix.dc6e414.svg} +7 -7
  18. package/lib/table.js +734 -740
  19. package/lib/utils/clickoutside.js +11 -11
  20. package/lib/utils/dom.js +13 -13
  21. package/lib/utils/filetransfer.js +4 -4
  22. package/lib/utils/jsencrypt/JSEncrypt.js +77 -77
  23. package/lib/utils/jsencrypt/JSEncryptRSAKey.js +115 -115
  24. package/lib/utils/jsencrypt/jselib/asn1js/asn1.js +4 -4
  25. package/lib/utils/jsencrypt/jselib/jsrsasign/asn1-1.0.js +734 -734
  26. package/lib/utils/jsencrypt/jselib/jsrsasign/yahoo.js +22 -22
  27. package/lib/utils/jsencrypt.js +260 -260
  28. package/lib/utils/md5.js +3 -3
  29. package/lib/utils/mime.js +2 -2
  30. package/lib/utils/ratio.js +54 -53
  31. package/lib/utils/sign.js +12 -12
  32. package/lib/utils/util.js +3 -3
  33. package/lib/utils/validate.js +11 -11
  34. package/package.json +159 -159
  35. package/packages/affix/index.js +8 -8
  36. package/packages/affix/src/affix.vue +139 -139
  37. package/packages/align/index.js +8 -8
  38. package/packages/align/src/directive.js +29 -29
  39. package/packages/animation/index.js +8 -8
  40. package/packages/animation/src/animation.vue +68 -68
  41. package/packages/article/index.js +8 -8
  42. package/packages/article/src/article.vue +23 -23
  43. package/packages/box/index.js +8 -8
  44. package/packages/box/src/box.vue +170 -170
  45. package/packages/button/index.js +8 -8
  46. package/packages/button/src/button.vue +162 -162
  47. package/packages/calendar/index.js +8 -8
  48. package/packages/calendar/src/calendar.vue +1142 -1142
  49. package/packages/card/index.js +10 -10
  50. package/packages/card/src/card-item.vue +92 -92
  51. package/packages/card/src/card.vue +175 -175
  52. package/packages/card-item/index.js +8 -8
  53. package/packages/cascader/index.js +8 -8
  54. package/packages/cascader/src/cascader.vue +814 -814
  55. package/packages/center-scroll/index.js +8 -8
  56. package/packages/center-scroll/src/center-scroll.vue +147 -147
  57. package/packages/chat/index.js +12 -12
  58. package/packages/chat/src/chat.vue +116 -116
  59. package/packages/checkbox/index.js +8 -8
  60. package/packages/checkbox/src/checkbox.vue +262 -262
  61. package/packages/checkboxes/index.js +8 -8
  62. package/packages/checkboxes/src/checkboxes.vue +97 -97
  63. package/packages/collapse/index.js +10 -10
  64. package/packages/collapse/src/collapse-item.vue +188 -188
  65. package/packages/collapse/src/collapse.vue +100 -100
  66. package/packages/color/index.js +8 -8
  67. package/packages/color/src/directive.js +42 -42
  68. package/packages/countdown/index.js +8 -8
  69. package/packages/countdown/src/countdown.vue +128 -128
  70. package/packages/date-picker/index.js +8 -8
  71. package/packages/date-picker/src/date-picker.vue +432 -432
  72. package/packages/date-picker/src/picker.vue +342 -342
  73. package/packages/date-range/index.js +8 -8
  74. package/packages/date-range/src/date-range.vue +384 -384
  75. package/packages/dialog/index.js +8 -8
  76. package/packages/dialog/src/dialog.vue +287 -287
  77. package/packages/dis/index.js +8 -8
  78. package/packages/dis/src/directive.js +42 -42
  79. package/packages/ellipsis/index.js +8 -8
  80. package/packages/ellipsis/src/ellipsis.vue +306 -306
  81. package/packages/emote/index.js +8 -8
  82. package/packages/emote/src/emote.vue +38 -38
  83. package/packages/export/index.js +8 -8
  84. package/packages/export/src/ajax.js +73 -73
  85. package/packages/export/src/export.vue +289 -289
  86. package/packages/filter/index.js +8 -8
  87. package/packages/filter/src/filter.vue +245 -245
  88. package/packages/fix/index.js +8 -8
  89. package/packages/fix/src/fix.vue +221 -221
  90. package/packages/float/index.js +16 -16
  91. package/packages/float/src/directive.js +20 -20
  92. package/packages/float/src/main.vue +642 -642
  93. package/packages/float/src/trigger.vue +31 -31
  94. package/packages/flow/index.js +8 -8
  95. package/packages/flow/src/flow.vue +234 -234
  96. package/packages/flow/src/flowItem.vue +61 -61
  97. package/packages/flow/src/flowLine.vue +168 -168
  98. package/packages/form/index.js +10 -10
  99. package/packages/form/src/form-item.vue +96 -96
  100. package/packages/form/src/form.vue +184 -184
  101. package/packages/grid/index.js +10 -10
  102. package/packages/grid/src/grid-item.vue +65 -65
  103. package/packages/grid/src/grid.vue +190 -190
  104. package/packages/grid-item/index.js +8 -8
  105. package/packages/guider/index.js +8 -8
  106. package/packages/guider/src/guider.vue +168 -168
  107. package/packages/header/index.js +8 -8
  108. package/packages/header/src/header.vue +111 -111
  109. package/packages/hide/index.js +8 -8
  110. package/packages/hide/src/directive.js +57 -57
  111. package/packages/icon/index.js +8 -8
  112. package/packages/icon/src/icon.vue +79 -79
  113. package/packages/import/index.js +8 -8
  114. package/packages/import/src/import.vue +279 -279
  115. package/packages/input/index.js +8 -8
  116. package/packages/input/src/calcTextareaHeight.js +104 -104
  117. package/packages/input/src/input.vue +653 -653
  118. package/packages/ip/index.js +8 -8
  119. package/packages/ip/src/ip.vue +143 -143
  120. package/packages/line/index.js +8 -8
  121. package/packages/line/src/line.vue +29 -29
  122. package/packages/loading/index.js +8 -8
  123. package/packages/loading/src/loading.js +58 -58
  124. package/packages/longtap/index.js +8 -8
  125. package/packages/longtap/src/longtap.js +95 -95
  126. package/packages/menu-icon/index.js +8 -8
  127. package/packages/menu-icon/src/menu-icon.vue +206 -206
  128. package/packages/message/index.js +8 -8
  129. package/packages/message/src/message.vue +9 -9
  130. package/packages/msg/index.js +8 -8
  131. package/packages/msg/src/msg.vue +227 -227
  132. package/packages/org/index.js +8 -8
  133. package/packages/org/src/org.vue +113 -113
  134. package/packages/org/src/orgItem.vue +63 -63
  135. package/packages/padding/index.js +8 -8
  136. package/packages/padding/src/padding.vue +105 -105
  137. package/packages/page/index.js +8 -8
  138. package/packages/page/src/page.vue +297 -297
  139. package/packages/param/index.js +8 -8
  140. package/packages/param/src/param.vue +226 -226
  141. package/packages/pic/index.js +8 -8
  142. package/packages/pic/src/pic-viewer.vue +331 -331
  143. package/packages/pic/src/pic.vue +144 -144
  144. package/packages/popup/index.js +12 -12
  145. package/packages/popup/src/popup-group.vue +47 -47
  146. package/packages/popup/src/popup-item.vue +163 -163
  147. package/packages/popup/src/popup.vue +350 -350
  148. package/packages/progress/index.js +8 -8
  149. package/packages/progress/src/progress.vue +306 -306
  150. package/packages/range/index.js +8 -8
  151. package/packages/range/src/range.vue +612 -612
  152. package/packages/rate/index.js +8 -8
  153. package/packages/rate/src/rate.vue +129 -129
  154. package/packages/reverser/index.js +8 -8
  155. package/packages/reverser/src/reverser.vue +49 -49
  156. package/packages/scroll/index.js +12 -12
  157. package/packages/scroll/src/scroll-point.vue +24 -24
  158. package/packages/scroll/src/scroll-sticky.vue +60 -60
  159. package/packages/scroll/src/scroll.vue +381 -381
  160. package/packages/segment/index.js +8 -8
  161. package/packages/segment/src/segment.vue +618 -618
  162. package/packages/select/index.js +8 -8
  163. package/packages/select/src/select.vue +1445 -1445
  164. package/packages/size/index.js +8 -8
  165. package/packages/size/src/directive.js +33 -33
  166. package/packages/skeleton/index.js +8 -8
  167. package/packages/skeleton/src/skeleton.vue +179 -179
  168. package/packages/slide/index.js +8 -8
  169. package/packages/slide/src/slide.vue +147 -147
  170. package/packages/space/index.js +8 -8
  171. package/packages/space/src/space.vue +53 -53
  172. package/packages/step/index.js +8 -8
  173. package/packages/step/src/step.vue +122 -122
  174. package/packages/submit/index.js +8 -8
  175. package/packages/submit/src/submit.vue +103 -103
  176. package/packages/switch/index.js +9 -9
  177. package/packages/switch/src/component.vue +131 -131
  178. package/packages/tab/index.js +10 -10
  179. package/packages/tab/src/tab-item.vue +85 -85
  180. package/packages/tab/src/tab.vue +590 -590
  181. package/packages/table/index.js +8 -8
  182. package/packages/table/src/table-body.vue +301 -301
  183. package/packages/table/src/table-config.vue +139 -139
  184. package/packages/table/src/table-head.vue +239 -239
  185. package/packages/table/src/table.vue +1455 -1458
  186. package/packages/tag/index.js +8 -8
  187. package/packages/tag/src/tag.vue +129 -129
  188. package/packages/theme/package.json +33 -33
  189. package/packages/theme/src/global/mixin.less +416 -416
  190. package/packages/theme/src/global/reset.less +27 -27
  191. package/packages/theme/src/less/component/affix.less +8 -8
  192. package/packages/theme/src/less/component/article-dark.less +6 -6
  193. package/packages/theme/src/less/component/article.less +39 -39
  194. package/packages/theme/src/less/component/box-dark.less +85 -85
  195. package/packages/theme/src/less/component/box.less +272 -272
  196. package/packages/theme/src/less/component/calendar-dark.less +111 -111
  197. package/packages/theme/src/less/component/calendar.less +282 -282
  198. package/packages/theme/src/less/component/card-dark.less +17 -17
  199. package/packages/theme/src/less/component/card.less +89 -89
  200. package/packages/theme/src/less/component/chat-dark.less +47 -47
  201. package/packages/theme/src/less/component/chat.less +71 -71
  202. package/packages/theme/src/less/component/code-dark.less +41 -41
  203. package/packages/theme/src/less/component/code.less +33 -33
  204. package/packages/theme/src/less/component/cover.less +4 -4
  205. package/packages/theme/src/less/component/dialog-dark.less +54 -54
  206. package/packages/theme/src/less/component/dialog.less +49 -49
  207. package/packages/theme/src/less/component/filter-dark.less +31 -31
  208. package/packages/theme/src/less/component/filter.less +97 -97
  209. package/packages/theme/src/less/component/float-dark.less +26 -26
  210. package/packages/theme/src/less/component/float.less +61 -61
  211. package/packages/theme/src/less/component/form-dark.less +45 -45
  212. package/packages/theme/src/less/component/form.less +322 -322
  213. package/packages/theme/src/less/component/gantt-dark.less +44 -44
  214. package/packages/theme/src/less/component/gantt.less +52 -52
  215. package/packages/theme/src/less/component/guider-dark.less +6 -6
  216. package/packages/theme/src/less/component/guider.less +15 -15
  217. package/packages/theme/src/less/component/header-dark.less +41 -41
  218. package/packages/theme/src/less/component/header.less +121 -121
  219. package/packages/theme/src/less/component/keyboard-dark.less +15 -15
  220. package/packages/theme/src/less/component/keyboard.less +21 -21
  221. package/packages/theme/src/less/component/line-dark.less +20 -20
  222. package/packages/theme/src/less/component/line.less +21 -21
  223. package/packages/theme/src/less/component/msg-dark.less +42 -42
  224. package/packages/theme/src/less/component/msg.less +102 -102
  225. package/packages/theme/src/less/component/page-dark.less +26 -26
  226. package/packages/theme/src/less/component/page.less +26 -26
  227. package/packages/theme/src/less/component/param-dark.less +31 -31
  228. package/packages/theme/src/less/component/param.less +136 -136
  229. package/packages/theme/src/less/component/popup-dark.less +20 -20
  230. package/packages/theme/src/less/component/popup.less +85 -85
  231. package/packages/theme/src/less/component/print.less +121 -121
  232. package/packages/theme/src/less/component/scroll-dark.less +19 -19
  233. package/packages/theme/src/less/component/scroll.less +47 -47
  234. package/packages/theme/src/less/component/skeleton-dark.less +29 -29
  235. package/packages/theme/src/less/component/skeleton.less +78 -78
  236. package/packages/theme/src/less/component/slide.less +70 -70
  237. package/packages/theme/src/less/component/space.less +2 -2
  238. package/packages/theme/src/less/component/step-dark.less +165 -165
  239. package/packages/theme/src/less/component/step.less +147 -147
  240. package/packages/theme/src/less/component/submit.less +40 -40
  241. package/packages/theme/src/less/component/tab-dark.less +221 -221
  242. package/packages/theme/src/less/component/tab.less +459 -459
  243. package/packages/theme/src/less/component/table-dark.less +196 -196
  244. package/packages/theme/src/less/component/table.less +425 -425
  245. package/packages/theme/src/less/component/timeline-dark.less +13 -13
  246. package/packages/theme/src/less/component/timeline.less +114 -114
  247. package/packages/theme/src/less/component/tip-dark.less +76 -76
  248. package/packages/theme/src/less/component/tip.less +139 -139
  249. package/packages/theme/src/less/component/tooltip-dark.less +105 -105
  250. package/packages/theme/src/less/component/tooltip.less +159 -159
  251. package/packages/theme/src/less/component/tree-dark.less +56 -56
  252. package/packages/theme/src/less/component/tree.less +148 -148
  253. package/packages/theme/src/less/element/align.less +32 -32
  254. package/packages/theme/src/less/element/animation.less +5 -5
  255. package/packages/theme/src/less/element/button-dark.less +29 -29
  256. package/packages/theme/src/less/element/button.less +65 -65
  257. package/packages/theme/src/less/element/center-scroll-dark.less +3 -3
  258. package/packages/theme/src/less/element/center-scroll.less +6 -6
  259. package/packages/theme/src/less/element/checkbox-dark.less +68 -68
  260. package/packages/theme/src/less/element/checkbox.less +73 -73
  261. package/packages/theme/src/less/element/color-dark.less +15 -15
  262. package/packages/theme/src/less/element/color.less +33 -33
  263. package/packages/theme/src/less/element/dis.less +9 -9
  264. package/packages/theme/src/less/element/ellipsis.less +35 -35
  265. package/packages/theme/src/less/element/emote.less +5 -5
  266. package/packages/theme/src/less/element/font-dark.less +9 -9
  267. package/packages/theme/src/less/element/font.less +8 -8
  268. package/packages/theme/src/less/element/hide-dark.less +114 -114
  269. package/packages/theme/src/less/element/hide.less +114 -114
  270. package/packages/theme/src/less/element/icon.less +297 -297
  271. package/packages/theme/src/less/element/input-dark.less +205 -205
  272. package/packages/theme/src/less/element/input.less +405 -405
  273. package/packages/theme/src/less/element/menu-icon.less +1 -1
  274. package/packages/theme/src/less/element/pic.less +18 -18
  275. package/packages/theme/src/less/element/progress-dark.less +37 -37
  276. package/packages/theme/src/less/element/progress.less +82 -82
  277. package/packages/theme/src/less/element/radio-dark.less +18 -18
  278. package/packages/theme/src/less/element/radio.less +11 -11
  279. package/packages/theme/src/less/element/range-dark.less +24 -24
  280. package/packages/theme/src/less/element/range.less +56 -56
  281. package/packages/theme/src/less/element/rate.less +17 -17
  282. package/packages/theme/src/less/element/segment-dark.less +119 -119
  283. package/packages/theme/src/less/element/segment.less +197 -197
  284. package/packages/theme/src/less/element/select-dark.less +167 -167
  285. package/packages/theme/src/less/element/select.less +431 -431
  286. package/packages/theme/src/less/element/size.less +10 -10
  287. package/packages/theme/src/less/element/switch-dark.less +7 -7
  288. package/packages/theme/src/less/element/switch.less +37 -37
  289. package/packages/theme/src/less/element/tag-dark.less +115 -115
  290. package/packages/theme/src/less/element/tag.less +159 -159
  291. package/packages/theme/src/less/element/upload-dark.less +26 -26
  292. package/packages/theme/src/less/element/upload.less +64 -64
  293. package/packages/theme/src/less/layout/fix.less +2 -2
  294. package/packages/theme/src/less/layout/flow.less +47 -47
  295. package/packages/theme/src/less/layout/grid-dark.less +28 -28
  296. package/packages/theme/src/less/layout/grid.less +172 -172
  297. package/packages/theme/src/less/layout/org-dark.less +2 -2
  298. package/packages/theme/src/less/layout/org.less +72 -72
  299. package/packages/theme/src/less/layout/padding.less +1 -1
  300. package/packages/theme/src/less/layout/reverser.less +8 -8
  301. package/packages/theme/src/less/theme/B-Design.less +159 -159
  302. package/packages/theme/src/less/theme/aiplan.less +159 -159
  303. package/packages/theme/src/less/theme/aiplangd.less +159 -159
  304. package/packages/theme/src/less/theme/chbn.less +159 -159
  305. package/packages/theme/src/less/theme/default.less +160 -160
  306. package/packages/theme/src/less/theme/dt.less +159 -159
  307. package/packages/theme/src/less/theme/ecloud.less +159 -159
  308. package/packages/theme/src/less/theme/hongkong.less +159 -159
  309. package/packages/theme/src/less/theme/narrow.less +160 -160
  310. package/packages/theme/src/less/theme/sdpf.less +160 -160
  311. package/packages/theme/src/less/theme/upc.less +159 -159
  312. package/packages/theme/src/less/theme/website.less +159 -159
  313. package/packages/theme/src/less/theme/zj.less +159 -159
  314. package/packages/timeline/index.js +8 -8
  315. package/packages/timeline/src/timeline.vue +84 -84
  316. package/packages/tip/index.js +8 -8
  317. package/packages/tip/src/tip.vue +226 -226
  318. package/packages/tooltip/index.js +8 -8
  319. package/packages/tooltip/src/directive.js +180 -180
  320. package/packages/tooltip/src/tooltip.vue +467 -467
  321. package/packages/transfer/index.js +8 -8
  322. package/packages/transfer/src/transfer.vue +293 -293
  323. package/packages/tree/index.js +8 -8
  324. package/packages/tree/src/tree.vue +518 -518
  325. package/packages/tree/src/treeItem.vue +443 -443
  326. package/packages/upload/index.js +8 -8
  327. package/packages/upload/src/upload.vue +860 -860
  328. package/src/index.js +207 -207
  329. package/src/locale/format.js +46 -46
  330. package/src/locale/index.js +48 -48
  331. package/src/locale/lang/en.js +207 -207
  332. package/src/locale/lang/zh-CN.js +207 -207
  333. package/src/mixins/blur.js +9 -9
  334. package/src/mixins/emitter.js +33 -33
  335. package/src/mixins/focus.js +9 -9
  336. package/src/mixins/locale.js +9 -9
  337. package/src/mixins/migrating.js +54 -54
  338. package/src/mixins/tip.js +10 -10
  339. package/src/mixins/transition.js +130 -130
  340. package/src/msg/index.js +107 -107
  341. package/src/svg/menu/main/abnormal-mix.svg +5 -5
  342. package/src/svg/menu/main/abnormal.svg +5 -5
  343. package/src/svg/menu/main/accountManager-mix.svg +5 -5
  344. package/src/svg/menu/main/accountManager.svg +5 -5
  345. package/src/svg/menu/main/agreement-mix.svg +7 -7
  346. package/src/svg/menu/main/agreement.svg +7 -7
  347. package/src/svg/menu/main/ai-mix.svg +5 -5
  348. package/src/svg/menu/main/archives-mix.svg +6 -6
  349. package/src/svg/menu/main/arrearsReport-mix.svg +17 -17
  350. package/src/svg/menu/main/arrearsReport.svg +17 -17
  351. package/src/svg/menu/main/bill-mix.svg +13 -13
  352. package/src/svg/menu/main/bill.svg +13 -13
  353. package/src/svg/menu/main/box-mix.svg +5 -5
  354. package/src/svg/menu/main/broadband-mix.svg +4 -4
  355. package/src/svg/menu/main/broadband.svg +4 -4
  356. package/src/svg/menu/main/card-mix.svg +5 -5
  357. package/src/svg/menu/main/card.svg +5 -5
  358. package/src/svg/menu/main/cash-mix.svg +5 -5
  359. package/src/svg/menu/main/cash.svg +5 -5
  360. package/src/svg/menu/main/cloud-mix.svg +4 -4
  361. package/src/svg/menu/main/cloud.svg +4 -4
  362. package/src/svg/menu/main/clue-mix.svg +10 -10
  363. package/src/svg/menu/main/clue.svg +10 -10
  364. package/src/svg/menu/main/commonUse-mix.svg +4 -4
  365. package/src/svg/menu/main/commonUse.svg +4 -4
  366. package/src/svg/menu/main/construction-mix.svg +7 -7
  367. package/src/svg/menu/main/construction.svg +7 -7
  368. package/src/svg/menu/main/contract-mix.svg +8 -8
  369. package/src/svg/menu/main/contract.svg +8 -8
  370. package/src/svg/menu/main/credit-mix.svg +5 -5
  371. package/src/svg/menu/main/credit.svg +5 -5
  372. package/src/svg/menu/main/data-mix.svg +5 -5
  373. package/src/svg/menu/main/data.svg +5 -5
  374. package/src/svg/menu/main/date-mix.svg +7 -7
  375. package/src/svg/menu/main/deposit-mix.svg +4 -4
  376. package/src/svg/menu/main/device-mix.svg +4 -4
  377. package/src/svg/menu/main/device.svg +4 -4
  378. package/src/svg/menu/main/discrepancy-mix.svg +5 -5
  379. package/src/svg/menu/main/door-mix.svg +6 -6
  380. package/src/svg/menu/main/fault-mix.svg +12 -12
  381. package/src/svg/menu/main/fault.svg +16 -16
  382. package/src/svg/menu/main/finance-mix.svg +11 -11
  383. package/src/svg/menu/main/finance.svg +13 -13
  384. package/src/svg/menu/main/flow-mix.svg +4 -4
  385. package/src/svg/menu/main/flow.svg +4 -4
  386. package/src/svg/menu/main/folder-mix.svg +4 -4
  387. package/src/svg/menu/main/folder.svg +4 -4
  388. package/src/svg/menu/main/friendly-mix.svg +5 -5
  389. package/src/svg/menu/main/fusion-mix.svg +5 -5
  390. package/src/svg/menu/main/fusion.svg +5 -5
  391. package/src/svg/menu/main/gift-mix.svg +8 -8
  392. package/src/svg/menu/main/gift.svg +8 -8
  393. package/src/svg/menu/main/gps-mix.svg +6 -6
  394. package/src/svg/menu/main/gps.svg +6 -6
  395. package/src/svg/menu/main/grid-mix.svg +7 -7
  396. package/src/svg/menu/main/grid.svg +7 -7
  397. package/src/svg/menu/main/group-mix.svg +4 -4
  398. package/src/svg/menu/main/group.svg +4 -4
  399. package/src/svg/menu/main/home-mix.svg +5 -5
  400. package/src/svg/menu/main/home.svg +8 -8
  401. package/src/svg/menu/main/ict-mix.svg +4 -4
  402. package/src/svg/menu/main/industry-mix.svg +5 -5
  403. package/src/svg/menu/main/industry.svg +5 -5
  404. package/src/svg/menu/main/info-mix.svg +9 -9
  405. package/src/svg/menu/main/info.svg +9 -9
  406. package/src/svg/menu/main/integral-mix.svg +5 -5
  407. package/src/svg/menu/main/integral.svg +5 -5
  408. package/src/svg/menu/main/internet-mix.svg +5 -5
  409. package/src/svg/menu/main/internet.svg +5 -5
  410. package/src/svg/menu/main/inventory-mix.svg +5 -5
  411. package/src/svg/menu/main/invoice-mix.svg +6 -6
  412. package/src/svg/menu/main/invoice.svg +14 -14
  413. package/src/svg/menu/main/iot-mix.svg +5 -5
  414. package/src/svg/menu/main/iot.svg +5 -5
  415. package/src/svg/menu/main/label-mix.svg +4 -4
  416. package/src/svg/menu/main/label.svg +4 -4
  417. package/src/svg/menu/main/love-mix.svg +6 -6
  418. package/src/svg/menu/main/love.svg +13 -13
  419. package/src/svg/menu/main/m1-mix.svg +4 -4
  420. package/src/svg/menu/main/m1.svg +4 -4
  421. package/src/svg/menu/main/m2-mix.svg +12 -12
  422. package/src/svg/menu/main/m2.svg +11 -11
  423. package/src/svg/menu/main/m3-mix.svg +6 -6
  424. package/src/svg/menu/main/m3.svg +7 -7
  425. package/src/svg/menu/main/m4-mix.svg +5 -5
  426. package/src/svg/menu/main/m4.svg +7 -7
  427. package/src/svg/menu/main/m5-mix.svg +8 -8
  428. package/src/svg/menu/main/m5.svg +10 -10
  429. package/src/svg/menu/main/mail-mix.svg +5 -5
  430. package/src/svg/menu/main/manual-mix.svg +11 -11
  431. package/src/svg/menu/main/manual.svg +11 -11
  432. package/src/svg/menu/main/market-mix.svg +4 -4
  433. package/src/svg/menu/main/market.svg +4 -4
  434. package/src/svg/menu/main/member-mix.svg +6 -6
  435. package/src/svg/menu/main/member.svg +6 -6
  436. package/src/svg/menu/main/menu-mix.svg +4 -4
  437. package/src/svg/menu/main/menu.svg +4 -4
  438. package/src/svg/menu/main/message-mix.svg +11 -11
  439. package/src/svg/menu/main/message.svg +11 -11
  440. package/src/svg/menu/main/namelist-mix.svg +4 -4
  441. package/src/svg/menu/main/namelist.svg +4 -4
  442. package/src/svg/menu/main/net-mix.svg +7 -7
  443. package/src/svg/menu/main/niche-mix.svg +12 -12
  444. package/src/svg/menu/main/niche.svg +12 -12
  445. package/src/svg/menu/main/notice-mix.svg +4 -4
  446. package/src/svg/menu/main/notice.svg +4 -4
  447. package/src/svg/menu/main/number-mix.svg +6 -6
  448. package/src/svg/menu/main/operations-mix.svg +4 -4
  449. package/src/svg/menu/main/operations.svg +4 -4
  450. package/src/svg/menu/main/order-mix.svg +8 -8
  451. package/src/svg/menu/main/order.svg +8 -8
  452. package/src/svg/menu/main/person-mix.svg +6 -6
  453. package/src/svg/menu/main/person.svg +6 -6
  454. package/src/svg/menu/main/phone-mix.svg +4 -4
  455. package/src/svg/menu/main/phone.svg +4 -4
  456. package/src/svg/menu/main/phoneBill-mix.svg +6 -6
  457. package/src/svg/menu/main/phoneBill.svg +6 -6
  458. package/src/svg/menu/main/preferential-mix.svg +5 -5
  459. package/src/svg/menu/main/preferential.svg +5 -5
  460. package/src/svg/menu/main/print-mix.svg +5 -5
  461. package/src/svg/menu/main/problem-mix.svg +4 -4
  462. package/src/svg/menu/main/problem.svg +4 -4
  463. package/src/svg/menu/main/process-mix.svg +4 -4
  464. package/src/svg/menu/main/process.svg +4 -4
  465. package/src/svg/menu/main/product-mix.svg +5 -5
  466. package/src/svg/menu/main/product.svg +6 -6
  467. package/src/svg/menu/main/qrCode-mix.svg +8 -8
  468. package/src/svg/menu/main/qrCode.svg +8 -8
  469. package/src/svg/menu/main/refuelingBag-mix-mix.svg +4 -4
  470. package/src/svg/menu/main/refuelingBag-mix.svg +4 -4
  471. package/src/svg/menu/main/reportForm-mix.svg +8 -8
  472. package/src/svg/menu/main/reportForm.svg +8 -8
  473. package/src/svg/menu/main/risk-mix.svg +16 -16
  474. package/src/svg/menu/main/risk.svg +17 -17
  475. package/src/svg/menu/main/robot-mix.svg +9 -9
  476. package/src/svg/menu/main/robot.svg +9 -9
  477. package/src/svg/menu/main/satisfaction-mix.svg +4 -4
  478. package/src/svg/menu/main/satisfaction.svg +4 -4
  479. package/src/svg/menu/main/scratchCard-mix.svg +4 -4
  480. package/src/svg/menu/main/sim-mix.svg +4 -4
  481. package/src/svg/menu/main/sim.svg +4 -4
  482. package/src/svg/menu/main/staging-mix.svg +4 -4
  483. package/src/svg/menu/main/staging.svg +4 -4
  484. package/src/svg/menu/main/survey-mix.svg +5 -5
  485. package/src/svg/menu/main/survey.svg +5 -5
  486. package/src/svg/menu/main/tasks-mix.svg +8 -8
  487. package/src/svg/menu/main/tasks.svg +8 -8
  488. package/src/svg/menu/main/telephone-mix.svg +4 -4
  489. package/src/svg/menu/main/topUp-mix.svg +5 -5
  490. package/src/svg/menu/main/trajectory-mix.svg +11 -11
  491. package/src/svg/menu/main/trajectory.svg +23 -23
  492. package/src/svg/menu/main/transmit-mix.svg +5 -5
  493. package/src/svg/menu/main/tv-mix.svg +6 -6
  494. package/src/svg/menu/main/unlock-mix.svg +4 -4
  495. package/src/svg/menu/main/unlock.svg +4 -4
  496. package/src/svg/menu/main/view-mix.svg +5 -5
  497. package/src/svg/menu/main/view.svg +5 -5
  498. package/src/svg/menu/main/visits-mix.svg +19 -19
  499. package/src/svg/menu/main/visits.svg +19 -19
  500. package/src/svg/menu/main/voice-mix.svg +4 -4
  501. package/src/svg/menu/main/voice.svg +4 -4
  502. package/src/svg/menu/main/wiki-mix.svg +4 -4
  503. package/src/svg/menu/main/wiki.svg +4 -4
  504. package/src/svg/menu/main/workOrder-mix.svg +6 -6
  505. package/src/svg/menu/main/workOrder.svg +14 -14
  506. package/src/svg/menu/patch/Mo-space.svg +2 -2
  507. package/src/svg/menu/patch/Mo.svg +3 -3
  508. package/src/svg/menu/patch/add-space.svg +3 -3
  509. package/src/svg/menu/patch/add.svg +3 -3
  510. package/src/svg/menu/patch/address-space.svg +3 -3
  511. package/src/svg/menu/patch/address.svg +3 -3
  512. package/src/svg/menu/patch/approve-space.svg +3 -3
  513. package/src/svg/menu/patch/approve.svg +4 -4
  514. package/src/svg/menu/patch/avoid-space.svg +3 -3
  515. package/src/svg/menu/patch/avoid.svg +3 -3
  516. package/src/svg/menu/patch/batch-space.svg +3 -3
  517. package/src/svg/menu/patch/batch.svg +5 -5
  518. package/src/svg/menu/patch/broadband-space.svg +3 -3
  519. package/src/svg/menu/patch/broadband.svg +4 -4
  520. package/src/svg/menu/patch/cancellation-space.svg +3 -3
  521. package/src/svg/menu/patch/cancellation.svg +3 -3
  522. package/src/svg/menu/patch/center-space.svg +3 -3
  523. package/src/svg/menu/patch/center.svg +5 -5
  524. package/src/svg/menu/patch/change-space.svg +3 -3
  525. package/src/svg/menu/patch/change.svg +4 -4
  526. package/src/svg/menu/patch/click-space.svg +3 -3
  527. package/src/svg/menu/patch/click.svg +4 -4
  528. package/src/svg/menu/patch/close-1-space.svg +3 -3
  529. package/src/svg/menu/patch/close-1.svg +3 -3
  530. package/src/svg/menu/patch/close-space.svg +2 -2
  531. package/src/svg/menu/patch/close.svg +3 -3
  532. package/src/svg/menu/patch/collect-space.svg +3 -3
  533. package/src/svg/menu/patch/collect.svg +3 -3
  534. package/src/svg/menu/patch/comment-space.svg +3 -3
  535. package/src/svg/menu/patch/comment.svg +3 -3
  536. package/src/svg/menu/patch/confirm-space.svg +3 -3
  537. package/src/svg/menu/patch/confirm.svg +3 -3
  538. package/src/svg/menu/patch/contract-space.svg +3 -3
  539. package/src/svg/menu/patch/contract.svg +3 -3
  540. package/src/svg/menu/patch/credit-space.svg +3 -3
  541. package/src/svg/menu/patch/credit.svg +5 -5
  542. package/src/svg/menu/patch/dataMonitoring-space.svg +3 -3
  543. package/src/svg/menu/patch/dataMonitoring.svg +3 -3
  544. package/src/svg/menu/patch/dedicatedCircuit-space.svg +3 -3
  545. package/src/svg/menu/patch/dedicatedCircuit.svg +3 -3
  546. package/src/svg/menu/patch/detail-space.svg +3 -3
  547. package/src/svg/menu/patch/detail.svg +3 -3
  548. package/src/svg/menu/patch/disassemb-space.svg +3 -3
  549. package/src/svg/menu/patch/disassemb.svg +3 -3
  550. package/src/svg/menu/patch/earnestMoney-space.svg +3 -3
  551. package/src/svg/menu/patch/earnestMoney.svg +3 -3
  552. package/src/svg/menu/patch/empower-space.svg +3 -3
  553. package/src/svg/menu/patch/empower.svg +3 -3
  554. package/src/svg/menu/patch/entrust-space.svg +3 -3
  555. package/src/svg/menu/patch/entrust.svg +3 -3
  556. package/src/svg/menu/patch/expedite-space.svg +4 -4
  557. package/src/svg/menu/patch/expedite.svg +4 -4
  558. package/src/svg/menu/patch/flow-space.svg +3 -3
  559. package/src/svg/menu/patch/flow.svg +3 -3
  560. package/src/svg/menu/patch/folder-space.svg +3 -3
  561. package/src/svg/menu/patch/folder.svg +3 -3
  562. package/src/svg/menu/patch/forbidden-space.svg +3 -3
  563. package/src/svg/menu/patch/forbidden.svg +3 -3
  564. package/src/svg/menu/patch/forward-space.svg +3 -3
  565. package/src/svg/menu/patch/forward.svg +3 -3
  566. package/src/svg/menu/patch/fusion-space.svg +3 -3
  567. package/src/svg/menu/patch/fusion.svg +6 -6
  568. package/src/svg/menu/patch/history-space.svg +3 -3
  569. package/src/svg/menu/patch/history.svg +3 -3
  570. package/src/svg/menu/patch/information-space.svg +3 -3
  571. package/src/svg/menu/patch/information.svg +3 -3
  572. package/src/svg/menu/patch/insert-space.svg +3 -3
  573. package/src/svg/menu/patch/insert.svg +3 -3
  574. package/src/svg/menu/patch/letv-space.svg +3 -3
  575. package/src/svg/menu/patch/letv.svg +3 -3
  576. package/src/svg/menu/patch/link-space.svg +3 -3
  577. package/src/svg/menu/patch/link.svg +3 -3
  578. package/src/svg/menu/patch/location-space.svg +3 -3
  579. package/src/svg/menu/patch/location.svg +3 -3
  580. package/src/svg/menu/patch/message-space.svg +3 -3
  581. package/src/svg/menu/patch/message.svg +4 -4
  582. package/src/svg/menu/patch/minus-space.svg +3 -3
  583. package/src/svg/menu/patch/minus.svg +3 -3
  584. package/src/svg/menu/patch/mms-space.svg +3 -3
  585. package/src/svg/menu/patch/mms.svg +3 -3
  586. package/src/svg/menu/patch/monitor-space.svg +3 -3
  587. package/src/svg/menu/patch/monitor.svg +3 -3
  588. package/src/svg/menu/patch/move-space.svg +3 -3
  589. package/src/svg/menu/patch/move.svg +3 -3
  590. package/src/svg/menu/patch/negative-space.svg +2 -2
  591. package/src/svg/menu/patch/negative.svg +3 -3
  592. package/src/svg/menu/patch/net-space.svg +2 -2
  593. package/src/svg/menu/patch/net.svg +3 -3
  594. package/src/svg/menu/patch/news-space.svg +3 -3
  595. package/src/svg/menu/patch/news.svg +3 -3
  596. package/src/svg/menu/patch/notice-space.svg +4 -4
  597. package/src/svg/menu/patch/notice.svg +5 -5
  598. package/src/svg/menu/patch/officialBusiness-space.svg +3 -3
  599. package/src/svg/menu/patch/officialBusiness.svg +4 -4
  600. package/src/svg/menu/patch/pay-space.svg +3 -3
  601. package/src/svg/menu/patch/pay.svg +3 -3
  602. package/src/svg/menu/patch/phone-space.svg +3 -3
  603. package/src/svg/menu/patch/phone.svg +5 -5
  604. package/src/svg/menu/patch/print-space.svg +3 -3
  605. package/src/svg/menu/patch/print.svg +5 -5
  606. package/src/svg/menu/patch/product-space.svg +3 -3
  607. package/src/svg/menu/patch/product.svg +5 -5
  608. package/src/svg/menu/patch/reservation-space.svg +3 -3
  609. package/src/svg/menu/patch/reservation.svg +3 -3
  610. package/src/svg/menu/patch/sale-space.svg +3 -3
  611. package/src/svg/menu/patch/sale.svg +5 -5
  612. package/src/svg/menu/patch/search-space.svg +3 -3
  613. package/src/svg/menu/patch/search.svg +3 -3
  614. package/src/svg/menu/patch/secure-space.svg +3 -3
  615. package/src/svg/menu/patch/secure.svg +5 -5
  616. package/src/svg/menu/patch/setup-space.svg +3 -3
  617. package/src/svg/menu/patch/setup.svg +3 -3
  618. package/src/svg/menu/patch/shift-space.svg +3 -3
  619. package/src/svg/menu/patch/shift.svg +3 -3
  620. package/src/svg/menu/patch/situation-space.svg +3 -3
  621. package/src/svg/menu/patch/situation.svg +3 -3
  622. package/src/svg/menu/patch/special-space.svg +3 -3
  623. package/src/svg/menu/patch/special.svg +3 -3
  624. package/src/svg/menu/patch/tabulation-space.svg +3 -3
  625. package/src/svg/menu/patch/tabulation.svg +8 -8
  626. package/src/svg/menu/patch/track-space.svg +3 -3
  627. package/src/svg/menu/patch/track.svg +5 -5
  628. package/src/svg/menu/patch/transaction-space.svg +3 -3
  629. package/src/svg/menu/patch/transaction.svg +6 -6
  630. package/src/svg/menu/patch/user-space.svg +3 -3
  631. package/src/svg/menu/patch/user.svg +3 -3
  632. package/src/svg/menu/patch/visualize-space.svg +3 -3
  633. package/src/svg/menu/patch/visualize.svg +4 -4
  634. package/src/svg/menu/patch/vnet-space.svg +3 -3
  635. package/src/svg/menu/patch/vnet.svg +3 -3
  636. package/src/tip/tip.js +160 -160
  637. package/src/utils/after-leave.js +27 -27
  638. package/src/utils/ajax.js +59 -59
  639. package/src/utils/array.js +24 -24
  640. package/src/utils/clickoutside.js +105 -105
  641. package/src/utils/compare.js +16 -16
  642. package/src/utils/date.js +34 -34
  643. package/src/utils/disabledArea.js +18 -18
  644. package/src/utils/dom.js +301 -301
  645. package/src/utils/filetransfer.js +287 -287
  646. package/src/utils/isModified.js +20 -20
  647. package/src/utils/jsencrypt/JSEncrypt.js +192 -192
  648. package/src/utils/jsencrypt/JSEncryptRSAKey.js +320 -320
  649. package/src/utils/jsencrypt/index.js +3 -3
  650. package/src/utils/jsencrypt/jselib/asn1js/asn1.d.ts +51 -51
  651. package/src/utils/jsencrypt/jselib/asn1js/asn1.js +565 -565
  652. package/src/utils/jsencrypt/jselib/asn1js/base64.d.ts +5 -5
  653. package/src/utils/jsencrypt/jselib/asn1js/base64.js +88 -88
  654. package/src/utils/jsencrypt/jselib/asn1js/hex.d.ts +3 -3
  655. package/src/utils/jsencrypt/jselib/asn1js/hex.js +64 -64
  656. package/src/utils/jsencrypt/jselib/asn1js/int10.d.ts +9 -9
  657. package/src/utils/jsencrypt/jselib/asn1js/int10.js +87 -87
  658. package/src/utils/jsencrypt/jselib/asn1js/oids.d.ts +9778 -9778
  659. package/src/utils/jsencrypt/jselib/asn1js/oids.js +1962 -1962
  660. package/src/utils/jsencrypt/jselib/jsbn/base64.d.ts +3 -3
  661. package/src/utils/jsencrypt/jselib/jsbn/base64.js +76 -76
  662. package/src/utils/jsencrypt/jselib/jsbn/jsbn.d.ts +98 -98
  663. package/src/utils/jsencrypt/jselib/jsbn/jsbn.js +1754 -1754
  664. package/src/utils/jsencrypt/jselib/jsbn/prng4.d.ts +10 -10
  665. package/src/utils/jsencrypt/jselib/jsbn/prng4.js +46 -46
  666. package/src/utils/jsencrypt/jselib/jsbn/rng.d.ts +3 -3
  667. package/src/utils/jsencrypt/jselib/jsbn/rng.js +78 -78
  668. package/src/utils/jsencrypt/jselib/jsbn/rsa.d.ts +23 -23
  669. package/src/utils/jsencrypt/jselib/jsbn/rsa.js +373 -373
  670. package/src/utils/jsencrypt/jselib/jsbn/util.d.ts +7 -7
  671. package/src/utils/jsencrypt/jselib/jsbn/util.js +58 -58
  672. package/src/utils/jsencrypt/jselib/jsrsasign/asn1-1.0.js +1593 -1593
  673. package/src/utils/jsencrypt/jselib/jsrsasign/yahoo.js +63 -63
  674. package/src/utils/jsencrypt/util.js +58 -58
  675. package/src/utils/jsencrypt.js +263 -263
  676. package/src/utils/md5.js +203 -203
  677. package/src/utils/merge.js +15 -15
  678. package/src/utils/mime.js +75 -75
  679. package/src/utils/print.js +39 -39
  680. package/src/utils/ratio.js +230 -230
  681. package/src/utils/respo.js +9 -9
  682. package/src/utils/shared.js +7 -7
  683. package/src/utils/sign.js +185 -185
  684. package/src/utils/string.js +13 -13
  685. package/src/utils/theme.js +91 -91
  686. package/src/utils/types.js +40 -40
  687. package/src/utils/util.js +286 -286
  688. package/src/utils/uuid.js +12 -12
  689. package/src/utils/validate.js +373 -373
  690. package/packages/.DS_Store +0 -0
  691. package/packages/article/.DS_Store +0 -0
  692. package/packages/chat/.DS_Store +0 -0
  693. package/packages/chat/src/.DS_Store +0 -0
  694. package/packages/date-picker/.DS_Store +0 -0
  695. package/packages/dis/.DS_Store +0 -0
  696. package/packages/emote/.DS_Store +0 -0
  697. package/packages/filter/.DS_Store +0 -0
  698. package/packages/filter/src/.DS_Store +0 -0
  699. package/packages/float/.DS_Store +0 -0
  700. package/packages/flow/.DS_Store +0 -0
  701. package/packages/guider/.DS_Store +0 -0
  702. package/packages/ip/.DS_Store +0 -0
  703. package/packages/org/.DS_Store +0 -0
  704. package/packages/page/.DS_Store +0 -0
  705. package/packages/page/src/.DS_Store +0 -0
  706. package/packages/pic/.DS_Store +0 -0
  707. package/packages/rate/.DS_Store +0 -0
  708. package/packages/reverser/.DS_Store +0 -0
  709. package/packages/reverser/src/.DS_Store +0 -0
  710. package/packages/segment/.DS_Store +0 -0
  711. package/packages/slide/.DS_Store +0 -0
  712. package/packages/tab/.DS_Store +0 -0
  713. package/packages/table/.DS_Store +0 -0
  714. package/packages/theme/src/.DS_Store +0 -0
  715. package/packages/theme/src/img/.DS_Store +0 -0
  716. package/packages/theme/src/img/emote/.DS_Store +0 -0
  717. package/packages/theme/src/less/.DS_Store +0 -0
  718. package/packages/theme/src/less/theme/.DS_Store +0 -0
  719. package/packages/tooltip/.DS_Store +0 -0
  720. package/packages/tree/.DS_Store +0 -0
  721. package/packages/upload/.DS_Store +0 -0
  722. package/src/.DS_Store +0 -0
  723. package/src/svg/.DS_Store +0 -0
  724. package/src/svg/menu/.DS_Store +0 -0
package/lib/table.js CHANGED
@@ -245,340 +245,72 @@ module.exports = require("ai.touchui-vue/lib/locale");
245
245
  // ESM COMPAT FLAG
246
246
  __webpack_require__.r(__webpack_exports__);
247
247
 
248
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/table.vue?vue&type=template&id=2975ee63
248
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/table.vue?vue&type=template&id=2538e609
249
249
  var render = function () {
250
250
  var _vm = this
251
251
  var _h = _vm.$createElement
252
252
  var _c = _vm._self._c || _h
253
- return _c("div", [
254
- _vm._v("\n\t" + _vm._s(_vm.checkedCache) + "\n\t"),
255
- _c(
256
- "div",
257
- { staticClass: "to-table", class: _vm.setClass, style: _vm.setStyle },
258
- [
259
- _vm.columns_ && _vm.columns_.length > 0
260
- ? [
261
- Number(_vm.fixTop) > 0 && _vm.type !== "v"
262
- ? _c("div", { ref: "top", staticClass: "top" }, [
263
- _c(
264
- "table",
265
- { ref: "topTable" },
266
- [
267
- _c("table-head", {
268
- ref: "topHead",
269
- attrs: {
270
- data: _vm.columns_,
271
- configurable:
272
- _vm.configurable && !(Number(_vm.fixRight) > 0),
273
- },
274
- on: {
275
- "select-all": _vm.handleSelectionAllChange,
276
- "column-change": _vm.columnChangeHandle,
277
- },
278
- scopedSlots: _vm._u(
279
- [
280
- _vm._l(_vm.columns_, function (columnx) {
281
- return {
282
- key: columnx.prop + "_th",
283
- fn: function (ref) {
284
- var column = ref.column
285
- var index = ref.index
286
- return [
287
- _vm._t(columnx.prop + "_th", null, {
288
- column: column,
289
- index: index,
290
- }),
291
- ]
292
- },
293
- }
294
- }),
295
- ],
296
- null,
297
- true
298
- ),
299
- }),
300
- ],
301
- 1
302
- ),
303
- ])
304
- : _vm._e(),
305
- Number(_vm.fixLeft) > 0 && _vm.type !== "v"
306
- ? _c("div", { ref: "left", staticClass: "left" }, [
307
- _c(
308
- "table",
309
- { ref: "leftTable" },
310
- [
311
- _c("table-head", {
312
- ref: "leftHead",
313
- attrs: {
314
- name: "leftHead",
315
- data: _vm.columns_.slice(0, Number(_vm.fixLeft)),
316
- },
317
- on: {
318
- "select-all": _vm.handleSelectionAllChange,
319
- "column-change": _vm.columnChangeHandle,
320
- },
321
- scopedSlots: _vm._u(
322
- [
323
- _vm._l(_vm.columns_, function (columnx) {
324
- return {
325
- key: columnx.prop + "_th",
326
- fn: function (ref) {
327
- var column = ref.column
328
- var index = ref.index
329
- return [
330
- _vm._t(columnx.prop + "_th", null, {
331
- column: column,
332
- index: index,
333
- }),
334
- ]
335
- },
336
- }
337
- }),
338
- ],
339
- null,
340
- true
341
- ),
342
- }),
343
- _c("table-body", {
344
- ref: "leftBody",
345
- attrs: {
346
- data: _vm.iData,
347
- "column-data": _vm.columns_.slice(
348
- 0,
349
- Number(_vm.fixLeft)
350
- ),
351
- },
352
- scopedSlots: _vm._u(
353
- [
354
- _vm._l(_vm.flatColumns, function (columnx) {
355
- return {
356
- key: columnx.prop,
357
- fn: function (ref) {
358
- var row = ref.row
359
- var column = ref.column
360
- var index = ref.index
361
- return [
362
- _vm._t(columnx.prop, null, {
363
- row: row,
364
- column: column,
365
- index: index,
366
- }),
367
- ]
368
- },
369
- }
370
- }),
371
- ],
372
- null,
373
- true
374
- ),
375
- }),
376
- ],
377
- 1
378
- ),
379
- ])
380
- : _vm._e(),
381
- Number(_vm.fixTop) > 0 &&
382
- Number(_vm.fixLeft) > 0 &&
383
- _vm.type !== "v"
384
- ? _c("div", { ref: "leftTop", staticClass: "leftTop" }, [
385
- _c(
386
- "table",
387
- [
388
- _c("table-head", {
389
- ref: "leftTopHead",
390
- attrs: {
391
- data: _vm.columns_.slice(0, Number(_vm.fixLeft)),
392
- },
393
- on: {
394
- "column-change": _vm.columnChangeHandle,
395
- "select-all": _vm.handleSelectionAllChange,
396
- },
397
- scopedSlots: _vm._u(
398
- [
399
- _vm._l(_vm.columns_, function (columnx) {
400
- return {
401
- key: columnx.prop + "_th",
402
- fn: function (ref) {
403
- var column = ref.column
404
- var index = ref.index
405
- return [
406
- _vm._t(columnx.prop + "_th", null, {
407
- column: column,
408
- index: index,
409
- }),
410
- ]
411
- },
412
- }
413
- }),
414
- ],
415
- null,
416
- true
417
- ),
418
- }),
419
- ],
420
- 1
421
- ),
422
- ])
423
- : _vm._e(),
424
- Number(_vm.fixRight) > 0 && _vm.type !== "v"
425
- ? _c("div", { ref: "right", staticClass: "right" }, [
426
- _c(
427
- "table",
428
- { ref: "rightTable" },
429
- [
430
- _c("table-head", {
431
- ref: "rightHead",
432
- attrs: {
433
- data: _vm.columns_.slice(
434
- _vm.columns_.length - Number(_vm.fixRight),
435
- _vm.columns_.length
436
- ),
437
- configurable:
438
- _vm.configurable && !(Number(_vm.fixTop) > 0),
439
- },
440
- on: {
441
- "column-change": _vm.columnChangeHandle,
442
- "select-all": _vm.handleSelectionAllChange,
443
- },
444
- scopedSlots: _vm._u(
445
- [
446
- _vm._l(_vm.columns_, function (columnx) {
447
- return {
448
- key: columnx.prop + "_th",
449
- fn: function (ref) {
450
- var column = ref.column
451
- var index = ref.index
452
- return [
453
- _vm._t(columnx.prop + "_th", null, {
454
- column: column,
455
- index: index,
456
- }),
457
- ]
458
- },
459
- }
460
- }),
461
- ],
462
- null,
463
- true
464
- ),
465
- }),
466
- _c("table-body", {
467
- ref: "rightBody",
468
- attrs: {
469
- data: _vm.iData,
470
- "column-data": _vm.columns_.slice(
471
- _vm.columns_.length - Number(_vm.fixRight),
472
- _vm.columns_.length
473
- ),
474
- },
475
- scopedSlots: _vm._u(
476
- [
477
- _vm._l(_vm.flatColumns, function (columnx) {
478
- return {
479
- key: columnx.prop,
480
- fn: function (ref) {
481
- var row = ref.row
482
- var column = ref.column
483
- var index = ref.index
484
- return [
485
- _vm._t(columnx.prop, null, {
486
- row: row,
487
- column: column,
488
- index: index,
489
- }),
490
- ]
491
- },
492
- }
493
- }),
494
- ],
495
- null,
496
- true
497
- ),
498
- }),
499
- ],
500
- 1
501
- ),
502
- ])
503
- : _vm._e(),
504
- Number(_vm.fixTop) > 0 &&
505
- Number(_vm.fixRight) > 0 &&
506
- _vm.type !== "v"
507
- ? _c("div", { ref: "rightTop", staticClass: "rightTop" }, [
508
- _c(
509
- "table",
510
- [
511
- _c("table-head", {
512
- ref: "rightTopHead",
513
- attrs: {
514
- data: _vm.columns_.slice(
515
- _vm.columns_.length - Number(_vm.fixRight),
516
- _vm.columns_.length
517
- ),
518
- configurable: _vm.configurable,
519
- },
520
- on: {
521
- "column-change": _vm.columnChangeHandle,
522
- "select-all": _vm.handleSelectionAllChange,
523
- },
524
- scopedSlots: _vm._u(
525
- [
526
- _vm._l(_vm.columns_, function (columnx) {
527
- return {
528
- key: columnx.prop + "_th",
529
- fn: function (ref) {
530
- var column = ref.column
531
- var index = ref.index
532
- return [
533
- _vm._t(columnx.prop + "_th", null, {
534
- column: column,
535
- index: index,
536
- }),
537
- ]
538
- },
539
- }
540
- }),
541
- ],
542
- null,
543
- true
544
- ),
545
- }),
546
- ],
547
- 1
548
- ),
549
- ])
550
- : _vm._e(),
551
- _c(
552
- "div",
553
- {
554
- ref: "body",
555
- staticClass: "body",
556
- on: { scroll: _vm.scrollHandle },
557
- },
558
- [
253
+ return _c(
254
+ "div",
255
+ { staticClass: "to-table", class: _vm.setClass, style: _vm.setStyle },
256
+ [
257
+ _vm.columns_ && _vm.columns_.length > 0
258
+ ? [
259
+ Number(_vm.fixTop) > 0 && _vm.type !== "v"
260
+ ? _c("div", { ref: "top", staticClass: "top" }, [
559
261
  _c(
560
262
  "table",
561
- { ref: "table" },
263
+ { ref: "topTable" },
562
264
  [
563
- _c(
564
- "colgroup",
565
- _vm._l(_vm.columns_, function (item, index) {
566
- return _c("col", {
567
- key: index,
568
- style: _vm.columnStyle(item),
569
- })
570
- }),
571
- 0
572
- ),
573
265
  _c("table-head", {
574
- ref: "thead",
266
+ ref: "topHead",
575
267
  attrs: {
576
- name: "body",
577
268
  data: _vm.columns_,
578
269
  configurable:
579
- _vm.configurable &&
580
- !Number(_vm.fixTop) > 0 &&
581
- !Number(_vm.fixRight) > 0,
270
+ _vm.configurable && !(Number(_vm.fixRight) > 0),
271
+ },
272
+ on: {
273
+ "select-all": _vm.handleSelectionAllChange,
274
+ "column-change": _vm.columnChangeHandle,
275
+ },
276
+ scopedSlots: _vm._u(
277
+ [
278
+ _vm._l(_vm.columns_, function (columnx) {
279
+ return {
280
+ key: columnx.prop + "_th",
281
+ fn: function (ref) {
282
+ var column = ref.column
283
+ var index = ref.index
284
+ return [
285
+ _vm._t(columnx.prop + "_th", null, {
286
+ column: column,
287
+ index: index,
288
+ }),
289
+ ]
290
+ },
291
+ }
292
+ }),
293
+ ],
294
+ null,
295
+ true
296
+ ),
297
+ }),
298
+ ],
299
+ 1
300
+ ),
301
+ ])
302
+ : _vm._e(),
303
+ Number(_vm.fixLeft) > 0 && _vm.type !== "v"
304
+ ? _c("div", { ref: "left", staticClass: "left" }, [
305
+ _c(
306
+ "table",
307
+ { ref: "leftTable" },
308
+ [
309
+ _c("table-head", {
310
+ ref: "leftHead",
311
+ attrs: {
312
+ name: "leftHead",
313
+ data: _vm.columns_.slice(0, Number(_vm.fixLeft)),
582
314
  },
583
315
  on: {
584
316
  "select-all": _vm.handleSelectionAllChange,
@@ -607,23 +339,16 @@ var render = function () {
607
339
  ),
608
340
  }),
609
341
  _c("table-body", {
610
- ref: "tbody",
611
- attrs: { data: _vm.iData, "column-data": _vm.columns_ },
342
+ ref: "leftBody",
343
+ attrs: {
344
+ data: _vm.iData,
345
+ "column-data": _vm.columns_.slice(
346
+ 0,
347
+ Number(_vm.fixLeft)
348
+ ),
349
+ },
612
350
  scopedSlots: _vm._u(
613
351
  [
614
- {
615
- key: "toTitle",
616
- fn: function (ref) {
617
- var row = ref.row
618
- var index = ref.index
619
- return [
620
- _vm._t("toTitle", null, {
621
- row: row,
622
- index: index,
623
- }),
624
- ]
625
- },
626
- },
627
352
  _vm._l(_vm.flatColumns, function (columnx) {
628
353
  return {
629
354
  key: columnx.prop,
@@ -649,272 +374,647 @@ var render = function () {
649
374
  ],
650
375
  1
651
376
  ),
652
- ]
653
- ),
654
- _vm.nodata && !_vm.loading
655
- ? _c("to-msg", {
656
- style: _vm.setMsgTopStyle,
657
- attrs: {
658
- pic: _vm.emptyPic,
659
- position: "full",
660
- title: _vm.emptyText || _vm.emptyTitle,
661
- content: _vm.emptyContent,
662
- show: "",
663
- },
664
- })
665
- : _vm._e(),
666
- _vm.loading
667
- ? _c("to-msg", {
668
- style: _vm.setMsgTopStyle,
669
- attrs: { pic: "loading", position: "full", show: "" },
670
- })
671
- : _vm._e(),
672
- ]
673
- : [
674
- _c("div", { staticClass: "body" }, [
675
- _c("table", { ref: "table" }, [
676
- _c("thead", { ref: "thead" }, [
377
+ ])
378
+ : _vm._e(),
379
+ Number(_vm.fixTop) > 0 &&
380
+ Number(_vm.fixLeft) > 0 &&
381
+ _vm.type !== "v"
382
+ ? _c("div", { ref: "leftTop", staticClass: "leftTop" }, [
383
+ _c(
384
+ "table",
385
+ [
386
+ _c("table-head", {
387
+ ref: "leftTopHead",
388
+ attrs: {
389
+ data: _vm.columns_.slice(0, Number(_vm.fixLeft)),
390
+ },
391
+ on: {
392
+ "column-change": _vm.columnChangeHandle,
393
+ "select-all": _vm.handleSelectionAllChange,
394
+ },
395
+ scopedSlots: _vm._u(
396
+ [
397
+ _vm._l(_vm.columns_, function (columnx) {
398
+ return {
399
+ key: columnx.prop + "_th",
400
+ fn: function (ref) {
401
+ var column = ref.column
402
+ var index = ref.index
403
+ return [
404
+ _vm._t(columnx.prop + "_th", null, {
405
+ column: column,
406
+ index: index,
407
+ }),
408
+ ]
409
+ },
410
+ }
411
+ }),
412
+ ],
413
+ null,
414
+ true
415
+ ),
416
+ }),
417
+ ],
418
+ 1
419
+ ),
420
+ ])
421
+ : _vm._e(),
422
+ Number(_vm.fixRight) > 0 && _vm.type !== "v"
423
+ ? _c("div", { ref: "right", staticClass: "right" }, [
424
+ _c(
425
+ "table",
426
+ { ref: "rightTable" },
427
+ [
428
+ _c("table-head", {
429
+ ref: "rightHead",
430
+ attrs: {
431
+ data: _vm.columns_.slice(
432
+ _vm.columns_.length - Number(_vm.fixRight),
433
+ _vm.columns_.length
434
+ ),
435
+ configurable:
436
+ _vm.configurable && !(Number(_vm.fixTop) > 0),
437
+ },
438
+ on: {
439
+ "column-change": _vm.columnChangeHandle,
440
+ "select-all": _vm.handleSelectionAllChange,
441
+ },
442
+ scopedSlots: _vm._u(
443
+ [
444
+ _vm._l(_vm.columns_, function (columnx) {
445
+ return {
446
+ key: columnx.prop + "_th",
447
+ fn: function (ref) {
448
+ var column = ref.column
449
+ var index = ref.index
450
+ return [
451
+ _vm._t(columnx.prop + "_th", null, {
452
+ column: column,
453
+ index: index,
454
+ }),
455
+ ]
456
+ },
457
+ }
458
+ }),
459
+ ],
460
+ null,
461
+ true
462
+ ),
463
+ }),
464
+ _c("table-body", {
465
+ ref: "rightBody",
466
+ attrs: {
467
+ data: _vm.iData,
468
+ "column-data": _vm.columns_.slice(
469
+ _vm.columns_.length - Number(_vm.fixRight),
470
+ _vm.columns_.length
471
+ ),
472
+ },
473
+ scopedSlots: _vm._u(
474
+ [
475
+ _vm._l(_vm.flatColumns, function (columnx) {
476
+ return {
477
+ key: columnx.prop,
478
+ fn: function (ref) {
479
+ var row = ref.row
480
+ var column = ref.column
481
+ var index = ref.index
482
+ return [
483
+ _vm._t(columnx.prop, null, {
484
+ row: row,
485
+ column: column,
486
+ index: index,
487
+ }),
488
+ ]
489
+ },
490
+ }
491
+ }),
492
+ ],
493
+ null,
494
+ true
495
+ ),
496
+ }),
497
+ ],
498
+ 1
499
+ ),
500
+ ])
501
+ : _vm._e(),
502
+ Number(_vm.fixTop) > 0 &&
503
+ Number(_vm.fixRight) > 0 &&
504
+ _vm.type !== "v"
505
+ ? _c("div", { ref: "rightTop", staticClass: "rightTop" }, [
506
+ _c(
507
+ "table",
508
+ [
509
+ _c("table-head", {
510
+ ref: "rightTopHead",
511
+ attrs: {
512
+ data: _vm.columns_.slice(
513
+ _vm.columns_.length - Number(_vm.fixRight),
514
+ _vm.columns_.length
515
+ ),
516
+ configurable: _vm.configurable,
517
+ },
518
+ on: {
519
+ "column-change": _vm.columnChangeHandle,
520
+ "select-all": _vm.handleSelectionAllChange,
521
+ },
522
+ scopedSlots: _vm._u(
523
+ [
524
+ _vm._l(_vm.columns_, function (columnx) {
525
+ return {
526
+ key: columnx.prop + "_th",
527
+ fn: function (ref) {
528
+ var column = ref.column
529
+ var index = ref.index
530
+ return [
531
+ _vm._t(columnx.prop + "_th", null, {
532
+ column: column,
533
+ index: index,
534
+ }),
535
+ ]
536
+ },
537
+ }
538
+ }),
539
+ ],
540
+ null,
541
+ true
542
+ ),
543
+ }),
544
+ ],
545
+ 1
546
+ ),
547
+ ])
548
+ : _vm._e(),
549
+ _c(
550
+ "div",
551
+ {
552
+ ref: "body",
553
+ staticClass: "body",
554
+ on: { scroll: _vm.scrollHandle },
555
+ },
556
+ [
557
+ _c(
558
+ "table",
559
+ { ref: "table" },
560
+ [
677
561
  _c(
678
- "tr",
679
- _vm._l(_vm.iHeads, function (item, index) {
680
- return _c("th", { key: index }, [_vm._v(_vm._s(item))])
562
+ "colgroup",
563
+ _vm._l(_vm.columns_, function (item, index) {
564
+ return _c("col", {
565
+ key: index,
566
+ style: _vm.columnStyle(item),
567
+ })
681
568
  }),
682
569
  0
683
570
  ),
684
- ]),
571
+ _c("table-head", {
572
+ ref: "thead",
573
+ attrs: {
574
+ name: "body",
575
+ data: _vm.columns_,
576
+ configurable:
577
+ _vm.configurable &&
578
+ !Number(_vm.fixTop) > 0 &&
579
+ !Number(_vm.fixRight) > 0,
580
+ },
581
+ on: {
582
+ "select-all": _vm.handleSelectionAllChange,
583
+ "column-change": _vm.columnChangeHandle,
584
+ },
585
+ scopedSlots: _vm._u(
586
+ [
587
+ _vm._l(_vm.columns_, function (columnx) {
588
+ return {
589
+ key: columnx.prop + "_th",
590
+ fn: function (ref) {
591
+ var column = ref.column
592
+ var index = ref.index
593
+ return [
594
+ _vm._t(columnx.prop + "_th", null, {
595
+ column: column,
596
+ index: index,
597
+ }),
598
+ ]
599
+ },
600
+ }
601
+ }),
602
+ ],
603
+ null,
604
+ true
605
+ ),
606
+ }),
607
+ _c("table-body", {
608
+ ref: "tbody",
609
+ attrs: { data: _vm.iData, "column-data": _vm.columns_ },
610
+ scopedSlots: _vm._u(
611
+ [
612
+ {
613
+ key: "toTitle",
614
+ fn: function (ref) {
615
+ var row = ref.row
616
+ var index = ref.index
617
+ return [
618
+ _vm._t("toTitle", null, {
619
+ row: row,
620
+ index: index,
621
+ }),
622
+ ]
623
+ },
624
+ },
625
+ _vm._l(_vm.flatColumns, function (columnx) {
626
+ return {
627
+ key: columnx.prop,
628
+ fn: function (ref) {
629
+ var row = ref.row
630
+ var column = ref.column
631
+ var index = ref.index
632
+ return [
633
+ _vm._t(columnx.prop, null, {
634
+ row: row,
635
+ column: column,
636
+ index: index,
637
+ }),
638
+ ]
639
+ },
640
+ }
641
+ }),
642
+ ],
643
+ null,
644
+ true
645
+ ),
646
+ }),
647
+ ],
648
+ 1
649
+ ),
650
+ ]
651
+ ),
652
+ _vm.nodata && !_vm.loading
653
+ ? _c("to-msg", {
654
+ style: _vm.setMsgTopStyle,
655
+ attrs: {
656
+ pic: _vm.emptyPic,
657
+ position: "full",
658
+ title: _vm.emptyText || _vm.emptyTitle,
659
+ content: _vm.emptyContent,
660
+ show: "",
661
+ },
662
+ })
663
+ : _vm._e(),
664
+ _vm.loading
665
+ ? _c("to-msg", {
666
+ style: _vm.setMsgTopStyle,
667
+ attrs: { pic: "loading", position: "full", show: "" },
668
+ })
669
+ : _vm._e(),
670
+ ]
671
+ : [
672
+ _c("div", { staticClass: "body" }, [
673
+ _c("table", { ref: "table" }, [
674
+ _c("thead", { ref: "thead" }, [
685
675
  _c(
686
- "tbody",
687
- { ref: "tbody", on: { click: _vm.handleTableClick } },
688
- [_vm._t("default")],
689
- 2
676
+ "tr",
677
+ _vm._l(_vm.iHeads, function (item, index) {
678
+ return _c("th", { key: index }, [_vm._v(_vm._s(item))])
679
+ }),
680
+ 0
690
681
  ),
691
682
  ]),
683
+ _c(
684
+ "tbody",
685
+ { ref: "tbody", on: { click: _vm.handleTableClick } },
686
+ [_vm._t("default")],
687
+ 2
688
+ ),
692
689
  ]),
693
- _vm.nodata && !_vm.loading
694
- ? _c("to-msg", {
695
- attrs: {
696
- position: "full",
697
- title: _vm.emptyText || _vm.emptyTitle,
698
- content: _vm.emptyContent,
699
- show: "",
700
- },
690
+ ]),
691
+ _vm.nodata && !_vm.loading
692
+ ? _c("to-msg", {
693
+ attrs: {
694
+ position: "full",
695
+ title: _vm.emptyText || _vm.emptyTitle,
696
+ content: _vm.emptyContent,
697
+ show: "",
698
+ },
699
+ })
700
+ : _vm._e(),
701
+ _vm.loading
702
+ ? _c("to-msg", {
703
+ attrs: { pic: "loading", position: "full", show: "" },
704
+ })
705
+ : _vm._e(),
706
+ ],
707
+ _c(
708
+ "to-float",
709
+ {
710
+ ref: "action",
711
+ staticClass: "to-table-actionLayer",
712
+ attrs: {
713
+ width: _vm.$phone ? "full" : _vm.actionLayerWidth,
714
+ slide: _vm.$phone,
715
+ position: "bottom",
716
+ },
717
+ nativeOn: {
718
+ click: function ($event) {
719
+ return _vm.$refs.action.close()
720
+ },
721
+ },
722
+ },
723
+ [
724
+ _c(
725
+ "div",
726
+ { staticClass: "to-table-actionLayerWrapper" },
727
+ [
728
+ _vm.current && _vm.contextAction
729
+ ? _vm._t("action", null, {
730
+ row: _vm.current,
731
+ index: _vm.currentIndex,
701
732
  })
702
733
  : _vm._e(),
703
- _vm.loading
704
- ? _c("to-msg", {
705
- attrs: { pic: "loading", position: "full", show: "" },
706
- })
734
+ _vm.contextSelection !== null
735
+ ? [
736
+ !_vm.contextSelection
737
+ ? _c(
738
+ "to-button",
739
+ {
740
+ attrs: { mode: "text" },
741
+ on: { click: _vm.startBatch },
742
+ },
743
+ [_vm._v("多选")]
744
+ )
745
+ : _c(
746
+ "to-button",
747
+ {
748
+ attrs: { mode: "text" },
749
+ on: {
750
+ click: function ($event) {
751
+ _vm.$emit("update:contextSelection", false)
752
+ _vm.$refs.action.close()
753
+ },
754
+ },
755
+ },
756
+ [_vm._v("取消多选")]
757
+ ),
758
+ ]
707
759
  : _vm._e(),
708
760
  ],
709
- _c(
710
- "to-float",
711
- {
712
- ref: "action",
713
- staticClass: "to-table-actionLayer",
714
- attrs: {
715
- width: _vm.$phone ? "full" : _vm.actionLayerWidth,
716
- slide: _vm.$phone,
717
- position: "bottom",
718
- },
719
- nativeOn: {
720
- click: function ($event) {
721
- return _vm.$refs.action.close()
722
- },
723
- },
761
+ 2
762
+ ),
763
+ ]
764
+ ),
765
+ _c(
766
+ "to-float",
767
+ {
768
+ ref: "detail",
769
+ staticClass: "to-table-detail",
770
+ attrs: {
771
+ slide: "",
772
+ position: _vm.$phone ? "bottom" : "right",
773
+ width: _vm.$phone ? "full" : "31.25",
724
774
  },
725
- [
726
- _c(
727
- "div",
728
- { staticClass: "to-table-actionLayerWrapper" },
729
- [
730
- _vm.current && _vm.contextAction
731
- ? _vm._t("action", null, {
732
- row: _vm.current,
733
- index: _vm.currentIndex,
734
- })
735
- : _vm._e(),
736
- _vm.contextSelection !== null
737
- ? [
738
- !_vm.contextSelection
775
+ },
776
+ [
777
+ _vm.current
778
+ ? _c(
779
+ "to-padding",
780
+ { attrs: { value: 1.5 } },
781
+ [
782
+ _c(
783
+ "to-grid",
784
+ { attrs: { space: 1.5 } },
785
+ [
786
+ _vm.columns_.some(function (column) {
787
+ return column.type === "icon"
788
+ })
739
789
  ? _c(
740
- "to-button",
741
- {
742
- attrs: { mode: "text" },
743
- on: { click: _vm.startBatch },
744
- },
745
- [_vm._v("多选")]
746
- )
747
- : _c(
748
- "to-button",
749
- {
750
- attrs: { mode: "text" },
751
- on: {
752
- click: function ($event) {
753
- _vm.$emit("update:contextSelection", false)
754
- _vm.$refs.action.close()
755
- },
756
- },
757
- },
758
- [_vm._v("取消多选")]
759
- ),
760
- ]
761
- : _vm._e(),
762
- ],
763
- 2
764
- ),
765
- ]
766
- ),
767
- _c(
768
- "to-float",
769
- {
770
- ref: "detail",
771
- staticClass: "to-table-detail",
772
- attrs: {
773
- slide: "",
774
- position: _vm.$phone ? "bottom" : "right",
775
- width: _vm.$phone ? "full" : "31.25",
776
- },
777
- },
778
- [
779
- _vm.current
780
- ? _c(
781
- "to-padding",
782
- { attrs: { value: 1.5 } },
783
- [
784
- _c(
785
- "to-grid",
786
- { attrs: { space: 1.5 } },
787
- [
788
- _vm.columns_.some(function (column) {
789
- return column.type === "icon"
790
- })
791
- ? _c(
792
- "to-grid-item",
793
- { attrs: { side: "" } },
794
- [
795
- _vm._t(
796
- _vm.columns_.find(function (column) {
797
- return column.type === "icon"
798
- }).prop,
799
- [
800
- _c(
801
- "to-icon",
802
- _vm._b(
803
- {
804
- directives: [
805
- {
806
- name: "size",
807
- rawName: "v-size",
808
- value: _vm.iconSize,
809
- expression: "iconSize",
810
- },
811
- ],
812
- attrs: {
813
- value:
814
- _vm.current[
815
- _vm.columns_.find(function (
816
- column
817
- ) {
818
- return column.type === "icon"
819
- }).prop
820
- ] || _vm.icon,
790
+ "to-grid-item",
791
+ { attrs: { side: "" } },
792
+ [
793
+ _vm._t(
794
+ _vm.columns_.find(function (column) {
795
+ return column.type === "icon"
796
+ }).prop,
797
+ [
798
+ _c(
799
+ "to-icon",
800
+ _vm._b(
801
+ {
802
+ directives: [
803
+ {
804
+ name: "size",
805
+ rawName: "v-size",
806
+ value: _vm.iconSize,
807
+ expression: "iconSize",
821
808
  },
822
- },
823
- "to-icon",
824
- _vm.iconProps,
825
- false
826
- )
827
- ),
828
- ],
829
- {
830
- detail: true,
831
- row: _vm.current,
832
- index: _vm.currentIndex,
833
- }
834
- ),
835
- ],
836
- 2
837
- )
838
- : _vm._e(),
839
- _c(
840
- "to-grid-item",
841
- [
842
- _c(
843
- "to-card",
844
- { attrs: { padding: "0" } },
845
- [
846
- _c(
847
- "to-card-item",
848
- { attrs: { main: "", align: "center" } },
849
- [
850
- _vm.columns_.some(function (column) {
851
- return column.type === "key"
852
- })
853
- ? _c(
854
- "template",
855
- { slot: "title" },
856
- [
857
- _vm._t(
809
+ ],
810
+ attrs: {
811
+ value:
812
+ _vm.current[
858
813
  _vm.columns_.find(function (
859
814
  column
860
815
  ) {
861
- return column.type === "key"
862
- }).prop,
863
- [
864
- _vm._v(
865
- "\n\t\t\t\t\t\t\t\t\t\t" +
866
- _vm._s(
867
- _vm.current[
868
- _vm.columns_.find(
869
- function (column) {
870
- return (
871
- column.type ===
872
- "key"
873
- )
874
- }
875
- ).prop
876
- ]
877
- ) +
878
- "\n\t\t\t\t\t\t\t\t\t"
879
- ),
880
- ],
881
- {
882
- detail: true,
883
- row: _vm.current,
884
- index: _vm.currentIndex,
885
- }
886
- ),
887
- ],
888
- 2
889
- )
890
- : _vm._e(),
891
- _vm.columns_.some(function (column) {
892
- return column.type === "desc"
893
- })
894
- ? _c(
895
- "template",
896
- { slot: "content" },
816
+ return column.type === "icon"
817
+ }).prop
818
+ ] || _vm.icon,
819
+ },
820
+ },
821
+ "to-icon",
822
+ _vm.iconProps,
823
+ false
824
+ )
825
+ ),
826
+ ],
827
+ {
828
+ detail: true,
829
+ row: _vm.current,
830
+ index: _vm.currentIndex,
831
+ }
832
+ ),
833
+ ],
834
+ 2
835
+ )
836
+ : _vm._e(),
837
+ _c(
838
+ "to-grid-item",
839
+ [
840
+ _c(
841
+ "to-card",
842
+ { attrs: { padding: "0" } },
843
+ [
844
+ _c(
845
+ "to-card-item",
846
+ { attrs: { main: "", align: "center" } },
847
+ [
848
+ _vm.columns_.some(function (column) {
849
+ return column.type === "key"
850
+ })
851
+ ? _c(
852
+ "template",
853
+ { slot: "title" },
854
+ [
855
+ _vm._t(
856
+ _vm.columns_.find(function (
857
+ column
858
+ ) {
859
+ return column.type === "key"
860
+ }).prop,
861
+ [
862
+ _vm._v(
863
+ "\n\t\t\t\t\t\t\t\t\t" +
864
+ _vm._s(
865
+ _vm.current[
866
+ _vm.columns_.find(
867
+ function (column) {
868
+ return (
869
+ column.type ===
870
+ "key"
871
+ )
872
+ }
873
+ ).prop
874
+ ]
875
+ ) +
876
+ "\n\t\t\t\t\t\t\t\t"
877
+ ),
878
+ ],
879
+ {
880
+ detail: true,
881
+ row: _vm.current,
882
+ index: _vm.currentIndex,
883
+ }
884
+ ),
885
+ ],
886
+ 2
887
+ )
888
+ : _vm._e(),
889
+ _vm.columns_.some(function (column) {
890
+ return column.type === "desc"
891
+ })
892
+ ? _c(
893
+ "template",
894
+ { slot: "content" },
895
+ [
896
+ _vm._t(
897
+ _vm.columns_.find(function (
898
+ column
899
+ ) {
900
+ return column.type === "desc"
901
+ }).prop,
902
+ [
903
+ _vm._v(
904
+ "\n\t\t\t\t\t\t\t\t\t" +
905
+ _vm._s(
906
+ _vm.current[
907
+ _vm.columns_.find(
908
+ function (column) {
909
+ return (
910
+ column.type ===
911
+ "desc"
912
+ )
913
+ }
914
+ ).prop
915
+ ]
916
+ ) +
917
+ "\n\t\t\t\t\t\t\t\t"
918
+ ),
919
+ ],
920
+ {
921
+ detail: true,
922
+ row: _vm.current,
923
+ index: _vm.currentIndex,
924
+ }
925
+ ),
926
+ ],
927
+ 2
928
+ )
929
+ : _vm._e(),
930
+ ],
931
+ 2
932
+ ),
933
+ _vm.columns_.some(function (column) {
934
+ return column.type === "state"
935
+ })
936
+ ? _c(
937
+ "to-card-item",
938
+ [
939
+ _vm._t(
940
+ _vm.columns_.find(function (column) {
941
+ return column.type === "state"
942
+ }).prop,
943
+ [
944
+ _c(
945
+ "to-tag",
946
+ {
947
+ attrs: {
948
+ mode: "plain",
949
+ color: "primary",
950
+ fillet: "pill",
951
+ },
952
+ },
953
+ [
954
+ _vm._v(
955
+ "\n\t\t\t\t\t\t\t\t\t" +
956
+ _vm._s(
957
+ _vm.current[
958
+ _vm.columns_.find(
959
+ function (column) {
960
+ return (
961
+ column.type ===
962
+ "state"
963
+ )
964
+ }
965
+ ).prop
966
+ ]
967
+ ) +
968
+ "\n\t\t\t\t\t\t\t\t"
969
+ ),
970
+ ]
971
+ ),
972
+ ],
973
+ {
974
+ detail: true,
975
+ row: _vm.current,
976
+ index: _vm.currentIndex,
977
+ }
978
+ ),
979
+ ],
980
+ 2
981
+ )
982
+ : _vm._e(),
983
+ ],
984
+ 1
985
+ ),
986
+ _vm.hasKey ? _c("to-space") : _vm._e(),
987
+ _c(
988
+ "to-param",
989
+ [
990
+ _vm._l(_vm.columns_, function (column, index) {
991
+ return [
992
+ (![
993
+ "key",
994
+ "desc",
995
+ "icon",
996
+ "state",
997
+ "selection",
998
+ "radio",
999
+ "action",
1000
+ ].includes(column.type) &&
1001
+ column.show !== false) ||
1002
+ column.detail
1003
+ ? _c("li", { key: index }, [
1004
+ _c("div", { staticClass: "label" }, [
1005
+ _vm._v(_vm._s(column.label)),
1006
+ ]),
1007
+ _c(
1008
+ "div",
1009
+ { staticClass: "value" },
897
1010
  [
898
1011
  _vm._t(
899
- _vm.columns_.find(function (
900
- column
901
- ) {
902
- return column.type === "desc"
903
- }).prop,
1012
+ column.prop,
904
1013
  [
905
1014
  _vm._v(
906
1015
  "\n\t\t\t\t\t\t\t\t\t\t" +
907
1016
  _vm._s(
908
- _vm.current[
909
- _vm.columns_.find(
910
- function (column) {
911
- return (
912
- column.type ===
913
- "desc"
914
- )
915
- }
916
- ).prop
917
- ]
1017
+ _vm.current[column.prop]
918
1018
  ) +
919
1019
  "\n\t\t\t\t\t\t\t\t\t"
920
1020
  ),
@@ -927,147 +1027,44 @@ var render = function () {
927
1027
  ),
928
1028
  ],
929
1029
  2
930
- )
931
- : _vm._e(),
932
- ],
933
- 2
934
- ),
935
- _vm.columns_.some(function (column) {
936
- return column.type === "state"
937
- })
938
- ? _c(
939
- "to-card-item",
940
- [
941
- _vm._t(
942
- _vm.columns_.find(function (column) {
943
- return column.type === "state"
944
- }).prop,
945
- [
946
- _c(
947
- "to-tag",
948
- {
949
- attrs: {
950
- mode: "plain",
951
- color: "primary",
952
- fillet: "pill",
953
- },
954
- },
955
- [
956
- _vm._v(
957
- "\n\t\t\t\t\t\t\t\t\t\t" +
958
- _vm._s(
959
- _vm.current[
960
- _vm.columns_.find(
961
- function (column) {
962
- return (
963
- column.type ===
964
- "state"
965
- )
966
- }
967
- ).prop
968
- ]
969
- ) +
970
- "\n\t\t\t\t\t\t\t\t\t"
971
- ),
972
- ]
973
- ),
974
- ],
975
- {
976
- detail: true,
977
- row: _vm.current,
978
- index: _vm.currentIndex,
979
- }
980
1030
  ),
981
- ],
982
- 2
983
- )
984
- : _vm._e(),
985
- ],
986
- 1
987
- ),
988
- _vm.hasKey ? _c("to-space") : _vm._e(),
989
- _c(
990
- "to-param",
991
- [
992
- _vm._l(_vm.columns_, function (column, index) {
993
- return [
994
- (![
995
- "key",
996
- "desc",
997
- "icon",
998
- "state",
999
- "selection",
1000
- "radio",
1001
- "action",
1002
- ].includes(column.type) &&
1003
- column.show !== false) ||
1004
- column.detail
1005
- ? _c("li", { key: index }, [
1006
- _c("div", { staticClass: "label" }, [
1007
- _vm._v(_vm._s(column.label)),
1008
- ]),
1009
- _c(
1010
- "div",
1011
- { staticClass: "value" },
1012
- [
1013
- _vm._t(
1014
- column.prop,
1015
- [
1016
- _vm._v(
1017
- "\n\t\t\t\t\t\t\t\t\t\t\t" +
1018
- _vm._s(
1019
- _vm.current[column.prop]
1020
- ) +
1021
- "\n\t\t\t\t\t\t\t\t\t\t"
1022
- ),
1023
- ],
1024
- {
1025
- detail: true,
1026
- row: _vm.current,
1027
- index: _vm.currentIndex,
1028
- }
1029
- ),
1030
- ],
1031
- 2
1032
- ),
1033
- ])
1034
- : _vm._e(),
1035
- ]
1036
- }),
1037
- ],
1038
- 2
1039
- ),
1040
- ],
1041
- 1
1042
- ),
1043
- ],
1044
- 1
1045
- ),
1046
- ],
1047
- 1
1048
- )
1049
- : _vm._e(),
1050
- ],
1051
- 1
1052
- ),
1053
- !_vm.hasAction && _vm.configurable
1054
- ? [
1055
- _c("table-config", {
1056
- attrs: { data: _vm.columns },
1057
- on: { change: _vm.columnChangeHandle },
1058
- }),
1059
- ]
1060
- : _vm._e(),
1061
- ],
1062
- 2
1063
- ),
1064
- ])
1031
+ ])
1032
+ : _vm._e(),
1033
+ ]
1034
+ }),
1035
+ ],
1036
+ 2
1037
+ ),
1038
+ ],
1039
+ 1
1040
+ ),
1041
+ ],
1042
+ 1
1043
+ ),
1044
+ ],
1045
+ 1
1046
+ )
1047
+ : _vm._e(),
1048
+ ],
1049
+ 1
1050
+ ),
1051
+ !_vm.hasAction && _vm.configurable
1052
+ ? [
1053
+ _c("table-config", {
1054
+ attrs: { data: _vm.columns },
1055
+ on: { change: _vm.columnChangeHandle },
1056
+ }),
1057
+ ]
1058
+ : _vm._e(),
1059
+ ],
1060
+ 2
1061
+ )
1065
1062
  }
1066
1063
  var staticRenderFns = []
1067
1064
  render._withStripped = true
1068
1065
 
1069
1066
 
1070
- // CONCATENATED MODULE: ./packages/table/src/table.vue?vue&type=template&id=2975ee63
1067
+ // CONCATENATED MODULE: ./packages/table/src/table.vue?vue&type=template&id=2538e609
1071
1068
 
1072
1069
  // EXTERNAL MODULE: external "vue"
1073
1070
  var external_vue_ = __webpack_require__(4);
@@ -1294,10 +1291,10 @@ function getEventPath(evt) {
1294
1291
  return [target].concat(getParents(target), window);
1295
1292
  }
1296
1293
 
1297
- /**
1298
- * 兼容获取document element的dataset
1299
- * @param {DocumentElement} ele
1300
- * @returns
1294
+ /**
1295
+ * 兼容获取document element的dataset
1296
+ * @param {DocumentElement} ele
1297
+ * @returns
1301
1298
  */
1302
1299
  function getDataSet(ele) {
1303
1300
  if (!ele) return;
@@ -1337,15 +1334,15 @@ function __replaceReg__(str) {
1337
1334
  });
1338
1335
  }
1339
1336
 
1340
- /**
1341
- * 根据名称查找 Vue 组件
1342
- *
1343
- * 此函数尝试从给定的 DOM 节点开始,向上遍历 DOM 树,以查找具有指定名称的 Vue 组件
1344
- * 它主要用于在复杂的 DOM 结构中定位特定的 Vue 组件实例
1345
- *
1346
- * @param {HTMLElement} dom - 开始查找的 DOM 节点必须是 Vue 组件的关联 DOM 节点
1347
- * @param {string} targetName - 目标 Vue 组件的名称
1348
- * @returns {Object|null} - 返回找到的 Vue 组件实例,如果没有找到则返回 null
1337
+ /**
1338
+ * 根据名称查找 Vue 组件
1339
+ *
1340
+ * 此函数尝试从给定的 DOM 节点开始,向上遍历 DOM 树,以查找具有指定名称的 Vue 组件
1341
+ * 它主要用于在复杂的 DOM 结构中定位特定的 Vue 组件实例
1342
+ *
1343
+ * @param {HTMLElement} dom - 开始查找的 DOM 节点必须是 Vue 组件的关联 DOM 节点
1344
+ * @param {string} targetName - 目标 Vue 组件的名称
1345
+ * @returns {Object|null} - 返回找到的 Vue 组件实例,如果没有找到则返回 null
1349
1346
  */
1350
1347
  function queryVm(dom, targetName) {
1351
1348
  // 基础检查,确保传入的是 DOM 节点
@@ -1967,10 +1964,10 @@ var component = Object(componentNormalizer["a" /* default */])(
1967
1964
 
1968
1965
  calculateMaxDepth(this.data);
1969
1966
 
1970
- /**
1971
- * 计算树结构中叶子节点的数量
1972
- * @param {Array} tree - 表示树结构的数组
1973
- * @returns {number} - 叶子节点的数量
1967
+ /**
1968
+ * 计算树结构中叶子节点的数量
1969
+ * @param {Array} tree - 表示树结构的数组
1970
+ * @returns {number} - 叶子节点的数量
1974
1971
  */
1975
1972
  function countLeafNodes(tree) {
1976
1973
  // 如果树为空,返回 0
@@ -1999,11 +1996,11 @@ var component = Object(componentNormalizer["a" /* default */])(
1999
1996
  return leafCount;
2000
1997
  }
2001
1998
 
2002
- /**
2003
- * 递归生成表格数据
2004
- * @param {Array} heads - 表头数据,包含每一列的标签和属性。
2005
- * @param {number} depth - 当前处理的深度,默认为0。
2006
- * @param {number} rowIndex - 当前处理的行索引,默认为0。
1999
+ /**
2000
+ * 递归生成表格数据
2001
+ * @param {Array} heads - 表头数据,包含每一列的标签和属性。
2002
+ * @param {number} depth - 当前处理的深度,默认为0。
2003
+ * @param {number} rowIndex - 当前处理的行索引,默认为0。
2007
2004
  */
2008
2005
  function generateTableData(heads) {
2009
2006
  var depth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
@@ -3290,9 +3287,6 @@ var lib_locale_ = __webpack_require__(3);
3290
3287
  //
3291
3288
  //
3292
3289
  //
3293
- //
3294
- //
3295
- //
3296
3290
 
3297
3291
 
3298
3292