| OLD | NEW |
| 1 library angular.directive; | 1 library angular.directive; |
| 2 | 2 |
| 3 import 'package:di/di.dart'; | 3 import 'package:di/di.dart'; |
| 4 import 'dart:html' as dom; | 4 import 'dart:html' as dom; |
| 5 import 'dart:async' as async; | 5 import 'dart:async' as async; |
| 6 import 'package:intl/intl.dart'; |
| 6 import 'package:angular/core/module.dart'; | 7 import 'package:angular/core/module.dart'; |
| 7 import 'package:angular/core/parser/parser_library.dart'; | 8 import 'package:angular/core/parser/parser.dart'; |
| 8 import 'package:angular/core_dom/module.dart'; | 9 import 'package:angular/core_dom/module.dart'; |
| 9 import 'package:angular/utils.dart'; | 10 import 'package:angular/utils.dart'; |
| 10 | 11 |
| 11 part 'ng_a.dart'; | 12 part 'ng_a.dart'; |
| 12 part 'ng_bind.dart'; | 13 part 'ng_bind.dart'; |
| 13 part 'ng_bind_html.dart'; | 14 part 'ng_bind_html.dart'; |
| 14 part 'ng_bind_template.dart'; | 15 part 'ng_bind_template.dart'; |
| 15 part 'ng_class.dart'; | 16 part 'ng_class.dart'; |
| 16 part 'ng_events.dart'; | 17 part 'ng_events.dart'; |
| 17 part 'ng_cloak.dart'; | 18 part 'ng_cloak.dart'; |
| 18 part 'ng_if.dart'; | 19 part 'ng_if.dart'; |
| 19 part 'ng_include.dart'; | 20 part 'ng_include.dart'; |
| 21 part 'ng_control.dart'; |
| 20 part 'ng_model.dart'; | 22 part 'ng_model.dart'; |
| 23 part 'ng_pluralize.dart'; |
| 21 part 'ng_repeat.dart'; | 24 part 'ng_repeat.dart'; |
| 22 part 'ng_template.dart'; | 25 part 'ng_template.dart'; |
| 23 part 'ng_show_hide.dart'; | 26 part 'ng_show_hide.dart'; |
| 24 part 'ng_src_boolean.dart'; | 27 part 'ng_src_boolean.dart'; |
| 25 part 'ng_style.dart'; | 28 part 'ng_style.dart'; |
| 26 part 'ng_switch.dart'; | 29 part 'ng_switch.dart'; |
| 27 part 'ng_non_bindable.dart'; | 30 part 'ng_non_bindable.dart'; |
| 28 part 'input_select.dart'; | 31 part 'input_select.dart'; |
| 29 part 'ng_form.dart'; | 32 part 'ng_form.dart'; |
| 33 part 'ng_model_validators.dart'; |
| 30 | 34 |
| 31 class NgDirectiveModule extends Module { | 35 class NgDirectiveModule extends Module { |
| 32 NgDirectiveModule() { | 36 NgDirectiveModule() { |
| 33 value(NgADirective, null); | 37 value(NgADirective, null); |
| 34 value(NgBindDirective, null); | 38 value(NgBindDirective, null); |
| 35 value(NgBindTemplateDirective, null); | 39 value(NgBindTemplateDirective, null); |
| 36 value(NgBindHtmlDirective, null); | 40 value(NgBindHtmlDirective, null); |
| 37 value(NgClassDirective, null); | 41 value(NgClassDirective, null); |
| 38 value(NgClassOddDirective, null); | 42 value(NgClassOddDirective, null); |
| 39 value(NgClassEvenDirective, null); | 43 value(NgClassEvenDirective, null); |
| 40 value(NgCloakDirective, null); | 44 value(NgCloakDirective, null); |
| 41 value(NgHideDirective, null); | 45 value(NgHideDirective, null); |
| 42 value(NgIfDirective, null); | 46 value(NgIfDirective, null); |
| 43 value(NgUnlessDirective, null); | 47 value(NgUnlessDirective, null); |
| 44 value(NgIncludeDirective, null); | 48 value(NgIncludeDirective, null); |
| 49 value(NgPluralizeDirective, null); |
| 45 value(NgRepeatDirective, null); | 50 value(NgRepeatDirective, null); |
| 46 value(NgShalowRepeatDirective, null); | 51 value(NgShalowRepeatDirective, null); |
| 47 value(NgShowDirective, null); | 52 value(NgShowDirective, null); |
| 48 value(InputEmailDirective, null); | 53 value(InputTextLikeDirective, null); |
| 49 value(InputNumberDirective, null); | |
| 50 value(InputRadioDirective, null); | 54 value(InputRadioDirective, null); |
| 51 value(InputTextDirective, null); | |
| 52 value(InputPasswordDirective, null); | |
| 53 value(InputUrlDirective, null); | |
| 54 value(InputCheckboxDirective, null); | 55 value(InputCheckboxDirective, null); |
| 55 value(TextAreaDirective, null); | |
| 56 value(InputSelectDirective, null); | 56 value(InputSelectDirective, null); |
| 57 value(OptionValueDirective, null); | 57 value(OptionValueDirective, null); |
| 58 value(ContentEditableDirective, null); |
| 58 value(NgModel, null); | 59 value(NgModel, null); |
| 59 value(NgSwitchDirective, null); | 60 value(NgSwitchDirective, null); |
| 60 value(NgSwitchWhenDirective, null); | 61 value(NgSwitchWhenDirective, null); |
| 61 value(NgSwitchDefaultDirective, null); | 62 value(NgSwitchDefaultDirective, null); |
| 62 | 63 |
| 63 value(NgBooleanAttributeDirective, null); | 64 value(NgBooleanAttributeDirective, null); |
| 64 value(NgSourceDirective, null); | 65 value(NgSourceDirective, null); |
| 66 value(NgAttributeDirective, null); |
| 65 | 67 |
| 66 value(NgEventDirective, null); | 68 value(NgEventDirective, null); |
| 67 value(NgStyleDirective, null); | 69 value(NgStyleDirective, null); |
| 68 value(NgNonBindableDirective, null); | 70 value(NgNonBindableDirective, null); |
| 69 value(NgTemplateDirective, null); | 71 value(NgTemplateDirective, null); |
| 70 value(NgForm, null); | 72 value(NgForm, new NgNullForm()); |
| 73 |
| 74 value(NgModelRequiredValidator, null); |
| 75 value(NgModelUrlValidator, null); |
| 76 value(NgModelEmailValidator, null); |
| 77 value(NgModelNumberValidator, null); |
| 78 value(NgModelPatternValidator, null); |
| 79 value(NgModelMinLengthValidator, null); |
| 80 value(NgModelMaxLengthValidator, null); |
| 71 } | 81 } |
| 72 } | 82 } |
| OLD | NEW |