Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import EditFormRoute from 'ember-flexberry/routes/edit-form';
import FdFormCheckTransitionMixin from '../mixins/fd-form-check-transition';
export default EditFormRoute.extend(FdFormCheckTransitionMixin, {
modelProjection: 'EditBusinessServer',
modelName: 'fd-dev-class'
});
import EditFormRoute from 'ember-flexberry/routes/edit-form';
import FdLoadingForTransitionMixin from '../mixins/fd-loading-for-transition';
export default EditFormRoute.extend(FdLoadingForTransitionMixin, {
modelProjection: 'FdUmlCad',
modelName: 'fd-dev-uml-cad',
});
import EditFormRoute from 'ember-flexberry/routes/edit-form';
export default EditFormRoute.extend({
modelProjection: 'EditFormView',
modelName: 'fd-dev-stage',
});
import EditFormRoute from 'ember-flexberry/routes/edit-form';
export default EditFormRoute.extend({
modelProjection: 'FdEditClassForm',
modelName: 'fd-dev-class',
afterModel: function(model) {
this._super(model);
if (!model.get('caption')) {
model.set('caption', model.get('name'));
}
let transitionMap = {
'«application»': 'fd-application-edit-form',
'«businessserver»': 'fd-business-server-edit-form',
'«editform»': 'fd-edit-form-edit-form',
'«enumeration»': 'fd-enum-edit-form',
'«external»': 'fd-external-edit-form',
import EditFormRoute from 'ember-flexberry/routes/edit-form';
import FdFormCheckTransitionMixin from '../mixins/fd-form-check-transition';
export default EditFormRoute.extend(FdFormCheckTransitionMixin, {
modelProjection: 'EditFormView',
modelName: 'fd-configuration'
});
import EditFormRoute from 'ember-flexberry/routes/edit-form';
import FdLoadingForTransitionMixin from '../mixins/fd-loading-for-transition';
export default EditFormRoute.extend(FdLoadingForTransitionMixin, {
modelProjection: 'EditEnum',
modelName: 'fd-dev-class'
});
import EditFormRoute from 'ember-flexberry/routes/edit-form';
import FdFormCheckTransitionMixin from '../mixins/fd-form-check-transition';
export default EditFormRoute.extend(FdFormCheckTransitionMixin, {
modelProjection: 'EditType',
modelName: 'fd-dev-class'
});
import { A } from '@ember/array';
import { inject as service } from '@ember/service';
import { isBlank } from '@ember/utils';
import EditFormRoute from 'ember-flexberry/routes/edit-form';
import FdFormCheckTransitionMixin from '../mixins/fd-form-check-transition';
export default EditFormRoute.extend(FdFormCheckTransitionMixin, {
modelProjection: 'EditFormView',
modelName: 'fd-dev-association',
/**
Service that get current project contexts.
@property currentProjectContext
@type {Class}
@default service()
*/
currentProjectContext: service('fd-current-project-context'),
/**
A hook you can use to setup the controller for the current route.
[More info](http://emberjs.com/api/classes/Ember.Route.html#method_setupController).
import EditFormRoute from 'ember-flexberry/routes/edit-form';
import FdFormCheckTransitionMixin from '../mixins/fd-form-check-transition';
export default EditFormRoute.extend(FdFormCheckTransitionMixin, {
modelProjection: 'EditExternal',
modelName: 'fd-dev-class'
});
import EditFormRoute from 'ember-flexberry/routes/edit-form';
import FdFormCheckTransitionMixin from '../mixins/fd-form-check-transition';
export default EditFormRoute.extend(FdFormCheckTransitionMixin, {
modelProjection: 'EditInterface',
modelName: 'fd-dev-class'
});