From 8a70a4179795055300f24cac100882cdde954f41 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Wed, 26 Aug 2020 15:18:07 -0300 Subject: [PATCH 01/48] fix(splitbutton): fix backdrop close on click --- .../truly-ui/src/components/splitbutton/splitbutton.html | 2 +- projects/truly-ui/src/components/splitbutton/splitbutton.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/projects/truly-ui/src/components/splitbutton/splitbutton.html b/projects/truly-ui/src/components/splitbutton/splitbutton.html index 4d27d5bbb..fb8e63d92 100644 --- a/projects/truly-ui/src/components/splitbutton/splitbutton.html +++ b/projects/truly-ui/src/components/splitbutton/splitbutton.html @@ -16,7 +16,7 @@ chevron-down Date: Tue, 8 Sep 2020 10:36:29 -0300 Subject: [PATCH 02/48] fix(timepicker): fix timepicker model changes. --- .../src/components/timepicker/timepicker.ts | 42 ++++++++----------- 1 file changed, 17 insertions(+), 25 deletions(-) diff --git a/projects/truly-ui/src/components/timepicker/timepicker.ts b/projects/truly-ui/src/components/timepicker/timepicker.ts index ba4cf5dc6..e6fdf2d42 100644 --- a/projects/truly-ui/src/components/timepicker/timepicker.ts +++ b/projects/truly-ui/src/components/timepicker/timepicker.ts @@ -24,24 +24,21 @@ import { Input, AfterContentInit, Component, - forwardRef, ElementRef, - ContentChild, ViewChild, OnDestroy, Output, EventEmitter, AfterViewInit, SimpleChanges, - OnChanges, + OnChanges, Optional, Self, } from '@angular/core'; import { TlLeftPadPipe } from '../internals/pipes/leftpad.pipe'; import { OverlayAnimation } from '../core/directives/overlay-animation'; import { Subscription } from 'rxjs'; import { I18nService } from '../i18n/i18n.service'; import { ValueAccessorBase } from '../input/core/value-accessor'; -import { FormControlName, NG_VALUE_ACCESSOR, NgModel } from '@angular/forms'; -import {FixedPositionDirective} from '../misc/fixed-position.directive'; +import { NgControl } from '@angular/forms'; export interface IncrementalSteps { hour: number; @@ -57,14 +54,9 @@ export enum TIME { selector: 'tl-timepicker', templateUrl: './timepicker.html', styleUrls: [ './timepicker.scss' ], - providers: [ { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef( () => TlTimepicker ), - multi: true, - } ], animations: [ OverlayAnimation ] } ) -export class TlTimepicker extends ValueAccessorBase implements AfterContentInit, AfterViewInit, OnChanges, OnDestroy { +export class TlTimepicker extends ValueAccessorBase implements AfterContentInit, OnChanges, OnDestroy { @Input() format: '12' | '24' = '24'; @@ -106,10 +98,6 @@ export class TlTimepicker extends ValueAccessorBase implements Af @ViewChild( 'listAmPm', {static: false} ) listAmPm: ElementRef; - @ContentChild( NgModel, {static: true} ) ngModel: NgModel; - - @ContentChild( FormControlName, {static: true} ) control: NgModel; - @Output() now: EventEmitter = new EventEmitter(); @Output() changeTime: EventEmitter = new EventEmitter(); @@ -154,8 +142,19 @@ export class TlTimepicker extends ValueAccessorBase implements Af private listeners: Subscription = new Subscription(); - constructor( private i18n: I18nService ) { + constructor( @Optional() @Self() public ngControl: NgControl, + private i18n: I18nService ) { super(); + this.setControl(); + } + get control() { + return this.ngControl?.control; + } + + setControl() { + if ( this.ngControl ) { + this.ngControl.valueAccessor = this; + } } ngAfterContentInit() { @@ -164,15 +163,12 @@ export class TlTimepicker extends ValueAccessorBase implements Af this.value = new Date(); } this.setModelValue( new Date(this.value) ); - } - - ngAfterViewInit() { this.listenControlChanges(); } listenControlChanges() { - if (this.getControl()) { - this.getControl().control.valueChanges.subscribe(( date: Date) => { + if (this.control) { + this.control.valueChanges.subscribe(( date: Date) => { if (!this.loaded) { this.minute = this.leftPad.transform(new Date(date).getMinutes(), 2); this.hour = this.leftPad.transform(new Date(date).getHours(), 2); @@ -249,10 +245,6 @@ export class TlTimepicker extends ValueAccessorBase implements Af this.emitClickNow(); } - private getControl() { - return this.control ? this.control : this.ngModel; - } - private setValue() { const dateSt = new Date(this.value); const year = dateSt.getFullYear(); From 02ddf52c0254b420d6d3707ea4649d13adf680c9 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Thu, 10 Sep 2020 16:15:50 -0300 Subject: [PATCH 03/48] fix(schedule): fix layout hour when blocked event --- .../src/components/schedule/views/day/view-day.component.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/truly-ui/src/components/schedule/views/day/view-day.component.scss b/projects/truly-ui/src/components/schedule/views/day/view-day.component.scss index 35ca3e358..00507bd59 100644 --- a/projects/truly-ui/src/components/schedule/views/day/view-day.component.scss +++ b/projects/truly-ui/src/components/schedule/views/day/view-day.component.scss @@ -180,6 +180,8 @@ > .ui-event-hour{ font-size: 1.0em; color: #454e58; + justify-content: center; + margin-right: 0; } } From 215a5f41d71dd4f32c5951ba99a3a50d6d0a4b6d Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Mon, 14 Sep 2020 10:30:20 -0300 Subject: [PATCH 04/48] fix(multiselect): fix multiselect freazing when all items are selected. --- projects/truly-ui/src/components/multiselect/multiselect.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/truly-ui/src/components/multiselect/multiselect.ts b/projects/truly-ui/src/components/multiselect/multiselect.ts index 2e170071c..347ec20fb 100644 --- a/projects/truly-ui/src/components/multiselect/multiselect.ts +++ b/projects/truly-ui/src/components/multiselect/multiselect.ts @@ -184,7 +184,7 @@ export class TlMultiSelect extends ValueAccessorBase implements OnInit, Aft } private handleOpenOnFocus() { - if ( this.openFocus ) { + if ( this.openFocus && this.filteredItems.length > 0 ) { this.isOpen = true; } } @@ -335,7 +335,7 @@ export class TlMultiSelect extends ValueAccessorBase implements OnInit, Aft } handleClickWrapper() { - if (!this.disabled) { + if (!this.disabled && this.filteredItems.length > 0) { this.isOpen = !this.isOpen; } this.setInputFocus(); From c3fc730f4da629c561ff47b40889a432de93d8a9 Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Mon, 14 Sep 2020 14:17:05 -0300 Subject: [PATCH 05/48] refact(modal): add property to smart form to pass the key shown while deleting an record. --- .../modal/classes/modal-smart-form.ts | 2 ++ .../interfaces/modal-smart-form-config.ts | 4 ++++ .../modal/services/modal.service.ts | 19 ++++++++++++++++++- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/projects/truly-ui/src/components/modal/classes/modal-smart-form.ts b/projects/truly-ui/src/components/modal/classes/modal-smart-form.ts index 1acea13a0..9c60e1f13 100644 --- a/projects/truly-ui/src/components/modal/classes/modal-smart-form.ts +++ b/projects/truly-ui/src/components/modal/classes/modal-smart-form.ts @@ -16,6 +16,7 @@ export class SmartFormConfiguration implements ModalFormConfig { recordNotFoundMessage?; parentElement?; titleByAction?; + recordConfig?; isInsertAction?: Function; isUpdateAction?: Function; @@ -25,6 +26,7 @@ export class SmartFormConfiguration implements ModalFormConfig { this.identifier = 'MODAL_1'; this.unique = false; this.dataForm = null; + this.recordConfig = { showOnDelete: false, keyFromDataForm: ''}; this.deleteTitleConfirmation = LOCALE_I18N.Form.deleteTitleConfirmation; this.deleteConfirmationMessage = LOCALE_I18N.Form.deleteConfirmationMessage; this.recordNotFoundMessage = LOCALE_I18N.Form.recordNotFoundMessage; diff --git a/projects/truly-ui/src/components/modal/interfaces/modal-smart-form-config.ts b/projects/truly-ui/src/components/modal/interfaces/modal-smart-form-config.ts index fc3fbdfb1..891016f4e 100644 --- a/projects/truly-ui/src/components/modal/interfaces/modal-smart-form-config.ts +++ b/projects/truly-ui/src/components/modal/interfaces/modal-smart-form-config.ts @@ -35,6 +35,10 @@ export interface ModalFormConfig { recordNotFoundMessage?: string; parentElement?: ElementRef; titleByAction?: boolean; + recordConfig?: { + keyFromDataForm?: string; + showOnDelete?: boolean; + }; actions?: { insertCall?: Function; updateCall?: Function; diff --git a/projects/truly-ui/src/components/modal/services/modal.service.ts b/projects/truly-ui/src/components/modal/services/modal.service.ts index e4dd932e9..86bd9eb1f 100644 --- a/projects/truly-ui/src/components/modal/services/modal.service.ts +++ b/projects/truly-ui/src/components/modal/services/modal.service.ts @@ -42,6 +42,7 @@ import {ModalFormConfig} from '../interfaces/modal-smart-form-config'; import {ModalInstance} from '../interfaces/modal-instance'; import {TlDialogInfo} from '../../dialog/dialog-info/dialog-info'; import {I18nService} from '../../i18n/i18n.service'; +import * as objectPath from 'object-path'; let lastZIndex = 500; @@ -512,7 +513,7 @@ export class ModalService implements OnDestroy { this.handleRelativeDataSource(component); } }); - this.componentInjected.instance.message = this.referenceSmartForm.smartForm['deleteConfirmationMessage']; + this.componentInjected.instance.message = `${this.referenceSmartForm.smartForm['deleteConfirmationMessage']} ${this.getInfoRecord()}`; return true; } return false; @@ -522,6 +523,22 @@ export class ModalService implements OnDestroy { return component.executeAction === ActionsModal.DELETE; } + private getDataForm() { + return this.referenceSmartForm.smartForm.dataForm; + } + + private getRecordConfig() { + return this.referenceSmartForm.smartForm['recordConfig']; + } + + getInfoRecord() { + const recordConfig = this.getRecordConfig(); + if ( recordConfig.showOnDelete && recordConfig.keyFromDataForm ) { + return `
${ objectPath.get( this.getDataForm(), recordConfig.keyFromDataForm ) }`; + } + return ''; + } + private handleSmartFormCallback(component: ModalInstance, result) { if (this.isResultNotAllowed(component.smartForm, result) || !this.isConfigSmartForm(component.smartForm)) { From e9a479b36a71df5f8b17d01e136b59fd7287fc3f Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Mon, 14 Sep 2020 14:20:16 -0300 Subject: [PATCH 06/48] refact(datatable): change datatable handling of focus, using the class to be more dynamic --- .../components/datatable/datatable-theme.scss | 9 ++-- .../src/components/datatable/datatable.ts | 2 +- .../datatable-column-filter.html | 1 + .../column-filter/datatable-column-filter.ts | 7 ++- .../parts/content/datatable-content.html | 5 +- .../parts/content/datatable-content.scss | 1 + .../parts/content/datatable-content.ts | 48 ++++++++++++++----- .../parts/header/datatable-header.html | 4 +- .../parts/header/datatable-header.ts | 4 +- .../datatable/parts/row/datatable-row.ts | 18 +++++-- .../services/datatable-filter.service.ts | 3 +- 11 files changed, 72 insertions(+), 30 deletions(-) diff --git a/projects/truly-ui/src/components/datatable/datatable-theme.scss b/projects/truly-ui/src/components/datatable/datatable-theme.scss index fededda3c..542a0a77a 100644 --- a/projects/truly-ui/src/components/datatable/datatable-theme.scss +++ b/projects/truly-ui/src/components/datatable/datatable-theme.scss @@ -78,11 +78,12 @@ color: map-deep-get($primary, "default", "foreground") !important; } - > .ui-row:focus{ - background: map-deep-get($primary, "default", "background") !important; - color: map-deep-get($primary, "default", "foreground") !important; + > .ui-row { + &.selected { + background: map-deep-get($primary, "default", "background") !important; + color: map-deep-get($primary, "default", "foreground") !important; + } } - > .ui-row:hover:not(.ui-selected-row){ background: map-deep-get($basic, "lighter", "background"); } diff --git a/projects/truly-ui/src/components/datatable/datatable.ts b/projects/truly-ui/src/components/datatable/datatable.ts index fa50cb9ad..6c4357bf3 100644 --- a/projects/truly-ui/src/components/datatable/datatable.ts +++ b/projects/truly-ui/src/components/datatable/datatable.ts @@ -179,7 +179,7 @@ export class TlDatatable implements AfterContentInit, OnChanges { } setFocus() { - this.datatableContent.setFirstItem(); + this.datatableContent.setSelectedItem(); } getScrollingHorizontal(): Observable { diff --git a/projects/truly-ui/src/components/datatable/parts/column-filter/datatable-column-filter.html b/projects/truly-ui/src/components/datatable/parts/column-filter/datatable-column-filter.html index e76794d49..e9450f1c6 100644 --- a/projects/truly-ui/src/components/datatable/parts/column-filter/datatable-column-filter.html +++ b/projects/truly-ui/src/components/datatable/parts/column-filter/datatable-column-filter.html @@ -24,6 +24,7 @@ +
+ (dblclick)="rowDbClick.emit({ row:row, index: index })"> diff --git a/projects/truly-ui/src/components/datatable/parts/content/datatable-content.scss b/projects/truly-ui/src/components/datatable/parts/content/datatable-content.scss index 06d9663e8..9a16e5ea2 100644 --- a/projects/truly-ui/src/components/datatable/parts/content/datatable-content.scss +++ b/projects/truly-ui/src/components/datatable/parts/content/datatable-content.scss @@ -1,5 +1,6 @@ .ui-datatable-content{ overflow: hidden; + outline: none; } .ui-box-notfound-records{ diff --git a/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts b/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts index 047cb0fae..97a4c6e2d 100644 --- a/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts +++ b/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts @@ -23,15 +23,15 @@ import { AfterViewInit, - ChangeDetectionStrategy, - Component, EventEmitter, Input, OnChanges, + ChangeDetectionStrategy, ChangeDetectorRef, + Component, ElementRef, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, QueryList, SimpleChanges, ViewChild, ViewChildren } from '@angular/core'; import { TlDatatableRow } from '../row/datatable-row'; import { TlDatatableCell } from '../cell/datatable-cell'; -import { Observable } from 'rxjs'; +import {Observable, Subscription} from 'rxjs'; import { DataSource } from '@angular/cdk/collections'; -import { FocusKeyManager } from '@angular/cdk/a11y'; +import {ActiveDescendantKeyManager, FocusKeyManager} from '@angular/cdk/a11y'; import { CdkVirtualScrollViewport, ScrollDispatcher } from '@angular/cdk/scrolling'; import { TlDatatableColumn } from '../column/datatable-column'; @@ -39,6 +39,8 @@ import { I18nService } from '../../../i18n/i18n.service'; import { DatatableDataSource } from '../../services/datatable-datasource.service'; import { ContextMenuService } from '../../../contextmenu/services/contextmenu.service'; import { ContextMenuInterface } from '../../../contextmenu/interfaces/context-menu.interface'; +import {scrollIntoView} from '../../../core/helper/scrollIntoView'; +import {TlDatatableFilterService} from '../../services/datatable-filter.service'; @Component( { selector: 'tl-datatable-content', @@ -47,7 +49,7 @@ import { ContextMenuInterface } from '../../../contextmenu/interfaces/context-me providers: [ContextMenuService], changeDetection: ChangeDetectionStrategy.OnPush, } ) -export class TlDatatableContent implements AfterViewInit { +export class TlDatatableContent implements AfterViewInit, OnDestroy { @Input('dataSource') dataSource: Array | Observable> | DataSource; @@ -71,17 +73,29 @@ export class TlDatatableContent implements AfterViewInit { @ViewChildren(TlDatatableRow) items: QueryList; - private keyManager: FocusKeyManager; + @ViewChild('datableContent') datableContent: ElementRef; - constructor(private i18n: I18nService, private contextMenuService: ContextMenuService) {} + private keyManager: ActiveDescendantKeyManager; + + private subscription = new Subscription(); + + constructor(private i18n: I18nService, + private datatableFilterService: TlDatatableFilterService, + private changes: ChangeDetectorRef, + private contextMenuService: ContextMenuService) {} ngAfterViewInit() { - this.keyManager = new FocusKeyManager(this.items).withTypeAhead(); + this.keyManager = new ActiveDescendantKeyManager(this.items).withTypeAhead(); + this.subscription.add( this.datatableFilterService.keydownFilter.subscribe(( event ) => { + this.onKeydown(event); + this.changes.detectChanges(); + })); } onRowClick( rowItem: TlDatatableRow, row, index ) { this.rowClick.emit({ row: row, index: index }); this.keyManager.setActiveItem(rowItem); + this.setContentFocus(); } contextmenu($event, rowItem: TlDatatableRow, row, index ) { @@ -91,6 +105,10 @@ export class TlDatatableContent implements AfterViewInit { } } + setContentFocus() { + this.datableContent.nativeElement.focus(); + } + isEmpty() { return ( (this.dataSource as Array).length === 0 || @@ -102,13 +120,13 @@ export class TlDatatableContent implements AfterViewInit { return this.i18n.getLocale().Datatable.notFoundText; } - mouseDown($event) { + mouseDown( $event ) { if ( this.dataSource instanceof DatatableDataSource) { ( this.dataSource as DatatableDataSource ).setNavigating( true ); } } - mouseUp($event) { + mouseUp( $event ) { if ( this.dataSource instanceof DatatableDataSource) { ( this.dataSource as DatatableDataSource ).setNavigating( false ); } @@ -116,14 +134,20 @@ export class TlDatatableContent implements AfterViewInit { onKeydown(event) { this.keyManager.onKeydown(event); + scrollIntoView( this.keyManager.activeItem.element.nativeElement ); } onKeyup() { this.rowSelect.emit( this.keyManager.activeItem ); } - setFirstItem() { - this.keyManager.setFirstItemActive(); + setSelectedItem() { + this.setContentFocus(); + this.keyManager.setActiveItem( this.keyManager.activeItemIndex ); + } + + ngOnDestroy() { + this.subscription.unsubscribe(); } } diff --git a/projects/truly-ui/src/components/datatable/parts/header/datatable-header.html b/projects/truly-ui/src/components/datatable/parts/header/datatable-header.html index b477cbfc8..03b3363b2 100644 --- a/projects/truly-ui/src/components/datatable/parts/header/datatable-header.html +++ b/projects/truly-ui/src/components/datatable/parts/header/datatable-header.html @@ -23,8 +23,8 @@
- - + diff --git a/projects/truly-ui/src/components/datatable/parts/header/datatable-header.ts b/projects/truly-ui/src/components/datatable/parts/header/datatable-header.ts index 2aee04c37..b762f3170 100644 --- a/projects/truly-ui/src/components/datatable/parts/header/datatable-header.ts +++ b/projects/truly-ui/src/components/datatable/parts/header/datatable-header.ts @@ -20,7 +20,7 @@ SOFTWARE. */ -import { AfterViewInit, Component, forwardRef, Inject, ViewChild, ElementRef, OnDestroy } from '@angular/core'; +import {AfterViewInit, Component, forwardRef, Inject, ViewChild, ElementRef, OnDestroy, Output, EventEmitter} from '@angular/core'; import { TlDatatable } from '../../datatable'; import { DatatableHelpersService } from '../../services/datatable-helpers.service'; import { TlDatatabaleColumnFilter } from '../column-filter/datatable-column-filter'; @@ -41,6 +41,8 @@ export class TlDatatableHeader implements AfterViewInit, OnDestroy { @ViewChild('datatableHeader', {static: true} ) datatableHeader: ElementRef; + @Output() keydownFilter: EventEmitter = new EventEmitter(); + private subscription = new Subscription(); private filderOrder = 1; diff --git a/projects/truly-ui/src/components/datatable/parts/row/datatable-row.ts b/projects/truly-ui/src/components/datatable/parts/row/datatable-row.ts index 76308af80..553252d6a 100644 --- a/projects/truly-ui/src/components/datatable/parts/row/datatable-row.ts +++ b/projects/truly-ui/src/components/datatable/parts/row/datatable-row.ts @@ -30,7 +30,7 @@ import { ViewContainerRef, HostBinding, HostListener, ElementRef } from '@angular/core'; import { FilterOptionsService } from '../../services/datatable-filter-options.service'; -import { FocusableOption } from '@angular/cdk/a11y'; +import {FocusableOption, Highlightable} from '@angular/cdk/a11y'; @Component( { selector: 'tl-datatable-row', @@ -50,7 +50,9 @@ import { FocusableOption } from '@angular/cdk/a11y'; `], exportAs: 'rowItem' } ) -export class TlDatatableRow implements OnInit, FocusableOption { +export class TlDatatableRow implements OnInit, Highlightable { + + public selected = false; @Input() content; @@ -58,14 +60,20 @@ export class TlDatatableRow implements OnInit, FocusableOption { @Input('index') index; - @HostBinding('attr.tabindex') tabIndex = -1; + @HostBinding( 'class.selected') get isSelected() { + return this.selected; + } constructor(public element: ElementRef) {} ngOnInit() {} - focus() { - this.element.nativeElement.focus(); + setActiveStyles(): void { + this.selected = true; + } + + setInactiveStyles(): void { + this.selected = false; } } diff --git a/projects/truly-ui/src/components/datatable/services/datatable-filter.service.ts b/projects/truly-ui/src/components/datatable/services/datatable-filter.service.ts index 0bb27fa4d..1dd1d0987 100644 --- a/projects/truly-ui/src/components/datatable/services/datatable-filter.service.ts +++ b/projects/truly-ui/src/components/datatable/services/datatable-filter.service.ts @@ -41,6 +41,8 @@ export class TlDatatableFilterService { private filterArray = []; + public keydownFilter: Subject = new Subject(); + constructor( private filterConstraints: TlDatatableFilterConstraints ) {} onInicializeFilterService( datatable ) { @@ -70,7 +72,6 @@ export class TlDatatableFilterService { return this.existsFilter() ? this.filter.filters : {}; } - filterWithData(data, scrolling = false) { if (! this.existsFilter()) { return data; } if ( scrolling ) { return this.filtredData; } From 4216263c53870a3f4dbfea601f80c39eeec2f9a7 Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Mon, 14 Sep 2020 14:39:38 -0300 Subject: [PATCH 07/48] refact(textarea): add property required to label --- projects/truly-ui/src/components/textarea/textarea.html | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/truly-ui/src/components/textarea/textarea.html b/projects/truly-ui/src/components/textarea/textarea.html index 10e848749..ff5d71cc7 100644 --- a/projects/truly-ui/src/components/textarea/textarea.html +++ b/projects/truly-ui/src/components/textarea/textarea.html @@ -3,6 +3,7 @@ From 56a1772fc74e94f1ffc0cc1a11caf3ff78244e3c Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Wed, 16 Sep 2020 16:10:56 -0300 Subject: [PATCH 08/48] refact(autocomplete): create validator for selected item and add theme colors to it. --- .../autocomplete/autocomplete-theme.scss | 28 +++++++++++++++++- .../components/autocomplete/autocomplete.html | 5 +++- .../components/autocomplete/autocomplete.scss | 17 ++--------- .../components/autocomplete/autocomplete.ts | 29 +++++++++++++++++-- .../core/classes/datasource-list.ts | 6 +++- 5 files changed, 65 insertions(+), 20 deletions(-) diff --git a/projects/truly-ui/src/components/autocomplete/autocomplete-theme.scss b/projects/truly-ui/src/components/autocomplete/autocomplete-theme.scss index 08f7e7648..7e357bae5 100644 --- a/projects/truly-ui/src/components/autocomplete/autocomplete-theme.scss +++ b/projects/truly-ui/src/components/autocomplete/autocomplete-theme.scss @@ -8,11 +8,37 @@ $success: map-deep-get($theme, 'success'); $warning: map-deep-get($theme, 'warning'); + border: 1px solid map-deep-get($basic, "default", "border"); + background: rgba( map-deep-get($basic, "lighter", "background"), 0.5); + + &::-webkit-scrollbar { + background: map-deep-get($basic, "lighter", "background"); + } + + &::-webkit-scrollbar-corner { + background: map-deep-get($basic, "lighter", "background"); + } + + &::-webkit-scrollbar-track { + background: map-deep-get($basic, "default", "border"); + } + + &::-webkit-scrollbar-thumb { + background: map-deep-get($primary, "default", "background"); + } + + .ui-list-item { + &.selected { + background: map-deep-get($primary, "default", "background"); + color: white !important; + } + } + } @mixin tl-autocomplete-theme( $theme ) { - .ui-autocomplete-wrapper { + .ui-scroll-view { &.basic { @include _tl-autocomplete-theme-schema($theme, 'basic') diff --git a/projects/truly-ui/src/components/autocomplete/autocomplete.html b/projects/truly-ui/src/components/autocomplete/autocomplete.html index 064463a8b..14996611b 100644 --- a/projects/truly-ui/src/components/autocomplete/autocomplete.html +++ b/projects/truly-ui/src/components/autocomplete/autocomplete.html @@ -28,6 +28,8 @@ (keydown.ArrowUp)="handleKeyArrowUp($event)" (keydown.ArrowDown)="handleKeyArrowDown($event)" (keydown.escape)="handleKeyEscape($event)" + selectedItem + [selected]="value" class="ui-input" [(ngModel)]="description" (keydown.enter)="handleKeyEnter($event)" @@ -52,7 +54,8 @@ [cdkConnectedOverlayOrigin]="trigger" [cdkConnectedOverlayBackdropClass]="'cdk-overlay-transparent-backdrop'" [cdkConnectedOverlayOpen]="isOpen"> - implements OnChanges, @Input() height = '23px'; + @Input() containerHeight = '200px'; + @Input() searchBy = ''; @Input() label = ''; @@ -157,6 +159,8 @@ export class TlAutoComplete extends ValueAccessorBase implements OnChanges, public nothingFound = false; + public tempContainerHeight; + public messageLoading = this.i18n.getLocale().AutoComplete.messageLoading; public nothingFoundMessage = this.i18n.getLocale().AutoComplete.nothingFoundMessage; @@ -201,6 +205,7 @@ export class TlAutoComplete extends ValueAccessorBase implements OnChanges, ngAfterViewInit() { this.keyManager = new ActiveDescendantKeyManager( this.listItems ); + this.tempContainerHeight = this.containerHeight; this.validateKeyValue(); } @@ -455,10 +460,27 @@ export class TlAutoComplete extends ValueAccessorBase implements OnChanges, this.handleModelCached(); } this.dataSource.setData( value ); + this.loading = false; + // this.setContainerHeight( value ); this.setNotFound( value.length === 0 ); this.setFirstItemActive(); } + setContainerHeight( data ) { + if ( this.filtering ) { + const currentHeight = parseInt(this.containerHeight, 10); + const maxContent = Math.round(currentHeight / this.rowHeight); + if ( data.length === 0 ) { + this.tempContainerHeight = this.rowHeight + 'px'; + } else if ( data.length <= maxContent ) { + this.tempContainerHeight = (data.length * this.rowHeight) + 'px'; + } else { + this.tempContainerHeight = this.containerHeight; + } + this.change.detectChanges(); + } + } + private setFirstItemActive() { if ( this.keyManager ) { setTimeout( () => { @@ -470,6 +492,7 @@ export class TlAutoComplete extends ValueAccessorBase implements OnChanges, private listenLoadData() { this.subscription.add( this.dataSource.loadMoreData.subscribe( ( data: any ) => { this.lazyLoad.emit( { skip: data.skip, limit: data.limit, ...this.getFilters( this.description ) } ); + this.loading = true; } ) ); } @@ -520,9 +543,6 @@ export class TlAutoComplete extends ValueAccessorBase implements OnChanges, if ( $event ) { this.dataSource.setArray( $event.length ); this.setUpData( $event ); - setTimeout( () => { - this.keyManager.setActiveItem( 0 ); - }, 100 ); return; } this.dataSource.setData( [] ); @@ -557,6 +577,9 @@ export class TlAutoComplete extends ValueAccessorBase implements OnChanges, ngOnDestroy() { this.subscription.unsubscribe(); + if ( this.dataSource ) { + this.dataSource.unsubscribe(); + } } } diff --git a/projects/truly-ui/src/components/core/classes/datasource-list.ts b/projects/truly-ui/src/components/core/classes/datasource-list.ts index 2b5bd3e2e..92f698174 100644 --- a/projects/truly-ui/src/components/core/classes/datasource-list.ts +++ b/projects/truly-ui/src/components/core/classes/datasource-list.ts @@ -53,7 +53,7 @@ export class DataSourceList extends DataSource { this.resetData(); } - connect( collectionViewer: CollectionViewer ): Observable<(string | undefined)[]> { + connect( collectionViewer?: CollectionViewer ): Observable<(string | undefined)[]> { this.subscription.add( collectionViewer.viewChange.subscribe( range => { const startPage = this.getPageForIndex( range.start ); const endPage = this.getPageForIndex( range.end - 1 ); @@ -65,6 +65,10 @@ export class DataSourceList extends DataSource { } disconnect(): void { + // this.subscription.unsubscribe(); + } + + unsubscribe() { this.subscription.unsubscribe(); } From d33029cb0bed369fa835ba3989d466ed7fed6ed7 Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Wed, 16 Sep 2020 16:14:19 -0300 Subject: [PATCH 09/48] refact(autocomplete): create selected validator. --- .../src/components/autocomplete/index.ts | 5 ++++- .../autocomplete/selected-validator.ts | 21 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 projects/truly-ui/src/components/autocomplete/selected-validator.ts diff --git a/projects/truly-ui/src/components/autocomplete/index.ts b/projects/truly-ui/src/components/autocomplete/index.ts index 0c6ef35fd..f062d003f 100644 --- a/projects/truly-ui/src/components/autocomplete/index.ts +++ b/projects/truly-ui/src/components/autocomplete/index.ts @@ -37,6 +37,7 @@ import { A11yModule } from '@angular/cdk/a11y'; import { LoaderModule } from '../loader/index'; import { MiscModule } from '../misc/index'; import {TlAutocompleteTemplate} from './components/autocomplete-template'; +import {SelectedValidatorDirective} from './selected-validator'; @NgModule( { imports: [ @@ -58,10 +59,12 @@ import {TlAutocompleteTemplate} from './components/autocomplete-template'; declarations: [ TlAutoComplete, TlAutocompleteTemplate, + SelectedValidatorDirective ], exports: [ TlAutoComplete, - TlAutocompleteTemplate + TlAutocompleteTemplate, + SelectedValidatorDirective ], } ) export class AutoCompleteModule { diff --git a/projects/truly-ui/src/components/autocomplete/selected-validator.ts b/projects/truly-ui/src/components/autocomplete/selected-validator.ts new file mode 100644 index 000000000..b05aba5af --- /dev/null +++ b/projects/truly-ui/src/components/autocomplete/selected-validator.ts @@ -0,0 +1,21 @@ +import {AbstractControl, NG_VALIDATORS, Validator} from '@angular/forms'; +import {Directive, Input} from '@angular/core'; + +@Directive({ + selector: '[selectedItem]', + providers: [{provide: NG_VALIDATORS, useExisting: SelectedValidatorDirective, multi: true}] +}) +export class SelectedValidatorDirective implements Validator { + + @Input() selected; + + validate(control: AbstractControl): {[key: string]: any} | null { + if ( !control.value ) { + return null; + } + if ( control.value && !this.selected ) { + return { item: 'Invalid Item' }; + } + return null; + } +} From be99b3685b70fe02aa84c3dca894b27f752bcf8c Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Thu, 17 Sep 2020 14:17:49 -0300 Subject: [PATCH 10/48] refact(datatable): set first item active when content is loaded. --- .../datatable/parts/content/datatable-content.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts b/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts index 97a4c6e2d..7f54c8011 100644 --- a/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts +++ b/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts @@ -86,6 +86,7 @@ export class TlDatatableContent implements AfterViewInit, OnDestroy { ngAfterViewInit() { this.keyManager = new ActiveDescendantKeyManager(this.items).withTypeAhead(); + this.setFirstItemSelected(); this.subscription.add( this.datatableFilterService.keydownFilter.subscribe(( event ) => { this.onKeydown(event); this.changes.detectChanges(); @@ -141,6 +142,14 @@ export class TlDatatableContent implements AfterViewInit, OnDestroy { this.rowSelect.emit( this.keyManager.activeItem ); } + setFirstItemSelected() { + setTimeout(() => { + this.setContentFocus(); + this.keyManager.setActiveItem(0); + this.changes.detectChanges(); + }, 100); + } + setSelectedItem() { this.setContentFocus(); this.keyManager.setActiveItem( this.keyManager.activeItemIndex ); From c72e2fdadfa60ae158b91c1aa933160e5608becd Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Thu, 17 Sep 2020 14:39:27 -0300 Subject: [PATCH 11/48] refact(autocomplete): set value as null when there's no value selected. --- projects/truly-ui/src/components/autocomplete/autocomplete.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/truly-ui/src/components/autocomplete/autocomplete.ts b/projects/truly-ui/src/components/autocomplete/autocomplete.ts index 8874173e6..fbea67f47 100644 --- a/projects/truly-ui/src/components/autocomplete/autocomplete.ts +++ b/projects/truly-ui/src/components/autocomplete/autocomplete.ts @@ -266,7 +266,7 @@ export class TlAutoComplete extends ValueAccessorBase implements OnChanges, close() { if ( !this.control.disabled ) { - this.value = ''; + this.value = null; this.setDescriptionValue( '' ); this.selected = null; } From f7e45cbefb489852a8a3fe89c73ecd29ef76c93a Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Tue, 29 Sep 2020 09:22:10 -0300 Subject: [PATCH 12/48] fix(dropdownicon): fix freeze screen on open dropdown list --- .../datatable/parts/content/datatable-content.ts | 4 +++- .../src/components/dropdownicon/dropdownicon.html | 2 +- .../truly-ui/src/components/dropdownicon/dropdownicon.ts | 9 +++++++-- .../truly-ui/src/components/dropdownlist/dropdownlist.ts | 1 + 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts b/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts index 7f54c8011..e4acf328a 100644 --- a/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts +++ b/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts @@ -135,7 +135,9 @@ export class TlDatatableContent implements AfterViewInit, OnDestroy { onKeydown(event) { this.keyManager.onKeydown(event); - scrollIntoView( this.keyManager.activeItem.element.nativeElement ); + if (this.keyManager.activeItem) { + scrollIntoView( this.keyManager.activeItem.element.nativeElement ); + } } onKeyup() { diff --git a/projects/truly-ui/src/components/dropdownicon/dropdownicon.html b/projects/truly-ui/src/components/dropdownicon/dropdownicon.html index 2df21b925..46f8a430a 100644 --- a/projects/truly-ui/src/components/dropdownicon/dropdownicon.html +++ b/projects/truly-ui/src/components/dropdownicon/dropdownicon.html @@ -12,7 +12,7 @@ implements OnInit, After public isOpen: boolean; constructor( @Optional() @Inject( NG_VALIDATORS ) validators: Array, @Optional() @Inject( NG_ASYNC_VALIDATORS ) - asyncValidators: Array ) { + asyncValidators: Array, private change: ChangeDetectorRef ) { super( validators, asyncValidators ); } @@ -90,6 +90,11 @@ export class TlDropdownIcon extends ElementBase implements OnInit, After } } + onBackdropClick() { + this.isOpen = false; + this.change.detectChanges(); + } + onSelectOption( $event ) { this.optionSelected = $event; this.value = this.optionSelected.option.item[this.keyValue]; diff --git a/projects/truly-ui/src/components/dropdownlist/dropdownlist.ts b/projects/truly-ui/src/components/dropdownlist/dropdownlist.ts index b3fc2bc11..8f5bfd916 100644 --- a/projects/truly-ui/src/components/dropdownlist/dropdownlist.ts +++ b/projects/truly-ui/src/components/dropdownlist/dropdownlist.ts @@ -177,6 +177,7 @@ export class TlDropDownList extends ValueAccessorBase implements OnInit, On return this.input.nativeElement; } + onFindByLetter( value: string ) { this.handleSelectInLetter( value ); } From 87fa5128f9cce56e8179166e6192faa5eeb0a5bd Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Tue, 29 Sep 2020 09:29:09 -0300 Subject: [PATCH 13/48] refactor(datatable): fix error on filter data --- .../datatable/parts/content/datatable-content.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts b/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts index e4acf328a..b97f4c2de 100644 --- a/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts +++ b/projects/truly-ui/src/components/datatable/parts/content/datatable-content.ts @@ -87,10 +87,6 @@ export class TlDatatableContent implements AfterViewInit, OnDestroy { ngAfterViewInit() { this.keyManager = new ActiveDescendantKeyManager(this.items).withTypeAhead(); this.setFirstItemSelected(); - this.subscription.add( this.datatableFilterService.keydownFilter.subscribe(( event ) => { - this.onKeydown(event); - this.changes.detectChanges(); - })); } onRowClick( rowItem: TlDatatableRow, row, index ) { @@ -153,8 +149,11 @@ export class TlDatatableContent implements AfterViewInit, OnDestroy { } setSelectedItem() { - this.setContentFocus(); - this.keyManager.setActiveItem( this.keyManager.activeItemIndex ); + setTimeout(() => { + this.setContentFocus(); + this.keyManager.setActiveItem( this.keyManager.activeItemIndex ); + this.changes.detectChanges(); + }, 100); } ngOnDestroy() { From 917fa0ab9e5574aee1a492cefb658ebcff3a2a23 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Tue, 29 Sep 2020 09:30:27 -0300 Subject: [PATCH 14/48] doc(*): update year to 2020 --- README.md | 14 +- src/app/app.component.html | 2 +- .../accordiondemo-dataproperties.json.ts | 2 +- .../accordion/accordiondemo-routing.module.ts | 2 +- .../accordion/accordiondemo.module.ts | 2 +- .../autocompletedemo-dataproperties.json.ts | 2 +- .../autocompletedemo-routing.module.ts | 2 +- .../autocompletedemo.component.ts | 2 +- .../autocomplete/autocompletedemo.module.ts | 2 +- .../components/autocomplete/http.service.ts | 2 +- .../newclient/dataclient.service.ts | 2 +- .../avatar/avatardemo-dataproperties.json.ts | 2 +- .../avatar/avatardemo-routing.module.ts | 2 +- .../components/avatar/avatardemo.component.ts | 2 +- .../avatar/avatardemo.dataevents.json.ts | 2 +- .../badge/badgedemo-dataproperties.json.ts | 2 +- .../components/badge/badgedemo.component.ts | 2 +- .../badge/badgedemo.dataevents.json.ts | 2 +- .../blockuidemo-dataproperties.json.ts | 2 +- .../button/buttondemo-dataproperties.json.ts | 2 +- .../components/button/buttondemo.component.ts | 2 +- .../button/buttondemo.dataevents.json.ts | 2 +- .../buttongroupdemo-dataproperties.json.ts | 2 +- .../buttongroupdemo.dataevents.json.ts | 2 +- .../calendardemo-dataproperties.json.ts | 2 +- .../calendar/calendardemo.component.ts | 2 +- .../calendar/calendardemo.dataevents.json.ts | 2 +- .../chatlistdemo-dataproperties.json.ts | 2 +- .../chatlist/chatlistdemo.component.ts | 2 +- .../checkboxdemo-dataproperties.json.ts | 2 +- .../clockpickerdemo-dataevents.json.ts | 2 +- .../clockpickerdemo-dataproperties.json.ts | 2 +- .../colorpickerdemo-dataproperties.json.ts | 2 +- .../colorpickerdemo-routing.module.ts | 2 +- .../colorpicker/colorpickerdemo.component.ts | 2 +- .../colorpickerdemo.dataevents.json.ts | 2 +- ...tatable-columnfeatures.demo.component.html | 140 +++++++++--------- .../date/datedemo-dataproperties.json.ts | 2 +- .../date/datedemo-routing.module.ts | 2 +- src/app/components/date/datedemo.component.ts | 2 +- .../date/datedemo.dataevents.json.ts | 2 +- .../datepickerdemo-dataproperties.json.ts | 2 +- .../datepicker/datepickerdemo.component.ts | 2 +- .../datepickerdemo.dataevents.json.ts | 2 +- .../dialog/dialog-dataproperties.json.ts | 2 +- .../dialog/dialogdemo.dataevents.json.ts | 2 +- .../editor/editordemo-dataevents.json.ts | 2 +- .../editor/editordemo-dataproperties.json.ts | 2 +- .../editor/editordemo-routing.module.ts | 2 +- .../components/editor/editordemo.module.ts | 2 +- .../components/form/form-dataevent.json.ts | 2 +- .../form/form-dataproperties.json.ts | 2 +- .../form/modal/modal-options-table.ts | 2 +- .../form/smart/modal-config-table.ts | 2 +- .../icons/dxicons/iconsdemo-routing.module.ts | 2 +- .../icons/dxicons/iconsdemo.component.ts | 2 +- .../font-awesome/iconsdemo-routing.module.ts | 2 +- .../icons/font-awesome/iconsdemo.component.ts | 2 +- .../ionicons/iconsdemo-routing.module.ts | 2 +- .../icons/ionicons/iconsdemo.component.ts | 2 +- .../overview/iconsdemo-dataproperties.json.ts | 2 +- .../overview/iconsdemo-routing.module.ts | 2 +- .../icons/overview/iconsdemo.component.ts | 2 +- .../input/inputdemo-dataproperties.json.ts | 2 +- .../input/inputdemo.dataevents.json.ts | 2 +- .../inputcurrencydemo-dataproperties.json.ts | 2 +- .../inputcurrencydemo-routing.module.ts | 2 +- .../inputcurrencydemo.component.ts | 2 +- .../inputcurrencydemo.dataevents.json.ts | 2 +- .../inputmaskdemo-dataproperties.json.ts | 2 +- ...inputvalidatorsdemo-dataproperties.json.ts | 2 +- .../inputvalidatorsdemo.dataevents.json.ts | 2 +- .../listboxdemo-dataproperties.json.ts | 2 +- .../menu/menudemo-dataproperties.json.ts | 2 +- src/app/components/menu/menudemo.component.ts | 2 +- .../menu/menudemo.dataevents.json.ts | 2 +- .../components/modal/modal-dataevents.json.ts | 2 +- .../modal/modal-dataproperties.json.ts | 2 +- .../modal/modal-dataresults.json.ts | 2 +- .../multiselectdemo-dataproperties.json.ts | 2 +- .../multiviewdemo-dataproperties.json.ts | 2 +- .../multiview/multiviewdemo-routing.module.ts | 2 +- .../multiview/multiviewdemo.component.ts | 2 +- .../multiview/multiviewdemo.module.ts | 2 +- .../overlay-paneldemo-dataproperties.json.ts | 2 +- .../panel/paneldemo-dataproperties.json.ts | 2 +- .../permissionsdemo-dataproperties.json.ts | 2 +- .../permissionsdemo-routing.module.ts | 2 +- .../permissions/permissionsdemo.component.ts | 2 +- .../permissionsdemo.dataevents.json.ts | 2 +- .../popupmenudemo-dataproperties.json.ts | 2 +- .../popupmenu/popupmenudemo.component.ts | 2 +- .../popupmenudemo.dataevents.json.ts | 2 +- .../progressbardemo-dataproperties.json.ts | 2 +- .../progressbardemo-routing.module.ts | 2 +- .../progressbar/progressbardemo.component.ts | 2 +- .../progressbar/progressbardemo.module.ts | 2 +- .../radiobuttondemo-dataproperties.json.ts | 2 +- ...heduledemo-overview-dataproperties.json.ts | 2 +- .../scheduledemo-overview.component.ts | 2 +- .../scheduledemo-overview.dataevents.json.ts | 2 +- .../shortcutdemo-dataproperties.json.ts | 2 +- .../shortcut/shortcutdemo.component.ts | 2 +- .../shortcut/shortcutdemo.dataevents.json.ts | 2 +- ...emo-dataproperties-sidebar-content.json.ts | 2 +- .../sidebardemo-dataproperties.json.ts | 2 +- .../sidebar/sidebardemo-routing.module.ts | 2 +- .../sidebar/sidebardemo.component.ts | 2 +- .../components/sidebar/sidebardemo.module.ts | 2 +- .../splitbuttondemo-dataproperties.json.ts | 2 +- .../stopwatchdemo-dataproperties.json.ts | 2 +- .../stopwatch/stopwatchdemo-routing.module.ts | 2 +- .../stopwatch/stopwatchdemo.component.ts | 2 +- .../stopwatchdemo.dataevents.json.ts | 2 +- .../switch/switchdemo-dataproperties.json.ts | 2 +- .../tabcontroldemo-dataproperties.json.ts | 2 +- .../textareademo-dataproperties.json.ts | 2 +- .../textarea/textareademo-routing.module.ts | 2 +- .../textarea/textareademo.component.ts | 2 +- .../textarea/textareademo.dataevents.json.ts | 2 +- ...vailable-pickerdemo-dataproperties.json.ts | 2 +- ...ime-available-pickerdemo-routing.module.ts | 2 +- .../time-available-pickerdemo.component.ts | 2 +- ...me-available-pickerdemo.dataevents.json.ts | 2 +- .../timelinedemo-dataproperties.json.ts | 2 +- .../timelinedemo-routing.module.ts | 2 +- .../infinitescroll/timelinedemo.component.ts | 2 +- .../timelinedemo.dataevents.json.ts | 2 +- .../timelinedemo-dataproperties.json.ts | 2 +- .../overview/timelinedemo-routing.module.ts | 2 +- .../overview/timelinedemo.component.ts | 2 +- .../overview/timelinedemo.dataevents.json.ts | 2 +- .../timelinedemo-dataproperties.json.ts | 2 +- .../timelinedemo-routing.module.ts | 2 +- .../templatedynamic/timelinedemo.component.ts | 2 +- .../timelinedemo.dataevents.json.ts | 2 +- .../timepickerdemo-dataproperties.json.ts | 2 +- .../timepickerdemo-routing.module.ts | 2 +- .../timepicker/timepickerdemo.component.ts | 2 +- .../timepickerdemo.dataevents.json.ts | 2 +- .../toasterdemo-dataproperties.json.ts | 2 +- .../toaster/toasterdemo.component.ts | 2 +- .../toolbardemo-dataproperties.json.ts | 2 +- .../showcase-card/showcase-card.module.ts | 2 +- .../showcase-header/showcase-header.module.ts | 2 +- .../showcase-returned-value.module.ts | 2 +- .../showcase-table-events.module.ts | 2 +- .../showcase-table-properties.module.ts | 2 +- src/app/shared/services/dumpdata.ts | 2 +- src/app/shared/services/githubapi.ts | 2 +- src/stories/accordion/accordion.stories.ts | 2 +- .../autocomplete/autocomplete.stories.ts | 2 +- src/stories/avatar/avatar.stories.ts | 2 +- src/stories/badge/badge.stories.ts | 2 +- src/stories/blockui/blockui.stories.ts | 2 +- src/stories/button/button.stories.ts | 6 +- .../buttongroup/buttongroup.stories.ts | 2 +- src/stories/calendar/calendar.stories.ts | 2 +- src/stories/card/card.stories.ts | 2 +- src/stories/checkbox/checkbox.stories.ts | 2 +- .../colorpicker/colorpicker.stories.ts | 2 +- .../contextmenu/contextmenu.stories.ts | 2 +- src/stories/datatable/datatable.stories.ts | 2 +- src/stories/datepicker/datepicker.stories.ts | 2 +- src/stories/dialog/dialog.stories.ts | 2 +- .../dropdownicon/dropdownicon.stories.ts | 2 +- .../dropdownlist/dropdownlist.stories.ts | 2 +- src/stories/editor/editor.stories.ts | 2 +- src/stories/form/form.stories.ts | 2 +- src/stories/icons/icons.stories.stories.ts | 2 +- .../inputcurrency/inputcurrency.stories.ts | 2 +- src/stories/inputmask/inputmask.stories.ts | 2 +- src/stories/inputtext/inputtext.stories.ts | 4 +- .../inputvalidators.stories.ts | 2 +- src/stories/listbox/listbox.stories.ts | 2 +- src/stories/loader/loader.stories.ts | 2 +- src/stories/menu/menu.stories.ts | 2 +- src/stories/modal/modal.stories.ts | 2 +- .../multiselect/multiselect.stories.ts | 2 +- src/stories/multiview/multiview.stories.ts | 2 +- src/stories/navigator/navigator.stories.ts | 2 +- .../overlaypanel/overlaypanel.stories.ts | 2 +- src/stories/panelgroup/panelgroup.stories.ts | 2 +- .../permissions/permissions.stories.ts | 2 +- src/stories/popupmenu/popupmenu.stories.ts | 2 +- .../progressbar/progressbar.stories.ts | 2 +- .../radiobutton/radiobutton.stories.ts | 2 +- src/stories/schedule/schedule.stories.ts | 2 +- src/stories/shortcut/shortcut.stories.ts | 2 +- src/stories/sidebar/sidebar.stories.ts | 2 +- .../splitbutton/splitbutton.stories.ts | 2 +- src/stories/stopwatch/stopwatch.stories.ts | 2 +- src/stories/switch/swtich.stories.ts | 2 +- src/stories/tabcontrol/tabcontrol.stories.ts | 2 +- src/stories/textarea/textarea.stories.ts | 2 +- .../timeavailable/timeavailable.stories.ts | 2 +- src/stories/timeline/timeline.stories.ts | 2 +- src/stories/timepicker/timepicker.stories.ts | 2 +- src/stories/toaster/toaster.stories.ts | 2 +- src/stories/toolbar/toolbar.stories.ts | 2 +- src/stories/tooltip/tooltip.stories.ts | 2 +- 201 files changed, 279 insertions(+), 279 deletions(-) diff --git a/README.md b/README.md index 4a2ffbe30..f40619059 100644 --- a/README.md +++ b/README.md @@ -67,9 +67,9 @@ TrulyUI is an Angular Framework especially developed for Desktop Applications ba We assume that you have already installed the following packages at least and are already running an AngularIO project. -* [NodeJS >= 10.0.0](https://nodejs.org) -* [Angular Cli >= 8.0.0](https://cli.angular.io/) -* [Angular >= 8.0.0](https://angular.io/) +* [NodeJS >= 11.2.0](https://nodejs.org) +* [Angular Cli >= 10.0.0](https://cli.angular.io/) +* [Angular >= 10.0.0](https://angular.io/) ## Installation @@ -230,10 +230,10 @@ Once your library is imported, you can use its components, directives and pipes | Feature | Status | Docs | Issue | | :--- | :--- | :--- | :--- | | datetimepicker | non-planned | | | -| clockpicker | In-progress, planned S1 2019 | | | +| clockpicker | In-progress, planned S1 2021 | | | | monthyearpicker | non-planned | | | -| paginator | In-progress, planned S1 2019 | | | -| schedule | In-progress, planned S1 2019 | | | +| paginator | In-progress, planned S1 2021 | | | +| schedule | In-progress, planned S1 2021 | | | | widget | non-planned | | | ## Feedback @@ -248,7 +248,7 @@ angular ui components angular 2 components, angular 4 components, angular electr The MIT License \(MIT\) -Copyright \(c\) 2019 [Temainfo Software](mailto:suporte@temainfo.com.br) +Copyright \(c\) 2020 [Temainfo Software](mailto:suporte@temainfo.com.br) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files \(the "Software"\), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/src/app/app.component.html b/src/app/app.component.html index ad22f5fe9..ac3a555bd 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -818,7 +818,7 @@ Temainfo Software -   Copyright © 2019 +   Copyright © 2020 All rights reserved. diff --git a/src/app/components/accordion/accordiondemo-dataproperties.json.ts b/src/app/components/accordion/accordiondemo-dataproperties.json.ts index e1435b086..c174eed2d 100644 --- a/src/app/components/accordion/accordiondemo-dataproperties.json.ts +++ b/src/app/components/accordion/accordiondemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/accordion/accordiondemo-routing.module.ts b/src/app/components/accordion/accordiondemo-routing.module.ts index 6c2e65681..b68f0dec2 100644 --- a/src/app/components/accordion/accordiondemo-routing.module.ts +++ b/src/app/components/accordion/accordiondemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/accordion/accordiondemo.module.ts b/src/app/components/accordion/accordiondemo.module.ts index 6b66dbdc9..ba62c9094 100644 --- a/src/app/components/accordion/accordiondemo.module.ts +++ b/src/app/components/accordion/accordiondemo.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/autocomplete/autocompletedemo-dataproperties.json.ts b/src/app/components/autocomplete/autocompletedemo-dataproperties.json.ts index 65a28a10a..2b90fbe4a 100644 --- a/src/app/components/autocomplete/autocompletedemo-dataproperties.json.ts +++ b/src/app/components/autocomplete/autocompletedemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/autocomplete/autocompletedemo-routing.module.ts b/src/app/components/autocomplete/autocompletedemo-routing.module.ts index 536df6bf2..8c626cd9d 100644 --- a/src/app/components/autocomplete/autocompletedemo-routing.module.ts +++ b/src/app/components/autocomplete/autocompletedemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/autocomplete/autocompletedemo.component.ts b/src/app/components/autocomplete/autocompletedemo.component.ts index bfc31e99f..ea3d0b171 100644 --- a/src/app/components/autocomplete/autocompletedemo.component.ts +++ b/src/app/components/autocomplete/autocompletedemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/autocomplete/autocompletedemo.module.ts b/src/app/components/autocomplete/autocompletedemo.module.ts index f1a8b8003..93a6a02d3 100644 --- a/src/app/components/autocomplete/autocompletedemo.module.ts +++ b/src/app/components/autocomplete/autocompletedemo.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/autocomplete/http.service.ts b/src/app/components/autocomplete/http.service.ts index b516f3a71..a106e4362 100644 --- a/src/app/components/autocomplete/http.service.ts +++ b/src/app/components/autocomplete/http.service.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Sistemas + Copyright (c) 2020 Temainfo Sistemas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/autocomplete/newclient/dataclient.service.ts b/src/app/components/autocomplete/newclient/dataclient.service.ts index b7d5c24e6..389daa6be 100644 --- a/src/app/components/autocomplete/newclient/dataclient.service.ts +++ b/src/app/components/autocomplete/newclient/dataclient.service.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/avatar/avatardemo-dataproperties.json.ts b/src/app/components/avatar/avatardemo-dataproperties.json.ts index fcde4cb60..c9827a12e 100644 --- a/src/app/components/avatar/avatardemo-dataproperties.json.ts +++ b/src/app/components/avatar/avatardemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/avatar/avatardemo-routing.module.ts b/src/app/components/avatar/avatardemo-routing.module.ts index 79e840f46..2851f1af6 100644 --- a/src/app/components/avatar/avatardemo-routing.module.ts +++ b/src/app/components/avatar/avatardemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/avatar/avatardemo.component.ts b/src/app/components/avatar/avatardemo.component.ts index fb5e412e6..ef671dadf 100644 --- a/src/app/components/avatar/avatardemo.component.ts +++ b/src/app/components/avatar/avatardemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/avatar/avatardemo.dataevents.json.ts b/src/app/components/avatar/avatardemo.dataevents.json.ts index b7af997ad..df847d180 100644 --- a/src/app/components/avatar/avatardemo.dataevents.json.ts +++ b/src/app/components/avatar/avatardemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/badge/badgedemo-dataproperties.json.ts b/src/app/components/badge/badgedemo-dataproperties.json.ts index 03595f32f..d5d0c4aee 100644 --- a/src/app/components/badge/badgedemo-dataproperties.json.ts +++ b/src/app/components/badge/badgedemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/badge/badgedemo.component.ts b/src/app/components/badge/badgedemo.component.ts index 227d45b84..5b1a66a70 100644 --- a/src/app/components/badge/badgedemo.component.ts +++ b/src/app/components/badge/badgedemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/badge/badgedemo.dataevents.json.ts b/src/app/components/badge/badgedemo.dataevents.json.ts index e0f5d77cb..e9f068af5 100644 --- a/src/app/components/badge/badgedemo.dataevents.json.ts +++ b/src/app/components/badge/badgedemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/blockui/blockuidemo-dataproperties.json.ts b/src/app/components/blockui/blockuidemo-dataproperties.json.ts index 485b27b15..9f59aa720 100644 --- a/src/app/components/blockui/blockuidemo-dataproperties.json.ts +++ b/src/app/components/blockui/blockuidemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/button/buttondemo-dataproperties.json.ts b/src/app/components/button/buttondemo-dataproperties.json.ts index 58abe38c3..f0480d409 100644 --- a/src/app/components/button/buttondemo-dataproperties.json.ts +++ b/src/app/components/button/buttondemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/button/buttondemo.component.ts b/src/app/components/button/buttondemo.component.ts index b377d06f1..67f260e26 100644 --- a/src/app/components/button/buttondemo.component.ts +++ b/src/app/components/button/buttondemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/button/buttondemo.dataevents.json.ts b/src/app/components/button/buttondemo.dataevents.json.ts index e0f5d77cb..e9f068af5 100644 --- a/src/app/components/button/buttondemo.dataevents.json.ts +++ b/src/app/components/button/buttondemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/buttongroup/buttongroupdemo-dataproperties.json.ts b/src/app/components/buttongroup/buttongroupdemo-dataproperties.json.ts index 1e1d2ce0a..987ee47d1 100644 --- a/src/app/components/buttongroup/buttongroupdemo-dataproperties.json.ts +++ b/src/app/components/buttongroup/buttongroupdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/buttongroup/buttongroupdemo.dataevents.json.ts b/src/app/components/buttongroup/buttongroupdemo.dataevents.json.ts index ce674ef34..7ef7046f6 100644 --- a/src/app/components/buttongroup/buttongroupdemo.dataevents.json.ts +++ b/src/app/components/buttongroup/buttongroupdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/calendar/calendardemo-dataproperties.json.ts b/src/app/components/calendar/calendardemo-dataproperties.json.ts index de2f3bcb3..7ba86020f 100644 --- a/src/app/components/calendar/calendardemo-dataproperties.json.ts +++ b/src/app/components/calendar/calendardemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/calendar/calendardemo.component.ts b/src/app/components/calendar/calendardemo.component.ts index bdda9e16c..bb1bb7a63 100644 --- a/src/app/components/calendar/calendardemo.component.ts +++ b/src/app/components/calendar/calendardemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/calendar/calendardemo.dataevents.json.ts b/src/app/components/calendar/calendardemo.dataevents.json.ts index 0bb4e2cd7..71b8f2315 100644 --- a/src/app/components/calendar/calendardemo.dataevents.json.ts +++ b/src/app/components/calendar/calendardemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/chatlist/chatlistdemo-dataproperties.json.ts b/src/app/components/chatlist/chatlistdemo-dataproperties.json.ts index c2f13b29a..8e11ed379 100644 --- a/src/app/components/chatlist/chatlistdemo-dataproperties.json.ts +++ b/src/app/components/chatlist/chatlistdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/chatlist/chatlistdemo.component.ts b/src/app/components/chatlist/chatlistdemo.component.ts index 69074f011..c104d6efa 100644 --- a/src/app/components/chatlist/chatlistdemo.component.ts +++ b/src/app/components/chatlist/chatlistdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal diff --git a/src/app/components/checkbox/checkboxdemo-dataproperties.json.ts b/src/app/components/checkbox/checkboxdemo-dataproperties.json.ts index c85cd7259..89ab2a30c 100644 --- a/src/app/components/checkbox/checkboxdemo-dataproperties.json.ts +++ b/src/app/components/checkbox/checkboxdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/clockpicker/clockpickerdemo-dataevents.json.ts b/src/app/components/clockpicker/clockpickerdemo-dataevents.json.ts index 10cf0d024..bdeb417f9 100644 --- a/src/app/components/clockpicker/clockpickerdemo-dataevents.json.ts +++ b/src/app/components/clockpicker/clockpickerdemo-dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/clockpicker/clockpickerdemo-dataproperties.json.ts b/src/app/components/clockpicker/clockpickerdemo-dataproperties.json.ts index fce1b1a39..cc61cc415 100644 --- a/src/app/components/clockpicker/clockpickerdemo-dataproperties.json.ts +++ b/src/app/components/clockpicker/clockpickerdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/colorpicker/colorpickerdemo-dataproperties.json.ts b/src/app/components/colorpicker/colorpickerdemo-dataproperties.json.ts index fd5dd3a0b..b76638876 100644 --- a/src/app/components/colorpicker/colorpickerdemo-dataproperties.json.ts +++ b/src/app/components/colorpicker/colorpickerdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/colorpicker/colorpickerdemo-routing.module.ts b/src/app/components/colorpicker/colorpickerdemo-routing.module.ts index f6d3624b9..7315be528 100644 --- a/src/app/components/colorpicker/colorpickerdemo-routing.module.ts +++ b/src/app/components/colorpicker/colorpickerdemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/colorpicker/colorpickerdemo.component.ts b/src/app/components/colorpicker/colorpickerdemo.component.ts index f361f79da..036f92b83 100644 --- a/src/app/components/colorpicker/colorpickerdemo.component.ts +++ b/src/app/components/colorpicker/colorpickerdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/colorpicker/colorpickerdemo.dataevents.json.ts b/src/app/components/colorpicker/colorpickerdemo.dataevents.json.ts index 396025ea1..7322dc65a 100644 --- a/src/app/components/colorpicker/colorpickerdemo.dataevents.json.ts +++ b/src/app/components/colorpicker/colorpickerdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/datatable/columnfeatures/datatable-columnfeatures.demo.component.html b/src/app/components/datatable/columnfeatures/datatable-columnfeatures.demo.component.html index aba674196..70abee009 100644 --- a/src/app/components/datatable/columnfeatures/datatable-columnfeatures.demo.component.html +++ b/src/app/components/datatable/columnfeatures/datatable-columnfeatures.demo.component.html @@ -6,79 +6,79 @@
- - - - - - - - - - - - - - - + + +
+

Auto-Generated Columns

+

+ If the Datatable columns are not explicitly configured, the Grid auto-generates them and establishes their number + depending on the data fields the Grid is bound to. +

+ +
+ +
+
- - - - - - - - - - - - - - - + + +
+

Column Resizing

+

+ The Datatable enables you to resize its columns by dragging the edges (resize handles) of the header cells. + To enable column resizing, set the [allowResize] property of the Datatable to true. +

+ +
+ +
+
- - - - - - - - - - - - - - - - - - - + + +
+

Column Filtering

+

+ By default, when [allowFilterColumn] is enabled, the Datatable renders a filter row in its header. Based on the type of + data the columns contain, the filter row displays textboxes in each column header where the user can filter + string, numeric, or date inputs. +
+ You can also hide the filter options for a particular column using parameter [showFilterOptions] + or even remove a filter for a specific column using parameter [showFilter] in column property. +

+ +
+ +
+
- - - - - - - - - - - - - - - - - - - - - + + +
+

Column Sorting

+

+ Simply enabling [allowSortColumn] property of Datatable to make a columns sortables.
+ You can also deactivate the ordering of a given column by passing the [sorteable] parameter in the column component. +

+ + + + + + + +
+ +
+
diff --git a/src/app/components/date/datedemo-dataproperties.json.ts b/src/app/components/date/datedemo-dataproperties.json.ts index 366762403..4655aadc0 100644 --- a/src/app/components/date/datedemo-dataproperties.json.ts +++ b/src/app/components/date/datedemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/date/datedemo-routing.module.ts b/src/app/components/date/datedemo-routing.module.ts index f4d2e3136..9aec25de6 100644 --- a/src/app/components/date/datedemo-routing.module.ts +++ b/src/app/components/date/datedemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/date/datedemo.component.ts b/src/app/components/date/datedemo.component.ts index e1278d7fe..f0a9cee18 100644 --- a/src/app/components/date/datedemo.component.ts +++ b/src/app/components/date/datedemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/date/datedemo.dataevents.json.ts b/src/app/components/date/datedemo.dataevents.json.ts index 6317d5acd..eae6616f0 100644 --- a/src/app/components/date/datedemo.dataevents.json.ts +++ b/src/app/components/date/datedemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/datepicker/datepickerdemo-dataproperties.json.ts b/src/app/components/datepicker/datepickerdemo-dataproperties.json.ts index 890b8472c..c0970cf9c 100644 --- a/src/app/components/datepicker/datepickerdemo-dataproperties.json.ts +++ b/src/app/components/datepicker/datepickerdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/datepicker/datepickerdemo.component.ts b/src/app/components/datepicker/datepickerdemo.component.ts index 9623cbc2c..144858b99 100644 --- a/src/app/components/datepicker/datepickerdemo.component.ts +++ b/src/app/components/datepicker/datepickerdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/datepicker/datepickerdemo.dataevents.json.ts b/src/app/components/datepicker/datepickerdemo.dataevents.json.ts index 07c25b779..36817950a 100644 --- a/src/app/components/datepicker/datepickerdemo.dataevents.json.ts +++ b/src/app/components/datepicker/datepickerdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/dialog/dialog-dataproperties.json.ts b/src/app/components/dialog/dialog-dataproperties.json.ts index da839a319..5fedb253b 100644 --- a/src/app/components/dialog/dialog-dataproperties.json.ts +++ b/src/app/components/dialog/dialog-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/dialog/dialogdemo.dataevents.json.ts b/src/app/components/dialog/dialogdemo.dataevents.json.ts index 14f20ab25..23501077d 100644 --- a/src/app/components/dialog/dialogdemo.dataevents.json.ts +++ b/src/app/components/dialog/dialogdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/editor/editordemo-dataevents.json.ts b/src/app/components/editor/editordemo-dataevents.json.ts index fcc04fb4f..fb11cea6f 100644 --- a/src/app/components/editor/editordemo-dataevents.json.ts +++ b/src/app/components/editor/editordemo-dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/editor/editordemo-dataproperties.json.ts b/src/app/components/editor/editordemo-dataproperties.json.ts index fab3ffcd4..0404f21a9 100644 --- a/src/app/components/editor/editordemo-dataproperties.json.ts +++ b/src/app/components/editor/editordemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/editor/editordemo-routing.module.ts b/src/app/components/editor/editordemo-routing.module.ts index 5e16aaf9a..b39c5691c 100644 --- a/src/app/components/editor/editordemo-routing.module.ts +++ b/src/app/components/editor/editordemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/editor/editordemo.module.ts b/src/app/components/editor/editordemo.module.ts index 29524cb2c..35cdcc55c 100644 --- a/src/app/components/editor/editordemo.module.ts +++ b/src/app/components/editor/editordemo.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/form/form-dataevent.json.ts b/src/app/components/form/form-dataevent.json.ts index 43115077d..fc92c9453 100644 --- a/src/app/components/form/form-dataevent.json.ts +++ b/src/app/components/form/form-dataevent.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/form/form-dataproperties.json.ts b/src/app/components/form/form-dataproperties.json.ts index 8e71ef0e1..d4f7c8c3a 100644 --- a/src/app/components/form/form-dataproperties.json.ts +++ b/src/app/components/form/form-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/form/modal/modal-options-table.ts b/src/app/components/form/modal/modal-options-table.ts index 3d395f44b..363faa7da 100644 --- a/src/app/components/form/modal/modal-options-table.ts +++ b/src/app/components/form/modal/modal-options-table.ts @@ -3,7 +3,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Sistemas + Copyright (c) 2020 Temainfo Sistemas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/form/smart/modal-config-table.ts b/src/app/components/form/smart/modal-config-table.ts index eaecb140e..7153d8838 100644 --- a/src/app/components/form/smart/modal-config-table.ts +++ b/src/app/components/form/smart/modal-config-table.ts @@ -3,7 +3,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Sistemas + Copyright (c) 2020 Temainfo Sistemas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/icons/dxicons/iconsdemo-routing.module.ts b/src/app/components/icons/dxicons/iconsdemo-routing.module.ts index 0e6a9bcbf..495424ca9 100644 --- a/src/app/components/icons/dxicons/iconsdemo-routing.module.ts +++ b/src/app/components/icons/dxicons/iconsdemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/icons/dxicons/iconsdemo.component.ts b/src/app/components/icons/dxicons/iconsdemo.component.ts index 8cc69467a..12a8b6c12 100644 --- a/src/app/components/icons/dxicons/iconsdemo.component.ts +++ b/src/app/components/icons/dxicons/iconsdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/icons/font-awesome/iconsdemo-routing.module.ts b/src/app/components/icons/font-awesome/iconsdemo-routing.module.ts index 0e6a9bcbf..495424ca9 100644 --- a/src/app/components/icons/font-awesome/iconsdemo-routing.module.ts +++ b/src/app/components/icons/font-awesome/iconsdemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/icons/font-awesome/iconsdemo.component.ts b/src/app/components/icons/font-awesome/iconsdemo.component.ts index 83a79f99d..bb2545d00 100644 --- a/src/app/components/icons/font-awesome/iconsdemo.component.ts +++ b/src/app/components/icons/font-awesome/iconsdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/icons/ionicons/iconsdemo-routing.module.ts b/src/app/components/icons/ionicons/iconsdemo-routing.module.ts index 0e6a9bcbf..495424ca9 100644 --- a/src/app/components/icons/ionicons/iconsdemo-routing.module.ts +++ b/src/app/components/icons/ionicons/iconsdemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/icons/ionicons/iconsdemo.component.ts b/src/app/components/icons/ionicons/iconsdemo.component.ts index 21eb65cc8..7b5320f7a 100644 --- a/src/app/components/icons/ionicons/iconsdemo.component.ts +++ b/src/app/components/icons/ionicons/iconsdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permissis hereby granted, free of charge, to any person obtaining a copy of this software and associated documentatfiles (the "Software"), to deal diff --git a/src/app/components/icons/overview/iconsdemo-dataproperties.json.ts b/src/app/components/icons/overview/iconsdemo-dataproperties.json.ts index 177e8304c..c4de6bf65 100644 --- a/src/app/components/icons/overview/iconsdemo-dataproperties.json.ts +++ b/src/app/components/icons/overview/iconsdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/icons/overview/iconsdemo-routing.module.ts b/src/app/components/icons/overview/iconsdemo-routing.module.ts index 0e6a9bcbf..495424ca9 100644 --- a/src/app/components/icons/overview/iconsdemo-routing.module.ts +++ b/src/app/components/icons/overview/iconsdemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/icons/overview/iconsdemo.component.ts b/src/app/components/icons/overview/iconsdemo.component.ts index fa2316895..0bce9a293 100644 --- a/src/app/components/icons/overview/iconsdemo.component.ts +++ b/src/app/components/icons/overview/iconsdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/input/inputdemo-dataproperties.json.ts b/src/app/components/input/inputdemo-dataproperties.json.ts index a82b57ff4..44b72ac72 100644 --- a/src/app/components/input/inputdemo-dataproperties.json.ts +++ b/src/app/components/input/inputdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/input/inputdemo.dataevents.json.ts b/src/app/components/input/inputdemo.dataevents.json.ts index ccc867263..45fa138f9 100644 --- a/src/app/components/input/inputdemo.dataevents.json.ts +++ b/src/app/components/input/inputdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/inputcurrency/inputcurrencydemo-dataproperties.json.ts b/src/app/components/inputcurrency/inputcurrencydemo-dataproperties.json.ts index b2c0b2843..81a8c317f 100644 --- a/src/app/components/inputcurrency/inputcurrencydemo-dataproperties.json.ts +++ b/src/app/components/inputcurrency/inputcurrencydemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/inputcurrency/inputcurrencydemo-routing.module.ts b/src/app/components/inputcurrency/inputcurrencydemo-routing.module.ts index df71a3446..85ed84d09 100644 --- a/src/app/components/inputcurrency/inputcurrencydemo-routing.module.ts +++ b/src/app/components/inputcurrency/inputcurrencydemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/inputcurrency/inputcurrencydemo.component.ts b/src/app/components/inputcurrency/inputcurrencydemo.component.ts index 59c1728de..fb80a9668 100644 --- a/src/app/components/inputcurrency/inputcurrencydemo.component.ts +++ b/src/app/components/inputcurrency/inputcurrencydemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/inputcurrency/inputcurrencydemo.dataevents.json.ts b/src/app/components/inputcurrency/inputcurrencydemo.dataevents.json.ts index 6317d5acd..eae6616f0 100644 --- a/src/app/components/inputcurrency/inputcurrencydemo.dataevents.json.ts +++ b/src/app/components/inputcurrency/inputcurrencydemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/inputmask/inputmaskdemo-dataproperties.json.ts b/src/app/components/inputmask/inputmaskdemo-dataproperties.json.ts index fca8c1bd0..f23328a3e 100644 --- a/src/app/components/inputmask/inputmaskdemo-dataproperties.json.ts +++ b/src/app/components/inputmask/inputmaskdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/inputvalidators/inputvalidatorsdemo-dataproperties.json.ts b/src/app/components/inputvalidators/inputvalidatorsdemo-dataproperties.json.ts index 0060adcbb..86660da9c 100644 --- a/src/app/components/inputvalidators/inputvalidatorsdemo-dataproperties.json.ts +++ b/src/app/components/inputvalidators/inputvalidatorsdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/inputvalidators/inputvalidatorsdemo.dataevents.json.ts b/src/app/components/inputvalidators/inputvalidatorsdemo.dataevents.json.ts index ccc867263..45fa138f9 100644 --- a/src/app/components/inputvalidators/inputvalidatorsdemo.dataevents.json.ts +++ b/src/app/components/inputvalidators/inputvalidatorsdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/listbox/listboxdemo-dataproperties.json.ts b/src/app/components/listbox/listboxdemo-dataproperties.json.ts index a3159e232..9cb9da570 100644 --- a/src/app/components/listbox/listboxdemo-dataproperties.json.ts +++ b/src/app/components/listbox/listboxdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/menu/menudemo-dataproperties.json.ts b/src/app/components/menu/menudemo-dataproperties.json.ts index d86d5e52b..fefe7d02f 100644 --- a/src/app/components/menu/menudemo-dataproperties.json.ts +++ b/src/app/components/menu/menudemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/menu/menudemo.component.ts b/src/app/components/menu/menudemo.component.ts index 3146bf78c..85d244aa5 100644 --- a/src/app/components/menu/menudemo.component.ts +++ b/src/app/components/menu/menudemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/menu/menudemo.dataevents.json.ts b/src/app/components/menu/menudemo.dataevents.json.ts index 40573c451..37329f37c 100644 --- a/src/app/components/menu/menudemo.dataevents.json.ts +++ b/src/app/components/menu/menudemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/modal/modal-dataevents.json.ts b/src/app/components/modal/modal-dataevents.json.ts index 6ef701c8d..c1fe28f0b 100644 --- a/src/app/components/modal/modal-dataevents.json.ts +++ b/src/app/components/modal/modal-dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/modal/modal-dataproperties.json.ts b/src/app/components/modal/modal-dataproperties.json.ts index de9d3a936..a85ebbdcb 100644 --- a/src/app/components/modal/modal-dataproperties.json.ts +++ b/src/app/components/modal/modal-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/modal/modal-dataresults.json.ts b/src/app/components/modal/modal-dataresults.json.ts index cbfb1e6d9..61d45e90c 100644 --- a/src/app/components/modal/modal-dataresults.json.ts +++ b/src/app/components/modal/modal-dataresults.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/multiselect/multiselectdemo-dataproperties.json.ts b/src/app/components/multiselect/multiselectdemo-dataproperties.json.ts index c54855508..1f0217425 100644 --- a/src/app/components/multiselect/multiselectdemo-dataproperties.json.ts +++ b/src/app/components/multiselect/multiselectdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/multiview/multiviewdemo-dataproperties.json.ts b/src/app/components/multiview/multiviewdemo-dataproperties.json.ts index 466f70cea..c9afddd8f 100644 --- a/src/app/components/multiview/multiviewdemo-dataproperties.json.ts +++ b/src/app/components/multiview/multiviewdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/multiview/multiviewdemo-routing.module.ts b/src/app/components/multiview/multiviewdemo-routing.module.ts index 43a3f0879..30e1e6143 100644 --- a/src/app/components/multiview/multiviewdemo-routing.module.ts +++ b/src/app/components/multiview/multiviewdemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/multiview/multiviewdemo.component.ts b/src/app/components/multiview/multiviewdemo.component.ts index 2137ec5cb..80e7cfccb 100644 --- a/src/app/components/multiview/multiviewdemo.component.ts +++ b/src/app/components/multiview/multiviewdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/multiview/multiviewdemo.module.ts b/src/app/components/multiview/multiviewdemo.module.ts index 8732830f0..84562ee39 100644 --- a/src/app/components/multiview/multiviewdemo.module.ts +++ b/src/app/components/multiview/multiviewdemo.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/overlaypanel/overlay-paneldemo-dataproperties.json.ts b/src/app/components/overlaypanel/overlay-paneldemo-dataproperties.json.ts index 4eb721fa9..8083c2b6d 100644 --- a/src/app/components/overlaypanel/overlay-paneldemo-dataproperties.json.ts +++ b/src/app/components/overlaypanel/overlay-paneldemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/panel/paneldemo-dataproperties.json.ts b/src/app/components/panel/paneldemo-dataproperties.json.ts index ac9f8655a..2cdd56595 100644 --- a/src/app/components/panel/paneldemo-dataproperties.json.ts +++ b/src/app/components/panel/paneldemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/permissions/permissionsdemo-dataproperties.json.ts b/src/app/components/permissions/permissionsdemo-dataproperties.json.ts index 924b828e9..f92f67c98 100644 --- a/src/app/components/permissions/permissionsdemo-dataproperties.json.ts +++ b/src/app/components/permissions/permissionsdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/permissions/permissionsdemo-routing.module.ts b/src/app/components/permissions/permissionsdemo-routing.module.ts index 51ca9c861..6c02e391a 100644 --- a/src/app/components/permissions/permissionsdemo-routing.module.ts +++ b/src/app/components/permissions/permissionsdemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/permissions/permissionsdemo.component.ts b/src/app/components/permissions/permissionsdemo.component.ts index 16e8396b0..acb3c1c5d 100644 --- a/src/app/components/permissions/permissionsdemo.component.ts +++ b/src/app/components/permissions/permissionsdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/permissions/permissionsdemo.dataevents.json.ts b/src/app/components/permissions/permissionsdemo.dataevents.json.ts index 00487b61a..db0161f73 100644 --- a/src/app/components/permissions/permissionsdemo.dataevents.json.ts +++ b/src/app/components/permissions/permissionsdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/popupmenu/popupmenudemo-dataproperties.json.ts b/src/app/components/popupmenu/popupmenudemo-dataproperties.json.ts index 56ceb19ec..74ccc9b02 100644 --- a/src/app/components/popupmenu/popupmenudemo-dataproperties.json.ts +++ b/src/app/components/popupmenu/popupmenudemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/popupmenu/popupmenudemo.component.ts b/src/app/components/popupmenu/popupmenudemo.component.ts index f68587195..d69a0a649 100644 --- a/src/app/components/popupmenu/popupmenudemo.component.ts +++ b/src/app/components/popupmenu/popupmenudemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/popupmenu/popupmenudemo.dataevents.json.ts b/src/app/components/popupmenu/popupmenudemo.dataevents.json.ts index 40573c451..37329f37c 100644 --- a/src/app/components/popupmenu/popupmenudemo.dataevents.json.ts +++ b/src/app/components/popupmenu/popupmenudemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/progressbar/progressbardemo-dataproperties.json.ts b/src/app/components/progressbar/progressbardemo-dataproperties.json.ts index b411bc0f6..8afa00410 100644 --- a/src/app/components/progressbar/progressbardemo-dataproperties.json.ts +++ b/src/app/components/progressbar/progressbardemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/progressbar/progressbardemo-routing.module.ts b/src/app/components/progressbar/progressbardemo-routing.module.ts index ca2498231..cf526f10e 100644 --- a/src/app/components/progressbar/progressbardemo-routing.module.ts +++ b/src/app/components/progressbar/progressbardemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/progressbar/progressbardemo.component.ts b/src/app/components/progressbar/progressbardemo.component.ts index 019c215bb..1cef723d5 100644 --- a/src/app/components/progressbar/progressbardemo.component.ts +++ b/src/app/components/progressbar/progressbardemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/progressbar/progressbardemo.module.ts b/src/app/components/progressbar/progressbardemo.module.ts index a754958ca..fcef60af9 100644 --- a/src/app/components/progressbar/progressbardemo.module.ts +++ b/src/app/components/progressbar/progressbardemo.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/radiobutton/radiobuttondemo-dataproperties.json.ts b/src/app/components/radiobutton/radiobuttondemo-dataproperties.json.ts index 81cbeef57..e4bfbb108 100644 --- a/src/app/components/radiobutton/radiobuttondemo-dataproperties.json.ts +++ b/src/app/components/radiobutton/radiobuttondemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/schedule/overview/scheduledemo-overview-dataproperties.json.ts b/src/app/components/schedule/overview/scheduledemo-overview-dataproperties.json.ts index 491fdb12c..4bfece7f2 100644 --- a/src/app/components/schedule/overview/scheduledemo-overview-dataproperties.json.ts +++ b/src/app/components/schedule/overview/scheduledemo-overview-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/schedule/overview/scheduledemo-overview.component.ts b/src/app/components/schedule/overview/scheduledemo-overview.component.ts index e635e0c75..334fced45 100644 --- a/src/app/components/schedule/overview/scheduledemo-overview.component.ts +++ b/src/app/components/schedule/overview/scheduledemo-overview.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/schedule/overview/scheduledemo-overview.dataevents.json.ts b/src/app/components/schedule/overview/scheduledemo-overview.dataevents.json.ts index 316efe697..edd956a72 100644 --- a/src/app/components/schedule/overview/scheduledemo-overview.dataevents.json.ts +++ b/src/app/components/schedule/overview/scheduledemo-overview.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/shortcut/shortcutdemo-dataproperties.json.ts b/src/app/components/shortcut/shortcutdemo-dataproperties.json.ts index e52961685..864982529 100644 --- a/src/app/components/shortcut/shortcutdemo-dataproperties.json.ts +++ b/src/app/components/shortcut/shortcutdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/shortcut/shortcutdemo.component.ts b/src/app/components/shortcut/shortcutdemo.component.ts index 3076dc763..e193e5a7a 100644 --- a/src/app/components/shortcut/shortcutdemo.component.ts +++ b/src/app/components/shortcut/shortcutdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/shortcut/shortcutdemo.dataevents.json.ts b/src/app/components/shortcut/shortcutdemo.dataevents.json.ts index e0f5d77cb..e9f068af5 100644 --- a/src/app/components/shortcut/shortcutdemo.dataevents.json.ts +++ b/src/app/components/shortcut/shortcutdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/sidebar/sidebardemo-dataproperties-sidebar-content.json.ts b/src/app/components/sidebar/sidebardemo-dataproperties-sidebar-content.json.ts index 845c0a93f..88837caa1 100644 --- a/src/app/components/sidebar/sidebardemo-dataproperties-sidebar-content.json.ts +++ b/src/app/components/sidebar/sidebardemo-dataproperties-sidebar-content.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/sidebar/sidebardemo-dataproperties.json.ts b/src/app/components/sidebar/sidebardemo-dataproperties.json.ts index 9bfd2ee40..5778027c6 100644 --- a/src/app/components/sidebar/sidebardemo-dataproperties.json.ts +++ b/src/app/components/sidebar/sidebardemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/sidebar/sidebardemo-routing.module.ts b/src/app/components/sidebar/sidebardemo-routing.module.ts index ae46aa966..f50c009a9 100644 --- a/src/app/components/sidebar/sidebardemo-routing.module.ts +++ b/src/app/components/sidebar/sidebardemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/sidebar/sidebardemo.component.ts b/src/app/components/sidebar/sidebardemo.component.ts index 5d0f03f03..0b35618be 100644 --- a/src/app/components/sidebar/sidebardemo.component.ts +++ b/src/app/components/sidebar/sidebardemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/sidebar/sidebardemo.module.ts b/src/app/components/sidebar/sidebardemo.module.ts index b89afa799..dbaa1523b 100644 --- a/src/app/components/sidebar/sidebardemo.module.ts +++ b/src/app/components/sidebar/sidebardemo.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/splitbutton/splitbuttondemo-dataproperties.json.ts b/src/app/components/splitbutton/splitbuttondemo-dataproperties.json.ts index ce1d34015..91990bf0d 100644 --- a/src/app/components/splitbutton/splitbuttondemo-dataproperties.json.ts +++ b/src/app/components/splitbutton/splitbuttondemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/stopwatch/stopwatchdemo-dataproperties.json.ts b/src/app/components/stopwatch/stopwatchdemo-dataproperties.json.ts index 377e5f04d..679692350 100644 --- a/src/app/components/stopwatch/stopwatchdemo-dataproperties.json.ts +++ b/src/app/components/stopwatch/stopwatchdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/stopwatch/stopwatchdemo-routing.module.ts b/src/app/components/stopwatch/stopwatchdemo-routing.module.ts index 304f61a1a..2ce26b258 100644 --- a/src/app/components/stopwatch/stopwatchdemo-routing.module.ts +++ b/src/app/components/stopwatch/stopwatchdemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/stopwatch/stopwatchdemo.component.ts b/src/app/components/stopwatch/stopwatchdemo.component.ts index e8ad09bc0..9dea28f92 100644 --- a/src/app/components/stopwatch/stopwatchdemo.component.ts +++ b/src/app/components/stopwatch/stopwatchdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/stopwatch/stopwatchdemo.dataevents.json.ts b/src/app/components/stopwatch/stopwatchdemo.dataevents.json.ts index 98e5c2b37..0fa73b9f6 100644 --- a/src/app/components/stopwatch/stopwatchdemo.dataevents.json.ts +++ b/src/app/components/stopwatch/stopwatchdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/switch/switchdemo-dataproperties.json.ts b/src/app/components/switch/switchdemo-dataproperties.json.ts index 47dd92bba..723cb3ca9 100644 --- a/src/app/components/switch/switchdemo-dataproperties.json.ts +++ b/src/app/components/switch/switchdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/tabcontrol/tabcontroldemo-dataproperties.json.ts b/src/app/components/tabcontrol/tabcontroldemo-dataproperties.json.ts index 8d81fb361..38fca36da 100644 --- a/src/app/components/tabcontrol/tabcontroldemo-dataproperties.json.ts +++ b/src/app/components/tabcontrol/tabcontroldemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/textarea/textareademo-dataproperties.json.ts b/src/app/components/textarea/textareademo-dataproperties.json.ts index 2f4b01c7d..e16c2c346 100644 --- a/src/app/components/textarea/textareademo-dataproperties.json.ts +++ b/src/app/components/textarea/textareademo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/textarea/textareademo-routing.module.ts b/src/app/components/textarea/textareademo-routing.module.ts index 4fc6e2060..1176df851 100644 --- a/src/app/components/textarea/textareademo-routing.module.ts +++ b/src/app/components/textarea/textareademo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/textarea/textareademo.component.ts b/src/app/components/textarea/textareademo.component.ts index 76d690b89..6e680cac2 100644 --- a/src/app/components/textarea/textareademo.component.ts +++ b/src/app/components/textarea/textareademo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/textarea/textareademo.dataevents.json.ts b/src/app/components/textarea/textareademo.dataevents.json.ts index 2de79d3ae..24b305d48 100644 --- a/src/app/components/textarea/textareademo.dataevents.json.ts +++ b/src/app/components/textarea/textareademo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/time-available-picker/time-available-pickerdemo-dataproperties.json.ts b/src/app/components/time-available-picker/time-available-pickerdemo-dataproperties.json.ts index fc7e08646..30988eb9f 100644 --- a/src/app/components/time-available-picker/time-available-pickerdemo-dataproperties.json.ts +++ b/src/app/components/time-available-picker/time-available-pickerdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/time-available-picker/time-available-pickerdemo-routing.module.ts b/src/app/components/time-available-picker/time-available-pickerdemo-routing.module.ts index 1714c2a46..b00bde25a 100644 --- a/src/app/components/time-available-picker/time-available-pickerdemo-routing.module.ts +++ b/src/app/components/time-available-picker/time-available-pickerdemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/time-available-picker/time-available-pickerdemo.component.ts b/src/app/components/time-available-picker/time-available-pickerdemo.component.ts index 8e4aaf124..8b7415cc7 100644 --- a/src/app/components/time-available-picker/time-available-pickerdemo.component.ts +++ b/src/app/components/time-available-picker/time-available-pickerdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/time-available-picker/time-available-pickerdemo.dataevents.json.ts b/src/app/components/time-available-picker/time-available-pickerdemo.dataevents.json.ts index ddaff73ba..350d2f6eb 100644 --- a/src/app/components/time-available-picker/time-available-pickerdemo.dataevents.json.ts +++ b/src/app/components/time-available-picker/time-available-pickerdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/infinitescroll/timelinedemo-dataproperties.json.ts b/src/app/components/timeline/infinitescroll/timelinedemo-dataproperties.json.ts index 8e438f09b..c15e89043 100644 --- a/src/app/components/timeline/infinitescroll/timelinedemo-dataproperties.json.ts +++ b/src/app/components/timeline/infinitescroll/timelinedemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/infinitescroll/timelinedemo-routing.module.ts b/src/app/components/timeline/infinitescroll/timelinedemo-routing.module.ts index 99ef7a8f4..9058366c0 100644 --- a/src/app/components/timeline/infinitescroll/timelinedemo-routing.module.ts +++ b/src/app/components/timeline/infinitescroll/timelinedemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/infinitescroll/timelinedemo.component.ts b/src/app/components/timeline/infinitescroll/timelinedemo.component.ts index 6e1b0e0c7..d26b70208 100644 --- a/src/app/components/timeline/infinitescroll/timelinedemo.component.ts +++ b/src/app/components/timeline/infinitescroll/timelinedemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/infinitescroll/timelinedemo.dataevents.json.ts b/src/app/components/timeline/infinitescroll/timelinedemo.dataevents.json.ts index 35eb46799..94a90f47c 100644 --- a/src/app/components/timeline/infinitescroll/timelinedemo.dataevents.json.ts +++ b/src/app/components/timeline/infinitescroll/timelinedemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/overview/timelinedemo-dataproperties.json.ts b/src/app/components/timeline/overview/timelinedemo-dataproperties.json.ts index 8e438f09b..c15e89043 100644 --- a/src/app/components/timeline/overview/timelinedemo-dataproperties.json.ts +++ b/src/app/components/timeline/overview/timelinedemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/overview/timelinedemo-routing.module.ts b/src/app/components/timeline/overview/timelinedemo-routing.module.ts index 99ef7a8f4..9058366c0 100644 --- a/src/app/components/timeline/overview/timelinedemo-routing.module.ts +++ b/src/app/components/timeline/overview/timelinedemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/overview/timelinedemo.component.ts b/src/app/components/timeline/overview/timelinedemo.component.ts index 0624e49a3..8a4c447a4 100644 --- a/src/app/components/timeline/overview/timelinedemo.component.ts +++ b/src/app/components/timeline/overview/timelinedemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/overview/timelinedemo.dataevents.json.ts b/src/app/components/timeline/overview/timelinedemo.dataevents.json.ts index 35eb46799..94a90f47c 100644 --- a/src/app/components/timeline/overview/timelinedemo.dataevents.json.ts +++ b/src/app/components/timeline/overview/timelinedemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/templatedynamic/timelinedemo-dataproperties.json.ts b/src/app/components/timeline/templatedynamic/timelinedemo-dataproperties.json.ts index 8e438f09b..c15e89043 100644 --- a/src/app/components/timeline/templatedynamic/timelinedemo-dataproperties.json.ts +++ b/src/app/components/timeline/templatedynamic/timelinedemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/templatedynamic/timelinedemo-routing.module.ts b/src/app/components/timeline/templatedynamic/timelinedemo-routing.module.ts index 99ef7a8f4..9058366c0 100644 --- a/src/app/components/timeline/templatedynamic/timelinedemo-routing.module.ts +++ b/src/app/components/timeline/templatedynamic/timelinedemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/templatedynamic/timelinedemo.component.ts b/src/app/components/timeline/templatedynamic/timelinedemo.component.ts index 4cc02d935..085223318 100644 --- a/src/app/components/timeline/templatedynamic/timelinedemo.component.ts +++ b/src/app/components/timeline/templatedynamic/timelinedemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timeline/templatedynamic/timelinedemo.dataevents.json.ts b/src/app/components/timeline/templatedynamic/timelinedemo.dataevents.json.ts index 35eb46799..94a90f47c 100644 --- a/src/app/components/timeline/templatedynamic/timelinedemo.dataevents.json.ts +++ b/src/app/components/timeline/templatedynamic/timelinedemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timepicker/timepickerdemo-dataproperties.json.ts b/src/app/components/timepicker/timepickerdemo-dataproperties.json.ts index 4e7cebea7..d4ded75b2 100644 --- a/src/app/components/timepicker/timepickerdemo-dataproperties.json.ts +++ b/src/app/components/timepicker/timepickerdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timepicker/timepickerdemo-routing.module.ts b/src/app/components/timepicker/timepickerdemo-routing.module.ts index 90d97b0d3..8d1b09dea 100644 --- a/src/app/components/timepicker/timepickerdemo-routing.module.ts +++ b/src/app/components/timepicker/timepickerdemo-routing.module.ts @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2019 Temainfo Software +Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timepicker/timepickerdemo.component.ts b/src/app/components/timepicker/timepickerdemo.component.ts index d39f3edc0..d253badb4 100644 --- a/src/app/components/timepicker/timepickerdemo.component.ts +++ b/src/app/components/timepicker/timepickerdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/timepicker/timepickerdemo.dataevents.json.ts b/src/app/components/timepicker/timepickerdemo.dataevents.json.ts index 043893530..9936ca480 100644 --- a/src/app/components/timepicker/timepickerdemo.dataevents.json.ts +++ b/src/app/components/timepicker/timepickerdemo.dataevents.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/toaster/toasterdemo-dataproperties.json.ts b/src/app/components/toaster/toasterdemo-dataproperties.json.ts index feffdb083..c729b6403 100644 --- a/src/app/components/toaster/toasterdemo-dataproperties.json.ts +++ b/src/app/components/toaster/toasterdemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/toaster/toasterdemo.component.ts b/src/app/components/toaster/toasterdemo.component.ts index d601c1c83..8bbc4acc5 100644 --- a/src/app/components/toaster/toasterdemo.component.ts +++ b/src/app/components/toaster/toasterdemo.component.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/components/toolbar/toolbardemo-dataproperties.json.ts b/src/app/components/toolbar/toolbardemo-dataproperties.json.ts index 1d5d8264e..71a0b41b9 100644 --- a/src/app/components/toolbar/toolbardemo-dataproperties.json.ts +++ b/src/app/components/toolbar/toolbardemo-dataproperties.json.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/shared/components/showcase-card/showcase-card.module.ts b/src/app/shared/components/showcase-card/showcase-card.module.ts index c2866ea62..032498d27 100644 --- a/src/app/shared/components/showcase-card/showcase-card.module.ts +++ b/src/app/shared/components/showcase-card/showcase-card.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/shared/components/showcase-header/showcase-header.module.ts b/src/app/shared/components/showcase-header/showcase-header.module.ts index 8eec61026..470273063 100644 --- a/src/app/shared/components/showcase-header/showcase-header.module.ts +++ b/src/app/shared/components/showcase-header/showcase-header.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/shared/components/showcase-returned-value/showcase-returned-value.module.ts b/src/app/shared/components/showcase-returned-value/showcase-returned-value.module.ts index c94d04abc..81a872e3b 100644 --- a/src/app/shared/components/showcase-returned-value/showcase-returned-value.module.ts +++ b/src/app/shared/components/showcase-returned-value/showcase-returned-value.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/shared/components/showcase-table-events/showcase-table-events.module.ts b/src/app/shared/components/showcase-table-events/showcase-table-events.module.ts index f3bede5a2..2a8057cb4 100644 --- a/src/app/shared/components/showcase-table-events/showcase-table-events.module.ts +++ b/src/app/shared/components/showcase-table-events/showcase-table-events.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/shared/components/showcase-table-properties/showcase-table-properties.module.ts b/src/app/shared/components/showcase-table-properties/showcase-table-properties.module.ts index 4b85dbbc1..0ab7e715a 100644 --- a/src/app/shared/components/showcase-table-properties/showcase-table-properties.module.ts +++ b/src/app/shared/components/showcase-table-properties/showcase-table-properties.module.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/app/shared/services/dumpdata.ts b/src/app/shared/services/dumpdata.ts index c3d30d7cb..e56a4f2c5 100644 --- a/src/app/shared/services/dumpdata.ts +++ b/src/app/shared/services/dumpdata.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal diff --git a/src/app/shared/services/githubapi.ts b/src/app/shared/services/githubapi.ts index 1b674ac11..3abb7c4cd 100644 --- a/src/app/shared/services/githubapi.ts +++ b/src/app/shared/services/githubapi.ts @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019 Temainfo Software + Copyright (c) 2020 Temainfo Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/accordion/accordion.stories.ts b/src/stories/accordion/accordion.stories.ts index 690628ec4..5f03e0a13 100644 --- a/src/stories/accordion/accordion.stories.ts +++ b/src/stories/accordion/accordion.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/autocomplete/autocomplete.stories.ts b/src/stories/autocomplete/autocomplete.stories.ts index df4f357b3..1f6c1ac6c 100644 --- a/src/stories/autocomplete/autocomplete.stories.ts +++ b/src/stories/autocomplete/autocomplete.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/avatar/avatar.stories.ts b/src/stories/avatar/avatar.stories.ts index 822893d4c..f5f7c0294 100644 --- a/src/stories/avatar/avatar.stories.ts +++ b/src/stories/avatar/avatar.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/badge/badge.stories.ts b/src/stories/badge/badge.stories.ts index ba7c4c624..c5c766cf9 100644 --- a/src/stories/badge/badge.stories.ts +++ b/src/stories/badge/badge.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/blockui/blockui.stories.ts b/src/stories/blockui/blockui.stories.ts index b62d493d2..5792f6c54 100644 --- a/src/stories/blockui/blockui.stories.ts +++ b/src/stories/blockui/blockui.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/button/button.stories.ts b/src/stories/button/button.stories.ts index 6af287542..f8e30ff06 100644 --- a/src/stories/button/button.stories.ts +++ b/src/stories/button/button.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -205,11 +205,11 @@ Story.add('With Template', () => ({ template: `
- With Template + With Template home
- +
`, diff --git a/src/stories/buttongroup/buttongroup.stories.ts b/src/stories/buttongroup/buttongroup.stories.ts index 73cda50e4..33d70f792 100644 --- a/src/stories/buttongroup/buttongroup.stories.ts +++ b/src/stories/buttongroup/buttongroup.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/calendar/calendar.stories.ts b/src/stories/calendar/calendar.stories.ts index 47a7c71a7..7c520933c 100644 --- a/src/stories/calendar/calendar.stories.ts +++ b/src/stories/calendar/calendar.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/card/card.stories.ts b/src/stories/card/card.stories.ts index 23f20042b..907b7eb53 100644 --- a/src/stories/card/card.stories.ts +++ b/src/stories/card/card.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/checkbox/checkbox.stories.ts b/src/stories/checkbox/checkbox.stories.ts index d70466552..f2b474055 100644 --- a/src/stories/checkbox/checkbox.stories.ts +++ b/src/stories/checkbox/checkbox.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/colorpicker/colorpicker.stories.ts b/src/stories/colorpicker/colorpicker.stories.ts index 5faa2b2e5..147fbd97f 100644 --- a/src/stories/colorpicker/colorpicker.stories.ts +++ b/src/stories/colorpicker/colorpicker.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/contextmenu/contextmenu.stories.ts b/src/stories/contextmenu/contextmenu.stories.ts index eef09c279..a826fe5fd 100644 --- a/src/stories/contextmenu/contextmenu.stories.ts +++ b/src/stories/contextmenu/contextmenu.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/datatable/datatable.stories.ts b/src/stories/datatable/datatable.stories.ts index fb16e8236..9fce8cf44 100644 --- a/src/stories/datatable/datatable.stories.ts +++ b/src/stories/datatable/datatable.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/datepicker/datepicker.stories.ts b/src/stories/datepicker/datepicker.stories.ts index caf11b822..9ec474adc 100644 --- a/src/stories/datepicker/datepicker.stories.ts +++ b/src/stories/datepicker/datepicker.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/dialog/dialog.stories.ts b/src/stories/dialog/dialog.stories.ts index cde50ac6b..030585a54 100644 --- a/src/stories/dialog/dialog.stories.ts +++ b/src/stories/dialog/dialog.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/dropdownicon/dropdownicon.stories.ts b/src/stories/dropdownicon/dropdownicon.stories.ts index edd291ec4..87d96282f 100644 --- a/src/stories/dropdownicon/dropdownicon.stories.ts +++ b/src/stories/dropdownicon/dropdownicon.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/dropdownlist/dropdownlist.stories.ts b/src/stories/dropdownlist/dropdownlist.stories.ts index 8e79ab5f7..80fc10020 100644 --- a/src/stories/dropdownlist/dropdownlist.stories.ts +++ b/src/stories/dropdownlist/dropdownlist.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/editor/editor.stories.ts b/src/stories/editor/editor.stories.ts index 133254216..aa3148bc1 100644 --- a/src/stories/editor/editor.stories.ts +++ b/src/stories/editor/editor.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/form/form.stories.ts b/src/stories/form/form.stories.ts index 45010c72f..f491583f0 100644 --- a/src/stories/form/form.stories.ts +++ b/src/stories/form/form.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/icons/icons.stories.stories.ts b/src/stories/icons/icons.stories.stories.ts index 47356c493..44bf8d9af 100644 --- a/src/stories/icons/icons.stories.stories.ts +++ b/src/stories/icons/icons.stories.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/inputcurrency/inputcurrency.stories.ts b/src/stories/inputcurrency/inputcurrency.stories.ts index 57024d60f..01b1a530d 100644 --- a/src/stories/inputcurrency/inputcurrency.stories.ts +++ b/src/stories/inputcurrency/inputcurrency.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/inputmask/inputmask.stories.ts b/src/stories/inputmask/inputmask.stories.ts index ce2114d47..aed7853c6 100644 --- a/src/stories/inputmask/inputmask.stories.ts +++ b/src/stories/inputmask/inputmask.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/inputtext/inputtext.stories.ts b/src/stories/inputtext/inputtext.stories.ts index 03ad81d52..3d522f898 100644 --- a/src/stories/inputtext/inputtext.stories.ts +++ b/src/stories/inputtext/inputtext.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -43,7 +43,7 @@ const Story = storiesOf('Data Entry|Input Text', module) Story.add('Overview', () => { const label = text('Label', 'Price'); - + const textBefore = text('Text Before', '$'); const textAfter = text('Text After', 'Dollars'); diff --git a/src/stories/inputvalidators/inputvalidators.stories.ts b/src/stories/inputvalidators/inputvalidators.stories.ts index 34d0d4310..57509f7b3 100644 --- a/src/stories/inputvalidators/inputvalidators.stories.ts +++ b/src/stories/inputvalidators/inputvalidators.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/listbox/listbox.stories.ts b/src/stories/listbox/listbox.stories.ts index af2638a76..494055a19 100644 --- a/src/stories/listbox/listbox.stories.ts +++ b/src/stories/listbox/listbox.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/loader/loader.stories.ts b/src/stories/loader/loader.stories.ts index 2e0cd7a4c..dd296e78f 100644 --- a/src/stories/loader/loader.stories.ts +++ b/src/stories/loader/loader.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/menu/menu.stories.ts b/src/stories/menu/menu.stories.ts index 2d56b91e8..f6614b6c5 100644 --- a/src/stories/menu/menu.stories.ts +++ b/src/stories/menu/menu.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/modal/modal.stories.ts b/src/stories/modal/modal.stories.ts index 1ec7c31c3..3f3853621 100644 --- a/src/stories/modal/modal.stories.ts +++ b/src/stories/modal/modal.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/multiselect/multiselect.stories.ts b/src/stories/multiselect/multiselect.stories.ts index f04385fee..d9111d9df 100644 --- a/src/stories/multiselect/multiselect.stories.ts +++ b/src/stories/multiselect/multiselect.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/multiview/multiview.stories.ts b/src/stories/multiview/multiview.stories.ts index 43c6e7991..4ed195867 100644 --- a/src/stories/multiview/multiview.stories.ts +++ b/src/stories/multiview/multiview.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/navigator/navigator.stories.ts b/src/stories/navigator/navigator.stories.ts index 8f84868a8..62824460c 100644 --- a/src/stories/navigator/navigator.stories.ts +++ b/src/stories/navigator/navigator.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/overlaypanel/overlaypanel.stories.ts b/src/stories/overlaypanel/overlaypanel.stories.ts index 1e82e208d..e70e68f6a 100644 --- a/src/stories/overlaypanel/overlaypanel.stories.ts +++ b/src/stories/overlaypanel/overlaypanel.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/panelgroup/panelgroup.stories.ts b/src/stories/panelgroup/panelgroup.stories.ts index ce133a5d2..82b0caf35 100644 --- a/src/stories/panelgroup/panelgroup.stories.ts +++ b/src/stories/panelgroup/panelgroup.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/permissions/permissions.stories.ts b/src/stories/permissions/permissions.stories.ts index 5ebbcf1f4..92f45b687 100644 --- a/src/stories/permissions/permissions.stories.ts +++ b/src/stories/permissions/permissions.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/popupmenu/popupmenu.stories.ts b/src/stories/popupmenu/popupmenu.stories.ts index 6ea602420..7ec862622 100644 --- a/src/stories/popupmenu/popupmenu.stories.ts +++ b/src/stories/popupmenu/popupmenu.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/progressbar/progressbar.stories.ts b/src/stories/progressbar/progressbar.stories.ts index 6e8d8c36e..78c47a7f5 100644 --- a/src/stories/progressbar/progressbar.stories.ts +++ b/src/stories/progressbar/progressbar.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/radiobutton/radiobutton.stories.ts b/src/stories/radiobutton/radiobutton.stories.ts index ba3521015..aa23fd48e 100644 --- a/src/stories/radiobutton/radiobutton.stories.ts +++ b/src/stories/radiobutton/radiobutton.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/schedule/schedule.stories.ts b/src/stories/schedule/schedule.stories.ts index 870102fdd..e4684e7b7 100644 --- a/src/stories/schedule/schedule.stories.ts +++ b/src/stories/schedule/schedule.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/shortcut/shortcut.stories.ts b/src/stories/shortcut/shortcut.stories.ts index 9a448811f..b3de2fc98 100644 --- a/src/stories/shortcut/shortcut.stories.ts +++ b/src/stories/shortcut/shortcut.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/sidebar/sidebar.stories.ts b/src/stories/sidebar/sidebar.stories.ts index 452fcc95b..1c5f52804 100644 --- a/src/stories/sidebar/sidebar.stories.ts +++ b/src/stories/sidebar/sidebar.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/splitbutton/splitbutton.stories.ts b/src/stories/splitbutton/splitbutton.stories.ts index 7bf5c96bb..02fa63d1a 100644 --- a/src/stories/splitbutton/splitbutton.stories.ts +++ b/src/stories/splitbutton/splitbutton.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/stopwatch/stopwatch.stories.ts b/src/stories/stopwatch/stopwatch.stories.ts index f63281907..8f2db3ddc 100644 --- a/src/stories/stopwatch/stopwatch.stories.ts +++ b/src/stories/stopwatch/stopwatch.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/switch/swtich.stories.ts b/src/stories/switch/swtich.stories.ts index 211b0b67b..5094a4c9c 100644 --- a/src/stories/switch/swtich.stories.ts +++ b/src/stories/switch/swtich.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/tabcontrol/tabcontrol.stories.ts b/src/stories/tabcontrol/tabcontrol.stories.ts index 49aa3f3a5..a0703927d 100644 --- a/src/stories/tabcontrol/tabcontrol.stories.ts +++ b/src/stories/tabcontrol/tabcontrol.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/textarea/textarea.stories.ts b/src/stories/textarea/textarea.stories.ts index ea263b2ca..8dcb5bfe0 100644 --- a/src/stories/textarea/textarea.stories.ts +++ b/src/stories/textarea/textarea.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/timeavailable/timeavailable.stories.ts b/src/stories/timeavailable/timeavailable.stories.ts index fc6f6333e..ac93c2e59 100644 --- a/src/stories/timeavailable/timeavailable.stories.ts +++ b/src/stories/timeavailable/timeavailable.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/timeline/timeline.stories.ts b/src/stories/timeline/timeline.stories.ts index f490e5bf2..1d6fce9bb 100644 --- a/src/stories/timeline/timeline.stories.ts +++ b/src/stories/timeline/timeline.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/timepicker/timepicker.stories.ts b/src/stories/timepicker/timepicker.stories.ts index a6ce1df07..38cdb6f9c 100644 --- a/src/stories/timepicker/timepicker.stories.ts +++ b/src/stories/timepicker/timepicker.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/toaster/toaster.stories.ts b/src/stories/toaster/toaster.stories.ts index f0b236ae0..731092dae 100644 --- a/src/stories/toaster/toaster.stories.ts +++ b/src/stories/toaster/toaster.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/toolbar/toolbar.stories.ts b/src/stories/toolbar/toolbar.stories.ts index 47b432edf..649331562 100644 --- a/src/stories/toolbar/toolbar.stories.ts +++ b/src/stories/toolbar/toolbar.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/stories/tooltip/tooltip.stories.ts b/src/stories/tooltip/tooltip.stories.ts index 187069aa8..9086bad24 100644 --- a/src/stories/tooltip/tooltip.stories.ts +++ b/src/stories/tooltip/tooltip.stories.ts @@ -2,7 +2,7 @@ * * MIT License * - * Copyright (c) 2019 Temainfo Sistemas + * Copyright (c) 2020 Temainfo Sistemas * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal From dce70c7ea8e20115168ff1659f14cb4f542903f5 Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Tue, 29 Sep 2020 10:52:19 -0300 Subject: [PATCH 15/48] fix(*): fix deprecation keyCode --- .../src/components/core/enums/key-events.ts | 27 +++++++++---------- .../dialog-confirmation.ts | 2 +- .../dialog/dialog-default-behavior.ts | 2 +- projects/truly-ui/src/components/form/form.ts | 4 +-- 4 files changed, 16 insertions(+), 19 deletions(-) diff --git a/projects/truly-ui/src/components/core/enums/key-events.ts b/projects/truly-ui/src/components/core/enums/key-events.ts index e49db9456..f3756b0ea 100644 --- a/projects/truly-ui/src/components/core/enums/key-events.ts +++ b/projects/truly-ui/src/components/core/enums/key-events.ts @@ -20,19 +20,16 @@ SOFTWARE. */ export enum KeyEvent { - ARROWUP = 38, - ARROWDOWN = 40, - ARROWLEFT = 37, - ARROWRIGHT = 39, - PAGEUP = 33, - PAGEDOWN = 34, - END = 35, - HOME = 36, - ENTER = 13, - ESCAPE = 27, - TAB = 9, - SPACE = 32, - DELETE = 46, - BACKSPACE = 8, - SHIFT = 16 + ARROWUP = 'ArrowUp', + ARROWDOWN = 'ArrowDown', + ARROWLEFT = 'ArrowLeft', + ARROWRIGHT = 'ArrowRight', + END = 'End', + HOME = 'Home', + ENTER = 'Enter', + ESCAPE = 'Escape', + TAB = 'Tab', + SPACE = 'Space', + DELETE = 'Delete', + BACKSPACE = 'BackSpace', } diff --git a/projects/truly-ui/src/components/dialog/dialog-confirmation/dialog-confirmation.ts b/projects/truly-ui/src/components/dialog/dialog-confirmation/dialog-confirmation.ts index a2e57b08e..e6c9e8ca5 100644 --- a/projects/truly-ui/src/components/dialog/dialog-confirmation/dialog-confirmation.ts +++ b/projects/truly-ui/src/components/dialog/dialog-confirmation/dialog-confirmation.ts @@ -68,7 +68,7 @@ export class TlDialogConfirmation implements OnInit { } onkeyup( $event: KeyboardEvent ) { - switch ( $event.keyCode ) { + switch ( $event.code ) { case KeyEvent.ARROWLEFT: this.setPreviousButton(); break; diff --git a/projects/truly-ui/src/components/dialog/dialog-default-behavior.ts b/projects/truly-ui/src/components/dialog/dialog-default-behavior.ts index df6aae17b..71fec392f 100644 --- a/projects/truly-ui/src/components/dialog/dialog-default-behavior.ts +++ b/projects/truly-ui/src/components/dialog/dialog-default-behavior.ts @@ -27,7 +27,7 @@ export class DialogDefaultBehavior { constructor() {} onKeyDown( $event: KeyboardEvent ) { - switch ( $event.keyCode ) { + switch ( $event.code ) { case KeyEvent.TAB: $event.preventDefault(); $event.stopPropagation(); diff --git a/projects/truly-ui/src/components/form/form.ts b/projects/truly-ui/src/components/form/form.ts index 25cbde6b6..d851379af 100644 --- a/projects/truly-ui/src/components/form/form.ts +++ b/projects/truly-ui/src/components/form/form.ts @@ -359,12 +359,12 @@ export class TlForm implements OnInit, AfterViewInit, AfterContentInit, OnDestro } handleKeysForm( $event: KeyboardEvent ) { - if ( $event.keyCode === KeyEvent.TAB && $event.shiftKey ) { + if ( $event.code === KeyEvent.TAB && $event.shiftKey ) { $event.preventDefault(); this.backwardTabbing(); return; } - switch ( $event.keyCode ) { + switch ( $event.code ) { case KeyEvent.ARROWUP : $event.preventDefault(); this.backwardTabbing(); From 337ab8263d1cdb40dcd198631b5d70db40d8c22a Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Tue, 29 Sep 2020 11:04:54 -0300 Subject: [PATCH 16/48] refact(checkbox): refact model structure of checkbox --- .../src/components/checkbox/checkbox.html | 2 +- .../src/components/checkbox/checkbox.scss | 6 +-- .../src/components/checkbox/checkbox.ts | 46 ++++++++++++------- 3 files changed, 34 insertions(+), 20 deletions(-) diff --git a/projects/truly-ui/src/components/checkbox/checkbox.html b/projects/truly-ui/src/components/checkbox/checkbox.html index fdcb1aebb..e6298bda3 100644 --- a/projects/truly-ui/src/components/checkbox/checkbox.html +++ b/projects/truly-ui/src/components/checkbox/checkbox.html @@ -17,6 +17,6 @@ - {{label}} + {{label}}
diff --git a/projects/truly-ui/src/components/checkbox/checkbox.scss b/projects/truly-ui/src/components/checkbox/checkbox.scss index d3ac676c0..6b14a3da3 100644 --- a/projects/truly-ui/src/components/checkbox/checkbox.scss +++ b/projects/truly-ui/src/components/checkbox/checkbox.scss @@ -85,9 +85,9 @@ } } -.-label { +.checkbox-label { font-family: "Segoe UI", Lato, 'sans-serif', "Arial"; - font-size: 1em !important; + font-size: 12px; font-weight: normal !important; position: relative; left: 5px; @@ -95,6 +95,6 @@ user-select: none; } -.-label:hover { +.checkbox-label:hover { cursor: pointer; } diff --git a/projects/truly-ui/src/components/checkbox/checkbox.ts b/projects/truly-ui/src/components/checkbox/checkbox.ts index 3ce4464dc..b76fa9004 100644 --- a/projects/truly-ui/src/components/checkbox/checkbox.ts +++ b/projects/truly-ui/src/components/checkbox/checkbox.ts @@ -20,27 +20,31 @@ SOFTWARE. */ import { - Component, Input, ViewChild, Output, EventEmitter, ContentChild, OnInit, AfterViewInit, AfterContentInit, - SimpleChanges, OnChanges + Component, Input, ViewChild, Output, EventEmitter, OnInit, + SimpleChanges, OnChanges, Optional, Self } from '@angular/core'; -import { MakeProvider } from '../core/base/value-accessor-provider'; -import { FormControlName, NG_ASYNC_VALIDATORS, NG_VALIDATORS, NgModel } from '@angular/forms'; +import { NgControl } from '@angular/forms'; import { ValueAccessorBase } from '../input/core/value-accessor'; @Component( { selector: 'tl-checkbox', templateUrl: './checkbox.html', - styleUrls: [ './checkbox.scss' ], - providers: [ - [ MakeProvider( TlCheckBox ) ] - ] + styleUrls: [ './checkbox.scss' ] } ) export class TlCheckBox extends ValueAccessorBase implements OnInit, OnChanges { - @Input() label = ''; + @Input('checked') + set checked( value: boolean ) { + this._checked = value; + this.value = value; + } - @Input() checked = false; + get checked() { + return this._checked; + } + + @Input() label = ''; @Input() tabindex = '0'; @@ -50,27 +54,37 @@ export class TlCheckBox extends ValueAccessorBase implements OnInit, On @Input() indeterminate = false; - @ViewChild( 'checkbox', {static: true} ) checkbox; - - @ContentChild( NgModel, {static: true} ) model: NgModel; + @Input() labelWidth = 'auto'; - @ContentChild( FormControlName, {static: true} ) controlName: FormControlName; + @ViewChild( 'checkbox', {static: true} ) checkbox; @Output() checkBox: EventEmitter = new EventEmitter(); @Output() focusBox: EventEmitter = new EventEmitter(); - constructor() { + private _checked = false; + + constructor(@Optional() @Self() public ngControl: NgControl) { super(); + this.setControl(); } ngOnInit() { - this.value = this.checked; if ( !this.label ) { throw new EvalError( 'The [label] property is required!' ); } } + get control() { + return this.ngControl?.control; + } + + setControl() { + if ( this.ngControl ) { + this.ngControl.valueAccessor = this; + } + } + check( boolean ) { if ( this.checkbox.nativeElement.indeterminate ) { this.checkbox.nativeElement.indeterminate = false; From 3cca87d28ce0cccd2d0410b1534e6be8f2b402e4 Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Tue, 29 Sep 2020 11:12:36 -0300 Subject: [PATCH 17/48] refact(radiogroup): refact model structure of radiogroup --- .../src/components/radiobutton/radiogroup.ts | 65 +++++++++++-------- 1 file changed, 37 insertions(+), 28 deletions(-) diff --git a/projects/truly-ui/src/components/radiobutton/radiogroup.ts b/projects/truly-ui/src/components/radiobutton/radiogroup.ts index 539493510..cef86720d 100644 --- a/projects/truly-ui/src/components/radiobutton/radiogroup.ts +++ b/projects/truly-ui/src/components/radiobutton/radiogroup.ts @@ -21,15 +21,16 @@ */ import { Component, ContentChild, ContentChildren, QueryList, Input, ViewChild, AfterViewInit, Output, - EventEmitter, OnChanges, + EventEmitter, OnChanges, Optional, Self, AfterContentInit, OnDestroy, } from '@angular/core'; import { TlRadioButton } from './radiobutton'; import { MakeProvider } from '../core/base/value-accessor-provider'; import { KeyEvent } from '../core/enums/key-events'; -import { FormControlName, NG_ASYNC_VALIDATORS, NG_VALIDATORS, NgModel } from '@angular/forms'; +import {FormControlName, NG_ASYNC_VALIDATORS, NG_VALIDATORS, NgControl, NgModel} from '@angular/forms'; import { ValueAccessorBase } from '../input/core/value-accessor'; import {FixedPositionDirective} from '../misc/fixed-position.directive'; +import {Subscription} from 'rxjs'; const Orientation = { VERTICAL: 'vertical', @@ -39,18 +40,9 @@ const Orientation = { @Component( { selector: 'tl-radio-group', templateUrl: './radiogroup.html', - styleUrls: [ './radiobutton.scss' ], - providers: [ - [ MakeProvider( TlRadioGroup ) ] - ] + styleUrls: [ './radiobutton.scss' ] } ) -export class TlRadioGroup extends ValueAccessorBase implements AfterViewInit { - - public itemSelected; - - public name; - - public tabindex; +export class TlRadioGroup extends ValueAccessorBase implements AfterContentInit, OnDestroy { @Input() labelGroup = ''; @@ -60,34 +52,47 @@ export class TlRadioGroup extends ValueAccessorBase implements AfterView @ViewChild( 'radiobutton', {static: true} ) radiobutton; - @ContentChild( NgModel, {static: true} ) model: NgModel; - - @ContentChild( FormControlName, {static: true} ) controlName: FormControlName; - @ContentChildren( TlRadioButton ) listRadioButton: QueryList; @Output() private onCheckRadio: EventEmitter = new EventEmitter(); @Output() private onFocusRadio: EventEmitter = new EventEmitter(); - constructor() { + public itemSelected; + + public name; + + public tabindex; + + private subscription = new Subscription(); + + constructor(@Optional() @Self() public ngControl: NgControl) { super(); + this.setControl(); } - ngAfterViewInit() { - setTimeout( () => { - this.handleInitialValue(); - this.validateProperty(); - this.validateCheckedRadios(); - }, 1 ); + get control() { + return this.ngControl?.control; + } + + setControl() { + if ( this.ngControl ) { + this.ngControl.valueAccessor = this; + } + } + + ngAfterContentInit() { + this.handleInitialValue(); + this.validateProperty(); + this.validateCheckedRadios(); this.listenModelChange(); } listenModelChange() { - if ( this.model ) { - this.model.valueChanges.subscribe((value) => { + if ( this.control ) { + this.subscription.add(this.control.valueChanges.subscribe((value) => { this.handleModelValue(); - }); + })); } } @@ -121,7 +126,7 @@ export class TlRadioGroup extends ValueAccessorBase implements AfterView } handleKeyDown( $event: KeyboardEvent ) { - switch ( $event.keyCode ) { + switch ( $event.code ) { case KeyEvent.ARROWDOWN: $event.preventDefault(); break; @@ -168,6 +173,10 @@ export class TlRadioGroup extends ValueAccessorBase implements AfterView this.onFocusRadio.emit( item ); } + ngOnDestroy() { + this.subscription.unsubscribe(); + } + } From 6b3aadde8cc7726f8c0398585ff85402b3afdf32 Mon Sep 17 00:00:00 2001 From: WilliamAguera Date: Thu, 8 Oct 2020 14:29:07 -0300 Subject: [PATCH 18/48] fix(editor): fix model changes of editor component. --- .../truly-ui/src/components/editor/editor.ts | 65 +++++++------------ 1 file changed, 24 insertions(+), 41 deletions(-) diff --git a/projects/truly-ui/src/components/editor/editor.ts b/projects/truly-ui/src/components/editor/editor.ts index c8bbcb0da..f9b69ab49 100644 --- a/projects/truly-ui/src/components/editor/editor.ts +++ b/projects/truly-ui/src/components/editor/editor.ts @@ -21,27 +21,22 @@ */ import { AfterContentInit, - AfterViewInit, - ChangeDetectorRef, Component, - ContentChild, ElementRef, EventEmitter, - forwardRef, Input, - OnChanges, + OnChanges, Optional, Output, - Renderer2, + Renderer2, Self, SimpleChanges, TemplateRef, ViewChild, - ViewContainerRef, } from '@angular/core'; import {trigger, transition, style, animate} from '@angular/animations'; import {ToolbarConfigModel} from './model/toolbar-config.model'; import {ToolbarConfig} from './interfaces/toolbar-config'; import {I18nService} from '../i18n/i18n.service'; -import {ControlValueAccessor, FormControlName, NG_VALUE_ACCESSOR, NgModel} from '@angular/forms'; +import {ControlValueAccessor, NG_VALUE_ACCESSOR, NgControl} from '@angular/forms'; import {DomSanitizer, SafeHtml} from '@angular/platform-browser'; import {Subscription} from 'rxjs'; import {EditorService} from './services/editor.service'; @@ -51,11 +46,6 @@ import {FieldContent} from './interfaces/field-content'; selector: 'tl-editor', templateUrl: './editor.html', styleUrls: ['./editor.scss'], - providers: [{ - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => TlEditor), - multi: true - }], animations: [ trigger( 'enterAnimation', [ @@ -91,10 +81,6 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang @Input() label = ''; - @ContentChild(NgModel, {static: true}) ngModel: NgModel; - - @ContentChild(FormControlName, {static: true}) formControlName: FormControlName; - @ViewChild('contentEditor', {static: true}) contentEditor: ElementRef; @ViewChild('linkBox', {static: true}) linkBox; @@ -105,21 +91,6 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang @Output() saveContent = new EventEmitter(); - @Input('formControl') - set control(item) { - this._control = item; - } - - get control() { - if (this._control) { - return this._control; - } - if (this.formControlName || this.ngModel) { - return this.formControlName.control ? this.formControlName.control : this.ngModel; - } - return this._control; - } - public fontCollection = []; public fontSizeCollection = []; @@ -169,8 +140,6 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang private interval; - private _control; - private listenerRegistered = false; private subscription = new Subscription(); @@ -184,7 +153,9 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang constructor(private i18n: I18nService, private renderer: Renderer2, private editorService: EditorService, - private sanitizer: DomSanitizer) { + private sanitizer: DomSanitizer, + @Optional() @Self() public ngControl: NgControl) { + this.setControl(); this.fontCollection = [ {description: 'Arial', value: 'Arial'}, {description: 'Verdana', value: 'Verdana'}, @@ -205,6 +176,16 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang ]; } + get control() { + return this.ngControl?.control; + } + + setControl() { + if ( this.ngControl ) { + this.ngControl.valueAccessor = this; + } + } + ngAfterContentInit() { this.setContentFocus(); this.toolbarConfig = Object.assign(new ToolbarConfigModel(this.i18n), this.toolbarConfig); @@ -215,10 +196,8 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang if ( this.control ) { this.subscription.add(this.control.valueChanges.subscribe(( values ) => { if (!this.listenerRegistered) { - setTimeout(() => { - this.handleFieldsPropagation(); - this.listenerRegistered = true; - }, 500); + this.handleFieldsPropagation(); + this.listenerRegistered = true; } })); } @@ -340,6 +319,7 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang onMouseUp() { this.toggleLink = false; + this.touch(); this.setAnchorNode(); if (this.cursorHighlight) { document.execCommand('hiliteColor', false, '#f0ef99'); @@ -515,7 +495,6 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang return !!this.cursorSelection.baseNode.parentNode.closest(element); } - private preventPropagation(fieldText) { this.listenerRegistered = true; fieldText.addEventListener('input', (e) => { @@ -600,9 +579,13 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang this.onTouched = fn; } + touch() { + this.onTouched(this.contentEditor.nativeElement.innerHTML); + } + change() { + this.setCursorSelection(); this.onChange(this.contentEditor.nativeElement.innerHTML); - this.onTouched(this.contentEditor.nativeElement.innerHTML); } ngOnChanges(data: SimpleChanges) { From 9ed11f9de0c46bc0284f3fc4df57f51444356138 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Wed, 21 Oct 2020 17:07:49 -0300 Subject: [PATCH 19/48] fix(schedule): fix overflow from event workday --- .../schedule/services/work-scale.service.ts | 8 ++++---- .../schedule/views/day/view-day.component.ts | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/projects/truly-ui/src/components/schedule/services/work-scale.service.ts b/projects/truly-ui/src/components/schedule/services/work-scale.service.ts index 4aa32e4ee..e52c25be5 100644 --- a/projects/truly-ui/src/components/schedule/services/work-scale.service.ts +++ b/projects/truly-ui/src/components/schedule/services/work-scale.service.ts @@ -64,14 +64,14 @@ export class WorkScaleService { } - transformHourToMileseconds( fullHour: string ) { + transformHourToMileseconds( fullHour: string, currentDate = this.currentDate ) { const hourSplited = fullHour.split(':'); const hours = Number(hourSplited[0]); const minutes = Number(hourSplited[1]); - const year = this.currentDate.getFullYear(); - const month = this.currentDate.getMonth(); - const date = this.currentDate.getDate(); + const year = currentDate.getFullYear(); + const month = currentDate.getMonth(); + const date = currentDate.getDate(); return new Date(year, month, date, hours, minutes).getTime(); } diff --git a/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts b/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts index ce48798d5..9b4c4c259 100644 --- a/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts +++ b/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts @@ -138,18 +138,18 @@ export class ViewDayComponent implements OnInit, AfterViewInit, OnChanges, OnDes const scales = workScale.filter( work => work.expansed === undefined); for (let i = 0; i <= events.length - 1; i++) { - for (let index = 0; index <= workScale.length - 1; index++) { + workScale.forEach( (value, workScaleIndex, array) => { const eventStartDate = new Date(new Date(events[i].date.start).setSeconds(0)).getTime(); const eventEndDate = new Date(new Date(events[i].date.end).setSeconds(0)).getTime(); - const workStartDate = this.workScaleService.transformHourToMileseconds(scales[index].start); - const workEndDate = this.workScaleService.transformHourToMileseconds(scales[index].end); + const workStartDate = this.workScaleService.transformHourToMileseconds(scales[workScaleIndex].start, new Date(eventStartDate)); + const workEndDate = this.workScaleService.transformHourToMileseconds(scales[workScaleIndex].end, new Date(eventEndDate)); - if (eventEndDate >= workEndDate && eventStartDate > workEndDate) { - if (workScale.length - 1 === index) { + if (eventEndDate >= workEndDate && eventStartDate >= workEndDate) { + if (workScale.length - 1 === workScaleIndex) { scales.push({ start: this.workScaleService.transformMilesecondsToHour(workEndDate), end: this.workScaleService.transformMilesecondsToHour(eventEndDate), - interval: (scales[index].interval), + interval: (scales[workScaleIndex].interval), expansed: true, }); @@ -157,16 +157,16 @@ export class ViewDayComponent implements OnInit, AfterViewInit, OnChanges, OnDes } if (eventEndDate <= workStartDate && eventStartDate <= workStartDate) { - if (index === 0) { + if (workScaleIndex === 0) { scales.push({ start: this.workScaleService.transformMilesecondsToHour(eventStartDate), end: this.workScaleService.transformMilesecondsToHour(workStartDate), - interval: (scales[index].interval), + interval: (scales[workScaleIndex].interval), expansed: true, }); } } - } + }); } this.workScaleService.reload( this.filterScaleStartRepeated( this.sortScaleByStart( scales) )); From 8e0e765aae847db974e8f01633b2bc9442f25272 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Wed, 21 Oct 2020 17:59:34 -0300 Subject: [PATCH 20/48] fix(schedule): fix issue when event start after endwork --- .../schedule/views/day/view-day.component.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts b/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts index 9b4c4c259..1b62f875c 100644 --- a/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts +++ b/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts @@ -144,7 +144,11 @@ export class ViewDayComponent implements OnInit, AfterViewInit, OnChanges, OnDes const workStartDate = this.workScaleService.transformHourToMileseconds(scales[workScaleIndex].start, new Date(eventStartDate)); const workEndDate = this.workScaleService.transformHourToMileseconds(scales[workScaleIndex].end, new Date(eventEndDate)); - if (eventEndDate >= workEndDate && eventStartDate >= workEndDate) { + // Handle Overflow in BEFORE workScale + if ( + ( eventEndDate >= workEndDate && eventStartDate >= workEndDate ) || + ( eventEndDate >= workEndDate && eventStartDate <= workEndDate ) + ) { if (workScale.length - 1 === workScaleIndex) { scales.push({ start: this.workScaleService.transformMilesecondsToHour(workEndDate), @@ -156,7 +160,11 @@ export class ViewDayComponent implements OnInit, AfterViewInit, OnChanges, OnDes } } - if (eventEndDate <= workStartDate && eventStartDate <= workStartDate) { + // Handle Overflow in AFTER workScale + if ( + ( eventEndDate <= workStartDate && eventStartDate <= workStartDate ) || + ( eventEndDate <= workStartDate && eventStartDate >= workStartDate ) + ) { if (workScaleIndex === 0) { scales.push({ start: this.workScaleService.transformMilesecondsToHour(eventStartDate), @@ -168,7 +176,6 @@ export class ViewDayComponent implements OnInit, AfterViewInit, OnChanges, OnDes } }); } - this.workScaleService.reload( this.filterScaleStartRepeated( this.sortScaleByStart( scales) )); } } From 62a5ec02c96b34509ef5950da3b1167f41faad2f Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Fri, 23 Oct 2020 17:10:47 -0300 Subject: [PATCH 21/48] fix(editor): fix position move on pathValue --- .../truly-ui/src/components/editor/editor.ts | 14 ++++++++++ .../editor/editordemo.component.html | 4 ++- .../components/editor/editordemo.component.ts | 11 +++++++- .../components/editor/editordemo.module.ts | 27 ++++++++++--------- 4 files changed, 41 insertions(+), 15 deletions(-) diff --git a/projects/truly-ui/src/components/editor/editor.ts b/projects/truly-ui/src/components/editor/editor.ts index f9b69ab49..6f7c3455a 100644 --- a/projects/truly-ui/src/components/editor/editor.ts +++ b/projects/truly-ui/src/components/editor/editor.ts @@ -555,6 +555,19 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang } } + private recoverCursorPosition() { + setTimeout(() => { + const sel = document.getSelection(); + const range = new Range(); + if (this.selection.baseNode) { + range.selectNodeContents(this.contentEditor.nativeElement); + range.collapse(false); + sel.removeAllRanges(); + sel.addRange(range); + } + }); + } + private resetCursor() { this.wrapper.nativeElement.style.cursor = 'auto'; } @@ -569,6 +582,7 @@ export class TlEditor implements ControlValueAccessor, AfterContentInit, OnChang writeValue(value: any): void { this.content = this.sanitizer.bypassSecurityTrustHtml(value); + this.recoverCursorPosition(); } registerOnChange(fn: any): void { diff --git a/src/app/components/editor/editordemo.component.html b/src/app/components/editor/editordemo.component.html index a195c053d..1672d3931 100644 --- a/src/app/components/editor/editordemo.component.html +++ b/src/app/components/editor/editordemo.component.html @@ -9,7 +9,9 @@
- +
+ +
diff --git a/src/app/components/editor/editordemo.component.ts b/src/app/components/editor/editordemo.component.ts index 46794ef88..05258d5b9 100644 --- a/src/app/components/editor/editordemo.component.ts +++ b/src/app/components/editor/editordemo.component.ts @@ -1,6 +1,7 @@ import { Component, OnInit } from '@angular/core'; import * as json from './editordemo-dataproperties.json'; import * as jsonEvents from './editordemo-dataevents.json'; +import {FormControl, FormGroup} from '@angular/forms'; @Component({ selector: 'app-editordemo', @@ -21,9 +22,17 @@ export class EditorDemoComponent implements OnInit { }; - constructor() { + public form: FormGroup = new FormGroup({ + editor: new FormControl('TESTE') + }); + + constructor( ) { this.dataTableProperties = json.dataProperties; this.dataEvents = jsonEvents.dataProperties; + setTimeout(() => { + this.form.get('editor').patchValue( 'TESTE123', + { onlySelf: true, emitEvent: false }); + }, 4000); } ngOnInit() {} diff --git a/src/app/components/editor/editordemo.module.ts b/src/app/components/editor/editordemo.module.ts index 35cdcc55c..48012f18d 100644 --- a/src/app/components/editor/editordemo.module.ts +++ b/src/app/components/editor/editordemo.module.ts @@ -20,7 +20,7 @@ SOFTWARE. */ import { CommonModule } from '@angular/common'; -import { FormsModule } from '@angular/forms'; +import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import { NgModule } from '@angular/core'; import { HighlightJsModule } from 'ngx-highlight-js'; @@ -39,18 +39,19 @@ import { ShowcaseHeaderModule } from '../../shared/components/showcase-header/sh declarations: [ EditorDemoComponent ], - imports: [ - CommonModule, - FormsModule, - HighlightJsModule, - EditorModule, - EditorDemoRoutingModule, - ShowcaseTablePropertiesModule, - ShowcaseCardModule, - ShowcaseTableEventsModule, - ShowcaseReturnedValueModule, - ShowcaseHeaderModule - ], + imports: [ + CommonModule, + FormsModule, + HighlightJsModule, + EditorModule, + EditorDemoRoutingModule, + ShowcaseTablePropertiesModule, + ShowcaseCardModule, + ShowcaseTableEventsModule, + ShowcaseReturnedValueModule, + ShowcaseHeaderModule, + ReactiveFormsModule + ], exports: [ EditorDemoComponent, ], From e4861c63c578126f3cf526d48eb950be181525d1 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Mon, 26 Oct 2020 14:44:21 -0300 Subject: [PATCH 22/48] refactor(schedule): fix time expanded not show in scheduel --- .../schedule/views/day/view-day.component.ts | 11 +++++--- .../scheduledemo-overview.component.ts | 26 +++++++++---------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts b/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts index 1b62f875c..ab3388df7 100644 --- a/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts +++ b/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts @@ -181,10 +181,13 @@ export class ViewDayComponent implements OnInit, AfterViewInit, OnChanges, OnDes } private filterScaleStartRepeated( scales: WorkScaleType[] ) { - return scales - .filter( (scale, index) => { - return scales[index + 1] ? scale.start !== scales[index + 1].start : true; - }); + const filterOnlyExpansed = (scale) => scale.expansed; + const removeScalesWithTimesRepeated = (scale, index) => scales[index] ? scale.start !== scale.end : true; + const removeRepetedNextTimes = (scale, index) => scales[index + 1] ? scale.start !== scales[index + 1].start : true; + + const expansedScales = scales.filter( filterOnlyExpansed ).filter( removeScalesWithTimesRepeated ).filter( removeRepetedNextTimes ); + const notExpansedScales = scales.filter( (scale) => !scale.expansed ); + return this.sortScaleByStart(notExpansedScales.concat(expansedScales)); } private sortScaleByStart( scales: WorkScaleType[] ) { diff --git a/src/app/components/schedule/overview/scheduledemo-overview.component.ts b/src/app/components/schedule/overview/scheduledemo-overview.component.ts index 334fced45..c7d792418 100644 --- a/src/app/components/schedule/overview/scheduledemo-overview.component.ts +++ b/src/app/components/schedule/overview/scheduledemo-overview.component.ts @@ -290,18 +290,18 @@ export class ScheduleDemoOverviewComponent { status: '', type: 'EVENTO', blocked: true, - date: { start: new Date(new Date().setHours(19, 0)).getTime() , end: new Date(new Date().setHours(21, 0 )).getTime() } + date: { start: new Date(new Date().setHours(17, 0)).getTime() , end: new Date(new Date().setHours(18, 0 )).getTime() } }, - { - value: '23', - title: 'Reunião no Congresso Universitario', - detail: '', - allday: false, - status: '', - type: 'EVENTO', - blocked: true, - date: { start: new Date(new Date().setHours(6, 0)).getTime() , end: new Date(new Date().setHours(7, 0 )).getTime() } - } + // { + // value: '23', + // title: 'Reunião no Congresso Universitario', + // detail: '', + // allday: false, + // status: '', + // type: 'EVENTO', + // blocked: true, + // date: { start: new Date(new Date().setHours(6, 0)).getTime() , end: new Date(new Date().setHours(7, 0 )).getTime() } + // } ]; constructor( @@ -368,8 +368,8 @@ export class ScheduleDemoOverviewComponent { allday: false, tags: [{color : '#FF385C', title : 'Missed'}, {color : '#1d8bff', title : 'Not Met'}, {color : '#90ED5D', title : 'Attended Now'}], date: { - start: new Date(new Date().setHours(18, 30, 0)).getTime() , - end: new Date( new Date().setHours(19, 0, 0) ).getTime() + start: new Date(new Date().setHours(17, 30, 0)).getTime() , + end: new Date( new Date().setHours(18, 30, 0) ).getTime() } }]; From 6bc873f167a8e3d0b1051349def98e1e05b64896 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Mon, 26 Oct 2020 15:13:23 -0300 Subject: [PATCH 23/48] refactor(input-mask): fix issue when erase data of input --- projects/truly-ui/src/components/input/core/input-mask.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/truly-ui/src/components/input/core/input-mask.ts b/projects/truly-ui/src/components/input/core/input-mask.ts index f3cf83433..f8a238fa4 100644 --- a/projects/truly-ui/src/components/input/core/input-mask.ts +++ b/projects/truly-ui/src/components/input/core/input-mask.ts @@ -393,6 +393,11 @@ export class InputMask { } private replaceUnderscoreForChar( valueArray, charInputted, cursorEnd ) { + + if (valueArray.length === 0) { + valueArray = [...this.maskGuideExpression]; + } + if ( this.maskSpecialCharacters.indexOf( this.maskExpression[ cursorEnd ] ) >= 0 ) { cursorEnd++; } From baf40ab01bb0eebcbbd30b13a58e9a69efda19da Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Mon, 26 Oct 2020 15:30:03 -0300 Subject: [PATCH 24/48] fix(*): remove deprected keyCode. --- .../truly-ui/src/components/colorpicker/colorpicker.ts | 2 +- projects/truly-ui/src/components/core/enums/key-events.ts | 2 +- .../truly-ui/src/components/dropdownlist/dropdownlist.ts | 4 ++-- projects/truly-ui/src/components/input/core/input-mask.ts | 2 +- projects/truly-ui/src/components/listbox/listbox.ts | 4 ++-- .../src/components/misc/scroll-manager.directive.ts | 4 ++-- .../truly-ui/src/components/multiselect/multiselect.ts | 4 ++-- projects/truly-ui/src/components/tabcontrol/tabcontrol.ts | 8 ++++---- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/projects/truly-ui/src/components/colorpicker/colorpicker.ts b/projects/truly-ui/src/components/colorpicker/colorpicker.ts index e4e5050b1..a3232dc12 100644 --- a/projects/truly-ui/src/components/colorpicker/colorpicker.ts +++ b/projects/truly-ui/src/components/colorpicker/colorpicker.ts @@ -180,7 +180,7 @@ export class TlColorPicker extends ValueAccessorBase implements OnInit, } keyDown($event) { - switch ($event.keyCode) { + switch ($event.code) { case KeyEvent.TAB: this.isOpen = !this.isOpen; break; diff --git a/projects/truly-ui/src/components/core/enums/key-events.ts b/projects/truly-ui/src/components/core/enums/key-events.ts index f3756b0ea..6cd7f03bd 100644 --- a/projects/truly-ui/src/components/core/enums/key-events.ts +++ b/projects/truly-ui/src/components/core/enums/key-events.ts @@ -31,5 +31,5 @@ export enum KeyEvent { TAB = 'Tab', SPACE = 'Space', DELETE = 'Delete', - BACKSPACE = 'BackSpace', + BACKSPACE = 'Backspace', } diff --git a/projects/truly-ui/src/components/dropdownlist/dropdownlist.ts b/projects/truly-ui/src/components/dropdownlist/dropdownlist.ts index 8f5bfd916..e591848ed 100644 --- a/projects/truly-ui/src/components/dropdownlist/dropdownlist.ts +++ b/projects/truly-ui/src/components/dropdownlist/dropdownlist.ts @@ -161,8 +161,8 @@ export class TlDropDownList extends ValueAccessorBase implements OnInit, On [KeyEvent.ARROWUP]: () => this.stopEvent( $event ), [KeyEvent.ESCAPE]: () => this.handleEscape( $event ) }; - if ( keyEvent[ $event.keyCode ] ) { - keyEvent[ $event.keyCode ](); + if ( keyEvent[ $event.code ] ) { + keyEvent[ $event.code ](); } } diff --git a/projects/truly-ui/src/components/input/core/input-mask.ts b/projects/truly-ui/src/components/input/core/input-mask.ts index f8a238fa4..78d92af3a 100644 --- a/projects/truly-ui/src/components/input/core/input-mask.ts +++ b/projects/truly-ui/src/components/input/core/input-mask.ts @@ -103,7 +103,7 @@ export class InputMask { onKeyDownInputListener() { this.renderer.listen( this.input.nativeElement, 'keydown', $event => { - switch ( $event.keyCode ) { + switch ( $event.code ) { case KeyEvent.BACKSPACE: this.handleBackspace( $event ); break; diff --git a/projects/truly-ui/src/components/listbox/listbox.ts b/projects/truly-ui/src/components/listbox/listbox.ts index 94d840941..398303c02 100644 --- a/projects/truly-ui/src/components/listbox/listbox.ts +++ b/projects/truly-ui/src/components/listbox/listbox.ts @@ -145,8 +145,8 @@ export class TlListBox extends ListBase implements AfterViewInit, OnDestroy, OnC [KeyEvent.ARROWUP]: () => this.handleKeyArrowUp($event), [KeyEvent.ENTER]: () => this.onKeyEnter() }; - if (event[$event.keyCode]) { - event[$event.keyCode](); + if (event[$event.code]) { + event[$event.code](); } })); } diff --git a/projects/truly-ui/src/components/misc/scroll-manager.directive.ts b/projects/truly-ui/src/components/misc/scroll-manager.directive.ts index 8fea44227..1eceab983 100644 --- a/projects/truly-ui/src/components/misc/scroll-manager.directive.ts +++ b/projects/truly-ui/src/components/misc/scroll-manager.directive.ts @@ -64,11 +64,11 @@ export class ScrollManager implements OnInit, AfterViewInit { } isArrowUp( $event ) { - return $event.keyCode === KeyEvent.ARROWUP; + return $event.code === KeyEvent.ARROWUP; } isArrowDown( $event ) { - return $event.keyCode === KeyEvent.ARROWDOWN; + return $event.code === KeyEvent.ARROWDOWN; } onArrowUp() { diff --git a/projects/truly-ui/src/components/multiselect/multiselect.ts b/projects/truly-ui/src/components/multiselect/multiselect.ts index 347ec20fb..41dd38c4c 100644 --- a/projects/truly-ui/src/components/multiselect/multiselect.ts +++ b/projects/truly-ui/src/components/multiselect/multiselect.ts @@ -323,8 +323,8 @@ export class TlMultiSelect extends ValueAccessorBase implements OnInit, Aft [KeyEvent.ARROWLEFT]: () => this.handleArrowLeft( $event ), [KeyEvent.ARROWRIGHT]: () => this.handleArrowRight( $event ) }; - if ( keyEvent[ $event.keyCode ] ) { - keyEvent[ $event.keyCode ](); + if ( keyEvent[ $event.code ] ) { + keyEvent[ $event.code ](); } } diff --git a/projects/truly-ui/src/components/tabcontrol/tabcontrol.ts b/projects/truly-ui/src/components/tabcontrol/tabcontrol.ts index 5bc24c9ad..8bdad1f76 100644 --- a/projects/truly-ui/src/components/tabcontrol/tabcontrol.ts +++ b/projects/truly-ui/src/components/tabcontrol/tabcontrol.ts @@ -99,19 +99,19 @@ export class TlTabControl implements AfterContentInit, AfterViewInit { } handleKeyDownLastElementTab( $event, index ) { - if ( [ KeyEvent.TAB, KeyEvent.ENTER, KeyEvent.ARROWDOWN ].indexOf( $event.keyCode ) >= 0 && (!$event.shiftKey) ) { + if ( [ KeyEvent.TAB, KeyEvent.ENTER, KeyEvent.ARROWDOWN ].indexOf( $event.code ) >= 0 && (!$event.shiftKey) ) { this.nextTabAndElement( index ); } - if ( ($event.keyCode === KeyEvent.TAB) && ($event.ctrlKey) ) { + if ( ($event.code === KeyEvent.TAB) && ($event.ctrlKey) ) { this.nextTabAndElement( index ); } } handleKeyDownFirstElementTab( $event, index ) { - if ( [ KeyEvent.ARROWUP ].indexOf( $event.keyCode ) >= 0 ) { + if ( [ KeyEvent.ARROWUP ].indexOf( $event.code ) >= 0 ) { this.previousTabAndElement( index ); } - if ( ($event.keyCode === KeyEvent.TAB) && ($event.shiftKey) ) { + if ( ($event.code === KeyEvent.TAB) && ($event.shiftKey) ) { this.previousTabAndElement( index ); } } From 0b8e42b8a5261b00a2584ab8c288c667885b0892 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Mon, 26 Oct 2020 16:51:55 -0300 Subject: [PATCH 25/48] chore(truly-ui): add "downlevelIteration": true to config lib --- projects/truly-ui/tsconfig.lib.json | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/truly-ui/tsconfig.lib.json b/projects/truly-ui/tsconfig.lib.json index b8b4137c9..90d4460df 100644 --- a/projects/truly-ui/tsconfig.lib.json +++ b/projects/truly-ui/tsconfig.lib.json @@ -11,6 +11,7 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, + "downlevelIteration": true, "types": [], "lib": [ "dom", From 89069844e29916f185921d2e11341a7592e221a9 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Mon, 26 Oct 2020 18:20:43 -0300 Subject: [PATCH 26/48] ci(tsconfig): chore(truly-ui): add "downlevelIteration": true to config lib --- tsconfig-release.json | 1 + tsconfig.base.json | 1 + 2 files changed, 2 insertions(+) diff --git a/tsconfig-release.json b/tsconfig-release.json index 14e62454b..b80716a13 100644 --- a/tsconfig-release.json +++ b/tsconfig-release.json @@ -10,6 +10,7 @@ "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, + "downlevelIteration": true, "target": "es5", "module": "esnext", "typeRoots": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 59958c6ef..b3a9363c8 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -9,6 +9,7 @@ "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, + "downlevelIteration": true, "target": "es2015", "typeRoots": [ "node_modules/@types" From e249acd14bb2bc328ce693b81002005704a60ad1 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Tue, 27 Oct 2020 16:53:29 -0300 Subject: [PATCH 27/48] fix(schedule): fix time expanded not show in schedule --- .../schedule/views/day/view-day.component.ts | 49 ++++++++++++++++--- .../scheduledemo-overview.component.ts | 24 ++++----- 2 files changed, 53 insertions(+), 20 deletions(-) diff --git a/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts b/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts index ab3388df7..e1ffafaab 100644 --- a/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts +++ b/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts @@ -176,18 +176,51 @@ export class ViewDayComponent implements OnInit, AfterViewInit, OnChanges, OnDes } }); } - this.workScaleService.reload( this.filterScaleStartRepeated( this.sortScaleByStart( scales) )); + this.workScaleService.reload( this.reduceScales( scales ) ); } } - private filterScaleStartRepeated( scales: WorkScaleType[] ) { - const filterOnlyExpansed = (scale) => scale.expansed; - const removeScalesWithTimesRepeated = (scale, index) => scales[index] ? scale.start !== scale.end : true; - const removeRepetedNextTimes = (scale, index) => scales[index + 1] ? scale.start !== scales[index + 1].start : true; + private reduceScales( scales: WorkScaleType[] ) { + const orderedScales = this.sortScaleByStart(scales); + const notExpansedScales = orderedScales.filter( (scale) => !scale.expansed ); + const beforeHourScale = this.reduceBeforeScale( orderedScales ); + const afterHourScale = this.reduceAfterScale( orderedScales ); + return this.sortScaleByStart(notExpansedScales.concat(afterHourScale).concat(beforeHourScale)); - const expansedScales = scales.filter( filterOnlyExpansed ).filter( removeScalesWithTimesRepeated ).filter( removeRepetedNextTimes ); - const notExpansedScales = scales.filter( (scale) => !scale.expansed ); - return this.sortScaleByStart(notExpansedScales.concat(expansedScales)); + } + + private reduceBeforeScale( scales: WorkScaleType[] ) { + return scales.reduce( (previous, current) => { + const cStart = this.workScaleService.transformHourToMileseconds(current.start); + const pStart = this.workScaleService.transformHourToMileseconds(previous.start); + if (cStart < pStart) { + return {...current, start: current.start }; + } + + const cEnd = this.workScaleService.transformHourToMileseconds(current.end); + const pEnd = this.workScaleService.transformHourToMileseconds(previous.end); + if (cEnd < pEnd) { + return {...current, end: current.end }; + } + return previous; + }, { end: '00:00', start: '00:00', interval: 0, expansed: null }); + } + + private reduceAfterScale( scales: WorkScaleType[] ) { + return scales.reduce( (previous, current) => { + const cStart = this.workScaleService.transformHourToMileseconds(current.start); + const pStart = this.workScaleService.transformHourToMileseconds(previous.start); + if (cStart > pStart) { + return {...current, start: current.start }; + } + + const cEnd = this.workScaleService.transformHourToMileseconds(current.end); + const pEnd = this.workScaleService.transformHourToMileseconds(previous.end); + if (cEnd > pEnd) { + return {...current, end: current.end }; + } + return previous; + }, { end: '01:00', start: '01:00', interval: 0, expansed: null }); } private sortScaleByStart( scales: WorkScaleType[] ) { diff --git a/src/app/components/schedule/overview/scheduledemo-overview.component.ts b/src/app/components/schedule/overview/scheduledemo-overview.component.ts index c7d792418..0880574dc 100644 --- a/src/app/components/schedule/overview/scheduledemo-overview.component.ts +++ b/src/app/components/schedule/overview/scheduledemo-overview.component.ts @@ -292,16 +292,16 @@ export class ScheduleDemoOverviewComponent { blocked: true, date: { start: new Date(new Date().setHours(17, 0)).getTime() , end: new Date(new Date().setHours(18, 0 )).getTime() } }, - // { - // value: '23', - // title: 'Reunião no Congresso Universitario', - // detail: '', - // allday: false, - // status: '', - // type: 'EVENTO', - // blocked: true, - // date: { start: new Date(new Date().setHours(6, 0)).getTime() , end: new Date(new Date().setHours(7, 0 )).getTime() } - // } + { + value: '23', + title: 'Reunião no Congresso Universitario', + detail: '', + allday: false, + status: '', + type: 'EVENTO', + blocked: true, + date: { start: new Date(new Date().setHours(16, 30)).getTime() , end: new Date(new Date().setHours(18, 30 )).getTime() } + } ]; constructor( @@ -368,8 +368,8 @@ export class ScheduleDemoOverviewComponent { allday: false, tags: [{color : '#FF385C', title : 'Missed'}, {color : '#1d8bff', title : 'Not Met'}, {color : '#90ED5D', title : 'Attended Now'}], date: { - start: new Date(new Date().setHours(17, 30, 0)).getTime() , - end: new Date( new Date().setHours(18, 30, 0) ).getTime() + start: new Date(new Date().setHours(19, 0, 0)).getTime() , + end: new Date( new Date().setHours(20, 0, 0) ).getTime() } }]; From 351acdc7291832dee80a4c2cbb4599061106ca78 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Tue, 27 Oct 2020 17:02:45 -0300 Subject: [PATCH 28/48] fix(multiselet, dropdown): fix change detection on backdrop click --- .../src/components/dropdownlist/dropdownlist.html | 2 +- .../src/components/dropdownlist/dropdownlist.ts | 5 +++++ .../src/components/multiselect/multiselect.html | 2 +- .../src/components/multiselect/multiselect.ts | 5 +++++ .../form/modal/form-modal/form-modal.component.html | 13 +++++++++++++ .../form/modal/form-modal/form-modal.component.ts | 7 +++++++ 6 files changed, 32 insertions(+), 2 deletions(-) diff --git a/projects/truly-ui/src/components/dropdownlist/dropdownlist.html b/projects/truly-ui/src/components/dropdownlist/dropdownlist.html index e21329766..4f3ea579d 100644 --- a/projects/truly-ui/src/components/dropdownlist/dropdownlist.html +++ b/projects/truly-ui/src/components/dropdownlist/dropdownlist.html @@ -31,7 +31,7 @@
implements OnInit, On } } + onBackdropClick() { + this.isOpen = false; + this.changes.detectChanges(); + } + private initializeComponent() { this.setUpComponent(); this.validateData(); diff --git a/projects/truly-ui/src/components/multiselect/multiselect.html b/projects/truly-ui/src/components/multiselect/multiselect.html index ca7f7a027..31fd924ad 100644 --- a/projects/truly-ui/src/components/multiselect/multiselect.html +++ b/projects/truly-ui/src/components/multiselect/multiselect.html @@ -48,7 +48,7 @@ implements OnInit, Aft this.listenControlChanges(); } + onBackdropClick() { + this.isOpen = false; + this.change.detectChanges(); + } + private listenControlChanges() { this.subscription.add(this.control.valueChanges.subscribe(() => { this.validateHasModel(); diff --git a/src/app/components/form/modal/form-modal/form-modal.component.html b/src/app/components/form/modal/form-modal/form-modal.component.html index 788880bdf..ac5480caa 100644 --- a/src/app/components/form/modal/form-modal/form-modal.component.html +++ b/src/app/components/form/modal/form-modal/form-modal.component.html @@ -16,6 +16,19 @@
+
+ + +
diff --git a/src/app/components/form/modal/form-modal/form-modal.component.ts b/src/app/components/form/modal/form-modal/form-modal.component.ts index 2a3755216..2ef35aac5 100644 --- a/src/app/components/form/modal/form-modal/form-modal.component.ts +++ b/src/app/components/form/modal/form-modal/form-modal.component.ts @@ -21,12 +21,19 @@ import { Validators, FormGroup, FormControl } from '@angular/forms'; } ) export class FormModalComponent { + public roles = [ + { id: 1, description: 'Administrator'}, + { id: 2, description: 'Secretary'}, + { id: 3, description: 'Doctor'}, + ]; + public form = new FormGroup({ name: new FormControl('', Validators.required), nickname: new FormControl('', Validators.required), email: new FormControl('', [Validators.email, Validators.required]), description: new FormControl('', [Validators.required, Validators.minLength(8)]), user: new FormControl('', Validators.required), + role: new FormControl('', Validators.required), password: new FormControl('', [ Validators.required, Validators.minLength(8) From 874f8a3d5eebf5508b6ce013b04253956e36a7a1 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Tue, 27 Oct 2020 17:43:02 -0300 Subject: [PATCH 29/48] doc(icons): fix copy icon --- .../icons/font-awesome/iconsdemo.component.ts | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/app/components/icons/font-awesome/iconsdemo.component.ts b/src/app/components/icons/font-awesome/iconsdemo.component.ts index bb2545d00..55de1e9da 100644 --- a/src/app/components/icons/font-awesome/iconsdemo.component.ts +++ b/src/app/components/icons/font-awesome/iconsdemo.component.ts @@ -312,8 +312,22 @@ export class IconsDemoComponent { } setTimeout(() => { this.inputCopy.nativeElement.select(); - document.execCommand('copy'); - this.showCopyMessage(icon); + if (typeof(navigator.clipboard) === 'undefined') { + const textArea = document.createElement('textarea'); + textArea.value = this.outputIcon; + textArea.style.position = 'fixed'; + document.body.appendChild(textArea); + textArea.focus(); + textArea.select(); + + document.execCommand('copy'); + document.body.removeChild(textArea); + this.showCopyMessage(icon); + return; + } + navigator.clipboard.writeText(this.outputIcon).then(() => { + this.showCopyMessage(icon); + }); }); } From bc37bb21fcb7c6fa87cec21a9d4a26b83d6089fc Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Wed, 28 Oct 2020 09:04:06 -0300 Subject: [PATCH 30/48] fix(schedule): fix time expanded not show in schedule #6 --- .../components/schedule/views/day/view-day.component.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts b/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts index e1ffafaab..93e5aea4a 100644 --- a/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts +++ b/projects/truly-ui/src/components/schedule/views/day/view-day.component.ts @@ -185,8 +185,15 @@ export class ViewDayComponent implements OnInit, AfterViewInit, OnChanges, OnDes const notExpansedScales = orderedScales.filter( (scale) => !scale.expansed ); const beforeHourScale = this.reduceBeforeScale( orderedScales ); const afterHourScale = this.reduceAfterScale( orderedScales ); - return this.sortScaleByStart(notExpansedScales.concat(afterHourScale).concat(beforeHourScale)); + return this.sortScaleByStart( + this.removeSameStartAndEndSacalesTime( + notExpansedScales.concat(afterHourScale).concat(beforeHourScale) + ) + ); + } + private removeSameStartAndEndSacalesTime(scales: WorkScaleType[]) { + return scales.filter( (value => value.start !== value.end )); } private reduceBeforeScale( scales: WorkScaleType[] ) { From 5b56ca9517b6d2e96db77769695ab351a782eeba Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Wed, 28 Oct 2020 18:00:21 -0300 Subject: [PATCH 31/48] refactor(upload): add propertie resizeDragndrop --- .../src/components/schedule/schedule.html | 1 - .../src/components/upload/upload.html | 5 +- .../src/components/upload/upload.scss | 1 + .../truly-ui/src/components/upload/upload.ts | 6 ++ .../upload/uploaddemo.component.html | 67 ++++++++++++++++++- 5 files changed, 77 insertions(+), 3 deletions(-) diff --git a/projects/truly-ui/src/components/schedule/schedule.html b/projects/truly-ui/src/components/schedule/schedule.html index 1ddb0d185..101c9bae6 100644 --- a/projects/truly-ui/src/components/schedule/schedule.html +++ b/projects/truly-ui/src/components/schedule/schedule.html @@ -15,7 +15,6 @@
-
-
+
inbox

{{ boxDescription }}

@@ -25,6 +27,7 @@
+
diff --git a/projects/truly-ui/src/components/upload/upload.scss b/projects/truly-ui/src/components/upload/upload.scss index 4538fae2c..36757eb1d 100644 --- a/projects/truly-ui/src/components/upload/upload.scss +++ b/projects/truly-ui/src/components/upload/upload.scss @@ -2,6 +2,7 @@ position: relative; width: 100%; height: 100%; + min-height: 100px; text-align: center; background: #fafafa; border: 1px dashed #d9d9d9; diff --git a/projects/truly-ui/src/components/upload/upload.ts b/projects/truly-ui/src/components/upload/upload.ts index 1f97c624a..a51e9d4a7 100644 --- a/projects/truly-ui/src/components/upload/upload.ts +++ b/projects/truly-ui/src/components/upload/upload.ts @@ -41,6 +41,8 @@ export class TlUpload implements OnInit { @Input() height = '100%'; + @Input() resizeDragndrop = false; + @Input('imageList') set imageList( value: ImageUploadInterface[] ) { this._imageList = value.sort((a, b) => a.index - b.index ); @@ -165,6 +167,10 @@ export class TlUpload implements OnInit { } } + hasRisize() { + return (this.resizeDragndrop && this.type === 'dragndrop' && this.imageList.length > 0); + } + onChange($event) { if ($event.target.files.length > 0) { if (this.type === 'dragndrop') { diff --git a/src/app/components/upload/uploaddemo.component.html b/src/app/components/upload/uploaddemo.component.html index b598c2a5a..65b5cb304 100644 --- a/src/app/components/upload/uploaddemo.component.html +++ b/src/app/components/upload/uploaddemo.component.html @@ -9,8 +9,73 @@
-
Basic
+
Box Type
+ +
+
+ +
+
+ +
+
Dragndrop Type
+ + +
+
+ +
+
+ +
+
Inline View
+ + +
+
+ +
+
+ +
+
List View
+ + +
+
+ +
+
+ +
+
Resize dragndrop on upload
+ From 8d04d807a494696c6c1f8965be1a96d04fecd13b Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Wed, 4 Nov 2020 11:52:48 -0300 Subject: [PATCH 32/48] refactor(upload): add default descrpition value --- projects/truly-ui/src/components/upload/upload.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/truly-ui/src/components/upload/upload.ts b/projects/truly-ui/src/components/upload/upload.ts index a51e9d4a7..f4ef0a761 100644 --- a/projects/truly-ui/src/components/upload/upload.ts +++ b/projects/truly-ui/src/components/upload/upload.ts @@ -127,6 +127,7 @@ export class TlUpload implements OnInit { readFiles(fileList) { for (let i = 0; i < fileList.length; i++) { this.readFile(fileList[i], i).then((value: ImageUploadInterface) => { + value = Object.assign({title: '', description: ''}, value); value.index = this.imageList.length; this.imageList = [ ...this.imageList, value ]; if ( fileList.length <= this.imageList.length ) { From 6f03de6ee43d7aa24f2ada9e0761a9a03ae48c62 Mon Sep 17 00:00:00 2001 From: Maicon Wagner Date: Wed, 4 Nov 2020 11:54:33 -0300 Subject: [PATCH 33/48] refactor(tag): add propertie icon and change propertie closeButton to mode: 'default' | 'closeable' | 'clickable' = 'default'; --- .../components/multiselect/multiselect.html | 2 +- projects/truly-ui/src/components/tag/tag.html | 5 +- projects/truly-ui/src/components/tag/tag.scss | 3 + projects/truly-ui/src/components/tag/tag.ts | 4 +- src/app/app.component.html | 5 ++ .../splitbuttondemo.component.html | 2 +- .../splitbutton/splitbuttondemo.component.ts | 10 +++ .../tag/tagdemo-dataproperties.json.ts | 10 +-- src/app/components/tag/tagdemo.component.html | 84 ++++++++++++++----- src/app/home/home.component.html | 30 +++---- 10 files changed, 109 insertions(+), 46 deletions(-) diff --git a/projects/truly-ui/src/components/multiselect/multiselect.html b/projects/truly-ui/src/components/multiselect/multiselect.html index 31fd924ad..97e689f9b 100644 --- a/projects/truly-ui/src/components/multiselect/multiselect.html +++ b/projects/truly-ui/src/components/multiselect/multiselect.html @@ -17,7 +17,7 @@
+
+ {{ icon }} {{ title }} - times-circle + times-circle
diff --git a/projects/truly-ui/src/components/tag/tag.scss b/projects/truly-ui/src/components/tag/tag.scss index 6cf2063a7..d26bd430e 100644 --- a/projects/truly-ui/src/components/tag/tag.scss +++ b/projects/truly-ui/src/components/tag/tag.scss @@ -1,5 +1,8 @@ .tl-tag { display: inline-block; + &.clickable{ + cursor: pointer; + } } .tag { diff --git a/projects/truly-ui/src/components/tag/tag.ts b/projects/truly-ui/src/components/tag/tag.ts index 6cd32829a..6837992b8 100644 --- a/projects/truly-ui/src/components/tag/tag.ts +++ b/projects/truly-ui/src/components/tag/tag.ts @@ -35,7 +35,9 @@ export class TlTag implements OnInit { @Input() height = 'auto'; - @Input() closeButton = false; + @Input() icon = null; + + @Input() mode: 'default' | 'closeable' | 'clickable' = 'default'; @Input() set color( value: string ) { diff --git a/src/app/app.component.html b/src/app/app.component.html index ac3a555bd..501c85239 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -290,6 +290,11 @@ Badge +
  • + + Tag + +
  • Button diff --git a/src/app/components/splitbutton/splitbuttondemo.component.html b/src/app/components/splitbutton/splitbuttondemo.component.html index a9828b24d..60654700a 100644 --- a/src/app/components/splitbutton/splitbuttondemo.component.html +++ b/src/app/components/splitbutton/splitbuttondemo.component.html @@ -9,7 +9,7 @@
    Basic
    - + diff --git a/src/app/components/splitbutton/splitbuttondemo.component.ts b/src/app/components/splitbutton/splitbuttondemo.component.ts index 75db62d97..3014bfbb0 100644 --- a/src/app/components/splitbutton/splitbuttondemo.component.ts +++ b/src/app/components/splitbutton/splitbuttondemo.component.ts @@ -1,6 +1,8 @@ import { Component } from '@angular/core'; import * as json from './splitbuttondemo-dataproperties.json'; +import {of} from 'rxjs'; +import {delay} from 'rxjs/operators'; @Component( { selector: 'app-split-button', @@ -24,4 +26,12 @@ export class SplitButtonDemoComponent { onButtonClick( event ) { console.log( event ); } + + + getAsyncIf() { + return of(true).pipe( + delay(6000) + ); + + } } diff --git a/src/app/components/tag/tagdemo-dataproperties.json.ts b/src/app/components/tag/tagdemo-dataproperties.json.ts index ac4fa96fa..2ddb4fea9 100644 --- a/src/app/components/tag/tagdemo-dataproperties.json.ts +++ b/src/app/components/tag/tagdemo-dataproperties.json.ts @@ -49,10 +49,10 @@ export const dataProperties = [ options: 'px | % | em' }, { - name: 'closeButton', - type: 'boolean', - default: 'false', - description: 'Defines if the close button will be visible or not', - options: 'true | false' + name: 'mode', + type: 'string', + default: 'default', + description: 'Defines the mode of tag', + options: 'closeable | default | clickable' }, ]; diff --git a/src/app/components/tag/tagdemo.component.html b/src/app/components/tag/tagdemo.component.html index bdc285294..bddb71700 100644 --- a/src/app/components/tag/tagdemo.component.html +++ b/src/app/components/tag/tagdemo.component.html @@ -26,25 +26,65 @@
    Basic Usage
    -
    -
    With Close Property
    - - - - - - -
    -
    - -
    +
  • + + +
    +
    With Close Mode
    + + + + + + +
    +
    + +
    +
    +
    With Clickable Mode
    + + + + + + +
    +
    + +
    @@ -66,15 +106,15 @@
    Custom Color
    Custom Measures
    - - > + + >
    diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html index b8fe3d78c..3ea4fd118 100644 --- a/src/app/home/home.component.html +++ b/src/app/home/home.component.html @@ -29,20 +29,22 @@