ngx-video-timeline
Advanced tools
Comparing version 0.10.15 to 0.10.16
@@ -6,2 +6,1 @@ /** | ||
export * from './public-api'; | ||
//# sourceMappingURL=ngx-video-timeline.d.ts.map |
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; | ||
import { Subscription } from 'rxjs'; | ||
import { CanvasPos, VideoCellType } from './interfaces/timeline.interface'; | ||
import * as i0 from "@angular/core"; | ||
/** | ||
* A utility class for working with dates. | ||
*/ | ||
export declare class DateUtil { | ||
/** | ||
* Formats the given date according to the specified format. | ||
* @param date The date to format. | ||
* @param format The format string, using the following placeholders: | ||
* - YYYY: four-digit year | ||
* - MM: two-digit month (zero-padded) | ||
* - DD: two-digit day of month (zero-padded) | ||
* - HH: two-digit hour (zero-padded, 24-hour format) | ||
* - mm: two-digit minute (zero-padded) | ||
* - ss: two-digit second (zero-padded) | ||
* @returns The formatted date string. | ||
*/ | ||
static formatDate(date: Date, format: string): string; | ||
} | ||
export interface CanvasPos { | ||
posX: number; | ||
posY: number; | ||
} | ||
export interface VideoCellStyleType { | ||
background: string; | ||
} | ||
export interface VideoCellType { | ||
beginTime: number | string; | ||
endTime: number | string; | ||
style?: VideoCellStyleType; | ||
} | ||
export declare class NgxVideoTimelineComponent implements OnInit, OnChanges { | ||
@@ -171,3 +142,3 @@ canvasHeight: number; | ||
/** | ||
* 清除canvas 每次重新绘制需要先清除 | ||
* To redraw on a canvas, it must first be cleared. | ||
*/ | ||
@@ -198,4 +169,3 @@ clearCanvas(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxVideoTimelineComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<NgxVideoTimelineComponent, "ngx-video-timeline", never, { "canvasHeight": "canvasHeight"; "playTime": "playTime"; "speed": "speed"; "forWardValue": "forWardValue"; "startTimeThreshold": "startTimeThreshold"; "endTimeThreshold": "endTimeThreshold"; "borderColor": "borderColor"; "bgColor": "bgColor"; "bottomLineColor": "bottomLineColor"; "verticalBarColor": "verticalBarColor"; "playBarColor": "playBarColor"; "videoCells": "videoCells"; "isPlayClick": "isPlayClick"; }, { "playClick": "playClick"; "mouseUp": "mouseUp"; "mouseDown": "mouseDown"; "keyUp": "keyUp"; "keyDown": "keyDown"; }, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<NgxVideoTimelineComponent, "ngx-video-timeline", never, { "canvasHeight": { "alias": "canvasHeight"; "required": false; }; "playTime": { "alias": "playTime"; "required": false; }; "speed": { "alias": "speed"; "required": false; }; "forWardValue": { "alias": "forWardValue"; "required": false; }; "startTimeThreshold": { "alias": "startTimeThreshold"; "required": false; }; "endTimeThreshold": { "alias": "endTimeThreshold"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "bottomLineColor": { "alias": "bottomLineColor"; "required": false; }; "verticalBarColor": { "alias": "verticalBarColor"; "required": false; }; "playBarColor": { "alias": "playBarColor"; "required": false; }; "videoCells": { "alias": "videoCells"; "required": false; }; "isPlayClick": { "alias": "isPlayClick"; "required": false; }; }, { "playClick": "playClick"; "mouseUp": "mouseUp"; "mouseDown": "mouseDown"; "keyUp": "keyUp"; "keyDown": "keyDown"; }, never, never, true, never>; | ||
} | ||
//# sourceMappingURL=timeline.component.d.ts.map |
{ | ||
"name": "ngx-video-timeline", | ||
"version": "0.10.15", | ||
"version": "0.10.16", | ||
"peerDependencies": { | ||
"@angular/common": "^15.2.8", | ||
"@angular/core": "^15.2.8" | ||
"@angular/common": "^16.0.2", | ||
"@angular/core": "^16.0.2" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
"tslib": "^2.6.2" | ||
}, | ||
@@ -14,20 +14,16 @@ "description": "a video timeline for ng2+", | ||
"angular", | ||
"timeline", | ||
"video-timeline", | ||
"video" | ||
], | ||
"author": { | ||
"name": "lenon", | ||
"name": "LennonReid", | ||
"email": "lenonrade@gmail.com", | ||
"url": "https://github.com/lenonMax" | ||
"url": "https://github.com/LennonReid" | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
"url": "https://github.com/lenonMax/ngx-video-timeline" | ||
"url": "https://github.com/LennonReid/ngx-video-timeline" | ||
}, | ||
"homepage": "https://github.com/lenonMax/ngx-video-timeline", | ||
"module": "fesm2015/ngx-video-timeline.mjs", | ||
"es2020": "fesm2020/ngx-video-timeline.mjs", | ||
"esm2020": "esm2020/ngx-video-timeline.mjs", | ||
"fesm2020": "fesm2020/ngx-video-timeline.mjs", | ||
"fesm2015": "fesm2015/ngx-video-timeline.mjs", | ||
"homepage": "https://github.com/LennonReid/ngx-video-timeline", | ||
"module": "fesm2022/ngx-video-timeline.mjs", | ||
"typings": "index.d.ts", | ||
@@ -40,7 +36,5 @@ "exports": { | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/ngx-video-timeline.mjs", | ||
"es2020": "./fesm2020/ngx-video-timeline.mjs", | ||
"es2015": "./fesm2015/ngx-video-timeline.mjs", | ||
"node": "./fesm2015/ngx-video-timeline.mjs", | ||
"default": "./fesm2020/ngx-video-timeline.mjs" | ||
"esm2022": "./esm2022/ngx-video-timeline.mjs", | ||
"esm": "./esm2022/ngx-video-timeline.mjs", | ||
"default": "./fesm2022/ngx-video-timeline.mjs" | ||
} | ||
@@ -47,0 +41,0 @@ }, |
export * from './lib/timeline.component'; | ||
export * from './lib/timeline.module'; | ||
//# sourceMappingURL=public-api.d.ts.map | ||
export * from './lib/interfaces/timeline.interface'; |
# NgxVideoTimeline | ||
## [Demo](https://lenonmax.github.io/ngx-video-timeline/) | ||
## [Demo](https://LennonReid.github.io/ngx-video-timeline/) | ||
## example | ||
@@ -13,2 +13,4 @@ | ||
| ------- | ---------------------------- | | ||
| 17 | 0.10.17 | | ||
| 16 | 0.10.16 | | ||
| 15 | 0.10.15 | | ||
@@ -15,0 +17,0 @@ | 14 | 0.10.14 | |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
176
221826
14
1944
1
+ Added@angular/common@16.2.12(transitive)
+ Added@angular/core@16.2.12(transitive)
- Removed@angular/common@15.2.10(transitive)
- Removed@angular/core@15.2.10(transitive)
Updatedtslib@^2.6.2