rsence-pre 2.3.0.26 → 3.0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +11 -1
  3. data/VERSION +1 -1
  4. data/client/AUTHORS.txt +63 -0
  5. data/client/MIT-LICENSE.txt +21 -0
  6. data/client/README.md +17 -0
  7. data/client/VERSION +1 -0
  8. data/{conf → client/conf}/client_pkg.yaml +1 -6
  9. data/{js → client/js}/chat/chat_panel/chat_panel.coffee +0 -0
  10. data/{js → client/js}/chat/speech_bubble/speech_bubble.coffee +0 -0
  11. data/{js → client/js}/chat/speech_bubble/themes/default/speech_bubble.css +0 -0
  12. data/{js → client/js}/chat/speech_bubble/themes/default/speech_bubble.html +0 -0
  13. data/{js → client/js}/chat/speech_bubble/themes/default/user_anon.png +0 -0
  14. data/{js → client/js}/comm/autosync/autosync.js +0 -0
  15. data/{js → client/js}/comm/comm.js +0 -0
  16. data/{js → client/js}/comm/jsloader/jsloader.js +0 -0
  17. data/{js → client/js}/comm/queue/queue.js +0 -0
  18. data/{js → client/js}/comm/session/session.js +0 -0
  19. data/{js → client/js}/comm/sessionwatcher/sessionwatcher.js +0 -0
  20. data/{js → client/js}/comm/transporter/transporter.js +0 -0
  21. data/{js → client/js}/comm/urlresponder/urlresponder.js +0 -0
  22. data/{js → client/js}/comm/values/values.js +0 -0
  23. data/{js → client/js}/controls/button/button.js +0 -0
  24. data/{js → client/js}/controls/button/themes/default/button.css +0 -0
  25. data/{js/controls/button/themes/bright → client/js/controls/button/themes/default}/button.html +0 -0
  26. data/{js → client/js}/controls/button/themes/default/button_parts1.png +0 -0
  27. data/{js → client/js}/controls/checkbox/checkbox.js +0 -0
  28. data/{js → client/js}/controls/checkbox/themes/default/checkbox.css +0 -0
  29. data/{js → client/js}/controls/checkbox/themes/default/checkbox.html +0 -0
  30. data/{js → client/js}/controls/checkbox/themes/default/checkbox_parts1.png +0 -0
  31. data/{js → client/js}/controls/dialogs/alert_sheet/alert_sheet.js +0 -0
  32. data/{js → client/js}/controls/dialogs/confirm_sheet/confirm_sheet.js +0 -0
  33. data/{js → client/js}/controls/dialogs/sheet/sheet.js +0 -0
  34. data/{js → client/js}/controls/dialogs/sheet/themes/default/sheet.css +0 -0
  35. data/{js → client/js}/controls/dialogs/sheet/themes/default/sheet.html +0 -0
  36. data/{js → client/js}/controls/dialogs/sheet/themes/default/sheet_bg.png +0 -0
  37. data/{js → client/js}/controls/dialogs/sheet/themes/default/sheet_dim.png +0 -0
  38. data/{js → client/js}/controls/dialogs/sheet/themes/default/sheet_parts1.png +0 -0
  39. data/{js → client/js}/controls/dialogs/sheet/themes/default/sheet_parts2.png +0 -0
  40. data/{js → client/js}/controls/dialogs/sheet/themes/default/sheet_warning.png +0 -0
  41. data/{js → client/js}/controls/imageview/imageview.js +0 -0
  42. data/{js → client/js}/controls/imageview/themes/default/blank.gif +0 -0
  43. data/{js → client/js}/controls/numerictextcontrol/numerictextcontrol.coffee +0 -0
  44. data/{js → client/js}/controls/onoffbutton/onoffbutton.coffee +0 -0
  45. data/{js → client/js}/controls/onoffbutton/themes/default/onoffbutton.css +0 -0
  46. data/{js → client/js}/controls/onoffbutton/themes/default/onoffbutton.html +0 -0
  47. data/{js → client/js}/controls/passwordcontrol/passwordcontrol.js +0 -0
  48. data/{js → client/js}/controls/passwordcontrol/themes/default/passwordcontrol.css +0 -0
  49. data/{js → client/js}/controls/passwordcontrol/themes/default/passwordcontrol.html +0 -0
  50. data/{js → client/js}/controls/progress/progressbar/progressbar.js +0 -0
  51. data/{js → client/js}/controls/progress/progressbar/themes/default/progressbar.css +0 -0
  52. data/{js → client/js}/controls/progress/progressbar/themes/default/progressbar.html +0 -0
  53. data/{js → client/js}/controls/progress/progressindicator/progressindicator.js +0 -0
  54. data/{js → client/js}/controls/radiobutton/radiobutton.js +0 -0
  55. data/{js → client/js}/controls/radiobutton/themes/default/radiobutton.css +0 -0
  56. data/{js → client/js}/controls/radiobutton/themes/default/radiobutton.html +0 -0
  57. data/{js → client/js}/controls/radiobutton/themes/default/radiobutton_parts1.png +0 -0
  58. data/client/js/controls/searchfield/searchfield.coffee +14 -0
  59. data/{js → client/js}/controls/searchfield/themes/default/searchfield.css +9 -0
  60. data/{js → client/js}/controls/searchfield/themes/default/searchfield.html +1 -2
  61. data/{js → client/js}/controls/searchfield/themes/default/searchfield_parts1.png +0 -0
  62. data/{js → client/js}/controls/sliders/slider/slider.js +0 -0
  63. data/{js → client/js}/controls/sliders/slider/themes/default/hslider_tracks.png +0 -0
  64. data/{js → client/js}/controls/sliders/slider/themes/default/slider.css +0 -0
  65. data/{js → client/js}/controls/sliders/slider/themes/default/slider.html +0 -0
  66. data/{js → client/js}/controls/sliders/slider/themes/default/slider_thumbs.png +0 -0
  67. data/{js → client/js}/controls/sliders/vslider/themes/default/vslider.css +0 -0
  68. data/{js → client/js}/controls/sliders/vslider/themes/default/vslider.html +0 -0
  69. data/{js → client/js}/controls/sliders/vslider/themes/default/vslider_tracks.png +0 -0
  70. data/{js → client/js}/controls/sliders/vslider/vslider.js +0 -0
  71. data/{js → client/js}/controls/stepper/stepper.js +0 -0
  72. data/{js → client/js}/controls/stepper/themes/default/stepper.css +0 -0
  73. data/{js → client/js}/controls/stepper/themes/default/stepper.html +0 -0
  74. data/{js → client/js}/controls/stepper/themes/default/stepper.png +0 -0
  75. data/{js → client/js}/controls/stringview/stringview.js +0 -0
  76. data/{js → client/js}/controls/stringview/themes/default/stringview.css +0 -0
  77. data/{js → client/js}/controls/stringview/themes/default/stringview.html +0 -0
  78. data/{js → client/js}/controls/tab/tab.js +0 -0
  79. data/{js → client/js}/controls/tab/themes/default/tab.css +0 -0
  80. data/{js → client/js}/controls/tab/themes/default/tab.html +0 -0
  81. data/{js → client/js}/controls/tab/themes/default/tab_bg_color.png +0 -0
  82. data/{js/controls/tab/themes/bright → client/js/controls/tab/themes/default}/tab_border_pattern.png +0 -0
  83. data/{js → client/js}/controls/tab/themes/default/tab_parts1.png +0 -0
  84. data/{js → client/js}/controls/textarea/textarea.js +0 -0
  85. data/{js → client/js}/controls/textarea/themes/default/textarea.css +0 -0
  86. data/{js → client/js}/controls/textarea/themes/default/textarea.html +0 -0
  87. data/{js → client/js}/controls/textcontrol/textcontrol.coffee +0 -0
  88. data/{js → client/js}/controls/textcontrol/themes/default/textcontrol.css +0 -0
  89. data/{js → client/js}/controls/textcontrol/themes/default/textcontrol.html +0 -0
  90. data/{js → client/js}/controls/textcontrol/themes/default/textcontrol_parts1.png +0 -0
  91. data/{js → client/js}/controls/textcontrol/themes/default/textcontrol_parts2.png +0 -0
  92. data/{js → client/js}/controls/textcontrol/themes/default/textcontrol_parts3.png +0 -0
  93. data/{js → client/js}/controls/uploader/themes/default/upload_progress.gif +0 -0
  94. data/{js → client/js}/controls/uploader/themes/default/uploader.css +0 -0
  95. data/{js → client/js}/controls/uploader/themes/default/uploader.html +0 -0
  96. data/{js → client/js}/controls/uploader/uploader.coffee +0 -0
  97. data/{js → client/js}/controls/validatorview/themes/default/validator.png +0 -0
  98. data/{js → client/js}/controls/validatorview/themes/default/validatorview.css +0 -0
  99. data/{js → client/js}/controls/validatorview/themes/default/validatorview.html +0 -0
  100. data/{js → client/js}/controls/validatorview/validatorview.js +0 -0
  101. data/{js → client/js}/controls/window/themes/default/window.css +0 -0
  102. data/{js → client/js}/controls/window/themes/default/window.html +0 -0
  103. data/{js → client/js}/controls/window/themes/default/window_bg_active.png +0 -0
  104. data/{js → client/js}/controls/window/themes/default/window_bg_inactive.png +0 -0
  105. data/{js → client/js}/controls/window/themes/default/window_buttons.png +0 -0
  106. data/{js → client/js}/controls/window/themes/default/window_parts1.png +0 -0
  107. data/{js → client/js}/controls/window/themes/default/window_parts2.png +0 -0
  108. data/{js → client/js}/controls/window/window.js +0 -0
  109. data/{js → client/js}/core/class/class.js +0 -0
  110. data/{js → client/js}/core/elem/elem.coffee +3 -3
  111. data/{js → client/js}/core/event/event.js +2 -2
  112. data/{js → client/js}/core/rsence_ns/rsence_ns.coffee +0 -0
  113. data/{js → client/js}/core/util/util_methods/util_methods.coffee +0 -0
  114. data/{js → client/js}/datetime/calendar/calendar.coffee +2 -0
  115. data/{js → client/js}/datetime/calendar/themes/default/calendar.css +8 -3
  116. data/{js → client/js}/datetime/calendar/themes/default/calendar.html +0 -0
  117. data/{js → client/js}/datetime/calendar/themes/default/calendar_arrows.png +0 -0
  118. data/{js → client/js}/datetime/calendar/themes/default/calendar_bg.png +0 -0
  119. data/{js → client/js}/datetime/calendar/themes/default/calendar_parts1.png +0 -0
  120. data/{js → client/js}/datetime/calendar/themes/default/calendar_parts2.png +0 -0
  121. data/{js → client/js}/datetime/calendar_pulldown/calendar_pulldown.coffee +11 -4
  122. data/{js → client/js}/datetime/calendar_pulldown/themes/default/calendar_pulldown.css +0 -0
  123. data/{js → client/js}/datetime/calendar_pulldown/themes/default/calendar_pulldown.html +0 -0
  124. data/{js → client/js}/datetime/calendar_pulldown/themes/default/calendar_pulldown.png +0 -0
  125. data/{js → client/js}/datetime/datepicker/datepicker.coffee +5 -0
  126. data/{js → client/js}/datetime/datetimepicker/datetimepicker.coffee +0 -0
  127. data/{js → client/js}/datetime/datetimepicker/datetimepicker.js +0 -0
  128. data/{js → client/js}/datetime/datetimevalue/datetimevalue.js +0 -0
  129. data/{js → client/js}/datetime/momentjs/momentjs.js +0 -0
  130. data/{js → client/js}/datetime/timepicker/timepicker.coffee +0 -0
  131. data/{js → client/js}/datetime/timesheet/themes/default/timesheet.css +0 -0
  132. data/{js → client/js}/datetime/timesheet/themes/default/timesheet.html +0 -0
  133. data/{js → client/js}/datetime/timesheet/timesheet.js +0 -0
  134. data/{js → client/js}/datetime/timesheet_item/themes/default/timesheet_item.css +0 -0
  135. data/{js → client/js}/datetime/timesheet_item/themes/default/timesheet_item.html +0 -0
  136. data/{js → client/js}/datetime/timesheet_item/themes/default/timesheet_item_icons.png +0 -0
  137. data/{js → client/js}/datetime/timesheet_item/timesheet_item.js +0 -0
  138. data/{js → client/js}/datetime/timesheet_item_edit/timesheet_item_edit.js +0 -0
  139. data/{js → client/js}/foundation/application/application.js +0 -0
  140. data/{js → client/js}/foundation/control/control.js +0 -0
  141. data/{js → client/js}/foundation/control/controldefaults/controldefaults.js +0 -0
  142. data/{js → client/js}/foundation/control/dummyvalue/dummyvalue.js +0 -0
  143. data/{js → client/js}/foundation/control/dyncontrol/dyncontrol.js +0 -0
  144. data/{js → client/js}/foundation/control/dyncontrol/themes/default/dyncontrol.css +0 -0
  145. data/{js → client/js}/foundation/control/dyncontrol/themes/default/dyncontrol.html +0 -0
  146. data/{js → client/js}/foundation/control/eventresponder/eventresponder.js +0 -36
  147. data/{js → client/js}/foundation/control/valueaction/valueaction.js +0 -0
  148. data/{js → client/js}/foundation/control/valuematrix/valuematrix.js +0 -0
  149. data/{js → client/js}/foundation/control/valueresponder/valueresponder.js +0 -0
  150. data/{js → client/js}/foundation/eventmanager/eventmanager.coffee +68 -84
  151. data/{js → client/js}/foundation/eventmanager/eventmanager.js +0 -0
  152. data/{js → client/js}/foundation/geom/point/point.js +0 -0
  153. data/{js → client/js}/foundation/geom/rect/rect.js +0 -0
  154. data/{js → client/js}/foundation/json_renderer/json_renderer.js +0 -0
  155. data/{js → client/js}/foundation/locale_settings/locale_settings.js +0 -0
  156. data/{js → client/js}/foundation/system/system.js +0 -0
  157. data/{js → client/js}/foundation/thememanager/thememanager.coffee +0 -0
  158. data/{js → client/js}/foundation/value/value.js +0 -0
  159. data/{js → client/js}/foundation/view/markupview/markupview.js +0 -0
  160. data/{js → client/js}/foundation/view/morphanimation/morphanimation.js +2 -0
  161. data/{js → client/js}/foundation/view/view.js +0 -0
  162. data/{js → client/js}/foundation/view/viewdefaults/viewdefaults.js +0 -0
  163. data/{js → client/js}/graphics/svgcontrol/svgcontrol.js +0 -0
  164. data/{js → client/js}/lists/checkboxlist/checkboxlist.js +0 -0
  165. data/{js → client/js}/lists/listitems/listitems.js +0 -0
  166. data/{js → client/js}/lists/propertylist/propertylist.js +0 -0
  167. data/{js → client/js}/lists/propertylist/propertylisteditor/propertylisteditor.js +0 -0
  168. data/{js → client/js}/lists/radiobuttonlist/radiobuttonlist.js +0 -0
  169. data/{js → client/js}/menus/menuitem/menuitem.js +0 -0
  170. data/{js → client/js}/menus/menuitem/themes/default/menuitem.css +0 -0
  171. data/{js → client/js}/menus/menuitem/themes/default/menuitem.html +0 -0
  172. data/{js → client/js}/menus/minimenu/minimenu.js +26 -11
  173. data/{js → client/js}/menus/minimenu/themes/default/minimenu.css +0 -0
  174. data/{js → client/js}/menus/minimenu/themes/default/minimenu.html +0 -0
  175. data/{js → client/js}/menus/minimenu/themes/default/minimenu.png +0 -0
  176. data/{js → client/js}/menus/minimenuitem/minimenuitem.js +0 -9
  177. data/{js → client/js}/menus/minimenuitem/themes/default/minimenuitem.css +0 -0
  178. data/{js → client/js}/menus/minimenuitem/themes/default/minimenuitem.html +0 -0
  179. data/{js → client/js}/menus/minimenuitem/themes/default/minimenuitem_checkmark.png +0 -0
  180. data/{js → client/js}/menus/popupmenu/popupmenu.js +0 -0
  181. data/{js → client/js}/menus/popupmenu/themes/default/popupmenu.css +0 -0
  182. data/{js → client/js}/menus/popupmenu/themes/default/popupmenu.html +0 -0
  183. data/{js → client/js}/menus/popupmenu/themes/default/popupmenu.png +0 -0
  184. data/{js → client/js}/no_pkg/no_pkg.js +0 -0
  185. data/{js → client/js}/tables/table/table.coffee +0 -0
  186. data/{js → client/js}/tables/table/themes/default/table.css +0 -0
  187. data/{js → client/js}/tables/table/themes/default/table.html +0 -0
  188. data/{js → client/js}/util/reloadapp/reloadapp.js +0 -0
  189. data/{js → client/js}/util/reloadapp/themes/default/reloadapp_warning.png +0 -0
  190. data/{js → client/js}/util/sha/sha.js +0 -0
  191. data/{js → client/js}/views/centerview/centerview.js +0 -0
  192. data/{js → client/js}/views/inlineview/inlineview.js +0 -0
  193. data/{js → client/js}/views/scrollview/scrollview.js +0 -0
  194. data/lib/rsence/default_config.rb +2 -2
  195. metadata +193 -197
  196. data/js/controls/button/themes/bright/button.css +0 -89
  197. data/js/controls/button/themes/bright/button_parts1.png +0 -0
  198. data/js/controls/button/themes/default/button.html +0 -7
  199. data/js/controls/searchfield/searchfield.coffee +0 -2
  200. data/js/controls/tab/themes/bright/tab.css +0 -76
  201. data/js/controls/tab/themes/bright/tab.html +0 -6
  202. data/js/controls/tab/themes/bright/tab_bg_color.png +0 -0
  203. data/js/controls/tab/themes/bright/tab_parts1.png +0 -0
  204. data/js/controls/tab/themes/default/tab_border_pattern.png +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5961f0e8e0436d16a623ab61bd03408378ef18c5
