@luckydye/calendar 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calendar.js +5 -1
- package/package.json +1 -1
package/dist/calendar.js
CHANGED
|
@@ -3052,7 +3052,11 @@ De.styles = Wn`
|
|
|
3052
3052
|
isShowing: { type: Boolean }
|
|
3053
3053
|
};
|
|
3054
3054
|
let Ve = De;
|
|
3055
|
-
|
|
3055
|
+
try {
|
|
3056
|
+
customElements.define("status-message", Ve);
|
|
3057
|
+
} catch (i) {
|
|
3058
|
+
console.error("Failed to register custom element:", i);
|
|
3059
|
+
}
|
|
3056
3060
|
const zt = 100, ye = 3e3, Y = 60, Pn = 12, be = 20, rn = class rn extends Bt {
|
|
3057
3061
|
constructor() {
|
|
3058
3062
|
super(), this._dayHeight = zt, this._scrollTop = 0, this.viewportHeight = 0, this.currentTime = /* @__PURE__ */ new Date(), this.selection = null, this.canvas = null, this.ctx = null, this.overlayCanvas = null, this.overlayCtx = null, this.minimapBufferCanvas = null, this.minimapBufferCtx = null, this.stripePatternCanvas = null, this.scrollContainer = null, this.scrollContent = null, this.resizeObserver = null, this.totalHeight = 0, this.isDraggingZoom = !1, this.zoomDragStartY = 0, this.zoomDragStartHeight = 0, this.zoomOriginY = 0, this.zoomViewportY = 0, this.isPanning = !1, this.panStartX = 0, this.panStartY = 0, this.panStartScrollTop = 0, this.isSelecting = !1, this.selectionStartX = 0, this.selectionStartY = 0, this.potentialSelectionStart = null, this.selectionModifierKey = !1, this.cursorPosition = null, this.animationFrame = null, this.isDraggingMinimap = !1, this.isFiltered = !1, this.timeUpdateInterval = null, this.isExtendingRange = !1, this.isCreatingEvent = !1, this.eventCreationStart = null, this.eventCreationEnd = null, this.eventCreationShiftPressed = !1, this.eventCreationPreviousShiftPressed = !1, this.eventCreationInitialDuration = null, this.movingEvent = null, this.movingEventOrigin = null, this.movingEventEnd = null, this.isDraggingEvent = !1, this.movingEventDuplicateMode = !1, this.movingEventMouseEvent = null, this.isDraggingFile = !1, this.resizingEvent = null, this.resizingEdge = null, this.resizingOriginalStart = null, this.resizingOriginalEnd = null, this.isResizingEvent = !1, this.historyStack = [], this.historyIndex = 0, this.saveHistoryTimeout = null, this.weeks = [], this.events = [], this.eventRects = [], this.hoveredEventId = null, this.selectedEventForDetail = null, this.selectedEventRect = null, this.updateEventTimeout = null, this.currentTheme = Ls(), this.activeCalendarColor = null, this.scrollToToday = () => {
|