1
1
/*!
2
- * angular-formly JavaScript Library v8.0.4
2
+ * angular-formly JavaScript Library v8.0.5
3
3
*
4
4
* @license MIT (http://license.angular-formly.com)
5
5
*
@@ -153,7 +153,7 @@ return /******/ (function(modules) { // webpackBootstrap
153
153
154
154
ngModule . constant ( 'formlyApiCheck' , _providersFormlyApiCheck2 [ 'default' ] ) ;
155
155
ngModule . constant ( 'formlyErrorAndWarningsUrlPrefix' , _otherDocsBaseUrl2 [ 'default' ] ) ;
156
- ngModule . constant ( 'formlyVersion' , ( "8.0.4 " ) ) ; // <-- webpack variable
156
+ ngModule . constant ( 'formlyVersion' , ( "8.0.5 " ) ) ; // <-- webpack variable
157
157
158
158
ngModule . provider ( 'formlyUsability' , _providersFormlyUsability2 [ 'default' ] ) ;
159
159
ngModule . provider ( 'formlyConfig' , _providersFormlyConfig2 [ 'default' ] ) ;
@@ -430,7 +430,7 @@ return /******/ (function(modules) { // webpackBootstrap
430
430
Object . defineProperty ( exports , "__esModule" , {
431
431
value : true
432
432
} ) ;
433
- exports [ "default" ] = "https://github.com/formly-js/angular-formly/blob/" + ( "8.0.4 " ) + "/other/ERRORS_AND_WARNINGS.md#" ;
433
+ exports [ "default" ] = "https://github.com/formly-js/angular-formly/blob/" + ( "8.0.5 " ) + "/other/ERRORS_AND_WARNINGS.md#" ;
434
434
module . exports = exports [ "default" ] ;
435
435
436
436
/***/ } ,
@@ -439,6 +439,7 @@ return /******/ (function(modules) { // webpackBootstrap
439
439
440
440
'use strict' ;
441
441
442
+ formlyUsability . $inject = [ "formlyApiCheck" , "formlyErrorAndWarningsUrlPrefix" ] ;
442
443
Object . defineProperty ( exports , '__esModule' , {
443
444
value : true
444
445
} ) ;
@@ -505,7 +506,6 @@ return /******/ (function(modules) { // webpackBootstrap
505
506
}
506
507
}
507
508
}
508
- formlyUsability . $inject = [ "formlyApiCheck" , "formlyErrorAndWarningsUrlPrefix" ] ;
509
509
module . exports = exports [ 'default' ] ;
510
510
511
511
/***/ } ,
@@ -514,6 +514,7 @@ return /******/ (function(modules) { // webpackBootstrap
514
514
515
515
'use strict' ;
516
516
517
+ formlyConfig . $inject = [ "formlyUsabilityProvider" , "formlyErrorAndWarningsUrlPrefix" , "formlyApiCheck" ] ;
517
518
Object . defineProperty ( exports , '__esModule' , {
518
519
value : true
519
520
} ) ;
@@ -832,7 +833,6 @@ return /******/ (function(modules) { // webpackBootstrap
832
833
}
833
834
}
834
835
}
835
- formlyConfig . $inject = [ "formlyUsabilityProvider" , "formlyErrorAndWarningsUrlPrefix" , "formlyApiCheck" ] ;
836
836
module . exports = exports [ 'default' ] ;
837
837
838
838
/***/ } ,
@@ -1061,6 +1061,7 @@ return /******/ (function(modules) { // webpackBootstrap
1061
1061
1062
1062
'use strict' ;
1063
1063
1064
+ formlyWarn . $inject = [ "formlyConfig" , "formlyErrorAndWarningsUrlPrefix" , "$log" ] ;
1064
1065
Object . defineProperty ( exports , '__esModule' , {
1065
1066
value : true
1066
1067
} ) ;
@@ -1081,7 +1082,6 @@ return /******/ (function(modules) { // webpackBootstrap
1081
1082
}
1082
1083
} ;
1083
1084
}
1084
- formlyWarn . $inject = [ "formlyConfig" , "formlyErrorAndWarningsUrlPrefix" , "$log" ] ;
1085
1085
module . exports = exports [ 'default' ] ;
1086
1086
1087
1087
/***/ } ,
@@ -1090,6 +1090,7 @@ return /******/ (function(modules) { // webpackBootstrap
1090
1090
1091
1091
'use strict' ;
1092
1092
1093
+ formlyCustomValidation . $inject = [ "formlyUtil" ] ;
1093
1094
Object . defineProperty ( exports , '__esModule' , {
1094
1095
value : true
1095
1096
} ) ;
@@ -1180,7 +1181,6 @@ return /******/ (function(modules) { // webpackBootstrap
1180
1181
}
1181
1182
} ;
1182
1183
}
1183
- formlyCustomValidation . $inject = [ "formlyUtil" ] ;
1184
1184
module . exports = exports [ 'default' ] ;
1185
1185
1186
1186
/***/ } ,
@@ -1189,6 +1189,7 @@ return /******/ (function(modules) { // webpackBootstrap
1189
1189
1190
1190
'use strict' ;
1191
1191
1192
+ formlyField . $inject = [ "$http" , "$q" , "$compile" , "$templateCache" , "$interpolate" , "formlyConfig" , "formlyApiCheck" , "formlyUtil" , "formlyUsability" , "formlyWarn" ] ;
1192
1193
Object . defineProperty ( exports , '__esModule' , {
1193
1194
value : true
1194
1195
} ) ;
@@ -1214,9 +1215,9 @@ return /******/ (function(modules) { // webpackBootstrap
1214
1215
*/
1215
1216
// @ngInject
1216
1217
function formlyField ( $http , $q , $compile , $templateCache , $interpolate , formlyConfig , formlyApiCheck , formlyUtil , formlyUsability , formlyWarn ) {
1218
+ FormlyFieldController . $inject = [ "$scope" , "$timeout" , "$parse" , "$controller" , "formlyValidationMessages" ] ;
1217
1219
var arrayify = formlyUtil . arrayify ;
1218
1220
1219
- FormlyFieldController . $inject = [ "$scope" , "$timeout" , "$parse" , "$controller" , "formlyValidationMessages" ] ;
1220
1221
return {
1221
1222
restrict : 'AE' ,
1222
1223
transclude : true ,
@@ -1309,7 +1310,7 @@ return /******/ (function(modules) { // webpackBootstrap
1309
1310
1310
1311
function parseSet ( key , model , newVal ) {
1311
1312
// If either of these are null/undefined then just return undefined
1312
- if ( ! key || ! model ) {
1313
+ if ( ! key && key !== 0 || ! model ) {
1313
1314
return ;
1314
1315
}
1315
1316
// If we are working with a number then $parse wont work, default back to the old way for now
@@ -1326,7 +1327,7 @@ return /******/ (function(modules) { // webpackBootstrap
1326
1327
1327
1328
function parseGet ( key , model ) {
1328
1329
// If either of these are null/undefined then just return undefined
1329
- if ( ! key || ! model ) {
1330
+ if ( ! key && key !== 0 || ! model ) {
1330
1331
return undefined ;
1331
1332
}
1332
1333
@@ -1948,7 +1949,6 @@ return /******/ (function(modules) { // webpackBootstrap
1948
1949
} ) ;
1949
1950
}
1950
1951
}
1951
- formlyField . $inject = [ "$http" , "$q" , "$compile" , "$templateCache" , "$interpolate" , "formlyConfig" , "formlyApiCheck" , "formlyUtil" , "formlyUsability" , "formlyWarn" ] ;
1952
1952
1953
1953
// Stateless util functions
1954
1954
function getDefaultOptionsOptionsTypes ( type ) {
@@ -1966,6 +1966,7 @@ return /******/ (function(modules) { // webpackBootstrap
1966
1966
1967
1967
'use strict' ;
1968
1968
1969
+ formlyFocus . $inject = [ "$timeout" , "$document" ] ;
1969
1970
Object . defineProperty ( exports , '__esModule' , {
1970
1971
value : true
1971
1972
} ) ;
@@ -1998,7 +1999,6 @@ return /******/ (function(modules) { // webpackBootstrap
1998
1999
}
1999
2000
} ;
2000
2001
}
2001
- formlyFocus . $inject = [ "$timeout" , "$document" ] ;
2002
2002
module . exports = exports [ 'default' ] ;
2003
2003
2004
2004
/***/ } ,
@@ -2007,6 +2007,7 @@ return /******/ (function(modules) { // webpackBootstrap
2007
2007
2008
2008
'use strict' ;
2009
2009
2010
+ formlyForm . $inject = [ "formlyUsability" , "formlyWarn" , "$parse" , "formlyConfig" , "$interpolate" ] ;
2010
2011
Object . defineProperty ( exports , '__esModule' , {
2011
2012
value : true
2012
2013
} ) ;
@@ -2029,8 +2030,8 @@ return /******/ (function(modules) { // webpackBootstrap
2029
2030
*/
2030
2031
// @ngInject
2031
2032
function formlyForm ( formlyUsability , formlyWarn , $parse , formlyConfig , $interpolate ) {
2032
- var currentFormId = 1 ;
2033
2033
FormlyFormController . $inject = [ "$scope" , "formlyApiCheck" , "formlyUtil" ] ;
2034
+ var currentFormId = 1 ;
2034
2035
return {
2035
2036
restrict : 'AE' ,
2036
2037
template : formlyFormGetTemplate ,
@@ -2477,7 +2478,6 @@ return /******/ (function(modules) { // webpackBootstrap
2477
2478
return field && ! ! field . fieldGroup ;
2478
2479
}
2479
2480
}
2480
- formlyForm . $inject = [ "formlyUsability" , "formlyWarn" , "$parse" , "formlyConfig" , "$interpolate" ] ;
2481
2481
module . exports = exports [ 'default' ] ;
2482
2482
2483
2483
/***/ } ,
@@ -2486,6 +2486,7 @@ return /******/ (function(modules) { // webpackBootstrap
2486
2486
2487
2487
'use strict' ;
2488
2488
2489
+ addFormlyNgModelAttrsManipulator . $inject = [ "formlyConfig" , "$interpolate" ] ;
2489
2490
Object . defineProperty ( exports , '__esModule' , {
2490
2491
value : true
2491
2492
} ) ;
@@ -2726,7 +2727,6 @@ return /******/ (function(modules) { // webpackBootstrap
2726
2727
return ( 0 , _otherUtils . contains ) ( key , '.' ) || ( 0 , _otherUtils . contains ) ( key , '[' ) && ( 0 , _otherUtils . contains ) ( key , ']' ) ;
2727
2728
}
2728
2729
}
2729
- addFormlyNgModelAttrsManipulator . $inject = [ "formlyConfig" , "$interpolate" ] ;
2730
2730
module . exports = exports [ 'default' ] ;
2731
2731
2732
2732
/***/ } ,
@@ -2735,6 +2735,7 @@ return /******/ (function(modules) { // webpackBootstrap
2735
2735
2736
2736
'use strict' ;
2737
2737
2738
+ addCustomTags . $inject = [ "$document" ] ;
2738
2739
Object . defineProperty ( exports , '__esModule' , {
2739
2740
value : true
2740
2741
} ) ;
@@ -2762,7 +2763,6 @@ return /******/ (function(modules) { // webpackBootstrap
2762
2763
} ) ( ) ;
2763
2764
}
2764
2765
}
2765
- addCustomTags . $inject = [ "$document" ] ;
2766
2766
module . exports = exports [ 'default' ] ;
2767
2767
2768
2768
/***/ }
0 commit comments