angular-calendar-timeline
Advanced tools
Comparing version 0.4.3 to 0.5.0
@@ -16,3 +16,3 @@ import { ChangeDetectorRef, TemplateRef } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineDateMarkerComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineDateMarkerComponent, "timeline-date-marker", never, { "leftPosition": "leftPosition"; "headerHeight": "headerHeight"; "customTemplate": "customTemplate"; "scale": "scale"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineDateMarkerComponent, "timeline-date-marker", never, { "leftPosition": "leftPosition"; "headerHeight": "headerHeight"; "customTemplate": "customTemplate"; "scale": "scale"; }, {}, never, never, false>; | ||
} |
@@ -40,3 +40,3 @@ import { ChangeDetectorRef, EventEmitter, Renderer2, TemplateRef } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineItemComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineItemComponent, "timeline-item", never, { "item": "item"; "scale": "scale"; "rowContainer": "rowContainer"; "height": "height"; "rowHeight": "rowHeight"; "locale": "locale"; "contentTemplate": "contentTemplate"; }, { "itemResized": "itemResized"; "itemMoved": "itemMoved"; }, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineItemComponent, "timeline-item", never, { "item": "item"; "scale": "scale"; "rowContainer": "rowContainer"; "height": "height"; "rowHeight": "rowHeight"; "locale": "locale"; "contentTemplate": "contentTemplate"; }, { "itemResized": "itemResized"; "itemMoved": "itemMoved"; }, never, never, false>; | ||
} |
@@ -29,3 +29,3 @@ import { EventEmitter, OnChanges, SimpleChanges, TemplateRef } from "@angular/core"; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TimelinePanelComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TimelinePanelComponent, "timeline-panel", never, { "items": "items"; "label": "label"; "width": "width"; "resizable": "resizable"; "minWidth": "minWidth"; "maxWidth": "maxWidth"; "headerHeight": "headerHeight"; "rowHeight": "rowHeight"; "locale": "locale"; "childGroupOffset": "childGroupOffset"; "itemTemplate": "itemTemplate"; }, { "widthChanged": "widthChanged"; }, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TimelinePanelComponent, "timeline-panel", never, { "items": "items"; "label": "label"; "width": "width"; "resizable": "resizable"; "minWidth": "minWidth"; "maxWidth": "maxWidth"; "headerHeight": "headerHeight"; "rowHeight": "rowHeight"; "locale": "locale"; "childGroupOffset": "childGroupOffset"; "itemTemplate": "itemTemplate"; }, { "widthChanged": "widthChanged"; }, never, never, false>; | ||
} |
@@ -22,4 +22,4 @@ import { OnChanges, SimpleChanges } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineScaleHeaderComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineScaleHeaderComponent, "timeline-scale-header", never, { "height": "height"; "scale": "scale"; "formatter": "formatter"; "locale": "locale"; "zoom": "zoom"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineScaleHeaderComponent, "timeline-scale-header", never, { "height": "height"; "scale": "scale"; "formatter": "formatter"; "locale": "locale"; "zoom": "zoom"; }, {}, never, never, false>; | ||
} | ||
export {}; |
import { DateInput, IItemsIterator, IScale, IScaleFormatter, IScaleGenerator, IScaleGeneratorConfig, IScaleGroup } from "../models"; | ||
import { Injector } from "@angular/core"; | ||
import * as i0 from "@angular/core"; | ||
export declare abstract class BaseScaleGenerator implements IScaleGenerator { | ||
protected _injector: Injector; | ||
protected _config: IScaleGeneratorConfig; | ||
formatter: IScaleFormatter; | ||
constructor(_injector: Injector); | ||
constructor(); | ||
protected abstract _getConfig(): IScaleGeneratorConfig; | ||
@@ -10,0 +8,0 @@ protected abstract _validateStartDate(startDate: DateInput): Date; |
import { BaseScaleGenerator } from './base-scale-generator'; | ||
import { DateInput, IScaleColumn, IScaleGenerator, IScaleGeneratorConfig, IScaleGroup } from '../models'; | ||
import { DateInput, IScaleGenerator, IScaleGeneratorConfig, IScaleGroup } from '../models'; | ||
import { InjectionToken } from "@angular/core"; | ||
@@ -8,3 +8,2 @@ import * as i0 from "@angular/core"; | ||
protected _getConfig(): IScaleGeneratorConfig; | ||
protected _generateColumn(date: DateInput): IScaleColumn; | ||
protected _validateStartDate(startDate: DateInput): Date; | ||
@@ -11,0 +10,0 @@ protected _validateEndDate(endDate: DateInput): Date; |
@@ -206,3 +206,3 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineComponent<any>, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineComponent<any>, "timeline-calendar", never, { "locale": "locale"; "rowHeight": "rowHeight"; "itemHeight": "itemHeight"; "headerHeight": "headerHeight"; "panelLabel": "panelLabel"; "panelWidth": "panelWidth"; "minPanelWidth": "minPanelWidth"; "maxPanelWidth": "maxPanelWidth"; "offsetForChildPanelItem": "offsetForChildPanelItem"; "isPanelResizable": "isPanelResizable"; "showDateMarket": "showDateMarket"; "panelItemTemplate": "panelItemTemplate"; "itemContentTemplate": "itemContentTemplate"; "columnSeparatorTemplate": "columnSeparatorTemplate"; "dateMarkerTemplate": "dateMarkerTemplate"; "zooms": "zooms"; "items": "items"; }, { "itemTimeChanged": "itemTimeChanged"; "itemRowChanged": "itemRowChanged"; "zoomChanged": "zoomChanged"; "timeGridClicked": "timeGridClicked"; }, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineComponent<any>, "timeline-calendar", never, { "locale": "locale"; "rowHeight": "rowHeight"; "itemHeight": "itemHeight"; "headerHeight": "headerHeight"; "panelLabel": "panelLabel"; "panelWidth": "panelWidth"; "minPanelWidth": "minPanelWidth"; "maxPanelWidth": "maxPanelWidth"; "offsetForChildPanelItem": "offsetForChildPanelItem"; "isPanelResizable": "isPanelResizable"; "showDateMarket": "showDateMarket"; "panelItemTemplate": "panelItemTemplate"; "itemContentTemplate": "itemContentTemplate"; "columnSeparatorTemplate": "columnSeparatorTemplate"; "dateMarkerTemplate": "dateMarkerTemplate"; "zooms": "zooms"; "items": "items"; }, { "itemTimeChanged": "itemTimeChanged"; "itemRowChanged": "itemRowChanged"; "zoomChanged": "zoomChanged"; "timeGridClicked": "timeGridClicked"; }, never, never, false>; | ||
} |
{ | ||
"name": "angular-calendar-timeline", | ||
"version": "0.4.3", | ||
"version": "0.5.0", | ||
"description": "A timeline for angular 13 that shows tasks or events on a timeline in different modes: days, weeks, and months.", | ||
@@ -27,5 +27,3 @@ "author": "Andrii Krashivskyi", | ||
}, | ||
"peerDependencies": { | ||
"@angular/core": "~13.0.0" | ||
}, | ||
"peerDependencies": {}, | ||
"module": "fesm2015/angular-calendar-timeline.mjs", | ||
@@ -36,3 +34,3 @@ "es2020": "fesm2020/angular-calendar-timeline.mjs", | ||
"fesm2015": "fesm2015/angular-calendar-timeline.mjs", | ||
"typings": "angular-calendar-timeline.d.ts", | ||
"typings": "index.d.ts", | ||
"exports": { | ||
@@ -43,3 +41,3 @@ "./package.json": { | ||
".": { | ||
"types": "./angular-calendar-timeline.d.ts", | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/angular-calendar-timeline.mjs", | ||
@@ -46,0 +44,0 @@ "es2020": "./fesm2020/angular-calendar-timeline.mjs", |
@@ -247,2 +247,8 @@ <div align="center"> | ||
<h2 align="center">Angular versions</h2> | ||
<li>For Angular <= 13 use 0.4.3</li> | ||
<li>For Angular >= 14 use 0.5.0</li> | ||
Have an issue? Leave it here: https://github.com/oOps1627/angular-calendar-timeline/issues | ||
@@ -249,0 +255,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3
259
747542
5396