From 69ebeb9d0fe5b704b6f07da011ea2e323eb18510 Mon Sep 17 00:00:00 2001 From: nelo Date: Thu, 12 Jan 2017 09:52:20 +0100 Subject: [PATCH 1/3] =?UTF-8?q?Arreglado=20problema=20con=20las=20provinci?= =?UTF-8?q?as=20El=20objeto=20cliente=20se=20copia=20hacia=20abajo=20Se=20?= =?UTF-8?q?ha=20generado=20la=20funci=C3=B3n=20copy=20y=20la=20funci=C3=B3?= =?UTF-8?q?n=20equals=20A=C3=B1adidos=20m=C3=A1rgenes=20a=20los=20botones?= =?UTF-8?q?=20de=20guardar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- @salix/core/src/copy.js | 5 ++++ @salix/core/src/core.js | 4 ++- @salix/core/src/equals.js | 5 ++++ .../crud/src/client/addresses-data/index.html | 2 +- @salix/crud/src/client/basic-data/index.html | 2 +- @salix/crud/src/client/basic-data/index.js | 30 ++++++++++++++----- @salix/crud/src/client/card/card.html | 2 +- @salix/crud/src/client/card/card.js | 6 ---- @salix/crud/src/client/create/index.html | 2 +- .../src/client/descriptor/descriptor.html | 8 ++--- .../crud/src/client/descriptor/descriptor.js | 2 +- @salix/crud/src/client/fiscal-data/index.html | 10 +++---- @salix/crud/src/client/notes/index.html | 2 +- @salix/crud/src/client/web-access/index.html | 4 +-- services/client/common/models/Client.json | 9 ------ 15 files changed, 53 insertions(+), 40 deletions(-) create mode 100644 @salix/core/src/copy.js create mode 100644 @salix/core/src/equals.js diff --git a/@salix/core/src/copy.js b/@salix/core/src/copy.js new file mode 100644 index 000000000..7e8b4e1f4 --- /dev/null +++ b/@salix/core/src/copy.js @@ -0,0 +1,5 @@ +import {module} from './module'; + +export const NAME = 'copyObject'; + +module.value(NAME, angular.copy); diff --git a/@salix/core/src/core.js b/@salix/core/src/core.js index f70bb48e4..7b5aaa0f1 100644 --- a/@salix/core/src/core.js +++ b/@salix/core/src/core.js @@ -7,6 +7,8 @@ export {SplitingRegister as splitingRegister} from './splitingregister'; export {NAME as RESOLVEDEFAULTCOMPONENT, ResolveDefaultComponent} from './resolveDefaultComponents'; export {NAME as INTERPOLATE, Interpolate} from './interpolate'; export {NAME as ROUTES_LOADER, RoutesLoader} from './routesLoader'; +export {NAME as COPY_OBJECT} from './copy'; +export {NAME as EQUALS_OBJECT} from './equals'; export {NAME as FOCUS, directive as Focus} from './focus'; export {NAME as RULE, directive as Rule} from './rule'; @@ -51,4 +53,4 @@ export {directive as Icon} from './icon/icon'; export {factory as IconMdl} from './icon/icon.mdl'; export {NAME as TITLE, COMPONENT as TITLE_COMPONENT} from './title/title'; -export {NAME as SUBTITLE, COMPONENT as SUBTITLE_COMPONENT} from './subtitle/subtitle'; +export {NAME as SUBTITLE, COMPONENT as SUBTITLE_COMPONENT} from './subtitle/subtitle'; \ No newline at end of file diff --git a/@salix/core/src/equals.js b/@salix/core/src/equals.js new file mode 100644 index 000000000..ee8f76cb4 --- /dev/null +++ b/@salix/core/src/equals.js @@ -0,0 +1,5 @@ +import {module} from './module'; + +export const NAME = 'equalsObject'; + +module.value(NAME, angular.equals); diff --git a/@salix/crud/src/client/addresses-data/index.html b/@salix/crud/src/client/addresses-data/index.html index a67dfdbe7..373a6fb26 100644 --- a/@salix/crud/src/client/addresses-data/index.html +++ b/@salix/crud/src/client/addresses-data/index.html @@ -25,7 +25,7 @@