@ts-core/angular 21.0.1 → 21.0.3
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/README.MD +1041 -0
- package/fesm2022/ts-core-angular.mjs +218 -214
- package/fesm2022/ts-core-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ts-core-angular.d.ts +10 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-core/angular",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.3",
|
|
4
4
|
"description": "Angular frontend framework utilities and components with TypeScript support, including directives, services, and window management",
|
|
5
5
|
"main": "public-api.js",
|
|
6
6
|
"author": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Loadable, LoadableStatus, Destroyable, IDestroyable, DestroyableContainer, ClassType, ObservableData, PromiseHandler, ExtendedError, IUIDable, FilterableMapCollection, Logger, MapCollection, Transport, TransportLocal, ILogger, ITransportSettings, ITransportCommand, ITransportCommandOptions, ITransportEvent, TransportEvent, LoggerLevel } from '@ts-core/common';
|
|
2
2
|
import { NativeWindowService, SettingsServiceBase, ThemeService, LanguageService, ICookieOptions, ICookieService, ILanguageServiceOptions, ThemeAssetService, IThemeServiceOptions } from '@ts-core/frontend';
|
|
3
3
|
import { ILanguageLoader, LanguageLoadFunction, ILanguageProjectSettings } from '@ts-core/language';
|
|
4
|
-
import { Router, ActivatedRoute, NavigationExtras, UrlTree, ActivatedRouteSnapshot, Resolve, RouterStateSnapshot, CanActivate, MaybeAsync, GuardResult,
|
|
4
|
+
import { Router, ActivatedRoute, NavigationExtras, UrlTree, ActivatedRouteSnapshot, Resolve, RouterStateSnapshot, CanActivate, MaybeAsync, GuardResult, CanDeactivateFn, CanDeactivate } from '@angular/router';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { AfterViewInit, ElementRef, ViewContainerRef, Signal, InjectionToken, Injector, PipeTransform, ModuleWithProviders, EventEmitter, TemplateRef, EmbeddedViewRef, ChangeDetectorRef, Renderer2, RendererStyleFlags2, NgModuleFactory, Type, NgModuleRef, Compiler, RendererFactory2 } from '@angular/core';
|
|
6
|
+
import { AfterViewInit, ElementRef, ViewContainerRef, WritableSignal, Signal, InjectionToken, Injector, PipeTransform, ModuleWithProviders, EventEmitter, TemplateRef, EmbeddedViewRef, ChangeDetectorRef, Renderer2, RendererStyleFlags2, NgModuleFactory, Type, NgModuleRef, Compiler, RendererFactory2 } from '@angular/core';
|
|
7
7
|
import { Observable, BehaviorSubject, Subscription } from 'rxjs';
|
|
8
8
|
import * as i8 from '@angular/common';
|
|
9
9
|
import { DatePipe } from '@angular/common';
|
|
@@ -177,6 +177,10 @@ declare const WINDOW_CONTENT_CONTAINER: InjectionToken<WindowContentContainer>;
|
|
|
177
177
|
declare abstract class IWindowContent<T = any> extends DestroyableContainer implements AfterViewInit {
|
|
178
178
|
container: WindowContentContainer;
|
|
179
179
|
protected _window: IWindow<T>;
|
|
180
|
+
windowSignal: WritableSignal<IWindow<T>>;
|
|
181
|
+
isOnTopSignal: Signal<boolean>;
|
|
182
|
+
isDisabledSignal: Signal<boolean>;
|
|
183
|
+
isMinimizedSignal: Signal<boolean>;
|
|
180
184
|
constructor(container: WindowContentContainer);
|
|
181
185
|
protected commitWindowProperties(): void;
|
|
182
186
|
protected commitConfigProperties(): void;
|
|
@@ -189,11 +193,8 @@ declare abstract class IWindowContent<T = any> extends DestroyableContainer impl
|
|
|
189
193
|
destroy(): void;
|
|
190
194
|
get data(): T;
|
|
191
195
|
get isOnTop(): boolean;
|
|
192
|
-
get onTop(): Signal<boolean>;
|
|
193
196
|
get isMinimized(): boolean;
|
|
194
|
-
get minimized(): Signal<boolean>;
|
|
195
197
|
get events(): Observable<string>;
|
|
196
|
-
get disabled(): Signal<boolean>;
|
|
197
198
|
set isDisabled(value: boolean);
|
|
198
199
|
get isDisabled(): boolean;
|
|
199
200
|
get element(): ElementRef;
|
|
@@ -210,14 +211,14 @@ declare abstract class IWindow<T = any> extends Destroyable {
|
|
|
210
211
|
isDisabled: boolean;
|
|
211
212
|
isMinimized: boolean;
|
|
212
213
|
readonly events: Observable<string>;
|
|
213
|
-
readonly container: HTMLElement;
|
|
214
214
|
readonly wrapper: HTMLElement;
|
|
215
215
|
readonly backdrop: HTMLElement;
|
|
216
|
+
readonly container: HTMLElement;
|
|
216
217
|
readonly config: IWindowConfig<T>;
|
|
217
218
|
readonly content: IWindowContent<T>;
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
219
|
+
readonly isOnTopSignal: Signal<boolean>;
|
|
220
|
+
readonly isDisabledSignal: Signal<boolean>;
|
|
221
|
+
readonly isMinimizedSignal: Signal<boolean>;
|
|
221
222
|
abstract close(): void;
|
|
222
223
|
abstract blink(): void;
|
|
223
224
|
abstract shake(): void;
|