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

ion2-calendar

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ion2-calendar - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

dist/components/month-picker.component.d.ts

2

dist/calendar.model.d.ts

@@ -92,2 +92,4 @@ export interface CalendarOriginal {

showToggleButtons?: boolean;
showMonthPicker?: boolean;
monthPickerFormat?: string[];
}

@@ -94,0 +96,0 @@ export declare class CalendarResult {

@@ -16,4 +16,6 @@ import { OnInit, EventEmitter } from '@angular/core';

_d: CalendarModalOptions;
_view: string;
_calendarMonthValue: any[];
_showToggleButtons: boolean;
_showMonthPicker: boolean;
_onChanged: Function;

@@ -28,2 +30,7 @@ _onTouched: Function;

createMonth(date: number): CalendarMonth;
switchView(): string;
prev(): void;
next(): void;
prevYear(): void;
nextYear(): void;
nextMonth(): void;

@@ -33,2 +40,3 @@ canNext(): boolean;

canBack(): boolean;
monthOnSelect(month: number): void;
onChanged($event: any[]): void;

@@ -35,0 +43,0 @@ _writeValue(value: any): void;

@@ -18,4 +18,6 @@ import { Component, Input, Output, EventEmitter, forwardRef } from '@angular/core';

this.monthChange = new EventEmitter();
this._view = 'days';
this._calendarMonthValue = [null, null];
this._showToggleButtons = true;
this._showMonthPicker = true;
this._onChanged = function () {

@@ -32,2 +34,5 @@ };

}
if (this.options && this.options.showMonthPicker === false) {
this._showMonthPicker = false;
}
this._d = this.calSvc.safeOpt(this.options || {});

