mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
bug fixes (#2233)
This commit is contained in:
committed by
Mario Romano
parent
7899b1f714
commit
4547fbdd99
@@ -41,7 +41,6 @@ import { AppComponent } from './app.component';
|
|||||||
import { routing } from './app.routes';
|
import { routing } from './app.routes';
|
||||||
import { CustomEditorsModule } from './components/activiti/custom-editor/custom-editor.component';
|
import { CustomEditorsModule } from './components/activiti/custom-editor/custom-editor.component';
|
||||||
import { FormListDemoComponent } from './components/form/form-list-demo.component';
|
import { FormListDemoComponent } from './components/form/form-list-demo.component';
|
||||||
import { StyleManager } from './components/theme-picker/style-manager/style-manager';
|
|
||||||
import { ThemePickerModule } from './components/theme-picker/theme-picker';
|
import { ThemePickerModule } from './components/theme-picker/theme-picker';
|
||||||
import { MaterialModule } from './material.module';
|
import { MaterialModule } from './material.module';
|
||||||
import { DebugAppConfigService } from './services/debug-app-config.service';
|
import { DebugAppConfigService } from './services/debug-app-config.service';
|
||||||
|
@@ -19,8 +19,6 @@ import { Component, OnDestroy, OnInit } from '@angular/core';
|
|||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
import { Subscription } from 'rxjs/Rx';
|
import { Subscription } from 'rxjs/Rx';
|
||||||
|
|
||||||
declare var componentHandler;
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'form-node-viewer',
|
selector: 'form-node-viewer',
|
||||||
templateUrl: './form-node-viewer.component.html',
|
templateUrl: './form-node-viewer.component.html',
|
||||||
|
@@ -19,8 +19,6 @@ import { Component, OnDestroy, OnInit } from '@angular/core';
|
|||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
import { Subscription } from 'rxjs/Rx';
|
import { Subscription } from 'rxjs/Rx';
|
||||||
|
|
||||||
declare var componentHandler;
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'form-viewer',
|
selector: 'form-viewer',
|
||||||
templateUrl: './form-viewer.component.html',
|
templateUrl: './form-viewer.component.html',
|
||||||
|
@@ -19,8 +19,6 @@ import { Component, ViewChild } from '@angular/core';
|
|||||||
import { FormModel, FormService } from 'ng2-activiti-form';
|
import { FormModel, FormService } from 'ng2-activiti-form';
|
||||||
import { ActivitiForm } from 'ng2-activiti-form';
|
import { ActivitiForm } from 'ng2-activiti-form';
|
||||||
|
|
||||||
declare var componentHandler;
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'form-list-demo',
|
selector: 'form-list-demo',
|
||||||
template: `
|
template: `
|
||||||
|
@@ -19,8 +19,6 @@ import { Component } from '@angular/core';
|
|||||||
import { FormControl, Validators } from '@angular/forms';
|
import { FormControl, Validators } from '@angular/forms';
|
||||||
import { AlfrescoSettingsService, LogService, StorageService } from 'ng2-alfresco-core';
|
import { AlfrescoSettingsService, LogService, StorageService } from 'ng2-alfresco-core';
|
||||||
|
|
||||||
declare var componentHandler: any;
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-settings',
|
selector: 'app-settings',
|
||||||
templateUrl: 'settings.component.html',
|
templateUrl: 'settings.component.html',
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {ChangeDetectionStrategy, Component, NgModule, ViewEncapsulation} from '@angular/core';
|
import {ChangeDetectionStrategy, Component, NgModule} from '@angular/core';
|
||||||
import {
|
import {
|
||||||
MdButtonModule, MdGridListModule, MdIconModule, MdMenuModule,
|
MdButtonModule, MdGridListModule, MdIconModule, MdMenuModule,
|
||||||
MdTooltipModule
|
MdTooltipModule
|
||||||
|
@@ -101,7 +101,7 @@ export class DiagramTooltipComponent implements AfterViewInit, OnDestroy {
|
|||||||
private handleMouseEnter(event): void {
|
private handleMouseEnter(event): void {
|
||||||
let props;
|
let props;
|
||||||
|
|
||||||
if(this.strategy === STRATEGY.ELEMENT ) {
|
if (this.strategy === STRATEGY.ELEMENT ) {
|
||||||
props = event.target.getBoundingClientRect();
|
props = event.target.getBoundingClientRect();
|
||||||
}else {
|
}else {
|
||||||
props = {top: (event.pageY - 150), left: event.pageX , width: event.layerX, height: 50};
|
props = {top: (event.pageY - 150), left: event.pageX , width: event.layerX, height: 50};
|
||||||
|
Reference in New Issue
Block a user