ng-configcat-publicapi-ui 5.1.0 → 5.2.0
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/index.d.ts
CHANGED
|
@@ -626,6 +626,12 @@ interface IntegrationCreateSettingFormGroup extends CreateSettingFormGroup {
|
|
|
626
626
|
environmentId: FormControl<string>;
|
|
627
627
|
configId: FormControl<string>;
|
|
628
628
|
}
|
|
629
|
+
interface CreateConfigFormGroup {
|
|
630
|
+
productId: FormControl<string>;
|
|
631
|
+
name: FormControl<string>;
|
|
632
|
+
description: FormControl<string>;
|
|
633
|
+
evaluationVersion: FormControl<EvaluationVersion>;
|
|
634
|
+
}
|
|
629
635
|
|
|
630
636
|
interface PresetProductAndConfig {
|
|
631
637
|
productId: string;
|
|
@@ -642,7 +648,7 @@ declare class CreateFeatureFlagComponent extends BaseComponent implements OnInit
|
|
|
642
648
|
readonly cancelButtonLabel: _angular_core.InputSignal<string | undefined>;
|
|
643
649
|
readonly targetSectionHeader: _angular_core.InputSignal<string | undefined>;
|
|
644
650
|
readonly targetSectionDescription: _angular_core.InputSignal<string | undefined>;
|
|
645
|
-
readonly
|
|
651
|
+
readonly flagSectionHeader: _angular_core.InputSignal<string | undefined>;
|
|
646
652
|
readonly flagSectionDescription: _angular_core.InputSignal<string | undefined>;
|
|
647
653
|
readonly linkSectionHeader: _angular_core.InputSignal<string | undefined>;
|
|
648
654
|
readonly linkSectionDescription: _angular_core.InputSignal<string | undefined>;
|
|
@@ -703,7 +709,53 @@ declare class CreateFeatureFlagComponent extends BaseComponent implements OnInit
|
|
|
703
709
|
expandHint(stringValueControl: FormControl<string | null>): void;
|
|
704
710
|
getColorIndex(row: FormGroup<PredefinedVariationFormGroup>, index: number): FeatureFlagValueType;
|
|
705
711
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CreateFeatureFlagComponent, never>;
|
|
706
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CreateFeatureFlagComponent, "app-create-feature-flag", never, { "hideCancelButton": { "alias": "hideCancelButton"; "required": false; "isSignal": true; }; "createButtonLabel": { "alias": "createButtonLabel"; "required": false; "isSignal": true; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; "isSignal": true; }; "targetSectionHeader": { "alias": "targetSectionHeader"; "required": false; "isSignal": true; }; "targetSectionDescription": { "alias": "targetSectionDescription"; "required": false; "isSignal": true; }; "
|
|
712
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CreateFeatureFlagComponent, "app-create-feature-flag", never, { "hideCancelButton": { "alias": "hideCancelButton"; "required": false; "isSignal": true; }; "createButtonLabel": { "alias": "createButtonLabel"; "required": false; "isSignal": true; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; "isSignal": true; }; "targetSectionHeader": { "alias": "targetSectionHeader"; "required": false; "isSignal": true; }; "targetSectionDescription": { "alias": "targetSectionDescription"; "required": false; "isSignal": true; }; "flagSectionHeader": { "alias": "flagSectionHeader"; "required": false; "isSignal": true; }; "flagSectionDescription": { "alias": "flagSectionDescription"; "required": false; "isSignal": true; }; "linkSectionHeader": { "alias": "linkSectionHeader"; "required": false; "isSignal": true; }; "linkSectionDescription": { "alias": "linkSectionDescription"; "required": false; "isSignal": true; }; "hideLinkSection": { "alias": "hideLinkSection"; "required": false; "isSignal": true; }; "presetProductAndConfig": { "alias": "presetProductAndConfig"; "required": false; "isSignal": true; }; }, { "createInitiated": "createInitiated"; "resizeRequested": "resizeRequested"; "cancelInitiated": "cancelInitiated"; "selectDropdownPanelChangedReqested": "selectDropdownPanelChangedReqested"; }, never, never, true, never>;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
interface PresetProduct {
|
|
716
|
+
productId: string;
|
|
717
|
+
productName: string;
|
|
718
|
+
}
|
|
719
|
+
declare class CreateConfigComponent extends BaseComponent implements OnInit {
|
|
720
|
+
private readonly formBuilder;
|
|
721
|
+
readonly hideCancelButton: _angular_core.InputSignal<boolean>;
|
|
722
|
+
readonly createButtonLabel: _angular_core.InputSignal<string | undefined>;
|
|
723
|
+
readonly cancelButtonLabel: _angular_core.InputSignal<string | undefined>;
|
|
724
|
+
readonly targetSectionHeader: _angular_core.InputSignal<string | undefined>;
|
|
725
|
+
readonly targetSectionDescription: _angular_core.InputSignal<string | undefined>;
|
|
726
|
+
readonly configSectionHeader: _angular_core.InputSignal<string | undefined>;
|
|
727
|
+
readonly configSectionDescription: _angular_core.InputSignal<string | undefined>;
|
|
728
|
+
readonly presetProduct: _angular_core.InputSignal<PresetProduct | undefined>;
|
|
729
|
+
readonly createInitiated: _angular_core.OutputEmitterRef<string>;
|
|
730
|
+
readonly resizeRequested: _angular_core.OutputEmitterRef<void>;
|
|
731
|
+
readonly cancelInitiated: _angular_core.OutputEmitterRef<void>;
|
|
732
|
+
readonly selectDropdownPanelChangedReqested: _angular_core.OutputEmitterRef<boolean>;
|
|
733
|
+
SettingTypeEnum: {
|
|
734
|
+
Boolean: SettingType;
|
|
735
|
+
String: SettingType;
|
|
736
|
+
Int: SettingType;
|
|
737
|
+
Double: SettingType;
|
|
738
|
+
};
|
|
739
|
+
FormHelper: typeof FormHelper;
|
|
740
|
+
EvaluationVersion: {
|
|
741
|
+
V1: EvaluationVersion;
|
|
742
|
+
V2: EvaluationVersion;
|
|
743
|
+
};
|
|
744
|
+
loading: boolean;
|
|
745
|
+
formGroup: FormGroup<CreateConfigFormGroup>;
|
|
746
|
+
maxPredefinedVariations: number;
|
|
747
|
+
maxStringFlagValueLength: number;
|
|
748
|
+
selectedProductOrganiaztionId: string;
|
|
749
|
+
selectedProductEnviroment: EnvironmentModel[];
|
|
750
|
+
focusIndex: number;
|
|
751
|
+
settingTypeText: string;
|
|
752
|
+
displayedColumns: string[];
|
|
753
|
+
ngOnInit(): void;
|
|
754
|
+
create(): void;
|
|
755
|
+
cancel(): void;
|
|
756
|
+
selectDropdownPanelChanged(useSelector: boolean): void;
|
|
757
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CreateConfigComponent, never>;
|
|
758
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CreateConfigComponent, "app-create-config", never, { "hideCancelButton": { "alias": "hideCancelButton"; "required": false; "isSignal": true; }; "createButtonLabel": { "alias": "createButtonLabel"; "required": false; "isSignal": true; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; "isSignal": true; }; "targetSectionHeader": { "alias": "targetSectionHeader"; "required": false; "isSignal": true; }; "targetSectionDescription": { "alias": "targetSectionDescription"; "required": false; "isSignal": true; }; "configSectionHeader": { "alias": "configSectionHeader"; "required": false; "isSignal": true; }; "configSectionDescription": { "alias": "configSectionDescription"; "required": false; "isSignal": true; }; "presetProduct": { "alias": "presetProduct"; "required": false; "isSignal": true; }; }, { "createInitiated": "createInitiated"; "resizeRequested": "resizeRequested"; "cancelInitiated": "cancelInitiated"; "selectDropdownPanelChangedReqested": "selectDropdownPanelChangedReqested"; }, never, never, true, never>;
|
|
707
759
|
}
|
|
708
760
|
|
|
709
761
|
declare class LoaderComponent implements OnInit {
|
|
@@ -714,5 +766,5 @@ declare class LoaderComponent implements OnInit {
|
|
|
714
766
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LoaderComponent, "app-loader", never, { "skipTimeOut": { "alias": "skipTimeOut"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
715
767
|
}
|
|
716
768
|
|
|
717
|
-
export { AuthorizationComponent, CONFIGCAT_PUBLICAPI_UI_CONFIGURATION, ConfigSelectComponent, CreateFeatureFlagComponent, DeleteSettingDialogComponent, EnvironmentSelectComponent, FeatureFlagItemComponent, FormGenerator, FormHelper, InputDisplayNormalizerDirective, LinkFeatureFlagComponent, LoaderComponent, ProductSelectComponent, PublicApiService, SettingItemComponent, SettingSelectComponent, Theme, ThemeService, UserComparatorText, UserComparatorType, defaultErrorMessageTypes, featureFlagKeyRegex, getRawSettiongValue, getRawValue, isClearTextComparator, percentageRegex, provideConfigCatPublicApiUi, validatePercentageSum, wholeNumberRegex };
|
|
718
|
-
export type { AuthorizationModel, DeleteSettingDialogData, DeleteSettingDialogResult, DeleteSettingModel, LinkFeatureFlagParameters, PresetProductAndConfig, SettingValuesModel, UpdateSettingValuesModel };
|
|
769
|
+
export { AuthorizationComponent, CONFIGCAT_PUBLICAPI_UI_CONFIGURATION, ConfigSelectComponent, CreateConfigComponent, CreateFeatureFlagComponent, DeleteSettingDialogComponent, EnvironmentSelectComponent, FeatureFlagItemComponent, FormGenerator, FormHelper, InputDisplayNormalizerDirective, LinkFeatureFlagComponent, LoaderComponent, ProductSelectComponent, PublicApiService, SettingItemComponent, SettingSelectComponent, Theme, ThemeService, UserComparatorText, UserComparatorType, defaultErrorMessageTypes, featureFlagKeyRegex, getRawSettiongValue, getRawValue, isClearTextComparator, percentageRegex, provideConfigCatPublicApiUi, validatePercentageSum, wholeNumberRegex };
|
|
770
|
+
export type { AuthorizationModel, DeleteSettingDialogData, DeleteSettingDialogResult, DeleteSettingModel, LinkFeatureFlagParameters, PresetProduct, PresetProductAndConfig, SettingValuesModel, UpdateSettingValuesModel };
|