@taon-dev/ui 21.0.5 → 21.0.7
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/browser/fesm2022/ui-browser.mjs +1 -1
- package/browser/fesm2022/ui-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/ui-browser.d.ts +1 -1
- package/browser-prod/fesm2022/ui-browser-prod.mjs +1 -1
- 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 +1 -1
- 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-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-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-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/websql/fesm2022/ui-websql.mjs +1 -1
- package/websql/fesm2022/ui-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/ui-websql.d.ts +1 -1
- package/websql-prod/fesm2022/ui-websql-prod.mjs +1 -1
- 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 +1 -1
- package/lib/directives/taon-horizontal-wheel-scrolling.directive.d.ts +0 -13
- package/lib/taon-admin-layout/taon-admin-layout.component.d.ts +0 -67
- 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 -10
- 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 -63
- 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
|
@@ -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.7";
|
|
452
452
|
|
|
453
453
|
declare function myOrgProj(): void;
|
|
454
454
|
|
|
@@ -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,67 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Route, Router, Routes } from '@angular/router';
|
|
3
|
-
export declare class TaonAdminLayoutComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
4
|
-
private readonly router;
|
|
5
|
-
private readonly hostElement;
|
|
6
|
-
routes: Routes;
|
|
7
|
-
basePath: string;
|
|
8
|
-
outlet: string;
|
|
9
|
-
protected readonly layoutWidth: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<number>;
|
|
10
|
-
protected readonly layoutHeight: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<number>;
|
|
11
|
-
protected readonly level2Routes: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<Map<Route, Routes>>;
|
|
12
|
-
protected readonly currentUrl: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
13
|
-
protected readonly loadingRoutes: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<Set<Route>>;
|
|
14
|
-
protected readonly asideOpened: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
15
|
-
private resizeObserver?;
|
|
16
|
-
private mutationObserver?;
|
|
17
|
-
private resizing;
|
|
18
|
-
private resizeStartX;
|
|
19
|
-
private resizeStartY;
|
|
20
|
-
private resizeStartWidth;
|
|
21
|
-
private resizeStartHeight;
|
|
22
|
-
private readonly minDialogWidth;
|
|
23
|
-
private readonly minDialogHeight;
|
|
24
|
-
protected get isDialogMode(): boolean;
|
|
25
|
-
private get basePathSegments();
|
|
26
|
-
protected get normalizedBasePath(): string;
|
|
27
|
-
constructor(router: Router, hostElement: ElementRef<HTMLElement>);
|
|
28
|
-
ngOnInit(): Promise<void>;
|
|
29
|
-
ngAfterViewInit(): void;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
private getWindowElement;
|
|
32
|
-
private getDraggablePanelElement;
|
|
33
|
-
private startWindowObservers;
|
|
34
|
-
private windowModeChanged;
|
|
35
|
-
private clearWindowResize;
|
|
36
|
-
protected windowResized(): void;
|
|
37
|
-
private updateLayoutSize;
|
|
38
|
-
protected startResize(event: PointerEvent): void;
|
|
39
|
-
private readonly resize;
|
|
40
|
-
private readonly stopResize;
|
|
41
|
-
protected toggleAside(): void;
|
|
42
|
-
protected closeAside(): void;
|
|
43
|
-
private closeAsideOnMobile;
|
|
44
|
-
protected level1Clicked(route: Route): Promise<void>;
|
|
45
|
-
protected panelExpanded(route: Route, expanded: boolean): Promise<void>;
|
|
46
|
-
protected isLevel1Active(route: Route): boolean;
|
|
47
|
-
protected level2Clicked(level1: Route, level2: Route): Promise<void>;
|
|
48
|
-
protected getLevel2Routes(route: Route): Routes;
|
|
49
|
-
protected isLevel2Active(level1: Route, level2: Route): boolean;
|
|
50
|
-
protected level2Link(level1: Route, level2: Route): string[];
|
|
51
|
-
private outletBaseMatrixParams;
|
|
52
|
-
private navigateTo;
|
|
53
|
-
private ensureLevel2Loaded;
|
|
54
|
-
private loadRouteChildren;
|
|
55
|
-
private unwrapEmptyPathRoutes;
|
|
56
|
-
private loadCurrentLevel1Route;
|
|
57
|
-
protected label(route: Route): string;
|
|
58
|
-
protected color(route: Route): string;
|
|
59
|
-
protected icon(route: Route): string | undefined;
|
|
60
|
-
protected isLoading(route: Route): boolean;
|
|
61
|
-
protected isExpandable(route: Route): boolean;
|
|
62
|
-
private isPathActive;
|
|
63
|
-
private currentRelativeSegments;
|
|
64
|
-
private currentOutletSegments;
|
|
65
|
-
private setLoading;
|
|
66
|
-
private startCase;
|
|
67
|
-
}
|
|
@@ -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,10 +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
|
-
private readonly taonAdminService;
|
|
8
|
-
filter: (err: HttpResponseError<RestErrorResponseWrapper>) => HttpResponseError<RestErrorResponseWrapper>;
|
|
9
|
-
constructor();
|
|
10
|
-
}
|
|
@@ -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,63 +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
|
-
expandedRows: Set<any>;
|
|
44
|
-
get entity(): typeof TaonBaseEntity | undefined;
|
|
45
|
-
get filterableColumns(): MtxGridColumn[];
|
|
46
|
-
onExpansionChange(event: any): void;
|
|
47
|
-
isExpanded(row: any): boolean;
|
|
48
|
-
ngOnInit(): void;
|
|
49
|
-
searchChanged(value: string): void;
|
|
50
|
-
clearSearch(): void;
|
|
51
|
-
applyAdvancedFilters(): void;
|
|
52
|
-
toggleAdvancedSearch(): void;
|
|
53
|
-
getNextPage(event: PageEvent): void;
|
|
54
|
-
sortChanged(event: any): void;
|
|
55
|
-
reload(): void;
|
|
56
|
-
private getFieldValue;
|
|
57
|
-
private loadOfflineData;
|
|
58
|
-
private loadData;
|
|
59
|
-
private cleanFilters;
|
|
60
|
-
private prepareRows;
|
|
61
|
-
private prepareColumns;
|
|
62
|
-
}
|
|
63
|
-
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;
|