vsavkin
|
79994b2abf
|
refactor(forms): use multibindings instead of query to get a list of validators
BREAKING CHANGE
Before:
@Directive({selector: '[credit-card]', bindings: [new Binding(NgValidator, {toAlias: forwardRef(() => CreditCardValidator)})]})
class CreditCardValidator {
get validator() { return CreditCardValidator.validate; }
static validate(c): StringMap<string, boolean> {...}
}
After:
function creditCardValidator(c): StringMap<string, boolean> {...}
@Directive({selector: '[credit-card]', bindings: [new Binding(NG_VALIDATORS, {toValue: creditCardValidator, multi: true})]})
class CreditCardValidator {}
|
2015-09-03 15:18:18 +00:00 |
Misko Hevery
|
e916836261
|
chore(ts2dart): replace List with Array
Closes #3514
|
2015-08-31 21:32:10 +00:00 |
Jeff Cross
|
8ed22ce6e7
|
chore: update all import paths
|
2015-08-25 15:33:23 -07:00 |
Misko Hevery
|
60af19f0e1
|
refactor: rename all const to UPPER_CASE
Closes #3573
BREAKING CHANGE
Rename:
- `appComponentTypeToken` => `APP_COMPONENT`
- `coreDirectives` => `CORE_DIRECTIVES`
- `formDirectives` => `FORM_DIRECTIVES`
- `formInjectables` => `FORM_BINDINGS`
- `httpInjectables` => `HTTP_BINDINGS`
- `jsonpInjectables` => `JSONP_BINDINGS`
- `PROTO_CHANGE_DETECTOR_KEY` => `PROTO_CHANGE_DETECTOR`
- `appComponentRefPromiseToken` => `APP_COMPONENT_REF_PROMISE`
- `appComponentTypeToken` => `APP_COMPONENT`
- `undefinedValue` => `UNDEFINED`
- `formDirectives` => `FORM_DIRECTIVES`
- `DOCUMENT_TOKEN` => `DOCUMENT`
- `APP_ID_TOKEN` => `APP_ID`
- `MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE_TOKEN` => `MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE`
- `appBaseHrefToken` => `APP_BASE_HREF`
|
2015-08-13 21:18:31 +00:00 |
Tim Blasi
|
f74d97e1f1
|
feat(forms): Export NgSelectOption directive
Make the `NgSelectOption` directive visible from top-level forms module.
|
2015-07-17 15:24:10 -07:00 |
Peter Bacon Darwin
|
2e4a2a0e5a
|
chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags
|
2015-07-11 07:21:46 +01:00 |
vsavkin
|
b54e7214f0
|
chore: removed angular2.api.ts
BREACKING CHANGE:
We export InjectMetadata instead of InjectAnnotation
|
2015-07-09 13:54:07 -07:00 |
vsavkin
|
3f7ebde037
|
feat(forms): changed all form directives to have basic control attributes
|
2015-07-08 12:04:38 -07:00 |
vsavkin
|
fa7a3e3449
|
cleanup: explicitly export symbols from di, cd, forms
|
2015-06-19 16:59:40 -07:00 |
vsavkin
|
4fe919335c
|
refactor(forms): made directive names consistent
|
2015-06-12 09:45:55 -07:00 |
gdi2290
|
a6cb86bab3
|
feat(forms.ts): formInjectables with FormBuilder
Closes #2367
|
2015-06-10 16:13:37 -07:00 |
vsavkin
|
00c3693daa
|
feat(forms): migrated forms to typescript
|
2015-05-21 13:55:15 -07:00 |