@@ -57,2 +62,30 @@ // this.showToggleButtons = this.options.showToggleButtons;

};
CalendarComponent.prototype.switchView = function () {
this._view = this._view === 'days' ? 'month' : 'days';
return this._view;
};
CalendarComponent.prototype.prev = function () {
if (this._view === 'days') {
this.backMonth();
}
else {
this.prevYear();
}
};
CalendarComponent.prototype.next = function () {
if (this._view === 'days') {
this.nextMonth();
}
else {
this.nextYear();
}
};
CalendarComponent.prototype.prevYear = function () {
var backTime = moment(this.monthOpt.original.time).subtract(1, 'year').valueOf();
this.monthOpt = this.createMonth(backTime);
};
CalendarComponent.prototype.nextYear = function () {
var nextTime = moment(this.monthOpt.original.time).add(1, 'year').valueOf();
this.monthOpt = this.createMonth(nextTime);
};
CalendarComponent.prototype.nextMonth = function () {

@@ -67,3 +100,3 @@ var nextTime = moment(this.monthOpt.original.time).add(1, 'months').valueOf();

CalendarComponent.prototype.canNext = function () {
if (!this._d.to)
if (!this._d.to || this._view !== 'days')
return true;

@@ -81,6 +114,15 @@ return this.monthOpt.original.time < moment(this._d.to).valueOf();

CalendarComponent.prototype.canBack = function () {
if (!this._d.from)
if (!this._d.from || this._view !== 'days')
return true;
return this.monthOpt.original.time > moment(this._d.from).valueOf();
};
CalendarComponent.prototype.monthOnSelect = function (month) {
this._view = 'days';
var newMonth = moment(this.monthOpt.original.time).month(month).valueOf();
this.monthChange.emit({
oldMonth: this.calSvc.multiFormat(this.monthOpt.original.time),
newMonth: this.calSvc.multiFormat(newMonth)
});
this.monthOpt = this.createMonth(newMonth);
};
CalendarComponent.prototype.onChanged = function ($event) {

@@ -178,3 +220,3 @@ switch (this._d.pickMode) {

providers: [ION_CAL_VALUE_ACCESSOR],
template: "\n <div class=\"title\">\n <div class=\"text\">\n {{monthOpt.original.time | date: _d.monthFormat}}\n </div>\n <ng-template [ngIf]=\"_showToggleButtons\">\n <button type='button' ion-button clear class=\"back\" [disabled]=\"!canBack() || readonly\" (click)=\"backMonth()\">\n <ion-icon name=\"ios-arrow-back\"></ion-icon>\n </button>\n <button type='button' ion-button clear class=\"forward\" [disabled]=\"!canNext() || readonly\" (click)=\"nextMonth()\">\n <ion-icon name=\"ios-arrow-forward\"></ion-icon>\n </button>\n </ng-template>\n </div>\n\n <ion-calendar-week color=\"transparent\"\n [weekStart]=\"_d.weekStart\">\n </ion-calendar-week>\n\n <ion-calendar-month\n [(ngModel)]=\"_calendarMonthValue\"\n [month]=\"monthOpt\"\n [readonly]=\"readonly\"\n (onChange)=\"onChanged($event)\"\n [pickMode]=\"_d.pickMode\"\n [color]=\"_d.color\">\n\n </ion-calendar-month>\n\n ",
template: "\n <div class=\"title\">\n <ng-template [ngIf]=\"_showMonthPicker || !readonly\" [ngIfElse]=\"title\">\n <button type=\"button\"\n ion-button\n clear\n class=\"switch-btn\"\n [disabled]=\"readonly\"\n (click)=\"switchView()\">\n {{monthOpt.original.time | date: _d.monthFormat}}\n <ion-icon *ngIf=\"!readonly\"\n class=\"arrow-dropdown\"\n [name]=\"_view === 'days' ? 'md-arrow-dropdown' : 'md-arrow-dropup'\"></ion-icon>\n </button>\n </ng-template>\n <ng-template #title>\n <div class=\"switch-btn\">\n {{monthOpt.original.time | date: _d.monthFormat}}\n </div>\n </ng-template>\n <ng-template [ngIf]=\"_showToggleButtons\">\n <button type='button' ion-button clear class=\"back\" [disabled]=\"!canBack() || readonly\" (click)=\"prev()\">\n <ion-icon name=\"ios-arrow-back\"></ion-icon>\n </button>\n <button type='button' ion-button clear class=\"forward\" [disabled]=\"!canNext() || readonly\"\n (click)=\"next()\">\n <ion-icon name=\"ios-arrow-forward\"></ion-icon>\n </button>\n </ng-template>\n </div>\n \n <ng-template [ngIf]=\"_view === 'days'\" [ngIfElse]=\"monthPicker\">\n <ion-calendar-week color=\"transparent\"\n [weekStart]=\"_d.weekStart\">\n </ion-calendar-week>\n\n <ion-calendar-month [(ngModel)]=\"_calendarMonthValue\"\n [month]=\"monthOpt\"\n [readonly]=\"readonly\"\n (onChange)=\"onChanged($event)\"\n [pickMode]=\"_d.pickMode\"\n [color]=\"_d.color\">\n </ion-calendar-month>\n </ng-template>\n\n <ng-template #monthPicker>\n <ion-calendar-month-picker [color]=\"_d.color\" \n [monthFormat]=\"options?.monthPickerFormat\"\n (onSelect)=\"monthOnSelect($event)\"\n [month]=\"monthOpt\">\n </ion-calendar-month-picker>\n </ng-template>\n ",
},] },

@@ -181,0 +223,0 @@ ];

2

dist/components/calendar.component.metadata.json

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

