@taon-dev/ui 21.0.4 → 21.0.6
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/{ui-browser-taon-backoffice-notifications.component.ts.en-US.i18n.data-uyZjV7Qx.mjs → ui-browser-taon-backoffice-notifications.component.ts.en-US.i18n.data-DdHr5V8R.mjs} +2 -2
- package/browser/fesm2022/{ui-browser-taon-backoffice-notifications.component.ts.en-US.i18n.data-uyZjV7Qx.mjs.map → ui-browser-taon-backoffice-notifications.component.ts.en-US.i18n.data-DdHr5V8R.mjs.map} +1 -1
- package/browser/fesm2022/{ui-browser-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-s0tK5HDk.mjs → ui-browser-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-CD5ZqDCD.mjs} +2 -2
- package/browser/fesm2022/{ui-browser-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-s0tK5HDk.mjs.map → ui-browser-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-CD5ZqDCD.mjs.map} +1 -1
- package/browser/fesm2022/ui-browser.mjs +289 -148
- package/browser/fesm2022/ui-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/ui-browser.d.ts +42 -35
- package/browser-prod/fesm2022/{ui-browser-prod-taon-backoffice-notifications.component.ts.en-US.i18n.data-uyZjV7Qx.mjs → ui-browser-prod-taon-backoffice-notifications.component.ts.en-US.i18n.data-DdHr5V8R.mjs} +2 -2
- package/browser-prod/fesm2022/{ui-browser-prod-taon-backoffice-notifications.component.ts.en-US.i18n.data-uyZjV7Qx.mjs.map → ui-browser-prod-taon-backoffice-notifications.component.ts.en-US.i18n.data-DdHr5V8R.mjs.map} +1 -1
- package/browser-prod/fesm2022/{ui-browser-prod-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-s0tK5HDk.mjs → ui-browser-prod-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-CD5ZqDCD.mjs} +2 -2
- package/browser-prod/fesm2022/{ui-browser-prod-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-s0tK5HDk.mjs.map → ui-browser-prod-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-CD5ZqDCD.mjs.map} +1 -1
- package/browser-prod/fesm2022/ui-browser-prod.mjs +290 -149
- package/browser-prod/fesm2022/ui-browser-prod.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/ui-browser-prod.d.ts +42 -35
- package/html/app/main/main.container.html +6 -0
- package/html/lib/taon-admin-layout/taon-admin-layout.component.html +72 -57
- package/html/lib/taon-datatable/taon-datatable.component.html +19 -5
- package/html/lib/taon-draggable-button-panel/taon-draggable-button-panel.component.html +1 -0
- package/i18n/src.translation.d.ts +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/i18n/lib.translation.d.ts +2 -2
- package/lib/package.json +1 -1
- package/lib/taon-admin-layout/index.js +2 -2
- package/lib/taon-admin-layout/taon-admin-layout.models.d.ts +1 -1
- package/lib/taon-admin-layout/taon-admin-layout.models.js.map +1 -1
- package/lib/taon-backoffice-notifications/i18n/taon-backoffice-notifications.component.ts.en-US.i18n.data.js +1 -1
- package/lib/taon-backoffice-notifications/i18n/taon-backoffice-notifications.component.ts.pl-PL.i18n.data.js +1 -1
- package/lib/taon-backoffice-notifications/i18n/taon-backoffice-notifications.translation.d.ts +2 -2
- package/lib/taon-datatable/index.js +2 -2
- package/lib/taon-draggable-button-panel/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 +14 -1
- package/lib-esm/lib/taon-admin-layout/index.d.ts +1 -1
- package/lib-esm/lib/taon-admin-layout/index.js +1 -1
- package/lib-esm/lib/taon-admin-layout/taon-admin-layout.models.d.ts +1 -1
- package/lib-esm/lib/taon-admin-layout/taon-admin-layout.models.js.map +1 -1
- package/lib-esm/lib/taon-backoffice-notifications/i18n/taon-backoffice-notifications.component.ts.en-US.i18n.data.js +1 -1
- package/lib-esm/lib/taon-backoffice-notifications/i18n/taon-backoffice-notifications.component.ts.pl-PL.i18n.data.js +1 -1
- package/lib-esm/lib/taon-backoffice-notifications/index.d.ts +3 -0
- package/lib-esm/lib/taon-datatable/index.d.ts +1 -1
- package/lib-esm/lib/taon-datatable/index.js +1 -1
- package/lib-esm/lib/taon-draggable-button-panel/index.d.ts +1 -1
- package/lib-esm/lib/taon-draggable-button-panel/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/package.json +1 -1
- package/lib-prod/taon-admin-layout/index.d.ts +1 -1
- package/lib-prod/taon-admin-layout/index.js +1 -1
- package/lib-prod/taon-admin-layout/taon-admin-layout.models.d.ts +1 -1
- package/lib-prod/taon-admin-layout/taon-admin-layout.models.js.map +1 -1
- package/lib-prod/taon-backoffice-notifications/i18n/taon-backoffice-notifications.component.ts.en-US.i18n.data.js +1 -1
- package/lib-prod/taon-backoffice-notifications/i18n/taon-backoffice-notifications.component.ts.pl-PL.i18n.data.js +1 -1
- package/lib-prod/taon-datatable/index.d.ts +1 -1
- package/lib-prod/taon-datatable/index.js +1 -1
- package/lib-prod/taon-draggable-button-panel/index.d.ts +1 -1
- package/lib-prod/taon-draggable-button-panel/index.js +1 -1
- package/package.json +1 -1
- package/scss/lib/taon-admin-layout/taon-admin-layout.component.scss +282 -26
- package/websql/fesm2022/{ui-websql-taon-backoffice-notifications.component.ts.en-US.i18n.data-uyZjV7Qx.mjs → ui-websql-taon-backoffice-notifications.component.ts.en-US.i18n.data-DdHr5V8R.mjs} +2 -2
- package/websql/fesm2022/{ui-websql-taon-backoffice-notifications.component.ts.en-US.i18n.data-uyZjV7Qx.mjs.map → ui-websql-taon-backoffice-notifications.component.ts.en-US.i18n.data-DdHr5V8R.mjs.map} +1 -1
- package/websql/fesm2022/{ui-websql-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-s0tK5HDk.mjs → ui-websql-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-CD5ZqDCD.mjs} +2 -2
- package/websql/fesm2022/{ui-websql-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-s0tK5HDk.mjs.map → ui-websql-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-CD5ZqDCD.mjs.map} +1 -1
- package/websql/fesm2022/ui-websql.mjs +289 -148
- package/websql/fesm2022/ui-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/ui-websql.d.ts +42 -35
- package/websql-prod/fesm2022/{ui-websql-prod-taon-backoffice-notifications.component.ts.en-US.i18n.data-uyZjV7Qx.mjs → ui-websql-prod-taon-backoffice-notifications.component.ts.en-US.i18n.data-DdHr5V8R.mjs} +2 -2
- package/websql-prod/fesm2022/{ui-websql-prod-taon-backoffice-notifications.component.ts.en-US.i18n.data-uyZjV7Qx.mjs.map → ui-websql-prod-taon-backoffice-notifications.component.ts.en-US.i18n.data-DdHr5V8R.mjs.map} +1 -1
- package/websql-prod/fesm2022/{ui-websql-prod-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-s0tK5HDk.mjs → ui-websql-prod-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-CD5ZqDCD.mjs} +2 -2
- package/websql-prod/fesm2022/{ui-websql-prod-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-s0tK5HDk.mjs.map → ui-websql-prod-taon-backoffice-notifications.component.ts.pl-PL.i18n.data-CD5ZqDCD.mjs.map} +1 -1
- package/websql-prod/fesm2022/ui-websql-prod.mjs +290 -149
- package/websql-prod/fesm2022/ui-websql-prod.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/ui-websql-prod.d.ts +42 -35
- package/lib/directives/taon-horizontal-wheel-scrolling.directive.d.ts +0 -13
- package/lib/taon-admin-layout/taon-admin-layout.component.d.ts +0 -64
- package/lib/taon-admin-layout/taon-admin-page-tabs.component.d.ts +0 -66
- package/lib/taon-admin-layout/taon-base-admin-page.component.d.ts +0 -5
- package/lib/taon-backoffice-notifications/taon-backoffice-notifications.component.d.ts +0 -9
- package/lib/taon-backoffice-notifications/taon-backoffice-notifications.service.d.ts +0 -9
- package/lib/taon-backoffice-notifications/taon-error-details-dialog.component.d.ts +0 -24
- package/lib/taon-backoffice-notifications/taon-error-toast.component.d.ts +0 -10
- package/lib/taon-confirm-dialog/taon-confirm-dialog.component.d.ts +0 -12
- package/lib/taon-datatable/taon-datatable.component.d.ts +0 -60
- package/lib/taon-datatable/taon-datatable.routes.d.ts +0 -7
- package/lib/taon-draggable-button-panel/taon-draggable-button-panel.component.d.ts +0 -50
- package/lib/taon-draggable-button-panel/taon-draggable-button-panel.routes.d.ts +0 -8
package/websql-prod/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { AfterViewInit, OnDestroy, OnInit, TemplateRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import { AfterViewInit, OnDestroy, OnInit, ElementRef, TemplateRef, EventEmitter } from '@angular/core';
|
|
4
4
|
import { CoreModels__NS__DeepPartial } from 'tnp-core/websql-prod';
|
|
5
5
|
import { Routes, Route, Router, RouterOutlet } from '@angular/router';
|
|
6
6
|
import { Translation } from '@taon-dev/i18n/websql-prod';
|
|
@@ -448,7 +448,7 @@ declare const CURRENT_PACKAGE_TAON_VERSION = "v21";
|
|
|
448
448
|
/**
|
|
449
449
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
450
450
|
*/
|
|
451
|
-
declare const CURRENT_PACKAGE_VERSION = "21.0.
|
|
451
|
+
declare const CURRENT_PACKAGE_VERSION = "21.0.6";
|
|
452
452
|
|
|
453
453
|
declare function myOrgProj(): void;
|
|
454
454
|
|
|
@@ -492,69 +492,72 @@ interface PlPlTraslationOverrideSrcLibMyOrganizationProjTs {
|
|
|
492
492
|
|
|
493
493
|
type LibOverride = CoreModels__NS__DeepPartial<EnUsTraslationOverrideSrcLibMyOrganizationProjTs | PlPlTraslationOverrideSrcLibMyOrganizationProjTs>;
|
|
494
494
|
|
|
495
|
-
declare class TaonAdminLayoutComponent implements OnInit {
|
|
495
|
+
declare class TaonAdminLayoutComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
496
496
|
private readonly router;
|
|
497
|
+
private readonly hostElement;
|
|
497
498
|
routes: Routes;
|
|
498
499
|
basePath: string;
|
|
499
500
|
outlet: string;
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
*
|
|
503
|
-
* Session -> [Tracking, Providers]
|
|
504
|
-
* Users -> [Manager]
|
|
505
|
-
*/
|
|
501
|
+
protected readonly layoutWidth: i0.WritableSignal<number>;
|
|
502
|
+
protected readonly layoutHeight: i0.WritableSignal<number>;
|
|
506
503
|
protected readonly level2Routes: i0.WritableSignal<Map<Route, Routes>>;
|
|
507
504
|
protected readonly currentUrl: i0.WritableSignal<string>;
|
|
508
505
|
protected readonly loadingRoutes: i0.WritableSignal<Set<Route>>;
|
|
509
506
|
protected readonly asideOpened: i0.WritableSignal<boolean>;
|
|
507
|
+
private resizeObserver?;
|
|
508
|
+
private mutationObserver?;
|
|
509
|
+
private resizing;
|
|
510
|
+
private resizeStartX;
|
|
511
|
+
private resizeStartY;
|
|
512
|
+
private resizeStartWidth;
|
|
513
|
+
private resizeStartHeight;
|
|
514
|
+
private readonly minDialogWidth;
|
|
515
|
+
private readonly minDialogHeight;
|
|
516
|
+
protected get isDialogMode(): boolean;
|
|
510
517
|
private get basePathSegments();
|
|
511
|
-
|
|
518
|
+
protected get normalizedBasePath(): string;
|
|
519
|
+
constructor(router: Router, hostElement: ElementRef<HTMLElement>);
|
|
520
|
+
ngOnInit(): Promise<void>;
|
|
521
|
+
ngAfterViewInit(): void;
|
|
522
|
+
ngOnDestroy(): void;
|
|
523
|
+
private getWindowElement;
|
|
524
|
+
private getDraggablePanelElement;
|
|
525
|
+
private startWindowObservers;
|
|
526
|
+
private windowModeChanged;
|
|
527
|
+
private clearWindowResize;
|
|
528
|
+
protected windowResized(): void;
|
|
529
|
+
private updateLayoutSize;
|
|
530
|
+
protected startResize(event: PointerEvent): void;
|
|
531
|
+
private readonly resize;
|
|
532
|
+
private readonly stopResize;
|
|
512
533
|
protected toggleAside(): void;
|
|
513
534
|
protected closeAside(): void;
|
|
514
|
-
ngOnInit(): Promise<void>;
|
|
515
|
-
protected level1Clicked(route: Route): Promise<void>;
|
|
516
|
-
protected level2Clicked(level1: Route, level2: Route): Promise<void>;
|
|
517
|
-
private outletBaseMatrixParams;
|
|
518
|
-
private navigateTo;
|
|
519
535
|
private closeAsideOnMobile;
|
|
536
|
+
protected level1Clicked(route: Route): Promise<void>;
|
|
520
537
|
protected panelExpanded(route: Route, expanded: boolean): Promise<void>;
|
|
521
538
|
protected isLevel1Active(route: Route): boolean;
|
|
539
|
+
protected level2Clicked(level1: Route, level2: Route): Promise<void>;
|
|
522
540
|
protected getLevel2Routes(route: Route): Routes;
|
|
523
541
|
protected isLevel2Active(level1: Route, level2: Route): boolean;
|
|
524
542
|
protected level2Link(level1: Route, level2: Route): string[];
|
|
543
|
+
private outletBaseMatrixParams;
|
|
544
|
+
private navigateTo;
|
|
525
545
|
private ensureLevel2Loaded;
|
|
526
546
|
private loadRouteChildren;
|
|
527
|
-
/**
|
|
528
|
-
* Removes structural path:'' wrappers.
|
|
529
|
-
*
|
|
530
|
-
* [
|
|
531
|
-
* {
|
|
532
|
-
* path: '',
|
|
533
|
-
* component: SessionComponent,
|
|
534
|
-
* children: [...]
|
|
535
|
-
* }
|
|
536
|
-
* ]
|
|
537
|
-
*
|
|
538
|
-
* becomes:
|
|
539
|
-
*
|
|
540
|
-
* [...]
|
|
541
|
-
*/
|
|
542
547
|
private unwrapEmptyPathRoutes;
|
|
543
548
|
private loadCurrentLevel1Route;
|
|
544
549
|
protected label(route: Route): string;
|
|
545
550
|
protected color(route: Route): string;
|
|
546
551
|
protected icon(route: Route): string | undefined;
|
|
547
552
|
protected isLoading(route: Route): boolean;
|
|
553
|
+
protected isExpandable(route: Route): boolean;
|
|
548
554
|
private isPathActive;
|
|
549
555
|
private currentRelativeSegments;
|
|
550
556
|
private currentOutletSegments;
|
|
551
|
-
protected isExpandable(route: Route): boolean;
|
|
552
|
-
protected get normalizedBasePath(): string;
|
|
553
|
-
private cleanUrl;
|
|
554
557
|
private setLoading;
|
|
555
558
|
private startCase;
|
|
556
559
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaonAdminLayoutComponent, never>;
|
|
557
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaonAdminLayoutComponent, "taon-admin-layout", never, { "routes": { "alias": "routes"; "required": true; }; "basePath": { "alias": "basePath"; "required": false; }; "outlet": { "alias": "outlet"; "required": false; }; }, {}, never, ["[header]", "[asideFooter]"], true, never>;
|
|
560
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaonAdminLayoutComponent, "taon-admin-layout", never, { "routes": { "alias": "routes"; "required": true; }; "basePath": { "alias": "basePath"; "required": false; }; "outlet": { "alias": "outlet"; "required": false; }; }, {}, never, ["[header]", "[asideFooter]", "[contentFooter]"], true, never>;
|
|
558
561
|
}
|
|
559
562
|
|
|
560
563
|
interface TaonAdminRoute extends Route {
|
|
@@ -566,7 +569,7 @@ interface TaonAdminRoute extends Route {
|
|
|
566
569
|
loadAdminChildren?: () => Promise<TaonAdminRoutes>;
|
|
567
570
|
}
|
|
568
571
|
type TaonAdminRoutes = TaonAdminRoute[];
|
|
569
|
-
type MaterialIcon = 'manage_accounts' | 'dashboard' | 'home' | 'settings' | 'admin_panel_settings' | 'person' | 'people' | 'group' | 'groups' | 'account_circle' | 'login' | 'logout' | 'lock' | 'lock_open' | 'security' | 'key' | 'verified_user' | 'shield' | 'email' | 'mail' | 'inbox' | 'send' | 'campaign' | 'notifications' | 'article' | 'description' | 'edit' | 'add' | 'delete' | 'delete_forever' | 'restore_from_trash' | 'content_copy' | 'save' | 'search' | 'filter_list' | 'refresh' | 'sync' | 'more_vert' | 'more_horiz' | 'menu' | 'close' | 'check' | 'done' | 'warning' | 'error' | 'info' | 'help' | 'visibility' | 'visibility_off' | 'folder' | 'folder_open' | 'upload' | 'download' | 'cloud' | 'cloud_upload' | 'storage' | 'database' | 'dns' | 'code' | 'terminal' | 'api' | 'extension' | 'web' | 'language' | 'public' | 'link' | 'shopping_cart' | 'shopping_bag' | 'store' | 'inventory' | 'inventory_2' | 'payments' | 'payment' | 'credit_card' | 'receipt' | 'receipt_long' | 'sell' | 'local_shipping' | 'analytics' | 'bar_chart' | 'pie_chart' | 'query_stats' | 'monitoring' | 'trending_up' | 'history' | 'schedule' | 'calendar_month' | 'build' | 'tune' | 'apps' | 'widgets' | 'category' | 'supervisor_account' | 'approval' | 'family_group' | 'recent_actors';
|
|
572
|
+
type MaterialIcon = 'manage_accounts' | 'dashboard' | 'home' | 'settings' | 'admin_panel_settings' | 'person' | 'people' | 'group' | 'groups' | 'account_circle' | 'login' | 'logout' | 'lock' | 'lock_open' | 'security' | 'key' | 'verified_user' | 'shield' | 'email' | 'mail' | 'inbox' | 'send' | 'campaign' | 'notifications' | 'article' | 'description' | 'edit' | 'add' | 'delete' | 'delete_forever' | 'restore_from_trash' | 'content_copy' | 'save' | 'search' | 'filter_list' | 'refresh' | 'sync' | 'more_vert' | 'more_horiz' | 'menu' | 'close' | 'check' | 'done' | 'warning' | 'error' | 'info' | 'help' | 'visibility' | 'visibility_off' | 'folder' | 'folder_open' | 'upload' | 'download' | 'cloud' | 'cloud_upload' | 'storage' | 'database' | 'dns' | 'code' | 'terminal' | 'api' | 'extension' | 'web' | 'language' | 'public' | 'link' | 'shopping_cart' | 'shopping_bag' | 'store' | 'inventory' | 'inventory_2' | 'payments' | 'payment' | 'credit_card' | 'receipt' | 'receipt_long' | 'sell' | 'local_shipping' | 'analytics' | 'bar_chart' | 'pie_chart' | 'query_stats' | 'monitoring' | 'trending_up' | 'history' | 'schedule' | 'calendar_month' | 'build' | 'tune' | 'apps' | 'widgets' | 'category' | 'supervisor_account' | 'approval' | 'family_group' | 'recent_actors' | 'perm_media';
|
|
570
573
|
interface TaonAdminRouteOptions {
|
|
571
574
|
path: string;
|
|
572
575
|
color?: string;
|
|
@@ -657,6 +660,7 @@ declare class TaonBackofficeNotificationsComponent {
|
|
|
657
660
|
t: Translation;
|
|
658
661
|
private readonly notification;
|
|
659
662
|
private readonly destroyRef;
|
|
663
|
+
private readonly taonAdminService;
|
|
660
664
|
filter: (err: HttpResponseError<RestErrorResponseWrapper>) => HttpResponseError<RestErrorResponseWrapper>;
|
|
661
665
|
constructor();
|
|
662
666
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaonBackofficeNotificationsComponent, never>;
|
|
@@ -777,8 +781,11 @@ declare class TaonDatatableComponent implements OnInit {
|
|
|
777
781
|
private readonly reload$;
|
|
778
782
|
private readonly searchChange$;
|
|
779
783
|
readonly data$: Observable<any[]>;
|
|
784
|
+
expandedRows: Set<any>;
|
|
780
785
|
get entity(): typeof TaonBaseEntity | undefined;
|
|
781
786
|
get filterableColumns(): MtxGridColumn[];
|
|
787
|
+
onExpansionChange(event: any): void;
|
|
788
|
+
isExpanded(row: any): boolean;
|
|
782
789
|
ngOnInit(): void;
|
|
783
790
|
searchChanged(value: string): void;
|
|
784
791
|
clearSearch(): void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
-
export declare class TaonHorizontalWheelScrollDirective implements AfterViewInit, OnDestroy {
|
|
3
|
-
private readonly elementRef;
|
|
4
|
-
private wheelAccumulator;
|
|
5
|
-
/**
|
|
6
|
-
* Amount of wheel movement required before triggering
|
|
7
|
-
* Material's previous/next pagination.
|
|
8
|
-
*/
|
|
9
|
-
private readonly wheelThreshold;
|
|
10
|
-
ngAfterViewInit(): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
private readonly onWheel;
|
|
13
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Route, Router, Routes } from '@angular/router';
|
|
3
|
-
export declare class TaonAdminLayoutComponent implements OnInit {
|
|
4
|
-
private readonly router;
|
|
5
|
-
routes: Routes;
|
|
6
|
-
basePath: string;
|
|
7
|
-
outlet: string;
|
|
8
|
-
/**
|
|
9
|
-
* Children discovered for each level-1 route.
|
|
10
|
-
*
|
|
11
|
-
* Session -> [Tracking, Providers]
|
|
12
|
-
* Users -> [Manager]
|
|
13
|
-
*/
|
|
14
|
-
protected readonly level2Routes: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<Map<Route, Routes>>;
|
|
15
|
-
protected readonly currentUrl: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
16
|
-
protected readonly loadingRoutes: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<Set<Route>>;
|
|
17
|
-
protected readonly asideOpened: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
18
|
-
private get basePathSegments();
|
|
19
|
-
constructor(router: Router);
|
|
20
|
-
protected toggleAside(): void;
|
|
21
|
-
protected closeAside(): void;
|
|
22
|
-
ngOnInit(): Promise<void>;
|
|
23
|
-
protected level1Clicked(route: Route): Promise<void>;
|
|
24
|
-
protected level2Clicked(level1: Route, level2: Route): Promise<void>;
|
|
25
|
-
private outletBaseMatrixParams;
|
|
26
|
-
private navigateTo;
|
|
27
|
-
private closeAsideOnMobile;
|
|
28
|
-
protected panelExpanded(route: Route, expanded: boolean): Promise<void>;
|
|
29
|
-
protected isLevel1Active(route: Route): boolean;
|
|
30
|
-
protected getLevel2Routes(route: Route): Routes;
|
|
31
|
-
protected isLevel2Active(level1: Route, level2: Route): boolean;
|
|
32
|
-
protected level2Link(level1: Route, level2: Route): string[];
|
|
33
|
-
private ensureLevel2Loaded;
|
|
34
|
-
private loadRouteChildren;
|
|
35
|
-
/**
|
|
36
|
-
* Removes structural path:'' wrappers.
|
|
37
|
-
*
|
|
38
|
-
* [
|
|
39
|
-
* {
|
|
40
|
-
* path: '',
|
|
41
|
-
* component: SessionComponent,
|
|
42
|
-
* children: [...]
|
|
43
|
-
* }
|
|
44
|
-
* ]
|
|
45
|
-
*
|
|
46
|
-
* becomes:
|
|
47
|
-
*
|
|
48
|
-
* [...]
|
|
49
|
-
*/
|
|
50
|
-
private unwrapEmptyPathRoutes;
|
|
51
|
-
private loadCurrentLevel1Route;
|
|
52
|
-
protected label(route: Route): string;
|
|
53
|
-
protected color(route: Route): string;
|
|
54
|
-
protected icon(route: Route): string | undefined;
|
|
55
|
-
protected isLoading(route: Route): boolean;
|
|
56
|
-
private isPathActive;
|
|
57
|
-
private currentRelativeSegments;
|
|
58
|
-
private currentOutletSegments;
|
|
59
|
-
protected isExpandable(route: Route): boolean;
|
|
60
|
-
protected get normalizedBasePath(): string;
|
|
61
|
-
private cleanUrl;
|
|
62
|
-
private setLoading;
|
|
63
|
-
private startCase;
|
|
64
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Route, Router, Routes } from '@angular/router';
|
|
3
|
-
export interface TaonAdminTabLevel {
|
|
4
|
-
level: number;
|
|
5
|
-
routes: Routes;
|
|
6
|
-
/**
|
|
7
|
-
* URL segments before routes from this tab level.
|
|
8
|
-
*
|
|
9
|
-
* Example:
|
|
10
|
-
*
|
|
11
|
-
* ['main', 'session', 'providers']
|
|
12
|
-
*/
|
|
13
|
-
baseSegments: string[];
|
|
14
|
-
}
|
|
15
|
-
export declare class TaonAdminPageTabsComponent implements OnInit {
|
|
16
|
-
private readonly router;
|
|
17
|
-
routes: Routes;
|
|
18
|
-
basePath: string;
|
|
19
|
-
/**
|
|
20
|
-
* Undefined:
|
|
21
|
-
* normal primary routing
|
|
22
|
-
*
|
|
23
|
-
* "admin":
|
|
24
|
-
* auxiliary admin outlet
|
|
25
|
-
*/
|
|
26
|
-
outlet?: string;
|
|
27
|
-
protected readonly levels: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonAdminTabLevel[]>;
|
|
28
|
-
constructor(router: Router);
|
|
29
|
-
ngOnInit(): Promise<void>;
|
|
30
|
-
protected label(route: Route): string;
|
|
31
|
-
protected isActive(level: TaonAdminTabLevel, route: Route): boolean;
|
|
32
|
-
protected tabClicked(level: TaonAdminTabLevel, route: Route): Promise<void>;
|
|
33
|
-
private outletBaseMatrixParams;
|
|
34
|
-
private navigateTo;
|
|
35
|
-
private refresh;
|
|
36
|
-
private walk;
|
|
37
|
-
private loadChildren;
|
|
38
|
-
/**
|
|
39
|
-
* Removes transparent path:'' containers.
|
|
40
|
-
*
|
|
41
|
-
* Example:
|
|
42
|
-
*
|
|
43
|
-
* [
|
|
44
|
-
* {
|
|
45
|
-
* path: '',
|
|
46
|
-
* component: ProvidersComponent,
|
|
47
|
-
* children: [
|
|
48
|
-
* { path: 'info' },
|
|
49
|
-
* { path: 'items' },
|
|
50
|
-
* ],
|
|
51
|
-
* },
|
|
52
|
-
* ]
|
|
53
|
-
*
|
|
54
|
-
* becomes:
|
|
55
|
-
*
|
|
56
|
-
* [
|
|
57
|
-
* { path: 'info' },
|
|
58
|
-
* { path: 'items' },
|
|
59
|
-
* ]
|
|
60
|
-
*/
|
|
61
|
-
private unwrapEmptyPathRoutes;
|
|
62
|
-
private navigationRoutes;
|
|
63
|
-
private currentOutletSegments;
|
|
64
|
-
private get basePathSegments();
|
|
65
|
-
private startCase;
|
|
66
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Translation } from '@taon-dev/i18n';
|
|
2
|
-
import { HttpResponseError, RestErrorResponseWrapper } from 'ng2-rest';
|
|
3
|
-
export declare class TaonBackofficeNotificationsComponent {
|
|
4
|
-
t: Translation;
|
|
5
|
-
private readonly notification;
|
|
6
|
-
private readonly destroyRef;
|
|
7
|
-
filter: (err: HttpResponseError<RestErrorResponseWrapper>) => HttpResponseError<RestErrorResponseWrapper>;
|
|
8
|
-
constructor();
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TaonNotificationInput } from './taon-backoffice-notifications.models';
|
|
2
|
-
export declare class TaonBackofficeNotificationsService {
|
|
3
|
-
private readonly toast;
|
|
4
|
-
private normalize;
|
|
5
|
-
success(input: TaonNotificationInput): import("@ngneat/hot-toast").CreateHotToastRef<unknown>;
|
|
6
|
-
error(input: TaonNotificationInput): import("@ngneat/hot-toast").CreateHotToastRef<unknown>;
|
|
7
|
-
warn(input: TaonNotificationInput): import("@ngneat/hot-toast").CreateHotToastRef<unknown>;
|
|
8
|
-
info(input: TaonNotificationInput): import("@ngneat/hot-toast").CreateHotToastRef<unknown>;
|
|
9
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface TaonErrorDetailsDialogData {
|
|
2
|
-
message: string;
|
|
3
|
-
details: string;
|
|
4
|
-
}
|
|
5
|
-
type TaonEditor = 'vscode' | 'vscodium';
|
|
6
|
-
interface TaonStackTraceLine {
|
|
7
|
-
text: string;
|
|
8
|
-
file?: string;
|
|
9
|
-
line?: number;
|
|
10
|
-
column?: number;
|
|
11
|
-
}
|
|
12
|
-
export declare class TaonErrorDetailsDialogComponent {
|
|
13
|
-
readonly data: TaonErrorDetailsDialogData;
|
|
14
|
-
private readonly editorStorageKey;
|
|
15
|
-
editor: TaonEditor;
|
|
16
|
-
readonly stackLines: TaonStackTraceLine[];
|
|
17
|
-
setEditor(editor: TaonEditor): void;
|
|
18
|
-
private loadEditor;
|
|
19
|
-
private parseStackTrace;
|
|
20
|
-
private parseStackTraceLine;
|
|
21
|
-
openStackLine(stackLine: TaonStackTraceLine): void;
|
|
22
|
-
private createEditorUrl;
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface TaonConfirmDialogData {
|
|
2
|
-
title: string;
|
|
3
|
-
message?: string;
|
|
4
|
-
confirmText?: string;
|
|
5
|
-
cancelText?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare class TaonConfirmDialogComponent {
|
|
8
|
-
readonly data: TaonConfirmDialogData;
|
|
9
|
-
private readonly dialogRef;
|
|
10
|
-
cancel(): void;
|
|
11
|
-
confirm(): void;
|
|
12
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
3
|
-
import { MtxGridColumn } from '@ng-matero/extensions/grid';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { TaonBaseCrudController, TaonBaseEntity, TaonPaginationSort } from 'taon';
|
|
6
|
-
type SearchMode = 'simple' | 'advanced';
|
|
7
|
-
export declare class TaonDatatableComponent implements OnInit {
|
|
8
|
-
private readonly cdr;
|
|
9
|
-
private readonly destroyRef;
|
|
10
|
-
pageNumber: number;
|
|
11
|
-
pageSize: number;
|
|
12
|
-
pageSizeOptions: number[];
|
|
13
|
-
allowedColumns: string[];
|
|
14
|
-
expansionTemplate?: TemplateRef<any>;
|
|
15
|
-
entityCrudController?: TaonBaseCrudController<any>;
|
|
16
|
-
columns: MtxGridColumn[];
|
|
17
|
-
hideSearch: boolean;
|
|
18
|
-
hideAddButton: boolean;
|
|
19
|
-
safe: boolean;
|
|
20
|
-
searchMode: SearchMode;
|
|
21
|
-
/**
|
|
22
|
-
* Optional custom backend pagination method.
|
|
23
|
-
*/
|
|
24
|
-
callQueryMethod?: string;
|
|
25
|
-
private _data?;
|
|
26
|
-
set data(value: any[] | undefined | null);
|
|
27
|
-
get data(): any[] | undefined;
|
|
28
|
-
get offlineMode(): boolean;
|
|
29
|
-
readonly expansionChange: EventEmitter<any>;
|
|
30
|
-
readonly addingItem: EventEmitter<void>;
|
|
31
|
-
rows: any[];
|
|
32
|
-
totalElements: number;
|
|
33
|
-
isLoading: boolean;
|
|
34
|
-
expandable: boolean;
|
|
35
|
-
showPaginator: boolean;
|
|
36
|
-
advancedSearchOpened: boolean;
|
|
37
|
-
searchValue: string;
|
|
38
|
-
columnFilters: Record<string, string>;
|
|
39
|
-
sort?: TaonPaginationSort;
|
|
40
|
-
private readonly reload$;
|
|
41
|
-
private readonly searchChange$;
|
|
42
|
-
readonly data$: Observable<any[]>;
|
|
43
|
-
get entity(): typeof TaonBaseEntity | undefined;
|
|
44
|
-
get filterableColumns(): MtxGridColumn[];
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
searchChanged(value: string): void;
|
|
47
|
-
clearSearch(): void;
|
|
48
|
-
applyAdvancedFilters(): void;
|
|
49
|
-
toggleAdvancedSearch(): void;
|
|
50
|
-
getNextPage(event: PageEvent): void;
|
|
51
|
-
sortChanged(event: any): void;
|
|
52
|
-
reload(): void;
|
|
53
|
-
private getFieldValue;
|
|
54
|
-
private loadOfflineData;
|
|
55
|
-
private loadData;
|
|
56
|
-
private cleanFilters;
|
|
57
|
-
private prepareRows;
|
|
58
|
-
private prepareColumns;
|
|
59
|
-
}
|
|
60
|
-
export {};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { TaonDraggableButtonPanelState } from './taon-draggable-button-panel.models';
|
|
4
|
-
export declare class TaonDraggableButtonPanelComponent implements OnInit, OnDestroy {
|
|
5
|
-
private readonly router;
|
|
6
|
-
readonly State: typeof TaonDraggableButtonPanelState;
|
|
7
|
-
private drag?;
|
|
8
|
-
basePath: string;
|
|
9
|
-
buttonIcon: string;
|
|
10
|
-
title: string;
|
|
11
|
-
/**
|
|
12
|
-
* Named outlet containing this panel's application.
|
|
13
|
-
*
|
|
14
|
-
* Example:
|
|
15
|
-
*
|
|
16
|
-
* outlet="admin"
|
|
17
|
-
*
|
|
18
|
-
* /products/42(admin:main;state=WINDOW/session/providers)
|
|
19
|
-
*/
|
|
20
|
-
outlet?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Matrix parameter used for persisting the panel state.
|
|
23
|
-
*/
|
|
24
|
-
stateParamName: string;
|
|
25
|
-
set state(state: TaonDraggableButtonPanelState);
|
|
26
|
-
readonly stateChange: EventEmitter<TaonDraggableButtonPanelState>;
|
|
27
|
-
protected readonly forceFullScreen: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
28
|
-
private readonly resizeListener;
|
|
29
|
-
protected readonly currentState: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonDraggableButtonPanelState>;
|
|
30
|
-
private routerSubscription?;
|
|
31
|
-
constructor(router: Router);
|
|
32
|
-
ngOnInit(): Promise<void>;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
protected toogleFullscreen(event: Event): void;
|
|
35
|
-
protected effectiveState(): TaonDraggableButtonPanelState;
|
|
36
|
-
private waitForInitialNavigation;
|
|
37
|
-
private ensureOutletBasePath;
|
|
38
|
-
protected setState(next: TaonDraggableButtonPanelState): Promise<void>;
|
|
39
|
-
protected open(): void;
|
|
40
|
-
protected returnToButton(): void;
|
|
41
|
-
protected windowMode(): void;
|
|
42
|
-
protected fullScreenDraggable(): void;
|
|
43
|
-
protected lockFullScreen(): void;
|
|
44
|
-
protected isDraggingEnabled(): boolean;
|
|
45
|
-
private restoreStateFromUrl;
|
|
46
|
-
private saveStateToUrl;
|
|
47
|
-
private isValidState;
|
|
48
|
-
private resetDragPosition;
|
|
49
|
-
private isTransitionAllowed;
|
|
50
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Routes } from '@angular/router';
|
|
2
|
-
export declare const TaonDraggableButtonPanelRoutes: Routes;
|
|
3
|
-
/**
|
|
4
|
-
* By default exporting TaonDraggableButtonPanelRoutes,
|
|
5
|
-
* the command `taon generate:app:routes`
|
|
6
|
-
* will automatically add them to the root routes in ./src/app.ts.
|
|
7
|
-
*/
|
|
8
|
-
export default TaonDraggableButtonPanelRoutes;
|