|
1 | | -/*! angular-formly-material v0.14.1 | MIT | built with ♥ by Kamil Kisiela <[email protected]> */ |
| 1 | +/*! angular-formly-material v0.14.2 | MIT | built with ♥ by Kamil Kisiela <[email protected]> */ |
2 | 2 | (function webpackUniversalModuleDefinition(root, factory) { |
3 | 3 | if(typeof exports === 'object' && typeof module === 'object') |
4 | 4 | module.exports = factory(require("angular")); |
@@ -228,7 +228,7 @@ return /******/ (function(modules) { // webpackBootstrap |
228 | 228 | field.ngModelAttrs = {}; |
229 | 229 | } |
230 | 230 |
|
231 | | - if (typeof field.templateOptions[name] !== 'undefined') { |
| 231 | + if (field.templateOptions && typeof field.templateOptions[name] !== 'undefined') { |
232 | 232 | field.ngModelAttrs[name] = settings; |
233 | 233 | } |
234 | 234 | } |
@@ -330,7 +330,7 @@ return /******/ (function(modules) { // webpackBootstrap |
330 | 330 | /* 9 */ |
331 | 331 | /***/ function(module, exports) { |
332 | 332 |
|
333 | | - module.exports = "<label for=\"{{id}}\" ng-style=\"['input', 'textarea', 'select'].indexOf(options.type) === -1 && {'font-size':'12px', 'color': 'rgb(117, 117, 117)'}\">\r\n {{to.label}}\r\n</label>\r\n<formly-transclude></formly-transclude>\r\n"; |
| 333 | + module.exports = "<label for=\"{{id}}\" ng-style=\"['input', 'textarea', 'select'].indexOf(options.type) === -1 && {'font-size':'12px', 'color': 'rgb(117, 117, 117)', 'padding-left': '3px'}\">\n {{to.label}}\n</label>\n<formly-transclude></formly-transclude>\n"; |
334 | 334 |
|
335 | 335 | /***/ }, |
336 | 336 | /* 10 */ |
@@ -359,7 +359,7 @@ return /******/ (function(modules) { // webpackBootstrap |
359 | 359 | /* 11 */ |
360 | 360 | /***/ function(module, exports) { |
361 | 361 |
|
362 | | - module.exports = "<formly-transclude></formly-transclude>\r\n<div ng-messages=\"fc.$error\" ng-show=\"showError\">\r\n <div ng-repeat=\"(name, message) in ::options.validation.messages\"\r\n ng-message-exp=\"name\">\r\n {{message(fc.$viewValue, fc.$modelValue, this)}}\r\n </div>\r\n</div>\r\n"; |
| 362 | + module.exports = "<formly-transclude></formly-transclude>\n<div ng-messages=\"fc.$error\" ng-show=\"showError\">\n <div ng-repeat=\"(name, message) in ::options.validation.messages\"\n ng-message-exp=\"name\">\n {{message(fc.$viewValue, fc.$modelValue, this)}}\n </div>\n</div>\n"; |
363 | 363 |
|
364 | 364 | /***/ }, |
365 | 365 | /* 12 */ |
@@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap |
395 | 395 | /* 13 */ |
396 | 396 | /***/ function(module, exports) { |
397 | 397 |
|
398 | | - module.exports = "<md-divider ng-if=\"to.divider === 'before'\"></md-divider>\r\n<formly-transclude></formly-transclude>\r\n<md-divider ng-if=\"to.divider !== 'before'\"></md-divider>\r\n"; |
| 398 | + module.exports = "<md-divider ng-if=\"to.divider === 'before'\"></md-divider>\n<formly-transclude></formly-transclude>\n<md-divider ng-if=\"to.divider !== 'before'\"></md-divider>\n"; |
399 | 399 |
|
400 | 400 | /***/ }, |
401 | 401 | /* 14 */ |
@@ -681,7 +681,7 @@ return /******/ (function(modules) { // webpackBootstrap |
681 | 681 | // add only step attribute because min and max are both built-in |
682 | 682 | formlyConfigProvider.extras.fieldTransform.push(function (fields) { |
683 | 683 | return (0, _helpers.ngModelAttrsTransformer)(fields, function (field) { |
684 | | - return field.type === 'input' && field.templateOptions.type === 'number'; |
| 684 | + return field.type === 'input' && field.templateOptions && field.templateOptions.type === 'number'; |
685 | 685 | }, 'step', { |
686 | 686 | attribute: 'step' |
687 | 687 | }); |
@@ -968,7 +968,7 @@ return /******/ (function(modules) { // webpackBootstrap |
968 | 968 |
|
969 | 969 | formlyConfigProvider.extras.fieldTransform.push(function (fields) { |
970 | 970 | return (0, _helpers.ngModelAttrsTransformer)(fields, function (field) { |
971 | | - return field.type === 'textarea' && field.templateOptions.grow === false; |
| 971 | + return field.type === 'textarea' && field.templateOptions && field.templateOptions.grow === false; |
972 | 972 | }, 'grow', { |
973 | 973 | attribute: 'md-no-autogrow' |
974 | 974 | }); |
|
0 commit comments