taon-ui 21.0.37 → 21.0.39
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/assets/shared/logo-header-admin-mode-org.png +0 -0
- package/assets/shared/logo-header-admin-mode.png +0 -0
- package/assets/shared/taon-small-logo-for-not-found.png +0 -0
- package/browser/fesm2022/taon-ui-browser.mjs +157 -159
- package/browser/fesm2022/taon-ui-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/taon-ui-browser.d.ts +43 -28
- package/browser-prod/fesm2022/taon-ui-browser-prod.mjs +155 -160
- 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 +41 -28
- package/browser-prod.split-namespaces.json +10 -2
- 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 +3 -1
- package/lib/index._auto-generated_.js +3 -1
- package/lib/index._auto-generated_.js.map +1 -1
- package/lib/layouts/taon-bootstrap-navbar/index.js +2 -2
- package/lib/package.json +1 -1
- package/lib/ui/directives/index.js +2 -2
- package/lib/ui/index.js +2 -2
- package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.d.ts +12 -24
- package/lib/ui/taon-github-fork-me-corner/index.js +2 -2
- package/lib/ui/taon-github-fork-me-ribbon/index.js +2 -2
- package/lib/ui/taon-iframe-sync/index.js +2 -2
- package/lib/ui/taon-kv-authorization/taon-kv-authorization.component.d.ts +17 -1
- package/lib/ui/taon-not-found/taon-not-found.component.d.ts +2 -0
- package/lib/ui/taon-progress-bar/index.js +2 -2
- package/lib/ui/taon-session-passcode/index.js +2 -2
- package/lib/ui/taon-table/index.js +2 -2
- package/lib/ui/taon-youtube-video/taon-youtube.utils.d.ts +4 -0
- package/lib/ui/taon-youtube-video/taon-youtube.utils.js +31 -0
- package/lib/ui/taon-youtube-video/taon-youtube.utils.js.map +1 -0
- package/lib-prod/build-info._auto-generated_.d.ts +1 -1
- package/lib-prod/build-info._auto-generated_.js +1 -1
- package/lib-prod/index._auto-generated_.d.ts +1 -0
- package/lib-prod/index._auto-generated_.js +3 -1
- package/lib-prod/index._auto-generated_.js.map +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/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-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-table/index.d.ts +1 -1
- package/lib-prod/ui/taon-table/index.js +1 -1
- package/lib-prod/ui/taon-youtube-video/taon-youtube.utils.d.ts +2 -0
- package/lib-prod/ui/taon-youtube-video/taon-youtube.utils.js +25 -0
- package/lib-prod/ui/taon-youtube-video/taon-youtube.utils.js.map +1 -0
- package/lib-prod.split-namespaces.json +10 -2
- package/package.json +1 -1
- package/scss/global.scss +1 -1
- package/scss/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.scss +4 -35
- package/scss/lib/ui/taon-not-found/taon-not-found.component.scss +3 -0
- package/websql/fesm2022/taon-ui-websql.mjs +157 -159
- package/websql/fesm2022/taon-ui-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/taon-ui-websql.d.ts +43 -28
- package/websql-prod/fesm2022/taon-ui-websql-prod.mjs +155 -160
- 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 +41 -28
- package/websql-prod.split-namespaces.json +10 -2
package/browser/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { OnInit, PipeTransform, ElementRef, EventEmitter, AfterViewInit, OnDestroy, ChangeDetectorRef, TemplateRef, NgZone, DestroyRef, OnChanges } from '@angular/core';
|
|
3
|
+
import { OnInit, PipeTransform, ElementRef, EventEmitter, AfterViewInit, OnDestroy, ChangeDetectorRef, TemplateRef, NgZone, SimpleChanges, DestroyRef, OnChanges } from '@angular/core';
|
|
4
4
|
import * as i1 from '@angular/cdk/a11y';
|
|
5
5
|
import * as i2 from '@angular/cdk/stepper';
|
|
6
6
|
import * as i3 from '@angular/cdk/table';
|
|
@@ -46,11 +46,10 @@ import * as i39 from '@angular/material/tree';
|
|
|
46
46
|
import * as i40 from '@angular/cdk/scrolling';
|
|
47
47
|
import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
48
48
|
import * as lodash from 'lodash';
|
|
49
|
+
import * as taon_storage_browser from 'taon-storage/browser';
|
|
49
50
|
import * as rxjs from 'rxjs';
|
|
50
51
|
import { Subject, Observable, Subscription } from 'rxjs';
|
|
51
|
-
import
|
|
52
|
-
import { BreakpointsService } from 'static-columns/browser';
|
|
53
|
-
import { TaonAdminService, TaonBaseCrudController, TaonBaseEntity } from 'taon/browser';
|
|
52
|
+
import { TaonAdminPanelMode, TaonAdminService, TaonAdminTab, TaonBaseCrudController, TaonBaseEntity } from 'taon/browser';
|
|
54
53
|
import * as i10$1 from '@angular/forms';
|
|
55
54
|
import { FormGroup, FormControl } from '@angular/forms';
|
|
56
55
|
import { CanActivate, Router, UrlTree, Routes } from '@angular/router';
|
|
@@ -61,6 +60,7 @@ import * as axios from 'axios';
|
|
|
61
60
|
import * as i4$1 from '@ng-matero/extensions/grid';
|
|
62
61
|
import { MtxGridColumn } from '@ng-matero/extensions/grid';
|
|
63
62
|
import * as i5$1 from '@angular/material/form-field';
|
|
63
|
+
import * as i7$1 from 'static-columns/browser';
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* Autogenerated by current cli tool
|
|
@@ -85,7 +85,7 @@ declare const CURRENT_PACKAGE_TAON_VERSION = "v21";
|
|
|
85
85
|
/**
|
|
86
86
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
87
87
|
*/
|
|
88
|
-
declare const CURRENT_PACKAGE_VERSION = "21.0.
|
|
88
|
+
declare const CURRENT_PACKAGE_VERSION = "21.0.39";
|
|
89
89
|
|
|
90
90
|
declare function myOrgProj(): void;
|
|
91
91
|
|
|
@@ -152,44 +152,33 @@ declare enum ViewMode {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
declare class TaonAdminModeConfigurationComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
155
|
-
|
|
155
|
+
TaonAdminPanelMode: typeof TaonAdminPanelMode;
|
|
156
156
|
$destroy: Subject<unknown>;
|
|
157
157
|
readonly cdr: ChangeDetectorRef;
|
|
158
158
|
readonly taonAdminService: TaonAdminService;
|
|
159
|
-
readonly isDesktop: boolean;
|
|
160
159
|
isWebSQLMode: boolean;
|
|
161
|
-
hideTaonToolsInProduction: boolean;
|
|
162
|
-
isIframe: boolean;
|
|
163
160
|
height: number;
|
|
164
|
-
|
|
165
|
-
|
|
161
|
+
reloading: i0.WritableSignal<boolean>;
|
|
162
|
+
scrollableEnabled: boolean;
|
|
166
163
|
showPasscode: boolean;
|
|
167
164
|
passcode: string;
|
|
168
165
|
message: string;
|
|
169
|
-
dragPositionX: number
|
|
170
|
-
dragPositionY: number
|
|
166
|
+
dragPositionX: taon_storage_browser.StorSignal<number>;
|
|
167
|
+
dragPositionY: taon_storage_browser.StorSignal<number>;
|
|
171
168
|
dragPositionZero: Point;
|
|
172
169
|
dragPosition: Point;
|
|
173
|
-
selectedIndex: number
|
|
174
|
-
tabGroup: any;
|
|
175
|
-
wasOpenDraggablePopup: boolean;
|
|
176
|
-
taonAdminModeConfigurationDataChanged: EventEmitter<any>;
|
|
177
|
-
taonAdminModeConfigurationData: any;
|
|
178
|
-
get opened(): boolean;
|
|
179
|
-
set opened(v: boolean);
|
|
180
|
-
constructor(breakpointsService: BreakpointsService);
|
|
170
|
+
selectedIndex: taon_storage_browser.StorSignal<number>;
|
|
181
171
|
ngOnInit(): Promise<void>;
|
|
182
172
|
ngAfterViewInit(): void;
|
|
183
173
|
ngOnDestroy(): void;
|
|
184
|
-
onResize(event
|
|
185
|
-
reloadTabs():
|
|
186
|
-
toogle(): Promise<void>;
|
|
187
|
-
toogleFullScreen(): Promise<void>;
|
|
174
|
+
onResize(event?: Event): void;
|
|
175
|
+
reloadTabs(): void;
|
|
188
176
|
resetDrag(): void;
|
|
189
177
|
moved(c: CdkDragEnd): void;
|
|
190
|
-
|
|
178
|
+
isLink(tab: TaonAdminTab): boolean;
|
|
179
|
+
getIfrmeLink(tab: TaonAdminTab): string | undefined;
|
|
191
180
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaonAdminModeConfigurationComponent, never>;
|
|
192
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaonAdminModeConfigurationComponent, "taon-admin-mode-configuration", never, { "
|
|
181
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaonAdminModeConfigurationComponent, "taon-admin-mode-configuration", never, { "scrollableEnabled": { "alias": "scrollableEnabled"; "required": false; }; "showPasscode": { "alias": "showPasscode"; "required": false; }; "passcode": { "alias": "passcode"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
193
182
|
}
|
|
194
183
|
|
|
195
184
|
interface TaonAdminModeTab {
|
|
@@ -345,14 +334,29 @@ declare class TaonIframeSyncComponent implements AfterViewInit, OnDestroy {
|
|
|
345
334
|
|
|
346
335
|
interface TaonKvAuthorizationProduct {
|
|
347
336
|
productTitle: string;
|
|
337
|
+
/**
|
|
338
|
+
* ex. YT playlist id
|
|
339
|
+
*/
|
|
340
|
+
parentId?: string;
|
|
341
|
+
/**
|
|
342
|
+
* ex. YT id (NOT SAVED INTO AUTHORIZATION DB)
|
|
343
|
+
*/
|
|
348
344
|
productId: string;
|
|
349
345
|
/**
|
|
350
346
|
* string with price => real price store in stripe products
|
|
351
347
|
*/
|
|
352
348
|
price: string;
|
|
349
|
+
/**
|
|
350
|
+
* example: price_1T8VJBL324234234s36zuh
|
|
351
|
+
*/
|
|
353
352
|
stripePriceId?: string;
|
|
353
|
+
/**
|
|
354
|
+
* example: prod_U6if12A2S133HNSoQ2r
|
|
355
|
+
* SAVED INTO AUTORIZATION DB
|
|
356
|
+
*/
|
|
354
357
|
stripeProductId?: string;
|
|
355
358
|
authorized?: boolean;
|
|
359
|
+
children?: TaonKvAuthorizationProduct[];
|
|
356
360
|
}
|
|
357
361
|
declare class TaonKvAuthorizationComponent implements OnInit {
|
|
358
362
|
cdr: ChangeDetectorRef;
|
|
@@ -364,12 +368,18 @@ declare class TaonKvAuthorizationComponent implements OnInit {
|
|
|
364
368
|
protected authorizedProductsData: i0.WritableSignal<TaonKvAuthorizationProduct[]>;
|
|
365
369
|
protected authorizationCheckingInProgress: boolean;
|
|
366
370
|
ngOnInit(): void;
|
|
371
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
367
372
|
checkIfProducstsAuthorized(): Promise<void>;
|
|
368
373
|
protected authorizedCount(): number;
|
|
369
374
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaonKvAuthorizationComponent, never>;
|
|
370
375
|
static ɵcmp: i0.ɵɵComponentDeclaration<TaonKvAuthorizationComponent, "taon-kv-authorization", never, { "email": { "alias": "email"; "required": true; }; "url": { "alias": "url"; "required": true; }; "products": { "alias": "products"; "required": true; }; }, { "authorizedProducts": "authorizedProducts"; }, never, never, true, never>;
|
|
371
376
|
}
|
|
372
377
|
|
|
378
|
+
declare class TaonNotFoundComponent {
|
|
379
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaonNotFoundComponent, never>;
|
|
380
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaonNotFoundComponent, "taon-not-found", never, {}, {}, never, never, true, never>;
|
|
381
|
+
}
|
|
382
|
+
|
|
373
383
|
declare class TaonNotificationOptions {
|
|
374
384
|
title: string;
|
|
375
385
|
subtitle?: string;
|
|
@@ -645,5 +655,10 @@ declare class TaonYoutubeVideoComponent implements OnChanges, AfterViewInit {
|
|
|
645
655
|
static ɵcmp: i0.ɵɵComponentDeclaration<TaonYoutubeVideoComponent, "taon-youtube-video", never, { "videoId": { "alias": "videoId"; "required": true; }; "title": { "alias": "title"; "required": false; }; "height": { "alias": "height"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "paddlockClicked": "paddlockClicked"; "previewClicked": "previewClicked"; }, never, never, true, never>;
|
|
646
656
|
}
|
|
647
657
|
|
|
648
|
-
|
|
658
|
+
declare namespace TaonYouTubeUtils {
|
|
659
|
+
function getVidesIdsOfPlaylist(ytplaylistId: string): Promise<string[]>;
|
|
660
|
+
function extractPlaylistId(input: string): string;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export { APP_ID, AuthButtonComponent, AuthDialogComponent, AuthGuard, BUILD_BASE_HREF, BUILD_FRAMEWORK_CLI_NAME, CURRENT_PACKAGE_TAON_VERSION, CURRENT_PACKAGE_VERSION, GoogleAuthService, MicrosoftAuthService, PROJECT_NPM_NAME, SafePipe, SessionService, TaonAdminModeConfigurationComponent, TaonBootstrapNavbarComponent, TaonFullMaterialModule, TaonGithubForkMeCornerComponent, TaonGithubForkMeCornerModule, TaonGithubForkMeRibbonComponent, TaonGithubForkMeRibbonModule, TaonIframeSyncComponent, TaonInjectHTMLDirective, TaonKvAuthorizationComponent, TaonLongPress, TaonNotFoundComponent, TaonNotificationOptions, TaonNotificationsComponent, TaonNotificationsModule, TaonNotificationsService, TaonProgressBarComponent, TaonProgressBarModule, TaonRumbleComponent, TaonSessionPasscodeComponent, TaonSimpleLayoutComponent, TaonSimpleLayoutRoutes, TaonStripeBuyButtonComponent, TaonTableComponent, TaonTableModule, TaonThemeComponent, TaonThemeMode, TaonThemeService, TaonYouTubeUtils, TaonYoutubeVideoComponent, ViewMode, myOrgProj };
|
|
649
664
|
export type { SessionState, TaonAdminModeTab, TaonKvAuthorizationProduct, TaonNotificationType, TaonRumbleState, TaonSessionPasscodeForm, TaonSessionPasscodeModel, TaonSimpleLayoutNavItem, TaonYoutubeState };
|