tao_form 0.1.10 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/assets/icons/arrow_down.svg +3 -0
  3. data/lib/assets/icons/arrow_left.svg +3 -0
  4. data/lib/assets/icons/arrow_right.svg +3 -0
  5. data/lib/assets/icons/calendar.svg +3 -12
  6. data/lib/assets/icons/check.svg +3 -0
  7. data/lib/assets/icons/clock.svg +3 -12
  8. data/lib/assets/icons/search.svg +3 -12
  9. data/lib/assets/icons/success.svg +3 -12
  10. data/lib/assets/javascripts/tao/form/mobile/fields/select/element.coffee +1 -1
  11. data/lib/assets/javascripts/tao/ui/icons/form.coffee +8 -8
  12. data/lib/assets/stylesheets/tao/form/layouts/narrow.scss +4 -0
  13. data/lib/assets/stylesheets/tao/form/mobile/fields/select/index.scss +14 -0
  14. data/lib/assets/stylesheets/tao/form/shared/fields/_checkbox.scss +1 -1
  15. data/lib/assets/stylesheets/tao/form/shared/inputs/_text.scss +1 -1
  16. data/lib/tao_form/components/date_picker_component.rb +0 -2
  17. data/lib/tao_form/components/moment_picker/base.rb +0 -4
  18. data/lib/tao_form/components/moment_picker/segment_list_component.rb +4 -3
  19. data/lib/tao_form/components/moment_picker/segments/date_segment_component.rb +1 -1
  20. data/lib/tao_form/components/moment_picker/segments/hour_segment_component.rb +1 -1
  21. data/lib/tao_form/components/moment_picker/segments/minute_segment_component.rb +1 -1
  22. data/lib/tao_form/components/moment_picker/segments/month_segment_component.rb +1 -1
  23. data/lib/tao_form/components/moment_picker/segments/year_segment_component.rb +1 -1
  24. data/lib/tao_form/components/select/multiple_result_component.rb +1 -0
  25. data/lib/tao_form/components/select/result_component.rb +1 -0
  26. data/lib/tao_form/components/select_component.rb +1 -4
  27. data/lib/tao_form/engine.rb +7 -2
  28. data/lib/tao_form/inputs/collection_select_input.rb +1 -1
  29. data/lib/tao_form/inputs/grouped_collection_select_input.rb +1 -1
  30. data/lib/tao_form/version.rb +1 -1
  31. data/lib/views/components/tao_form/components/_check_box.html.erb +1 -1
  32. metadata +10 -13
  33. data/lib/assets/icons/arrow-down.svg +0 -12
  34. data/lib/assets/icons/arrow-left.svg +0 -12
  35. data/lib/assets/icons/arrow-right.svg +0 -12
  36. data/lib/assets/icons/checkbox.svg +0 -12
  37. data/lib/tao_form/components.rb +0 -11
  38. data/lib/tao_form/components/moment_picker/segments.rb +0 -6
  39. data/lib/tao_form/inputs.rb +0 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e6584a0c12c826ec4ee4b8cc98598202dc15c47
4
- data.tar.gz: 7624701714269e45db9780fe29cc1f6c0ce2206c
3
+ metadata.gz: 8e836b9b349f37a1abb8c8fff5b106c2f39610bf
4
+ data.tar.gz: 74690e496f21af352bbf47a77a3e048fad8f5d0d
5
5
  SHA512:
