@schedule-x/current-time
Advanced tools
Comparing version 1.64.0-alpha.0 to 2.0.0-alpha.0
@@ -301,3 +301,2 @@ import { Signal, ReadonlySignal } from "@preact/signals"; | ||
timeAxisFormatOptions: Intl.DateTimeFormatOptions; | ||
showLocation: boolean; | ||
}; | ||
@@ -380,3 +379,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 | ||
@@ -392,3 +391,3 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
init?($app: CalendarAppSingleton | any): void; | ||
onRender?($app: CalendarAppSingleton | any): void; | ||
destroy?(): void; | ||
@@ -408,3 +407,3 @@ } | ||
constructor(config?: CurrentTimePluginConfig); | ||
init($app: CalendarAppSingleton): void; | ||
onRender($app: CalendarAppSingleton): void; | ||
private setIndicator; | ||
@@ -411,0 +410,0 @@ private createFullWidthIndicator; |
@@ -144,3 +144,3 @@ 'use strict'; | ||
} | ||
init($app) { | ||
onRender($app) { | ||
this.$app = $app; | ||
@@ -147,0 +147,0 @@ this.observer = new MutationObserver((mutationList) => { |
@@ -301,3 +301,2 @@ import { Signal, ReadonlySignal } from "@preact/signals"; | ||
timeAxisFormatOptions: Intl.DateTimeFormatOptions; | ||
showLocation: boolean; | ||
}; | ||
@@ -380,3 +379,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 | ||
@@ -392,3 +391,3 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
init?($app: CalendarAppSingleton | any): void; | ||
onRender?($app: CalendarAppSingleton | any): void; | ||
destroy?(): void; | ||
@@ -408,3 +407,3 @@ } | ||
constructor(config?: CurrentTimePluginConfig); | ||
init($app: CalendarAppSingleton): void; | ||
onRender($app: CalendarAppSingleton): void; | ||
private setIndicator; | ||
@@ -411,0 +410,0 @@ private createFullWidthIndicator; |
@@ -142,3 +142,3 @@ import 'preact/jsx-runtime'; | ||
} | ||
init($app) { | ||
onRender($app) { | ||
this.$app = $app; | ||
@@ -145,0 +145,0 @@ this.observer = new MutationObserver((mutationList) => { |
@@ -301,3 +301,2 @@ import { Signal, ReadonlySignal } from "@preact/signals"; | ||
timeAxisFormatOptions: Intl.DateTimeFormatOptions; | ||
showLocation: boolean; | ||
}; | ||
@@ -380,3 +379,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 | ||
@@ -392,3 +391,3 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
init?($app: CalendarAppSingleton | any): void; | ||
onRender?($app: CalendarAppSingleton | any): void; | ||
destroy?(): void; | ||
@@ -408,3 +407,3 @@ } | ||
constructor(config?: CurrentTimePluginConfig); | ||
init($app: CalendarAppSingleton): void; | ||
onRender($app: CalendarAppSingleton): void; | ||
private setIndicator; | ||
@@ -411,0 +410,0 @@ private createFullWidthIndicator; |
@@ -146,3 +146,3 @@ (function (global, factory) { | ||
} | ||
init($app) { | ||
onRender($app) { | ||
this.$app = $app; | ||
@@ -149,0 +149,0 @@ this.observer = new MutationObserver((mutationList) => { |
{ | ||
"name": "@schedule-x/current-time", | ||
"umdName": "SXCurrentTime", | ||
"version": "1.64.0-alpha.0", | ||
"version": "2.0.0-alpha.0", | ||
"description": "Schedule-X plugin for displaying an indicator for the current time", | ||
@@ -37,3 +37,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
68012
1806