Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ script:
- npm run build:style
- if [ -z "${TRAVIS_TAG}" ]; then npm run test:lib; fi
- if [ -z "${TRAVIS_TAG}" ]; then npm run test:schematics; fi
- if [ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_REPO_SLUG}" == "IgniteUI/igniteui-angular" ]; then cat ./coverage/lcov.info | coveralls; fi
# - if [ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_REPO_SLUG}" == "IgniteUI/igniteui-angular" ]; then cat ./coverage/lcov.info | coveralls; fi

before_deploy:
- npm run build:schematics
Expand Down
20 changes: 10 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ steps:
env:
NODE_OPTIONS: "--max_old_space_size=4096"

- script: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
condition: and(succeeded(), eq(variables['system.teamProject'], 'igniteui-angular'))
displayName: 'Code coverage @ Coveralls'
env:
COVERALLS_REPO_TOKEN: $(coveralls.repoToken)
# - script: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
# condition: and(succeeded(), eq(variables['system.teamProject'], 'igniteui-angular'))
# displayName: 'Code coverage @ Coveralls'
# env:
# COVERALLS_REPO_TOKEN: $(coveralls.repoToken)

- script: npm run test:schematics
displayName: 'Run migrations & schematics'
Expand All @@ -33,8 +33,8 @@ steps:
testRunner: 'JUnit'
testResultsFiles: '**/TESTS-*.xml'

- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml'
reportDirectory: '$(System.DefaultWorkingDirectory)/coverage'
# - task: PublishCodeCoverageResults@1
# inputs:
# codeCoverageTool: Cobertura
# summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml'
# reportDirectory: '$(System.DefaultWorkingDirectory)/coverage'
4 changes: 2 additions & 2 deletions projects/igniteui-angular/src/lib/banner/banner.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ export class IgxBannerComponent implements IToggleView {
@ViewChild('expansionPanel', { static: true })
private _expansionPanel: IgxExpansionPanelComponent;

@ContentChild(IgxBannerActionsDirective, { static: true })
@ContentChild(IgxBannerActionsDirective, { static: false })
private _bannerActionTemplate: IgxBannerActionsDirective;

/**
* @hidden
*/
@ContentChild(IgxIconComponent, { static: true })
@ContentChild(IgxIconComponent, { static: false })
public bannerIcon: IgxIconComponent;

/**
Expand Down
16 changes: 8 additions & 8 deletions projects/igniteui-angular/src/lib/combo/combo.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
* </igx-combo>
* ```
*/
@ContentChild(IgxComboItemDirective, { read: TemplateRef, static: true })
@ContentChild(IgxComboItemDirective, { read: TemplateRef, static: false })
public itemTemplate: TemplateRef<any> = null;

/**
Expand All @@ -244,7 +244,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
* </igx-combo>
* ```
*/
@ContentChild(IgxComboHeaderDirective, { read: TemplateRef, static: true })
@ContentChild(IgxComboHeaderDirective, { read: TemplateRef, static: false })
public headerTemplate: TemplateRef<any> = null;

/**
Expand All @@ -267,7 +267,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
* </igx-combo>
* ```
*/
@ContentChild(IgxComboFooterDirective, { read: TemplateRef, static: true })
@ContentChild(IgxComboFooterDirective, { read: TemplateRef, static: false })
public footerTemplate: TemplateRef<any> = null;

/**
Expand All @@ -288,7 +288,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
* </igx-combo>
* ```
*/
@ContentChild(IgxComboHeaderItemDirective, { read: TemplateRef, static: true })
@ContentChild(IgxComboHeaderItemDirective, { read: TemplateRef, static: false })
public headerItemTemplate: TemplateRef<any> = null;

/**
Expand All @@ -311,7 +311,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
* </igx-combo>
* ```
*/
@ContentChild(IgxComboAddItemDirective, { read: TemplateRef, static: true })
@ContentChild(IgxComboAddItemDirective, { read: TemplateRef, static: false })
public addItemTemplate: TemplateRef<any> = null;

/**
Expand All @@ -334,7 +334,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
* </igx-combo>
* ```
*/
@ContentChild(IgxComboEmptyDirective, { read: TemplateRef, static: true })
@ContentChild(IgxComboEmptyDirective, { read: TemplateRef, static: false })
public emptyTemplate: TemplateRef<any> = null;

/**
Expand All @@ -355,7 +355,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
* </igx-combo>
* ```
*/
@ContentChild(IgxComboToggleIconDirective, { read: TemplateRef, static: true })
@ContentChild(IgxComboToggleIconDirective, { read: TemplateRef, static: false })
public toggleIconTemplate: TemplateRef<any> = null;

/**
Expand All @@ -376,7 +376,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
* </igx-combo>
* ```
*/
@ContentChild(IgxComboClearIconDirective, { read: TemplateRef, static: true })
@ContentChild(IgxComboClearIconDirective, { read: TemplateRef, static: false })
public clearIconTemplate: TemplateRef<any> = null;

@ViewChild('primitive', { read: TemplateRef, static: true })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -704,19 +704,19 @@ export class IgxDatePickerComponent implements IDatePicker, ControlValueAccessor
/**
*@hidden
*/
@ContentChild(IgxDatePickerTemplateDirective, { read: IgxDatePickerTemplateDirective, static: true })
@ContentChild(IgxDatePickerTemplateDirective, { read: IgxDatePickerTemplateDirective, static: false })
protected datePickerTemplateDirective: IgxDatePickerTemplateDirective;

/**
*@hidden
*/
@ContentChild(IgxCalendarHeaderTemplateDirective, { read: IgxCalendarHeaderTemplateDirective, static: true })
@ContentChild(IgxCalendarHeaderTemplateDirective, { read: IgxCalendarHeaderTemplateDirective, static: false })
public headerTemplate: IgxCalendarHeaderTemplateDirective;

/**
*@hidden
*/
@ContentChild(IgxCalendarSubheaderTemplateDirective, { read: IgxCalendarSubheaderTemplateDirective, static: true })
@ContentChild(IgxCalendarSubheaderTemplateDirective, { read: IgxCalendarSubheaderTemplateDirective, static: false })
public subheaderTemplate: IgxCalendarSubheaderTemplateDirective;

/**
Expand Down
6 changes: 3 additions & 3 deletions projects/igniteui-angular/src/lib/grids/column.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ export class IgxColumnComponent implements AfterContentInit {
/**
*@hidden
*/
@ContentChild(IgxCellTemplateDirective, { read: IgxCellTemplateDirective, static: true })
@ContentChild(IgxCellTemplateDirective, { read: IgxCellTemplateDirective, static: false })
protected cellTemplate: IgxCellTemplateDirective;
/**
*@hidden
Expand All @@ -1111,14 +1111,14 @@ export class IgxColumnComponent implements AfterContentInit {
/**
*@hidden
*/
@ContentChild(IgxCellEditorTemplateDirective, { read: IgxCellEditorTemplateDirective, static: true })
@ContentChild(IgxCellEditorTemplateDirective, { read: IgxCellEditorTemplateDirective, static: false })
protected editorTemplate: IgxCellEditorTemplateDirective;

protected _vIndex = NaN;
/**
*@hidden
*/
@ContentChild(IgxFilterCellTemplateDirective, { read: IgxFilterCellTemplateDirective, static: true })
@ContentChild(IgxFilterCellTemplateDirective, { read: IgxFilterCellTemplateDirective, static: false })
public filterCellTemplateDirective: IgxFilterCellTemplateDirective;

constructor(public gridAPI: GridBaseAPIService<IgxGridBaseComponent & IGridDataBindable>, public cdr: ChangeDetectorRef) { }
Expand Down
14 changes: 7 additions & 7 deletions projects/igniteui-angular/src/lib/grids/grid-base.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1554,25 +1554,25 @@ export abstract class IgxGridBaseComponent extends DisplayDensityBase implements
/**
*@hidden
*/
@ContentChild(IgxExcelStyleSortingTemplateDirective, { read: IgxExcelStyleSortingTemplateDirective, static: true })
@ContentChild(IgxExcelStyleSortingTemplateDirective, { read: IgxExcelStyleSortingTemplateDirective, static: false })
public excelStyleSortingTemplateDirective: IgxExcelStyleSortingTemplateDirective;

/**
*@hidden
*/
@ContentChild(IgxExcelStyleMovingTemplateDirective, { read: IgxExcelStyleMovingTemplateDirective, static: true })
@ContentChild(IgxExcelStyleMovingTemplateDirective, { read: IgxExcelStyleMovingTemplateDirective, static: false })
public excelStyleMovingTemplateDirective: IgxExcelStyleMovingTemplateDirective;

/**
*@hidden
*/
@ContentChild(IgxExcelStyleHidingTemplateDirective, { read: IgxExcelStyleHidingTemplateDirective, static: true })
@ContentChild(IgxExcelStyleHidingTemplateDirective, { read: IgxExcelStyleHidingTemplateDirective, static: false })
public excelStyleHidingTemplateDirective: IgxExcelStyleHidingTemplateDirective;

/**
*@hidden
*/
@ContentChild(IgxExcelStylePinningTemplateDirective, { read: IgxExcelStylePinningTemplateDirective, static: true })
@ContentChild(IgxExcelStylePinningTemplateDirective, { read: IgxExcelStylePinningTemplateDirective, static: false })
public excelStylePinningTemplateDirective: IgxExcelStylePinningTemplateDirective;


Expand Down Expand Up @@ -1857,18 +1857,18 @@ export abstract class IgxGridBaseComponent extends DisplayDensityBase implements
/**
* @hidden
*/
@ContentChild(IgxRowEditTemplateDirective, { read: TemplateRef, static: true })
@ContentChild(IgxRowEditTemplateDirective, { read: TemplateRef, static: false })
public rowEditCustom: TemplateRef<any>;

/** @hidden */
public get rowEditContainer(): TemplateRef<any> {
return this.rowEditCustom ? this.rowEditCustom : this.defaultRowEditTemplate;
}
/** @hidden */
@ContentChild(IgxRowEditTextDirective, { read: TemplateRef, static: true })
@ContentChild(IgxRowEditTextDirective, { read: TemplateRef, static: false })
public rowEditText: TemplateRef<any>;
/** @hidden */
@ContentChild(IgxRowEditActionsDirective, { read: TemplateRef, static: true })
@ContentChild(IgxRowEditActionsDirective, { read: TemplateRef, static: false })
public rowEditActions: TemplateRef<any>;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ export class IgxGridComponent extends IgxGridBaseComponent implements IGridDataB
/**
* @hidden
*/
@ContentChild(IgxGroupByRowTemplateDirective, { read: IgxGroupByRowTemplateDirective, static: true })
@ContentChild(IgxGroupByRowTemplateDirective, { read: IgxGroupByRowTemplateDirective, static: false })
protected groupTemplate: IgxGroupByRowTemplateDirective;

/**
Expand All @@ -490,7 +490,7 @@ export class IgxGridComponent extends IgxGridBaseComponent implements IGridDataB
* </igx-grid>
* ```
*/
@ContentChild(IgxDragIndicatorIconDirective, { read: TemplateRef, static: true })
@ContentChild(IgxDragIndicatorIconDirective, { read: TemplateRef, static: false })
public dragIndicatorIconTemplate: TemplateRef<any> = null;

@ViewChildren(IgxGridGroupByRowComponent, { read: IgxGridGroupByRowComponent })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export class IgxTreeGridComponent extends IgxGridBaseComponent implements IGridD
/**
* @hidden
*/
@ContentChild(IgxRowLoadingIndicatorTemplateDirective, { read: IgxRowLoadingIndicatorTemplateDirective, static: true })
@ContentChild(IgxRowLoadingIndicatorTemplateDirective, { read: IgxRowLoadingIndicatorTemplateDirective, static: false })
protected rowLoadingTemplate: IgxRowLoadingIndicatorTemplateDirective;

/**
Expand All @@ -321,7 +321,7 @@ export class IgxTreeGridComponent extends IgxGridBaseComponent implements IGridD
* </igx-grid>
* ```
*/
@ContentChild(IgxDragIndicatorIconDirective, { read: TemplateRef, static: true })
@ContentChild(IgxDragIndicatorIconDirective, { read: TemplateRef, static: false })
public dragIndicatorIconTemplate: TemplateRef<any> = null;

/**
Expand Down
8 changes: 4 additions & 4 deletions projects/igniteui-angular/src/lib/list/list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class IgxListComponent extends IgxListBase {
* ```
* @memberof IgxListComponent
*/
@ContentChild(IgxEmptyListTemplateDirective, { read: IgxEmptyListTemplateDirective, static: true })
@ContentChild(IgxEmptyListTemplateDirective, { read: IgxEmptyListTemplateDirective, static: false })
public emptyListTemplate: IgxEmptyListTemplateDirective;

/**
Expand All @@ -182,7 +182,7 @@ export class IgxListComponent extends IgxListBase {
* ```
* @memberof IgxListComponent
*/
@ContentChild(IgxDataLoadingTemplateDirective, { read: IgxDataLoadingTemplateDirective, static: true })
@ContentChild(IgxDataLoadingTemplateDirective, { read: IgxDataLoadingTemplateDirective, static: false })
public dataLoadingTemplate: IgxDataLoadingTemplateDirective;

/**
Expand All @@ -196,7 +196,7 @@ export class IgxListComponent extends IgxListBase {
* ```
* @memberof IgxListComponent
*/
@ContentChild(IgxListItemLeftPanningTemplateDirective, { read: IgxListItemLeftPanningTemplateDirective, static: true })
@ContentChild(IgxListItemLeftPanningTemplateDirective, { read: IgxListItemLeftPanningTemplateDirective, static: false })
public listItemLeftPanningTemplate: IgxListItemLeftPanningTemplateDirective;

/**
Expand All @@ -210,7 +210,7 @@ export class IgxListComponent extends IgxListBase {
* ```
* @memberof IgxListComponent
*/
@ContentChild(IgxListItemRightPanningTemplateDirective, { read: IgxListItemRightPanningTemplateDirective, static: true })
@ContentChild(IgxListItemRightPanningTemplateDirective, { read: IgxListItemRightPanningTemplateDirective, static: false })
public listItemRightPanningTemplate: IgxListItemRightPanningTemplateDirective;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class IgxNavbarComponent {
/**
* @hidden
*/
@ContentChild(IgxActionIconDirective, { read: IgxActionIconDirective, static: true })
@ContentChild(IgxActionIconDirective, { read: IgxActionIconDirective, static: false })
protected actionIconTemplate: IgxActionIconDirective;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ export class IgxCircularProgressBarComponent extends BaseProgress {
@Input()
public text: string;

@ContentChild(IgxProcessBarTextTemplateDirective, { read: IgxProcessBarTextTemplateDirective, static: true })
@ContentChild(IgxProcessBarTextTemplateDirective, { read: IgxProcessBarTextTemplateDirective, static: false })
public textTemplate: IgxProcessBarTextTemplateDirective;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class IgxSelectComponent extends IgxDropDownComponent implements IgxSelec
* </igx-select>
* ```
*/
@ContentChild(IgxSelectToggleIconDirective, { read: TemplateRef, static: true })
@ContentChild(IgxSelectToggleIconDirective, { read: TemplateRef, static: false })
public toggleIconTemplate: TemplateRef<any> = null;

/** @hidden @internal */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class IgxSliderComponent implements
/**
* @hidden
*/
@ContentChild(IgxThumbToTemplateDirective, { read: TemplateRef, static: true })
@ContentChild(IgxThumbToTemplateDirective, { read: TemplateRef, static: false })
public thumbToTemplateRef: TemplateRef<any>;

/**
Expand Down
4 changes: 2 additions & 2 deletions projects/igniteui-angular/src/lib/tabbar/tabbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export class IgxTabPanelComponent implements AfterContentInit, AfterViewChecked
/**
*@hidden
*/
@ContentChild(IgxTabTemplateDirective, { read: IgxTabTemplateDirective, static: true })
@ContentChild(IgxTabTemplateDirective, { read: IgxTabTemplateDirective, static: false })
protected tabTemplate: IgxTabTemplateDirective;

constructor(private _tabBar: IgxBottomNavComponent, private _element: ElementRef) {
Expand Down Expand Up @@ -664,7 +664,7 @@ export class IgxTabComponent {
protected defaultTabTemplate: TemplateRef<any>;

/**@hidden*/
@ContentChild(IgxTabTemplateDirective, { read: IgxTabTemplateDirective, static: true })
@ContentChild(IgxTabTemplateDirective, { read: IgxTabTemplateDirective, static: false })
protected customTabTemplateDir: IgxTabTemplateDirective;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class IgxTabItemComponent extends IgxTabItemBase {
protected defaultTabTemplate: TemplateRef<any>;

/**@hidden*/
@ContentChild(IgxTabItemTemplateDirective, { read: IgxTabItemTemplateDirective, static: true })
@ContentChild(IgxTabItemTemplateDirective, { read: IgxTabItemTemplateDirective, static: false })
protected customTabTemplateDir: IgxTabItemTemplateDirective;

private _nativeTabItem: ElementRef;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class IgxTabsGroupComponent extends IgxTabsGroupBase implements AfterCont
/**
* @hidden
*/
@ContentChild(IgxTabItemTemplateDirective, { read: IgxTabItemTemplateDirective, static: true })
@ContentChild(IgxTabItemTemplateDirective, { read: IgxTabItemTemplateDirective, static: false })
protected tabTemplate: IgxTabItemTemplateDirective;

private _tabTemplate: TemplateRef<any>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ export class IgxTimePickerComponent implements
/**
*@hidden
*/
@ContentChild(IgxTimePickerTemplateDirective, { read: IgxTimePickerTemplateDirective, static: true })
@ContentChild(IgxTimePickerTemplateDirective, { read: IgxTimePickerTemplateDirective, static: false })
protected timePickerTemplateDirective: IgxTimePickerTemplateDirective;

/**
Expand Down