6
- metadata.gz: 9732e722dfbe5a0ede57594db2f74fa7dd005918390ccfb3187903905462843e8d799ccbea97340c09e1b3683d3716462577607692bc0be6d64583e41a5fbc1e
7
- data.tar.gz: c589359dca7064e749673ffb859d7e7cae7dd74b1ecc6279f7d638bb1073bd3f61fd0fb7d569e0ce5f7d6e8848b1a8ef6d5f6d3b2de49c4422488dbc3869d8cc
6
+ metadata.gz: 01f1e834e060952a637d7e0d0e90ff85fcd98ec8799ef2abfa168115910a34883058876aad96ecf01ea452dc4284466db704f3cad36198b4e5c9a1b689e8819e
7
+ data.tar.gz: 8e0463e7db98b0615fbcd76543694c87b7c36d1bd88adba439be8e069039040f4ffe545a219f7b098f1e26cb04622094d0efa502ecc1483e998877b3506309d3
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path fill="#9B9B9B" fill-rule="evenodd" d="M17.7085048,11.4024829 L7.15016345,0.844141595 C6.95909459,0.653072735 6.64086921,0.651429839 6.44560706,0.846691985 C6.25605549,1.03624356 6.24920306,1.35739477 6.44305667,1.55124838 L16.6953499,11.8035417 L6.44305667,22.0558349 C6.25198781,22.2469038 6.25034491,22.5651292 6.44560706,22.7603913 C6.63515863,22.9499429 6.95630985,22.9567953 7.15016345,22.7629417 L17.7076855,12.2054197 C17.7256635,12.1917981 17.7429228,12.1767932 17.7593156,12.1604005 C17.8288679,12.0908482 17.8738219,12.0035776 17.893288,11.9113789 C17.9293796,11.7501025 17.8853932,11.5727605 17.7593156,11.4466828 C17.7432693,11.4306366 17.7262801,11.4158997 17.7085048,11.4024829 Z" transform="matrix(0 1 1 0 .3 -.3)"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path fill="#9B9B9B" fill-rule="evenodd" d="M17.4090472,11.7019404 L6.85070591,1.14359913 C6.65963705,0.952530272 6.34141167,0.950887376 6.14614952,1.14614952 C5.95659795,1.3357011 5.94974553,1.65685231 6.14359913,1.85070591 L16.3958924,12.1029992 L6.14359913,22.3552925 C5.95253027,22.5463613 5.95088738,22.8645867 6.14614952,23.0598489 C6.3357011,23.2494004 6.65685231,23.2562529 6.85070591,23.0623993 L17.4082279,12.5048772 C17.4262059,12.4912557 17.4434653,12.4762507 17.459858,12.459858 C17.5294103,12.3903057 17.5743643,12.3030351 17.5938305,12.2108364 C17.6299221,12.04956 17.5859357,11.872218 17.459858,11.7461404 C17.4438118,11.7300942 17.4268225,11.7153572 17.4090472,11.7019404 Z" transform="rotate(180 11.803 12.102)"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path fill="#9B9B9B" fill-rule="evenodd" d="M17.4090472,11.7019404 L6.85070591,1.14359913 C6.65963705,0.952530272 6.34141167,0.950887376 6.14614952,1.14614952 C5.95659795,1.3357011 5.94974553,1.65685231 6.14359913,1.85070591 L16.3958924,12.1029992 L6.14359913,22.3552925 C5.95253027,22.5463613 5.95088738,22.8645867 6.14614952,23.0598489 C6.3357011,23.2494004 6.65685231,23.2562529 6.85070591,23.0623993 L17.4082279,12.5048772 C17.4262059,12.4912557 17.4434653,12.4762507 17.459858,12.459858 C17.5294103,12.3903057 17.5743643,12.3030351 17.5938305,12.2108364 C17.6299221,12.04956 17.5859357,11.872218 17.459858,11.7461404 C17.4438118,11.7300942 17.4268225,11.7153572 17.4090472,11.7019404 Z" transform="matrix(1 0 0 -1 0 24.205)"/>
3
+ </svg>
@@ -1,12 +1,3 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
4
- <title>Calendar</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="zhiren_icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Main" transform="translate(1.000000, 1.000000)" fill="#9B9B9B">
9
- <path d="M0,1.49839123 C0,1.22313735 0.21484375,1 0.497698784,1 L4.50230122,1 C4.77717266,1 5,1.23298088 5,1.50225774 L5,1.50225774 C5,1.77964703 4.78494263,2.00451548 4.50952148,2.00451548 L1,2.00451548 L1,21 L21.0012503,21 L21.0012503,2.00451548 L17.4832825,2.00451548 C17.2117468,2.00451548 16.9916235,1.77153459 16.9916235,1.50225774 L16.9916235,1.50225774 C16.9916235,1.22486845 17.2068272,1 17.4901561,1 L21.5014674,1 C21.7767994,1 22,1.22163089 22,1.49839123 L22,21.5016088 C22,21.7768626 21.7822583,22 21.4991639,22 L0.500836134,22 C0.224231975,22 0,21.7783691 0,21.5016088 L0,1.49839123 Z M1,6 L21,6 L21,7 L1,7 L1,6 Z M4,11.5 C4,11.7761424 4.21403503,12 4.50468445,12 L5.49531555,12 C5.77404508,12 6,11.7680664 6,11.5 L6,11.5 C6,11.2238576 5.78596497,11 5.49531555,11 L4.50468445,11 C4.22595492,11 4,11.2319336 4,11.5 L4,11.5 Z M4,14.5 C4,14.7761424 4.21403503,15 4.50468445,15 L5.49531555,15 C5.77404508,15 6,14.7680664 6,14.5 L6,14.5 C6,14.2238576 5.78596497,14 5.49531555,14 L4.50468445,14 C4.22595492,14 4,14.2319336 4,14.5 L4,14.5 Z M4,17.5 C4,17.7761424 4.21403503,18 4.50468445,18 L5.49531555,18 C5.77404508,18 6,17.7680664 6,17.5 L6,17.5 C6,17.2238576 5.78596497,17 5.49531555,17 L4.50468445,17 C4.22595492,17 4,17.2319336 4,17.5 L4,17.5 Z M8,11.5 C8,11.7761424 8.21403503,12 8.50468445,12 L9.49531555,12 C9.77404508,12 10,11.7680664 10,11.5 L10,11.5 C10,11.2238576 9.78596497,11 9.49531555,11 L8.50468445,11 C8.22595492,11 8,11.2319336 8,11.5 L8,11.5 Z M8,14.5 C8,14.7761424 8.21403503,15 8.50468445,15 L9.49531555,15 C9.77404508,15 10,14.7680664 10,14.5 L10,14.5 C10,14.2238576 9.78596497,14 9.49531555,14 L8.50468445,14 C8.22595492,14 8,14.2319336 8,14.5 L8,14.5 Z M8,17.5 C8,17.7761424 8.21403503,18 8.50468445,18 L9.49531555,18 C9.77404508,18 10,17.7680664 10,17.5 L10,17.5 C10,17.2238576 9.78596497,17 9.49531555,17 L8.50468445,17 C8.22595492,17 8,17.2319336 8,17.5 L8,17.5 Z M12,11.5 C12,11.7761424 12.214035,12 12.5046844,12 L13.4953156,12 C13.7740451,12 14,11.7680664 14,11.5 L14,11.5 C14,11.2238576 13.785965,11 13.4953156,11 L12.5046844,11 C12.2259549,11 12,11.2319336 12,11.5 L12,11.5 Z M12,14.5 C12,14.7761424 12.214035,15 12.5046844,15 L13.4953156,15 C13.7740451,15 14,14.7680664 14,14.5 L14,14.5 C14,14.2238576 13.785965,14 13.4953156,14 L12.5046844,14 C12.2259549,14 12,14.2319336 12,14.5 L12,14.5 Z M12,17.5 C12,17.7761424 12.214035,18 12.5046844,18 L13.4953156,18 C13.7740451,18 14,17.7680664 14,17.5 L14,17.5 C14,17.2238576 13.785965,17 13.4953156,17 L12.5046844,17 C12.2259549,17 12,17.2319336 12,17.5 L12,17.5 Z M16,11.5 C16,11.7761424 16.214035,12 16.5046844,12 L17.4953156,12 C17.7740451,12 18,11.7680664 18,11.5 L18,11.5 C18,11.2238576 17.785965,11 17.4953156,11 L16.5046844,11 C16.2259549,11 16,11.2319336 16,11.5 L16,11.5 Z M16,14.5 C16,14.7761424 16.214035,15 16.5046844,15 L17.4953156,15 C17.7740451,15 18,14.7680664 18,14.5 L18,14.5 C18,14.2238576 17.785965,14 17.4953156,14 L16.5046844,14 C16.2259549,14 16,14.2319336 16,14.5 L16,14.5 Z M8,1.5 C8,1.22385763 8.22788048,1 8.49100518,1 L13.5089948,1 C13.7801695,1 14,1.23193359 14,1.5 L14,1.5 C14,1.77614237 13.7721195,2 13.5089948,2 L8.49100518,2 C8.21983051,2 8,1.76806641 8,1.5 L8,1.5 Z M6,0.490478516 C6,0.219594711 6.23193359,0 6.5,0 L6.5,0 C6.77614237,0 7,0.215057373 7,0.490478516 L7,3.50952148 C7,3.78040529 6.76806641,4 6.5,4 L6.5,4 C6.22385763,4 6,3.78494263 6,3.50952148 L6,0.490478516 Z M15,0.490478516 C15,0.219594711 15.2319336,0 15.5,0 L15.5,0 C15.7761424,0 16,0.215057373 16,0.490478516 L16,3.50952148 C16,3.78040529 15.7680664,4 15.5,4 L15.5,4 C15.2238576,4 15,3.78494263 15,3.50952148 L15,0.490478516 Z" id="Calendar"></path>
10
- </g>
11
- </g>
12
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path fill="#9B9B9B" fill-rule="evenodd" d="M1,2.49839123 C1,2.22313735 1.21484375,2 1.49769878,2 L5.50230122,2 C5.77717266,2 6,2.23298088 6,2.50225774 L6,2.50225774 C6,2.77964703 5.78494263,3.00451548 5.50952148,3.00451548 L2,3.00451548 L2,22 L22.0012503,22 L22.0012503,3.00451548 L18.4832825,3.00451548 C18.2117468,3.00451548 17.9916235,2.77153459 17.9916235,2.50225774 L17.9916235,2.50225774 C17.9916235,2.22486845 18.2068272,2 18.4901561,2 L22.5014674,2 C22.7767994,2 23,2.22163089 23,2.49839123 L23,22.5016088 C23,22.7768626 22.7822583,23 22.4991639,23 L1.50083613,23 C1.22423198,23 1,22.7783691 1,22.5016088 L1,2.49839123 Z M2,7 L22,7 L22,8 L2,8 L2,7 Z M5,12.5 C5,12.7761424 5.21403503,13 5.50468445,13 L6.49531555,13 C6.77404508,13 7,12.7680664 7,12.5 L7,12.5 C7,12.2238576 6.78596497,12 6.49531555,12 L5.50468445,12 C5.22595492,12 5,12.2319336 5,12.5 L5,12.5 Z M5,15.5 C5,15.7761424 5.21403503,16 5.50468445,16 L6.49531555,16 C6.77404508,16 7,15.7680664 7,15.5 L7,15.5 C7,15.2238576 6.78596497,15 6.49531555,15 L5.50468445,15 C5.22595492,15 5,15.2319336 5,15.5 L5,15.5 Z M5,18.5 C5,18.7761424 5.21403503,19 5.50468445,19 L6.49531555,19 C6.77404508,19 7,18.7680664 7,18.5 L7,18.5 C7,18.2238576 6.78596497,18 6.49531555,18 L5.50468445,18 C5.22595492,18 5,18.2319336 5,18.5 L5,18.5 Z M9,12.5 C9,12.7761424 9.21403503,13 9.50468445,13 L10.4953156,13 C10.7740451,13 11,12.7680664 11,12.5 L11,12.5 C11,12.2238576 10.785965,12 10.4953156,12 L9.50468445,12 C9.22595492,12 9,12.2319336 9,12.5 L9,12.5 Z M9,15.5 C9,15.7761424 9.21403503,16 9.50468445,16 L10.4953156,16 C10.7740451,16 11,15.7680664 11,15.5 L11,15.5 C11,15.2238576 10.785965,15 10.4953156,15 L9.50468445,15 C9.22595492,15 9,15.2319336 9,15.5 L9,15.5 Z M9,18.5 C9,18.7761424 9.21403503,19 9.50468445,19 L10.4953156,19 C10.7740451,19 11,18.7680664 11,18.5 L11,18.5 C11,18.2238576 10.785965,18 10.4953156,18 L9.50468445,18 C9.22595492,18 9,18.2319336 9,18.5 L9,18.5 Z M13,12.5 C13,12.7761424 13.214035,13 13.5046844,13 L14.4953156,13 C14.7740451,13 15,12.7680664 15,12.5 L15,12.5 C15,12.2238576 14.785965,12 14.4953156,12 L13.5046844,12 C13.2259549,12 13,12.2319336 13,12.5 L13,12.5 Z M13,15.5 C13,15.7761424 13.214035,16 13.5046844,16 L14.4953156,16 C14.7740451,16 15,15.7680664 15,15.5 L15,15.5 C15,15.2238576 14.785965,15 14.4953156,15 L13.5046844,15 C13.2259549,15 13,15.2319336 13,15.5 L13,15.5 Z M13,18.5 C13,18.7761424 13.214035,19 13.5046844,19 L14.4953156,19 C14.7740451,19 15,18.7680664 15,18.5 L15,18.5 C15,18.2238576 14.785965,18 14.4953156,18 L13.5046844,18 C13.2259549,18 13,18.2319336 13,18.5 L13,18.5 Z M17,12.5 C17,12.7761424 17.214035,13 17.5046844,13 L18.4953156,13 C18.7740451,13 19,12.7680664 19,12.5 L19,12.5 C19,12.2238576 18.785965,12 18.4953156,12 L17.5046844,12 C17.2259549,12 17,12.2319336 17,12.5 L17,12.5 Z M17,15.5 C17,15.7761424 17.214035,16 17.5046844,16 L18.4953156,16 C18.7740451,16 19,15.7680664 19,15.5 L19,15.5 C19,15.2238576 18.785965,15 18.4953156,15 L17.5046844,15 C17.2259549,15 17,15.2319336 17,15.5 L17,15.5 Z M9,2.5 C9,2.22385763 9.22788048,2 9.49100518,2 L14.5089948,2 C14.7801695,2 15,2.23193359 15,2.5 L15,2.5 C15,2.77614237 14.7721195,3 14.5089948,3 L9.49100518,3 C9.21983051,3 9,2.76806641 9,2.5 L9,2.5 Z M7,1.49047852 C7,1.21959471 7.23193359,1 7.5,1 L7.5,1 C7.77614237,1 8,1.21505737 8,1.49047852 L8,4.50952148 C8,4.78040529 7.76806641,5 7.5,5 L7.5,5 C7.22385763,5 7,4.78494263 7,4.50952148 L7,1.49047852 Z M16,1.49047852 C16,1.21959471 16.2319336,1 16.5,1 L16.5,1 C16.7761424,1 17,1.21505737 17,1.49047852 L17,4.50952148 C17,4.78040529 16.7680664,5 16.5,5 L16.5,5 C16.2238576,5 16,4.78494263 16,4.50952148 L16,1.49047852 Z"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path fill="#9B9B9B" fill-rule="evenodd" d="M1.46015511,6.45725615 C1.46015511,5.63043007 2.12595234,4.96015511 2.96015511,4.96015511 L2.96015511,4.96015511 C3.78858223,4.96015511 4.46015511,5.63134454 4.46015511,6.46183073 L4.46015511,11.9601551 L20.9564452,11.9601551 C21.7869212,11.9601551 22.4601551,12.6259523 22.4601551,13.4601551 L22.4601551,13.4601551 C22.4601551,14.2885822 21.785232,14.9601551 20.9667219,14.9601551 L2.95358834,14.9601551 C2.12878794,14.9601551 1.46015511,14.2884991 1.46015511,13.4630541 L1.46015511,6.45725615 Z" transform="rotate(-45 11.96 9.96)"/>
3
+ </svg>
@@ -1,12 +1,3 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
4
- <title>Clock</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="zhiren_icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Main" transform="translate(1.000000, 1.000000)" fill="#9B9B9B">
9
- <path d="M11,22 C17.0751322,22 22,17.0751322 22,11 C22,4.92486775 17.0751322,0 11,0 C4.92486775,0 0,4.92486775 0,11 C0,17.0751322 4.92486775,22 11,22 Z M11,21 C16.5228475,21 21,16.5228475 21,11 C21,5.4771525 16.5228475,1 11,1 C5.4771525,1 1,5.4771525 1,11 C1,16.5228475 5.4771525,21 11,21 Z M10.5,3.00966585 C10.5,2.72818517 10.7319336,2.5 11,2.5 C11.2761424,2.5 11.5,2.73079681 11.5,3.00043583 L11.5,10.5 L16.0023012,10.5 C16.2771727,10.5 16.5,10.7319336 16.5,11 C16.5,11.2761424 16.2721195,11.5 16.0089948,11.5 L10.9910052,11.5 C10.7198305,11.5 10.5,11.2775269 10.5,10.9903342 L10.5,3.00966585 Z" id="Clock"></path>
10
- </g>
11
- </g>
12
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path fill="#9B9B9B" fill-rule="evenodd" d="M12,23 C5.92486775,23 1,18.0751322 1,12 C1,5.92486775 5.92486775,1 12,1 C18.0751322,1 23,5.92486775 23,12 C23,18.0751322 18.0751322,23 12,23 Z M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M11.5,4.00966585 C11.5,3.72818517 11.7319336,3.5 12,3.5 C12.2761424,3.5 12.5,3.73079681 12.5,4.00043583 L12.5,11.5 L17.0023012,11.5 C17.2771727,11.5 17.5,11.7319336 17.5,12 C17.5,12.2761424 17.2721195,12.5 17.0089948,12.5 L11.9910052,12.5 C11.7198305,12.5 11.5,12.2775269 11.5,11.9903342 L11.5,4.00966585 Z"/>
3
+ </svg>
@@ -1,12 +1,3 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
4
- <title>Search</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="zhiren_icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Main" transform="translate(1.000000, 1.000000)" fill="#9B9B9B">
9
- <path d="M14.5610109,16.0768647 C13.0302194,17.2814309 11.0990251,18 9,18 C4.02943725,18 0,13.9705627 0,9 C0,4.02943725 4.02943725,0 9,0 C13.9705627,0 18,4.02943725 18,9 C18,11.3489613 17.1001192,13.4877442 15.6262932,15.0904129 L21.8402784,20.8382529 C22.0438968,21.0265968 22.0482516,21.3387618 21.8607428,21.5248371 L21.5286336,21.8544073 C21.3363174,22.0452534 21.0152795,22.0472113 20.8117305,21.8589237 L14.5610109,16.0768647 Z M9,17 C13.418278,17 17,13.418278 17,9 C17,4.581722 13.418278,1 9,1 C4.581722,1 1,4.581722 1,9 C1,13.418278 4.581722,17 9,17 Z" id="Search"></path>
10
- </g>
11
- </g>
12
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path fill="#9B9B9B" fill-rule="evenodd" d="M16.6262932,16.0904129 L22.8402784,21.8382529 C23.0438968,22.0265968 23.0482516,22.3387618 22.8607428,22.5248371 L22.5286336,22.8544073 C22.3363174,23.0452534 22.0152795,23.0472113 21.8117305,22.8589237 L15.5610109,17.0768647 C14.0302194,18.2814309 12.0990251,19 10,19 C5.02943725,19 1,14.9705627 1,10 C1,5.02943725 5.02943725,1 10,1 C14.9705627,1 19,5.02943725 19,10 C19,12.3489613 18.1001192,14.4877442 16.6262932,16.0904129 Z M10,18 C14.418278,18 18,14.418278 18,10 C18,5.581722 14.418278,2 10,2 C5.581722,2 2,5.581722 2,10 C2,14.418278 5.581722,18 10,18 Z"/>
3
+ </svg>
@@ -1,12 +1,3 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
4
- <title>Success</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="zhiren_icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Main" transform="translate(1.000000, 1.000000)" fill="#9B9B9B">
9
- <path d="M11,22 C17.0751322,22 22,17.0751322 22,11 C22,4.92486775 17.0751322,0 11,0 C4.92486775,0 0,4.92486775 0,11 C0,17.0751322 4.92486775,22 11,22 Z M11,21 C16.5228475,21 21,16.5228475 21,11 C21,5.4771525 16.5228475,1 11,1 C5.4771525,1 1,5.4771525 1,11 C1,16.5228475 5.4771525,21 11,21 Z M17.0734953,8.10417138 C17.2692381,7.90842856 17.2639172,7.58574584 17.0743656,7.39619427 C16.8791035,7.20093212 16.5598374,7.20361571 16.3604356,7.40301751 L9.64974442,14.1137087 L5.75429682,10.2182611 C5.56254737,10.0265116 5.24310191,10.0350698 5.05355034,10.2246214 C4.85828819,10.4198835 4.8646839,10.7428617 5.05597058,10.9341484 L9.29377079,15.1719486 C9.49036959,15.3685474 9.81220265,15.365464 10.0041681,15.1734985 L17.0734953,8.10417138 Z" id="Success"></path>
10
- </g>
11
- </g>
12
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
2
+ <path fill="#9B9B9B" fill-rule="evenodd" d="M12,23 C5.92486775,23 1,18.0751322 1,12 C1,5.92486775 5.92486775,1 12,1 C18.0751322,1 23,5.92486775 23,12 C23,18.0751322 18.0751322,23 12,23 Z M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M18.0734953,9.10417138 L11.0041681,16.1734985 C10.8122026,16.365464 10.4903696,16.3685474 10.2937708,16.1719486 L6.05597058,11.9341484 C5.8646839,11.7428617 5.85828819,11.4198835 6.05355034,11.2246214 C6.24310191,11.0350698 6.56254737,11.0265116 6.75429682,11.2182611 L10.6497444,15.1137087 L17.3604356,8.40301751 C17.5598374,8.20361571 17.8791035,8.20093212 18.0743656,8.39619427 C18.2639172,8.58574584 18.2692381,8.90842856 18.0734953,9.10417138 Z"/>
3
+ </svg>
@@ -59,7 +59,7 @@ class Tao.Form.Select.Element extends Tao.Form.Select.ElementBase
59
59
  $listWrapper = @list.jq.find('.list-wrapper')