[{"__symbolic":"module","version":3,"metadata":{"ION_CAL_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"CalendarComponent"},"multi":true},"CalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar","providers":[{"__symbolic":"reference","name":"ION_CAL_VALUE_ACCESSOR"}],"template":"\n <div class=\"title\">\n <div class=\"text\">\n {{monthOpt.original.time | date: _d.monthFormat}}\n </div>\n <ng-template [ngIf]=\"_showToggleButtons\">\n <button type='button' ion-button clear class=\"back\" [disabled]=\"!canBack() || readonly\" (click)=\"backMonth()\">\n <ion-icon name=\"ios-arrow-back\"></ion-icon>\n </button>\n <button type='button' ion-button clear class=\"forward\" [disabled]=\"!canNext() || readonly\" (click)=\"nextMonth()\">\n <ion-icon name=\"ios-arrow-forward\"></ion-icon>\n </button>\n </ng-template>\n </div>\n\n <ion-calendar-week color=\"transparent\"\n [weekStart]=\"_d.weekStart\">\n </ion-calendar-week>\n\n <ion-calendar-month\n [(ngModel)]=\"_calendarMonthValue\"\n [month]=\"monthOpt\"\n [readonly]=\"readonly\"\n (onChange)=\"onChanged($event)\"\n [pickMode]=\"_d.pickMode\"\n [color]=\"_d.color\">\n\n </ion-calendar-month>\n\n "}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"format":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"monthChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../services/calendar.service","name":"CalendarService"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"createMonth":[{"__symbolic":"method"}],"nextMonth":[{"__symbolic":"method"}],"canNext":[{"__symbolic":"method"}],"backMonth":[{"__symbolic":"method"}],"canBack":[{"__symbolic":"method"}],"onChanged":[{"__symbolic":"method"}],"_writeValue":[{"__symbolic":"method"}],"_createCalendarDay":[{"__symbolic":"method"}],"_handleType":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ION_CAL_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"CalendarComponent"},"multi":true},"CalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar","providers":[{"__symbolic":"reference","name":"ION_CAL_VALUE_ACCESSOR"}],"template":"\n <div class=\"title\">\n <div class=\"text\">\n {{monthOpt.original.time | date: _d.monthFormat}}\n </div>\n <ng-template [ngIf]=\"_showToggleButtons\">\n <button type='button' ion-button clear class=\"back\" [disabled]=\"!canBack() || readonly\" (click)=\"backMonth()\">\n <ion-icon name=\"ios-arrow-back\"></ion-icon>\n </button>\n <button type='button' ion-button clear class=\"forward\" [disabled]=\"!canNext() || readonly\" (click)=\"nextMonth()\">\n <ion-icon name=\"ios-arrow-forward\"></ion-icon>\n </button>\n </ng-template>\n </div>\n\n <ion-calendar-week color=\"transparent\"\n [weekStart]=\"_d.weekStart\">\n </ion-calendar-week>\n\n <ion-calendar-month\n [(ngModel)]=\"_calendarMonthValue\"\n [month]=\"monthOpt\"\n [readonly]=\"readonly\"\n (onChange)=\"onChanged($event)\"\n [pickMode]=\"_d.pickMode\"\n [color]=\"_d.color\">\n\n </ion-calendar-month>\n\n "}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"format":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"monthChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../services/calendar.service","name":"CalendarService"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"createMonth":[{"__symbolic":"method"}],"nextMonth":[{"__symbolic":"method"}],"canNext":[{"__symbolic":"method"}],"backMonth":[{"__symbolic":"method"}],"canBack":[{"__symbolic":"method"}],"onChanged":[{"__symbolic":"method"}],"_writeValue":[{"__symbolic":"method"}],"_createCalendarDay":[{"__symbolic":"method"}],"_handleType":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"ION_CAL_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"CalendarComponent"},"multi":true},"CalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar","providers":[{"__symbolic":"reference","name":"ION_CAL_VALUE_ACCESSOR"}],"template":"\n <div class=\"title\">\n <ng-template [ngIf]=\"_showMonthPicker || !readonly\" [ngIfElse]=\"title\">\n <button type=\"button\"\n ion-button\n clear\n class=\"switch-btn\"\n [disabled]=\"readonly\"\n (click)=\"switchView()\">\n {{monthOpt.original.time | date: _d.monthFormat}}\n <ion-icon *ngIf=\"!readonly\"\n class=\"arrow-dropdown\"\n [name]=\"_view === 'days' ? 'md-arrow-dropdown' : 'md-arrow-dropup'\"></ion-icon>\n </button>\n </ng-template>\n <ng-template #title>\n <div class=\"switch-btn\">\n {{monthOpt.original.time | date: _d.monthFormat}}\n </div>\n </ng-template>\n <ng-template [ngIf]=\"_showToggleButtons\">\n <button type='button' ion-button clear class=\"back\" [disabled]=\"!canBack() || readonly\" (click)=\"prev()\">\n <ion-icon name=\"ios-arrow-back\"></ion-icon>\n </button>\n <button type='button' ion-button clear class=\"forward\" [disabled]=\"!canNext() || readonly\"\n (click)=\"next()\">\n <ion-icon name=\"ios-arrow-forward\"></ion-icon>\n </button>\n </ng-template>\n </div>\n \n <ng-template [ngIf]=\"_view === 'days'\" [ngIfElse]=\"monthPicker\">\n <ion-calendar-week color=\"transparent\"\n [weekStart]=\"_d.weekStart\">\n </ion-calendar-week>\n\n <ion-calendar-month [(ngModel)]=\"_calendarMonthValue\"\n [month]=\"monthOpt\"\n [readonly]=\"readonly\"\n (onChange)=\"onChanged($event)\"\n [pickMode]=\"_d.pickMode\"\n [color]=\"_d.color\">\n </ion-calendar-month>\n </ng-template>\n\n <ng-template #monthPicker>\n <ion-calendar-month-picker [color]=\"_d.color\" \n [monthFormat]=\"options?.monthPickerFormat\"\n (onSelect)=\"monthOnSelect($event)\"\n [month]=\"monthOpt\">\n </ion-calendar-month-picker>\n </ng-template>\n "}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"format":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"monthChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../services/calendar.service","name":"CalendarService"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"createMonth":[{"__symbolic":"method"}],"switchView":[{"__symbolic":"method"}],"prev":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"prevYear":[{"__symbolic":"method"}],"nextYear":[{"__symbolic":"method"}],"nextMonth":[{"__symbolic":"method"}],"canNext":[{"__symbolic":"method"}],"backMonth":[{"__symbolic":"method"}],"canBack":[{"__symbolic":"method"}],"monthOnSelect":[{"__symbolic":"method"}],"onChanged":[{"__symbolic":"method"}],"_writeValue":[{"__symbolic":"method"}],"_createCalendarDay":[{"__symbolic":"method"}],"_handleType":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ION_CAL_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"CalendarComponent"},"multi":true},"CalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-calendar","providers":[{"__symbolic":"reference","name":"ION_CAL_VALUE_ACCESSOR"}],"template":"\n <div class=\"title\">\n <ng-template [ngIf]=\"_showMonthPicker || !readonly\" [ngIfElse]=\"title\">\n <button type=\"button\"\n ion-button\n clear\n class=\"switch-btn\"\n [disabled]=\"readonly\"\n (click)=\"switchView()\">\n {{monthOpt.original.time | date: _d.monthFormat}}\n <ion-icon *ngIf=\"!readonly\"\n class=\"arrow-dropdown\"\n [name]=\"_view === 'days' ? 'md-arrow-dropdown' : 'md-arrow-dropup'\"></ion-icon>\n </button>\n </ng-template>\n <ng-template #title>\n <div class=\"switch-btn\">\n {{monthOpt.original.time | date: _d.monthFormat}}\n </div>\n </ng-template>\n <ng-template [ngIf]=\"_showToggleButtons\">\n <button type='button' ion-button clear class=\"back\" [disabled]=\"!canBack() || readonly\" (click)=\"prev()\">\n <ion-icon name=\"ios-arrow-back\"></ion-icon>\n </button>\n <button type='button' ion-button clear class=\"forward\" [disabled]=\"!canNext() || readonly\"\n (click)=\"next()\">\n <ion-icon name=\"ios-arrow-forward\"></ion-icon>\n </button>\n </ng-template>\n </div>\n \n <ng-template [ngIf]=\"_view === 'days'\" [ngIfElse]=\"monthPicker\">\n <ion-calendar-week color=\"transparent\"\n [weekStart]=\"_d.weekStart\">\n </ion-calendar-week>\n\n <ion-calendar-month [(ngModel)]=\"_calendarMonthValue\"\n [month]=\"monthOpt\"\n [readonly]=\"readonly\"\n (onChange)=\"onChanged($event)\"\n [pickMode]=\"_d.pickMode\"\n [color]=\"_d.color\">\n </ion-calendar-month>\n </ng-template>\n\n <ng-template #monthPicker>\n <ion-calendar-month-picker [color]=\"_d.color\" \n [monthFormat]=\"options?.monthPickerFormat\"\n (onSelect)=\"monthOnSelect($event)\"\n [month]=\"monthOpt\">\n </ion-calendar-month-picker>\n </ng-template>\n "}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"format":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"monthChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../services/calendar.service","name":"CalendarService"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"createMonth":[{"__symbolic":"method"}],"switchView":[{"__symbolic":"method"}],"prev":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"prevYear":[{"__symbolic":"method"}],"nextYear":[{"__symbolic":"method"}],"nextMonth":[{"__symbolic":"method"}],"canNext":[{"__symbolic":"method"}],"backMonth":[{"__symbolic":"method"}],"canBack":[{"__symbolic":"method"}],"monthOnSelect":[{"__symbolic":"method"}],"onChanged":[{"__symbolic":"method"}],"_writeValue":[{"__symbolic":"method"}],"_createCalendarDay":[{"__symbolic":"method"}],"_handleType":[{"__symbolic":"method"}]}}}}]

