ngx-video-timeline
Advanced tools
Comparing version 0.1.1 to 0.1.11
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; | ||
import { Subscription } from 'rxjs'; | ||
import * as i0 from "@angular/core"; | ||
/** | ||
* A utility class for working with dates. | ||
*/ | ||
export declare class DateUtil { | ||
/** | ||
* 日期格式为string | ||
* @param date 日期 | ||
* @param format 格式参数 | ||
* 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. | ||
*/ | ||
@@ -185,2 +196,5 @@ static formatDate(date: Date, format: string): string; | ||
onDragStart(e: MouseEvent): boolean; | ||
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>; | ||
} | ||
//# sourceMappingURL=timeline.component.d.ts.map |
@@ -0,2 +1,9 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./timeline.component"; | ||
import * as i2 from "@angular/common"; | ||
export declare class NgxVideoTimelineModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxVideoTimelineModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxVideoTimelineModule, [typeof i1.NgxVideoTimelineComponent], [typeof i2.CommonModule], [typeof i1.NgxVideoTimelineComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<NgxVideoTimelineModule>; | ||
} | ||
//# sourceMappingURL=timeline.module.d.ts.map |
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="ngx-video-timeline" /> | ||
export * from './public-api'; | ||
//# sourceMappingURL=ngx-video-timeline.d.ts.map |
{ | ||
"name": "ngx-video-timeline", | ||
"version": "0.1.1", | ||
"version": "0.1.11", | ||
"peerDependencies": { | ||
"@angular/common": "^9.1.12", | ||
"@angular/core": "^9.1.12" | ||
"@angular/common": "~13.4.0", | ||
"@angular/core": "~13.4.0" | ||
}, | ||
"dependencies": { | ||
"tslib": "^1.10.0" | ||
"tslib": "^2.0.0" | ||
}, | ||
@@ -20,17 +20,29 @@ "description": "a video timeline for ng2+", | ||
"email": "lenonrade@gmail.com", | ||
"url": "https://github.com/Howjune" | ||
"url": "https://github.com/lenonMax" | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
"url": "https://github.com/Howjune/ngx-video-timeline" | ||
"url": "https://github.com/lenonMax/ngx-video-timeline" | ||
}, | ||
"homepage": "https://github.com/Howjune/ngx-video-timeline", | ||
"main": "bundles/ngx-video-timeline.umd.js", | ||
"module": "fesm2015/ngx-video-timeline.js", | ||
"es2015": "fesm2015/ngx-video-timeline.js", | ||
"esm2015": "esm2015/ngx-video-timeline.js", | ||
"fesm2015": "fesm2015/ngx-video-timeline.js", | ||
"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", | ||
"typings": "ngx-video-timeline.d.ts", | ||
"metadata": "ngx-video-timeline.metadata.json", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./ngx-video-timeline.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" | ||
} | ||
}, | ||
"sideEffects": false | ||
} | ||
} |
@@ -1,3 +0,3 @@ | ||
export * from './lib/timeline.service'; | ||
export * from './lib/timeline.component'; | ||
export * from './lib/timeline.module'; | ||
//# sourceMappingURL=public-api.d.ts.map |
@@ -6,2 +6,15 @@ # NgxVideoTimeline | ||
![example](../../src/assets/timeline.png) | ||
## Installation | ||
#### Compatibility | ||
| Angular | Latest ngx-colors compatible | | ||
| ------- | ---------------------------- | | ||
| 13 | 0.1.11 | | ||
| 12 | 0.1.9 | | ||
| 11 | 0.1.8 | | ||
| 10 | 0.1.7 | | ||
| 9 | 0.1.1 | | ||
## Getting Started | ||
@@ -11,2 +24,6 @@ ``` | ||
``` | ||
or | ||
``` | ||
yarn add ngx-video-timeline | ||
``` | ||
## Usage | ||
@@ -13,0 +30,0 @@ Import the module into your module |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
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
0
1
0
172
326069
18
2604
1
+ Added@angular/common@13.4.0(transitive)
+ Added@angular/core@13.4.0(transitive)
+ Addedrxjs@7.8.1(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedzone.js@0.11.8(transitive)
- Removed@angular/common@9.1.13(transitive)
- Removed@angular/core@9.1.13(transitive)
- Removedrxjs@6.6.7(transitive)
- Removedtslib@1.14.1(transitive)
- Removedzone.js@0.10.3(transitive)
Updatedtslib@^2.0.0