Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-calendar

Package Overview
Dependencies
Maintainers
1
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-calendar - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="0.4.1"></a>
## [0.4.1](https://github.com/mattlewis92/angular-calendar/compare/v0.4.0...v0.4.1) (2016-11-25)
### Bug Fixes
* **date-fns:** fix duplicate module declaration typescript errors ([24be6f3](https://github.com/mattlewis92/angular-calendar/commit/24be6f3))
<a name="0.4.0"></a>

@@ -7,0 +17,0 @@ # [0.4.0](https://github.com/mattlewis92/angular-calendar/compare/v0.3.6...v0.4.0) (2016-11-04)

@@ -77,9 +77,33 @@ import { OnChanges, EventEmitter, ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';

eventTimesChanged: EventEmitter<CalendarEventTimesChangedEvent>;
/**
* @private
*/
hours: DayViewHour[];
/**
* @private
*/
view: DayView;
/**
* @private
*/
width: number;
/**
* @private
*/
refreshSubscription: Subscription;
/**
* @private
*/
constructor(cdr: ChangeDetectorRef, locale: string);
/**
* @private
*/
ngOnInit(): void;
/**
* @private
*/
ngOnDestroy(): void;
/**
* @private
*/
ngOnChanges(changes: any): void;

@@ -86,0 +110,0 @@ private refreshHourGrid();

@@ -5,2 +5,5 @@ import { Component, ChangeDetectionStrategy, Input, Output, EventEmitter, ChangeDetectorRef, LOCALE_ID, Inject } from '@angular/core';

export var CalendarDayViewComponent = (function () {
/**
* @private
*/
function CalendarDayViewComponent(cdr, locale) {

@@ -56,6 +59,15 @@ this.cdr = cdr;

this.eventTimesChanged = new EventEmitter();
/**
* @private
*/
this.hours = [];
/**
* @private
*/
this.width = 0;
this.locale = locale;
}
/**
* @private
*/
CalendarDayViewComponent.prototype.ngOnInit = function () {

@@ -70,2 +82,5 @@ var _this = this;

};
/**
* @private
*/
CalendarDayViewComponent.prototype.ngOnDestroy = function () {

@@ -76,2 +91,5 @@ if (this.refreshSubscription) {

};
/**
* @private
*/
CalendarDayViewComponent.prototype.ngOnChanges = function (changes) {

@@ -78,0 +96,0 @@ if (changes.viewDate ||

@@ -52,11 +52,41 @@ import { OnChanges, EventEmitter, ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';

}>;
/**
* @private
*/
columnHeaders: WeekDay[];
/**
* @private
*/
view: MonthView;
/**
* @private
*/
openRowIndex: number;
/**
* @private
*/
openDay: MonthViewDay;
/**
* @private
*/
refreshSubscription: Subscription;
/**
* @private
*/
constructor(cdr: ChangeDetectorRef, locale: string);
/**
* @private
*/
ngOnInit(): void;
/**
* @private
*/
ngOnChanges(changes: any): void;
/**
* @private
*/
ngOnDestroy(): void;
/**
* @private
*/
toggleDayHighlight(event: CalendarEvent, isHighlighted: boolean): void;

@@ -63,0 +93,0 @@ private refreshHeader();

@@ -5,2 +5,5 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy, ChangeDetectorRef, LOCALE_ID, Inject } from '@angular/core';

export var CalendarMonthViewComponent = (function () {
/**
* @private
*/
function CalendarMonthViewComponent(cdr, locale) {

@@ -30,2 +33,5 @@ this.cdr = cdr;

}
/**
* @private
*/
CalendarMonthViewComponent.prototype.ngOnInit = function () {

@@ -40,2 +46,5 @@ var _this = this;

};
/**
* @private
*/
CalendarMonthViewComponent.prototype.ngOnChanges = function (changes) {

@@ -52,2 +61,5 @@ if (changes.viewDate) {

};
/**
* @private
*/
CalendarMonthViewComponent.prototype.ngOnDestroy = function () {

@@ -58,2 +70,5 @@ if (this.refreshSubscription) {

};
/**
* @private
*/
CalendarMonthViewComponent.prototype.toggleDayHighlight = function (event, isHighlighted) {

@@ -60,0 +75,0 @@ this.view.days.forEach(function (day) {

@@ -49,5 +49,17 @@ import { EventEmitter, ChangeDetectorRef, OnChanges, OnInit, OnDestroy } from '@angular/core';

eventTimesChanged: EventEmitter<CalendarEventTimesChangedEvent>;
/**
* @private
*/
days: WeekDay[];
/**
* @private
*/
eventRows: WeekViewEventRow[];
/**
* @private
*/
refreshSubscription: Subscription;
/**
* @private
*/
currentResize: {

@@ -58,8 +70,29 @@ originalOffset: number;

};
/**
* @private
*/
constructor(cdr: ChangeDetectorRef, locale: string);
/**
* @private
*/
ngOnInit(): void;
/**
* @private
*/
ngOnChanges(changes: any): void;
/**
* @private
*/
ngOnDestroy(): void;
/**
* @private
*/
resizeStarted(weekEvent: WeekViewEvent, resizeEvent: ResizeEvent): void;
/**
* @private
*/
resizing(weekEvent: WeekViewEvent, resizeEvent: ResizeEvent, dayWidth: number): void;
/**
* @private
*/
resizeEnded(weekEvent: WeekViewEvent): void;

@@ -66,0 +99,0 @@ private refreshHeader();

@@ -5,2 +5,5 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy, ChangeDetectorRef, LOCALE_ID, Inject } from '@angular/core';

export var CalendarWeekViewComponent = (function () {
/**
* @private
*/
function CalendarWeekViewComponent(cdr, locale) {

@@ -28,5 +31,11 @@ this.cdr = cdr;

this.eventTimesChanged = new EventEmitter();
/**
* @private
*/
this.eventRows = [];
this.locale = locale;
}
/**
* @private
*/
CalendarWeekViewComponent.prototype.ngOnInit = function () {

@@ -41,2 +50,5 @@ var _this = this;

};
/**
* @private
*/
CalendarWeekViewComponent.prototype.ngOnChanges = function (changes) {

@@ -50,2 +62,5 @@ if (changes.viewDate) {

};
/**
* @private
*/
CalendarWeekViewComponent.prototype.ngOnDestroy = function () {

@@ -56,2 +71,5 @@ if (this.refreshSubscription) {

};
/**
* @private
*/
CalendarWeekViewComponent.prototype.resizeStarted = function (weekEvent, resizeEvent) {

@@ -64,2 +82,5 @@ this.currentResize = {

};
/**
* @private
*/
CalendarWeekViewComponent.prototype.resizing = function (weekEvent, resizeEvent, dayWidth) {

@@ -76,2 +97,5 @@ if (resizeEvent.edges.left) {

};
/**
* @private
*/
CalendarWeekViewComponent.prototype.resizeEnded = function (weekEvent) {

@@ -78,0 +102,0 @@ var daysDiff;

@@ -6,4 +6,10 @@ import { PipeTransform } from '@angular/core';

private locale;
/**
* @private
*/
constructor(dateFormatter: CalendarDateFormatter, locale: string);
/**
* @private
*/
transform(date: Date, method: string, locale?: string): string;
}
import { Pipe, LOCALE_ID, Inject } from '@angular/core';
import { CalendarDateFormatter } from './../providers/calendarDateFormatter.provider';
export var CalendarDate = (function () {
/**
* @private
*/
function CalendarDate(dateFormatter, locale) {

@@ -8,2 +11,5 @@ this.dateFormatter = dateFormatter;

}
/**
* @private
*/
CalendarDate.prototype.transform = function (date, method, locale) {

@@ -10,0 +16,0 @@ if (locale === void 0) { locale = this.locale; }

3

dist/esm/src/providers/calendarMomentDateFormatter.provider.d.ts

@@ -6,2 +6,5 @@ import { OpaqueToken } from '@angular/core';

private moment;
/**
* @private
*/
constructor(moment: any);

@@ -8,0 +11,0 @@ monthViewColumnHeader({date, locale}: DateFormatterParams): string;

import { OpaqueToken, Inject } from '@angular/core';
export var MOMENT = new OpaqueToken('Moment');
export var CalendarMomentDateFormatter = (function () {
/**
* @private
*/
function CalendarMomentDateFormatter(moment) {

@@ -5,0 +8,0 @@ this.moment = moment;

33

package.json
{
"name": "angular-calendar",
"version": "0.4.0",
"version": "0.4.1",
"description": "A calendar component that can display events on a month, week or day view",

@@ -20,3 +20,3 @@ "main": "./dist/umd/angular-calendar.js",

"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"typedoc": "typedoc --options typedoc.json src/*.ts",
"typedoc": "typedoc --options typedoc.json src/calendar.module.ts src/components/day/calendarDayView.component.ts src/components/week/calendarWeekView.component.ts src/components/month/calendarMonthView.component.ts src/pipes/calendarDate.pipe.ts src/interfaces src/providers",
"gh-pages": "git checkout gh-pages && git merge master && npm run build:demo && npm run typedoc && git add . && git commit -m 'chore: build demo and docs' && git push && git checkout master",

@@ -42,9 +42,9 @@ "prerelease": "npm test",

"devDependencies": {
"@angular/common": "~2.1.0",
"@angular/compiler": "~2.1.0",
"@angular/compiler-cli": "~2.1.0",
"@angular/core": "~2.1.0",
"@angular/forms": "~2.1.0",
"@angular/platform-browser": "~2.1.0",
"@angular/platform-browser-dynamic": "~2.1.0",
"@angular/common": "~2.2.1",
"@angular/compiler": "~2.2.1",
"@angular/compiler-cli": "~2.2.1",
"@angular/core": "~2.2.1",
"@angular/forms": "~2.2.1",
"@angular/platform-browser": "~2.2.1",
"@angular/platform-browser-dynamic": "~2.2.1",
"@types/chai": "~3.4.30",

@@ -66,3 +66,3 @@ "@types/core-js": "~0.9.32",

"core-js": "~2.4.1",
"css-loader": "~0.25.0",
"css-loader": "~0.26.0",
"cz-conventional-changelog": "~1.2.0",

@@ -83,4 +83,4 @@ "extract-text-webpack-plugin": "~2.0.0-beta.4",

"karma-webpack": "~1.8.0",
"moment": "~2.15.0",
"node-sass": "3.11.1",
"moment": "~2.17.0",
"node-sass": "~3.13.0",
"phantomjs-prebuilt": "~2.1.7",

@@ -97,4 +97,4 @@ "postcss-flexibility": "~1.1.0",

"style-loader": "~0.13.0",
"stylelint": "~7.5.0",
"stylelint-config-standard": "~14.0.0",
"stylelint": "~7.6.0",
"stylelint-config-standard": "~15.0.0",
"stylelint-webpack-plugin": "~0.4.0",

@@ -110,3 +110,3 @@ "tslint": "~3.15.1",

"webpack-fix-default-import-plugin": "~1.0.1",
"zone.js": "~0.6.12"
"zone.js": "~0.7.2"
},

@@ -132,7 +132,6 @@ "peerDependencies": {

"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.0",
"@types/date-fns": "0.0.2",
"angular-resizable-element": "~0.5.0",
"calendar-utils": "0.0.36",
"date-fns": "^1.3.0"
"date-fns": "^1.11.1"
}
}

@@ -1,2 +0,2 @@

# angular2 calendar
# angular 2.0+ calendar
[![Build Status](https://travis-ci.org/mattlewis92/angular-calendar.svg?branch=master)](https://travis-ci.org/mattlewis92/angular-calendar)

@@ -49,3 +49,3 @@ [![npm version](https://badge.fury.io/js/angular-calendar.svg)](http://badge.fury.io/js/angular-calendar)

Then you can use the `mwl-calendar-month-view`, `mwl-calendar-week-view` and `mwl-calendar-day-view` components in your app. For a full e2e example see the [demo source](https://github.com/mattlewis92/angular-calendar/blob/master/demo/demo.component.ts).
Then you can use the [`mwl-calendar-month-view`](https://mattlewis92.github.io/angular-calendar/docs/classes/calendarmonthviewcomponent.html), [`mwl-calendar-week-view`](https://mattlewis92.github.io/angular-calendar/docs/classes/calendarweekviewcomponent.html) and [`mwl-calendar-day-view`]((https://mattlewis92.github.io/angular-calendar/docs/classes/calendardayviewcomponent.html)) components in your app. For a full e2e example see the [demo source](https://github.com/mattlewis92/angular-calendar/blob/master/demo/demo.component.ts).

@@ -52,0 +52,0 @@ To see all available API options see the auto generated [documentation](https://mattlewis92.github.io/angular-calendar/docs/). Full e2e examples will follow [in the future](https://github.com/mattlewis92/angular-calendar/issues/32)

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 too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc