ng-configcat-publicapi-ui 2.3.2 → 2.5.1
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/{esm2015/lib/_models/index.js → esm2020/lib/_models/index.mjs} +0 -0
- package/{esm2015/lib/_models/settingValuesModel.js → esm2020/lib/_models/settingValuesModel.mjs} +0 -0
- package/{esm2015/lib/_models/updateSettingValuesModel.js → esm2020/lib/_models/updateSettingValuesModel.mjs} +0 -0
- package/esm2020/lib/_services/form-helper.mjs +21 -0
- package/{esm2015/lib/_services/index.js → esm2020/lib/_services/index.mjs} +0 -0
- package/esm2020/lib/_services/public-api.service.mjs +68 -0
- package/esm2020/lib/_services/setting-list-form-helper.mjs +152 -0
- package/esm2020/lib/authorization/authorization.component.mjs +50 -0
- package/esm2020/lib/base/base.component.mjs +45 -0
- package/esm2020/lib/configuration.mjs +13 -0
- package/esm2020/lib/dialogs/concurrent-dialog/concurrent-dialog.component.mjs +25 -0
- package/esm2020/lib/dialogs/expand-dialog/expand-dialog.component.mjs +77 -0
- package/esm2020/lib/dialogs/reason-dialog/reason-dialog.component.mjs +36 -0
- package/esm2020/lib/dialogs/save-snackbar/save-snackbar.component.mjs +14 -0
- package/esm2020/lib/ng-configcat-publicapi-ui.module.mjs +160 -0
- package/esm2020/lib/selects/config-select/config-select.component.mjs +56 -0
- package/esm2020/lib/selects/environment-select/environment-select.component.mjs +43 -0
- package/esm2020/lib/selects/product-select/product-select.component.mjs +36 -0
- package/esm2020/lib/selects/setting-select/setting-select.component.mjs +43 -0
- package/esm2020/lib/setting-item/setting-item.component.mjs +129 -0
- package/esm2020/lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component.mjs +81 -0
- package/esm2020/lib/setting-list/setting/rollout-rules/rollout-rules.component.mjs +295 -0
- package/esm2020/lib/setting-list/setting/setting.component.mjs +137 -0
- package/esm2020/lib/setting-list/setting/value/value.component.mjs +32 -0
- package/esm2020/lib/setting-list/setting-list.component.mjs +200 -0
- package/esm2020/ng-configcat-publicapi-ui.mjs +5 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/fesm2015/ng-configcat-publicapi-ui.mjs +1588 -0
- package/fesm2015/ng-configcat-publicapi-ui.mjs.map +1 -0
- package/fesm2020/ng-configcat-publicapi-ui.mjs +1569 -0
- package/fesm2020/ng-configcat-publicapi-ui.mjs.map +1 -0
- package/lib/_services/form-helper.d.ts +1 -1
- package/lib/_services/public-api.service.d.ts +12 -8
- package/lib/_services/setting-list-form-helper.d.ts +5 -2
- package/lib/authorization/authorization.component.d.ts +4 -1
- package/lib/base/base.component.d.ts +7 -3
- package/lib/configuration.d.ts +3 -0
- package/lib/dialogs/concurrent-dialog/concurrent-dialog.component.d.ts +3 -0
- package/lib/dialogs/expand-dialog/expand-dialog.component.d.ts +7 -3
- package/lib/dialogs/reason-dialog/reason-dialog.component.d.ts +3 -0
- package/lib/dialogs/save-snackbar/save-snackbar.component.d.ts +3 -0
- package/lib/ng-configcat-publicapi-ui.module.d.ts +38 -0
- package/lib/selects/config-select/config-select.component.d.ts +3 -0
- package/lib/selects/environment-select/environment-select.component.d.ts +3 -0
- package/lib/selects/product-select/product-select.component.d.ts +3 -0
- package/lib/selects/setting-select/setting-select.component.d.ts +3 -0
- package/lib/setting-item/setting-item.component.d.ts +7 -1
- package/lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component.d.ts +7 -2
- package/lib/setting-list/setting/rollout-rules/rollout-rules.component.d.ts +19 -5
- package/lib/setting-list/setting/setting.component.d.ts +7 -1
- package/lib/setting-list/setting/value/value.component.d.ts +3 -0
- package/lib/setting-list/setting-list.component.d.ts +9 -1
- package/ng-configcat-publicapi-ui.d.ts +1 -14
- package/package.json +26 -15
- package/bundles/ng-configcat-publicapi-ui.umd.js +0 -1820
- package/bundles/ng-configcat-publicapi-ui.umd.js.map +0 -1
- package/esm2015/lib/_services/form-helper.js +0 -21
- package/esm2015/lib/_services/public-api.service.js +0 -71
- package/esm2015/lib/_services/setting-list-form-helper.js +0 -128
- package/esm2015/lib/authorization/authorization.component.js +0 -49
- package/esm2015/lib/base/base.component.js +0 -40
- package/esm2015/lib/configuration.js +0 -10
- package/esm2015/lib/dialogs/concurrent-dialog/concurrent-dialog.component.js +0 -26
- package/esm2015/lib/dialogs/expand-dialog/expand-dialog.component.js +0 -70
- package/esm2015/lib/dialogs/reason-dialog/reason-dialog.component.js +0 -35
- package/esm2015/lib/dialogs/save-snackbar/save-snackbar.component.js +0 -15
- package/esm2015/lib/ng-configcat-publicapi-ui.module.js +0 -101
- package/esm2015/lib/selects/config-select/config-select.component.js +0 -48
- package/esm2015/lib/selects/environment-select/environment-select.component.js +0 -40
- package/esm2015/lib/selects/product-select/product-select.component.js +0 -34
- package/esm2015/lib/selects/setting-select/setting-select.component.js +0 -40
- package/esm2015/lib/setting-item/setting-item.component.js +0 -106
- package/esm2015/lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component.js +0 -69
- package/esm2015/lib/setting-list/setting/rollout-rules/rollout-rules.component.js +0 -260
- package/esm2015/lib/setting-list/setting/setting.component.js +0 -112
- package/esm2015/lib/setting-list/setting/value/value.component.js +0 -31
- package/esm2015/lib/setting-list/setting-list.component.js +0 -179
- package/esm2015/ng-configcat-publicapi-ui.js +0 -19
- package/fesm2015/ng-configcat-publicapi-ui.js +0 -1416
- package/fesm2015/ng-configcat-publicapi-ui.js.map +0 -1
- package/ng-configcat-publicapi-ui.metadata.json +0 -1
|
@@ -3,9 +3,12 @@ import { BaseComponent } from '../../base/base.component';
|
|
|
3
3
|
import { ProductModel } from 'ng-configcat-publicapi';
|
|
4
4
|
import { FormControl } from '@angular/forms';
|
|
5
5
|
import { PublicApiService } from '../../_services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ProductSelectComponent extends BaseComponent implements OnInit {
|
|
7
8
|
valueFormControl: FormControl;
|
|
8
9
|
products: ProductModel[];
|
|
9
10
|
constructor(publicApiService: PublicApiService);
|
|
10
11
|
ngOnInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSelectComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSelectComponent, "configcat-product-select", never, { "valueFormControl": "valueFormControl"; }, {}, never, never>;
|
|
11
14
|
}
|
|
@@ -3,6 +3,7 @@ import { BaseComponent } from '../../base/base.component';
|
|
|
3
3
|
import { SettingModel } from 'ng-configcat-publicapi';
|
|
4
4
|
import { FormControl } from '@angular/forms';
|
|
5
5
|
import { PublicApiService } from '../../_services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class SettingSelectComponent extends BaseComponent implements OnInit, OnChanges {
|
|
7
8
|
valueFormControl: FormControl;
|
|
8
9
|
configId: string;
|
|
@@ -11,4 +12,6 @@ export declare class SettingSelectComponent extends BaseComponent implements OnI
|
|
|
11
12
|
ngOnInit(): void;
|
|
12
13
|
ngOnChanges(): void;
|
|
13
14
|
reloadSettings(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingSelectComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingSelectComponent, "configcat-setting-select", never, { "valueFormControl": "valueFormControl"; "configId": "configId"; }, {}, never, never>;
|
|
14
17
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { BaseComponent } from '../base/base.component';
|
|
3
|
-
import { SettingValueModel } from 'ng-configcat-publicapi';
|
|
3
|
+
import { SegmentListModel, SettingValueModel } from 'ng-configcat-publicapi';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { PublicApiService } from '../_services';
|
|
6
6
|
import { SettingValuesModel, UpdateSettingValuesModel } from '../_models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class SettingItemComponent extends BaseComponent implements OnInit {
|
|
8
9
|
productId: string;
|
|
9
10
|
environmentId: string;
|
|
@@ -13,6 +14,7 @@ export declare class SettingItemComponent extends BaseComponent implements OnIni
|
|
|
13
14
|
canDeleteSetting: boolean;
|
|
14
15
|
deleteSettingText: string;
|
|
15
16
|
showEnvironmentName: boolean;
|
|
17
|
+
segmentsEnabled: boolean;
|
|
16
18
|
editSettingRequested: EventEmitter<any>;
|
|
17
19
|
deleteSettingRequested: EventEmitter<any>;
|
|
18
20
|
loadSucceeded: EventEmitter<any>;
|
|
@@ -21,11 +23,15 @@ export declare class SettingItemComponent extends BaseComponent implements OnIni
|
|
|
21
23
|
saveFailed: EventEmitter<any>;
|
|
22
24
|
formValuesChanged: EventEmitter<any>;
|
|
23
25
|
settingValue: SettingValueModel;
|
|
26
|
+
segments: SegmentListModel[];
|
|
24
27
|
constructor(publicApiService: PublicApiService);
|
|
25
28
|
ngOnInit(): void;
|
|
26
29
|
loadSettingValues: () => Observable<SettingValuesModel>;
|
|
30
|
+
loadSegments: () => Observable<SegmentListModel[]>;
|
|
27
31
|
handleSave: (model: UpdateSettingValuesModel) => Observable<SettingValuesModel>;
|
|
28
32
|
onEditSettingRequested(setting: any): void;
|
|
29
33
|
onDeleteSettingRequested(setting: any): void;
|
|
30
34
|
onFormValuesChanged(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingItemComponent, never>;
|
|
36
|
+
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>;
|
|
31
37
|
}
|
package/lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FormGroup, FormArray, FormControl } from '@angular/forms';
|
|
2
2
|
import { SettingType } from 'ng-configcat-publicapi';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class RolloutPercentageItemsComponent {
|
|
4
5
|
formGroup: FormGroup;
|
|
5
6
|
readOnly: boolean;
|
|
@@ -15,8 +16,12 @@ export declare class RolloutPercentageItemsComponent {
|
|
|
15
16
|
rolloutPercentageItemsSum(): FormControl;
|
|
16
17
|
value(rolloutPercentageItem: FormGroup): FormControl;
|
|
17
18
|
constructor();
|
|
18
|
-
percentageChanged(index:
|
|
19
|
+
percentageChanged(index: number): void;
|
|
19
20
|
updateSum(): void;
|
|
20
|
-
removeRolloutPercentageItem(index:
|
|
21
|
+
removeRolloutPercentageItem(index: number): void;
|
|
21
22
|
removeAll(): void;
|
|
23
|
+
getRolloutPercentageItemFormGroups(): FormGroup[];
|
|
24
|
+
getPercentageFormControl(rolloutPercentageItem: any): FormControl;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RolloutPercentageItemsComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RolloutPercentageItemsComponent, "configcat-rollout-percentage-items", never, { "formGroup": "formGroup"; "readOnly": "readOnly"; }, {}, never, never>;
|
|
22
27
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { FormGroup, FormControl, FormArray } from '@angular/forms';
|
|
2
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
3
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
-
import { SettingType, RolloutRuleComparator } from 'ng-configcat-publicapi';
|
|
3
|
+
import { SettingType, RolloutRuleComparator, SegmentListModel, SegmentComparator } from 'ng-configcat-publicapi';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class RolloutRulesComponent {
|
|
6
6
|
private dialog;
|
|
7
7
|
formGroup: FormGroup;
|
|
8
8
|
readOnly: boolean;
|
|
9
|
+
segments: SegmentListModel[];
|
|
9
10
|
SettingType: {
|
|
10
11
|
Boolean: SettingType;
|
|
11
12
|
String: SettingType;
|
|
@@ -17,13 +18,17 @@ export declare class RolloutRulesComponent {
|
|
|
17
18
|
value: RolloutRuleComparator;
|
|
18
19
|
label: string;
|
|
19
20
|
}[];
|
|
21
|
+
segmentComparators: {
|
|
22
|
+
value: SegmentComparator;
|
|
23
|
+
label: string;
|
|
24
|
+
}[];
|
|
20
25
|
constructor(dialog: MatDialog);
|
|
21
26
|
onlyFirstTooltip(): boolean;
|
|
22
27
|
setting(): any;
|
|
23
28
|
rolloutRules(): FormArray;
|
|
24
29
|
comparisonAttributes(): any;
|
|
25
30
|
removeRule(index: any): void;
|
|
26
|
-
onDrop(event:
|
|
31
|
+
onDrop(event: any): void;
|
|
27
32
|
attributeChanged(event: any, comparisonAttribute: FormControl): void;
|
|
28
33
|
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";
|
|
29
34
|
getComparisonValueType(rolloutRule: any): "text" | "number";
|
|
@@ -35,12 +40,21 @@ export declare class RolloutRulesComponent {
|
|
|
35
40
|
validateSemVer: {
|
|
36
41
|
valid: boolean;
|
|
37
42
|
};
|
|
38
|
-
};
|
|
43
|
+
} | null;
|
|
39
44
|
validateSemVerList(c: FormControl): {
|
|
40
45
|
validateSemVerList: {
|
|
41
46
|
valid: boolean;
|
|
42
47
|
};
|
|
43
|
-
};
|
|
48
|
+
} | null;
|
|
44
49
|
popOut(rolloutRule: any): void;
|
|
45
50
|
trackByIndex(index: number): any;
|
|
51
|
+
getRolloutRuleValueFormControl(rolloutRule: any): FormControl;
|
|
52
|
+
getRolloutRuleComparisonValueFormControl(rolloutRule: any): FormControl;
|
|
53
|
+
getRolloutRuleComparisonAttributeFormControl(rolloutRule: any): FormControl;
|
|
54
|
+
getRolloutRuleTypeFormControl(rolloutRule: any): FormControl;
|
|
55
|
+
getRolloutRuleComparatorFormControl(rolloutRule: any): FormControl;
|
|
56
|
+
getRolloutRuleSegmentComparatorFormControl(rolloutRule: any): FormControl;
|
|
57
|
+
getRolloutRuleSegmentIdFormControl(rolloutRule: any): FormControl;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RolloutRulesComponent, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RolloutRulesComponent, "configcat-rollout-rules", never, { "formGroup": "formGroup"; "readOnly": "readOnly"; "segments": "segments"; }, {}, never, never>;
|
|
46
60
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { FormGroup, FormArray, FormControl } from '@angular/forms';
|
|
3
|
-
import { SettingType } from 'ng-configcat-publicapi';
|
|
3
|
+
import { SegmentListModel, SettingType } from 'ng-configcat-publicapi';
|
|
4
4
|
import { SettingListFormHelper } from '../../_services/setting-list-form-helper';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class SettingComponent implements OnInit {
|
|
6
7
|
private formHelper;
|
|
7
8
|
private cdRef;
|
|
@@ -11,6 +12,8 @@ export declare class SettingComponent implements OnInit {
|
|
|
11
12
|
canDeleteSetting: boolean;
|
|
12
13
|
deleteSettingText: string;
|
|
13
14
|
showEnvironmentName: boolean;
|
|
15
|
+
segments: SegmentListModel[];
|
|
16
|
+
segmentsEnabled: boolean;
|
|
14
17
|
editSettingRequested: EventEmitter<any>;
|
|
15
18
|
deleteSettingRequested: EventEmitter<any>;
|
|
16
19
|
rulesBeingRendered: boolean;
|
|
@@ -29,9 +32,12 @@ export declare class SettingComponent implements OnInit {
|
|
|
29
32
|
rolloutPercentageItems(): FormArray;
|
|
30
33
|
value(): FormControl;
|
|
31
34
|
addRolloutRule(): void;
|
|
35
|
+
addSegmentRolloutRule(): void;
|
|
32
36
|
removeRolloutRules(): void;
|
|
33
37
|
addRolloutPercentageItem(): void;
|
|
34
38
|
removeRolloutPercentageItems(): void;
|
|
35
39
|
editSetting(): void;
|
|
36
40
|
deleteSetting(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingComponent, never>;
|
|
42
|
+
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>;
|
|
37
43
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
3
|
import { SettingModel, SettingType } from 'ng-configcat-publicapi';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ValueComponent {
|
|
5
6
|
private dialog;
|
|
6
7
|
valueFormControl: FormControl;
|
|
@@ -13,4 +14,6 @@ export declare class ValueComponent {
|
|
|
13
14
|
};
|
|
14
15
|
constructor(dialog: MatDialog);
|
|
15
16
|
popOut(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ValueComponent, "configcat-value", never, { "valueFormControl": "valueFormControl"; "setting": "setting"; }, {}, never, never>;
|
|
16
19
|
}
|
|
@@ -5,6 +5,8 @@ import { Observable, Subscription } from 'rxjs';
|
|
|
5
5
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
6
6
|
import { MatDialog } from '@angular/material/dialog';
|
|
7
7
|
import { SettingListFormHelper } from '../_services/setting-list-form-helper';
|
|
8
|
+
import { SegmentListModel } from 'ng-configcat-publicapi';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
8
10
|
export declare class SettingListComponent implements OnInit, OnChanges, OnDestroy {
|
|
9
11
|
private formHelper;
|
|
10
12
|
private snackBar;
|
|
@@ -13,19 +15,22 @@ export declare class SettingListComponent implements OnInit, OnChanges, OnDestro
|
|
|
13
15
|
canDeleteSetting: boolean;
|
|
14
16
|
onSave: (value: UpdateSettingValuesModel) => Observable<SettingValuesModel>;
|
|
15
17
|
loadSettingValues: () => Observable<SettingValuesModel>;
|
|
18
|
+
loadSegments: () => Observable<SegmentListModel[]>;
|
|
16
19
|
deleteSettingText: string;
|
|
17
20
|
showEnvironmentName: boolean;
|
|
18
21
|
editSettingRequested: EventEmitter<any>;
|
|
19
22
|
deleteSettingRequested: EventEmitter<any>;
|
|
20
23
|
formValuesChanged: EventEmitter<any>;
|
|
21
|
-
formValuesChangedSubscription: Subscription;
|
|
24
|
+
formValuesChangedSubscription: Subscription | null;
|
|
22
25
|
loading: boolean;
|
|
23
26
|
settingValues: SettingValuesModel;
|
|
27
|
+
segments: SegmentListModel[];
|
|
24
28
|
formGroup: FormGroup;
|
|
25
29
|
submitting: boolean;
|
|
26
30
|
showRevertQuestion: boolean;
|
|
27
31
|
showFeedBackMessage: boolean;
|
|
28
32
|
readOnly: boolean;
|
|
33
|
+
segmentsEnabled: boolean;
|
|
29
34
|
constructor(formHelper: SettingListFormHelper, snackBar: MatSnackBar, dialog: MatDialog);
|
|
30
35
|
ngOnInit(): void;
|
|
31
36
|
ngOnChanges(): void;
|
|
@@ -33,10 +38,13 @@ export declare class SettingListComponent implements OnInit, OnChanges, OnDestro
|
|
|
33
38
|
reloadSettingValues(): void;
|
|
34
39
|
createFormGroup(): void;
|
|
35
40
|
settingValuesFormArray(): FormArray;
|
|
41
|
+
getSettingValueFormGroups(): FormGroup[];
|
|
36
42
|
submit(): void;
|
|
37
43
|
updateSettingValues(updateSettingValuesModel: any): void;
|
|
38
44
|
handleRevertYes(): void;
|
|
39
45
|
handleRevertCancel(): void;
|
|
40
46
|
onEditSettingRequested(setting: any): void;
|
|
41
47
|
onDeleteSettingRequested(setting: any): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingListComponent, never>;
|
|
49
|
+
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>;
|
|
42
50
|
}
|
|
@@ -1,18 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
|
+
/// <amd-module name="ng-configcat-publicapi-ui" />
|
|
4
5
|
export * from './public-api';
|
|
5
|
-
export { PublicApiService as ɵd } from './lib/_services';
|
|
6
|
-
export { PublicApiService as ɵb } from './lib/_services/public-api.service';
|
|
7
|
-
export { SettingListFormHelper as ɵf } from './lib/_services/setting-list-form-helper';
|
|
8
|
-
export { BaseComponent as ɵa } from './lib/base/base.component';
|
|
9
|
-
export { Configuration as ɵc } from './lib/configuration';
|
|
10
|
-
export { ConcurrentDialogComponent as ɵl } from './lib/dialogs/concurrent-dialog/concurrent-dialog.component';
|
|
11
|
-
export { ExpandDialogComponent as ɵn } from './lib/dialogs/expand-dialog/expand-dialog.component';
|
|
12
|
-
export { ReasonDialogComponent as ɵk } from './lib/dialogs/reason-dialog/reason-dialog.component';
|
|
13
|
-
export { SaveSnackbarComponent as ɵm } from './lib/dialogs/save-snackbar/save-snackbar.component';
|
|
14
|
-
export { SettingListComponent as ɵe } from './lib/setting-list/setting-list.component';
|
|
15
|
-
export { RolloutPercentageItemsComponent as ɵh } from './lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component';
|
|
16
|
-
export { RolloutRulesComponent as ɵi } from './lib/setting-list/setting/rollout-rules/rollout-rules.component';
|
|
17
|
-
export { SettingComponent as ɵg } from './lib/setting-list/setting/setting.component';
|
|
18
|
-
export { ValueComponent as ɵj } from './lib/setting-list/setting/value/value.component';
|
package/package.json
CHANGED
|
@@ -1,22 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-configcat-publicapi-ui",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"dependencies": {
|
|
5
|
-
"ng-configcat-publicapi": "2.0.0",
|
|
6
|
-
"tslib": "^2.0.0"
|
|
7
|
-
},
|
|
3
|
+
"version": "2.5.1",
|
|
8
4
|
"peerDependencies": {
|
|
9
|
-
"@angular/common": "^
|
|
10
|
-
"@angular/core": "^
|
|
11
|
-
"
|
|
12
|
-
"
|
|
5
|
+
"@angular/common": "^13.2.0",
|
|
6
|
+
"@angular/core": "^13.2.0",
|
|
7
|
+
"ng-configcat-publicapi": "^2.7.0",
|
|
8
|
+
"semver": "^7.3.5"
|
|
13
9
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"tslib": "^2.3.0"
|
|
12
|
+
},
|
|
13
|
+
"module": "fesm2015/ng-configcat-publicapi-ui.mjs",
|
|
14
|
+
"es2020": "fesm2020/ng-configcat-publicapi-ui.mjs",
|
|
15
|
+
"esm2020": "esm2020/ng-configcat-publicapi-ui.mjs",
|
|
16
|
+
"fesm2020": "fesm2020/ng-configcat-publicapi-ui.mjs",
|
|
17
|
+
"fesm2015": "fesm2015/ng-configcat-publicapi-ui.mjs",
|
|
19
18
|
"typings": "ng-configcat-publicapi-ui.d.ts",
|
|
20
|
-
"
|
|
19
|
+
"exports": {
|
|
20
|
+
"./package.json": {
|
|
21
|
+
"default": "./package.json"
|
|
22
|
+
},
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./ng-configcat-publicapi-ui.d.ts",
|
|
25
|
+
"esm2020": "./esm2020/ng-configcat-publicapi-ui.mjs",
|
|
26
|
+
"es2020": "./fesm2020/ng-configcat-publicapi-ui.mjs",
|
|
27
|
+
"es2015": "./fesm2015/ng-configcat-publicapi-ui.mjs",
|
|
28
|
+
"node": "./fesm2015/ng-configcat-publicapi-ui.mjs",
|
|
29
|
+
"default": "./fesm2020/ng-configcat-publicapi-ui.mjs"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
21
32
|
"sideEffects": false
|
|
22
33
|
}
|