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