OLD | NEW |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
2 <link rel="import" href="class_ref.html"> | 2 <link rel="import" href="class_ref.html"> |
3 <link rel="import" href="error_view.html"> | 3 <link rel="import" href="error_view.html"> |
4 <link rel="import" href="eval_box.html"> | 4 <link rel="import" href="eval_box.html"> |
5 <link rel="import" href="eval_link.html"> | 5 <link rel="import" href="eval_link.html"> |
6 <link rel="import" href="field_ref.html"> | 6 <link rel="import" href="field_ref.html"> |
7 <link rel="import" href="function_ref.html"> | 7 <link rel="import" href="function_ref.html"> |
8 <link rel="import" href="inbound_reference.html"> | 8 <link rel="import" href="inbound_reference.html"> |
9 <link rel="import" href="instance_ref.html"> | 9 <link rel="import" href="instance_ref.html"> |
10 <link rel="import" href="observatory_element.html"> | 10 <link rel="import" href="observatory_element.html"> |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 <any-service-ref ref="{{ field['value'] }}"></any-service-re
f> | 159 <any-service-ref ref="{{ field['value'] }}"></any-service-re
f> |
160 </div> | 160 </div> |
161 </div> | 161 </div> |
162 </template> | 162 </template> |
163 </div> | 163 </div> |
164 </curly-block><br><br> | 164 </curly-block><br><br> |
165 </template> | 165 </template> |
166 | 166 |
167 <template if="{{ instance.elements.isNotEmpty }}"> | 167 <template if="{{ instance.elements.isNotEmpty }}"> |
168 elements ({{ instance.elements.length }}) | 168 elements ({{ instance.elements.length }}) |
169 <curly-block expand="{{ instance.elements.length <= 8 }}"> | 169 <curly-block expand="{{ instance.elements.length <= 100 }}"> |
170 <div class="memberList"> | 170 <div class="memberList"> |
171 <template repeat="{{ element in instance.elements }}"> | 171 <template repeat="{{ element in instance.elements }}"> |
172 <div class="memberItem"> | 172 <div class="memberItem"> |
173 <div class="memberName">[{{ element['index']}}]</div> | 173 <div class="memberName">[{{ element['index']}}]</div> |
174 <div class="memberValue"> | 174 <div class="memberValue"> |
175 <any-service-ref ref="{{ element['value'] }}"></any-service-
ref> | 175 <any-service-ref ref="{{ element['value'] }}"></any-service-
ref> |
176 </div> | 176 </div> |
177 </div> | 177 </div> |
178 </template> | 178 </template> |
179 </div> | 179 </div> |
180 </curly-block><br><br> | 180 </curly-block><br><br> |
181 </template> | 181 </template> |
| 182 |
| 183 <template if="{{ instance.associations.isNotEmpty }}"> |
| 184 associations ({{ instance.elements.length }}) |
| 185 <curly-block expand="{{ instance.associations.length <= 100 }}"> |
| 186 <div class="memberList"> |
| 187 <template repeat="{{ association in instance.associations }}"> |
| 188 <div class="memberItem"> |
| 189 <div class="memberValue"> |
| 190 [<any-service-ref ref="{{ association['key'] }}"></any-servi
ce-ref>] |
| 191 </div> |
| 192 <div class="memberValue"> |
| 193 <any-service-ref ref="{{ association['value'] }}"></any-serv
ice-ref> |
| 194 </div> |
| 195 </div> |
| 196 </template> |
| 197 </div> |
| 198 </curly-block><br><br> |
| 199 </template> |
| 200 |
182 </div> | 201 </div> |
183 | 202 |
184 </template> | 203 </template> |
185 <view-footer></view-footer> | 204 <view-footer></view-footer> |
186 </template> | 205 </template> |
187 </polymer-element> | 206 </polymer-element> |
188 | 207 |
189 <script type="application/dart" src="instance_view.dart"></script> | 208 <script type="application/dart" src="instance_view.dart"></script> |
OLD | NEW |