ng-configcat-publicapi-ui 4.2.2 → 5.0.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/README.md +2 -2
- package/fesm2022/ng-configcat-publicapi-ui.mjs +4240 -3534
- package/fesm2022/ng-configcat-publicapi-ui.mjs.map +1 -1
- package/index.d.ts +476 -3
- package/package.json +11 -10
- package/src/css/button.scss +83 -0
- package/src/css/controls.scss +390 -0
- package/src/css/dialog.scss +63 -0
- package/src/css/icon.scss +7 -0
- package/src/css/slider.scss +82 -0
- package/src/css/snackbar.scss +16 -0
- package/src/css/table.scss +142 -0
- package/src/css/theme.scss +47 -0
- package/src/css/tooltip.scss +12 -0
- package/src/css/variables.scss +324 -0
- package/src/css/vars/auth.scss +24 -0
- package/src/css/vars/banner.scss +116 -0
- package/src/css/vars/box.scss +48 -0
- package/src/css/vars/config-overview.scss +27 -0
- package/src/css/vars/flag.scss +146 -0
- package/src/css/vars/header.scss +24 -0
- package/src/css/vars/icon.scss +33 -0
- package/src/css/vars/logo.scss +19 -0
- package/src/css/vars/notification.scss +38 -0
- package/src/css/vars/overview.scss +51 -0
- package/src/css/vars/prism.scss +44 -0
- package/src/css/vars/sidenav.scss +42 -0
- package/src/css/vars/theme.scss +78 -0
- package/src/public-api.scss +208 -0
- package/esm2022/lib/_directives/index.mjs +0 -2
- package/esm2022/lib/_directives/input-display-normalizer.directive.mjs +0 -38
- package/esm2022/lib/_models/deleteSettingModel.mjs +0 -2
- package/esm2022/lib/_models/flag-state.mjs +0 -2
- package/esm2022/lib/_models/index.mjs +0 -4
- package/esm2022/lib/_models/setting-value-formgroup.mjs +0 -2
- package/esm2022/lib/_models/settingValuesModel.mjs +0 -2
- package/esm2022/lib/_models/updateSettingValuesModel.mjs +0 -2
- package/esm2022/lib/_models/user-comparator.mjs +0 -100
- package/esm2022/lib/_services/app-data-adapter.mjs +0 -18
- package/esm2022/lib/_services/comparison-value-list-helper.mjs +0 -72
- package/esm2022/lib/_services/date-helper.mjs +0 -56
- package/esm2022/lib/_services/form-generator.mjs +0 -359
- package/esm2022/lib/_services/form-helper.mjs +0 -163
- package/esm2022/lib/_services/index.mjs +0 -3
- package/esm2022/lib/_services/messaging.service.mjs +0 -26
- package/esm2022/lib/_services/platform-helper.mjs +0 -7
- package/esm2022/lib/_services/public-api.service.mjs +0 -77
- package/esm2022/lib/_services/setting-list-form-helper.mjs +0 -171
- package/esm2022/lib/_services/tracking.directive.mjs +0 -16
- package/esm2022/lib/ace-editor/ace-editor.component.mjs +0 -137
- package/esm2022/lib/authorization/authorization.component.mjs +0 -62
- package/esm2022/lib/base/base-select.component.mjs +0 -27
- package/esm2022/lib/base/base.component.mjs +0 -48
- package/esm2022/lib/bootstrap.mjs +0 -11
- package/esm2022/lib/configuration.mjs +0 -14
- package/esm2022/lib/dialogs/confirmation-dialog/confirmation-dialog.mjs +0 -28
- package/esm2022/lib/dialogs/delete-setting-dialog/delete-setting-dialog.component.mjs +0 -27
- package/esm2022/lib/dialogs/expand-dialog/expand-dialog.component.mjs +0 -80
- package/esm2022/lib/dialogs/info-dialog/info-dialog.mjs +0 -29
- package/esm2022/lib/dialogs/reason-dialog/reason-dialog.component.mjs +0 -36
- package/esm2022/lib/dialogs/reroute-dialog/reroute-dialog.mjs +0 -28
- package/esm2022/lib/dialogs/save-snackbar/save-snackbar.component.mjs +0 -14
- package/esm2022/lib/ng-configcat-publicapi-ui.module.mjs +0 -288
- package/esm2022/lib/selects/config-select/config-select.component.mjs +0 -60
- package/esm2022/lib/selects/environment-select/environment-select.component.mjs +0 -47
- package/esm2022/lib/selects/product-select/product-select.component.mjs +0 -40
- package/esm2022/lib/selects/setting-select/setting-select.component.mjs +0 -47
- package/esm2022/lib/setting-item/setting-item.component.mjs +0 -118
- package/esm2022/lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component.mjs +0 -81
- package/esm2022/lib/setting-list/setting/rollout-rules/rollout-rules.component.mjs +0 -293
- package/esm2022/lib/setting-list/setting/setting.component.mjs +0 -136
- package/esm2022/lib/setting-list/setting/value/value.component.mjs +0 -37
- package/esm2022/lib/setting-list/setting-list.component.mjs +0 -194
- package/esm2022/lib/v2/feature-flag/date-time-picker/date-time-picker.component.mjs +0 -123
- package/esm2022/lib/v2/feature-flag/dependees-dialog/dependees-dialog.component.mjs +0 -30
- package/esm2022/lib/v2/feature-flag/evaluation-formula/evaluation-formula.component.mjs +0 -220
- package/esm2022/lib/v2/feature-flag/evaluation-formula/feature-flag-value/feature-flag-value.component.mjs +0 -61
- package/esm2022/lib/v2/feature-flag/evaluation-formula/popout-text-editor-dialog/popout-text-editor-dialog.component.mjs +0 -72
- package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/condition-chip/condition-chip.component.mjs +0 -25
- package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/conditions.component.mjs +0 -105
- package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/prerequisite-flag-condition/prerequisite-flag-condition.component.mjs +0 -75
- package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/segment-condition/segment-condition.component.mjs +0 -48
- package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/comparator-dialog/comparator-dialog.component.mjs +0 -113
- package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/popout-list-editor-dialog/popout-list-editor-dialog.component.mjs +0 -251
- package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/user-condition.component.mjs +0 -444
- package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/percentage-options/percentage-options.component.mjs +0 -84
- package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/targeting-rule.component.mjs +0 -129
- package/esm2022/lib/v2/feature-flag/feature-flag.component.mjs +0 -190
- package/esm2022/lib/v2/feature-flag/percentage-evaluation-attribute-dialog/percentage-evaluation-attribute-dialog.component.mjs +0 -65
- package/esm2022/lib/v2/feature-flag-item.component.mjs +0 -330
- package/esm2022/ng-configcat-publicapi-ui.mjs +0 -5
- package/esm2022/public-api.mjs +0 -15
- package/lib/_directives/index.d.ts +0 -1
- package/lib/_directives/input-display-normalizer.directive.d.ts +0 -13
- package/lib/_models/deleteSettingModel.d.ts +0 -6
- package/lib/_models/flag-state.d.ts +0 -20
- package/lib/_models/index.d.ts +0 -3
- package/lib/_models/setting-value-formgroup.d.ts +0 -69
- package/lib/_models/settingValuesModel.d.ts +0 -11
- package/lib/_models/updateSettingValuesModel.d.ts +0 -7
- package/lib/_models/user-comparator.d.ts +0 -84
- package/lib/_services/app-data-adapter.d.ts +0 -7
- package/lib/_services/comparison-value-list-helper.d.ts +0 -17
- package/lib/_services/date-helper.d.ts +0 -6
- package/lib/_services/form-generator.d.ts +0 -59
- package/lib/_services/form-helper.d.ts +0 -21
- package/lib/_services/index.d.ts +0 -2
- package/lib/_services/messaging.service.d.ts +0 -12
- package/lib/_services/platform-helper.d.ts +0 -3
- package/lib/_services/public-api.service.d.ts +0 -21
- package/lib/_services/setting-list-form-helper.d.ts +0 -19
- package/lib/_services/tracking.directive.d.ts +0 -6
- package/lib/ace-editor/ace-editor.component.d.ts +0 -32
- package/lib/authorization/authorization.component.d.ts +0 -21
- package/lib/base/base-select.component.d.ts +0 -10
- package/lib/base/base.component.d.ts +0 -18
- package/lib/bootstrap.d.ts +0 -13
- package/lib/configuration.d.ts +0 -9
- package/lib/dialogs/confirmation-dialog/confirmation-dialog.d.ts +0 -19
- package/lib/dialogs/delete-setting-dialog/delete-setting-dialog.component.d.ts +0 -17
- package/lib/dialogs/expand-dialog/expand-dialog.component.d.ts +0 -25
- package/lib/dialogs/info-dialog/info-dialog.d.ts +0 -17
- package/lib/dialogs/reason-dialog/reason-dialog.component.d.ts +0 -15
- package/lib/dialogs/reroute-dialog/reroute-dialog.d.ts +0 -20
- package/lib/dialogs/save-snackbar/save-snackbar.component.d.ts +0 -8
- package/lib/ng-configcat-publicapi-ui.module.d.ts +0 -75
- package/lib/selects/config-select/config-select.component.d.ts +0 -17
- package/lib/selects/environment-select/environment-select.component.d.ts +0 -17
- package/lib/selects/product-select/product-select.component.d.ts +0 -14
- package/lib/selects/setting-select/setting-select.component.d.ts +0 -17
- package/lib/setting-item/setting-item.component.d.ts +0 -37
- package/lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component.d.ts +0 -27
- package/lib/setting-list/setting/rollout-rules/rollout-rules.component.d.ts +0 -61
- package/lib/setting-list/setting/setting.component.d.ts +0 -43
- package/lib/setting-list/setting/value/value.component.d.ts +0 -20
- package/lib/setting-list/setting-list.component.d.ts +0 -53
- package/lib/v2/feature-flag/date-time-picker/date-time-picker.component.d.ts +0 -25
- package/lib/v2/feature-flag/dependees-dialog/dependees-dialog.component.d.ts +0 -27
- package/lib/v2/feature-flag/evaluation-formula/evaluation-formula.component.d.ts +0 -41
- package/lib/v2/feature-flag/evaluation-formula/feature-flag-value/feature-flag-value.component.d.ts +0 -18
- package/lib/v2/feature-flag/evaluation-formula/popout-text-editor-dialog/popout-text-editor-dialog.component.d.ts +0 -30
- package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/condition-chip/condition-chip.component.d.ts +0 -10
- package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/conditions.component.d.ts +0 -27
- package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/prerequisite-flag-condition/prerequisite-flag-condition.component.d.ts +0 -36
- package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/segment-condition/segment-condition.component.d.ts +0 -21
- package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/comparator-dialog/comparator-dialog.component.d.ts +0 -79
- package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/popout-list-editor-dialog/popout-list-editor-dialog.component.d.ts +0 -63
- package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/user-condition.component.d.ts +0 -94
- package/lib/v2/feature-flag/evaluation-formula/targeting-rule/percentage-options/percentage-options.component.d.ts +0 -31
- package/lib/v2/feature-flag/evaluation-formula/targeting-rule/targeting-rule.component.d.ts +0 -33
- package/lib/v2/feature-flag/feature-flag.component.d.ts +0 -49
- package/lib/v2/feature-flag/percentage-evaluation-attribute-dialog/percentage-evaluation-attribute-dialog.component.d.ts +0 -28
- package/lib/v2/feature-flag-item.component.d.ts +0 -66
- package/public-api.d.ts +0 -11
- package/public-api.scss +0 -350
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnChanges } from '@angular/core';
|
|
2
|
-
import { EnvironmentModel } from 'ng-configcat-publicapi';
|
|
3
|
-
import { UntypedFormControl } from '@angular/forms';
|
|
4
|
-
import { PublicApiService } from '../../_services';
|
|
5
|
-
import { BaseSelectComponent } from '../../base/base-select.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class EnvironmentSelectComponent extends BaseSelectComponent implements OnInit, OnChanges {
|
|
8
|
-
valueFormControl: UntypedFormControl;
|
|
9
|
-
productId: string;
|
|
10
|
-
environments: EnvironmentModel[];
|
|
11
|
-
constructor(publicApiService: PublicApiService);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
ngOnChanges(): void;
|
|
14
|
-
reloadEnvironments(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentSelectComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EnvironmentSelectComponent, "configcat-environment-select", never, { "valueFormControl": { "alias": "valueFormControl"; "required": false; }; "productId": { "alias": "productId"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ProductModel } from 'ng-configcat-publicapi';
|
|
3
|
-
import { UntypedFormControl } from '@angular/forms';
|
|
4
|
-
import { PublicApiService } from '../../_services';
|
|
5
|
-
import { BaseSelectComponent } from '../../base/base-select.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ProductSelectComponent extends BaseSelectComponent implements OnInit {
|
|
8
|
-
valueFormControl: UntypedFormControl;
|
|
9
|
-
products: ProductModel[];
|
|
10
|
-
constructor(publicApiService: PublicApiService);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSelectComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSelectComponent, "configcat-product-select", never, { "valueFormControl": { "alias": "valueFormControl"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnChanges } from '@angular/core';
|
|
2
|
-
import { SettingModel } from 'ng-configcat-publicapi';
|
|
3
|
-
import { UntypedFormControl } from '@angular/forms';
|
|
4
|
-
import { PublicApiService } from '../../_services';
|
|
5
|
-
import { BaseSelectComponent } from '../../base/base-select.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SettingSelectComponent extends BaseSelectComponent implements OnInit, OnChanges {
|
|
8
|
-
valueFormControl: UntypedFormControl;
|
|
9
|
-
configId: string;
|
|
10
|
-
settings: SettingModel[];
|
|
11
|
-
constructor(publicApiService: PublicApiService);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
ngOnChanges(): void;
|
|
14
|
-
reloadSettings(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingSelectComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingSelectComponent, "configcat-setting-select", never, { "valueFormControl": { "alias": "valueFormControl"; "required": false; }; "configId": { "alias": "configId"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { BaseComponent } from '../base/base.component';
|
|
3
|
-
import { EvaluationVersion, SegmentListModel, SettingFormulaModel, SettingValueModel } from 'ng-configcat-publicapi';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { PublicApiService } from '../_services';
|
|
6
|
-
import { SettingValuesModel, UpdateSettingValuesModel } from '../_models';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SettingItemComponent extends BaseComponent implements OnInit {
|
|
9
|
-
productId: string;
|
|
10
|
-
environmentId: string;
|
|
11
|
-
configId: string;
|
|
12
|
-
evaluationVersion: EvaluationVersion;
|
|
13
|
-
settingId: number;
|
|
14
|
-
canDeleteSetting: boolean;
|
|
15
|
-
deleteSettingText: string;
|
|
16
|
-
showEnvironmentName: boolean;
|
|
17
|
-
deleteSettingRequested: EventEmitter<any>;
|
|
18
|
-
loadSucceeded: EventEmitter<any>;
|
|
19
|
-
loadFailed: EventEmitter<any>;
|
|
20
|
-
saveSucceeded: EventEmitter<any>;
|
|
21
|
-
saveFailed: EventEmitter<any>;
|
|
22
|
-
formValuesChanged: EventEmitter<any>;
|
|
23
|
-
settingValue: SettingValueModel;
|
|
24
|
-
segments: SegmentListModel[];
|
|
25
|
-
dashboardBasePath: string;
|
|
26
|
-
settingFormulaModel: SettingFormulaModel;
|
|
27
|
-
constructor(publicApiService: PublicApiService);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
loadSettingValues: () => Observable<SettingValuesModel>;
|
|
30
|
-
itemLoadSucceeded(): void;
|
|
31
|
-
loadSegments: () => Observable<SegmentListModel[]>;
|
|
32
|
-
handleSave: (model: UpdateSettingValuesModel) => Observable<SettingValuesModel>;
|
|
33
|
-
onDeleteSettingRequested(setting: any): void;
|
|
34
|
-
onFormValuesChanged(): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingItemComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingItemComponent, "configcat-setting-item", never, { "productId": { "alias": "productId"; "required": false; }; "environmentId": { "alias": "environmentId"; "required": false; }; "configId": { "alias": "configId"; "required": false; }; "evaluationVersion": { "alias": "evaluationVersion"; "required": false; }; "settingId": { "alias": "settingId"; "required": false; }; "canDeleteSetting": { "alias": "canDeleteSetting"; "required": false; }; "deleteSettingText": { "alias": "deleteSettingText"; "required": false; }; "showEnvironmentName": { "alias": "showEnvironmentName"; "required": false; }; }, { "deleteSettingRequested": "deleteSettingRequested"; "loadSucceeded": "loadSucceeded"; "loadFailed": "loadFailed"; "saveSucceeded": "saveSucceeded"; "saveFailed": "saveFailed"; "formValuesChanged": "formValuesChanged"; }, never, never, false, never>;
|
|
37
|
-
}
|
package/lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { UntypedFormGroup, UntypedFormArray, UntypedFormControl } from '@angular/forms';
|
|
2
|
-
import { SettingType } from 'ng-configcat-publicapi';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RolloutPercentageItemsComponent {
|
|
5
|
-
formGroup: UntypedFormGroup;
|
|
6
|
-
readOnly: boolean;
|
|
7
|
-
SettingType: {
|
|
8
|
-
Boolean: SettingType;
|
|
9
|
-
String: SettingType;
|
|
10
|
-
Int: SettingType;
|
|
11
|
-
Double: SettingType;
|
|
12
|
-
};
|
|
13
|
-
setting(): any;
|
|
14
|
-
rolloutRules(): UntypedFormArray;
|
|
15
|
-
rolloutPercentageItems(): UntypedFormArray;
|
|
16
|
-
rolloutPercentageItemsSum(): UntypedFormControl;
|
|
17
|
-
value(rolloutPercentageItem: UntypedFormGroup): UntypedFormControl;
|
|
18
|
-
constructor();
|
|
19
|
-
percentageChanged(index: number): void;
|
|
20
|
-
updateSum(): void;
|
|
21
|
-
removeRolloutPercentageItem(index: number): void;
|
|
22
|
-
removeAll(): void;
|
|
23
|
-
getRolloutPercentageItemFormGroups(): UntypedFormGroup[];
|
|
24
|
-
getPercentageFormControl(rolloutPercentageItem: any): UntypedFormControl;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RolloutPercentageItemsComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RolloutPercentageItemsComponent, "configcat-rollout-percentage-items", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { UntypedFormGroup, UntypedFormControl, UntypedFormArray } from '@angular/forms';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { SettingType, RolloutRuleComparator, SegmentListModel, SegmentComparator } from 'ng-configcat-publicapi';
|
|
4
|
-
import { SettingListFormHelper } from '../../../_services/setting-list-form-helper';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class RolloutRulesComponent {
|
|
7
|
-
private dialog;
|
|
8
|
-
private settingListFormHelper;
|
|
9
|
-
formGroup: UntypedFormGroup;
|
|
10
|
-
readOnly: boolean;
|
|
11
|
-
segments: SegmentListModel[];
|
|
12
|
-
SettingType: {
|
|
13
|
-
Boolean: SettingType;
|
|
14
|
-
String: SettingType;
|
|
15
|
-
Int: SettingType;
|
|
16
|
-
Double: SettingType;
|
|
17
|
-
};
|
|
18
|
-
defaultComparisonAttributes: string[];
|
|
19
|
-
rolloutRuleComparators: {
|
|
20
|
-
value: RolloutRuleComparator;
|
|
21
|
-
label: string;
|
|
22
|
-
}[];
|
|
23
|
-
segmentComparators: {
|
|
24
|
-
value: SegmentComparator;
|
|
25
|
-
label: string;
|
|
26
|
-
}[];
|
|
27
|
-
constructor(dialog: MatDialog, settingListFormHelper: SettingListFormHelper);
|
|
28
|
-
setting(): any;
|
|
29
|
-
rolloutRules(): UntypedFormArray;
|
|
30
|
-
comparisonAttributes(): any;
|
|
31
|
-
removeRule(index: any): void;
|
|
32
|
-
onDrop(event: any): void;
|
|
33
|
-
attributeChanged(event: any, comparisonAttribute: UntypedFormControl): void;
|
|
34
|
-
getPlaceHolder(rolloutRule: any): "" | "e.g: user_id1, user_id2, user_id3" | "e.g: jane@example.com, john@example.com" | "e.g: France, Brazil" | "e.g: value1, value2, value3" | "part-of-id" | "e.g: @example.com" | "e.g: United" | "e.g: any-part-of-your-value-string" | "e.g: 1.0.0, 2.0.1" | "e.g: 1.0.0" | "e.g: 42";
|
|
35
|
-
getComparisonValueType(rolloutRule: any): "number" | "text";
|
|
36
|
-
getInfoClass(rolloutRule: any): "warn" | "info";
|
|
37
|
-
getInfoTooltip(rolloutRule: any): "Learn more about comparators" | "Consider using sensitive text comparators. Click to learn more." | "Click to learn more about comparators";
|
|
38
|
-
comparatorChanged(rolloutRule: any): void;
|
|
39
|
-
isListType(rolloutRule: any): boolean;
|
|
40
|
-
validateSemVer(c: UntypedFormControl): {
|
|
41
|
-
validateSemVer: {
|
|
42
|
-
valid: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
validateSemVerList(c: UntypedFormControl): {
|
|
46
|
-
validateSemVerList: {
|
|
47
|
-
valid: boolean;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
popOut(rolloutRule: any): void;
|
|
51
|
-
trackByIndex(index: number): any;
|
|
52
|
-
getRolloutRuleValueFormControl(rolloutRule: any): UntypedFormControl;
|
|
53
|
-
getRolloutRuleComparisonValueFormControl(rolloutRule: any): UntypedFormControl;
|
|
54
|
-
getRolloutRuleComparisonAttributeFormControl(rolloutRule: any): UntypedFormControl;
|
|
55
|
-
getRolloutRuleTypeFormControl(rolloutRule: any): UntypedFormControl;
|
|
56
|
-
getRolloutRuleComparatorFormControl(rolloutRule: any): UntypedFormControl;
|
|
57
|
-
getRolloutRuleSegmentComparatorFormControl(rolloutRule: any): UntypedFormControl;
|
|
58
|
-
getRolloutRuleSegmentIdFormControl(rolloutRule: any): UntypedFormControl;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RolloutRulesComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RolloutRulesComponent, "configcat-rollout-rules", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; }, {}, never, never, false, never>;
|
|
61
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup, UntypedFormArray, UntypedFormControl } from '@angular/forms';
|
|
3
|
-
import { SegmentListModel, SettingModel, SettingType } from 'ng-configcat-publicapi';
|
|
4
|
-
import { SettingListFormHelper } from '../../_services/setting-list-form-helper';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SettingComponent implements OnInit {
|
|
7
|
-
private formHelper;
|
|
8
|
-
dashboardBasePath: string;
|
|
9
|
-
productId: string;
|
|
10
|
-
environmentId: string;
|
|
11
|
-
configId: string;
|
|
12
|
-
formGroup: UntypedFormGroup;
|
|
13
|
-
readOnly: boolean;
|
|
14
|
-
canDeleteSetting: boolean;
|
|
15
|
-
deleteSettingText: string;
|
|
16
|
-
showEnvironmentName: boolean;
|
|
17
|
-
segments: SegmentListModel[];
|
|
18
|
-
deleteSettingRequested: EventEmitter<any>;
|
|
19
|
-
rulesBeingRendered: boolean;
|
|
20
|
-
SettingType: {
|
|
21
|
-
Boolean: SettingType;
|
|
22
|
-
String: SettingType;
|
|
23
|
-
Int: SettingType;
|
|
24
|
-
Double: SettingType;
|
|
25
|
-
};
|
|
26
|
-
constructor(formHelper: SettingListFormHelper);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
environment(): any;
|
|
29
|
-
setting(): SettingModel;
|
|
30
|
-
integrationLinks(): UntypedFormArray;
|
|
31
|
-
rolloutRules(): UntypedFormArray;
|
|
32
|
-
rolloutPercentageItems(): UntypedFormArray;
|
|
33
|
-
value(): UntypedFormControl;
|
|
34
|
-
addRolloutRule(): void;
|
|
35
|
-
addSegmentRolloutRule(): void;
|
|
36
|
-
removeRolloutRules(): void;
|
|
37
|
-
addRolloutPercentageItem(): void;
|
|
38
|
-
removeRolloutPercentageItems(): void;
|
|
39
|
-
deleteSetting(): void;
|
|
40
|
-
getDashboardUrl(): string;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingComponent, "setting", never, { "dashboardBasePath": { "alias": "dashboardBasePath"; "required": false; }; "productId": { "alias": "productId"; "required": false; }; "environmentId": { "alias": "environmentId"; "required": false; }; "configId": { "alias": "configId"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "canDeleteSetting": { "alias": "canDeleteSetting"; "required": false; }; "deleteSettingText": { "alias": "deleteSettingText"; "required": false; }; "showEnvironmentName": { "alias": "showEnvironmentName"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; }, { "deleteSettingRequested": "deleteSettingRequested"; }, never, never, false, never>;
|
|
43
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { UntypedFormControl } from '@angular/forms';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { SettingModel, SettingType } from 'ng-configcat-publicapi';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ValueComponent {
|
|
6
|
-
private dialog;
|
|
7
|
-
valueFormControl: UntypedFormControl;
|
|
8
|
-
setting: SettingModel;
|
|
9
|
-
SettingType: {
|
|
10
|
-
Boolean: SettingType;
|
|
11
|
-
String: SettingType;
|
|
12
|
-
Int: SettingType;
|
|
13
|
-
Double: SettingType;
|
|
14
|
-
};
|
|
15
|
-
constructor(dialog: MatDialog);
|
|
16
|
-
popOut(): void;
|
|
17
|
-
formatDecimalNumber(value: number): string;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValueComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ValueComponent, "configcat-value", never, { "valueFormControl": { "alias": "valueFormControl"; "required": false; }; "setting": { "alias": "setting"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnChanges } from '@angular/core';
|
|
2
|
-
import { SettingValuesModel, UpdateSettingValuesModel } from '../_models';
|
|
3
|
-
import { UntypedFormArray, UntypedFormGroup } from '@angular/forms';
|
|
4
|
-
import { Observable, Subscription } from 'rxjs';
|
|
5
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
6
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
7
|
-
import { SettingListFormHelper } from '../_services/setting-list-form-helper';
|
|
8
|
-
import { SegmentListModel, SettingModel } from 'ng-configcat-publicapi';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class SettingListComponent implements OnChanges, OnDestroy {
|
|
11
|
-
private formHelper;
|
|
12
|
-
private snackBar;
|
|
13
|
-
private dialog;
|
|
14
|
-
productId: string;
|
|
15
|
-
environmentId: string;
|
|
16
|
-
configId: string;
|
|
17
|
-
dashboardBasePath: string;
|
|
18
|
-
canDeleteSetting: boolean;
|
|
19
|
-
onSave: (value: UpdateSettingValuesModel) => Observable<SettingValuesModel>;
|
|
20
|
-
loadSettingValues: () => Observable<SettingValuesModel>;
|
|
21
|
-
loadSegments: () => Observable<SegmentListModel[]>;
|
|
22
|
-
deleteSettingText: string;
|
|
23
|
-
showEnvironmentName: boolean;
|
|
24
|
-
loadSucceeded: EventEmitter<any>;
|
|
25
|
-
deleteSettingRequested: EventEmitter<any>;
|
|
26
|
-
formValuesChanged: EventEmitter<any>;
|
|
27
|
-
formValuesChangedSubscription: Subscription | null;
|
|
28
|
-
loading: boolean;
|
|
29
|
-
settingValues: SettingValuesModel;
|
|
30
|
-
segments: SegmentListModel[];
|
|
31
|
-
formGroup: UntypedFormGroup;
|
|
32
|
-
submitting: boolean;
|
|
33
|
-
showRevertQuestion: boolean;
|
|
34
|
-
showFeedBackMessage: boolean;
|
|
35
|
-
readOnly: boolean;
|
|
36
|
-
constructor(formHelper: SettingListFormHelper, snackBar: MatSnackBar, dialog: MatDialog);
|
|
37
|
-
ngOnChanges(): void;
|
|
38
|
-
ngOnDestroy(): void;
|
|
39
|
-
reloadSettingValues(): void;
|
|
40
|
-
createFormGroup(): void;
|
|
41
|
-
settingValuesFormArray(): UntypedFormArray;
|
|
42
|
-
getSettingValueFormGroups(): UntypedFormGroup[];
|
|
43
|
-
private buildUpdateSettingValuesModel;
|
|
44
|
-
submit(): void;
|
|
45
|
-
updateSettingValues(updateSettingValuesModel: any): void;
|
|
46
|
-
handleRevertYes(): void;
|
|
47
|
-
handleRevertCancel(): void;
|
|
48
|
-
onDeleteSettingRequested(setting: {
|
|
49
|
-
setting: SettingModel;
|
|
50
|
-
}): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingListComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingListComponent, "configcat-setting-list", never, { "productId": { "alias": "productId"; "required": false; }; "environmentId": { "alias": "environmentId"; "required": false; }; "configId": { "alias": "configId"; "required": false; }; "dashboardBasePath": { "alias": "dashboardBasePath"; "required": false; }; "canDeleteSetting": { "alias": "canDeleteSetting"; "required": false; }; "onSave": { "alias": "onSave"; "required": false; }; "loadSettingValues": { "alias": "loadSettingValues"; "required": false; }; "loadSegments": { "alias": "loadSegments"; "required": false; }; "deleteSettingText": { "alias": "deleteSettingText"; "required": false; }; "showEnvironmentName": { "alias": "showEnvironmentName"; "required": false; }; }, { "loadSucceeded": "loadSucceeded"; "deleteSettingRequested": "deleteSettingRequested"; "formValuesChanged": "formValuesChanged"; }, never, never, false, never>;
|
|
53
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl, FormGroup, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import { FormHelper } from '../../../_services/form-helper';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface DateTimeForm {
|
|
6
|
-
dateValue: FormControl<Date | undefined>;
|
|
7
|
-
timeValue: FormControl<string>;
|
|
8
|
-
}
|
|
9
|
-
export declare class DateTimePickerComponent implements OnInit, ControlValueAccessor, Validator {
|
|
10
|
-
FormHelper: typeof FormHelper;
|
|
11
|
-
destroyRef: DestroyRef;
|
|
12
|
-
formGroup: FormGroup<DateTimeForm>;
|
|
13
|
-
private onChangeModel;
|
|
14
|
-
private onTouchModel;
|
|
15
|
-
dateTooltip: string;
|
|
16
|
-
timeTooltip: string;
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
writeValue(obj: any): void;
|
|
19
|
-
registerOnChange(fn: any): void;
|
|
20
|
-
registerOnTouched(fn: any): void;
|
|
21
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
22
|
-
validate(): ValidationErrors;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "app-date-time-picker", never, { "dateTooltip": { "alias": "dateTooltip"; "required": false; }; "timeTooltip": { "alias": "timeTooltip"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { IDependeeSetting } from '../../../_models/setting-value-formgroup';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { PublicApiService } from '../../../_services';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DependeesDialogComponent {
|
|
6
|
-
data: {
|
|
7
|
-
dependees: IDependeeSetting[];
|
|
8
|
-
name: string;
|
|
9
|
-
organizationId: string;
|
|
10
|
-
productId: string;
|
|
11
|
-
configId: string;
|
|
12
|
-
environmentId: string;
|
|
13
|
-
};
|
|
14
|
-
private router;
|
|
15
|
-
private publicApiService;
|
|
16
|
-
constructor(data: {
|
|
17
|
-
dependees: IDependeeSetting[];
|
|
18
|
-
name: string;
|
|
19
|
-
organizationId: string;
|
|
20
|
-
productId: string;
|
|
21
|
-
configId: string;
|
|
22
|
-
environmentId: string;
|
|
23
|
-
}, router: Router, publicApiService: PublicApiService);
|
|
24
|
-
getDashboardUrl(settingId: number): string;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DependeesDialogComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DependeesDialogComponent, "app-dependees-dialog", never, {}, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
3
|
-
import { FormGroup } from '@angular/forms';
|
|
4
|
-
import { ISegment, UpdateSettingValueForm, TargetingRuleForm, FormGenerator, IFeatureFlagLimitations, IPrerequisiteChanged, IFlagState } from '../../../bootstrap';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class EvaluationFormulaComponent {
|
|
7
|
-
private formGenerator;
|
|
8
|
-
formGroup: FormGroup<UpdateSettingValueForm>;
|
|
9
|
-
segments: ISegment[];
|
|
10
|
-
flagState: IFlagState;
|
|
11
|
-
showVariationId: boolean;
|
|
12
|
-
featureFlagLimitations: IFeatureFlagLimitations;
|
|
13
|
-
canManageSegments: boolean;
|
|
14
|
-
showPercentageEvaluationAttribute: boolean;
|
|
15
|
-
createSegmentRequested: EventEmitter<any>;
|
|
16
|
-
manageSegmentsRequested: EventEmitter<any>;
|
|
17
|
-
addSegmentConditionRequestedWithoutSegments: EventEmitter<any>;
|
|
18
|
-
changePercentageEvaluationAttributeRequested: EventEmitter<any>;
|
|
19
|
-
subscriptionLimitReached: EventEmitter<any>;
|
|
20
|
-
prerequisiteConditionChanged: EventEmitter<IPrerequisiteChanged>;
|
|
21
|
-
recalcAddButtons: EventEmitter<any>;
|
|
22
|
-
constructor(formGenerator: FormGenerator);
|
|
23
|
-
addUserCondition(): boolean;
|
|
24
|
-
addSegmentCondition(): boolean;
|
|
25
|
-
addPrerequisiteFlagCondition(): boolean;
|
|
26
|
-
addPercentageOptions(): boolean;
|
|
27
|
-
addTargetingRuleFormGroup(formGroup: FormGroup<TargetingRuleForm>): boolean;
|
|
28
|
-
checkFeatureFlagLimitations(): boolean;
|
|
29
|
-
trackByIndex(index: number): any;
|
|
30
|
-
onDrop(event: CdkDragDrop<any>): void;
|
|
31
|
-
isDragDisabled(targetingRule: FormGroup<TargetingRuleForm>): boolean;
|
|
32
|
-
sortPredicate(): (index: number) => boolean;
|
|
33
|
-
sortPredicateFunction(index: number): boolean;
|
|
34
|
-
getChipText(): string;
|
|
35
|
-
getChipTooltip(): string;
|
|
36
|
-
remove(index: number): void;
|
|
37
|
-
subscriptionLimitReachedCalled(): void;
|
|
38
|
-
recalcPrerequisiteReferences(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EvaluationFormulaComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EvaluationFormulaComponent, "app-evaluation-formula", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "flagState": { "alias": "flagState"; "required": false; }; "showVariationId": { "alias": "showVariationId"; "required": false; }; "featureFlagLimitations": { "alias": "featureFlagLimitations"; "required": false; }; "canManageSegments": { "alias": "canManageSegments"; "required": false; }; "showPercentageEvaluationAttribute": { "alias": "showPercentageEvaluationAttribute"; "required": false; }; }, { "createSegmentRequested": "createSegmentRequested"; "manageSegmentsRequested": "manageSegmentsRequested"; "addSegmentConditionRequestedWithoutSegments": "addSegmentConditionRequestedWithoutSegments"; "changePercentageEvaluationAttributeRequested": "changePercentageEvaluationAttributeRequested"; "subscriptionLimitReached": "subscriptionLimitReached"; "prerequisiteConditionChanged": "prerequisiteConditionChanged"; "recalcAddButtons": "recalcAddButtons"; }, never, never, false, never>;
|
|
41
|
-
}
|
package/lib/v2/feature-flag/evaluation-formula/feature-flag-value/feature-flag-value.component.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { FormHelper, ValueForm, IFeatureFlagLimitations, FormGenerator, IFlagState } from '../../../../bootstrap';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FeatureFlagValueComponent {
|
|
6
|
-
private dialog;
|
|
7
|
-
private formGenerator;
|
|
8
|
-
formGroup: FormGroup<ValueForm>;
|
|
9
|
-
flagState: IFlagState;
|
|
10
|
-
featureFlagLimitations: IFeatureFlagLimitations;
|
|
11
|
-
isPrerequisite: boolean;
|
|
12
|
-
tooltip: string;
|
|
13
|
-
FormHelper: typeof FormHelper;
|
|
14
|
-
constructor(dialog: MatDialog, formGenerator: FormGenerator);
|
|
15
|
-
expandText(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureFlagValueComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FeatureFlagValueComponent, "app-feature-flag-value", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "flagState": { "alias": "flagState"; "required": false; }; "featureFlagLimitations": { "alias": "featureFlagLimitations"; "required": false; }; "isPrerequisite": { "alias": "isPrerequisite"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl, ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
-
import { Subscription } from 'rxjs';
|
|
5
|
-
import { FormHelper } from '../../../../bootstrap';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export interface PopoutTextEditorDialogData {
|
|
8
|
-
value: string;
|
|
9
|
-
readOnly: boolean;
|
|
10
|
-
validators: ValidatorFn[];
|
|
11
|
-
maxValueLength: number;
|
|
12
|
-
description: string;
|
|
13
|
-
}
|
|
14
|
-
export declare class PopoutTextEditorDialogComponent implements OnInit, OnDestroy {
|
|
15
|
-
dialogRef: MatDialogRef<PopoutTextEditorDialogComponent>;
|
|
16
|
-
data: PopoutTextEditorDialogData;
|
|
17
|
-
formControlSubscription: Subscription;
|
|
18
|
-
jsonData: string;
|
|
19
|
-
format: string;
|
|
20
|
-
formHelper: typeof FormHelper;
|
|
21
|
-
control: FormControl<string>;
|
|
22
|
-
constructor(dialogRef: MatDialogRef<PopoutTextEditorDialogComponent>, data: PopoutTextEditorDialogData);
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
onJsonChanged(value: string): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
set(): void;
|
|
27
|
-
close(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopoutTextEditorDialogComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PopoutTextEditorDialogComponent, "app-popout-text-editor-dialog", never, {}, {}, never, never, false, never>;
|
|
30
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ConditionChipComponent implements OnInit {
|
|
4
|
-
targetingRuleIndex: number;
|
|
5
|
-
conditionIndex: number;
|
|
6
|
-
chipText: string;
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConditionChipComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConditionChipComponent, "app-condition-chip", never, { "targetingRuleIndex": { "alias": "targetingRuleIndex"; "required": false; }; "conditionIndex": { "alias": "conditionIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/conditions.component.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormArray, FormGroup } from '@angular/forms';
|
|
3
|
-
import { IFlagState, IFeatureFlagLimitations, ConditionForm, FormGenerator, ISegment } from '../../../../../bootstrap';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ConditionsComponent {
|
|
6
|
-
private formGenerator;
|
|
7
|
-
formArray: FormArray<FormGroup<ConditionForm>>;
|
|
8
|
-
segments: ISegment[];
|
|
9
|
-
flagState: IFlagState;
|
|
10
|
-
targetingRuleIndex: number;
|
|
11
|
-
canManageSegments: boolean;
|
|
12
|
-
featureFlagLimitations: IFeatureFlagLimitations;
|
|
13
|
-
createSegmentRequested: EventEmitter<any>;
|
|
14
|
-
manageSegmentsRequested: EventEmitter<any>;
|
|
15
|
-
addSegmentConditionRequestedWithoutSegments: EventEmitter<any>;
|
|
16
|
-
lastConditionDeleted: EventEmitter<any>;
|
|
17
|
-
subscriptionLimitReached: EventEmitter<any>;
|
|
18
|
-
prerequisiteConditionChanged: EventEmitter<any>;
|
|
19
|
-
constructor(formGenerator: FormGenerator);
|
|
20
|
-
addUserCondition(): void;
|
|
21
|
-
addSegmentCondition(): void;
|
|
22
|
-
addPrerequisiteFlagCondition(): void;
|
|
23
|
-
remove(index: number): void;
|
|
24
|
-
checkLimitations(): boolean;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConditionsComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConditionsComponent, "app-conditions", never, { "formArray": { "alias": "formArray"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "flagState": { "alias": "flagState"; "required": false; }; "targetingRuleIndex": { "alias": "targetingRuleIndex"; "required": false; }; "canManageSegments": { "alias": "canManageSegments"; "required": false; }; "featureFlagLimitations": { "alias": "featureFlagLimitations"; "required": false; }; }, { "createSegmentRequested": "createSegmentRequested"; "manageSegmentsRequested": "manageSegmentsRequested"; "addSegmentConditionRequestedWithoutSegments": "addSegmentConditionRequestedWithoutSegments"; "lastConditionDeleted": "lastConditionDeleted"; "subscriptionLimitReached": "subscriptionLimitReached"; "prerequisiteConditionChanged": "prerequisiteConditionChanged"; }, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { FormHelper, PrerequisiteComparator, IFeatureFlagLimitations, PrerequisiteFlagConditionForm, IPrerequisiteSetting, IValueModel, FormGenerator, SettingType } from '../../../../../../bootstrap';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PrerequisiteFlagConditionComponent implements OnInit {
|
|
6
|
-
private formGenerator;
|
|
7
|
-
targetingRuleIndex: number;
|
|
8
|
-
conditionIndex: number;
|
|
9
|
-
formGroup: FormGroup<PrerequisiteFlagConditionForm>;
|
|
10
|
-
prerequisiteSettings: IPrerequisiteSetting[];
|
|
11
|
-
featureFlagLimitations: IFeatureFlagLimitations;
|
|
12
|
-
prerequisiteConditionChanged: EventEmitter<any>;
|
|
13
|
-
SettingType: {
|
|
14
|
-
Boolean: SettingType;
|
|
15
|
-
String: SettingType;
|
|
16
|
-
Int: SettingType;
|
|
17
|
-
Double: SettingType;
|
|
18
|
-
};
|
|
19
|
-
prerequisiteSettingType: SettingType;
|
|
20
|
-
FormHelper: typeof FormHelper;
|
|
21
|
-
prerequisiteComparators: {
|
|
22
|
-
value: PrerequisiteComparator;
|
|
23
|
-
label: string;
|
|
24
|
-
}[];
|
|
25
|
-
booleanPrerequisiteComparators: {
|
|
26
|
-
value: PrerequisiteComparator;
|
|
27
|
-
label: string;
|
|
28
|
-
}[];
|
|
29
|
-
constructor(formGenerator: FormGenerator);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
getSettingType(): SettingType;
|
|
32
|
-
prerequisiteSettingChanged(): void;
|
|
33
|
-
getDefaultValueModel(settingType: SettingType): IValueModel;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PrerequisiteFlagConditionComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PrerequisiteFlagConditionComponent, "app-prerequisite-flag-condition", never, { "targetingRuleIndex": { "alias": "targetingRuleIndex"; "required": false; }; "conditionIndex": { "alias": "conditionIndex"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "prerequisiteSettings": { "alias": "prerequisiteSettings"; "required": false; }; "featureFlagLimitations": { "alias": "featureFlagLimitations"; "required": false; }; }, { "prerequisiteConditionChanged": "prerequisiteConditionChanged"; }, never, never, false, never>;
|
|
36
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { FormHelper, SegmentConditionForm, ISegment, SegmentComparator } from '../../../../../../bootstrap';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SegmentConditionComponent {
|
|
6
|
-
targetingRuleIndex: number;
|
|
7
|
-
conditionIndex: number;
|
|
8
|
-
formGroup: FormGroup<SegmentConditionForm>;
|
|
9
|
-
segments: ISegment[];
|
|
10
|
-
canManageSegments: boolean;
|
|
11
|
-
createSegmentRequested: EventEmitter<any>;
|
|
12
|
-
manageSegmentsRequested: EventEmitter<any>;
|
|
13
|
-
FormHelper: typeof FormHelper;
|
|
14
|
-
segmentComparators: {
|
|
15
|
-
value: SegmentComparator;
|
|
16
|
-
label: string;
|
|
17
|
-
}[];
|
|
18
|
-
createSegment(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentConditionComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentConditionComponent, "app-segment-condition", never, { "targetingRuleIndex": { "alias": "targetingRuleIndex"; "required": false; }; "conditionIndex": { "alias": "conditionIndex"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "canManageSegments": { "alias": "canManageSegments"; "required": false; }; }, { "createSegmentRequested": "createSegmentRequested"; "manageSegmentsRequested": "manageSegmentsRequested"; }, never, never, false, never>;
|
|
21
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { UserComparator } from '../../../../../../../bootstrap';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
declare enum ComparatorGroup {
|
|
6
|
-
Text = 0,
|
|
7
|
-
Number = 1,
|
|
8
|
-
Semver = 2,
|
|
9
|
-
DateTime = 3,
|
|
10
|
-
Array = 4
|
|
11
|
-
}
|
|
12
|
-
interface ComparatorItem {
|
|
13
|
-
value: UserComparator;
|
|
14
|
-
sensitiveValue?: UserComparator;
|
|
15
|
-
label: string;
|
|
16
|
-
description: string;
|
|
17
|
-
group: ComparatorGroup;
|
|
18
|
-
}
|
|
19
|
-
export declare class ComparatorDialogComponent implements OnInit {
|
|
20
|
-
dialogRef: MatDialogRef<ComparatorDialogComponent>;
|
|
21
|
-
data: any;
|
|
22
|
-
ComparatorGroup: typeof ComparatorGroup;
|
|
23
|
-
selectedGroup: ComparatorGroup;
|
|
24
|
-
selectedComparator: UserComparator;
|
|
25
|
-
isConfidential: boolean;
|
|
26
|
-
lastConfidentialValue: boolean;
|
|
27
|
-
confidentialEnabled: boolean;
|
|
28
|
-
UserComparator: {
|
|
29
|
-
IsOneOf: UserComparator;
|
|
30
|
-
IsNotOneOf: UserComparator;
|
|
31
|
-
ContainsAnyOf: UserComparator;
|
|
32
|
-
DoesNotContainAnyOf: UserComparator;
|
|
33
|
-
SemVerIsOneOf: UserComparator;
|
|
34
|
-
SemVerIsNotOneOf: UserComparator;
|
|
35
|
-
SemVerLess: UserComparator;
|
|
36
|
-
SemVerLessOrEquals: UserComparator;
|
|
37
|
-
SemVerGreater: UserComparator;
|
|
38
|
-
SemVerGreaterOrEquals: UserComparator;
|
|
39
|
-
NumberEquals: UserComparator;
|
|
40
|
-
NumberDoesNotEqual: UserComparator;
|
|
41
|
-
NumberLess: UserComparator;
|
|
42
|
-
NumberLessOrEquals: UserComparator;
|
|
43
|
-
NumberGreater: UserComparator;
|
|
44
|
-
NumberGreaterOrEquals: UserComparator;
|
|
45
|
-
SensitiveIsOneOf: UserComparator;
|
|
46
|
-
SensitiveIsNotOneOf: UserComparator;
|
|
47
|
-
DateTimeBefore: UserComparator;
|
|
48
|
-
DateTimeAfter: UserComparator;
|
|
49
|
-
SensitiveTextEquals: UserComparator;
|
|
50
|
-
SensitiveTextDoesNotEqual: UserComparator;
|
|
51
|
-
SensitiveTextStartsWithAnyOf: UserComparator;
|
|
52
|
-
SensitiveTextNotStartsWithAnyOf: UserComparator;
|
|
53
|
-
SensitiveTextEndsWithAnyOf: UserComparator;
|
|
54
|
-
SensitiveTextNotEndsWithAnyOf: UserComparator;
|
|
55
|
-
SensitiveArrayContainsAnyOf: UserComparator;
|
|
56
|
-
SensitiveArrayDoesNotContainAnyOf: UserComparator;
|
|
57
|
-
TextEquals: UserComparator;
|
|
58
|
-
TextDoesNotEqual: UserComparator;
|
|
59
|
-
TextStartsWithAnyOf: UserComparator;
|
|
60
|
-
TextNotStartsWithAnyOf: UserComparator;
|
|
61
|
-
TextEndsWithAnyOf: UserComparator;
|
|
62
|
-
TextNotEndsWithAnyOf: UserComparator;
|
|
63
|
-
ArrayContainsAnyOf: UserComparator;
|
|
64
|
-
ArrayDoesNotContainAnyOf: UserComparator;
|
|
65
|
-
};
|
|
66
|
-
comparisonAttributeTooltip: string;
|
|
67
|
-
comparisonValueTooltip: string;
|
|
68
|
-
comparators: ComparatorItem[];
|
|
69
|
-
constructor(dialogRef: MatDialogRef<ComparatorDialogComponent>, data: any);
|
|
70
|
-
ngOnInit(): void;
|
|
71
|
-
listComparators(group: ComparatorGroup): ComparatorItem[];
|
|
72
|
-
changeGroup(group: ComparatorGroup): void;
|
|
73
|
-
confidentialChange(confidential: boolean): void;
|
|
74
|
-
comparatorChange(comp: UserComparator): void;
|
|
75
|
-
set(): void;
|
|
76
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComparatorDialogComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ComparatorDialogComponent, "app-comparator-dialog", never, {}, {}, never, never, false, never>;
|
|
78
|
-
}
|
|
79
|
-
export {};
|