Permalink
Browse files

feat: 优化grid组件添加function的方式

  • Loading branch information...
LiuYueKai committed Mar 7, 2017
1 parent 531da04 commit 230af94b757476e273a9a95b4a2612f00235a116
Showing with 8,892 additions and 9,589 deletions.
  1. +3 −3 dist/tinper-neoui-grid.css
  2. +2,411 −2,571 dist/tinper-neoui-grid.js
  3. +1 −1 dist/tinper-neoui-grid.min.css
  4. +12 −12 dist/tinper-neoui-grid.min.js
  5. +5 −9 lib/js/column.js
  6. +5 −3 lib/js/columnInit.js
  7. +4 −9 lib/js/dataSource.js
  8. +7 −5 lib/js/dataSourceInit.js
  9. +76 −370 lib/js/gridComp.js
  10. +84 −81 lib/js/gridCompClick.js
  11. +80 −78 lib/js/gridCompCreate.js
  12. +12 −10 lib/js/gridCompCreateCal.js
  13. +12 −10 lib/js/gridCompEvent.js
  14. +16 −14 lib/js/gridCompGet.js
  15. +25 −23 lib/js/gridCompInit.js
  16. +31 −24 lib/js/gridCompOperateRow.js
  17. +16 −14 lib/js/gridCompOther.js
  18. +6 −4 lib/js/gridCompRenderType.js
  19. +8 −6 lib/js/gridCompSet.js
  20. +10 −8 lib/js/gridCompWDChange.js
  21. +177 −177 lib/js/re_gridCompColMenu.js
  22. +11 −9 lib/js/re_gridCompDrag.js
  23. +546 −544 lib/js/re_gridCompEdit.js
  24. +7 −5 lib/js/re_gridCompEditForm.js
  25. +45 −43 lib/js/re_gridCompFixed.js
  26. +46 −44 lib/js/re_gridCompFormShow.js
  27. +6 −4 lib/js/re_gridCompHeaderLevel.js
  28. +68 −66 lib/js/re_gridCompLocalStorage.js
  29. +48 −46 lib/js/re_gridCompOverWidthHidden.js
  30. +8 −6 lib/js/re_gridCompRowDrag.js
  31. +281 −273 lib/js/re_gridCompSort.js
  32. +277 −197 lib/js/re_gridCompSumRow.js
  33. +202 −200 lib/js/re_gridCompSwap.js
  34. +349 −348 lib/js/re_gridCompTree.js
  35. +13 −11 lib/js/ut_utility.js
  36. +15 −19 src/js/column.js
  37. +39 −38 src/js/columnInit.js
  38. +16 −22 src/js/dataSource.js
  39. +29 −28 src/js/dataSourceInit.js
  40. +171 −687 src/js/gridComp.js
  41. +90 −91 src/js/gridCompClick.js
  42. +703 −670 src/js/gridCompCreate.js
  43. +47 −49 src/js/gridCompCreateCal.js
  44. +132 −128 src/js/gridCompEvent.js
  45. +50 −47 src/js/gridCompGet.js
  46. +88 −85 src/js/gridCompInit.js
  47. +44 −39 src/js/gridCompOperateRow.js
  48. +51 −53 src/js/gridCompOther.js
  49. +94 −85 src/js/gridCompRenderType.js
  50. +49 −48 src/js/gridCompSet.js
  51. +72 −73 src/js/gridCompWDChange.js
  52. +200 −200 src/js/re_gridCompColMenu.js
  53. +9 −9 src/js/re_gridCompDrag.js
  54. +588 −586 src/js/re_gridCompEdit.js
  55. +5 −5 src/js/re_gridCompEditForm.js
  56. +51 −49 src/js/re_gridCompFixed.js
  57. +44 −44 src/js/re_gridCompFormShow.js
  58. +5 −5 src/js/re_gridCompHeaderLevel.js
  59. +85 −86 src/js/re_gridCompLocalStorage.js
  60. +49 −49 src/js/re_gridCompOverWidthHidden.js
  61. +50 −52 src/js/re_gridCompRowDrag.js
  62. +308 −302 src/js/re_gridCompSort.js
  63. +281 −200 src/js/re_gridCompSumRow.js
  64. +205 −205 src/js/re_gridCompSwap.js
  65. +364 −360 src/js/re_gridCompTree.js
  66. +50 −47 src/js/ut_utility.js
@@ -859,8 +859,8 @@ form展示区域css end
left: 0;
height: 100%;
width: 100%;
- -webkit-mask: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnDQogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iDQogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIg0KICAgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAy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MsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K);
background: transparent;
transition-duration: 0.28s;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -883,6 +883,6 @@ form展示区域css end
.u-grid-checkbox-outline.is-checked .u-grid-checkbox-tick-outline{
-webkit-mask: none;
mask: none;
- background: #1baede url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnDQogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iDQogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIg0KICAgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIg0KICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyINCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyINCiAgIHZlcnNpb249IjEuMSINCiAgIHZpZXdCb3g9IjAgMCAxIDEiDQogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4NCiAgPHBhdGgNCiAgICAgZD0iTSAwLjA0MDM4MDU5LDAuNjI2Nzc2NyAwLjE0NjQ0NjYxLDAuNTIwNzEwNjggMC40MjkyODkzMiwwLjgwMzU1MzM5IDAuMzIzMjIzMywwLjkwOTYxOTQxIHogTSAwLjIxNzE1NzI5LDAuODAzNTUzMzkgMC44NTM1NTMzOSwwLjE2NzE1NzI5IDAuOTU5NjE5NDEsMC4yNzMyMjMzIDAuMzIzMjIzMywwLjkwOTYxOTQxIHoiDQogICAgIGlkPSJyZWN0Mzc4MCINCiAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZSIgLz4NCjwvc3ZnPg0K);
+ background: #1baede url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K);
}
/*复选框end*/
Oops, something went wrong.

0 comments on commit 230af94

Please sign in to comment.