ng-configcat-publicapi-ui 2.7.0 → 2.8.2
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/esm2020/lib/_services/public-api.service.mjs +4 -1
- package/esm2020/lib/authorization/authorization.component.mjs +9 -3
- package/esm2020/lib/configuration.mjs +2 -1
- package/esm2020/lib/dialogs/concurrent-dialog/concurrent-dialog.component.mjs +3 -3
- package/esm2020/lib/dialogs/expand-dialog/expand-dialog.component.mjs +3 -3
- package/esm2020/lib/dialogs/reason-dialog/reason-dialog.component.mjs +3 -3
- package/esm2020/lib/setting-item/setting-item.component.mjs +4 -3
- package/esm2020/lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component.mjs +2 -2
- package/esm2020/lib/setting-list/setting/rollout-rules/rollout-rules.component.mjs +2 -2
- package/esm2020/lib/setting-list/setting/setting.component.mjs +16 -4
- package/esm2020/lib/setting-list/setting/value/value.component.mjs +2 -2
- package/esm2020/lib/setting-list/setting-list.component.mjs +13 -4
- package/fesm2015/ng-configcat-publicapi-ui.mjs +55 -22
- package/fesm2015/ng-configcat-publicapi-ui.mjs.map +1 -1
- package/fesm2020/ng-configcat-publicapi-ui.mjs +54 -22
- package/fesm2020/ng-configcat-publicapi-ui.mjs.map +1 -1
- package/lib/_services/public-api.service.d.ts +1 -0
- package/lib/authorization/authorization.component.d.ts +3 -1
- package/lib/configuration.d.ts +1 -0
- package/lib/setting-item/setting-item.component.d.ts +1 -0
- package/lib/setting-list/setting/setting.component.d.ts +6 -1
- package/lib/setting-list/setting-list.component.d.ts +5 -1
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export declare class PublicApiService {
|
|
|
14
14
|
createSettingValuesService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): FeatureFlagSettingValuesService;
|
|
15
15
|
createIntegrationLinksService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): IntegrationLinksService;
|
|
16
16
|
createSegmentsService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): SegmentsService;
|
|
17
|
+
getDashboardBasePath(): string;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<PublicApiService, [null, { optional: true; }]>;
|
|
18
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<PublicApiService>;
|
|
19
20
|
}
|
|
@@ -8,11 +8,13 @@ export declare class AuthorizationComponent implements OnInit {
|
|
|
8
8
|
private publicApiService;
|
|
9
9
|
formGroup: FormGroup;
|
|
10
10
|
basePath: null;
|
|
11
|
+
integrationName: string;
|
|
11
12
|
authorized: EventEmitter<any>;
|
|
12
13
|
FormHelper: typeof FormHelper;
|
|
13
14
|
constructor(formBuilder: FormBuilder, publicApiService: PublicApiService);
|
|
14
15
|
ngOnInit(): void;
|
|
15
16
|
onSubmit(): void;
|
|
17
|
+
getPublicApiUrl(): string;
|
|
16
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthorizationComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuthorizationComponent, "configcat-authorization", never, { "basePath": "basePath"; }, { "authorized": "authorized"; }, never, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthorizationComponent, "configcat-authorization", never, { "basePath": "basePath"; "integrationName": "integrationName"; }, { "authorized": "authorized"; }, never, never>;
|
|
18
20
|
}
|
package/lib/configuration.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export declare class Configuration {
|
|
|
3
3
|
basicAuthUsername?: string;
|
|
4
4
|
basicAuthPassword?: string;
|
|
5
5
|
basePath: string;
|
|
6
|
+
dashboardBasePath: string;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<Configuration, never>;
|
|
7
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<Configuration>;
|
|
8
9
|
}
|
|
@@ -23,6 +23,7 @@ export declare class SettingItemComponent extends BaseComponent implements OnIni
|
|
|
23
23
|
formValuesChanged: EventEmitter<any>;
|
|
24
24
|
settingValue: SettingValueModel;
|
|
25
25
|
segments: SegmentListModel[];
|
|
26
|
+
dashboardBasePath: string;
|
|
26
27
|
constructor(publicApiService: PublicApiService);
|
|
27
28
|
ngOnInit(): void;
|
|
28
29
|
loadSettingValues: () => Observable<SettingValuesModel>;
|
|
@@ -6,6 +6,10 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class SettingComponent implements OnInit {
|
|
7
7
|
private formHelper;
|
|
8
8
|
private cdRef;
|
|
9
|
+
dashboardBasePath: string;
|
|
10
|
+
productId: string;
|
|
11
|
+
environmentId: string;
|
|
12
|
+
configId: string;
|
|
9
13
|
formGroup: FormGroup;
|
|
10
14
|
readOnly: boolean;
|
|
11
15
|
canEditSetting: boolean;
|
|
@@ -37,6 +41,7 @@ export declare class SettingComponent implements OnInit {
|
|
|
37
41
|
removeRolloutPercentageItems(): void;
|
|
38
42
|
editSetting(): void;
|
|
39
43
|
deleteSetting(): void;
|
|
44
|
+
getDashboardUrl(): string;
|
|
40
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<SettingComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingComponent, "setting", never, { "formGroup": "formGroup"; "readOnly": "readOnly"; "canEditSetting": "canEditSetting"; "canDeleteSetting": "canDeleteSetting"; "deleteSettingText": "deleteSettingText"; "showEnvironmentName": "showEnvironmentName"; "segments": "segments"; }, { "editSettingRequested": "editSettingRequested"; "deleteSettingRequested": "deleteSettingRequested"; }, never, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingComponent, "setting", never, { "dashboardBasePath": "dashboardBasePath"; "productId": "productId"; "environmentId": "environmentId"; "configId": "configId"; "formGroup": "formGroup"; "readOnly": "readOnly"; "canEditSetting": "canEditSetting"; "canDeleteSetting": "canDeleteSetting"; "deleteSettingText": "deleteSettingText"; "showEnvironmentName": "showEnvironmentName"; "segments": "segments"; }, { "editSettingRequested": "editSettingRequested"; "deleteSettingRequested": "deleteSettingRequested"; }, never, never>;
|
|
42
47
|
}
|
|
@@ -11,6 +11,10 @@ export declare class SettingListComponent implements OnInit, OnChanges, OnDestro
|
|
|
11
11
|
private formHelper;
|
|
12
12
|
private snackBar;
|
|
13
13
|
private dialog;
|
|
14
|
+
productId: string;
|
|
15
|
+
environmentId: string;
|
|
16
|
+
configId: string;
|
|
17
|
+
dashboardBasePath: string;
|
|
14
18
|
canEditSetting: boolean;
|
|
15
19
|
canDeleteSetting: boolean;
|
|
16
20
|
onSave: (value: UpdateSettingValuesModel) => Observable<SettingValuesModel>;
|
|
@@ -45,5 +49,5 @@ export declare class SettingListComponent implements OnInit, OnChanges, OnDestro
|
|
|
45
49
|
onEditSettingRequested(setting: any): void;
|
|
46
50
|
onDeleteSettingRequested(setting: any): void;
|
|
47
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<SettingListComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingListComponent, "configcat-setting-list", never, { "canEditSetting": "canEditSetting"; "canDeleteSetting": "canDeleteSetting"; "onSave": "onSave"; "loadSettingValues": "loadSettingValues"; "loadSegments": "loadSegments"; "deleteSettingText": "deleteSettingText"; "showEnvironmentName": "showEnvironmentName"; }, { "editSettingRequested": "editSettingRequested"; "deleteSettingRequested": "deleteSettingRequested"; "formValuesChanged": "formValuesChanged"; }, never, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingListComponent, "configcat-setting-list", never, { "productId": "productId"; "environmentId": "environmentId"; "configId": "configId"; "dashboardBasePath": "dashboardBasePath"; "canEditSetting": "canEditSetting"; "canDeleteSetting": "canDeleteSetting"; "onSave": "onSave"; "loadSettingValues": "loadSettingValues"; "loadSegments": "loadSegments"; "deleteSettingText": "deleteSettingText"; "showEnvironmentName": "showEnvironmentName"; }, { "editSettingRequested": "editSettingRequested"; "deleteSettingRequested": "deleteSettingRequested"; "formValuesChanged": "formValuesChanged"; }, never, never>;
|
|
49
53
|
}
|