diff --git a/@salix/core/src/leftmenu/actions.html b/@salix/core/src/leftmenu/actions.html index 36ca2b424..5c9fa9095 100644 --- a/@salix/core/src/leftmenu/actions.html +++ b/@salix/core/src/leftmenu/actions.html @@ -1,5 +1,5 @@ diff --git a/@salix/core/src/leftmenu/descriptor.html b/@salix/core/src/leftmenu/descriptor.html index 34d2702cf..6b310ff2c 100644 --- a/@salix/core/src/leftmenu/descriptor.html +++ b/@salix/core/src/leftmenu/descriptor.html @@ -1,3 +1,5 @@ - - descriptor - \ No newline at end of file +
+ person_outline_black + {{descriptor1.text}} + +
diff --git a/@salix/core/src/leftmenu/descriptor.js b/@salix/core/src/leftmenu/descriptor.js index 4be9d0fb6..39597e846 100644 --- a/@salix/core/src/leftmenu/descriptor.js +++ b/@salix/core/src/leftmenu/descriptor.js @@ -5,6 +5,9 @@ import * as util from '../util'; const _NAME = 'descriptor'; export const NAME = util.getName(_NAME); export const COMPONENT = { - template: template + template: template, + bindings: { + descriptor: '<' + } }; module.component(NAME, COMPONENT); diff --git a/@salix/core/src/leftmenu/leftmenu.html b/@salix/core/src/leftmenu/leftmenu.html index 7f978d25c..b32ca864b 100644 --- a/@salix/core/src/leftmenu/leftmenu.html +++ b/@salix/core/src/leftmenu/leftmenu.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/@salix/core/src/leftmenu/leftmenu.js b/@salix/core/src/leftmenu/leftmenu.js index 0b58ea761..da6187423 100644 --- a/@salix/core/src/leftmenu/leftmenu.js +++ b/@salix/core/src/leftmenu/leftmenu.js @@ -7,7 +7,8 @@ export const NAME = util.getName(_NAME); export const COMPONENT = { template: template, bindings: { - items: '<' + items: '<', + descriptor: '<' } }; module.component(NAME, COMPONENT); diff --git a/@salix/crud/src/client/index/index.html b/@salix/crud/src/client/index/index.html index f9fe275ba..91ab54879 100644 --- a/@salix/crud/src/client/index/index.html +++ b/@salix/crud/src/client/index/index.html @@ -2,7 +2,7 @@ - + diff --git a/@salix/crud/src/client/index/index.js b/@salix/crud/src/client/index/index.js index 0fee98c74..337f2654a 100644 --- a/@salix/crud/src/client/index/index.js +++ b/@salix/crud/src/client/index/index.js @@ -2,18 +2,23 @@ import template from './index.html'; import {module} from '../../module'; const _NAME = 'clientIndex'; -//export const NAME = module.getName(_NAME); +// export const NAME = module.getName(_NAME); export const NAME = "vnClientIndex"; export const COMPONENT = { template: template, - controller: function(){ + controller: function() { this.items = [ {text: "Datos básicos", image: "person"}, - {text: "Datos facturación", image: "assignment"}, + {text: "Datos facturación", image: "assignment"}, {text: "Acceso web", image: "language"}, {text: "Consignatarios", image: "local_shipping"}, {text: "Notas", image: "insert_drive_file"} - ] + ]; + this.descriptor = [ + {text: "Cliente 1231"}, + {text: "Floristeria Lola"}, + {text: "987 654 321"} + ]; } }; module.component(NAME, COMPONENT);