@schedule-x/calendar-controls
Advanced tools
Comparing version 1.64.0-alpha.0 to 2.0.0-alpha.0
@@ -305,3 +305,2 @@ import { Signal, ReadonlySignal } from "@preact/signals"; | ||
timeAxisFormatOptions: Intl.DateTimeFormatOptions; | ||
showLocation: boolean; | ||
}; | ||
@@ -384,3 +383,3 @@ type MonthGridOptions = { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
beforeInit?($app: CalendarAppSingleton | any): void; | ||
beforeRender?($app: CalendarAppSingleton | any): void; | ||
// TODO v2: change to `onRender` and remove $app parameter | ||
@@ -396,7 +395,7 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
init?($app: CalendarAppSingleton | any): void; | ||
onRender?($app: CalendarAppSingleton | any): void; | ||
destroy?(): void; | ||
} | ||
interface CalendarControlsPlugin extends PluginBase { | ||
init($app: CalendarAppSingleton): void; | ||
onRender($app: CalendarAppSingleton): void; | ||
setDate(date: string): void; | ||
@@ -403,0 +402,0 @@ setView(view: string): void; |
@@ -155,3 +155,3 @@ 'use strict'; | ||
} | ||
beforeInit($app) { | ||
beforeRender($app) { | ||
this.$app = $app; | ||
@@ -162,3 +162,3 @@ } | ||
* */ | ||
init($app) { | ||
onRender($app) { | ||
this.$app = $app; | ||
@@ -165,0 +165,0 @@ } |
@@ -305,3 +305,2 @@ import { Signal, ReadonlySignal } from "@preact/signals"; | ||
timeAxisFormatOptions: Intl.DateTimeFormatOptions; | ||
showLocation: boolean; | ||
}; | ||
@@ -384,3 +383,3 @@ type MonthGridOptions = { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
beforeInit?($app: CalendarAppSingleton | any): void; | ||
beforeRender?($app: CalendarAppSingleton | any): void; | ||
// TODO v2: change to `onRender` and remove $app parameter | ||
@@ -396,7 +395,7 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
init?($app: CalendarAppSingleton | any): void; | ||
onRender?($app: CalendarAppSingleton | any): void; | ||
destroy?(): void; | ||
} | ||
interface CalendarControlsPlugin extends PluginBase { | ||
init($app: CalendarAppSingleton): void; | ||
onRender($app: CalendarAppSingleton): void; | ||
setDate(date: string): void; | ||
@@ -403,0 +402,0 @@ setView(view: string): void; |
@@ -153,3 +153,3 @@ var PluginName; | ||
} | ||
beforeInit($app) { | ||
beforeRender($app) { | ||
this.$app = $app; | ||
@@ -160,3 +160,3 @@ } | ||
* */ | ||
init($app) { | ||
onRender($app) { | ||
this.$app = $app; | ||
@@ -163,0 +163,0 @@ } |
@@ -305,3 +305,2 @@ import { Signal, ReadonlySignal } from "@preact/signals"; | ||
timeAxisFormatOptions: Intl.DateTimeFormatOptions; | ||
showLocation: boolean; | ||
}; | ||
@@ -384,3 +383,3 @@ type MonthGridOptions = { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
beforeInit?($app: CalendarAppSingleton | any): void; | ||
beforeRender?($app: CalendarAppSingleton | any): void; | ||
// TODO v2: change to `onRender` and remove $app parameter | ||
@@ -396,7 +395,7 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
init?($app: CalendarAppSingleton | any): void; | ||
onRender?($app: CalendarAppSingleton | any): void; | ||
destroy?(): void; | ||
} | ||
interface CalendarControlsPlugin extends PluginBase { | ||
init($app: CalendarAppSingleton): void; | ||
onRender($app: CalendarAppSingleton): void; | ||
setDate(date: string): void; | ||
@@ -403,0 +402,0 @@ setView(view: string): void; |
@@ -159,3 +159,3 @@ (function (global, factory) { | ||
} | ||
beforeInit($app) { | ||
beforeRender($app) { | ||
this.$app = $app; | ||
@@ -166,3 +166,3 @@ } | ||
* */ | ||
init($app) { | ||
onRender($app) { | ||
this.$app = $app; | ||
@@ -169,0 +169,0 @@ } |
{ | ||
"name": "@schedule-x/calendar-controls", | ||
"umdName": "SXCalendarControls", | ||
"version": "1.64.0-alpha.0", | ||
"version": "2.0.0-alpha.0", | ||
"description": "Plugin for extra controls for the Schedule-X calendar", | ||
@@ -31,3 +31,3 @@ "author": { | ||
"homepage": "https://schedule-x.dev", | ||
"gitHead": "f0cfd68222837d0f5c97f0c88386ae8b017d0195" | ||
"gitHead": "0a741570126e339dc6be3c112ece49b98348f6e4" | ||
} |
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
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
69078
1900