aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-05 00:11:03 -0700
committerValerio Virgillito2012-06-05 00:11:03 -0700
commitf7e4257745ccd44b8d24555f0ef787429d6e472c (patch)
tree1965bbb794036a8d6184630c188a34f7a6d956e0 /node_modules/montage/ui
parentc1ec69879028220b0c3f11ad6e24035bf527802c (diff)
downloadninja-f7e4257745ccd44b8d24555f0ef787429d6e472c.tar.gz
adding the latest v0.10 montage
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui')
-rw-r--r--node_modules/montage/ui/autocomplete/autocomplete.reel/autocomplete.js15
-rw-r--r--node_modules/montage/ui/autocomplete/results-list.reel/results-list.html11
-rw-r--r--node_modules/montage/ui/bluemoon/button-group.reel/button-group.html2
-rw-r--r--node_modules/montage/ui/bluemoon/button.reel/button.html2
-rw-r--r--node_modules/montage/ui/bluemoon/progress.reel/progress.html1
-rw-r--r--node_modules/montage/ui/bluemoon/progress.reel/progress.js11
-rw-r--r--node_modules/montage/ui/bluemoon/slider.reel/slider.html2
-rw-r--r--node_modules/montage/ui/bluemoon/slider.reel/slider.js267
-rw-r--r--node_modules/montage/ui/button.reel/button.js2
-rwxr-xr-xnode_modules/montage/ui/component.js22
-rw-r--r--node_modules/montage/ui/composer/composer.js9
-rw-r--r--node_modules/montage/ui/composer/translate-composer.js99
-rwxr-xr-xnode_modules/montage/ui/condition.reel/condition.js13
-rw-r--r--node_modules/montage/ui/controller/array-controller.js247
-rwxr-xr-xnode_modules/montage/ui/controller/paged-array-controller.js260
-rwxr-xr-xnode_modules/montage/ui/dynamic-text.reel/dynamic-text.js6
-rwxr-xr-xnode_modules/montage/ui/editable-text.js3
-rw-r--r--node_modules/montage/ui/flow.reel/flow.html11
-rw-r--r--node_modules/montage/ui/flow.reel/flow.js44
-rwxr-xr-xnode_modules/montage/ui/list.reel/list.html6
-rwxr-xr-xnode_modules/montage/ui/list.reel/list.js24
-rwxr-xr-xnode_modules/montage/ui/loader.reel/loader.js5
-rwxr-xr-xnode_modules/montage/ui/loading-panel.reel/loading-panel.html11
-rwxr-xr-xnode_modules/montage/ui/loading.reel/loading.html2
-rwxr-xr-xnode_modules/montage/ui/loading.reel/loading.js3
-rw-r--r--node_modules/montage/ui/native-control.js50
-rwxr-xr-xnode_modules/montage/ui/popup/alert.reel/alert.html10
-rwxr-xr-xnode_modules/montage/ui/popup/confirm.reel/confirm.html8
-rwxr-xr-xnode_modules/montage/ui/popup/notifier.reel/notifier.html2
-rwxr-xr-xnode_modules/montage/ui/popup/notifier.reel/notifier.js6
-rwxr-xr-xnode_modules/montage/ui/popup/popup.reel/popup.html4
-rwxr-xr-xnode_modules/montage/ui/popup/popup.reel/popup.js41
-rwxr-xr-xnode_modules/montage/ui/repetition.reel/repetition.js188
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-linkpopup.reel/rich-text-linkpopup.html4
-rw-r--r--node_modules/montage/ui/rich-text-editor/overlays/rich-text-resizer.reel/rich-text-resizer.html4
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor-base.js2
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.css7
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.html4
-rw-r--r--node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.js6
-rw-r--r--node_modules/montage/ui/scroll-bars.reel/scroll-bars.html1
-rw-r--r--node_modules/montage/ui/scroll-bars.reel/scroll-bars.js61
-rw-r--r--node_modules/montage/ui/scroller.reel/scroller.html12
-rw-r--r--node_modules/montage/ui/scroller.reel/scroller.js32
-rw-r--r--node_modules/montage/ui/select-input.reel/select-input.js27
-rw-r--r--node_modules/montage/ui/skeleton/range-input.reel/range-input.css6
-rw-r--r--node_modules/montage/ui/skeleton/range-input.reel/range-input.html6
-rw-r--r--node_modules/montage/ui/skeleton/range-input.reel/range-input.js173
-rwxr-xr-xnode_modules/montage/ui/slot.reel/slot.js13
-rwxr-xr-xnode_modules/montage/ui/substitution.reel/substitution.js10
-rwxr-xr-xnode_modules/montage/ui/tabs.reel/tabs.html6
-rwxr-xr-xnode_modules/montage/ui/tabs.reel/tabs.js21
-rwxr-xr-xnode_modules/montage/ui/template.js13
-rw-r--r--node_modules/montage/ui/text-input.js43
-rw-r--r--node_modules/montage/ui/toggle-button.reel/toggle-button.js50
-rw-r--r--node_modules/montage/ui/token-field/token-field.reel/token-field.html12
-rw-r--r--node_modules/montage/ui/token-field/token-field.reel/token-field.js24
-rw-r--r--node_modules/montage/ui/token-field/token.reel/token.html6
-rw-r--r--node_modules/montage/ui/token-field/token.reel/token.js65
-rwxr-xr-xnode_modules/montage/ui/video-player.reel/video-player.html44
59 files changed, 933 insertions, 1106 deletions
diff --git a/node_modules/montage/ui/autocomplete/autocomplete.reel/autocomplete.js b/node_modules/montage/ui/autocomplete/autocomplete.reel/autocomplete.js
index c9cbca74..4e2dd82e 100644
--- a/node_modules/montage/ui/autocomplete/autocomplete.reel/autocomplete.js
+++ b/node_modules/montage/ui/autocomplete/autocomplete.reel/autocomplete.js
@@ -70,7 +70,6 @@ var Autocomplete = exports.Autocomplete = Montage.create(TextInput, {
70 70
71 _delay: {value: null}, 71 _delay: {value: null},
72 delay: { 72 delay: {
73 distinct: true,
74 get: function(){ 73 get: function(){
75 return this._delay; 74 return this._delay;
76 }, 75 },
@@ -81,7 +80,8 @@ var Autocomplete = exports.Autocomplete = Montage.create(TextInput, {
81 } 80 }
82 this._delay = value; 81 this._delay = value;
83 } 82 }
84 } 83 },
84 serializable: true
85 }, 85 },
86 86
87 /** 87 /**
@@ -89,7 +89,8 @@ var Autocomplete = exports.Autocomplete = Montage.create(TextInput, {
89 * Default = 2 89 * Default = 2
90 */ 90 */
91 minLength: { 91 minLength: {
92 value: null 92 value: null,
93 serializable: true
93 }, 94 },
94 95
95 _tokens: {value: null}, 96 _tokens: {value: null},
@@ -104,8 +105,7 @@ var Autocomplete = exports.Autocomplete = Montage.create(TextInput, {
104 }, 105 },
105 modify: function(v) { 106 modify: function(v) {
106 this._tokens = v; 107 this._tokens = v;
107 }, 108 }
108 distinct: true
109 }, 109 },
110 110
111 // overridden here to get the substring/searchString 111 // overridden here to get the substring/searchString
@@ -241,7 +241,6 @@ var Autocomplete = exports.Autocomplete = Montage.create(TextInput, {
241 241
242 _suggestedValue: {value: null}, 242 _suggestedValue: {value: null},
243 suggestedValue: { 243 suggestedValue: {
244 distinct: true,
245 enumerable: false, 244 enumerable: false,
246 get: function() { 245 get: function() {
247 return this._suggestedValue; 246 return this._suggestedValue;
@@ -443,7 +442,9 @@ var Autocomplete = exports.Autocomplete = Montage.create(TextInput, {
443 fn.call(this); 442 fn.call(this);
444 443
445 if (!this._valueSyncedWithInputField) { 444 if (!this._valueSyncedWithInputField) {
446 this.value = this.tokens.join(this.separator); 445 if(this.tokens) {
446 this.value = this.tokens.join(this.separator);
447 }
447 if(this.value && this.value.charAt(this.value.length-1) != this.separator) { 448 if(this.value && this.value.charAt(this.value.length-1) != this.separator) {
448 this.value += this.separator; 449 this.value += this.separator;
449 } 450 }
diff --git a/node_modules/montage/ui/autocomplete/results-list.reel/results-list.html b/node_modules/montage/ui/autocomplete/results-list.reel/results-list.html
index 2f904d62..c40d36ce 100644
--- a/node_modules/montage/ui/autocomplete/results-list.reel/results-list.html
+++ b/node_modules/montage/ui/autocomplete/results-list.reel/results-list.html
@@ -9,21 +9,20 @@
9{ 9{
10 10
11 "results": { 11 "results": {
12 "prototype": "montage/ui/controller/array-controller", 12 "prototype": "ui/controller/array-controller",
13 "properties": { 13 "properties": {
14 "selectObjectsOnAddition": true, 14 "selectObjectsOnAddition": true,
15 "automaticallyOrganizeObjects": true 15 "automaticallyOrganizeObjects": true
16 } 16 }
17 }, 17 },
18 "repetition1": { 18 "repetition1": {
19 "prototype": "montage/ui/repetition.reel", 19 "prototype": "ui/repetition.reel",
20 "properties": { 20 "properties": {
21 "element": { 21 "element": {
22 "#": "repetition1" 22 "#": "repetition1"
23 }, 23 },
24 "contentController": {"@": "results"}, 24 "contentController": {"@": "results"},
25 "isSelectionEnabled": true, 25 "isSelectionEnabled": true
26 "orientation": "vertical"
27 }, 26 },
28 "bindings": { 27 "bindings": {
29 "contentController": {"<-": "@owner.contentController"}, 28 "contentController": {"<-": "@owner.contentController"},
@@ -32