4
- data.tar.gz: 748f84c78b21acd52ffc24a1df92d40c4be29821
3
+ metadata.gz: 2ebc985858d1e43617fe35f5d7e35f8fbd344e1e
4
+ data.tar.gz: ce7d9178a192d06692d18de0dd13976d5b87a969
5
5
  SHA512:
6
- metadata.gz: d980561d4bed3accd01ad93ba47ed42e3545460304f07f37eb5cdd28277b3b7f7fd06ffb08ce421faceca7ed0fce71805daacbf29a3c31431254633c8cd402ec
7
- data.tar.gz: ea1b4fbfbe85efc1a9449e4ca48e2d49178784fee6dcb41ee7c104b85cb4d3ce87a217a534c18e2b66d1518700ae5f80bd3b476737f126b7d89e9f40bf8b9511
6
+ metadata.gz: 6c6f43fa544d16ce40d0f944076366268ec15921be4f2a94ed537726e3d02aee98a10f5a35ee09f94f6b39bfceb46c827ee05f9c2c6cf35643a3052b10d893db
7
+ data.tar.gz: 71e618b84f581b2837b87f39b62b574cd7de34b4f460346cef4a82c25f08118423b5d8786b176e93c265df8c98cc4e445d9222c26f717e68f806ff85e78d2c50
data/README.rdoc CHANGED
@@ -1,5 +1,15 @@
1
1
 