60
60
  winHeight = $(window).height()
61
61
  offsetTop = $listWrapper[0].getBoundingClientRect().top
62
- buttonsHeight = @slideBox.jq.find('.slide-box-content > .buttons').outerHeight()
62
+ buttonsHeight = @slideBox.jq.find('.slide-box-content > .buttons').outerHeight() || 0
63
63
 
64
64
  $listWrapper.css
65
65
  height: winHeight - offsetTop - buttonsHeight
@@ -1,11 +1,11 @@
1
1
  Tao._icons += '''
2
- <symbol id="icon-arrow-down" viewBox="0 0 24 24" width="100%" height="100%"><defs/><g class="zhiren_icon" stroke="none" stroke-width="1" fill-rule="evenodd"><g class="Main" transform="translate(12.000000, 12.000000) scale(-1, 1) rotate(90.000000) translate(-12.000000, -12.000000) translate(6.000000, 0.000000)"><path d="M11.6164511,11.610417 L1.05810978,1.05207572 C0.867040921,0.861006859 0.548815536,0.859363964 0.353553391,1.05462611 C0.164001817,1.24417768 0.157149396,1.5653289 0.351003,1.7591825 L10.6032963,12.0114758 L0.351003,22.2637691 C0.15993414,22.4548379 0.158291245,22.7730633 0.353553391,22.9683255 C0.543104964,23.157877 0.864256177,23.1647294 1.05810978,22.9708758 L11.6156318,12.4133538 C11.6336098,12.3997323 11.6508692,12.3847273 11.6672619,12.3683346 C11.7368142,12.2987823 11.7817682,12.2115117 11.8012344,12.119313 C11.8373259,11.9580366 11.7933395,11.7806946 11.6672619,11.654617 C11.6512157,11.6385707 11.6342264,11.6238338 11.6164511,11.610417 Z" class="Arrow_Down" transform="translate(6.010408, 12.010938) scale(1, -1) translate(-6.010408, -12.010938) "/></g></g></symbol>
3
- <symbol id="icon-arrow-left" viewBox="0 0 24 24" width="100%" height="100%"><defs/><g class="zhiren_icon" stroke="none" stroke-width="1" fill-rule="evenodd"><g class="Main" transform="translate(11.000000, 12.000000) scale(-1, -1) translate(-11.000000, -12.000000) translate(5.000000, 0.000000)"><path d="M11.6164511,11.610417 L1.05810978,1.05207572 C0.867040921,0.861006859 0.548815536,0.859363964 0.353553391,1.05462611 C0.164001817,1.24417768 0.157149396,1.5653289 0.351003,1.7591825 L10.6032963,12.0114758 L0.351003,22.2637691 C0.15993414,22.4548379 0.158291245,22.7730633 0.353553391,22.9683255 C0.543104964,23.157877 0.864256177,23.1647294 1.05810978,22.9708758 L11.6156318,12.4133538 C11.6336098,12.3997323 11.6508692,12.3847273 11.6672619,12.3683346 C11.7368142,12.2987823 11.7817682,12.2115117 11.8012344,12.119313 C11.8373259,11.9580366 11.7933395,11.7806946 11.6672619,11.654617 C11.6512157,11.6385707 11.6342264,11.6238338 11.6164511,11.610417 Z" class="Arrow_Left" transform="translate(6.010408, 12.010938) scale(1, -1) translate(-6.010408, -12.010938) "/></g></g></symbol>
4
- <symbol id="icon-arrow-right" viewBox="0 0 24 24" width="100%" height="100%"><defs/><g class="zhiren_icon" stroke="none" stroke-width="1" fill-rule="evenodd"><g class="Main" transform="translate(7.000000, 0.000000)"><path d="M11.6164511,11.610417 L1.05810978,1.05207572 C0.867040921,0.861006859 0.548815536,0.859363964 0.353553391,1.05462611 C0.164001817,1.24417768 0.157149396,1.5653289 0.351003,1.7591825 L10.6032963,12.0114758 L0.351003,22.2637691 C0.15993414,22.4548379 0.158291245,22.7730633 0.353553391,22.9683255 C0.543104964,23.157877 0.864256177,23.1647294 1.05810978,22.9708758 L11.6156318,12.4133538 C11.6336098,12.3997323 11.6508692,12.3847273 11.6672619,12.3683346 C11.7368142,12.2987823 11.7817682,12.2115117 11.8012344,12.119313 C11.8373259,11.9580366 11.7933395,11.7806946 11.6672619,11.654617 C11.6512157,11.6385707 11.6342264,11.6238338 11.6164511,11.610417 Z" class="Arrow_Right" transform="translate(6.010408, 12.010938) scale(1, -1) translate(-6.010408, -12.010938) "/></g></g></symbol>
5
- <symbol id="icon-calendar" viewBox="0 0 24 24" width="100%" height="100%"><defs/><g class="zhiren_icon" stroke="none" stroke-width="1" fill-rule="evenodd"><g class="Main" transform="translate(1.000000, 1.000000)"><path d="M0,1.49839123 C0,1.22313735 0.21484375,1 0.497698784,1 L4.50230122,1 C4.77717266,1 5,1.23298088 5,1.50225774 L5,1.50225774 C5,1.77964703 4.78494263,2.00451548 4.50952148,2.00451548 L1,2.00451548 L1,21 L21.0012503,21 L21.0012503,2.00451548 L17.4832825,2.00451548 C17.2117468,2.00451548 16.9916235,1.77153459 16.9916235,1.50225774 L16.9916235,1.50225774 C16.9916235,1.22486845 17.2068272,1 17.4901561,1 L21.5014674,1 C21.7767994,1 22,1.22163089 22,1.49839123 L22,21.5016088 C22,21.7768626 21.7822583,22 21.4991639,22 L0.500836134,22 C0.224231975,22 0,21.7783691 0,21.5016088 L0,1.49839123 Z M1,6 L21,6 L21,7 L1,7 L1,6 Z M4,11.5 C4,11.7761424 4.21403503,12 4.50468445,12 L5.49531555,12 C5.77404508,12 6,11.7680664 6,11.5 L6,11.5 C6,11.2238576 5.78596497,11 5.49531555,11 L4.50468445,11 C4.22595492,11 4,11.2319336 4,11.5 L4,11.5 Z M4,14.5 C4,14.7761424 4.21403503,15 4.50468445,15 L5.49531555,15 C5.77404508,15 6,14.7680664 6,14.5 L6,14.5 C6,14.2238576 5.78596497,14 5.49531555,14 L4.50468445,14 C4.22595492,14 4,14.2319336 4,14.5 L4,14.5 Z M4,17.5 C4,17.7761424 4.21403503,18 4.50468445,18 L5.49531555,18 C5.77404508,18 6,17.7680664 6,17.5 L6,17.5 C6,17.2238576 5.78596497,17 5.49531555,17 L4.50468445,17 C4.22595492,17 4,17.2319336 4,17.5 L4,17.5 Z M8,11.5 C8,11.7761424 8.21403503,12 8.50468445,12 L9.49531555,12 C9.77404508,12 10,11.7680664 10,11.5 L10,11.5 C10,11.2238576 9.78596497,11 9.49531555,11 L8.50468445,11 C8.22595492,11 8,11.2319336 8,11.5 L8,11.5 Z M8,14.5 C8,14.7761424 8.21403503,15 8.50468445,15 L9.49531555,15 C9.77404508,15 10,14.7680664 10,14.5 L10,14.5 C10,14.2238576 9.78596497,14 9.49531555,14 L8.50468445,14 C8.22595492,14 8,14.2319336 8,14.5 L8,14.5 Z M8,17.5 C8,17.7761424 8.21403503,18 8.50468445,18 L9.49531555,18 C9.77404508,18 10,17.7680664 10,17.5 L10,17.5 C10,17.2238576 9.78596497,17 9.49531555,17 L8.50468445,17 C8.22595492,17 8,17.2319336 8,17.5 L8,17.5 Z M12,11.5 C12,11.7761424 12.214035,12 12.5046844,12 L13.4953156,12 C13.7740451,12 14,11.7680664 14,11.5 L14,11.5 C14,11.2238576 13.785965,11 13.4953156,11 L12.5046844,11 C12.2259549,11 12,11.2319336 12,11.5 L12,11.5 Z M12,14.5 C12,14.7761424 12.214035,15 12.5046844,15 L13.4953156,15 C13.7740451,15 14,14.7680664 14,14.5 L14,14.5 C14,14.2238576 13.785965,14 13.4953156,14 L12.5046844,14 C12.2259549,14 12,14.2319336 12,14.5 L12,14.5 Z M12,17.5 C12,17.7761424 12.214035,18 12.5046844,18 L13.4953156,18 C13.7740451,18 14,17.7680664 14,17.5 L14,17.5 C14,17.2238576 13.785965,17 13.4953156,17 L12.5046844,17 C12.2259549,17 12,17.2319336 12,17.5 L12,17.5 Z M16,11.5 C16,11.7761424 16.214035,12 16.5046844,12 L17.4953156,12 C17.7740451,12 18,11.7680664 18,11.5 L18,11.5 C18,11.2238576 17.785965,11 17.4953156,11 L16.5046844,11 C16.2259549,11 16,11.2319336 16,11.5 L16,11.5 Z M16,14.5 C16,14.7761424 16.214035,15 16.5046844,15 L17.4953156,15 C17.7740451,15 18,14.7680664 18,14.5 L18,14.5 C18,14.2238576 17.785965,14 17.4953156,14 L16.5046844,14 C16.2259549,14 16,14.2319336 16,14.5 L16,14.5 Z M8,1.5 C8,1.22385763 8.22788048,1 8.49100518,1 L13.5089948,1 C13.7801695,1 14,1.23193359 14,1.5 L14,1.5 C14,1.77614237 13.7721195,2 13.5089948,2 L8.49100518,2 C8.21983051,2 8,1.76806641 8,1.5 L8,1.5 Z M6,0.490478516 C6,0.219594711 6.23193359,0 6.5,0 L6.5,0 C6.77614237,0 7,0.215057373 7,0.490478516 L7,3.50952148 C7,3.78040529 6.76806641,4 6.5,4 L6.5,4 C6.22385763,4 6,3.78494263 6,3.50952148 L6,0.490478516 Z M15,0.490478516 C15,0.219594711 15.2319336,0 15.5,0 L15.5,0 C15.7761424,0 16,0.215057373 16,0.490478516 L16,3.50952148 C16,3.78040529 15.7680664,4 15.5,4 L15.5,4 C15.2238576,4 15,3.78494263 15,3.50952148 L15,0.490478516 Z" class="Calendar"/></g></g></symbol>
6
- <symbol id="icon-checkbox" viewBox="0 0 24 24" width="100%" height="100%"><defs/><g class="zhiren_icon" stroke="none" stroke-width="1" fill-rule="evenodd"><g class="Main" transform="translate(1.000000, 0.000000)"><path d="M0.460155108,7.45725615 C0.460155108,6.63043007 1.12595234,5.96015511 1.96015511,5.96015511 L1.96015511,5.96015511 C2.78858223,5.96015511 3.46015511,6.63134454 3.46015511,7.46183073 L3.46015511,12.9601551 L19.9564452,12.9601551 C20.7869212,12.9601551 21.4601551,13.6259523 21.4601551,14.4601551 L21.4601551,14.4601551 C21.4601551,15.2885822 20.785232,15.9601551 19.9667219,15.9601551 L1.95358834,15.9601551 C1.12878794,15.9601551 0.460155108,15.2884991 0.460155108,14.4630541 L0.460155108,7.45725615 Z" class="CheckboxMark" transform="translate(10.960155, 10.960155) rotate(-45.000000) translate(-10.960155, -10.960155) "/></g></g></symbol>
7
- <symbol id="icon-clock" viewBox="0 0 24 24" width="100%" height="100%"><defs/><g class="zhiren_icon" stroke="none" stroke-width="1" fill-rule="evenodd"><g class="Main" transform="translate(1.000000, 1.000000)"><path d="M11,22 C17.0751322,22 22,17.0751322 22,11 C22,4.92486775 17.0751322,0 11,0 C4.92486775,0 0,4.92486775 0,11 C0,17.0751322 4.92486775,22 11,22 Z M11,21 C16.5228475,21 21,16.5228475 21,11 C21,5.4771525 16.5228475,1 11,1 C5.4771525,1 1,5.4771525 1,11 C1,16.5228475 5.4771525,21 11,21 Z M10.5,3.00966585 C10.5,2.72818517 10.7319336,2.5 11,2.5 C11.2761424,2.5 11.5,2.73079681 11.5,3.00043583 L11.5,10.5 L16.0023012,10.5 C16.2771727,10.5 16.5,10.7319336 16.5,11 C16.5,11.2761424 16.2721195,11.5 16.0089948,11.5 L10.9910052,11.5 C10.7198305,11.5 10.5,11.2775269 10.5,10.9903342 L10.5,3.00966585 Z" class="Clock"/></g></g></symbol>
8
- <symbol id="icon-search" viewBox="0 0 24 24" width="100%" height="100%"><defs/><g class="zhiren_icon" stroke="none" stroke-width="1" fill-rule="evenodd"><g class="Main" transform="translate(1.000000, 1.000000)"><path d="M14.5610109,16.0768647 C13.0302194,17.2814309 11.0990251,18 9,18 C4.02943725,18 0,13.9705627 0,9 C0,4.02943725 4.02943725,0 9,0 C13.9705627,0 18,4.02943725 18,9 C18,11.3489613 17.1001192,13.4877442 15.6262932,15.0904129 L21.8402784,20.8382529 C22.0438968,21.0265968 22.0482516,21.3387618 21.8607428,21.5248371 L21.5286336,21.8544073 C21.3363174,22.0452534 21.0152795,22.0472113 20.8117305,21.8589237 L14.5610109,16.0768647 Z M9,17 C13.418278,17 17,13.418278 17,9 C17,4.581722 13.418278,1 9,1 C4.581722,1 1,4.581722 1,9 C1,13.418278 4.581722,17 9,17 Z" class="Search"/></g></g></symbol>
9
- <symbol id="icon-success" viewBox="0 0 24 24" width="100%" height="100%"><defs/><g class="zhiren_icon" stroke="none" stroke-width="1" fill-rule="evenodd"><g class="Main" transform="translate(1.000000, 1.000000)"><path d="M11,22 C17.0751322,22 22,17.0751322 22,11 C22,4.92486775 17.0751322,0 11,0 C4.92486775,0 0,4.92486775 0,11 C0,17.0751322 4.92486775,22 11,22 Z M11,21 C16.5228475,21 21,16.5228475 21,11 C21,5.4771525 16.5228475,1 11,1 C5.4771525,1 1,5.4771525 1,11 C1,16.5228475 5.4771525,21 11,21 Z M17.0734953,8.10417138 C17.2692381,7.90842856 17.2639172,7.58574584 17.0743656,7.39619427 C16.8791035,7.20093212 16.5598374,7.20361571 16.3604356,7.40301751 L9.64974442,14.1137087 L5.75429682,10.2182611 C5.56254737,10.0265116 5.24310191,10.0350698 5.05355034,10.2246214 C4.85828819,10.4198835 4.8646839,10.7428617 5.05597058,10.9341484 L9.29377079,15.1719486 C9.49036959,15.3685474 9.81220265,15.365464 10.0041681,15.1734985 L17.0734953,8.10417138 Z" class="Success"/></g></g></symbol>
2
+ <symbol id="icon-arrow-down" viewBox="0 0 24 24" width="100%" height="100%"><path fill-rule="evenodd" d="M17.7085048,11.4024829 L7.15016345,0.844141595 C6.95909459,0.653072735 6.64086921,0.651429839 6.44560706,0.846691985 C6.25605549,1.03624356 6.24920306,1.35739477 6.44305667,1.55124838 L16.6953499,11.8035417 L6.44305667,22.0558349 C6.25198781,22.2469038 6.25034491,22.5651292 6.44560706,22.7603913 C6.63515863,22.9499429 6.95630985,22.9567953 7.15016345,22.7629417 L17.7076855,12.2054197 C17.7256635,12.1917981 17.7429228,12.1767932 17.7593156,12.1604005 C17.8288679,12.0908482 17.8738219,12.0035776 17.893288,11.9113789 C17.9293796,11.7501025 17.8853932,11.5727605 17.7593156,11.4466828 C17.7432693,11.4306366 17.7262801,11.4158997 17.7085048,11.4024829 Z" transform="matrix(0 1 1 0 .3 -.3)"/></symbol>
3
+ <symbol id="icon-arrow-left" viewBox="0 0 24 24" width="100%" height="100%"><path fill-rule="evenodd" d="M17.4090472,11.7019404 L6.85070591,1.14359913 C6.65963705,0.952530272 6.34141167,0.950887376 6.14614952,1.14614952 C5.95659795,1.3357011 5.94974553,1.65685231 6.14359913,1.85070591 L16.3958924,12.1029992 L6.14359913,22.3552925 C5.95253027,22.5463613 5.95088738,22.8645867 6.14614952,23.0598489 C6.3357011,23.2494004 6.65685231,23.2562529 6.85070591,23.0623993 L17.4082279,12.5048772 C17.4262059,12.4912557 17.4434653,12.4762507 17.459858,12.459858 C17.5294103,12.3903057 17.5743643,12.3030351 17.5938305,12.2108364 C17.6299221,12.04956 17.5859357,11.872218 17.459858,11.7461404 C17.4438118,11.7300942 17.4268225,11.7153572 17.4090472,11.7019404 Z" transform="rotate(180 11.803 12.102)"/></symbol>
4
+ <symbol id="icon-arrow-right" viewBox="0 0 24 24" width="100%" height="100%"><path fill-rule="evenodd" d="M17.4090472,11.7019404 L6.85070591,1.14359913 C6.65963705,0.952530272 6.34141167,0.950887376 6.14614952,1.14614952 C5.95659795,1.3357011 5.94974553,1.65685231 6.14359913,1.85070591 L16.3958924,12.1029992 L6.14359913,22.3552925 C5.95253027,22.5463613 5.95088738,22.8645867 6.14614952,23.0598489 C6.3357011,23.2494004 6.65685231,23.2562529 6.85070591,23.0623993 L17.4082279,12.5048772 C17.4262059,12.4912557 17.4434653,12.4762507 17.459858,12.459858 C17.5294103,12.3903057 17.5743643,12.3030351 17.5938305,12.2108364 C17.6299221,12.04956 17.5859357,11.872218 17.459858,11.7461404 C17.4438118,11.7300942 17.4268225,11.7153572 17.4090472,11.7019404 Z" transform="matrix(1 0 0 -1 0 24.205)"/></symbol>
5
+ <symbol id="icon-calendar" viewBox="0 0 24 24" width="100%" height="100%"><path fill-rule="evenodd" d="M1,2.49839123 C1,2.22313735 1.21484375,2 1.49769878,2 L5.50230122,2 C5.77717266,2 6,2.23298088 6,2.50225774 L6,2.50225774 C6,2.77964703 5.78494263,3.00451548 5.50952148,3.00451548 L2,3.00451548 L2,22 L22.0012503,22 L22.0012503,3.00451548 L18.4832825,3.00451548 C18.2117468,3.00451548 17.9916235,2.77153459 17.9916235,2.50225774 L17.9916235,2.50225774 C17.9916235,2.22486845 18.2068272,2 18.4901561,2 L22.5014674,2 C22.7767994,2 23,2.22163089 23,2.49839123 L23,22.5016088 C23,22.7768626 22.7822583,23 22.4991639,23 L1.50083613,23 C1.22423198,23 1,22.7783691 1,22.5016088 L1,2.49839123 Z M2,7 L22,7 L22,8 L2,8 L2,7 Z M5,12.5 C5,12.7761424 5.21403503,13 5.50468445,13 L6.49531555,13 C6.77404508,13 7,12.7680664 7,12.5 L7,12.5 C7,12.2238576 6.78596497,12 6.49531555,12 L5.50468445,12 C5.22595492,12 5,12.2319336 5,12.5 L5,12.5 Z M5,15.5 C5,15.7761424 5.21403503,16 5.50468445,16 L6.49531555,16 C6.77404508,16 7,15.7680664 7,15.5 L7,15.5 C7,15.2238576 6.78596497,15 6.49531555,15 L5.50468445,15 C5.22595492,15 5,15.2319336 5,15.5 L5,15.5 Z M5,18.5 C5,18.7761424 5.21403503,19 5.50468445,19 L6.49531555,19 C6.77404508,19 7,18.7680664 7,18.5 L7,18.5 C7,18.2238576 6.78596497,18 6.49531555,18 L5.50468445,18 C5.22595492,18 5,18.2319336 5,18.5 L5,18.5 Z M9,12.5 C9,12.7761424 9.21403503,13 9.50468445,13 L10.4953156,13 C10.7740451,13 11,12.7680664 11,12.5 L11,12.5 C11,12.2238576 10.785965,12 10.4953156,12 L9.50468445,12 C9.22595492,12 9,12.2319336 9,12.5 L9,12.5 Z M9,15.5 C9,15.7761424 9.21403503,16 9.50468445,16 L10.4953156,16 C10.7740451,16 11,15.7680664 11,15.5 L11,15.5 C11,15.2238576 10.785965,15 10.4953156,15 L9.50468445,15 C9.22595492,15 9,15.2319336 9,15.5 L9,15.5 Z M9,18.5 C9,18.7761424 9.21403503,19 9.50468445,19 L10.4953156,19 C10.7740451,19 11,18.7680664 11,18.5 L11,18.5 C11,18.2238576 10.785965,18 10.4953156,18 L9.50468445,18 C9.22595492,18 9,18.2319336 9,18.5 L9,18.5 Z M13,12.5 C13,12.7761424 13.214035,13 13.5046844,13 L14.4953156,13 C14.7740451,13 15,12.7680664 15,12.5 L15,12.5 C15,12.2238576 14.785965,12 14.4953156,12 L13.5046844,12 C13.2259549,12 13,12.2319336 13,12.5 L13,12.5 Z M13,15.5 C13,15.7761424 13.214035,16 13.5046844,16 L14.4953156,16 C14.7740451,16 15,15.7680664 15,15.5 L15,15.5 C15,15.2238576 14.785965,15 14.4953156,15 L13.5046844,15 C13.2259549,15 13,15.2319336 13,15.5 L13,15.5 Z M13,18.5 C13,18.7761424 13.214035,19 13.5046844,19 L14.4953156,19 C14.7740451,19 15,18.7680664 15,18.5 L15,18.5 C15,18.2238576 14.785965,18 14.4953156,18 L13.5046844,18 C13.2259549,18 13,18.2319336 13,18.5 L13,18.5 Z M17,12.5 C17,12.7761424 17.214035,13 17.5046844,13 L18.4953156,13 C18.7740451,13 19,12.7680664 19,12.5 L19,12.5 C19,12.2238576 18.785965,12 18.4953156,12 L17.5046844,12 C17.2259549,12 17,12.2319336 17,12.5 L17,12.5 Z M17,15.5 C17,15.7761424 17.214035,16 17.5046844,16 L18.4953156,16 C18.7740451,16 19,15.7680664 19,15.5 L19,15.5 C19,15.2238576 18.785965,15 18.4953156,15 L17.5046844,15 C17.2259549,15 17,15.2319336 17,15.5 L17,15.5 Z M9,2.5 C9,2.22385763 9.22788048,2 9.49100518,2 L14.5089948,2 C14.7801695,2 15,2.23193359 15,2.5 L15,2.5 C15,2.77614237 14.7721195,3 14.5089948,3 L9.49100518,3 C9.21983051,3 9,2.76806641 9,2.5 L9,2.5 Z M7,1.49047852 C7,1.21959471 7.23193359,1 7.5,1 L7.5,1 C7.77614237,1 8,1.21505737 8,1.49047852 L8,4.50952148 C8,4.78040529 7.76806641,5 7.5,5 L7.5,5 C7.22385763,5 7,4.78494263 7,4.50952148 L7,1.49047852 Z M16,1.49047852 C16,1.21959471 16.2319336,1 16.5,1 L16.5,1 C16.7761424,1 17,1.21505737 17,1.49047852 L17,4.50952148 C17,4.78040529 16.7680664,5 16.5,5 L16.5,5 C16.2238576,5 16,4.78494263 16,4.50952148 L16,1.49047852 Z"/></symbol>
6
+ <symbol id="icon-check" viewBox="0 0 24 24" width="100%" height="100%"><path fill-rule="evenodd" d="M1.46015511,6.45725615 C1.46015511,5.63043007 2.12595234,4.96015511 2.96015511,4.96015511 L2.96015511,4.96015511 C3.78858223,4.96015511 4.46015511,5.63134454 4.46015511,6.46183073 L4.46015511,11.9601551 L20.9564452,11.9601551 C21.7869212,11.9601551 22.4601551,12.6259523 22.4601551,13.4601551 L22.4601551,13.4601551 C22.4601551,14.2885822 21.785232,14.9601551 20.9667219,14.9601551 L2.95358834,14.9601551 C2.12878794,14.9601551 1.46015511,14.2884991 1.46015511,13.4630541 L1.46015511,6.45725615 Z" transform="rotate(-45 11.96 9.96)"/></symbol>
7
+ <symbol id="icon-clock" viewBox="0 0 24 24" width="100%" height="100%"><path fill-rule="evenodd" d="M12,23 C5.92486775,23 1,18.0751322 1,12 C1,5.92486775 5.92486775,1 12,1 C18.0751322,1 23,5.92486775 23,12 C23,18.0751322 18.0751322,23 12,23 Z M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M11.5,4.00966585 C11.5,3.72818517 11.7319336,3.5 12,3.5 C12.2761424,3.5 12.5,3.73079681 12.5,4.00043583 L12.5,11.5 L17.0023012,11.5 C17.2771727,11.5 17.5,11.7319336 17.5,12 C17.5,12.2761424 17.2721195,12.5 17.0089948,12.5 L11.9910052,12.5 C11.7198305,12.5 11.5,12.2775269 11.5,11.9903342 L11.5,4.00966585 Z"/></symbol>
8
+ <symbol id="icon-search" viewBox="0 0 24 24" width="100%" height="100%"><path fill-rule="evenodd" d="M16.6262932,16.0904129 L22.8402784,21.8382529 C23.0438968,22.0265968 23.0482516,22.3387618 22.8607428,22.5248371 L22.5286336,22.8544073 C22.3363174,23.0452534 22.0152795,23.0472113 21.8117305,22.8589237 L15.5610109,17.0768647 C14.0302194,18.2814309 12.0990251,19 10,19 C5.02943725,19 1,14.9705627 1,10 C1,5.02943725 5.02943725,1 10,1 C14.9705627,1 19,5.02943725 19,10 C19,12.3489613 18.1001192,14.4877442 16.6262932,16.0904129 Z M10,18 C14.418278,18 18,14.418278 18,10 C18,5.581722 14.418278,2 10,2 C5.581722,2 2,5.581722 2,10 C2,14.418278 5.581722,18 10,18 Z"/></symbol>
9
+ <symbol id="icon-success" viewBox="0 0 24 24" width="100%" height="100%"><path fill-rule="evenodd" d="M12,23 C5.92486775,23 1,18.0751322 1,12 C1,5.92486775 5.92486775,1 12,1 C18.0751322,1 23,5.92486775 23,12 C23,18.0751322 18.0751322,23 12,23 Z M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 Z M18.0734953,9.10417138 L11.0041681,16.1734985 C10.8122026,16.365464 10.4903696,16.3685474 10.2937708,16.1719486 L6.05597058,11.9341484 C5.8646839,11.7428617 5.85828819,11.4198835 6.05355034,11.2246214 C6.24310191,11.0350698 6.56254737,11.0265116 6.75429682,11.2182611 L10.6497444,15.1137087 L17.3604356,8.40301751 C17.5598374,8.20361571 17.8791035,8.20093212 18.0743656,8.39619427 C18.2639172,8.58574584 18.2692381,8.90842856 18.0734953,9.10417138 Z"/></symbol>
10
10
 
11
11
  '''
