
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
@seges/angular-ng-intervalpicker
Advanced tools
Typescript: ">=2.7.2 <2.8.0"
npm install rxjs@6.2.0 ng2-date-picker@2.6.2 moment-es6@1.0.0 --save
<div class="content">
<button md-raised-button class="seges-action-button" (click)="onPickIntervalClicked()" value="Vælg dato">
{{ startDate | date }}
<span *ngIf="startDate < endDate">- {{ endDate | date }}</span>
</button>
</div>
import { Component } from '@angular/core';
import { MatDialogRef, MatDialog } from '@angular/material';
import { IntervalPickerComponent, IntervalPickerTranslations } from '@seges/angular-ng-intervalpicker';
import moment from 'moment-es6';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app';
startDate: Date = new Date(new Date().setDate(new Date().getDate() - 14));
endDate: Date = new Date(new Date().getFullYear() + 1, 0, 1);
translations: IntervalPickerTranslations;
private intervalPickerModalRef: MatDialogRef<any>;
constructor(
private mdDialog: MatDialog
) {
this.translations = {
day: 'day',
last: 'last',
current: 'current',
next: 'next',
week: 'week',
month: 'month',
year: 'year',
custom: 'custom',
past7Days: 'past7Days',
past14Days: 'past14Days',
past30Days: 'past30Days',
from: 'from',
to: 'to',
singleDate: 'singleDate',
ok: 'ok',
cancel: 'cancel'
}
}
// event handlers
onPickIntervalClicked() {
this.intervalPickerModalRef = this.mdDialog.open(IntervalPickerComponent, {
data: {
startDate: this.startDate,
endDate: this.endDate,
translations: this.translations
}
});
this.intervalPickerModalRef.componentInstance.dialogRef = this.intervalPickerModalRef;
this.intervalPickerModalRef.disableClose = true;
this.intervalPickerModalRef.afterClosed().subscribe(result => {
// check if dates has actually been changed
if (
!moment(this.startDate).isSame(moment(result.startDate), 'day')
|| !moment(this.endDate).isSame(moment(result.endDate), 'day')
) {
this.startDate = result.startDate;
this.endDate = result.endDate;
}
});
}
}
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { IntervalPickerModule } from '@seges/angular-ng-intervalpicker';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
IntervalPickerModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
npm run packagr
cd dist
npm pack
npm publish
FAQs
Typescript: ">=2.7.2 <2.8.0"
The npm package @seges/angular-ng-intervalpicker receives a total of 7 weekly downloads. As such, @seges/angular-ng-intervalpicker popularity was classified as not popular.
We found that @seges/angular-ng-intervalpicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.