Core reorganizado
This commit is contained in:
parent
ec08e271f0
commit
64284b87c2
|
@ -1,8 +1,9 @@
|
|||
import {module} from '../module';
|
||||
|
||||
module.component('vnClientBasicData', {
|
||||
export const component = {
|
||||
template: require('./index.html'),
|
||||
bindings: {
|
||||
client: '<'
|
||||
}
|
||||
});
|
||||
};
|
||||
module.component('vnClientBasicData', component);
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
watch="$ctrl.client.account"
|
||||
to="$ctrl.account">
|
||||
</vn-watcher>
|
||||
<vn-dialog id="change-pass"
|
||||
<vn-dialog
|
||||
vn-id="change-pass"
|
||||
on-open="$ctrl.onPassOpen()"
|
||||
on-response="$ctrl.onPassChange(response)">
|
||||
<dbody>
|
||||
|
|
|
@ -6,6 +6,10 @@ class Controller {
|
|||
this.$http = $http;
|
||||
this.vnAppLogger = vnAppLogger;
|
||||
}
|
||||
$onChanges() {
|
||||
if(this.client)
|
||||
this.account = this.client.account;
|
||||
}
|
||||
onPassOpen() {
|
||||
this.newPassword = '';
|
||||
this.repeatPassword = '';
|
||||
|
@ -33,7 +37,7 @@ class Controller {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
Controller.$inject = ['$http', '$scope', 'vnAppLogger'];
|
||||
Controller.$inject = ['$scope', '$http', 'vnAppLogger'];
|
||||
|
||||
module.component('vnClientWebAccess', {
|
||||
template: require('./index.html'),
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
node_modules
|
|
@ -1,6 +1,6 @@
|
|||
import {module} from '../module';
|
||||
import template from '../template';
|
||||
import Component from '../component';
|
||||
import template from '../lib/template';
|
||||
import Component from '../lib/component';
|
||||
import './index.mdl';
|
||||
import './style.scss';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'button';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as util from '../util';
|
||||
import * as constant from '../constants';
|
||||
import * as util from '../lib/util';
|
||||
import * as constant from '../lib/constants';
|
||||
import template from './button.mdl.html';
|
||||
|
||||
const _NAME = 'button';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as util from '../lib/util';
|
||||
require ('./style.css');
|
||||
|
||||
const _NAME = 'card';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as util from '../util';
|
||||
import * as constant from '../constants';
|
||||
import * as util from '../lib/util';
|
||||
import * as constant from '../lib/constants';
|
||||
import template from './card.mdl.html';
|
||||
|
||||
const _NAME = 'card';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../inputAttrsNormalizer';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../lib/inputAttrsNormalizer';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'check';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as util from '../util';
|
||||
import * as constant from '../constants';
|
||||
import * as util from '../lib/util';
|
||||
import * as constant from '../lib/constants';
|
||||
import template from './check.mdl.html';
|
||||
|
||||
const _NAME = 'check';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../inputAttrsNormalizer';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../lib/inputAttrsNormalizer';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'combo';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
import './mdl-override.css';
|
||||
|
||||
import './watcher/index';
|
||||
import './icon/index';
|
||||
import './autocomplete/index';
|
||||
import './popover/index';
|
||||
import './dialog/index';
|
||||
import './confirm/index';
|
||||
import './title/index';
|
||||
import './subtitle/index';
|
||||
|
||||
export {NAME as BUTTON, directive as ButtonDirective} from './button/button';
|
||||
export {NAME as BUTTON_MDL, factory as buttonMdl} from './button/button.mdl';
|
||||
export {NAME as CHECK, directive as CheckDirective} from './check/check';
|
||||
export {NAME as CHECK_MDL, factory as checknMdl} from './check/check.mdl';
|
||||
export {NAME as RADIO, directive as RadioDirective} from './radio/radio';
|
||||
export {NAME as RADIO_MDL, factory as radionMdl} from './radio/radio.mdl';
|
||||
export {NAME as TEXTAREA, directive as TextareaDirective} from './textarea/textarea';
|
||||
export {NAME as TEXTAREA_MDL, factory as textareaMdl} from './textarea/textarea.mdl';
|
||||
export {NAME as TEXTFIELD, directive as TextfieldDirective} from './textfield/textfield';
|
||||
export {NAME as TEXTFIELD_MDL, factory as textfieldMdl} from './textfield/textfield.mdl';
|
||||
export {NAME as LABEL, directive as LabelDirective} from './label/label';
|
||||
export {NAME as LABEL_MDL, factory as labelMdl} from './label/label.mdl';
|
||||
export {NAME as ICON_BUTTON, directive as IconButtonDirective} from './icon-button/icon-button';
|
||||
export {NAME as ICON_BUTTON_MDL, factory as iconButtonMdl} from './icon-button/icon-button.mdl';
|
||||
export {NAME as PASSWORD, directive as PasswordDirective} from './password/password';
|
||||
export {NAME as PASSWORD_MDL, factory as passwordMdl} from './password/password.mdl';
|
||||
export {NAME as SUBMIT, directive as SubmitDirective} from './submit/submit';
|
||||
export {NAME as SUBMIT_MDL, factory as submitMdl} from './submit/submit.mdl';
|
||||
export {NAME as SNACKBAR, directive as SnackbarDirective} from './snackbar/snackbar';
|
||||
export {NAME as SNACKBAR_MDL, factory as snackbarMdl} from './snackbar/snackbar.mdl';
|
||||
export {NAME as SPINNER, directive as SpinnerDirective} from './spinner/spinner';
|
||||
export {NAME as SPINNER_MDL, factory as spinnerMdl} from './spinner/spinner.mdl';
|
||||
export {NAME as COMBO, directive as ComboDirective} from './combo/combo';
|
||||
export {NAME as COMBO_MDL, factory as comboMdl} from './combo/combo.mdl';
|
||||
export {NAME as DATE_PICKER, directive as DatePickerDirective} from './date-picker/date-picker';
|
||||
export {NAME as DATE_PICKER_MDL, factory as datePickerMdl} from './date-picker/date-picker.mdl';
|
||||
export {NAME as CARD, directive as CardDirective} from './card/card';
|
||||
export {NAME as CARD_MDL, factory as cardMdl} from './card/card.mdl';
|
||||
export {NAME as SWITCH, directive as SwitchDirective} from './switch/switch';
|
||||
export {NAME as SWITCH_MDL, factory as switchdMdl} from './switch/switch.mdl';
|
||||
export {NAME as FLOATBUTTON, directive as FloatButtonDirective} from './floatbutton/floatbutton';
|
||||
export {NAME as FLOATBUTTON_MDL, factory as floatButtondMdl} from './floatbutton/floatbutton.mdl';
|
|
@ -1,61 +1,5 @@
|
|||
import './mdl-override.css';
|
||||
|
||||
export * from './config';
|
||||
export * from './module';
|
||||
export * from './util';
|
||||
|
||||
import './config';
|
||||
import './moduleLoader';
|
||||
import './id';
|
||||
import './focus';
|
||||
import './validation';
|
||||
import './watcher/index';
|
||||
import './icon/index';
|
||||
import './autocomplete/index';
|
||||
import './popover/index';
|
||||
import './dialog/directive';
|
||||
import './dialog/index';
|
||||
import './confirm/index';
|
||||
import './title/index';
|
||||
import './subtitle/index';
|
||||
|
||||
export {default 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 GET_DATA_MODIFIED, factory as Modified} from './modified';
|
||||
|
||||
export {NAME as BUTTON, directive as ButtonDirective} from './button/button';
|
||||
export {NAME as BUTTON_MDL, factory as buttonMdl} from './button/button.mdl';
|
||||
export {NAME as CHECK, directive as CheckDirective} from './check/check';
|
||||
export {NAME as CHECK_MDL, factory as checknMdl} from './check/check.mdl';
|
||||
export {NAME as RADIO, directive as RadioDirective} from './radio/radio';
|
||||
export {NAME as RADIO_MDL, factory as radionMdl} from './radio/radio.mdl';
|
||||
export {NAME as TEXTAREA, directive as TextareaDirective} from './textarea/textarea';
|
||||
export {NAME as TEXTAREA_MDL, factory as textareaMdl} from './textarea/textarea.mdl';
|
||||
export {NAME as TEXTFIELD, directive as TextfieldDirective} from './textfield/textfield';
|
||||
export {NAME as TEXTFIELD_MDL, factory as textfieldMdl} from './textfield/textfield.mdl';
|
||||
export {NAME as LABEL, directive as LabelDirective} from './label/label';
|
||||
export {NAME as LABEL_MDL, factory as labelMdl} from './label/label.mdl';
|
||||
export {NAME as ICON_BUTTON, directive as IconButtonDirective} from './icon-button/icon-button';
|
||||
export {NAME as ICON_BUTTON_MDL, factory as iconButtonMdl} from './icon-button/icon-button.mdl';
|
||||
export {NAME as PASSWORD, directive as PasswordDirective} from './password/password';
|
||||
export {NAME as PASSWORD_MDL, factory as passwordMdl} from './password/password.mdl';
|
||||
export {NAME as SUBMIT, directive as SubmitDirective} from './submit/submit';
|
||||
export {NAME as SUBMIT_MDL, factory as submitMdl} from './submit/submit.mdl';
|
||||
export {NAME as SNACKBAR, directive as SnackbarDirective} from './snackbar/snackbar';
|
||||
export {NAME as SNACKBAR_MDL, factory as snackbarMdl} from './snackbar/snackbar.mdl';
|
||||
export {NAME as SPINNER, directive as SpinnerDirective} from './spinner/spinner';
|
||||
export {NAME as SPINNER_MDL, factory as spinnerMdl} from './spinner/spinner.mdl';
|
||||
export {NAME as COMBO, directive as ComboDirective} from './combo/combo';
|
||||
export {NAME as COMBO_MDL, factory as comboMdl} from './combo/combo.mdl';
|
||||
export {NAME as DATE_PICKER, directive as DatePickerDirective} from './date-picker/date-picker';
|
||||
export {NAME as DATE_PICKER_MDL, factory as datePickerMdl} from './date-picker/date-picker.mdl';
|
||||
export {NAME as CARD, directive as CardDirective} from './card/card';
|
||||
export {NAME as CARD_MDL, factory as cardMdl} from './card/card.mdl';
|
||||
export {NAME as SWITCH, directive as SwitchDirective} from './switch/switch';
|
||||
export {NAME as SWITCH_MDL, factory as switchdMdl} from './switch/switch.mdl';
|
||||
export {NAME as FLOATBUTTON, directive as FloatButtonDirective} from './floatbutton/floatbutton';
|
||||
export {NAME as FLOATBUTTON_MDL, factory as floatButtondMdl} from './floatbutton/floatbutton.mdl';
|
||||
export * from './directives/index';
|
||||
export * from './lib/index';
|
||||
export * from './components';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../inputAttrsNormalizer';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../lib/inputAttrsNormalizer';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'datePicker';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {module} from '../module';
|
||||
import Component from '../component';
|
||||
import Component from '../lib/component';
|
||||
import './style.scss';
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import {module} from '../module';
|
||||
import Dialog from './index';
|
||||
import Dialog from '../dialog/index';
|
||||
import {kebabToCamel} from '../lib/string';
|
||||
|
||||
/**
|
||||
* Registers a click handler on the element that opens the dialog id
|
||||
|
@ -11,9 +12,9 @@ export function directive($document) {
|
|||
restrict: 'A',
|
||||
link: function($scope, $element, $attrs) {
|
||||
$element.on('click', function(event) {
|
||||
let dialog = $document[0].getElementById($attrs['vnDialog']);
|
||||
if(dialog.$ctrl instanceof Dialog)
|
||||
dialog.$ctrl.show();
|
||||
let dialog = $scope[kebabToCamel($attrs['vnDialog'])];
|
||||
if(dialog instanceof Dialog)
|
||||
dialog.show();
|
||||
event.preventDefault();
|
||||
});
|
||||
}
|
|
@ -1,5 +1,8 @@
|
|||
import {module} from './module';
|
||||
import {module} from '../module';
|
||||
|
||||
/**
|
||||
* Sets the focus and selects the text on the directive element.
|
||||
*/
|
||||
export function directive() {
|
||||
return {
|
||||
restrict: 'A',
|
|
@ -0,0 +1,16 @@
|
|||
import {module} from '../module';
|
||||
import {kebabToCamel} from '../lib/string';
|
||||
|
||||
/**
|
||||
* Registers the element controller into its scope as a
|
||||
* property whose name is the directive value.
|
||||
*/
|
||||
export function directive() {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function($scope, $element, $attrs) {
|
||||
$scope[kebabToCamel($attrs.vnId)] = $element[0].$ctrl;
|
||||
}
|
||||
};
|
||||
};
|
||||
module.directive('vnId', directive);
|
|
@ -0,0 +1,4 @@
|
|||
import './id';
|
||||
import './focus';
|
||||
import './dialog';
|
||||
import './validation';
|
|
@ -1,6 +1,6 @@
|
|||
import {module} from './module';
|
||||
import {validateAll} from './validator';
|
||||
import {firstUpper} from './string';
|
||||
import {module} from '../module';
|
||||
import {validateAll} from '../lib/validator';
|
||||
import {firstUpper} from '../lib/string';
|
||||
|
||||
directive.$inject = ['$interpolate', '$compile', '$window']
|
||||
export function directive(interpolate, compile, $window) {
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'floatButton';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as util from '../util';
|
||||
import * as constant from '../constants';
|
||||
import * as util from '../lib/util';
|
||||
import * as constant from '../lib/constants';
|
||||
import template from './floatbutton.mdl.html';
|
||||
|
||||
const _NAME = 'floatButton';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'iconButton';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module} from '../module';
|
||||
export {factory as mdlFactory} from './index.mdl';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
require('./style.css');
|
||||
|
||||
const _NAME = 'icon';
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
import {module} from './module';
|
||||
|
||||
module.directive('vnId', function() {
|
||||
return {
|
||||
restrict: 'A',
|
||||
link: function($scope, $element, $attrs) {
|
||||
$scope[$attrs.vnId] = $element[0].$ctrl;
|
||||
}
|
||||
};
|
||||
});
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'label';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as util from '../util';
|
||||
import * as constant from '../constants';
|
||||
import * as util from '../lib/util';
|
||||
import * as constant from '../lib/constants';
|
||||
import template from './label.mdl.html';
|
||||
|
||||
const _NAME = 'label';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {module} from './module';
|
||||
import {module} from '../module';
|
||||
|
||||
const copyObject = angular.copy;
|
||||
export default copyObject;
|
|
@ -1,4 +1,4 @@
|
|||
import {module} from './module';
|
||||
import {module} from '../module';
|
||||
|
||||
const isEqual = angular.equals;
|
||||
export default isEqual;
|
|
@ -0,0 +1,10 @@
|
|||
import './moduleLoader';
|
||||
|
||||
export * from './util';
|
||||
export {default 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 GET_DATA_MODIFIED, factory as Modified} from './modified';
|
|
@ -1,4 +1,4 @@
|
|||
import {module} from './module';
|
||||
import {module} from '../module';
|
||||
|
||||
export const NAME = 'vnInputAttrsNormalizer';
|
||||
export class InputAttrsNormalizer {
|
|
@ -1,4 +1,4 @@
|
|||
import {module} from './module';
|
||||
import {module} from '../module';
|
||||
import {ng} from 'vendor';
|
||||
import * as util from './util';
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import {module} from './module';
|
||||
import {module} from '../module';
|
||||
import isEqual from './equals';
|
||||
|
||||
export default function getModifiedData(object, objectOld) {
|
|
@ -1,4 +1,4 @@
|
|||
import {module} from './module';
|
||||
import {module} from '../module';
|
||||
import splitingRegister from './splitingRegister';
|
||||
|
||||
factory.$inject = ['$translatePartialLoader', '$http', '$window', '$ocLazyLoad', '$q', '$translate'];
|
|
@ -1,4 +1,4 @@
|
|||
import {module as _module} from './module';
|
||||
import {module} from '../module';
|
||||
import * as util from './util';
|
||||
import constant from './constants';
|
||||
import Interpolate from './interpolate';
|
||||
|
@ -36,4 +36,4 @@ export class ResolveDefaultComponent {
|
|||
|
||||
ResolveDefaultComponent.prototype.$get = $get;
|
||||
var resolve = new ResolveDefaultComponent();
|
||||
_module.provider(NAME, () => resolve);
|
||||
module.provider(NAME, () => resolve);
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
import {module as _module} from './module';
|
||||
import {module} from '../module';
|
||||
import * as util from './util';
|
||||
|
||||
export const NAME = util.getProviderName('RoutesLoader');
|
||||
|
@ -24,4 +23,4 @@ export class RoutesLoader { constructor() {} }
|
|||
|
||||
RoutesLoader.prototype.$get = $get;
|
||||
var routes = new RoutesLoader();
|
||||
_module.provider(NAME, () => routes);
|
||||
module.provider(NAME, () => routes);
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import {kebabToCamel} from './string';
|
||||
|
||||
template.$inject = ['$element', '$attrs', 'vnInputAttrsNormalizer', 'vnResolveDefaultComponent'];
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import {validator} from 'vendor';
|
||||
|
||||
export function validateAll(value, validations) {
|
|
@ -1,5 +1,5 @@
|
|||
import * as vendors from 'vendor';
|
||||
import {getModuleName, getVendorDependencies} from './util';
|
||||
import {getModuleName, getVendorDependencies} from './lib/util';
|
||||
|
||||
const DEPENDENCIES = getVendorDependencies(vendors);
|
||||
export const NAME = getModuleName('core');
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../inputAttrsNormalizer';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../lib/inputAttrsNormalizer';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'password';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {module} from '../module';
|
||||
require('./style.css');
|
||||
import './style.css';
|
||||
|
||||
directive.$inject = ['vnPopover'];
|
||||
export function directive(popover) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'radio';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as util from '../util';
|
||||
import * as constant from '../constants';
|
||||
import * as util from '../lib/util';
|
||||
import * as constant from '../lib/constants';
|
||||
import template from './radio.mdl.html';
|
||||
|
||||
const _NAME = 'radio';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'snackbar';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'spinner';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'submit';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../inputAttrsNormalizer';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../lib/inputAttrsNormalizer';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'switch';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as util from '../util';
|
||||
import * as constant from '../constants';
|
||||
import * as util from '../lib/util';
|
||||
import * as constant from '../lib/constants';
|
||||
import template from './switch.mdl.html';
|
||||
|
||||
const _NAME = 'switch';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'textarea';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as util from '../util';
|
||||
import * as constant from '../constants';
|
||||
import * as util from '../lib/util';
|
||||
import * as constant from '../lib/constants';
|
||||
import template from './textarea.mdl.html';
|
||||
|
||||
const _NAME = 'textarea';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as resolveFactory from '../resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../inputAttrsNormalizer';
|
||||
import * as util from '../util';
|
||||
import * as resolveFactory from '../lib/resolveDefaultComponents';
|
||||
import * as normalizerFactory from '../lib/inputAttrsNormalizer';
|
||||
import * as util from '../lib/util';
|
||||
|
||||
const _NAME = 'textfield';
|
||||
export const NAME = util.getName(_NAME);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {module as _module} from '../module';
|
||||
import * as util from '../util';
|
||||
import * as constant from '../constants';
|
||||
import * as util from '../lib/util';
|
||||
import * as constant from '../lib/constants';
|
||||
import template from './textfield.mdl.html';
|
||||
|
||||
const _NAME = 'textfield';
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import {module} from '../module';
|
||||
import Component from '../component';
|
||||
import getModifiedData from '../modified';
|
||||
import copyObject from '../copy';
|
||||
import isEqual from '../equals';
|
||||
import Component from '../lib/component';
|
||||
import getModifiedData from '../lib/modified';
|
||||
import copyObject from '../lib/copy';
|
||||
import isEqual from '../lib/equals';
|
||||
|
||||
/**
|
||||
* Component that checks for changes on a specific model property and
|
||||
|
|
Loading…
Reference in New Issue