@@ -26,6 +26,10 @@
26
26
  display: flex;
27
27
  align-items: center;
28
28
  justify-content: center;
29
+
30
+ .button {
31
+ margin: 0 1rem;
32
+ }
29
33
  }
30
34
  }
31
35
  }
@@ -63,4 +63,18 @@
63
63
  display: block;
64
64
  }
65
65
  }
66
+
67
+ .tao-slide-box .slide-box-content {
68
+ display: flex;
69
+ flex-direction: column;
70
+ height: 100%;
71
+
72
+ .header, .select-result, .buttons {
73
+ flex: 0 0 auto;
74
+ }
75
+
76
+ .select-list {
77
+ flex: 1 1 auto;
78
+ }
79
+ }
66
80
  }
@@ -41,7 +41,7 @@
41
41
  }
42
42
 
43
43
  &:indeterminate + .checkbox-wrapper .icon-indeterminate,
44
- &:checked + .checkbox-wrapper .icon-checkbox {
44
+ &:checked + .checkbox-wrapper .icon-check {
45
45
  display: block;
46
46
  }
47
47
 
@@ -28,6 +28,6 @@
28
28
  }
29
29
 
30
30
  &.text-field-with-suffix .input-field {
31
- padding-left: $form-field-line-height + $form-field-padding-v * 2;
31
+ padding-right: $form-field-line-height + $form-field-padding-v * 2;
32
32
  }
