ng-configcat-publicapi-ui 5.4.2 → 5.5.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/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-configcat-publicapi-ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"peerDependencies": {
|
|
5
|
-
"@angular/cdk": "^
|
|
6
|
-
"@angular/common": "^
|
|
7
|
-
"@angular/core": "^
|
|
8
|
-
"@angular/forms": "^
|
|
9
|
-
"@angular/material": "^
|
|
10
|
-
"@angular/router": "^
|
|
11
|
-
"@configcat/sdk": "^1.0
|
|
12
|
-
"ng-configcat-publicapi": "^6.
|
|
6
|
+
"@angular/cdk": "^22.0.5",
|
|
7
|
+
"@angular/common": "^22.0.7",
|
|
8
|
+
"@angular/core": "^22.0.7",
|
|
9
|
+
"@angular/forms": "^22.0.7",
|
|
10
|
+
"@angular/material": "^22.0.5",
|
|
11
|
+
"@angular/router": "^22.0.7",
|
|
12
|
+
"@configcat/sdk": "^1.1.0",
|
|
13
|
+
"ng-configcat-publicapi": "^6.1.0",
|
|
13
14
|
"papaparse": "^5.5.3",
|
|
14
|
-
"ace-builds": "^1.
|
|
15
|
+
"ace-builds": "^1.44.0"
|
|
15
16
|
},
|
|
16
17
|
"dependencies": {
|
|
17
18
|
"tslib": "^2.8.1"
|
|
@@ -183,6 +183,10 @@ interface IDependeeSetting {
|
|
|
183
183
|
key: string;
|
|
184
184
|
name: string;
|
|
185
185
|
}
|
|
186
|
+
interface IPrerequisiteChanged {
|
|
187
|
+
settingId: number;
|
|
188
|
+
prerequisiteIds: number[];
|
|
189
|
+
}
|
|
186
190
|
|
|
187
191
|
interface IFlagState {
|
|
188
192
|
addButtonRenderState: IAddButtonsRenderState;
|
|
@@ -526,8 +530,8 @@ declare class FeatureFlagItemComponent extends BaseComponent implements OnInit,
|
|
|
526
530
|
readonly componentError: _angular_core.OutputEmitterRef<Error>;
|
|
527
531
|
readonly expandedStateChanged: _angular_core.OutputEmitterRef<void>;
|
|
528
532
|
readonly formValuesChanged: _angular_core.OutputEmitterRef<void>;
|
|
533
|
+
readonly dashboardBasePath: string;
|
|
529
534
|
segments: SegmentListModel[];
|
|
530
|
-
dashboardBasePath: string;
|
|
531
535
|
loading: boolean;
|
|
532
536
|
submitting: boolean;
|
|
533
537
|
formGroup: FormGroup<UpdateSettingValueForm>;
|
|
@@ -539,7 +543,6 @@ declare class FeatureFlagItemComponent extends BaseComponent implements OnInit,
|
|
|
539
543
|
showFeedBackMessage: boolean;
|
|
540
544
|
hasSettingValues: boolean;
|
|
541
545
|
hasOtherEnvironment: boolean;
|
|
542
|
-
constructor();
|
|
543
546
|
ngOnInit(): void;
|
|
544
547
|
ngOnDestroy(): void;
|
|
545
548
|
reloadSettingValues(): void;
|
|
@@ -577,6 +580,64 @@ declare class FeatureFlagItemComponent extends BaseComponent implements OnInit,
|
|
|
577
580
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeatureFlagItemComponent, "app-feature-flag-item", never, { "productId": { "alias": "productId"; "required": true; "isSignal": true; }; "environmentId": { "alias": "environmentId"; "required": true; "isSignal": true; }; "configId": { "alias": "configId"; "required": true; "isSignal": true; }; "settingId": { "alias": "settingId"; "required": true; "isSignal": true; }; "canDeleteSetting": { "alias": "canDeleteSetting"; "required": false; "isSignal": true; }; "deleteSettingText": { "alias": "deleteSettingText"; "required": false; "isSignal": true; }; "showEnvironmentName": { "alias": "showEnvironmentName"; "required": false; "isSignal": true; }; }, { "deleteSettingRequested": "deleteSettingRequested"; "loadSucceeded": "loadSucceeded"; "loadFailed": "loadFailed"; "saveSucceeded": "saveSucceeded"; "componentError": "componentError"; "expandedStateChanged": "expandedStateChanged"; "formValuesChanged": "formValuesChanged"; }, never, never, true, never>;
|
|
578
581
|
}
|
|
579
582
|
|
|
583
|
+
interface IGlance {
|
|
584
|
+
ruleText: string;
|
|
585
|
+
percentageText: string;
|
|
586
|
+
class: string;
|
|
587
|
+
}
|
|
588
|
+
declare class FeatureFlagComponent {
|
|
589
|
+
private readonly dialog;
|
|
590
|
+
private readonly messagingService;
|
|
591
|
+
private readonly router;
|
|
592
|
+
private readonly clipboard;
|
|
593
|
+
readonly formGroup: _angular_core.InputSignal<FormGroup<UpdateSettingValueForm>>;
|
|
594
|
+
readonly flagState: _angular_core.InputSignal<IFlagState>;
|
|
595
|
+
readonly segments: _angular_core.InputSignal<SegmentListModel[]>;
|
|
596
|
+
readonly featureFlagLimitations: _angular_core.InputSignal<FeatureFlagLimitations>;
|
|
597
|
+
readonly hasOtherEnvironment: _angular_core.InputSignal<boolean>;
|
|
598
|
+
readonly environmentName: _angular_core.InputSignal<string>;
|
|
599
|
+
readonly showEnvironmentName: _angular_core.InputSignal<boolean>;
|
|
600
|
+
readonly deleteSettingText: _angular_core.InputSignal<string>;
|
|
601
|
+
readonly canDeleteSetting: _angular_core.InputSignal<boolean>;
|
|
602
|
+
readonly predefinedVariationsEnabled: _angular_core.InputSignal<boolean>;
|
|
603
|
+
readonly dashboardBasePath: _angular_core.InputSignal<string>;
|
|
604
|
+
readonly addSegmentConditionRequestedWithoutSegments: _angular_core.OutputEmitterRef<void>;
|
|
605
|
+
readonly expandedChanged: _angular_core.OutputEmitterRef<boolean>;
|
|
606
|
+
readonly deleteSettingRequested: _angular_core.OutputEmitterRef<{
|
|
607
|
+
setting: SettingDataModel;
|
|
608
|
+
}>;
|
|
609
|
+
readonly subscriptionLimitReached: _angular_core.OutputEmitterRef<void>;
|
|
610
|
+
readonly prerequisiteConditionChanged: _angular_core.OutputEmitterRef<IPrerequisiteChanged>;
|
|
611
|
+
readonly recalcAddButtons: _angular_core.OutputEmitterRef<void>;
|
|
612
|
+
readonly viewVariationsRequested: _angular_core.OutputEmitterRef<{
|
|
613
|
+
settingId: number;
|
|
614
|
+
settingName: string;
|
|
615
|
+
}>;
|
|
616
|
+
SettingType: {
|
|
617
|
+
readonly Boolean: "boolean";
|
|
618
|
+
readonly String: "string";
|
|
619
|
+
readonly Int: "int";
|
|
620
|
+
readonly Double: "double";
|
|
621
|
+
};
|
|
622
|
+
setExpanded(expanded: boolean): void;
|
|
623
|
+
deleteSetting(): void;
|
|
624
|
+
subscriptionLimitReachedCalled(): void;
|
|
625
|
+
changePercentageEvaluationAttribute(): void;
|
|
626
|
+
getGlance(): IGlance | undefined;
|
|
627
|
+
getValueText(settingType: SettingType, value: {
|
|
628
|
+
boolValue: boolean | null;
|
|
629
|
+
stringValue: string | null;
|
|
630
|
+
intValue: number | null;
|
|
631
|
+
doubleValue: number | null;
|
|
632
|
+
}): string;
|
|
633
|
+
getRuleText(): string;
|
|
634
|
+
copyDirectLink(): void;
|
|
635
|
+
getDashboardUrl(): string;
|
|
636
|
+
openDependeesDialog(): void;
|
|
637
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeatureFlagComponent, never>;
|
|
638
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeatureFlagComponent, "app-feature-flag", never, { "formGroup": { "alias": "formGroup"; "required": true; "isSignal": true; }; "flagState": { "alias": "flagState"; "required": true; "isSignal": true; }; "segments": { "alias": "segments"; "required": true; "isSignal": true; }; "featureFlagLimitations": { "alias": "featureFlagLimitations"; "required": true; "isSignal": true; }; "hasOtherEnvironment": { "alias": "hasOtherEnvironment"; "required": true; "isSignal": true; }; "environmentName": { "alias": "environmentName"; "required": false; "isSignal": true; }; "showEnvironmentName": { "alias": "showEnvironmentName"; "required": false; "isSignal": true; }; "deleteSettingText": { "alias": "deleteSettingText"; "required": false; "isSignal": true; }; "canDeleteSetting": { "alias": "canDeleteSetting"; "required": false; "isSignal": true; }; "predefinedVariationsEnabled": { "alias": "predefinedVariationsEnabled"; "required": true; "isSignal": true; }; "dashboardBasePath": { "alias": "dashboardBasePath"; "required": true; "isSignal": true; }; }, { "addSegmentConditionRequestedWithoutSegments": "addSegmentConditionRequestedWithoutSegments"; "expandedChanged": "expandedChanged"; "deleteSettingRequested": "deleteSettingRequested"; "subscriptionLimitReached": "subscriptionLimitReached"; "prerequisiteConditionChanged": "prerequisiteConditionChanged"; "recalcAddButtons": "recalcAddButtons"; "viewVariationsRequested": "viewVariationsRequested"; }, never, never, true, never>;
|
|
639
|
+
}
|
|
640
|
+
|
|
580
641
|
interface AuthorizationParameters {
|
|
581
642
|
basicAuthUsername: string;
|
|
582
643
|
basicAuthPassword: string;
|
|
@@ -804,5 +865,5 @@ declare class LoaderComponent implements OnInit {
|
|
|
804
865
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LoaderComponent, "app-loader", never, { "skipTimeOut": { "alias": "skipTimeOut"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
805
866
|
}
|
|
806
867
|
|
|
807
|
-
export { AuthorizationComponent, CONFIGCAT_PUBLICAPI_UI_CONFIGURATION, ConfigSelectComponent, CreateConfigComponent, CreateFeatureFlagComponent, DeleteSettingDialogComponent, EnvironmentSelectComponent, FeatureFlagItemComponent, FormHelper, InputDisplayNormalizerDirective, LinkFeatureFlagComponent, LoaderComponent, ProductSelectComponent, PublicApiService, SettingItemComponent, SettingSelectComponent, Theme, ThemeService, UserComparatorText, UserComparatorType, addComparisonValueListValueItems, defaultErrorMessageTypes, featureFlagKeyRegex, formatCsvStringValue, formatValuesAndHintAsCsv, formatValuesAndHintAsJson, formatValuesAsCsv, generateComparisonValueFormGroup, generateComparisonValueListFormGroup, generateComparisonValueListValueArray, generateConditionFormGroup, generateDefaultValue, generateDefaultValueFormGroup, generateEmptyPrerequisiteFlagConditionFormGroup, generateEmptySegmentConditionFormGroup, generatePercentageEvaluationAttributeFormControl, generatePercentageOptionFormGroup, generatePrerequisiteDefaultValue, generatePrerequisiteFlagConditionFormGroup, generateSegmentConditionFormGroup, generateSettingValuesFormGroup, generateTargetingRuleFormGroup, generateTargetingRuleWithEmptyPercentageOptions, generateUserConditionFormGroup, generateValueFormGroup, getComparisonValueSemverListItemValidators, getComparisonValueSemverValidators, getComparisonValueStringListItemValidators, getComparisonValueStringValidators, getComparisonValueType, getEmptyPercentageOptions, getNextIndex, getRawSettiongValue, getRawValue, getValidatorsForSettingType, isClearTextComparator, isPercentageOnlyTargetingRule, parseValuesAndHintsFromCsv, parseValuesAndHintsFromJson, parseValuesFromCsv, percentageRegex, provideConfigCatPublicApiUi, validatePercentageSum, wholeNumberRegex };
|
|
808
|
-
export type { AuthorizationModel, ComparisonValueListParseResult, DeleteSettingDialogData, DeleteSettingDialogResult, DeleteSettingModel, LinkFeatureFlagParameters, PresetProduct, PresetProductAndConfig, SettingValuesModel, UpdateSettingValuesModel };
|
|
868
|
+
export { AuthorizationComponent, CONFIGCAT_PUBLICAPI_UI_CONFIGURATION, ConfigSelectComponent, CreateConfigComponent, CreateFeatureFlagComponent, DeleteSettingDialogComponent, EnvironmentSelectComponent, FeatureFlagComponent, FeatureFlagItemComponent, FormHelper, InputDisplayNormalizerDirective, LinkFeatureFlagComponent, LoaderComponent, ProductSelectComponent, PublicApiService, SettingItemComponent, SettingSelectComponent, Theme, ThemeService, UserComparatorText, UserComparatorType, addComparisonValueListValueItems, defaultErrorMessageTypes, featureFlagKeyRegex, formatCsvStringValue, formatValuesAndHintAsCsv, formatValuesAndHintAsJson, formatValuesAsCsv, generateComparisonValueFormGroup, generateComparisonValueListFormGroup, generateComparisonValueListValueArray, generateConditionFormGroup, generateDefaultValue, generateDefaultValueFormGroup, generateEmptyPrerequisiteFlagConditionFormGroup, generateEmptySegmentConditionFormGroup, generatePercentageEvaluationAttributeFormControl, generatePercentageOptionFormGroup, generatePrerequisiteDefaultValue, generatePrerequisiteFlagConditionFormGroup, generateSegmentConditionFormGroup, generateSettingValuesFormGroup, generateTargetingRuleFormGroup, generateTargetingRuleWithEmptyPercentageOptions, generateUserConditionFormGroup, generateValueFormGroup, getComparisonValueSemverListItemValidators, getComparisonValueSemverValidators, getComparisonValueStringListItemValidators, getComparisonValueStringValidators, getComparisonValueType, getEmptyPercentageOptions, getNextIndex, getRawSettiongValue, getRawValue, getValidatorsForSettingType, isClearTextComparator, isPercentageOnlyTargetingRule, parseValuesAndHintsFromCsv, parseValuesAndHintsFromJson, parseValuesFromCsv, percentageRegex, provideConfigCatPublicApiUi, validatePercentageSum, wholeNumberRegex };
|
|
869
|
+
export type { AuthorizationModel, ComparisonValueListParseResult, DeleteSettingDialogData, DeleteSettingDialogResult, DeleteSettingModel, IGlance, LinkFeatureFlagParameters, PresetProduct, PresetProductAndConfig, SettingValuesModel, UpdateSettingValuesModel };
|