|
1 |
| -// angular-formly version 6.13.1 built with ♥ by Astrism <[email protected]>, Kent C. Dodds <[email protected]> (ó ì_í)=óò=(ì_í ò) |
| 1 | +// angular-formly version 6.13.2 built with ♥ by Astrism <[email protected]>, Kent C. Dodds <[email protected]> (ó ì_í)=óò=(ì_í ò) |
2 | 2 |
|
3 | 3 | (function webpackUniversalModuleDefinition(root, factory) {
|
4 | 4 | if(typeof exports === 'object' && typeof module === 'object')
|
@@ -108,7 +108,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
108 | 108 |
|
109 | 109 | ngModule.constant("formlyApiCheck", formlyApiCheck);
|
110 | 110 | ngModule.constant("formlyErrorAndWarningsUrlPrefix", formlyErrorAndWarningsUrlPrefix);
|
111 |
| - ngModule.constant("formlyVersion", ("6.13.1")); // <-- webpack variable |
| 111 | + ngModule.constant("formlyVersion", ("6.13.2")); // <-- webpack variable |
112 | 112 |
|
113 | 113 | ngModule.provider("formlyUsability", formlyUsability);
|
114 | 114 | ngModule.provider("formlyConfig", formlyConfig);
|
@@ -372,7 +372,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
372 | 372 |
|
373 | 373 | "use strict";
|
374 | 374 |
|
375 |
| - module.exports = "https://github.com/formly-js/angular-formly/blob/" + ("6.13.1") + "/other/ERRORS_AND_WARNINGS.md#"; |
| 375 | + module.exports = "https://github.com/formly-js/angular-formly/blob/" + ("6.13.2") + "/other/ERRORS_AND_WARNINGS.md#"; |
376 | 376 |
|
377 | 377 | /***/ },
|
378 | 378 | /* 8 */
|
@@ -1563,6 +1563,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
1563 | 1563 | }
|
1564 | 1564 | runApiCheck(type, options);
|
1565 | 1565 | }
|
| 1566 | + if (options.expressionProperties && options.expressionProperties.hide) { |
| 1567 | + formlyWarn("dont-use-expressionproperties.hide-use-hideexpression-instead", "You have specified `hide` in `expressionProperties`. Use `hideExpression` instead", options); |
| 1568 | + } |
1566 | 1569 | }
|
1567 | 1570 |
|
1568 | 1571 | function checkFieldGroupApi(options) {
|
@@ -1650,7 +1653,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
1650 | 1653 | * @restrict E
|
1651 | 1654 | */
|
1652 | 1655 | // @ngInject
|
1653 |
| - function formlyForm(formlyUsability, $parse, formlyConfig, $interpolate) { |
| 1656 | + function formlyForm(formlyUsability, formlyWarn, $parse, formlyConfig, $interpolate) { |
1654 | 1657 | var currentFormId = 1;
|
1655 | 1658 | FormlyFormController.$inject = ["$scope", "formlyApiCheck", "formlyUtil"];
|
1656 | 1659 | return {
|
@@ -1911,7 +1914,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
1911 | 1914 | }
|
1912 | 1915 | if (!scope.theFormlyForm && !formlyConfig.disableWarnings) {
|
1913 | 1916 | /* eslint no-console:0 */
|
1914 |
| - console.warn(formlyUsability.getErrorMessage("formly-form-has-no-formcontroller", "A formly-form does not have a `form` property. Many functions of the form (like validation) may not work")); |
| 1917 | + formlyWarn("formly-form-has-no-formcontroller", "Your formly-form does not have a `form` property. Many functions of the form (like validation) may not work", el, scope); |
1915 | 1918 | }
|
1916 | 1919 | }
|
1917 | 1920 |
|
@@ -1948,7 +1951,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
1948 | 1951 | return field && !!field.fieldGroup;
|
1949 | 1952 | }
|
1950 | 1953 | }
|
1951 |
| - formlyForm.$inject = ["formlyUsability", "$parse", "formlyConfig", "$interpolate"]; |
| 1954 | + formlyForm.$inject = ["formlyUsability", "formlyWarn", "$parse", "formlyConfig", "$interpolate"]; |
1952 | 1955 |
|
1953 | 1956 | /***/ },
|
1954 | 1957 | /* 17 */
|
|
0 commit comments