33
33
  }
@@ -1,5 +1,3 @@
1
- require 'tao_form/components/moment_picker/base'
2
-
3
1
  module TaoForm
4
2
  module Components
5
3
  class DatePickerComponent < MomentPicker::Base
@@ -1,7 +1,3 @@
1
- require 'tao_form/components/moment_picker/segments'
2
- require 'tao_form/components/moment_picker/result_component'
3
- require 'tao_form/components/moment_picker/segment_list_component'
4
-
5
1
  module TaoForm
6
2
  module Components
7
3
  module MomentPicker
@@ -17,14 +17,15 @@ module TaoForm
17
17
 
18
18
  def render_segment segment
19
19
  if segment.is_a? Hash
20
+ segment = segment.clone
20
21
  name = segment.delete(:name)
21
- options = segment_options.merge segment
22
+ opts = segment_options.merge segment
22
23
  else
23
24
  name = segment
24
- options = segment_options
25
+ opts = segment_options
25
26
  end
26
27
 
27
- view.send :"tao_moment_picker_#{name}_segment", options
28
+ view.send :"tao_moment_picker_#{name}_segment", opts
28
29
  end
29
30
 
30
31
  def self.component_name
@@ -2,7 +2,7 @@ module TaoForm
2
2
  module Components
3
3
  module MomentPicker
