taon-ui 21.0.70 → 21.0.71
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/VERIFIED-BUILD-DATA.jsonc +3 -3
- package/browser/fesm2022/taon-ui-browser.mjs +1 -1
- package/browser/fesm2022/taon-ui-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/taon-ui-browser.d.ts +1 -1
- package/browser-prod/fesm2022/taon-ui-browser-prod.mjs +1 -1
- package/browser-prod/fesm2022/taon-ui-browser-prod.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/taon-ui-browser-prod.d.ts +1 -1
- package/full-dts/build-info._auto-generated_.d.ts +1 -1
- package/full-dts/layouts/taon-bootstrap-navbar/taon-bootstrap-navbar.component.d.ts +6 -0
- package/full-dts/ui/anonymize-text/anonymize-text.directive.d.ts +10 -0
- package/full-dts/ui/directives/safe.pipe.d.ts +7 -0
- package/full-dts/ui/directives/taon-inject-html.directive.d.ts +6 -0
- package/full-dts/ui/directives/taon-long-press.directive.d.ts +21 -0
- package/full-dts/ui/taon-auth/auth-button.component.d.ts +15 -0
- package/full-dts/ui/taon-auth/auth-dialog.component.d.ts +26 -0
- package/full-dts/ui/taon-auth/auth.guard.d.ts +9 -0
- package/full-dts/ui/taon-auth/google-auth.service.d.ts +9 -0
- package/full-dts/ui/taon-auth/microsoft-auth.service.d.ts +5 -0
- package/full-dts/ui/taon-auth/session.service.d.ts +25 -0
- package/full-dts/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.d.ts +3 -0
- package/full-dts/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.d.ts +2 -0
- package/full-dts/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.component.d.ts +3 -0
- package/full-dts/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.module.d.ts +2 -0
- package/full-dts/ui/taon-iframe-sync/taon-iframe-sync.component.d.ts +28 -0
- package/full-dts/ui/taon-kv-authorization/taon-kv-authorization.component.d.ts +19 -0
- package/full-dts/ui/taon-lang-selector/taon-lang-selector.component.d.ts +16 -0
- package/full-dts/ui/taon-not-found/taon-not-found.component.d.ts +2 -0
- package/full-dts/ui/taon-progress-bar/taon-progress-bar.component.d.ts +16 -0
- package/full-dts/ui/taon-progress-bar/taon-progress-bar.module.d.ts +2 -0
- package/full-dts/ui/taon-rumble/taon-rumble.component.d.ts +19 -0
- package/full-dts/ui/taon-session-passcode/taon-session-passcode.component.d.ts +35 -0
- package/full-dts/ui/taon-settings/taon-settings.component.d.ts +9 -0
- package/full-dts/ui/taon-simple-layout/taon-simple-layout.component.d.ts +17 -0
- package/full-dts/ui/taon-slide-content/taon-slide-content-child.component.d.ts +3 -0
- package/full-dts/ui/taon-slide-content/taon-slide-content.component.d.ts +19 -0
- package/full-dts/ui/taon-stripe-buy-button/taon-stripe-buy-button.component.d.ts +31 -0
- package/full-dts/ui/taon-theme/taon-theme.component.d.ts +12 -0
- package/full-dts/ui/taon-theme/taon-theme.service.d.ts +23 -0
- package/full-dts/ui/taon-youtube-video/taon-youtube-video.component.d.ts +52 -0
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/index._auto-generated_.d.ts +32 -1
- package/lib/layouts/taon-bootstrap-navbar/index.d.ts +1 -1
- package/lib/layouts/taon-bootstrap-navbar/index.js +2 -2
- package/lib/package.json +1 -1
- package/lib/ui/anonymize-text/index.d.ts +1 -1
- package/lib/ui/anonymize-text/index.js +2 -2
- package/lib/ui/directives/index.d.ts +3 -1
- package/lib/ui/directives/index.js +2 -2
- package/lib/ui/index.d.ts +6 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/taon-github-fork-me-corner/index.d.ts +2 -1
- package/lib/ui/taon-github-fork-me-corner/index.js +2 -2
- package/lib/ui/taon-github-fork-me-ribbon/index.d.ts +2 -1
- package/lib/ui/taon-github-fork-me-ribbon/index.js +2 -2
- package/lib/ui/taon-iframe-sync/index.d.ts +1 -1
- package/lib/ui/taon-iframe-sync/index.js +2 -2
- package/lib/ui/taon-lang-selector/index.d.ts +1 -1
- package/lib/ui/taon-lang-selector/index.js +2 -2
- package/lib/ui/taon-progress-bar/index.d.ts +2 -1
- package/lib/ui/taon-progress-bar/index.js +2 -2
- package/lib/ui/taon-session-passcode/index.d.ts +1 -1
- package/lib/ui/taon-session-passcode/index.js +2 -2
- package/lib/ui/taon-settings/index.d.ts +1 -1
- package/lib/ui/taon-settings/index.js +2 -2
- package/lib/ui/taon-slide-content/index.d.ts +1 -1
- package/lib/ui/taon-slide-content/index.js +2 -2
- package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib-esm/lib/build-info._auto-generated_.js +1 -1
- package/lib-esm/lib/index._auto-generated_.d.ts +32 -1
- package/lib-esm/lib/layouts/taon-bootstrap-navbar/index.d.ts +1 -1
- package/lib-esm/lib/layouts/taon-bootstrap-navbar/index.js +1 -1
- package/lib-esm/lib/ui/anonymize-text/index.d.ts +1 -1
- package/lib-esm/lib/ui/anonymize-text/index.js +1 -1
- package/lib-esm/lib/ui/directives/index.d.ts +3 -1
- package/lib-esm/lib/ui/directives/index.js +1 -1
- package/lib-esm/lib/ui/index.d.ts +6 -1
- package/lib-esm/lib/ui/index.js +1 -1
- package/lib-esm/lib/ui/taon-github-fork-me-corner/index.d.ts +2 -1
- package/lib-esm/lib/ui/taon-github-fork-me-corner/index.js +1 -1
- package/lib-esm/lib/ui/taon-github-fork-me-ribbon/index.d.ts +2 -1
- package/lib-esm/lib/ui/taon-github-fork-me-ribbon/index.js +1 -1
- package/lib-esm/lib/ui/taon-iframe-sync/index.d.ts +1 -1
- package/lib-esm/lib/ui/taon-iframe-sync/index.js +1 -1
- package/lib-esm/lib/ui/taon-lang-selector/index.d.ts +1 -1
- package/lib-esm/lib/ui/taon-lang-selector/index.js +1 -1
- package/lib-esm/lib/ui/taon-progress-bar/index.d.ts +2 -1
- package/lib-esm/lib/ui/taon-progress-bar/index.js +1 -1
- package/lib-esm/lib/ui/taon-session-passcode/index.d.ts +1 -1
- package/lib-esm/lib/ui/taon-session-passcode/index.js +1 -1
- package/lib-esm/lib/ui/taon-settings/index.d.ts +1 -1
- package/lib-esm/lib/ui/taon-settings/index.js +1 -1
- package/lib-esm/lib/ui/taon-slide-content/index.d.ts +1 -1
- package/lib-esm/lib/ui/taon-slide-content/index.js +1 -1
- package/lib-prod/build-info._auto-generated_.d.ts +1 -1
- package/lib-prod/build-info._auto-generated_.js +1 -1
- package/lib-prod/layouts/taon-bootstrap-navbar/index.d.ts +1 -1
- package/lib-prod/layouts/taon-bootstrap-navbar/index.js +1 -1
- package/lib-prod/package.json +1 -1
- package/lib-prod/ui/anonymize-text/index.d.ts +1 -1
- package/lib-prod/ui/anonymize-text/index.js +1 -1
- package/lib-prod/ui/directives/index.d.ts +1 -1
- package/lib-prod/ui/directives/index.js +1 -1
- package/lib-prod/ui/index.d.ts +1 -1
- package/lib-prod/ui/index.js +1 -1
- package/lib-prod/ui/taon-github-fork-me-corner/index.d.ts +1 -1
- package/lib-prod/ui/taon-github-fork-me-corner/index.js +1 -1
- package/lib-prod/ui/taon-github-fork-me-ribbon/index.d.ts +1 -1
- package/lib-prod/ui/taon-github-fork-me-ribbon/index.js +1 -1
- package/lib-prod/ui/taon-iframe-sync/index.d.ts +1 -1
- package/lib-prod/ui/taon-iframe-sync/index.js +1 -1
- package/lib-prod/ui/taon-lang-selector/index.d.ts +1 -1
- package/lib-prod/ui/taon-lang-selector/index.js +1 -1
- package/lib-prod/ui/taon-progress-bar/index.d.ts +1 -1
- package/lib-prod/ui/taon-progress-bar/index.js +1 -1
- package/lib-prod/ui/taon-session-passcode/index.d.ts +1 -1
- package/lib-prod/ui/taon-session-passcode/index.js +1 -1
- package/lib-prod/ui/taon-settings/index.d.ts +1 -1
- package/lib-prod/ui/taon-settings/index.js +1 -1
- package/lib-prod/ui/taon-slide-content/index.d.ts +1 -1
- package/lib-prod/ui/taon-slide-content/index.js +1 -1
- package/package.json +1 -1
- package/websql/fesm2022/taon-ui-websql.mjs +1 -1
- package/websql/fesm2022/taon-ui-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/taon-ui-websql.d.ts +1 -1
- package/websql-prod/fesm2022/taon-ui-websql-prod.mjs +1 -1
- package/websql-prod/fesm2022/taon-ui-websql-prod.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/taon-ui-websql-prod.d.ts +1 -1
|
@@ -35,7 +35,7 @@ declare const CURRENT_PACKAGE_TAON_VERSION = "v21";
|
|
|
35
35
|
/**
|
|
36
36
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
37
37
|
*/
|
|
38
|
-
declare const CURRENT_PACKAGE_VERSION = "21.0.
|
|
38
|
+
declare const CURRENT_PACKAGE_VERSION = "21.0.71";
|
|
39
39
|
|
|
40
40
|
declare function myOrgProj(): void;
|
|
41
41
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
+
export declare class SafePipe implements PipeTransform {
|
|
4
|
+
protected sanitizer: DomSanitizer;
|
|
5
|
+
constructor(sanitizer: DomSanitizer);
|
|
6
|
+
transform(value: any, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
export declare class TaonLongPress {
|
|
3
|
+
pressDuration: number;
|
|
4
|
+
onLongPress: EventEmitter<any>;
|
|
5
|
+
onLongPressing: EventEmitter<any>;
|
|
6
|
+
onLongPressEnd: EventEmitter<any>;
|
|
7
|
+
private pressing;
|
|
8
|
+
private longPressing;
|
|
9
|
+
private timeout;
|
|
10
|
+
private mouseX;
|
|
11
|
+
private mouseY;
|
|
12
|
+
get press(): boolean;
|
|
13
|
+
get longPress(): boolean;
|
|
14
|
+
allowTrigger: boolean;
|
|
15
|
+
triggerEnd: (() => void) & import("lodash").Cancelable;
|
|
16
|
+
onMouseDown(event: any): void;
|
|
17
|
+
onMouseMove(event: any): void;
|
|
18
|
+
loop(event: any): void;
|
|
19
|
+
endPress(emit?: boolean): void;
|
|
20
|
+
onMouseUp(): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SessionService } from './session.service';
|
|
3
|
+
export declare class AuthButtonComponent implements OnInit {
|
|
4
|
+
linkToDashboard: string;
|
|
5
|
+
googleClientId?: string;
|
|
6
|
+
microsoftClientId?: string;
|
|
7
|
+
displayDashboardButton: boolean;
|
|
8
|
+
readonly session: SessionService;
|
|
9
|
+
private readonly dialog;
|
|
10
|
+
private readonly router;
|
|
11
|
+
openLogin(): void;
|
|
12
|
+
goDashboard(): void;
|
|
13
|
+
logout(): void;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { Translation, Translatable } from '@taon-dev/i18n/src';
|
|
4
|
+
export declare class AuthDialogComponent implements AfterViewInit, OnInit, Translatable {
|
|
5
|
+
t: Translation;
|
|
6
|
+
cdr: ChangeDetectorRef;
|
|
7
|
+
emailRegex: RegExp;
|
|
8
|
+
form: FormGroup<{
|
|
9
|
+
email: FormControl<string>;
|
|
10
|
+
}>;
|
|
11
|
+
googleClientId?: string;
|
|
12
|
+
microsoftClientId?: string;
|
|
13
|
+
emailLoginBtn: ElementRef<HTMLDivElement>;
|
|
14
|
+
googleBtn: ElementRef<HTMLDivElement>;
|
|
15
|
+
diableLoginByEmail: boolean;
|
|
16
|
+
private readonly dialogRef;
|
|
17
|
+
private readonly googleAuth;
|
|
18
|
+
private readonly microsoftAuth;
|
|
19
|
+
private readonly session;
|
|
20
|
+
googleButtonLoaded: boolean;
|
|
21
|
+
close(): void;
|
|
22
|
+
loginWithMicrosoft(): void;
|
|
23
|
+
loginByEmail(): void;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CanActivate, Router, UrlTree } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { SessionService } from './session.service';
|
|
4
|
+
export declare class AuthGuard implements CanActivate {
|
|
5
|
+
private readonly session;
|
|
6
|
+
private readonly router;
|
|
7
|
+
constructor(session: SessionService, router: Router);
|
|
8
|
+
canActivate(): Observable<boolean | UrlTree>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export declare class GoogleAuthService {
|
|
4
|
+
private zone;
|
|
5
|
+
constructor(zone: NgZone);
|
|
6
|
+
loadScript(): Promise<void>;
|
|
7
|
+
renderButton(container: HTMLElement, clientId: string, width: number): Observable<any>;
|
|
8
|
+
private decodeJwt;
|
|
9
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MicrosoftAuthService } from './microsoft-auth.service';
|
|
2
|
+
export interface SessionState {
|
|
3
|
+
isLoggedIn: boolean;
|
|
4
|
+
email?: string;
|
|
5
|
+
emailVerified?: boolean;
|
|
6
|
+
displayName?: string;
|
|
7
|
+
pictureUrl?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class SessionService {
|
|
10
|
+
microsoftLogin: MicrosoftAuthService;
|
|
11
|
+
private readonly state$;
|
|
12
|
+
data$: import("rxjs").Observable<SessionState>;
|
|
13
|
+
readonly isLoggedIn$: import("rxjs").Observable<boolean>;
|
|
14
|
+
readonly emailConfirmed$: import("rxjs").Observable<boolean>;
|
|
15
|
+
readonly email$: import("rxjs").Observable<string>;
|
|
16
|
+
get snapshot(): SessionState;
|
|
17
|
+
loginWithGoogle(data: {
|
|
18
|
+
email: string;
|
|
19
|
+
emailVerified: boolean;
|
|
20
|
+
displayName?: string;
|
|
21
|
+
pictureUrl?: string;
|
|
22
|
+
}): void;
|
|
23
|
+
logout(): void;
|
|
24
|
+
private load;
|
|
25
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnDestroy, ElementRef, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
+
export declare class TaonIframeSyncComponent implements AfterViewInit, OnDestroy {
|
|
4
|
+
#private;
|
|
5
|
+
loaderBackgroundColor: string;
|
|
6
|
+
private destroy$;
|
|
7
|
+
private iframeWin;
|
|
8
|
+
isReady: boolean;
|
|
9
|
+
private hasInitialSync;
|
|
10
|
+
iframeRef: ElementRef<HTMLIFrameElement>;
|
|
11
|
+
set iframeSrc(v: string);
|
|
12
|
+
get iframeSrc(): string;
|
|
13
|
+
queryParamKey: string;
|
|
14
|
+
initialPath: string | null;
|
|
15
|
+
targetOrigin?: string;
|
|
16
|
+
safeSrc: SafeResourceUrl;
|
|
17
|
+
private router;
|
|
18
|
+
private route;
|
|
19
|
+
private sanitizer;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
private setupSync;
|
|
22
|
+
onIframeLoad(): void;
|
|
23
|
+
private sendNavigateIfReady;
|
|
24
|
+
private isValidUrl;
|
|
25
|
+
private getSafeOrigin;
|
|
26
|
+
private handleIframeMessage;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, ChangeDetectorRef, SimpleChanges, OnChanges } from '@angular/core';
|
|
2
|
+
import { Translation } from '@taon-dev/i18n/src';
|
|
3
|
+
import { TaonKvAuthorizationProduct } from './taon-kv-authorization.models';
|
|
4
|
+
export declare class TaonKvAuthorizationComponent implements OnInit, OnChanges {
|
|
5
|
+
t: Translation;
|
|
6
|
+
infoMsg: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
7
|
+
cdr: ChangeDetectorRef;
|
|
8
|
+
email: string;
|
|
9
|
+
url: string;
|
|
10
|
+
products: TaonKvAuthorizationProduct[];
|
|
11
|
+
authorizedProducts: EventEmitter<TaonKvAuthorizationProduct[]>;
|
|
12
|
+
protected loading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
13
|
+
protected authorizedProductsData: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonKvAuthorizationProduct[]>;
|
|
14
|
+
protected authorizationCheckingInProgress: boolean;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
checkIfProducstsAuthorized(): Promise<void>;
|
|
18
|
+
protected authorizedCount(): number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Translatable, Translation } from '@taon-dev/i18n/src';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { UtilsI18n } from 'tnp-core/src';
|
|
4
|
+
export declare class TaonLangSelectorComponent implements Translatable {
|
|
5
|
+
t: Translation;
|
|
6
|
+
private translateService;
|
|
7
|
+
readonly availableLangs$: any;
|
|
8
|
+
currentLang: UtilsI18n.CommonLocaleCode;
|
|
9
|
+
readonly currentGlobalLanguage$: any;
|
|
10
|
+
readonly isDisabled$: any;
|
|
11
|
+
constructor();
|
|
12
|
+
sub: Subscription;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
changeLanguage(event: Event): Promise<void>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated
|
|
5
|
+
*/
|
|
6
|
+
export declare class TaonProgressBarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
7
|
+
labProgress: any;
|
|
8
|
+
isDesktop: boolean;
|
|
9
|
+
admin: any;
|
|
10
|
+
handlers: Subscription[];
|
|
11
|
+
constructor();
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
loadProgressBar(config: any): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
+
export type TaonRumbleState = 'preview-picture' | 'preview-picture-locked' | 'video-preview-open' | 'video-preview-private';
|
|
4
|
+
export declare class TaonRumbleComponent {
|
|
5
|
+
sanitizer: DomSanitizer;
|
|
6
|
+
title: string;
|
|
7
|
+
clipId: string;
|
|
8
|
+
picturePreviewUrl: string;
|
|
9
|
+
state: TaonRumbleState;
|
|
10
|
+
paddlockClicked: EventEmitter<void>;
|
|
11
|
+
previewClicked: EventEmitter<void>;
|
|
12
|
+
embedUrl: import("@angular/core", { with: { "resolution-mode": "import" } }).Signal<SafeResourceUrl>;
|
|
13
|
+
onPreviewClick(): void;
|
|
14
|
+
onPadlockClick(event: MouseEvent): void;
|
|
15
|
+
isPreview(): boolean;
|
|
16
|
+
isLocked(): boolean;
|
|
17
|
+
isVideoOpen(): boolean;
|
|
18
|
+
isPrivate(): boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectorRef, DestroyRef, ElementRef, OnInit, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
4
|
+
export interface TaonSessionPasscodeModel {
|
|
5
|
+
passcode: string;
|
|
6
|
+
}
|
|
7
|
+
export type TaonSessionPasscodeForm = {
|
|
8
|
+
[prop in keyof TaonSessionPasscodeModel]: FormControl<TaonSessionPasscodeModel[prop]>;
|
|
9
|
+
};
|
|
10
|
+
export declare class TaonSessionPasscodeComponent implements OnInit, AfterViewInit {
|
|
11
|
+
private element;
|
|
12
|
+
private domSanitizer;
|
|
13
|
+
private cdr;
|
|
14
|
+
destroyRef: DestroyRef;
|
|
15
|
+
passcode: string;
|
|
16
|
+
message: string;
|
|
17
|
+
safeMessage: SafeHtml;
|
|
18
|
+
private lastPasscode;
|
|
19
|
+
display: string;
|
|
20
|
+
form: FormGroup<TaonSessionPasscodeForm>;
|
|
21
|
+
constructor(element: ElementRef<HTMLElement>, domSanitizer: DomSanitizer, cdr: ChangeDetectorRef);
|
|
22
|
+
ngOnInit(): Promise<void>;
|
|
23
|
+
submit({ passcode }: Partial<TaonSessionPasscodeModel>): void;
|
|
24
|
+
private isPasscodeOK;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
focus(): void;
|
|
27
|
+
hide(): void;
|
|
28
|
+
show(): void;
|
|
29
|
+
clear(): void;
|
|
30
|
+
onKeyup(event: KeyboardEvent & {
|
|
31
|
+
target: {
|
|
32
|
+
value: string;
|
|
33
|
+
};
|
|
34
|
+
}): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Translatable, Translation } from '@taon-dev/i18n/src';
|
|
2
|
+
import { TaonThemeMode, TaonThemeService } from '../taon-theme/taon-theme.service';
|
|
3
|
+
export declare class TaonSettingsComponent implements Translatable {
|
|
4
|
+
t: Translation;
|
|
5
|
+
TaonThemeMode: typeof TaonThemeMode;
|
|
6
|
+
private readonly dialogRef;
|
|
7
|
+
close(): void;
|
|
8
|
+
taonTheme: TaonThemeService;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { TaonThemeService } from '../taon-theme/taon-theme.service';
|
|
4
|
+
import { TaonSimpleLayoutNavItem } from './taon-simple-layout.model';
|
|
5
|
+
export declare class TaonSimpleLayoutComponent {
|
|
6
|
+
protected router: Router;
|
|
7
|
+
protected dialog: MatDialog;
|
|
8
|
+
protected theme: TaonThemeService;
|
|
9
|
+
hideThemeSettings: boolean;
|
|
10
|
+
hideHeader: boolean;
|
|
11
|
+
navItems: import("@angular/core", { with: { "resolution-mode": "import" } }).InputSignal<TaonSimpleLayoutNavItem[]>;
|
|
12
|
+
protected readonly mobileMenuOpen: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
13
|
+
navigateToMobile(item: TaonSimpleLayoutNavItem): void;
|
|
14
|
+
protected openSettingsFromMobileMenu(): void;
|
|
15
|
+
navigateTo(item: TaonSimpleLayoutNavItem): void;
|
|
16
|
+
openDialog(enterAnimationDuration: string | number, exitAnimationDuration: string | number): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AfterContentInit } from '@angular/core';
|
|
2
|
+
export declare class TaonSlideContentComponent implements AfterContentInit {
|
|
3
|
+
private slides;
|
|
4
|
+
/**
|
|
5
|
+
* Defines which state transitions should be animated.
|
|
6
|
+
*
|
|
7
|
+
* Example:
|
|
8
|
+
* LOGIN -> ENTER_PASSWORD = animated
|
|
9
|
+
* ENTER_PASSWORD -> LOGIN = instant
|
|
10
|
+
*/
|
|
11
|
+
whenAllowedAnimationMap?: Map<unknown, unknown[]>;
|
|
12
|
+
private readonly activeIndex;
|
|
13
|
+
private readonly currentState;
|
|
14
|
+
readonly shouldAnimate: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
15
|
+
readonly transform: () => string;
|
|
16
|
+
ngAfterContentInit(): void;
|
|
17
|
+
goTo(state: unknown): void;
|
|
18
|
+
private isAnimationAllowed;
|
|
19
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Translation, Translatable } from '@taon-dev/i18n/src';
|
|
3
|
+
export declare class TaonStripeBuyButtonComponent implements OnInit, Translatable {
|
|
4
|
+
t: Translation;
|
|
5
|
+
/**
|
|
6
|
+
* Stripe price id (NOT product id)
|
|
7
|
+
* example: price_1Qabc123456
|
|
8
|
+
*/
|
|
9
|
+
priceId: string;
|
|
10
|
+
productId: string;
|
|
11
|
+
promotionPreviousPrice: string;
|
|
12
|
+
/**
|
|
13
|
+
* Cloudflare worker url that creates checkout session
|
|
14
|
+
* example: https://super-73d1b.darekf77.workers.dev
|
|
15
|
+
*/
|
|
16
|
+
workerUrl: string;
|
|
17
|
+
/**
|
|
18
|
+
* email of logged user
|
|
19
|
+
* (used later for KV authorization)
|
|
20
|
+
*/
|
|
21
|
+
email: string;
|
|
22
|
+
successUrl: string;
|
|
23
|
+
cancelUrl: string;
|
|
24
|
+
/**
|
|
25
|
+
* optional label for buy button
|
|
26
|
+
*/
|
|
27
|
+
label: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
28
|
+
loading: boolean;
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
buy(): Promise<void>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TaonThemeMode, TaonThemeService } from './taon-theme.service';
|
|
2
|
+
import { Translatable, Translation } from '@taon-dev/i18n/src';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use TaonSettings
|
|
5
|
+
*/
|
|
6
|
+
export declare class TaonThemeComponent implements Translatable {
|
|
7
|
+
t: Translation;
|
|
8
|
+
TaonThemeMode: typeof TaonThemeMode;
|
|
9
|
+
private readonly dialogRef;
|
|
10
|
+
close(): void;
|
|
11
|
+
taonTheme: TaonThemeService;
|
|
12
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum TaonThemeMode {
|
|
2
|
+
AUTO = "auto",
|
|
3
|
+
LIGHT = "light",
|
|
4
|
+
DARK = "dark"
|
|
5
|
+
}
|
|
6
|
+
export declare class TaonThemeService {
|
|
7
|
+
private readonly TAON_THEME_KEY;
|
|
8
|
+
private platformId;
|
|
9
|
+
private isBrowser;
|
|
10
|
+
private mediaQuery;
|
|
11
|
+
pernamentMode: boolean;
|
|
12
|
+
mode: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonThemeMode>;
|
|
13
|
+
isDark: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
14
|
+
constructor();
|
|
15
|
+
private apply;
|
|
16
|
+
setMode(mode: TaonThemeMode, options?: {
|
|
17
|
+
pernamentMode?: boolean;
|
|
18
|
+
}): void;
|
|
19
|
+
toogleAuto(auto: boolean): void;
|
|
20
|
+
setDark(yes: boolean): void;
|
|
21
|
+
toggle(): void;
|
|
22
|
+
isAuto(): boolean;
|
|
23
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, AfterViewInit, ElementRef, ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
+
import { TaonYoutubeState } from './taon-youtube.models';
|
|
4
|
+
export declare class TaonYoutubeVideoComponent implements OnChanges, AfterViewInit, OnInit, OnDestroy {
|
|
5
|
+
private sanitizer;
|
|
6
|
+
videoId: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
height?: string;
|
|
9
|
+
state: TaonYoutubeState;
|
|
10
|
+
paddlockClicked: EventEmitter<void>;
|
|
11
|
+
previewClicked: EventEmitter<void>;
|
|
12
|
+
iframeRef?: ElementRef<HTMLIFrameElement>;
|
|
13
|
+
/**
|
|
14
|
+
* > controls=0 Hides bottom control bar
|
|
15
|
+
* > modestbranding=1 Reduces YouTube logo
|
|
16
|
+
* > rel=0 Disables related videos from other channels
|
|
17
|
+
* > disablekb=1 Disables keyboard controls
|
|
18
|
+
* > fs=0 Disables fullscreen button
|
|
19
|
+
* > playsinline=1 Prevents fullscreen auto behavior on iOS
|
|
20
|
+
*/
|
|
21
|
+
embedUrl: import("@angular/core", { with: { "resolution-mode": "import" } }).Signal<SafeResourceUrl>;
|
|
22
|
+
private readonly PS;
|
|
23
|
+
currentVideoState: keyof typeof this.PS;
|
|
24
|
+
videoActivated: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
25
|
+
isInViewport: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
26
|
+
previewImage: import("@angular/core", { with: { "resolution-mode": "import" } }).Signal<string>;
|
|
27
|
+
cdr: ChangeDetectorRef;
|
|
28
|
+
allowedToBeDisplayedVideoOveraly: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
29
|
+
private player;
|
|
30
|
+
private readonly el;
|
|
31
|
+
private observer?;
|
|
32
|
+
private videoIdSignal;
|
|
33
|
+
get containerStyle(): {
|
|
34
|
+
height: string;
|
|
35
|
+
};
|
|
36
|
+
get displayTitle(): string;
|
|
37
|
+
constructor(sanitizer: DomSanitizer);
|
|
38
|
+
onRightClick(event: any): void;
|
|
39
|
+
onThumbnailError(event: Event): void;
|
|
40
|
+
clicked(event: any): void;
|
|
41
|
+
restart(): void;
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
ngAfterViewInit(): Promise<void>;
|
|
45
|
+
private handleStateChange;
|
|
46
|
+
ngOnChanges(): void;
|
|
47
|
+
onLockClick(event: MouseEvent): void;
|
|
48
|
+
onPreviewClick(): void;
|
|
49
|
+
play(): void;
|
|
50
|
+
pause(): void;
|
|
51
|
+
private postCommand;
|
|
52
|
+
}
|
|
@@ -25,6 +25,6 @@ exports.CURRENT_PACKAGE_TAON_VERSION = 'v21';
|
|
|
25
25
|
/**
|
|
26
26
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
27
27
|
*/
|
|
28
|
-
exports.CURRENT_PACKAGE_VERSION = '21.0.
|
|
28
|
+
exports.CURRENT_PACKAGE_VERSION = '21.0.71';
|
|
29
29
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
30
30
|
//# sourceMappingURL=build-info._auto-generated_.js.map
|
|
@@ -2,12 +2,43 @@ export * from './build-info._auto-generated_';
|
|
|
2
2
|
export * from './my-organization-proj';
|
|
3
3
|
export * from './start-cli';
|
|
4
4
|
export * from './taon.models';
|
|
5
|
+
export * from './layouts/taon-bootstrap-navbar/taon-bootstrap-navbar.component';
|
|
6
|
+
export * from './ui/anonymize-text/anonymize-text.directive';
|
|
5
7
|
export * from './ui/anonymize-text/anonymize-text.models';
|
|
8
|
+
export * from './ui/directives/safe.pipe';
|
|
9
|
+
export * from './ui/directives/taon-inject-html.directive';
|
|
10
|
+
export * from './ui/directives/taon-long-press.directive';
|
|
6
11
|
export * from './ui/directives/view-mode';
|
|
12
|
+
export * from './ui/taon-auth/auth-button.component';
|
|
13
|
+
export * from './ui/taon-auth/auth-dialog.component';
|
|
14
|
+
export * from './ui/taon-auth/auth.guard';
|
|
15
|
+
export * from './ui/taon-auth/google-auth.service';
|
|
16
|
+
export * from './ui/taon-auth/microsoft-auth.service';
|
|
17
|
+
export * from './ui/taon-auth/session.service';
|
|
18
|
+
export * from './ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component';
|
|
19
|
+
export * from './ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module';
|
|
20
|
+
export * from './ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.component';
|
|
21
|
+
export * from './ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.module';
|
|
22
|
+
export * from './ui/taon-iframe-sync/taon-iframe-sync.component';
|
|
23
|
+
export * from './ui/taon-kv-authorization/taon-kv-authorization.component';
|
|
7
24
|
export * from './ui/taon-kv-authorization/taon-kv-authorization.models';
|
|
25
|
+
export * from './ui/taon-lang-selector/taon-lang-selector.component';
|
|
26
|
+
export * from './ui/taon-not-found/taon-not-found.component';
|
|
27
|
+
export * from './ui/taon-progress-bar/taon-progress-bar.component';
|
|
28
|
+
export * from './ui/taon-progress-bar/taon-progress-bar.module';
|
|
29
|
+
export * from './ui/taon-rumble/taon-rumble.component';
|
|
30
|
+
export * from './ui/taon-session-passcode/taon-session-passcode.component';
|
|
31
|
+
export * from './ui/taon-settings/taon-settings.component';
|
|
8
32
|
export * from './ui/taon-settings/taon-settings.models';
|
|
33
|
+
export * from './ui/taon-simple-layout/taon-simple-layout.component';
|
|
9
34
|
export * from './ui/taon-simple-layout/taon-simple-layout.model';
|
|
35
|
+
export * from './ui/taon-slide-content/taon-slide-content-child.component';
|
|
36
|
+
export * from './ui/taon-slide-content/taon-slide-content.component';
|
|
10
37
|
export * from './ui/taon-slide-content/taon-slide-content.models';
|
|
38
|
+
export * from './ui/taon-stripe-buy-button/taon-stripe-buy-button.component';
|
|
39
|
+
export * from './ui/taon-theme/taon-theme.component';
|
|
40
|
+
export * from './ui/taon-theme/taon-theme.service';
|
|
41
|
+
export * from './ui/taon-youtube-video/taon-youtube-video.component';
|
|
11
42
|
export * from './ui/taon-youtube-video/taon-youtube.models';
|
|
12
43
|
export * from './ui/taon-youtube-video/taon-youtube.utils';
|
|
13
44
|
export * from './ui/taon-auth/i18n/taon-auth.translation';
|
|
@@ -15,4 +46,4 @@ export * from './ui/taon-kv-authorization/i18n/taon-kv-authorization.translation
|
|
|
15
46
|
export * from './ui/taon-lang-selector/i18n/taon-lang-selector.translation';
|
|
16
47
|
export * from './ui/taon-settings/i18n/taon-settings.translation';
|
|
17
48
|
export * from './ui/taon-stripe-buy-button/i18n/taon-stripe-buy-button.translation';
|
|
18
|
-
export * from './ui/taon-theme/i18n/taon-theme.translation';
|
|
49
|
+
export * from './ui/taon-theme/i18n/taon-theme.translation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './taon-bootstrap-navbar.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1791750265417 = dummy1791750265417;
|
|
4
|
+
function dummy1791750265417() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/lib/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './anonymize-text.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1791750265426 = dummy1791750265426;
|
|
4
|
+
function dummy1791750265426() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|