Files
CT/src/ViewModel/Global/.coreViewModel.ts.swp
T

16 lines
16 KiB
Plaintext
Raw Normal View History

2026-09-06 01:50:56 +02:00
b0VIM 9.0ɪœjZŸcgitlocalhost~git/storage/VDMDI/Comms/src/ViewModel/Global/coreViewModel.tsutf-8
2026-09-05 02:36:46 +02:00
3210#"! U
É
¿
«
ª

E
2026-09-06 01:50:56 +02:00

2026-09-05 02:36:46 +02:00
Ä † | u t B  æ³�EЦœ•”‡QÿÐÊɪmfeE!Ó¿”�Œy21Ì­¬^ôÀŠPÜÔ¸ml%$àthis.closeContext(this.context.contextId, true); window.onpopstate = () => { document.body.addEventListener("keydown", this.handleKeyDown); allTranslations[settingsModel.language] || allTranslations.en; this.translations = ) { public readonly fileTransferModel: FileTransferModel, public readonly chatListModel: ChatListModel, public readonly connectionModel: ConnectionModel, public readonly settingsModel: SettingsModel, public readonly storageModel: StorageModel, constructor( // init taskStatusSuggestions: React.ListState<string> = new React.ListState(); taskCategorySuggestions: React.ListState<string> = new React.ListState(); new React.ListState(); boardFilterStringSuggestions: React.ListState<string> = // boards & tasks // SUGGESTIONS draggedObject: React.State<any> = new React.State<any>(undefined); // DRAG & DROP }; this.todayDate.value = new Date(); return; if (this.unwrappedTodayDate.toDateString() == newDate.toDateString()) const newDate = new Date(); handleChron = (): void => { }; setInterval(this.chronHandlerManager.trigger, 2000); startChron = (): void => { } return new Date(this.todayDate.value); get unwrappedTodayDate() { todayDate = new React.State<Date>(new Date()); chronHandlerManager = new HandlerManager<void>(); // CHRON }; } if (isHandled == true) break; const isHandled: boolean = currentContext.handleKeystroke(e); if (!currentContext) contexts; const currentContext: Context | undefined = contexts.pop(); while (contexts.length > 0) { const contexts: Context[] = this.contexts; e.preventDefault(); if (CoreViewModel.checkIsKeystroke(e) == false) return; handleKeyDown = (e: KeyboardEvent): void => { }; } if (currentContext.contextId == contextId) break; this.contextStack.delete(currentContext.contextId); currentContext.handleContextClose(fromHistoryEvent); const currentContext: Context = this.context; while (this.contexts.length > 0) { return; ) .includes(contextId) .map((context) => context.contextId) !this.contexts if ( ): void => { fromHistoryEvent: boolean = false, contextId: string, closeContext = ( } history.pushState({ id: context.contextId }, ""); this.contextStack.set(context.contextId, context); if (this.contextStack.has(context.contextId)) return; set context(context: Context) { } return this.contexts.pop(); get context(): Context | undefined { } return [...this.contextStack.values()]; get contexts(): Context[] { private contextStack = new Map<string, Context>(); // CONTEXT translations: Translations; readonly BUILD = "Build 26.09.06.A";export default class CoreViewModel {import ChatListModel from "../../Model/Chat/chatListModel";import ConnectionModel from "../../Model/Global/connectionModel";import FileTransferModel from "../../Model/Global/fileTransferModel";import SettingsModel from "../../Model/Global/settingsModel";import StorageModel from "../../Model/Global/storageModel";import { HandlerManager } from "../../Model/Utility/utility";import { allTranslations, Translations } from "../../View/translations";import * as React from "bloatless-react";import { v4 } from "uuid";adŠÚNõôÙ¬�od^]QãÝÛÚí}|Eâ
×
¸
ª
•
Ž
2026-09-06 01:50:56 +02:00