4
4
  module Segments
5
- class DateSegmentComponent < Base
5
+ class DateSegmentComponent < TaoForm::Components::MomentPicker::Segments::Base
6
6
 
7
7
  def self.component_name
8
8
  :moment_picker_date_segment
@@ -2,7 +2,7 @@ module TaoForm
2
2
  module Components
3
3
  module MomentPicker
4
4
  module Segments
5
- class HourSegmentComponent < Base
5
+ class HourSegmentComponent < TaoForm::Components::MomentPicker::Segments::Base
6
6
 
7
7
  def self.component_name
8
8
  :moment_picker_hour_segment
@@ -2,7 +2,7 @@ module TaoForm
2
2
  module Components
3
3
  module MomentPicker
4
4
  module Segments
5
- class MinuteSegmentComponent < Base
5
+ class MinuteSegmentComponent < TaoForm::Components::MomentPicker::Segments::Base
6
6
 
7
7
  attr_reader :step
8
8
 
@@ -2,7 +2,7 @@ module TaoForm
2
2
  module Components
3
3
  module MomentPicker
4
4
  module Segments
5
- class MonthSegmentComponent < Base
5
+ class MonthSegmentComponent < TaoForm::Components::MomentPicker::Segments::Base
6
6
 
7
7
  def self.component_name
