ng-configcat-publicapi-ui
Advanced tools
import { HttpClient } from '@angular/common/http'; | ||
import { ProductsService, EnvironmentsService, ConfigsService, FeatureFlagsSettingsService, FeatureFlagSettingValuesService, MeService, IntegrationLinksService } from 'ng-configcat-publicapi'; | ||
import { ProductsService, EnvironmentsService, ConfigsService, FeatureFlagsSettingsService, FeatureFlagSettingValuesService, MeService, IntegrationLinksService, SegmentsService } from 'ng-configcat-publicapi'; | ||
import { Configuration } from '../configuration'; | ||
@@ -16,4 +16,5 @@ import * as i0 from "@angular/core"; | ||
createIntegrationLinksService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): IntegrationLinksService; | ||
createSegmentsService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): SegmentsService; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PublicApiService, [null, { optional: true; }]>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<PublicApiService>; | ||
} |
@@ -14,4 +14,5 @@ import { PublicApiService } from '../_services/public-api.service'; | ||
protected createSettingValuesService(): import("ng-configcat-publicapi").FeatureFlagSettingValuesService; | ||
protected createSegmentsService(): import("ng-configcat-publicapi").SegmentsService; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "base", never, { "basePath": "basePath"; "basicAuthUsername": "basicAuthUsername"; "basicAuthPassword": "basicAuthPassword"; }, {}, never, never>; | ||
} |
import { OnInit, EventEmitter } from '@angular/core'; | ||
import { BaseComponent } from '../base/base.component'; | ||
import { SettingValueModel } from 'ng-configcat-publicapi'; | ||
import { SegmentListModel, SettingValueModel } from 'ng-configcat-publicapi'; | ||
import { Observable } from 'rxjs'; | ||
@@ -17,2 +17,3 @@ import { PublicApiService } from '../_services'; | ||
showEnvironmentName: boolean; | ||
segmentsEnabled: boolean; | ||
editSettingRequested: EventEmitter<any>; | ||
@@ -26,5 +27,7 @@ deleteSettingRequested: EventEmitter<any>; | ||
settingValue: SettingValueModel; | ||
segments: SegmentListModel[]; | ||
constructor(publicApiService: PublicApiService); | ||
ngOnInit(): void; | ||
loadSettingValues: () => Observable<SettingValuesModel>; | ||
loadSegments: () => Observable<SegmentListModel[]>; | ||
handleSave: (model: UpdateSettingValuesModel) => Observable<SettingValuesModel>; | ||
@@ -35,3 +38,3 @@ onEditSettingRequested(setting: any): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<SettingItemComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<SettingItemComponent, "configcat-setting-item", never, { "productId": "productId"; "environmentId": "environmentId"; "configId": "configId"; "settingId": "settingId"; "canEditSetting": "canEditSetting"; "canDeleteSetting": "canDeleteSetting"; "deleteSettingText": "deleteSettingText"; "showEnvironmentName": "showEnvironmentName"; }, { "editSettingRequested": "editSettingRequested"; "deleteSettingRequested": "deleteSettingRequested"; "loadSucceeded": "loadSucceeded"; "loadFailed": "loadFailed"; "saveSucceeded": "saveSucceeded"; "saveFailed": "saveFailed"; "formValuesChanged": "formValuesChanged"; }, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<SettingItemComponent, "configcat-setting-item", never, { "productId": "productId"; "environmentId": "environmentId"; "configId": "configId"; "settingId": "settingId"; "canEditSetting": "canEditSetting"; "canDeleteSetting": "canDeleteSetting"; "deleteSettingText": "deleteSettingText"; "showEnvironmentName": "showEnvironmentName"; "segmentsEnabled": "segmentsEnabled"; }, { "editSettingRequested": "editSettingRequested"; "deleteSettingRequested": "deleteSettingRequested"; "loadSucceeded": "loadSucceeded"; "loadFailed": "loadFailed"; "saveSucceeded": "saveSucceeded"; "saveFailed": "saveFailed"; "formValuesChanged": "formValuesChanged"; }, never, never>; | ||
} |
@@ -8,2 +8,3 @@ import { OnInit, EventEmitter, OnDestroy, OnChanges } from '@angular/core'; | ||
import { SettingListFormHelper } from '../_services/setting-list-form-helper'; | ||
import { SegmentListModel } from 'ng-configcat-publicapi'; | ||
import * as i0 from "@angular/core"; | ||
@@ -18,2 +19,3 @@ export declare class SettingListComponent implements OnInit, OnChanges, OnDestroy { | ||
loadSettingValues: () => Observable<SettingValuesModel>; | ||
loadSegments: () => Observable<SegmentListModel[]>; | ||
deleteSettingText: string; | ||
@@ -27,2 +29,3 @@ showEnvironmentName: boolean; | ||
settingValues: SettingValuesModel; | ||
segments: SegmentListModel[]; | ||
formGroup: FormGroup; | ||
@@ -33,2 +36,3 @@ submitting: boolean; | ||
readOnly: boolean; | ||
segmentsEnabled: boolean; | ||
constructor(formHelper: SettingListFormHelper, snackBar: MatSnackBar, dialog: MatDialog); | ||
@@ -49,3 +53,3 @@ ngOnInit(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<SettingListComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<SettingListComponent, "configcat-setting-list", never, { "canEditSetting": "canEditSetting"; "canDeleteSetting": "canDeleteSetting"; "onSave": "onSave"; "loadSettingValues": "loadSettingValues"; "deleteSettingText": "deleteSettingText"; "showEnvironmentName": "showEnvironmentName"; }, { "editSettingRequested": "editSettingRequested"; "deleteSettingRequested": "deleteSettingRequested"; "formValuesChanged": "formValuesChanged"; }, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<SettingListComponent, "configcat-setting-list", never, { "canEditSetting": "canEditSetting"; "canDeleteSetting": "canDeleteSetting"; "onSave": "onSave"; "loadSettingValues": "loadSettingValues"; "loadSegments": "loadSegments"; "deleteSettingText": "deleteSettingText"; "showEnvironmentName": "showEnvironmentName"; "segmentsEnabled": "segmentsEnabled"; }, { "editSettingRequested": "editSettingRequested"; "deleteSettingRequested": "deleteSettingRequested"; "formValuesChanged": "formValuesChanged"; }, never, never>; | ||
} |
import { FormGroup, FormControl, FormArray } from '@angular/forms'; | ||
import { MatDialog } from '@angular/material/dialog'; | ||
import { SettingType, RolloutRuleComparator } from 'ng-configcat-publicapi'; | ||
import { SettingType, RolloutRuleComparator, SegmentListModel, SegmentComparator } from 'ng-configcat-publicapi'; | ||
import * as i0 from "@angular/core"; | ||
@@ -9,2 +9,3 @@ export declare class RolloutRulesComponent { | ||
readOnly: boolean; | ||
segments: SegmentListModel[]; | ||
SettingType: { | ||
@@ -21,2 +22,6 @@ Boolean: SettingType; | ||
}[]; | ||
segmentComparators: { | ||
value: SegmentComparator; | ||
label: string; | ||
}[]; | ||
constructor(dialog: MatDialog); | ||
@@ -51,5 +56,8 @@ onlyFirstTooltip(): boolean; | ||
getRolloutRuleComparisonAttributeFormControl(rolloutRule: any): FormControl; | ||
getRolloutRuleTypeFormControl(rolloutRule: any): FormControl; | ||
getRolloutRuleComparatorFormControl(rolloutRule: any): FormControl; | ||
getRolloutRuleSegmentComparatorFormControl(rolloutRule: any): FormControl; | ||
getRolloutRuleSegmentIdFormControl(rolloutRule: any): FormControl; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<RolloutRulesComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<RolloutRulesComponent, "configcat-rollout-rules", never, { "formGroup": "formGroup"; "readOnly": "readOnly"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<RolloutRulesComponent, "configcat-rollout-rules", never, { "formGroup": "formGroup"; "readOnly": "readOnly"; "segments": "segments"; }, {}, never, never>; | ||
} |
import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core'; | ||
import { FormGroup, FormArray, FormControl } from '@angular/forms'; | ||
import { SettingType } from 'ng-configcat-publicapi'; | ||
import { SegmentListModel, SettingType } from 'ng-configcat-publicapi'; | ||
import { SettingListFormHelper } from '../../_services/setting-list-form-helper'; | ||
@@ -15,2 +15,4 @@ import * as i0 from "@angular/core"; | ||
showEnvironmentName: boolean; | ||
segments: SegmentListModel[]; | ||
segmentsEnabled: boolean; | ||
editSettingRequested: EventEmitter<any>; | ||
@@ -34,2 +36,3 @@ deleteSettingRequested: EventEmitter<any>; | ||
addRolloutRule(): void; | ||
addSegmentRolloutRule(): void; | ||
removeRolloutRules(): void; | ||
@@ -41,3 +44,3 @@ addRolloutPercentageItem(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<SettingComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<SettingComponent, "setting", never, { "formGroup": "formGroup"; "readOnly": "readOnly"; "canEditSetting": "canEditSetting"; "canDeleteSetting": "canDeleteSetting"; "deleteSettingText": "deleteSettingText"; "showEnvironmentName": "showEnvironmentName"; }, { "editSettingRequested": "editSettingRequested"; "deleteSettingRequested": "deleteSettingRequested"; }, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<SettingComponent, "setting", never, { "formGroup": "formGroup"; "readOnly": "readOnly"; "canEditSetting": "canEditSetting"; "canDeleteSetting": "canDeleteSetting"; "deleteSettingText": "deleteSettingText"; "showEnvironmentName": "showEnvironmentName"; "segments": "segments"; "segmentsEnabled": "segmentsEnabled"; }, { "editSettingRequested": "editSettingRequested"; "deleteSettingRequested": "deleteSettingRequested"; }, never, never>; | ||
} |
{ | ||
"name": "ng-configcat-publicapi-ui", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"peerDependencies": { | ||
"@angular/common": "^13.0.0", | ||
"@angular/core": "^13.0.0", | ||
"ng-configcat-publicapi": "^2.6.0", | ||
"@angular/common": "^13.2.0", | ||
"@angular/core": "^13.2.0", | ||
"ng-configcat-publicapi": "^2.7.0", | ||
"semver": "^7.3.5" | ||
@@ -9,0 +9,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1019257
6.33%6326
4.94%0
-100%