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
|
@@ -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_prod from 'taon-storage/browser-prod';
|
|
49
50
|
import * as rxjs from 'rxjs';
|
|
50
51
|
import { Subject, Observable, Subscription } from 'rxjs';
|
|
51
|
-
import
|
|
52
|
-
import { BreakpointsService } from 'static-columns/browser-prod';
|
|
53
|
-
import { TaonAdminService, TaonBaseCrudController, TaonBaseEntity } from 'taon/browser-prod';
|
|
52
|
+
import { TaonAdminPanelMode, TaonAdminService, TaonAdminTab, TaonBaseCrudController, TaonBaseEntity } from 'taon/browser-prod';
|
|
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-prod';
|
|
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_prod.StorSignal<number>;
|
|
167
|
+
dragPositionY: taon_storage_browser_prod.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_prod.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,8 @@ 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 function TaonYouTubeUtils__NS__getVidesIdsOfPlaylist(ytplaylistId: string): Promise<string[]>;
|
|
659
|
+
declare function TaonYouTubeUtils__NS__extractPlaylistId(input: string): string;
|
|
660
|
+
|
|
661
|
+
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__NS__extractPlaylistId, TaonYouTubeUtils__NS__getVidesIdsOfPlaylist, TaonYoutubeVideoComponent, ViewMode, myOrgProj };
|
|
649
662
|
export type { SessionState, TaonAdminModeTab, TaonKvAuthorizationProduct, TaonNotificationType, TaonRumbleState, TaonSessionPasscodeForm, TaonSessionPasscodeModel, TaonSimpleLayoutNavItem, TaonYoutubeState };
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"namespacesMapObj": {
|
|
3
|
-
|
|
2
|
+
"namespacesMapObj": {
|
|
3
|
+
"TaonYouTubeUtils.getVidesIdsOfPlaylist": "TaonYouTubeUtils__NS__getVidesIdsOfPlaylist",
|
|
4
|
+
"TaonYouTubeUtils.extractPlaylistId": "TaonYouTubeUtils__NS__extractPlaylistId"
|
|
5
|
+
},
|
|
6
|
+
"namespacesReplace": {
|
|
7
|
+
"TaonYouTubeUtils": [
|
|
8
|
+
"TaonYouTubeUtils__NS__extractPlaylistId",
|
|
9
|
+
"TaonYouTubeUtils__NS__getVidesIdsOfPlaylist"
|
|
10
|
+
]
|
|
11
|
+
}
|
|
4
12
|
}
|
|
@@ -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.39';
|
|
29
29
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
30
30
|
//# sourceMappingURL=build-info._auto-generated_.js.map
|
|
@@ -22,6 +22,7 @@ export * from './ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.compon
|
|
|
22
22
|
export * from './ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.module';
|
|
23
23
|
export * from './ui/taon-iframe-sync/taon-iframe-sync.component';
|
|
24
24
|
export * from './ui/taon-kv-authorization/taon-kv-authorization.component';
|
|
25
|
+
export * from './ui/taon-not-found/taon-not-found.component';
|
|
25
26
|
export * from './ui/taon-notifications/taon-notifications.component';
|
|
26
27
|
export * from './ui/taon-notifications/taon-notifications.models';
|
|
27
28
|
export * from './ui/taon-notifications/taon-notifications.module';
|
|
@@ -38,4 +39,5 @@ export * from './ui/taon-table/taon-table.component';
|
|
|
38
39
|
export * from './ui/taon-table/taon-table.module';
|
|
39
40
|
export * from './ui/taon-theme/taon-theme.component';
|
|
40
41
|
export * from './ui/taon-theme/taon-theme.service';
|
|
41
|
-
export * from './ui/taon-youtube-video/taon-youtube-video.component';
|
|
42
|
+
export * from './ui/taon-youtube-video/taon-youtube-video.component';
|
|
43
|
+
export * from './ui/taon-youtube-video/taon-youtube.utils';
|
|
@@ -44,6 +44,7 @@ __exportStar(require("./ui/taon-admin-mode-configuration/taon-admin.models"), ex
|
|
|
44
44
|
/* */
|
|
45
45
|
/* */
|
|
46
46
|
/* */
|
|
47
|
+
/* */
|
|
47
48
|
__exportStar(require("./ui/taon-notifications/taon-notifications.models"), exports);
|
|
48
49
|
/* */
|
|
49
50
|
/* */
|
|
@@ -59,5 +60,6 @@ __exportStar(require("./ui/taon-simple-layout/taon-simple-layout.model"), export
|
|
|
59
60
|
/* */
|
|
60
61
|
/* */
|
|
61
62
|
/* */
|
|
62
|
-
/* */
|
|
63
|
+
/* */
|
|
64
|
+
__exportStar(require("./ui/taon-youtube-video/taon-youtube.utils"), exports);
|
|
63
65
|
//# sourceMappingURL=index._auto-generated_.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index._auto-generated_.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,cAAc;AACd,kEAAkE;AAClE,wCAAwC;AACxC,wDAAwD;AACxD,kCAAkC;AAClC,gEAA8C;AAC9C,yDAAuC;AACvC,gDAA8B;AAC9B,KAAK;AACL,mDAAiC;AACjC,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,4DAA0C;AAC1C,KAAK;AACL,uFAAqE;AACrE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,oFAAkE;AAClE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,mFAAiE;AACjE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK"}
|
|
1
|
+
{"version":3,"file":"index._auto-generated_.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,cAAc;AACd,kEAAkE;AAClE,wCAAwC;AACxC,wDAAwD;AACxD,kCAAkC;AAClC,gEAA8C;AAC9C,yDAAuC;AACvC,gDAA8B;AAC9B,KAAK;AACL,mDAAiC;AACjC,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,4DAA0C;AAC1C,KAAK;AACL,uFAAqE;AACrE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,oFAAkE;AAClE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,mFAAiE;AACjE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,6EAA2D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1774189450538 = dummy1774189450538;
|
|
4
|
+
function dummy1774189450538() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/lib/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1774189450558 = dummy1774189450558;
|
|
4
|
+
function dummy1774189450558() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/lib/ui/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1774189450188 = dummy1774189450188;
|
|
4
|
+
function dummy1774189450188() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,43 +1,31 @@
|
|
|
1
1
|
import { CdkDragEnd, Point } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { ChangeDetectorRef,
|
|
2
|
+
import { ChangeDetectorRef, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
-
import {
|
|
5
|
-
import { TaonAdminService } from 'taon';
|
|
4
|
+
import { TaonAdminPanelMode, TaonAdminService, TaonAdminTab } from 'taon';
|
|
6
5
|
export declare class TaonAdminModeConfigurationComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
7
|
-
|
|
6
|
+
TaonAdminPanelMode: typeof TaonAdminPanelMode;
|
|
8
7
|
$destroy: Subject<unknown>;
|
|
9
8
|
readonly cdr: ChangeDetectorRef;
|
|
10
9
|
readonly taonAdminService: TaonAdminService;
|
|
11
|
-
readonly isDesktop: boolean;
|
|
12
10
|
isWebSQLMode: boolean;
|
|
13
|
-
hideTaonToolsInProduction: boolean;
|
|
14
|
-
isIframe: boolean;
|
|
15
11
|
height: number;
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
reloading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
13
|
+
scrollableEnabled: boolean;
|
|
18
14
|
showPasscode: boolean;
|
|
19
15
|
passcode: string;
|
|
20
16
|
message: string;
|
|
21
|
-
dragPositionX: number
|
|
22
|
-
dragPositionY: number
|
|
17
|
+
dragPositionX: import("taon-storage/source").StorSignal<number>;
|
|
18
|
+
dragPositionY: import("taon-storage/source").StorSignal<number>;
|
|
23
19
|
dragPositionZero: Point;
|
|
24
20
|
dragPosition: Point;
|
|
25
|
-
selectedIndex: number
|
|
26
|
-
tabGroup: any;
|
|
27
|
-
wasOpenDraggablePopup: boolean;
|
|
28
|
-
taonAdminModeConfigurationDataChanged: EventEmitter<any>;
|
|
29
|
-
taonAdminModeConfigurationData: any;
|
|
30
|
-
get opened(): boolean;
|
|
31
|
-
set opened(v: boolean);
|
|
32
|
-
constructor(breakpointsService: BreakpointsService);
|
|
21
|
+
selectedIndex: import("taon-storage/source").StorSignal<number>;
|
|
33
22
|
ngOnInit(): Promise<void>;
|
|
34
23
|
ngAfterViewInit(): void;
|
|
35
24
|
ngOnDestroy(): void;
|
|
36
|
-
onResize(event
|
|
37
|
-
reloadTabs():
|
|
38
|
-
toogle(): Promise<void>;
|
|
39
|
-
toogleFullScreen(): Promise<void>;
|
|
25
|
+
onResize(event?: Event): void;
|
|
26
|
+
reloadTabs(): void;
|
|
40
27
|
resetDrag(): void;
|
|
41
28
|
moved(c: CdkDragEnd): void;
|
|
42
|
-
|
|
29
|
+
isLink(tab: TaonAdminTab): boolean;
|
|
30
|
+
getIfrmeLink(tab: TaonAdminTab): string | undefined;
|
|
43
31
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1774189450664 = dummy1774189450664;
|
|
4
|
+
function dummy1774189450664() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1774189450681 = dummy1774189450681;
|
|
4
|
+
function dummy1774189450681() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1774189450698 = dummy1774189450698;
|
|
4
|
+
function dummy1774189450698() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +1,29 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
2
2
|
export interface TaonKvAuthorizationProduct {
|
|
3
3
|
productTitle: string;
|
|
4
|
+
/**
|
|
5
|
+
* ex. YT playlist id
|
|
6
|
+
*/
|
|
7
|
+
parentId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* ex. YT id (NOT SAVED INTO AUTHORIZATION DB)
|
|
10
|
+
*/
|
|
4
11
|
productId: string;
|
|
5
12
|
/**
|
|
6
13
|
* string with price => real price store in stripe products
|
|
7
14
|
*/
|
|
8
15
|
price: string;
|
|
16
|
+
/**
|
|
17
|
+
* example: price_1T8VJBL324234234s36zuh
|
|
18
|
+
*/
|
|
9
19
|
stripePriceId?: string;
|
|
20
|
+
/**
|
|
21
|
+
* example: prod_U6if12A2S133HNSoQ2r
|
|
22
|
+
* SAVED INTO AUTORIZATION DB
|
|
23
|
+
*/
|
|
10
24
|
stripeProductId?: string;
|
|
11
25
|
authorized?: boolean;
|
|
26
|
+
children?: TaonKvAuthorizationProduct[];
|
|
12
27
|
}
|
|
13
28
|
export declare class TaonKvAuthorizationComponent implements OnInit {
|
|
14
29
|
cdr: ChangeDetectorRef;
|
|
@@ -20,6 +35,7 @@ export declare class TaonKvAuthorizationComponent implements OnInit {
|
|
|
20
35
|
protected authorizedProductsData: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonKvAuthorizationProduct[]>;
|
|
21
36
|
protected authorizationCheckingInProgress: boolean;
|
|
22
37
|
ngOnInit(): void;
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
39
|
checkIfProducstsAuthorized(): Promise<void>;
|
|
24
40
|
protected authorizedCount(): number;
|
|
25
41
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1774189450751 = dummy1774189450751;
|
|
4
|
+
function dummy1774189450751() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1774189450784 = dummy1774189450784;
|
|
4
|
+
function dummy1774189450784() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
3
|
+
exports.dummy1774189450830 = dummy1774189450830;
|
|
4
|
+
function dummy1774189450830() { }
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaonYouTubeUtils = void 0;
|
|
4
|
+
var TaonYouTubeUtils;
|
|
5
|
+
(function (TaonYouTubeUtils) {
|
|
6
|
+
async function getVidesIdsOfPlaylist(ytplaylistId) {
|
|
7
|
+
const url = `https://www.youtube.com/playlist?list=${encodeURIComponent(ytplaylistId)}`;
|
|
8
|
+
const response = await fetch(url, {
|
|
9
|
+
headers: {
|
|
10
|
+
'accept-language': 'en-US,en;q=0.9',
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
if (!response.ok) {
|
|
14
|
+
throw new Error(`Failed to fetch playlist page: ${response.status} ${response.statusText}`);
|
|
15
|
+
}
|
|
16
|
+
const html = await response.text();
|
|
17
|
+
const matches = [...html.matchAll(/"videoId":"([a-zA-Z0-9_-]{11})"/g)];
|
|
18
|
+
const ids = matches.map(match => match[1]);
|
|
19
|
+
return [...new Set(ids)];
|
|
20
|
+
}
|
|
21
|
+
TaonYouTubeUtils.getVidesIdsOfPlaylist = getVidesIdsOfPlaylist;
|
|
22
|
+
function extractPlaylistId(input) {
|
|
23
|
+
if (!input.includes('http')) {
|
|
24
|
+
return input.split('&')[0].trim();
|
|
25
|
+
}
|
|
26
|
+
const url = new URL(input);
|
|
27
|
+
return (url.searchParams.get('list') || '').trim();
|
|
28
|
+
}
|
|
29
|
+
TaonYouTubeUtils.extractPlaylistId = extractPlaylistId;
|
|
30
|
+
})(TaonYouTubeUtils || (exports.TaonYouTubeUtils = TaonYouTubeUtils = {}));
|
|
31
|
+
//# sourceMappingURL=taon-youtube.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taon-youtube.utils.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,IAAiB,gBAAgB,CAkChC;AAlCD,WAAiB,gBAAgB;IACxB,KAAK,UAAU,qBAAqB,CACzC,YAAoB;QAEpB,MAAM,GAAG,GAAG,yCAAyC,kBAAkB,CAAC,YAAY,CAAC,EAAE,CAAC;QAExF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE;YAChC,OAAO,EAAE;gBACP,iBAAiB,EAAE,gBAAgB;aACpC;SACF,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CACb,kCAAkC,QAAQ,CAAC,MAAM,IAAI,QAAQ,CAAC,UAAU,EAAE,CAC3E,CAAC;QACJ,CAAC;QAED,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QAEnC,MAAM,OAAO,GAAG,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,kCAAkC,CAAC,CAAC,CAAC;QACvE,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAE3C,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,CAAC;IAvBqB,sCAAqB,wBAuB1C,CAAA;IAED,SAAgB,iBAAiB,CAAC,KAAa;QAC7C,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QACpC,CAAC;QAED,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC;QAC3B,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACrD,CAAC;IAPe,kCAAiB,oBAOhC,CAAA;AACH,CAAC,EAlCgB,gBAAgB,gCAAhB,gBAAgB,QAkChC"}
|
|
@@ -22,6 +22,6 @@ export const CURRENT_PACKAGE_TAON_VERSION = 'v21';
|
|
|
22
22
|
/**
|
|
23
23
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
24
24
|
*/
|
|
25
|
-
export const CURRENT_PACKAGE_VERSION = '21.0.
|
|
25
|
+
export const CURRENT_PACKAGE_VERSION = '21.0.39';
|
|
26
26
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
27
27
|
//# sourceMappingURL=build-info._auto-generated_.js.map
|
|
@@ -6,3 +6,4 @@ export * from './ui/directives/view-mode';
|
|
|
6
6
|
export * from './ui/taon-admin-mode-configuration/taon-admin.models';
|
|
7
7
|
export * from './ui/taon-notifications/taon-notifications.models';
|
|
8
8
|
export * from './ui/taon-simple-layout/taon-simple-layout.model';
|
|
9
|
+
export * from './ui/taon-youtube-video/taon-youtube.utils';
|
|
@@ -28,6 +28,7 @@ export * from './ui/taon-admin-mode-configuration/taon-admin.models';
|
|
|
28
28
|
/* */
|
|
29
29
|
/* */
|
|
30
30
|
/* */
|
|
31
|
+
/* */
|
|
31
32
|
export * from './ui/taon-notifications/taon-notifications.models';
|
|
32
33
|
/* */
|
|
33
34
|
/* */
|
|
@@ -43,5 +44,6 @@ export * from './ui/taon-simple-layout/taon-simple-layout.model';
|
|
|
43
44
|
/* */
|
|
44
45
|
/* */
|
|
45
46
|
/* */
|
|
46
|
-
/* */
|
|
47
|
+
/* */
|
|
48
|
+
export * from './ui/taon-youtube-video/taon-youtube.utils';
|
|
47
49
|
//# sourceMappingURL=index._auto-generated_.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index._auto-generated_.js","sourceRoot":"","sources":[""],"names":[],"mappings":"AAAA,cAAc;AACd,kEAAkE;AAClE,wCAAwC;AACxC,wDAAwD;AACxD,kCAAkC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,KAAK;AACL,cAAc,kBAAkB,CAAC;AACjC,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,cAAc,2BAA2B,CAAC;AAC1C,KAAK;AACL,cAAc,sDAAsD,CAAC;AACrE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,cAAc,mDAAmD,CAAC;AAClE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,cAAc,kDAAkD,CAAC;AACjE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK"}
|
|
1
|
+
{"version":3,"file":"index._auto-generated_.js","sourceRoot":"","sources":[""],"names":[],"mappings":"AAAA,cAAc;AACd,kEAAkE;AAClE,wCAAwC;AACxC,wDAAwD;AACxD,kCAAkC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,KAAK;AACL,cAAc,kBAAkB,CAAC;AACjC,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,cAAc,2BAA2B,CAAC;AAC1C,KAAK;AACL,cAAc,sDAAsD,CAAC;AACrE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,cAAc,mDAAmD,CAAC;AAClE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,cAAc,kDAAkD,CAAC;AACjE,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AACL,cAAc,4CAA4C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function dummy1774189494775(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function dummy1774189494775() { }
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/lib-prod/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function dummy1774189494790(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function dummy1774189494790() { }
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/lib-prod/ui/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function dummy1774189494422(): void;
|
package/lib-prod/ui/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function dummy1774189494422() { }
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function dummy1774189494886(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function dummy1774189494886() { }
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function dummy1774189494903(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function dummy1774189494903() { }
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function dummy1774189494920(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function dummy1774189494920() { }
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function dummy1774189494978(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function dummy1774189494978() { }
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function dummy1774189495009(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function dummy1774189495009() { }
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function dummy1774189495061(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function dummy1774189495061() { }
|
|
2
2
|
//# sourceMappingURL=index.js.map
|