8
8
  :moment_picker_month_segment
@@ -2,7 +2,7 @@ module TaoForm
2
2
  module Components
3
3
  module MomentPicker
4
4
  module Segments
5
- class YearSegmentComponent < Base
5
+ class YearSegmentComponent < TaoForm::Components::MomentPicker::Segments::Base
6
6
 
7
7
  def self.component_name
8
8
  :moment_picker_year_segment
@@ -33,6 +33,7 @@ module TaoForm
33
33
 
34
34
  def init_field_options
35
35
  @field_options = {
36
+ selected: options.delete(:selected),
36
37
  disabled: options.delete(:option_disabled),
37
38
  include_blank: options.delete(:include_blank),
38
39
  prompt: options.delete(:prompt)
@@ -31,6 +31,7 @@ module TaoForm
31
31
 
32
32
  def init_field_options
33
33
  @field_options = {
34
+ selected: options.delete(:selected),
34
35
  disabled: options.delete(:option_disabled),
35
36
  include_blank: options.delete(:include_blank),
36
37
  prompt: options.delete(:prompt)
@@ -1,7 +1,3 @@
1
- require 'tao_form/components/select/result_component'
2
- require 'tao_form/components/select/multiple_result_component'
3
- require 'tao_form/components/select/list_component'
4
-
5
1
  module TaoForm
6
2
  module Components
7
3
  class SelectComponent < FieldComponent
@@ -63,6 +59,7 @@ module TaoForm
63
59
 
64
60
  def init_result_options
65
61
  @result_options = {
62
+ selected: options.delete(:selected),
66
63
  disabled: options.delete(:disabled),
67
64
  option_disabled: options.delete(:option_disabled),
68
65
  include_blank: options.delete(:include_blank),
@@ -1,14 +1,19 @@
1
1
  require 'simple_form'
2
2
  require 'tao_on_rails'
3
- require 'tao_form/inputs'
4
- require 'tao_form/components'
3
+ require 'tao_ui'
5
4
 
6
5
  module TaoForm
7
6
  class Engine < Rails::Engine
8
7
 
8
+ config.eager_load_paths += Dir["#{config.root}/lib"]
9
+
9
10
  config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.{rb,yml}')]
10
11
 
11
12
  paths['app/views'] << 'lib/views'
12
13
 
14
+ ::ActiveSupport.on_load :tao_components do
15
+ load_tao_components TaoForm::Engine.root
16
+ end
17
+
13
18
  end
14
19
  end
@@ -22,7 +22,7 @@ module TaoForm
22
22
  def component_options
23
23
  @component_options ||= input_options.slice(:multiple, :remote, :max_list_size,
24
24
  :searchable_size, :clearable, :placeholder, :disabled, :option_disabled,
25
- :include_blank, :prompt)
25
+ :include_blank, :prompt, :selected)
26
26
  end
27
27
 
28
28
  def field_options
@@ -23,7 +23,7 @@ module TaoForm
23
23
  def component_options
24
24
  @component_options ||= input_options.slice(:multiple, :remote, :max_list_size,
25
25
  :searchable_size, :clearable, :placeholder, :disabled, :option_disabled,
26
- :include_blank, :prompt, :icon)
26
+ :include_blank, :prompt, :icon, :selected)
27
27
  end
28
28
 
29
29
  def field_options
@@ -1,3 +1,3 @@
1
1
  module TaoForm
2
- VERSION = '0.1.10'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -3,7 +3,7 @@
3
3
  <%= yield %>
4
4
 
5
5
  <div class="checkbox-wrapper" tabindex="0">
6
- <%= tao_icon :checkbox %>
6
+ <%= tao_icon :check %>
7
7
  <div class="icon icon-indeterminate"></div>
8
8
  </div>
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tao_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - your name
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-28 00:00:00.000000000 Z
11
+ date: 2017-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tao_on_rails
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.2
19
+ version: 0.10.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.9.2
26
+ version: 0.10.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: tao_ui
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.9
33
+ version: 0.3.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.9
40
+ version: 0.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: simple_form
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -134,11 +134,11 @@ files:
134
134
  - config/locales/tao_form/components/select/zh-CN.yml
135
135
  - config/locales/tao_form/components/time_picker/en.yml
136
136
  - config/locales/tao_form/components/time_picker/zh-CN.yml
137
- - lib/assets/icons/arrow-down.svg
138
- - lib/assets/icons/arrow-left.svg
139
- - lib/assets/icons/arrow-right.svg
137
+ - lib/assets/icons/arrow_down.svg
138
+ - lib/assets/icons/arrow_left.svg
139
+ - lib/assets/icons/arrow_right.svg
140
140
  - lib/assets/icons/calendar.svg
141
- - lib/assets/icons/checkbox.svg
141
+ - lib/assets/icons/check.svg
142
142
  - lib/assets/icons/clock.svg
143
143
  - lib/assets/icons/search.svg
144
144
  - lib/assets/icons/success.svg
@@ -281,7 +281,6 @@ files:
281
281
  - lib/assets/stylesheets/tao/form/variables/_moment_picker.scss
282
282
  - lib/assets/stylesheets/tao/form/variables/_select.scss
283
283
  - lib/tao_form.rb
284
- - lib/tao_form/components.rb
285
284
  - lib/tao_form/components/check_box_component.rb
286
285
  - lib/tao_form/components/date_picker_component.rb
287
286
  - lib/tao_form/components/date_range_picker_component.rb
@@ -291,7 +290,6 @@ files:
291
290
  - lib/tao_form/components/moment_picker/base.rb
292
291
  - lib/tao_form/components/moment_picker/result_component.rb
293
292
  - lib/tao_form/components/moment_picker/segment_list_component.rb
294
- - lib/tao_form/components/moment_picker/segments.rb
295
293
  - lib/tao_form/components/moment_picker/segments/base.rb
296
294
  - lib/tao_form/components/moment_picker/segments/date_segment_component.rb
297
295
  - lib/tao_form/components/moment_picker/segments/hour_segment_component.rb
@@ -307,7 +305,6 @@ files:
307
305
  - lib/tao_form/components/switch_component.rb
308
306
  - lib/tao_form/components/time_picker_component.rb
309
307
  - lib/tao_form/engine.rb
310
- - lib/tao_form/inputs.rb
311
308
  - lib/tao_form/inputs/boolean_input.rb
312
309
  - lib/tao_form/inputs/collection_check_boxes_input.rb
313
310
  - lib/tao_form/inputs/collection_radio_buttons_input.rb
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
4
- <title>Arrow_Down</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="zhiren_icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Main" transform="translate(12.000000, 12.000000) scale(-1, 1) rotate(90.000000) translate(-12.000000, -12.000000) translate(6.000000, 0.000000)" fill="#9B9B9B">
9
- <path d="M11.6164511,11.610417 L1.05810978,1.05207572 C0.867040921,0.861006859 0.548815536,0.859363964 0.353553391,1.05462611 C0.164001817,1.24417768 0.157149396,1.5653289 0.351003,1.7591825 L10.6032963,12.0114758 L0.351003,22.2637691 C0.15993414,22.4548379 0.158291245,22.7730633 0.353553391,22.9683255 C0.543104964,23.157877 0.864256177,23.1647294 1.05810978,22.9708758 L11.6156318,12.4133538 C11.6336098,12.3997323 11.6508692,12.3847273 11.6672619,12.3683346 C11.7368142,12.2987823 11.7817682,12.2115117 11.8012344,12.119313 C11.8373259,11.9580366 11.7933395,11.7806946 11.6672619,11.654617 C11.6512157,11.6385707 11.6342264,11.6238338 11.6164511,11.610417 Z" id="Arrow_Down" transform="translate(6.010408, 12.010938) scale(1, -1) translate(-6.010408, -12.010938) "></path>
10
- </g>
11
- </g>
12
- </svg>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
4
- <title>Arrow_Left</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="zhiren_icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Main" transform="translate(11.000000, 12.000000) scale(-1, -1) translate(-11.000000, -12.000000) translate(5.000000, 0.000000)" fill="#9B9B9B">
9
- <path d="M11.6164511,11.610417 L1.05810978,1.05207572 C0.867040921,0.861006859 0.548815536,0.859363964 0.353553391,1.05462611 C0.164001817,1.24417768 0.157149396,1.5653289 0.351003,1.7591825 L10.6032963,12.0114758 L0.351003,22.2637691 C0.15993414,22.4548379 0.158291245,22.7730633 0.353553391,22.9683255 C0.543104964,23.157877 0.864256177,23.1647294 1.05810978,22.9708758 L11.6156318,12.4133538 C11.6336098,12.3997323 11.6508692,12.3847273 11.6672619,12.3683346 C11.7368142,12.2987823 11.7817682,12.2115117 11.8012344,12.119313 C11.8373259,11.9580366 11.7933395,11.7806946 11.6672619,11.654617 C11.6512157,11.6385707 11.6342264,11.6238338 11.6164511,11.610417 Z" id="Arrow_Left" transform="translate(6.010408, 12.010938) scale(1, -1) translate(-6.010408, -12.010938) "></path>
10
- </g>
11
- </g>
12
- </svg>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
4
- <title>Arrow_Right</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="zhiren_icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Main" transform="translate(7.000000, 0.000000)" fill="#9B9B9B">
9
- <path d="M11.6164511,11.610417 L1.05810978,1.05207572 C0.867040921,0.861006859 0.548815536,0.859363964 0.353553391,1.05462611 C0.164001817,1.24417768 0.157149396,1.5653289 0.351003,1.7591825 L10.6032963,12.0114758 L0.351003,22.2637691 C0.15993414,22.4548379 0.158291245,22.7730633 0.353553391,22.9683255 C0.543104964,23.157877 0.864256177,23.1647294 1.05810978,22.9708758 L11.6156318,12.4133538 C11.6336098,12.3997323 11.6508692,12.3847273 11.6672619,12.3683346 C11.7368142,12.2987823 11.7817682,12.2115117 11.8012344,12.119313 C11.8373259,11.9580366 11.7933395,11.7806946 11.6672619,11.654617 C11.6512157,11.6385707 11.6342264,11.6238338 11.6164511,11.610417 Z" id="Arrow_Right" transform="translate(6.010408, 12.010938) scale(1, -1) translate(-6.010408, -12.010938) "></path>
10
- </g>
11
- </g>
12
- </svg>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
4
- <title>CheckboxMark</title>
5
- <desc>Created with Sketch.</desc>
6
- <defs></defs>
7
- <g id="zhiren_icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="Main" transform="translate(1.000000, 0.000000)" fill="#9B9B9B">
9
- <path d="M0.460155108,7.45725615 C0.460155108,6.63043007 1.12595234,5.96015511 1.96015511,5.96015511 L1.96015511,5.96015511 C2.78858223,5.96015511 3.46015511,6.63134454 3.46015511,7.46183073 L3.46015511,12.9601551 L19.9564452,12.9601551 C20.7869212,12.9601551 21.4601551,13.6259523 21.4601551,14.4601551 L21.4601551,14.4601551 C21.4601551,15.2885822 20.785232,15.9601551 19.9667219,15.9601551 L1.95358834,15.9601551 C1.12878794,15.9601551 0.460155108,15.2884991 0.460155108,14.4630541 L0.460155108,7.45725615 Z" id="CheckboxMark" transform="translate(10.960155, 10.960155) rotate(-45.000000) translate(-10.960155, -10.960155) "></path>
10
- </g>
11
- </g>
12
- </svg>
@@ -1,11 +0,0 @@
1
- require 'tao_form/components/form_component'
2
- require 'tao_form/components/field_component'
3
- require 'tao_form/components/check_box_component'
4
- require 'tao_form/components/switch_component'
5
- require 'tao_form/components/radio_button_component'
6
- require 'tao_form/components/select_component'
7
- require 'tao_form/components/date_picker_component'
8
- require 'tao_form/components/time_picker_component'
9
- require 'tao_form/components/datetime_picker_component'
10
- require 'tao_form/components/month_picker_component'
11
- require 'tao_form/components/date_range_picker_component'
@@ -1,6 +0,0 @@
1
- require 'tao_form/components/moment_picker/segments/base'
2
- require 'tao_form/components/moment_picker/segments/date_segment_component'
3
- require 'tao_form/components/moment_picker/segments/month_segment_component'
4
- require 'tao_form/components/moment_picker/segments/year_segment_component'
5
- require 'tao_form/components/moment_picker/segments/hour_segment_component'
6
- require 'tao_form/components/moment_picker/segments/minute_segment_component'
@@ -1,10 +0,0 @@
1
- require 'tao_form/inputs/string_input'
2
- require 'tao_form/inputs/numeric_input'
3
- require 'tao_form/inputs/boolean_input'
4
- require 'tao_form/inputs/collection_check_boxes_input'
5
- require 'tao_form/inputs/collection_radio_buttons_input'
6
- require 'tao_form/inputs/collection_select_input'
7
- require 'tao_form/inputs/grouped_collection_select_input'
8
- require 'tao_form/inputs/date_time_input'
9
- require 'tao_form/inputs/month_input'
10
- require 'tao_form/inputs/date_range_input'