rsence-pre 3.0.0.10 → 3.0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/client/conf/client_pkg.yaml +17 -1
  4. data/client/ext/Rakefile +42 -12
  5. data/client/js/comm/transporter/transporter.js +1 -0
  6. data/client/js/controls/numerictextcontrol/numerictextcontrol.coffee +10 -11
  7. data/client/js/controls/searchfield/themes/default/searchfield.css +56 -91
  8. data/client/js/controls/searchfield/themes/default/searchfield.html +10 -10
  9. data/client/js/controls/textcontrol/textcontrol.coffee +71 -65
  10. data/client/js/core/elem/elem.coffee +5 -0
  11. data/client/js/datetime/datepicker/datepicker.coffee +1 -0
  12. data/client/js/datetime/momentjs/momentjs.js +12 -4
  13. data/client/js/foundation/control/eventresponder/eventresponder.js +14 -0
  14. data/client/js/foundation/json_renderer/json_renderer.js +12 -12
  15. data/client/js/foundation/view/view.js +13 -4
  16. data/client/js/lists/radiobuttonlist/radiobuttonlist.js +9 -8
  17. data/client/js/media/mediaelement/mediaelement.js +1890 -0
  18. data/client/js/media/mediaelement_defaults/mediaelement_defaults.coffee +1 -0
  19. data/client/js/media/mediaelement_resources/mediaelement_resources.js +1 -0
  20. data/client/js/media/mediaelement_resources/themes/mejs/flashmediaelement.swf +0 -0
  21. data/client/js/media/mediaelement_resources/themes/mejs/mediaelement_resources.css +0 -0
  22. data/client/js/media/mediaelement_resources/themes/mejs/mediaelement_resources.html +0 -0
  23. data/client/js/media/mediaelement_resources/themes/mejs/silverlightmediaelement.xap +0 -0
  24. data/client/js/menus/combobox/combobox.coffee +6 -1
  25. data/client/js/menus/menuitem/themes/default/menuitem.css +5 -8
  26. data/client/js/menus/minimenu/minimenu.js +2 -2
  27. data/client/js/menus/minimenu/themes/default/minimenu.css +6 -22
  28. data/client/js/menus/minimenuitem/themes/default/minimenuitem.css +5 -8
  29. data/client/js/menus/popupmenu/themes/default/popupmenu.css +6 -27
  30. data/plugins/client_pkg/lib/client_pkg_build.rb +5 -1
  31. metadata +8 -1
@@ -0,0 +1 @@
1
+ LOAD(-> mejs.MediaElementDefaults.pluginPath = HThemeManager.themePaths.mejs )
@@ -0,0 +1 @@
1
+ // Dummy js, the real contents are in the themes directory
@@ -37,14 +37,19 @@ HComboBoxInterface =
37
37
  @menuItemView.drawRect()
38
38
  drawSubviews: ->
39
39
  @base()
40
+ @destroyMarkupElem('label')
40
41
  @setMarkupOfPart('bg','▾')
41
42
  @setStyleOfPart('bg',
42
43
  lineHeight: (@rect.height+2)+'px'
43
44
  verticalAlign: 'middle'
44
45
  borderLeft: '1px solid #ccc'
46
+ position: 'absolute'
47
+ fontSize: '13px'
48
+ textAlign: 'center'
49
+ backgroundColor: '#f9f9f9'
45
50
  )
46
51
  @refreshValue()
47
- ).new( [null,-1,14,@rect.height,0,null], @, _menuOptions )
52
+ ).new( [null,1,14,@rect.height-2,1,null], @, _menuOptions )
48
53
  @_extraLabelRight += 14
49
54
  if @unitSuffix
50
55
  ELEM.setStyle(@unitSuffix.elemId,'paddingRight','14px')
@@ -1,21 +1,18 @@
1
1
  .default.menuitem { cursor: pointer; }
