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

vanilla-calendar-pro

Package Overview
Dependencies
Maintainers
0
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilla-calendar-pro - npm Package Compare versions

Comparing version 3.0.0-beta.4 to 3.0.0-beta.5

build/scripts/vanilla-calendar-pro.js

30

build/types/options.d.ts

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

import { VanillaCalendarPro } from './index';
import { FormatDateString, Labels, Layouts, Locale, MonthsCount, Popups, Range, Styles, ToggleSelected, TypesCalendar, WeekDayID, WeekDays } from './types';
import { VanillaCalendar } from './vanilla-calendar';
export default class OptionsCalendar {

@@ -50,16 +50,16 @@ viewType: TypesCalendar;

sanitizerHTML: (dirtyHtml: string) => string;
onClickDate: (e: MouseEvent, self: VanillaCalendar) => void;
onClickWeekDay: (e: MouseEvent, day: number, days: HTMLElement[], self: VanillaCalendar) => void;
onClickWeekNumber: (e: MouseEvent, number: number, days: HTMLElement[], year: number, self: VanillaCalendar) => void;
onClickTitle: (e: MouseEvent, self: VanillaCalendar) => void;
onClickMonth: (e: MouseEvent, self: VanillaCalendar) => void;
onClickYear: (e: MouseEvent, self: VanillaCalendar) => void;
onClickArrow: (e: MouseEvent, self: VanillaCalendar) => void;
onChangeTime: (e: Event, self: VanillaCalendar, isError: boolean) => void;
onChangeToInput: (e: Event, self: VanillaCalendar) => void;
onInit: (self: VanillaCalendar) => void;
onUpdate: (self: VanillaCalendar) => void;
onDestroy: (self: VanillaCalendar) => void;
onShow: (self: VanillaCalendar) => void;
onHide: (self: VanillaCalendar) => void;
onClickDate: (e: MouseEvent, self: VanillaCalendarPro) => void;
onClickWeekDay: (e: MouseEvent, day: number, days: HTMLElement[], self: VanillaCalendarPro) => void;
onClickWeekNumber: (e: MouseEvent, number: number, days: HTMLElement[], year: number, self: VanillaCalendarPro) => void;
onClickTitle: (e: MouseEvent, self: VanillaCalendarPro) => void;
onClickMonth: (e: MouseEvent, self: VanillaCalendarPro) => void;
onClickYear: (e: MouseEvent, self: VanillaCalendarPro) => void;
onClickArrow: (e: MouseEvent, self: VanillaCalendarPro) => void;
onChangeTime: (e: Event, self: VanillaCalendarPro, isError: boolean) => void;
onChangeToInput: (e: Event, self: VanillaCalendarPro) => void;
onInit: (self: VanillaCalendarPro) => void;
onUpdate: (self: VanillaCalendarPro) => void;
onDestroy: (self: VanillaCalendarPro) => void;
onShow: (self: VanillaCalendarPro) => void;
onHide: (self: VanillaCalendarPro) => void;
popups: Popups;

@@ -66,0 +66,0 @@ labels: Labels;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const ArrowNext: (self: VanillaCalendar, type: 'month' | 'year') => string;
import { VanillaCalendarPro } from '../../index';
declare const ArrowNext: (self: VanillaCalendarPro, type: 'month' | 'year') => string;
export default ArrowNext;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const ArrowPrev: (self: VanillaCalendar, type: 'month' | 'year') => string;
import { VanillaCalendarPro } from '../../index';
declare const ArrowPrev: (self: VanillaCalendarPro, type: 'month' | 'year') => string;
export default ArrowPrev;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const ControlTime: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const ControlTime: (self: VanillaCalendarPro) => string;
export default ControlTime;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const Dates: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const Dates: (self: VanillaCalendarPro) => string;
export default Dates;
export declare const components: {
ArrowNext: (self: import('../../vanilla-calendar').VanillaCalendar, type: "month" | "year") => string;
ArrowPrev: (self: import('../../vanilla-calendar').VanillaCalendar, type: "month" | "year") => string;
ControlTime: (self: import('../../vanilla-calendar').VanillaCalendar) => string;
Dates: (self: import('../../vanilla-calendar').VanillaCalendar) => string;
Month: (self: import('../../vanilla-calendar').VanillaCalendar) => string;
Months: (self: import('../../vanilla-calendar').VanillaCalendar) => string;
Week: (self: import('../../vanilla-calendar').VanillaCalendar) => string;
WeekNumbers: (self: import('../../vanilla-calendar').VanillaCalendar) => string;
Year: (self: import('../../vanilla-calendar').VanillaCalendar) => string;
Years: (self: import('../../vanilla-calendar').VanillaCalendar) => string;
ArrowNext: (self: import('../..').VanillaCalendarPro, type: "month" | "year") => string;
ArrowPrev: (self: import('../..').VanillaCalendarPro, type: "month" | "year") => string;
ControlTime: (self: import('../..').VanillaCalendarPro) => string;
Dates: (self: import('../..').VanillaCalendarPro) => string;
Month: (self: import('../..').VanillaCalendarPro) => string;
Months: (self: import('../..').VanillaCalendarPro) => string;
Week: (self: import('../..').VanillaCalendarPro) => string;
WeekNumbers: (self: import('../..').VanillaCalendarPro) => string;
Year: (self: import('../..').VanillaCalendarPro) => string;
Years: (self: import('../..').VanillaCalendarPro) => string;
};
export declare const getComponent: (pattern: string) => ((self: import('../../vanilla-calendar').VanillaCalendar, type: "month" | "year") => string) | ((self: import('../../vanilla-calendar').VanillaCalendar, type: "month" | "year") => string) | ((self: import('../../vanilla-calendar').VanillaCalendar) => string) | ((self: import('../../vanilla-calendar').VanillaCalendar) => string) | ((self: import('../../vanilla-calendar').VanillaCalendar) => string) | ((self: import('../../vanilla-calendar').VanillaCalendar) => string) | ((self: import('../../vanilla-calendar').VanillaCalendar) => string) | ((self: import('../../vanilla-calendar').VanillaCalendar) => string) | ((self: import('../../vanilla-calendar').VanillaCalendar) => string) | ((self: import('../../vanilla-calendar').VanillaCalendar) => string);
export declare const getComponent: (pattern: string) => ((self: import('../..').VanillaCalendarPro, type: "month" | "year") => string) | ((self: import('../..').VanillaCalendarPro, type: "month" | "year") => string) | ((self: import('../..').VanillaCalendarPro) => string) | ((self: import('../..').VanillaCalendarPro) => string) | ((self: import('../..').VanillaCalendarPro) => string) | ((self: import('../..').VanillaCalendarPro) => string) | ((self: import('../..').VanillaCalendarPro) => string) | ((self: import('../..').VanillaCalendarPro) => string) | ((self: import('../..').VanillaCalendarPro) => string) | ((self: import('../..').VanillaCalendarPro) => string);

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const Month: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const Month: (self: VanillaCalendarPro) => string;
export default Month;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const Months: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const Months: (self: VanillaCalendarPro) => string;
export default Months;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const Week: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const Week: (self: VanillaCalendarPro) => string;
export default Week;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const WeekNumbers: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const WeekNumbers: (self: VanillaCalendarPro) => string;
export default WeekNumbers;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const Year: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const Year: (self: VanillaCalendarPro) => string;
export default Year;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const Years: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const Years: (self: VanillaCalendarPro) => string;
export default Years;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const create: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../index';
declare const create: (self: VanillaCalendarPro) => void;
export default create;

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

import { VanillaCalendarPro } from '../../../index';
import { FormatDateString } from '../../../types';
import { VanillaCalendar } from '../../../vanilla-calendar';
declare const createDate: (self: VanillaCalendar, currentYear: number, datesEl: HTMLElement, dateID: number, dateStr: FormatDateString, monthType: 'current' | 'prev' | 'next') => void;
declare const createDate: (self: VanillaCalendarPro, currentYear: number, datesEl: HTMLElement, dateID: number, dateStr: FormatDateString, monthType: 'current' | 'prev' | 'next') => void;
export default createDate;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const createDatePopup: (self: VanillaCalendar, datesEl: HTMLElement) => void;
import { VanillaCalendarPro } from '../../../index';
declare const createDatePopup: (self: VanillaCalendarPro, datesEl: HTMLElement) => void;
export default createDatePopup;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const createDates: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../../index';
declare const createDates: (self: VanillaCalendarPro) => void;
export default createDates;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const createDatesFromCurrentMonth: (self: VanillaCalendar, datesEl: HTMLElement, days: number, currentYear: number, currentMonth: number) => void;
import { VanillaCalendarPro } from '../../../index';
declare const createDatesFromCurrentMonth: (self: VanillaCalendarPro, datesEl: HTMLElement, days: number, currentYear: number, currentMonth: number) => void;
export default createDatesFromCurrentMonth;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const createDatesFromNextMonth: (self: VanillaCalendar, daysEl: HTMLElement, days: number, currentYear: number, currentMonth: number, firstDayWeek: number) => void;
import { VanillaCalendarPro } from '../../../index';
declare const createDatesFromNextMonth: (self: VanillaCalendarPro, daysEl: HTMLElement, days: number, currentYear: number, currentMonth: number, firstDayWeek: number) => void;
export default createDatesFromNextMonth;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const createDatesFromPrevMonth: (self: VanillaCalendar, datesEl: HTMLElement, currentYear: number, currentMonth: number, firstDayWeek: number) => void;
import { VanillaCalendarPro } from '../../../index';
declare const createDatesFromPrevMonth: (self: VanillaCalendarPro, datesEl: HTMLElement, currentYear: number, currentMonth: number, firstDayWeek: number) => void;
export default createDatesFromPrevMonth;

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

import { VanillaCalendarPro } from '../../../index';
import { FormatDateString, WeekDayID } from '../../../types';
import { VanillaCalendar } from '../../../vanilla-calendar';
declare const setDateModifier: (self: VanillaCalendar, currentYear: number, dateEl: HTMLElement, dateBtnEl: HTMLButtonElement, dayWeekID: WeekDayID, dateStr: FormatDateString, monthType: 'current' | 'prev' | 'next') => void;
declare const setDateModifier: (self: VanillaCalendarPro, currentYear: number, dateEl: HTMLElement, dateBtnEl: HTMLButtonElement, dayWeekID: WeekDayID, dateStr: FormatDateString, monthType: 'current' | 'prev' | 'next') => void;
export default setDateModifier;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const createLayouts: (self: VanillaCalendar, target?: HTMLElement) => void;
import { VanillaCalendarPro } from '../../index';
declare const createLayouts: (self: VanillaCalendarPro, target?: HTMLElement) => void;
export default createLayouts;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const createMonths: (self: VanillaCalendar, target?: HTMLElement) => void;
import { VanillaCalendarPro } from '../../index';
declare const createMonths: (self: VanillaCalendarPro, target?: HTMLElement) => void;
export default createMonths;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const createTime: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../index';
declare const createTime: (self: VanillaCalendarPro) => void;
export default createTime;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const createToInput: (self: VanillaCalendar, isVisible?: boolean) => () => void;
import { VanillaCalendarPro } from '../../index';
declare const createToInput: (self: VanillaCalendarPro, isVisible?: boolean) => () => void;
export default createToInput;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const createWeek: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../index';
declare const createWeek: (self: VanillaCalendarPro) => void;
export default createWeek;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const createWeekNumbers: (self: VanillaCalendar, firstDayWeek: number, days: number, weekNumbersEl: HTMLElement, datesEl: HTMLElement) => void;
import { VanillaCalendarPro } from '../../index';
declare const createWeekNumbers: (self: VanillaCalendarPro, firstDayWeek: number, days: number, weekNumbersEl: HTMLElement, datesEl: HTMLElement) => void;
export default createWeekNumbers;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const createYears: (self: VanillaCalendar, target?: HTMLElement) => void;
import { VanillaCalendarPro } from '../../index';
declare const createYears: (self: VanillaCalendarPro, target?: HTMLElement) => void;
export default createYears;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const visibilityArrows: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../index';
declare const visibilityArrows: (self: VanillaCalendarPro) => void;
export default visibilityArrows;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const visibilityTitle: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../index';
declare const visibilityTitle: (self: VanillaCalendarPro) => void;
export default visibilityTitle;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const handleArrowKeys: (self: VanillaCalendar) => () => void;
import { VanillaCalendarPro } from '../../index';
declare const handleArrowKeys: (self: VanillaCalendarPro) => () => void;
export default handleArrowKeys;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const handleClick: (self: VanillaCalendar) => () => void;
import { VanillaCalendarPro } from '../../../index';
declare const handleClick: (self: VanillaCalendarPro) => () => void;
export default handleClick;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const handleClickArrow: (self: VanillaCalendar, event: MouseEvent) => void;
import { VanillaCalendarPro } from '../../../index';
declare const handleClickArrow: (self: VanillaCalendarPro, event: MouseEvent) => void;
export default handleClickArrow;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const handleClickDate: (self: VanillaCalendar, event: MouseEvent) => void;
import { VanillaCalendarPro } from '../../../index';
declare const handleClickDate: (self: VanillaCalendarPro, event: MouseEvent) => void;
export default handleClickDate;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const handleClickMonthOrYear: (self: VanillaCalendar, event: MouseEvent) => void;
import { VanillaCalendarPro } from '../../../index';
declare const handleClickMonthOrYear: (self: VanillaCalendarPro, event: MouseEvent) => void;
export default handleClickMonthOrYear;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
export declare const handleClickWeekNumber: (self: VanillaCalendar, event: MouseEvent) => void;
export declare const handleClickWeekDay: (self: VanillaCalendar, event: MouseEvent) => void;
import { VanillaCalendarPro } from '../../../index';
export declare const handleClickWeekNumber: (self: VanillaCalendarPro, event: MouseEvent) => void;
export declare const handleClickWeekDay: (self: VanillaCalendarPro, event: MouseEvent) => void;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const handleInput: (self: VanillaCalendar) => () => void;
import { VanillaCalendarPro } from '../../index';
declare const handleInput: (self: VanillaCalendarPro) => () => void;
export default handleInput;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const handleMonth: (self: VanillaCalendar, route: 'prev' | 'next') => void;
import { VanillaCalendarPro } from '../../index';
declare const handleMonth: (self: VanillaCalendarPro, route: 'prev' | 'next') => void;
export default handleMonth;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const handleSelectDate: (self: VanillaCalendar, dateEl: HTMLElement, multiple: boolean) => void;
import { VanillaCalendarPro } from '../../index';
declare const handleSelectDate: (self: VanillaCalendarPro, dateEl: HTMLElement, multiple: boolean) => void;
export default handleSelectDate;

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

import { VanillaCalendarPro } from '../../index';
import { FormatDateString } from '../../types';
import { VanillaCalendar } from '../../vanilla-calendar';
declare const handleSelectDateRange: (self: VanillaCalendar, formattedDate?: FormatDateString) => void;
declare const handleSelectDateRange: (self: VanillaCalendarPro, formattedDate?: FormatDateString) => void;
export default handleSelectDateRange;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const handleTheme: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../index';
declare const handleTheme: (self: VanillaCalendarPro) => void;
export default handleTheme;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const handleActions: (self: VanillaCalendar, event: Event, value: string, type: 'hour' | 'minute') => void;
import { VanillaCalendarPro } from '../../../index';
declare const handleActions: (self: VanillaCalendarPro, event: Event, value: string, type: 'hour' | 'minute') => void;
export default handleActions;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const handleClickKeepingTime: (self: VanillaCalendar, keepingTimeEl: HTMLButtonElement, rangeHourEl: HTMLInputElement, max: number, min: number) => () => void;
import { VanillaCalendarPro } from '../../../index';
declare const handleClickKeepingTime: (self: VanillaCalendarPro, keepingTimeEl: HTMLButtonElement, rangeHourEl: HTMLInputElement, max: number, min: number) => () => void;
export default handleClickKeepingTime;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const handleInput: (self: VanillaCalendar, rangeEl: HTMLInputElement, inputEl: HTMLInputElement, keepingTimeEl: HTMLButtonElement | null, type: 'hour' | 'minute', max: number, min: number) => () => void;
import { VanillaCalendarPro } from '../../../index';
declare const handleInput: (self: VanillaCalendarPro, rangeEl: HTMLInputElement, inputEl: HTMLInputElement, keepingTimeEl: HTMLButtonElement | null, type: 'hour' | 'minute', max: number, min: number) => () => void;
export default handleInput;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const handleRange: (self: VanillaCalendar, rangeEl: HTMLInputElement, inputEl: HTMLInputElement, keepingTimeEl: HTMLButtonElement | null, type: 'hour' | 'minute') => () => void;
import { VanillaCalendarPro } from '../../../index';
declare const handleRange: (self: VanillaCalendarPro, rangeEl: HTMLInputElement, inputEl: HTMLInputElement, keepingTimeEl: HTMLButtonElement | null, type: 'hour' | 'minute') => () => void;
export default handleRange;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const handleTime: (self: VanillaCalendar, timeEl: HTMLElement) => () => void;
import { VanillaCalendarPro } from '../../../index';
declare const handleTime: (self: VanillaCalendarPro, timeEl: HTMLElement) => () => void;
export default handleTime;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const layoutDefault: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const layoutDefault: (self: VanillaCalendarPro) => string;
export default layoutDefault;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const layoutMonths: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const layoutMonths: (self: VanillaCalendarPro) => string;
export default layoutMonths;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const layoutMultiple: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const layoutMultiple: (self: VanillaCalendarPro) => string;
export default layoutMultiple;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const layoutYears: (self: VanillaCalendar) => string;
import { VanillaCalendarPro } from '../../index';
declare const layoutYears: (self: VanillaCalendarPro) => string;
export default layoutYears;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const destroy: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../index';
declare const destroy: (self: VanillaCalendarPro) => void;
export default destroy;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const hide: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../index';
declare const hide: (self: VanillaCalendarPro) => void;
export default hide;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const init: (self: VanillaCalendar) => () => void;
import { VanillaCalendarPro } from '../../index';
declare const init: (self: VanillaCalendarPro) => () => void;
export default init;

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

import { VanillaCalendarPro } from '../../index';
import { Reset } from '../../types';
import { VanillaCalendar } from '../../vanilla-calendar';
declare const reset: (self: VanillaCalendar, { year, month, dates, time, locale }?: Reset) => void;
declare const reset: (self: VanillaCalendarPro, { year, month, dates, time, locale }?: Reset) => void;
export default reset;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const show: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../index';
declare const show: (self: VanillaCalendarPro) => void;
export default show;

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

import { VanillaCalendarPro } from '../../index';
import { Reset } from '../../types';
import { VanillaCalendar } from '../../vanilla-calendar';
declare const update: (self: VanillaCalendar, { year, month, dates, time, locale }?: Reset) => void;
declare const update: (self: VanillaCalendarPro, { year, month, dates, time, locale }?: Reset) => void;
export default update;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const canToggleSelection: (self: VanillaCalendar) => boolean;
import { VanillaCalendarPro } from '../../index';
declare const canToggleSelection: (self: VanillaCalendarPro) => boolean;
export default canToggleSelection;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const getCorrectNumberOfMonths: (self: VanillaCalendar) => number;
import { VanillaCalendarPro } from '../../index';
declare const getCorrectNumberOfMonths: (self: VanillaCalendarPro) => number;
export default getCorrectNumberOfMonths;

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

import { VanillaCalendar } from '../../vanilla-calendar';
declare const getLocale: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../index';
declare const getLocale: (self: VanillaCalendarPro) => void;
export default getLocale;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const initAllVariables: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../../index';
declare const initAllVariables: (self: VanillaCalendarPro) => void;
export default initAllVariables;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const initDateMinMax: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../../index';
declare const initDateMinMax: (self: VanillaCalendarPro) => void;
export default initDateMinMax;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const initRange: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../../index';
declare const initRange: (self: VanillaCalendarPro) => void;
export default initRange;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const initSelectedDates: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../../index';
declare const initSelectedDates: (self: VanillaCalendarPro) => void;
export default initSelectedDates;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const initSelectedMonthYear: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../../index';
declare const initSelectedMonthYear: (self: VanillaCalendarPro) => void;
export default initSelectedMonthYear;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
declare const initTime: (self: VanillaCalendar) => void;
import { VanillaCalendarPro } from '../../../index';
declare const initTime: (self: VanillaCalendarPro) => void;
export default initTime;

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

import { VanillaCalendar } from '../../vanilla-calendar';
export declare const parseLayout: (self: VanillaCalendar, template: string) => string;
export declare const parseMultipleLayout: (self: VanillaCalendar, template: string) => string;
import { VanillaCalendarPro } from '../../index';
export declare const parseLayout: (self: VanillaCalendarPro, template: string) => string;
export declare const parseMultipleLayout: (self: VanillaCalendarPro, template: string) => string;

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

import { VanillaCalendar } from '../../../vanilla-calendar';
import { VanillaCalendarPro } from '../../../index';
/** Set the calendar picker position according to the user's choice coming from `positionToInput` option. */
declare const setPosition: (input: HTMLInputElement | undefined, calendar: HTMLElement, position: VanillaCalendar['positionToInput']) => void;
declare const setPosition: (input: HTMLInputElement | undefined, calendar: HTMLElement, position: VanillaCalendarPro['positionToInput']) => void;
export default setPosition;

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

import { VanillaCalendarPro } from './index';
import { default as labels } from './labels';
import { default as options } from './options';
import { default as styles } from './styles';
import { VanillaCalendar } from './vanilla-calendar';
type LeadingZero = `${0}${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}`;

@@ -12,3 +12,3 @@ type MM = LeadingZero | 10 | 11 | 12;

export type Range<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : Range<N, [...Acc, Acc['length']]>;
export type ToggleSelected = boolean | ((self: VanillaCalendar) => boolean);
export type ToggleSelected = boolean | ((self: VanillaCalendarPro) => boolean);
export type TypesCalendar = 'default' | 'multiple' | 'month' | 'year';

@@ -15,0 +15,0 @@ export type WeekDayID = 0 | 1 | 2 | 3 | 4 | 5 | 6;

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

/*! name: vanilla-calendar-pro v3.0.0-beta.3 | url: https://github.com/uvarov-frontend/vanilla-calendar-pro */
/*! name: vanilla-calendar-pro v3.0.0-beta.4 | url: https://github.com/uvarov-frontend/vanilla-calendar-pro */
(function(global, factory) {
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.VanillaCalendarUtilities = {}));
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.VanillaCalendarProUtilities = {}));
})(this, function(exports2) {

@@ -5,0 +5,0 @@ "use strict";

{
"name": "vanilla-calendar-pro",
"description": "The Vanilla Calendar Pro is a versatile JavaScript date and time picker component with TypeScript support, making it compatible with any JavaScript frameworks and libraries. It is designed to be lightweight, easy to use, and feature-rich, without relying on external dependencies.",
"version": "3.0.0-beta.4",
"version": "3.0.0-beta.5",
"homepage": "https://vanilla-calendar.pro",

@@ -6,0 +6,0 @@ "keywords": [

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

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