@@ -5,2 +5,3 @@ import { CalendarModal } from "./calendar.modal";

import { CalendarComponent } from "./calendar.component";
export declare const CALENDAR_COMPONENTS: (typeof CalendarModal | typeof CalendarWeekComponent | typeof MonthComponent | typeof CalendarComponent)[];
import { MonthPickerComponent } from "./month-picker.component";
export declare const CALENDAR_COMPONENTS: (typeof CalendarModal | typeof CalendarWeekComponent | typeof MonthComponent | typeof CalendarComponent | typeof MonthPickerComponent)[];

@@ -5,2 +5,3 @@ import { CalendarModal } from "./calendar.modal";

import { CalendarComponent } from "./calendar.component";
import { MonthPickerComponent } from "./month-picker.component";
export var CALENDAR_COMPONENTS = [

@@ -10,4 +11,5 @@ CalendarModal,

MonthComponent,
CalendarComponent
CalendarComponent,
MonthPickerComponent
];
//# sourceMappingURL=index.js.map

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

[{"__symbolic":"module","version":3,"metadata":{"CALENDAR_COMPONENTS":[{"__symbolic":"reference","module":"./calendar.modal","name":"CalendarModal"},{"__symbolic":"reference","module":"./calendar-week.component","name":"CalendarWeekComponent"},{"__symbolic":"reference","module":"./month.component","name":"MonthComponent"},{"__symbolic":"reference","module":"./calendar.component","name":"CalendarComponent"}]}},{"__symbolic":"module","version":1,"metadata":{"CALENDAR_COMPONENTS":[{"__symbolic":"reference","module":"./calendar.modal","name":"CalendarModal"},{"__symbolic":"reference","module":"./calendar-week.component","name":"CalendarWeekComponent"},{"__symbolic":"reference","module":"./month.component","name":"MonthComponent"},{"__symbolic":"reference","module":"./calendar.component","name":"CalendarComponent"}]}}]
[{"__symbolic":"module","version":3,"metadata":{"CALENDAR_COMPONENTS":[{"__symbolic":"reference","module":"./calendar.modal","name":"CalendarModal"},{"__symbolic":"reference","module":"./calendar-week.component","name":"CalendarWeekComponent"},{"__symbolic":"reference","module":"./month.component","name":"MonthComponent"},{"__symbolic":"reference","module":"./calendar.component","name":"CalendarComponent"},{"__symbolic":"reference","module":"./month-picker.component","name":"MonthPickerComponent"}]}},{"__symbolic":"module","version":1,"metadata":{"CALENDAR_COMPONENTS":[{"__symbolic":"reference","module":"./calendar.modal","name":"CalendarModal"},{"__symbolic":"reference","module":"./calendar-week.component","name":"CalendarWeekComponent"},{"__symbolic":"reference","module":"./month.component","name":"MonthComponent"},{"__symbolic":"reference","module":"./calendar.component","name":"CalendarComponent"},{"__symbolic":"reference","module":"./month-picker.component","name":"MonthPickerComponent"}]}}]
{
"name": "ion2-calendar",
"version": "2.0.5",
"description": "A date picker for ionic2 ",
"version": "2.0.6",
"description": "A date picker component for ionic2 ",
"main": "./dist/index.js",

@@ -6,0 +6,0 @@ "typings": "./dist/index.d.ts",

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

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