2
-
3
2
  .default.menuitem:hover { background-color: #fff; }
4
-
5
3
  .default.menuitem.disabled { cursor: default; opacity: 0.8; }
6
-
7
4
  .default.menuitem > .label,
8
- .default.menuitem.state {
5
+ .default.menuitem > .state {
9
6
  position: absolute; height: 24px;
10
7
  }
11
- .default.menuitem.state {
8
+ .default.menuitem > .state {
12
9
  left: 4px; top: 7px; height: 12px; width: 12px;
13
- background-image: #url(menuitem_checkmark.png);
10
+ background-image: #url(minimenuitem_checkmark.png);
14
11
  }
15
- .default.menuitem.state {
12
+ .default.menuitem > .state {
16
13
  visibility: hidden;
17
14
  }
18
- .default.menuitem.state.checked {
15
+ .default.menuitem.checked > .state{
19
16
  visibility: inherit;
20
17
  }
21
18
  .default.menuitem > .label {
@@ -117,8 +117,8 @@ HMiniMenu = HRadioButtonList.extend({
117
117
  ELEM.setStyles( _menu._hideElemId, {
118
118
  position: 'absolute', left: 0, top: 0, right: 0, bottom: 0//, backgroundColor: '#000', opacity: 0.2
119
119
  } );
120
- Event.observe( ELEM.get( _menu._hideElemId ), 'mousedown', function(e){_menu.menuHide();EVENT.mouseDown(e);return false;} );
121
- ELEM.setStyle( _menu._hideElemId, 'z-index', ELEM.getStyle(_menu.menuItemView.elemId,'z-index')-1 );
120
+ Event.observe( ELEM.get( _menu._hideElemId ), 'mousedown', function(e){_menu.menuHide();_menu.pushTask(function(){EVENT.mouseDown(e);});return true;} );
121
+ ELEM.setStyle( _menu._hideElemId, 'zIndex', ELEM.getStyle(_menu.menuItemView.elemId,'z-index')-1 );
122
122
  } );
123
123
  this.menuItemView.show();
124
124
  return true;
@@ -1,9 +1,5 @@
1
- .default.minimenu {
2
- cursor: pointer;
3
- }
4
- .default.minimenu.disabled {
5
- cursor: default;
6
- }
1
+ .default.minimenu { cursor: pointer; }
2
+ .default.minimenu.disabled { cursor: default; }
7
3
  .default.minimenu > .bg,
8
4
  .default.minimenu > .bg > .w,
9
5
  .default.minimenu > .bg > .c,
@@ -12,37 +8,29 @@
12
8
  position: absolute;
13
9
  top: 0px; height: 15px;
14
10
  }
15
-
16
11
  .default.minimenu > .bg {
17
12
  left: 0px; right: 0px;
18
- cursor: pointer;
19
- }
20
- .disabled .default.minimenu > .bg {
21
- cursor: default;
22
13
  }
23
-
24
14
  .default.minimenu > .bg > .w,
25
15
  .default.minimenu > .bg > .c,
26
16
  .default.minimenu > .bg > .e {
27
17
  background-image: #url(minimenu.png);
28
18
  }
29
-
30
19
  .default.minimenu > .bg > .w {
31
20
  left: 0px; width: 7px;
32
21
  background-position: 0px 0px;
22
+ background-repeat: no-repeat;
33
23
  }
34
-
35
24
  .default.minimenu > .bg > .e {
36
25
  right: 0px; width: 13px;
37
26
  background-position: -7px 0px;
27
+ background-repeat: no-repeat;
38
28
  }
39
-
40
29
  .default.minimenu > .bg > .c {
41
30
  left: 7px; right: 13px;
42
31
  background-position: 0px -15px;
43
32
  background-repeat: repeat-x;
44
33
  }
45
-
46
34
  .default.minimenu > .label {
47
35
  left: 6px; right: 11px; top: 0px;
48
36
  height: 15px; line-height: 15px;
@@ -55,9 +43,5 @@
55
43
  font-size: 11px;
56
44
  color: #333;
57
45
  }
58
- .default.minimenu > .bg:hover > .default.minimenu > .label {
59
- color: #000;
60
- }
61
- .disabled .default.minimenu > .bg {
62
- opacity: 0.8;
63
- }
46
+ .default.minimenu:hover > .label { color: #000; }
47
+ .default.minimenu.disabled > .bg { opacity: 0.8; }
@@ -1,21 +1,18 @@
1
1
  .default.minimenuitem { cursor: pointer; }
2
-
3
2
  .default.minimenuitem:hover { background-color: #fff; }
4
-
5
3
  .default.minimenuitem.disabled { cursor: default; opacity: 0.8; }
6
-
7
4
  .default.minimenuitem > .label,
8
- .default.minimenuitem.state {
5
+ .default.minimenuitem > .state {
9
6
  position: absolute; height: 16px;
10
7
  }
11
- .default.minimenuitem.state {
8
+ .default.minimenuitem > .state {
12
9
  left: 0px; top: 1px; height: 12px; width: 12px;
13
- background-image: #url(minimenuitemitem_checkmark.png);
10
+ background-image: #url(minimenuitem_checkmark.png);
14
11
  }
15
- .default.minimenuitem.state {
12
+ .default.minimenuitem > .state {
16
13
  visibility: hidden;
17
14
  }
18
- .default.minimenuitem.state.checked {
15
+ .default.minimenuitem.checked > .state {
19
16
  visibility: inherit;
20
17
  }
21
18
  .default.minimenuitem > .label {
@@ -1,9 +1,5 @@
1
- .default.popupmenu {
2
- cursor: pointer;
3
- }
4
- .default.popupmenu.disabled {
5
- cursor: default;
6
- }
1
+ .default.popupmenu { cursor: pointer; }
2
+ .default.popupmenu.disabled { cursor: default; }
7
3
  .default.popupmenu > .bg,
8
4
  .default.popupmenu > .bg > .w,
9
5
  .default.popupmenu > .bg > .c,
@@ -12,42 +8,32 @@
12
8
  position: absolute;
13
9
  top: 0px; height: 23px;
14
10
  }
15
-
16
11
  .default.popupmenu > .bg {
17
12
  left: 0px; right: 0px;
18
- cursor: pointer;
19
- }
20
- .default.popupmenu > .disabled .bg {
21
- cursor: default;
22
13
  }
23
-
24
14
  .default.popupmenu > .bg > .w,
25
15
  .default.popupmenu > .bg > .c,
26
16
  .default.popupmenu > .bg > .e {
27
17
  background-image: #url(popupmenu.png);
28
18
  }
29
-
30
19
  .default.popupmenu > .bg > .w {
31
20
  left: 0px; width: 9px;
32
21
  background-position: 0px 0px;
33
22
  background-repeat: no-repeat;
34
23
  }
35
-
36
24
  .default.popupmenu > .bg > .e {
37
25
  right: 0px; width: 17px;
38
26
  background-position: -9px 0px;
39
27
  background-repeat: no-repeat;
40
28
  }
41
-
42
29
  .default.popupmenu > .bg > .c {
43
30
  left: 9px; right: 17px;
44
31
  background-position: 0px -23px;
45
32
  background-repeat: repeat-x;
46
33
  }
47
-
48
34
  .default.popupmenu > .label {
49
35
  left: 13px; right: 11px; top: 0px;
50
- height: 22px;
36
+ height: 22px; line-height: 22px;
51
37
  text-align: left;
52
38
  text-overflow: ellipsis;
53
39
  overflow: hidden;
@@ -56,14 +42,7 @@
56
42
  font-family: Helvetica, Arial, sans-serif;
57
43
  font-size: 12px;
58
44
  color: #333;
59
- line-height: 22px;
60
- }
61
- .default.popupmenu.ie7 > .label{
62
- line-height: 20px;
63
- }
64
- .default.popupmenu > .bg:hover > .label {
65
- color: #000;
66
- }
67
- .default.popupmenu.disabled > .bg {
68
- opacity: 0.6;
69
45
  }
46
+ .default.popupmenu:hover > .label { color: #000; }
47
+ .default.popupmenu.disabled > .bg { opacity: 0.8; }
48
+ .default.popupmenu.ie7 > .label{ line-height: 20px; }
@@ -317,7 +317,11 @@ class ClientPkgBuild
317
317
  if @debug
318
318
  min_size = js_size
319
319
  else
320
- js_data = @jsmin.minimize( js_data ) unless @no_whitespace_removal
320
+ begin
321
+ js_data = @jsmin.minimize( js_data ) unless @no_whitespace_removal
322
+ rescue => e
323
+ warn "JSMin failed for #{src_path} (#{e.inspect}); using uncompressed version."
324
+ end
321
325
  min_size = js_data.bytesize
322
326
  end
323
327
  if is_coffee
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsence-pre
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.10
4
+ version: 3.0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Riassence Inc.
@@ -272,6 +272,13 @@ files:
272
272
  - client/js/lists/propertylist/propertylist.js
273
273
  - client/js/lists/propertylist/propertylisteditor/propertylisteditor.js
274
274
  - client/js/lists/radiobuttonlist/radiobuttonlist.js
275
+ - client/js/media/mediaelement/mediaelement.js
276
+ - client/js/media/mediaelement_defaults/mediaelement_defaults.coffee
277
+ - client/js/media/mediaelement_resources/mediaelement_resources.js
278
+ - client/js/media/mediaelement_resources/themes/mejs/flashmediaelement.swf
279
+ - client/js/media/mediaelement_resources/themes/mejs/mediaelement_resources.css
280
+ - client/js/media/mediaelement_resources/themes/mejs/mediaelement_resources.html
281
+ - client/js/media/mediaelement_resources/themes/mejs/silverlightmediaelement.xap
275
282
  - client/js/menus/combobox/combobox.coffee
276
283
  - client/js/menus/menuitem/menuitem.js
277
284
  - client/js/menus/menuitem/themes/default/menuitem.css