From b8df169eebb7f822b430e2def0cfafa73f8b66cc Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 29 Nov 2016 13:00:15 +0100 Subject: [PATCH 1/4] Consignatarios acabado --- @salix/core/src/buttonicon/buttonicon.bt.html | 3 - @salix/core/src/buttonicon/buttonicon.bt.js | 23 ------- @salix/core/src/buttonicon/buttonicon.mt.html | 4 -- @salix/core/src/buttonicon/buttonicon.mt.js | 23 ------- @salix/core/src/check/check.mt.html | 4 +- @salix/core/src/check/check.mt.js | 3 - @salix/core/src/combo/combo.js | 17 +++-- @salix/core/src/combo/combo.mt.js | 2 - @salix/core/src/core.js | 63 +++++++++---------- @salix/core/src/date-picker/date-picker.js | 17 +++-- .../core/src/date-picker/date-picker.mt.html | 2 +- @salix/core/src/date-picker/date-picker.mt.js | 5 +- .../icon-button.js} | 8 +-- .../core/src/icon-button/icon-button.mt.html | 3 + @salix/core/src/icon-button/icon-button.mt.js | 15 +++++ @salix/core/src/radio/radio.mt.html | 4 +- @salix/core/src/radio/radio.mt.js | 2 - @salix/core/src/resolveDefaultComponents.js | 3 - @salix/crud/src/client/addresses/index.html | 22 ++++--- @salix/crud/src/client/addresses/index.js | 25 +++++--- 20 files changed, 102 insertions(+), 146 deletions(-) delete mode 100644 @salix/core/src/buttonicon/buttonicon.bt.html delete mode 100644 @salix/core/src/buttonicon/buttonicon.bt.js delete mode 100644 @salix/core/src/buttonicon/buttonicon.mt.html delete mode 100644 @salix/core/src/buttonicon/buttonicon.mt.js rename @salix/core/src/{buttonicon/buttonicon.js => icon-button/icon-button.js} (76%) create mode 100644 @salix/core/src/icon-button/icon-button.mt.html create mode 100644 @salix/core/src/icon-button/icon-button.mt.js diff --git a/@salix/core/src/buttonicon/buttonicon.bt.html b/@salix/core/src/buttonicon/buttonicon.bt.html deleted file mode 100644 index 8dbb62512..000000000 --- a/@salix/core/src/buttonicon/buttonicon.bt.html +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/@salix/core/src/buttonicon/buttonicon.bt.js b/@salix/core/src/buttonicon/buttonicon.bt.js deleted file mode 100644 index 02b0d72b6..000000000 --- a/@salix/core/src/buttonicon/buttonicon.bt.js +++ /dev/null @@ -1,23 +0,0 @@ -import {module as _module} from '../module'; -import * as util from '../util'; -import * as constant from '../constants'; -import template from './buttonicon.bt.html'; - -const _NAME = 'buttonicon'; -const DEFAULT_CLASS = 'mdl-button mdl-js-button mdl-button--icon'; - -export const NAME = util.getFactoryName(_NAME + constant.MATERIAL_DESIGN_FRAMEWORK); - -export function factory() { - return { - template: template, - default: { - className: DEFAULT_CLASS, - enabled: 'true', - typeName: 'button', - image:'', - } - } -} - -_module.factory(NAME, factory); diff --git a/@salix/core/src/buttonicon/buttonicon.mt.html b/@salix/core/src/buttonicon/buttonicon.mt.html deleted file mode 100644 index 7814cfde7..000000000 --- a/@salix/core/src/buttonicon/buttonicon.mt.html +++ /dev/null @@ -1,4 +0,0 @@ - - diff --git a/@salix/core/src/buttonicon/buttonicon.mt.js b/@salix/core/src/buttonicon/buttonicon.mt.js deleted file mode 100644 index 5d951a217..000000000 --- a/@salix/core/src/buttonicon/buttonicon.mt.js +++ /dev/null @@ -1,23 +0,0 @@ -import {module as _module} from '../module'; -import * as util from '../util'; -import * as constant from '../constants'; -import template from './buttonicon.mt.html'; - -const _NAME = 'buttonicon'; -const DEFAULT_CLASS = 'mdl-button mdl-js-button mdl-button--icon'; - -export const NAME = util.getFactoryName(_NAME + constant.MATERIAL_DESIGN_FRAMEWORK); - -export function factory() { - return { - template: template, - default: { - className: DEFAULT_CLASS, - enabled: 'true', - typeName: 'button', - image:'', - } - } -} - -_module.factory(NAME, factory); diff --git a/@salix/core/src/check/check.mt.html b/@salix/core/src/check/check.mt.html index a4616186e..671daf162 100644 --- a/@salix/core/src/check/check.mt.html +++ b/@salix/core/src/check/check.mt.html @@ -1,4 +1,4 @@ -