verben-authentication-ui 0.9.4 → 0.9.5
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/esm2022/lib/components/button/button.component.mjs +1 -1
- package/esm2022/lib/components/forgot-password/forgot-password.component.mjs +1 -1
- package/esm2022/lib/components/mail-validation/mail-validation.component.mjs +1 -1
- package/esm2022/lib/components/o-auth/o-auth.component.mjs +1 -1
- package/esm2022/lib/components/reset-password/reset-password.component.mjs +1 -1
- package/esm2022/lib/components/role-control/role-control.component.mjs +1 -1
- package/esm2022/lib/components/sign-in/sign-in.component.mjs +1 -1
- package/esm2022/lib/components/sign-up/sign-up.component.mjs +1 -1
- package/esm2022/lib/components/sso/sso-form/sso-form.component.mjs +1 -1
- package/esm2022/lib/components/sso/sso.component.mjs +1 -1
- package/esm2022/lib/components/two-factor-auth-setup/two-factor-auth-setup.component.mjs +1 -1
- package/esm2022/lib/components/user-management/user-management-form/use-management-form.component.mjs +1 -1
- package/esm2022/lib/components/user-management/user-management.component.mjs +2 -2
- package/esm2022/lib/components/user-request/user-request.component.mjs +1 -1
- package/esm2022/lib/components/user-request-approval/user-request-approval.component.mjs +2 -2
- package/esm2022/lib/components/user-request-approval/user-request-form/use-request-form.component.mjs +1 -1
- package/esm2022/lib/models/SearchDynamicWrapper.mjs +2 -0
- package/esm2022/lib/pipes/async-label.pipe.mjs +25 -0
- package/esm2022/lib/services/environment.service.mjs +1 -1
- package/esm2022/lib/services/label.service.mjs +134 -0
- package/esm2022/lib/shared/shared.module.mjs +12 -5
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/verben-authentication-ui.mjs +178 -24
- package/fesm2022/verben-authentication-ui.mjs.map +1 -1
- package/lib/models/SearchDynamicWrapper.d.ts +5 -0
- package/lib/pipes/async-label.pipe.d.ts +11 -0
- package/lib/services/environment.service.d.ts +3 -0
- package/lib/services/label.service.d.ts +15 -0
- package/lib/shared/shared.module.d.ts +5 -3
- package/package.json +3 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { LabelService } from '../services/label.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AsyncLabelPipe implements PipeTransform {
|
|
6
|
+
private labelService;
|
|
7
|
+
constructor(labelService: LabelService);
|
|
8
|
+
transform(code: any, entity: string, labelProp: string, env: string, key?: string): Observable<string>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncLabelPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsyncLabelPipe, "asyncLabel", true>;
|
|
11
|
+
}
|
|
@@ -4,6 +4,9 @@ export declare const ENVIRONMENT: InjectionToken<Environment>;
|
|
|
4
4
|
export interface Environment {
|
|
5
5
|
production: boolean;
|
|
6
6
|
AuthenticationAPI: string;
|
|
7
|
+
ReportingAPI: string;
|
|
8
|
+
MessagingAPI: string;
|
|
9
|
+
WorkflowAPI: string;
|
|
7
10
|
Tenant: string;
|
|
8
11
|
APIKey: string;
|
|
9
12
|
Secret: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpWebRequestService } from './http-web-request.service';
|
|
2
|
+
import { UtilService } from './util.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LabelService {
|
|
5
|
+
private utilService;
|
|
6
|
+
private server;
|
|
7
|
+
private cache;
|
|
8
|
+
private inFlightRequests;
|
|
9
|
+
constructor(utilService: UtilService, server: HttpWebRequestService);
|
|
10
|
+
getAsyncLabel(value: any, entity: string, labelProp: string, env: string, key?: string): Promise<string>;
|
|
11
|
+
getAsyncLabelWithRequestTracking(value: any, entity: string, labelProp: string, env: string, key?: string): Promise<string>;
|
|
12
|
+
getAsyncLabelWithRequestTrackingNoGateway(value: any, entity: string, labelProp: string, env: string, controller: string, key?: string): Promise<string>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LabelService>;
|
|
15
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
3
|
+
import * as i2 from "../pipes/async-label.pipe";
|
|
4
|
+
import * as i3 from "verben-ng-ui";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "verben-reporting-ui";
|
|
5
7
|
export declare class SharedModule {
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.CommonModule], [typeof i1.CommonModule, typeof
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.CommonModule, typeof i2.AsyncLabelPipe], [typeof i1.CommonModule, typeof i3.DataTableModule, typeof i3.CardModule, typeof i3.SvgModule, typeof i3.DataViewModule, typeof i3.CardDataViewModule, typeof i3.SortTableModule, typeof i3.VisibleColumnModule, typeof i3.TableFilterModule, typeof i3.DataExportModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule, typeof i3.VerbenaBadgeModule, typeof i3.VerbenDialogueModule, typeof i3.DropDownModule, typeof i3.VerbenaTextareaModule, typeof i3.VerbenaSwitchModule, typeof i3.VerbenPopUpModule, typeof i3.ChipModule, typeof i2.AsyncLabelPipe, typeof i5.EditorModule]>;
|
|
8
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
9
11
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verben-authentication-ui",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "^18.2.0",
|
|
6
6
|
"@angular/common": "^14.0.0 || ^18.0.0",
|
|
7
7
|
"@angular/core": "^14.0.0 || ^18.0.0",
|
|
8
|
-
"verben-ng-ui": "^0.
|
|
8
|
+
"verben-ng-ui": "^0.8.2",
|
|
9
|
+
"verben-reporting-ui": "^0.0.9"
|
|
9
10
|
},
|
|
10
11
|
"dependencies": {
|
|
11
12
|
"tslib": "^2.3.0"
|