2
- = RSence-2.2.0[http://rsence.org/]
2
+ = RSence-3.0[http://rsence.org/]
3
+
4
+ = Notice
5
+ These docs are somewhat outdated at the moment, and RSence needs rsnc.js cloned into /client of this repository.
6
+
7
+ == Sources for rsnc.js:
8
+
9
+ * github.com/jammi/rsnc
10
+ * github.com/rsence/rsnc
11
+ * git@rsence.org:rsnc.git
12
+
3
13
 
4
14
  == Introduction
5
15
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.0.26.pre
1
+ 3.0.0.0.pre
@@ -0,0 +1,63 @@
1
+
2
+ Authors/contributors ordered by project phase (newest first) and order of first contribution (oldest first).
3
+
4
+ If you see your name here and want your email address listed, please contact o@rsence.org
5
+
6
+
7
+ RSence 2.3-> [MIT] (2013->)
8
+ ---------------------------
9
+
10
+ Juha-Jarmo Heinonen <o@rsence.org>
11
+ Architect and Developer
12
+
13
+ Petteri Salmi <petteri.salmi@hhtec.fi>
14
+ Patches
15
+
16
+
17
+
18
+ RSence 1.0 to 2.2 [GPL] (2009-2012)
19
+ -----------------------------------
20
+
21
+ Juha-Jarmo Heinonen <o@rsence.org>
22
+ Architect and Developer
23
+
24
+ Toni Nurminen <toni.nurminen@riassence.com>
25
+ Documentation and examples
26
+
27
+ Tomi Toivio
28
+ Documentation
29
+
30
+ Sergey Kim
31
+ Patches
32
+
33
+
34
+
35
+ Himle [GPL] (2008-2009)
36
+ -----------------------
37
+
38
+ Juha-Jarmo Heinonen <o@rsence.org>
39
+ Architect and Developer
40
+
41
+ Sergey Kim
42
+ Patches
43
+
44
+ Domen Puncer <domen@cba.si>
45
+ JSMinC and JSCompress extensions
46
+
47
+
48
+
49
+ Helmi RIA Platform 2.0 [Closed/GPL] (2006-2007)
50
+ -----------------------------------------------
51
+
52
+ Juha-Jarmo Heinonen <o@rsence.org>
53
+ Architect and Developer
54
+
55
+ Mika Laukka
56
+ Developer
57
+
58
+ Jukka Kortela
59
+ Developer
60
+
61
+ Sergey Kim
62
+ Developer
63
+
@@ -0,0 +1,21 @@
1
+ Copyright 2013 Juha-Jarmo Heinonen and other contributors
2
+ http://rsence.org/
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining
5
+ a copy of this software and associated documentation files (the
6
+ "Software"), to deal in the Software without restriction, including
7
+ without limitation the rights to use, copy, modify, merge, publish,
8
+ distribute, sublicense, and/or sell copies of the Software, and to
9
+ permit persons to whom the Software is furnished to do so, subject to
10
+ the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/client/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # About rsnc.js
2
+
3
+ ## What
4
+ This is a GUI framework written in js.
5
+
6
+ ## Why
7
+ Why do you always ask these questions?
8
+
9
+ ## How
10
+ Clone this repository into the root of an RSence repository clone as 'client'.
11
+
12
+ git clone git@rsence.org:rsence.git rsence
13
+ git clone git@rsence.org:rsnc.git rsence/client
14
+
15
+ ## More information:
16
+ [rsnc website](http://rsnc.io/)
17
+ [rsence website](http://rsence.org/)
data/client/VERSION ADDED
@@ -0,0 +1 @@
1
+ 3.0.0
@@ -7,7 +7,6 @@
7
7
  # List of theme names to include and pack
8
8
  :theme_names:
9
9
  - default # Makes default_theme.js containing css and html templates
10
- - bright # Makes bright_theme.js containing css and html templates
11
10
 
12
11
  # List of packages to build
13
12
  :packages:
@@ -93,10 +92,6 @@
93
92
  servermessage:
94
93
  - reloadapp # ReloadApp
95
94
 
96
- # Special package for Internet Explorer 6.0
97
- iefix:
98
- - iefix
99
-
100
95
  # Date and time -related control widgets (components)
101
96
  # These are not complete; they are still under development
102
97
  # and will be included in the controls package when finalized.
@@ -203,4 +198,4 @@
203
198
  # - 0 means largest size, but fast compression
204
199
  # - 9 means smallest size, but slow compression
205
200
  # - any number in between is a compromise
206
- :gz_strategy: 9
201
+ :gz_strategy: 0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,14 @@
1
+ HSearchField = HTextControl.extend
2
+ componentName: 'searchfield'
3
+ markupElemNames: HTextControl.prototype.markupElemNames.concat( ['help'] )
4
+ controlDefaults: HTextControl.prototype.controlDefaults.extend
5
+ helpText: 'Search...'
6
+
7
+ textFocus: ->
8
+ @base()
9
+ @setStyleOfPart( 'help', 'display', 'none' )
10
+
11
+ refreshValue: ->
12
+ @base()
13
+ if @typeChr( @value ) == 's' and @value.length > 0
14
+ @setStyleOfPart( 'help', 'display', 'none' )
@@ -101,3 +101,12 @@
101
101
  background-position: 0px -48px;
102
102
  }
103
103
 
104
+ .default .searchfield_help {
105
+ position: absolute;
106
+ display: block;
107
+ left: 24px; top: 5px; right: 8px; height: 18px;
108
+ color: #888;
109
+ font-size: 12px;
110
+ font-style: italic;
111
+ }
112
+
@@ -1,12 +1,11 @@
1
1
  <div class="searchfield_w"></div>
2
2
  <div class="searchfield_c"></div>
3
3
  <div class="searchfield_e"></div>
4
-
4
+ <div class="searchfield_help" id="help]I[" >#{this.options.helpText}</div>
5
5
  <div id="label]I[" title="#{this.label}" class="searchfield_input_parent">
6
6
  <input type="text" class="searchfield_input" #{this.enabled?'':'disabled'}
7
7
  onfocus="HSystem.views[#{this.viewId}].textFocus();"
8
8
  onblur="HSystem.views[#{this.viewId}].textBlur();"
9
9
  id="value]I[" value="#{this.value}" />
10
10
  </div>
11
-
12
11
  <div class="searchfield_fade"></div>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -218,7 +218,7 @@ ELEM = HClass.extend
218
218
  _getVisibleLeftPosition: (_id)->
219
219
  _elem = @_elements[_id]
220
220
  x = 0
221
- while _elem != document
221
+ while _elem != document.body
222
222
  x += _elem.offsetLeft - _elem.scrollLeft
223
223
  _elem = _elem.parentNode
224
224
  x
@@ -229,13 +229,13 @@ ELEM = HClass.extend
229
229
  _getVisibleTopPosition: (_id)->
230
230
  _elem = @_elements[_id]
231
231
  y = 0
232
- while _elem != document
232
+ while _elem != document.body
233
233
  y += _elem.offsetTop - _elem.scrollTop
234
234
  _elem = _elem.parentNode
235
235
  y
236
236
 
237
237
  ###
238
- Returns the visible position of the element as a [ left, top ] tuble
238
+ Returns the visible position of the element as a [ left, top ] tuple
239
239
  ###
240
240
  getVisiblePosition: (_id)->
241
241
  [ @_getVisibleLeftPosition(_id), @_getVisibleTopPosition(_id) ]
@@ -14,13 +14,13 @@ Event = {
14
14
  /** Returns the mouse cursor x -coordinate of the event.
15
15
  **/
16
16
  pointerX: function(e) {
17
- return e.pageX || e.clientX + document.documentElement.scrollLeft;
17
+ return ( e.pageX || e.clientX ) + document.body.scrollLeft;
18
18
  },
19
19
 
20
20
  /** Returns the mouse cursor y -coordinate of the event.
21
21
  **/
22
22
  pointerY: function(e) {
23
- return e.pageY || e.clientY + document.documentElement.scrollTop;
23
+ return ( e.pageY || e.clientY ) + document.body.scrollTop;
24
24
  },
25
25
 
26
26
  /** Stops event propagation
File without changes
@@ -334,6 +334,8 @@ HCalendar = HControl.extend
334
334
  ELEM.addClassName( _colElem, 'calendar_weeks_week_col_no' )
335
335
  else
336
336
  ELEM.addClassName( _colElem, 'calendar_weeks_week_col_yes' )
337
+ if @options.todayStart? and @options.todayStart >= _colSecs and @options.todayStart < _colSecs + 86400
338
+ ELEM.addClassName( _colElem, 'calendar_weeks_week_col_today' )
337
339
  ELEM.setAttr( _colElem, '_colSecs', _colSecs )
338
340
  if @enabled
339
341
  Event.observe( ELEM.get( _colElem ), 'click', ->
@@ -37,7 +37,7 @@
37
37
  top: 0px; left: 20px; right: 20px; height: 20px;
38
38
  color: #000;
39
39
  font-family: Arial, sans-serif;
40
- font-weight: bold;
40
+ font-weight: normal;
41
41
  font-size: 13px;
42
42
  line-height: 20px;
43
43
  vertical-align: middle;
@@ -68,7 +68,8 @@
68
68
  .calendar_weeks_week_col_no,
69
69
  .calendar_weeks_week_col_sel,
70
70
  .calendar_weeks_week_col_wk,
71
- .calendar_weeks_week_col_yes {
71
+ .calendar_weeks_week_col_yes,
72
+ .calendar_weeks_week_col_today {
72
73
  position: absolute;
73
74
  text-decoration: none;
74
75
  top: 0px;
@@ -92,12 +93,16 @@
92
93
  .calendar_weeks_week_col_sel {
93
94
  color: #000;
94
95
  background-color: #ddd;
95
- font-weight: bold;
96
+ font-weight: normal;
96
97
  border: 1px solid #666;
97
98
  }
98
99
  .calendar_weeks_week_col_sel {
99
100
  background-color: #fff;
100
101
  }
102
+ .calendar_weeks_week_col_today {
103
+ font-weight: bold;
104
+ color: #F00;
105
+ }
101
106
  .enabled > .calendar_control > .calendar_weeks > .calendar_weeks_week_row > .calendar_weeks_week_col_yes:hover {
102
107
  border: 2px solid black; margin: -1px; z-index: 100; border-radius: 3px;
103
108
  }
@@ -5,14 +5,20 @@ HCalendarPulldown = HMiniMenu.extend
5
5
  resize: true
6
6
  preserveTime: true
7
7
  controlDefaults: HMiniMenu.prototype.controlDefaults.extend
8
- calendarAlign: 'right'
8
+ calendarHorizontalAlign: 'right'
9
+ calendarVerticalAlign: 'top'
9
10
  label: ''
10
11
  calendarRect: ->
11
12
  [ x, y ] = [ @pageX(), @pageY() ]
12
- if @options.calendarAlign == 'right'
13
- return [ x-200+@rect.width, y, 200, 200 ]
13
+ if @options.calendarHorizontalAlign == 'right'
14
+ x = x - 200 + 15
14
15
  else
15
- return [ x, y, 200, 200 ]
16
+ x = x + @rect.width - 7
17
+ if @options.calendarVerticalAlign == 'bottom'
18
+ y = y - 200 + 2
19
+ else
20
+ y = y + 7
21
+ return [ x, y, 200, 200 ]
16
22
  repositionMenuItems: ->
17
23
  @menuItemView.setRect( @calendarRect() )
18
24
  @menuItemView.drawRect()
@@ -53,6 +59,7 @@ HCalendarPulldown = HMiniMenu.extend
53
59
  value: @value
54
60
  valueObj: @valueObj
55
61
  preserveTime: @options.preserveTime
62
+ todayStart: @options.todayStart
56
63
  style:
57
64
  boxShadow: '0 0 5px #333'
58
65
  borderRadius: '5px'