From b926f8f8ad2bfb29fb8ace738847ca285b40dfdd Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Ruiz Date: Fri, 24 Jul 2020 17:46:06 +0200 Subject: [PATCH] core component to vnComponent working --- front/core/components/array-model/array-model.js | 2 +- front/core/components/crud-model/crud-model.js | 2 +- front/core/components/icon/icon.js | 2 +- front/core/components/model-proxy/model-proxy.js | 4 ++-- front/core/components/multi-check/multi-check.js | 2 +- front/core/components/pagination/pagination.js | 2 +- front/core/components/scroll-up/scroll-up.js | 2 +- front/core/components/slot/portal.js | 2 +- front/core/components/snackbar/snackbar.js | 2 +- front/core/components/spinner/spinner.js | 2 +- front/core/components/step-control/step-control.js | 2 +- front/core/components/tooltip/tooltip.js | 2 +- front/core/components/treeview/child.js | 2 +- front/core/components/treeview/childs.js | 2 +- front/core/components/treeview/index.js | 2 +- front/core/components/watcher/watcher.js | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/front/core/components/array-model/array-model.js b/front/core/components/array-model/array-model.js index 5b0b94cdc..7ebb95755 100644 --- a/front/core/components/array-model/array-model.js +++ b/front/core/components/array-model/array-model.js @@ -214,7 +214,7 @@ export default class ArrayModel extends ModelProxy { } ArrayModel.$inject = ['$q', '$filter', '$element', '$scope']; -ngModule.component('vnArrayModel', { +ngModule.vnComponent('vnArrayModel', { controller: ArrayModel, bindings: { orgData: '{{::$ctrl.iconContent}}', controller: Icon, bindings: { diff --git a/front/core/components/model-proxy/model-proxy.js b/front/core/components/model-proxy/model-proxy.js index 1eaf749d5..592b25710 100644 --- a/front/core/components/model-proxy/model-proxy.js +++ b/front/core/components/model-proxy/model-proxy.js @@ -30,7 +30,7 @@ export class DataModel extends Component { clear() {} } -ngModule.component('vnDataModel', { +ngModule.vnComponent('vnDataModel', { controller: DataModel, bindings: { data: '=?', @@ -269,7 +269,7 @@ export default class ModelProxy extends DataModel { } } -ngModule.component('vnModelProxy', { +ngModule.vnComponent('vnModelProxy', { controller: ModelProxy, bindings: { orgData: '