ng-configcat-publicapi-ui 5.3.6 → 5.3.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { InjectionToken, Provider, OnInit, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as ng_configcat_publicapi from 'ng-configcat-publicapi';
|
|
4
|
-
import { MeService, ProductsService, ConfigsService, EnvironmentsService, FeatureFlagsSettingsService, FeatureFlagSettingValuesV2Service, FeatureFlagSettingValuesService, IntegrationLinksService, SegmentsService, OrganizationsService, UserComparator,
|
|
4
|
+
import { MeService, ProductsService, ConfigsService, EnvironmentsService, FeatureFlagsSettingsService, FeatureFlagSettingValuesV2Service, FeatureFlagSettingValuesService, IntegrationLinksService, SegmentsService, OrganizationsService, UserComparator, SegmentComparator, PrerequisiteComparator, SettingType, PredefinedVariationModel, SettingFormulaModel, FeatureFlagLimitations, TargetingRuleModel, PercentageOptionModel, ConditionModel, UserConditionModel, SegmentConditionModel, PrerequisiteFlagConditionModel, ComparisonValueListModel, ComparisonValueModel, ValueModel, UpdateEvaluationFormulaModel, ConfigModel, EnvironmentModel, SettingValueModel, UpdateSettingValueModel, SettingDataModel, SegmentListModel, SettingModel, EvaluationVersion } from 'ng-configcat-publicapi';
|
|
5
5
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
6
6
|
import * as _angular_forms from '@angular/forms';
|
|
7
7
|
import { FormGroup, FormControl, FormArray, ValidatorFn, AbstractControl } from '@angular/forms';
|
|
@@ -294,6 +294,7 @@ interface AuthorizationModel {
|
|
|
294
294
|
interface LinkFeatureFlagParameters {
|
|
295
295
|
environmentId: string;
|
|
296
296
|
settingId: number;
|
|
297
|
+
callback: () => void;
|
|
297
298
|
}
|
|
298
299
|
|
|
299
300
|
declare class BaseComponent {
|
|
@@ -369,10 +370,9 @@ declare class BaseSelectComponent extends BaseComponent {
|
|
|
369
370
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BaseSelectComponent, "app-base-select", never, { "customDropdown": { "alias": "customDropdown"; "required": false; "isSignal": true; }; }, { "dropdownOpened": "dropdownOpened"; }, never, never, true, never>;
|
|
370
371
|
}
|
|
371
372
|
|
|
372
|
-
declare class ProductSelectComponent extends BaseSelectComponent
|
|
373
|
+
declare class ProductSelectComponent extends BaseSelectComponent {
|
|
373
374
|
readonly valueFormControl: _angular_core.InputSignal<FormControl<any>>;
|
|
374
375
|
readonly preSelectedProductId: _angular_core.InputSignal<string | undefined>;
|
|
375
|
-
readonly products: _angular_core.WritableSignal<ProductModel[]>;
|
|
376
376
|
readonly filterText: _angular_core.WritableSignal<string>;
|
|
377
377
|
readonly filteredProducts: _angular_core.WritableSignal<{
|
|
378
378
|
hidden: boolean;
|
|
@@ -384,17 +384,16 @@ declare class ProductSelectComponent extends BaseSelectComponent implements OnIn
|
|
|
384
384
|
reasonRequired: boolean;
|
|
385
385
|
}[]>;
|
|
386
386
|
readonly hasFilteredProduct: _angular_core.Signal<boolean>;
|
|
387
|
-
|
|
387
|
+
readonly products: _angular_core.ResourceRef<ng_configcat_publicapi.ProductModel[] | undefined>;
|
|
388
388
|
clearFilter(): void;
|
|
389
389
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ProductSelectComponent, never>;
|
|
390
390
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ProductSelectComponent, "app-product-select", never, { "valueFormControl": { "alias": "valueFormControl"; "required": true; "isSignal": true; }; "preSelectedProductId": { "alias": "preSelectedProductId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
declare class ConfigSelectComponent extends BaseSelectComponent
|
|
393
|
+
declare class ConfigSelectComponent extends BaseSelectComponent {
|
|
394
394
|
readonly valueFormControl: _angular_core.InputSignal<FormControl<string>>;
|
|
395
395
|
readonly productId: _angular_core.InputSignal<string>;
|
|
396
396
|
readonly preSelectedConfigId: _angular_core.InputSignal<string | undefined>;
|
|
397
|
-
readonly configs: _angular_core.WritableSignal<ConfigModel[]>;
|
|
398
397
|
readonly filterText: _angular_core.WritableSignal<string>;
|
|
399
398
|
readonly filteredConfigs: _angular_core.WritableSignal<{
|
|
400
399
|
hidden: boolean;
|
|
@@ -407,18 +406,15 @@ declare class ConfigSelectComponent extends BaseSelectComponent implements OnIni
|
|
|
407
406
|
evaluationVersion: ng_configcat_publicapi.EvaluationVersion;
|
|
408
407
|
}[]>;
|
|
409
408
|
readonly hasFilteredConfig: _angular_core.Signal<boolean>;
|
|
410
|
-
|
|
411
|
-
ngOnChanges(): void;
|
|
412
|
-
reloadConfigs(): void;
|
|
409
|
+
readonly configs: _angular_core.ResourceRef<ng_configcat_publicapi.ConfigModel[] | undefined>;
|
|
413
410
|
clearFilter(): void;
|
|
414
411
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ConfigSelectComponent, never>;
|
|
415
412
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfigSelectComponent, "app-config-select", never, { "valueFormControl": { "alias": "valueFormControl"; "required": true; "isSignal": true; }; "productId": { "alias": "productId"; "required": true; "isSignal": true; }; "preSelectedConfigId": { "alias": "preSelectedConfigId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
416
413
|
}
|
|
417
414
|
|
|
418
|
-
declare class EnvironmentSelectComponent extends BaseSelectComponent
|
|
415
|
+
declare class EnvironmentSelectComponent extends BaseSelectComponent {
|
|
419
416
|
readonly valueFormControl: _angular_core.InputSignal<FormControl<any>>;
|
|
420
417
|
readonly productId: _angular_core.InputSignal<string>;
|
|
421
|
-
readonly environments: _angular_core.WritableSignal<EnvironmentModel[]>;
|
|
422
418
|
readonly filterText: _angular_core.WritableSignal<string>;
|
|
423
419
|
readonly filteredEnvironments: _angular_core.WritableSignal<{
|
|
424
420
|
hidden: boolean;
|
|
@@ -431,15 +427,13 @@ declare class EnvironmentSelectComponent extends BaseSelectComponent implements
|
|
|
431
427
|
reasonRequired: boolean;
|
|
432
428
|
}[]>;
|
|
433
429
|
readonly hasFilteredEnvironment: _angular_core.Signal<boolean>;
|
|
434
|
-
|
|
435
|
-
ngOnChanges(): void;
|
|
436
|
-
reloadEnvironments(): void;
|
|
430
|
+
readonly environments: _angular_core.ResourceRef<ng_configcat_publicapi.EnvironmentModel[] | undefined>;
|
|
437
431
|
clearFilter(): void;
|
|
438
432
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EnvironmentSelectComponent, never>;
|
|
439
433
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EnvironmentSelectComponent, "app-environment-select", never, { "valueFormControl": { "alias": "valueFormControl"; "required": true; "isSignal": true; }; "productId": { "alias": "productId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
440
434
|
}
|
|
441
435
|
|
|
442
|
-
declare class SettingSelectComponent extends BaseSelectComponent
|
|
436
|
+
declare class SettingSelectComponent extends BaseSelectComponent {
|
|
443
437
|
readonly valueFormControl: _angular_core.InputSignal<FormControl<any>>;
|
|
444
438
|
readonly configId: _angular_core.InputSignal<string>;
|
|
445
439
|
SettingTypeEnum: {
|
|
@@ -448,7 +442,6 @@ declare class SettingSelectComponent extends BaseSelectComponent implements OnIn
|
|
|
448
442
|
Int: SettingType;
|
|
449
443
|
Double: SettingType;
|
|
450
444
|
};
|
|
451
|
-
readonly settings: _angular_core.WritableSignal<SettingModel[]>;
|
|
452
445
|
readonly filterText: _angular_core.WritableSignal<string>;
|
|
453
446
|
readonly filteredSettings: _angular_core.WritableSignal<{
|
|
454
447
|
hidden: boolean;
|
|
@@ -465,10 +458,8 @@ declare class SettingSelectComponent extends BaseSelectComponent implements OnIn
|
|
|
465
458
|
predefinedVariations: Array<ng_configcat_publicapi.PredefinedVariationModel>;
|
|
466
459
|
}[]>;
|
|
467
460
|
readonly hasFilteredSetting: _angular_core.Signal<boolean>;
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
selectedSettingTiggetText(): string;
|
|
471
|
-
reloadSettings(): void;
|
|
461
|
+
selectedSettingTriggerText(): string;
|
|
462
|
+
readonly settings: _angular_core.ResourceRef<ng_configcat_publicapi.SettingModel[] | undefined>;
|
|
472
463
|
clearFilter(): void;
|
|
473
464
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SettingSelectComponent, never>;
|
|
474
465
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SettingSelectComponent, "app-setting-select", never, { "valueFormControl": { "alias": "valueFormControl"; "required": true; "isSignal": true; }; "configId": { "alias": "configId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -514,6 +505,7 @@ declare class FeatureFlagItemComponent extends BaseComponent implements OnInit,
|
|
|
514
505
|
segments: SegmentListModel[];
|
|
515
506
|
dashboardBasePath: string;
|
|
516
507
|
loading: boolean;
|
|
508
|
+
submitting: boolean;
|
|
517
509
|
formGroup: FormGroup<UpdateSettingValueForm>;
|
|
518
510
|
formValueChangesSubscription: Subscription | null;
|
|
519
511
|
settings: SettingModel[];
|
|
@@ -583,9 +575,11 @@ declare class LinkFeatureFlagComponent implements OnInit, OnDestroy {
|
|
|
583
575
|
settingId: FormControl<number>;
|
|
584
576
|
}>;
|
|
585
577
|
subscription: Subscription | null;
|
|
578
|
+
readonly submitting: _angular_core.WritableSignal<boolean>;
|
|
586
579
|
ngOnInit(): void;
|
|
587
580
|
ngOnDestroy(): void;
|
|
588
581
|
add(): void;
|
|
582
|
+
linkingFinished(): void;
|
|
589
583
|
cancel(): void;
|
|
590
584
|
selectDropdownPanelChanged(useSelector: boolean): void;
|
|
591
585
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LinkFeatureFlagComponent, never>;
|
|
@@ -671,25 +665,32 @@ declare class CreateFeatureFlagComponent extends BaseComponent implements OnInit
|
|
|
671
665
|
V1: EvaluationVersion;
|
|
672
666
|
V2: EvaluationVersion;
|
|
673
667
|
};
|
|
674
|
-
|
|
668
|
+
private readonly loadingProduct;
|
|
669
|
+
private readonly loadingEnviroments;
|
|
670
|
+
private readonly loadinOrganizationLimitations;
|
|
671
|
+
private readonly loadingConfigurations;
|
|
672
|
+
private readonly loading;
|
|
673
|
+
readonly loadingComputed: _angular_core.Signal<boolean>;
|
|
674
|
+
readonly submitting: _angular_core.WritableSignal<boolean>;
|
|
675
675
|
dataSource: MatTableDataSource<FormGroup<PredefinedVariationFormGroup>, _angular_material_paginator.MatPaginator>;
|
|
676
676
|
formGroup: FormGroup<IntegrationCreateSettingFormGroup>;
|
|
677
677
|
configEvaluationVersion: EvaluationVersion;
|
|
678
678
|
maxPredefinedVariations: number;
|
|
679
679
|
maxStringFlagValueLength: number;
|
|
680
680
|
selectedProductOrganiaztionId: string;
|
|
681
|
-
selectedProductEnviroment: EnvironmentModel[];
|
|
682
681
|
focusIndex: number;
|
|
683
682
|
settingTypeText: string;
|
|
684
683
|
displayedColumns: string[];
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
684
|
+
private selectedProductEnviroment;
|
|
685
|
+
private stringValidators;
|
|
686
|
+
private readonly intValidators;
|
|
687
|
+
private readonly doubleValidators;
|
|
688
688
|
ngOnInit(): void;
|
|
689
689
|
initialValueForAllFormControlFunction(settingType: SettingType): FormControl<string> | FormControl<number> | FormControl<boolean>;
|
|
690
690
|
settingTypeChanges(newSettingType: SettingType): void;
|
|
691
691
|
setDataSource(): void;
|
|
692
692
|
create(): void;
|
|
693
|
+
linkingFinished(): void;
|
|
693
694
|
cancel(): void;
|
|
694
695
|
selectDropdownPanelChanged(useSelector: boolean): void;
|
|
695
696
|
createEmptyVariationFormGroup(settingType: SettingType, boolValue?: boolean, stringValue?: string, intValue?: number, doubleValue?: number): FormGroup<{
|
|
@@ -732,6 +733,8 @@ declare class CreateConfigComponent extends BaseComponent implements OnInit {
|
|
|
732
733
|
readonly resizeRequested: _angular_core.OutputEmitterRef<void>;
|
|
733
734
|
readonly cancelInitiated: _angular_core.OutputEmitterRef<void>;
|
|
734
735
|
readonly selectDropdownPanelChangedReqested: _angular_core.OutputEmitterRef<boolean>;
|
|
736
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
737
|
+
readonly submitting: _angular_core.WritableSignal<boolean>;
|
|
735
738
|
SettingTypeEnum: {
|
|
736
739
|
Boolean: SettingType;
|
|
737
740
|
String: SettingType;
|
|
@@ -743,7 +746,6 @@ declare class CreateConfigComponent extends BaseComponent implements OnInit {
|
|
|
743
746
|
V1: EvaluationVersion;
|
|
744
747
|
V2: EvaluationVersion;
|
|
745
748
|
};
|
|
746
|
-
loading: boolean;
|
|
747
749
|
formGroup: FormGroup<CreateConfigFormGroup>;
|
|
748
750
|
maxPredefinedVariations: number;
|
|
749
751
|
maxStringFlagValueLength: number;
|