diff options
Diffstat (limited to 'js')
8 files changed, 164 insertions, 21 deletions
diff --git a/js/components/treeview/ninja-leaf.reel/ninja-leaf.js b/js/components/treeview/ninja-leaf.reel/ninja-leaf.js index 1bfe66a4..652d3bc0 100644 --- a/js/components/treeview/ninja-leaf.reel/ninja-leaf.js +++ b/js/components/treeview/ninja-leaf.reel/ninja-leaf.js | |||
@@ -8,9 +8,12 @@ var Montage = require("montage/core/core").Montage, | |||
8 | TreeNode = require("js/components/treeview/tree-node").TreeNode; | 8 | TreeNode = require("js/components/treeview/tree-node").TreeNode; |
9 | 9 | ||
10 | exports.Leaf = Montage.create(TreeNode, { | 10 | exports.Leaf = Montage.create(TreeNode, { |
11 | hasTemplate: { | 11 | |
12 | value: true | 12 | label: { |
13 | value: null, | ||
14 | serializable: true | ||
13 | }, | 15 | }, |
16 | |||
14 | templateDidLoad : { | 17 | templateDidLoad : { |
15 | value: function() { | 18 | value: function() { |
16 | var event = this.treeView.activationEvent; | 19 | var event = this.treeView.activationEvent; |
diff --git a/js/components/ui/icon-list-basic/icon.reel/icon.js b/js/components/ui/icon-list-basic/icon.reel/icon.js index 7d36bc59..cfda4a1a 100755 --- a/js/components/ui/icon-list-basic/icon.reel/icon.js +++ b/js/components/ui/icon-list-basic/icon.reel/icon.js | |||
@@ -7,7 +7,17 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
7 | var Montage = require("montage/core/core").Montage; | 7 | var Montage = require("montage/core/core").Montage; |
8 | var Component = require("montage/ui/component").Component; | 8 | var Component = require("montage/ui/component").Component; |
9 | 9 | ||
10 | var Icon = exports.Icon = Montage.create(Component, { | 10 | exports.Icon = Montage.create(Component, { |
11 | |||
12 | iconImg: { | ||
13 | value: null, | ||
14 | serializable: true | ||
15 | }, | ||
16 | |||
17 | iconLabel: { | ||
18 | value: null, | ||
19 | serializable: true | ||
20 | }, | ||
11 | 21 | ||
12 | _icondata:{ | 22 | _icondata:{ |
13 | enumerable : false, | 23 | enumerable : false, |
diff --git a/js/components/ui/icon-list-basic/iconsList.reel/iconsList.html b/js/components/ui/icon-list-basic/iconsList.reel/iconsList.html index 05d3ea7d..9d4e0103 100755 --- a/js/components/ui/icon-list-basic/iconsList.reel/iconsList.html +++ b/js/components/ui/icon-list-basic/iconsList.reel/iconsList.html | |||
@@ -16,16 +16,8 @@ | |||
16 | "element": {"#": "icon"} | 16 | "element": {"#": "icon"} |
17 | }, | 17 | }, |
18 | "bindings": { | 18 | "bindings": { |
19 | "icondata": { | 19 | "icondata": {"<-": "@repetition1.objectAtCurrentIteration"}, |
20 | "boundObject": {"@": "repetition1"}, | 20 | "selectedUri": {"<-": "@owner.selected"} |
21 | "boundObjectPropertyPath": "objectAtCurrentIteration", | ||
22 | "oneway": true | ||
23 | }, | ||
24 | "selectedUri": { | ||
25 | "boundObject": {"@": "owner"}, | ||
26 | "boundObjectPropertyPath": "selected", | ||
27 | "oneway": true | ||
28 | } | ||
29 | } | 21 | } |
30 | }, | 22 | }, |
31 | 23 | ||
@@ -35,20 +27,14 @@ | |||
35 | "element": {"#": "iconsView"} | 27 | "element": {"#": "iconsView"} |
36 | }, | 28 | }, |
37 | "bindings": { | 29 | "bindings": { |
38 | "objects": { | 30 | "objects": {"<-": "@owner.iconsViewDataObject"} |
39 | "boundObject": {"@": "owner"}, | ||
40 | "boundObjectPropertyPath": "iconsViewDataObject", | ||
41 | "oneway": true | ||
42 | } | ||
43 | } | 31 | } |
44 | |||
45 | }, | 32 | }, |
46 | 33 | ||
47 | "owner" : { | 34 | "owner" : { |
48 | "prototype" : "js/components/ui/icon-list-basic/iconsList.reel", | 35 | "prototype" : "js/components/ui/icon-list-basic/iconsList.reel", |
49 | "properties" : { | 36 | "properties" : { |
50 | "element" : {"#": "list"}, | 37 | "element" : {"#": "list"} |
51 | "components": [{"@": "repetition1"}] | ||
52 | } | 38 | } |
53 | } | 39 | } |
54 | } | 40 | } |
diff --git a/js/components/ui/icon-list-basic/iconsList.reel/iconsList.js b/js/components/ui/icon-list-basic/iconsList.reel/iconsList.js index d36aa40f..230c7f64 100755 --- a/js/components/ui/icon-list-basic/iconsList.reel/iconsList.js +++ b/js/components/ui/icon-list-basic/iconsList.reel/iconsList.js | |||
@@ -9,6 +9,10 @@ var Component = require("montage/ui/component").Component; | |||
9 | 9 | ||
10 | var IconsList = exports.IconsList = Montage.create(Component, { | 10 | var IconsList = exports.IconsList = Montage.create(Component, { |
11 | 11 | ||
12 | components: { | ||
13 | value: null | ||
14 | }, | ||
15 | |||
12 | anItemData:{ | 16 | anItemData:{ |
13 | enumerable:true, | 17 | enumerable:true, |
14 | value: null | 18 | value: null |
diff --git a/js/io/ui/file-picker/file-input-field.reel/file-input-field.js b/js/io/ui/file-picker/file-input-field.reel/file-input-field.js index a5fab11c..11d7e5b2 100755 --- a/js/io/ui/file-picker/file-input-field.reel/file-input-field.js +++ b/js/io/ui/file-picker/file-input-field.reel/file-input-field.js | |||
@@ -9,6 +9,16 @@ var Montage = require("montage/core/core").Montage, | |||
9 | 9 | ||
10 | var FileInputField = exports.FileInputField = Montage.create(Component, { | 10 | var FileInputField = exports.FileInputField = Montage.create(Component, { |
11 | 11 | ||
12 | findDirectory: { | ||
13 | value: null, | ||
14 | serializable: true | ||
15 | }, | ||
16 | |||
17 | newFileDirectory: { | ||
18 | value: null, | ||
19 | serializable: true | ||
20 | }, | ||
21 | |||
12 | didDraw: { | 22 | didDraw: { |
13 | enumerable: false, | 23 | enumerable: false, |
14 | value: function() { | 24 | value: function() { |
diff --git a/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js b/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js index 945b0301..8295c68e 100644 --- a/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js +++ b/js/io/ui/file-picker/picker-navigator.reel/picker-navigator.js | |||
@@ -11,6 +11,86 @@ var Montage = require("montage/core/core").Montage, | |||
11 | 11 | ||
12 | var PickerNavigator = exports.PickerNavigator = Montage.create(Component, { | 12 | var PickerNavigator = exports.PickerNavigator = Montage.create(Component, { |
13 | 13 | ||
14 | filterVal: { | ||
15 | value: null, | ||
16 | serializable: true | ||
17 | }, | ||
18 | |||
19 | error: { | ||
20 | value: null, | ||
21 | serializable: true | ||
22 | }, | ||
23 | |||
24 | addressBarUri: { | ||
25 | value: null, | ||
26 | serializable: true | ||
27 | }, | ||
28 | |||
29 | forwardArrow: { | ||
30 | value: null, | ||
31 | serializable: true | ||
32 | }, | ||
33 | |||
34 | backArrow: { | ||
35 | value: null, | ||
36 | serializable: true | ||
37 | }, | ||
38 | |||
39 | leftNav: { | ||
40 | value: null, | ||
41 | serializable: true | ||
42 | }, | ||
43 | |||
44 | iconViewContainer: { | ||
45 | value: null, | ||
46 | serializable: true | ||
47 | }, | ||
48 | |||
49 | iconView: { | ||
50 | value: null, | ||
51 | serializable: true | ||
52 | }, | ||
53 | |||
54 | treeView: { | ||
55 | value: null, | ||
56 | serializable: true | ||
57 | }, | ||
58 | |||
59 | treeViewContainer: { | ||
60 | value: null, | ||
61 | serializable: true | ||
62 | }, | ||
63 | |||
64 | okButton: { | ||
65 | value: null, | ||
66 | serializable: true | ||
67 | }, | ||
68 | |||
69 | metadataSection: { | ||
70 | value: null, | ||
71 | serializable: true | ||
72 | }, | ||
73 | |||
74 | filters: { | ||
75 | value: null, | ||
76 | serializable: true | ||
77 | }, | ||
78 | |||
79 | refreshButton: { | ||
80 | value: null, | ||
81 | serializable: true |