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.
Files changed (155) hide show
  1. package/README.md +2 -2
  2. package/fesm2022/ng-configcat-publicapi-ui.mjs +4240 -3534
  3. package/fesm2022/ng-configcat-publicapi-ui.mjs.map +1 -1
  4. package/index.d.ts +476 -3
  5. package/package.json +11 -10
  6. package/src/css/button.scss +83 -0
  7. package/src/css/controls.scss +390 -0
  8. package/src/css/dialog.scss +63 -0
  9. package/src/css/icon.scss +7 -0
  10. package/src/css/slider.scss +82 -0
  11. package/src/css/snackbar.scss +16 -0
  12. package/src/css/table.scss +142 -0
  13. package/src/css/theme.scss +47 -0
  14. package/src/css/tooltip.scss +12 -0
  15. package/src/css/variables.scss +324 -0
  16. package/src/css/vars/auth.scss +24 -0
  17. package/src/css/vars/banner.scss +116 -0
  18. package/src/css/vars/box.scss +48 -0
  19. package/src/css/vars/config-overview.scss +27 -0
  20. package/src/css/vars/flag.scss +146 -0
  21. package/src/css/vars/header.scss +24 -0
  22. package/src/css/vars/icon.scss +33 -0
  23. package/src/css/vars/logo.scss +19 -0
  24. package/src/css/vars/notification.scss +38 -0
  25. package/src/css/vars/overview.scss +51 -0
  26. package/src/css/vars/prism.scss +44 -0
  27. package/src/css/vars/sidenav.scss +42 -0
  28. package/src/css/vars/theme.scss +78 -0
  29. package/src/public-api.scss +208 -0
  30. package/esm2022/lib/_directives/index.mjs +0 -2
  31. package/esm2022/lib/_directives/input-display-normalizer.directive.mjs +0 -38
  32. package/esm2022/lib/_models/deleteSettingModel.mjs +0 -2
  33. package/esm2022/lib/_models/flag-state.mjs +0 -2
  34. package/esm2022/lib/_models/index.mjs +0 -4
  35. package/esm2022/lib/_models/setting-value-formgroup.mjs +0 -2
  36. package/esm2022/lib/_models/settingValuesModel.mjs +0 -2
  37. package/esm2022/lib/_models/updateSettingValuesModel.mjs +0 -2
  38. package/esm2022/lib/_models/user-comparator.mjs +0 -100
  39. package/esm2022/lib/_services/app-data-adapter.mjs +0 -18
  40. package/esm2022/lib/_services/comparison-value-list-helper.mjs +0 -72
  41. package/esm2022/lib/_services/date-helper.mjs +0 -56
  42. package/esm2022/lib/_services/form-generator.mjs +0 -359
  43. package/esm2022/lib/_services/form-helper.mjs +0 -163
  44. package/esm2022/lib/_services/index.mjs +0 -3
  45. package/esm2022/lib/_services/messaging.service.mjs +0 -26
  46. package/esm2022/lib/_services/platform-helper.mjs +0 -7
  47. package/esm2022/lib/_services/public-api.service.mjs +0 -77
  48. package/esm2022/lib/_services/setting-list-form-helper.mjs +0 -171
  49. package/esm2022/lib/_services/tracking.directive.mjs +0 -16
  50. package/esm2022/lib/ace-editor/ace-editor.component.mjs +0 -137
  51. package/esm2022/lib/authorization/authorization.component.mjs +0 -62
  52. package/esm2022/lib/base/base-select.component.mjs +0 -27
  53. package/esm2022/lib/base/base.component.mjs +0 -48
  54. package/esm2022/lib/bootstrap.mjs +0 -11
  55. package/esm2022/lib/configuration.mjs +0 -14
  56. package/esm2022/lib/dialogs/confirmation-dialog/confirmation-dialog.mjs +0 -28
  57. package/esm2022/lib/dialogs/delete-setting-dialog/delete-setting-dialog.component.mjs +0 -27
  58. package/esm2022/lib/dialogs/expand-dialog/expand-dialog.component.mjs +0 -80
  59. package/esm2022/lib/dialogs/info-dialog/info-dialog.mjs +0 -29
  60. package/esm2022/lib/dialogs/reason-dialog/reason-dialog.component.mjs +0 -36
  61. package/esm2022/lib/dialogs/reroute-dialog/reroute-dialog.mjs +0 -28
  62. package/esm2022/lib/dialogs/save-snackbar/save-snackbar.component.mjs +0 -14
  63. package/esm2022/lib/ng-configcat-publicapi-ui.module.mjs +0 -288
  64. package/esm2022/lib/selects/config-select/config-select.component.mjs +0 -60
  65. package/esm2022/lib/selects/environment-select/environment-select.component.mjs +0 -47
  66. package/esm2022/lib/selects/product-select/product-select.component.mjs +0 -40
  67. package/esm2022/lib/selects/setting-select/setting-select.component.mjs +0 -47
  68. package/esm2022/lib/setting-item/setting-item.component.mjs +0 -118
  69. package/esm2022/lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component.mjs +0 -81
  70. package/esm2022/lib/setting-list/setting/rollout-rules/rollout-rules.component.mjs +0 -293
  71. package/esm2022/lib/setting-list/setting/setting.component.mjs +0 -136
  72. package/esm2022/lib/setting-list/setting/value/value.component.mjs +0 -37
  73. package/esm2022/lib/setting-list/setting-list.component.mjs +0 -194
  74. package/esm2022/lib/v2/feature-flag/date-time-picker/date-time-picker.component.mjs +0 -123
  75. package/esm2022/lib/v2/feature-flag/dependees-dialog/dependees-dialog.component.mjs +0 -30
  76. package/esm2022/lib/v2/feature-flag/evaluation-formula/evaluation-formula.component.mjs +0 -220
  77. package/esm2022/lib/v2/feature-flag/evaluation-formula/feature-flag-value/feature-flag-value.component.mjs +0 -61
  78. package/esm2022/lib/v2/feature-flag/evaluation-formula/popout-text-editor-dialog/popout-text-editor-dialog.component.mjs +0 -72
  79. package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/condition-chip/condition-chip.component.mjs +0 -25
  80. package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/conditions.component.mjs +0 -105
  81. package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/prerequisite-flag-condition/prerequisite-flag-condition.component.mjs +0 -75
  82. package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/segment-condition/segment-condition.component.mjs +0 -48
  83. package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/comparator-dialog/comparator-dialog.component.mjs +0 -113
  84. 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
  85. package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/user-condition.component.mjs +0 -444
  86. package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/percentage-options/percentage-options.component.mjs +0 -84
  87. package/esm2022/lib/v2/feature-flag/evaluation-formula/targeting-rule/targeting-rule.component.mjs +0 -129
  88. package/esm2022/lib/v2/feature-flag/feature-flag.component.mjs +0 -190
  89. package/esm2022/lib/v2/feature-flag/percentage-evaluation-attribute-dialog/percentage-evaluation-attribute-dialog.component.mjs +0 -65
  90. package/esm2022/lib/v2/feature-flag-item.component.mjs +0 -330
  91. package/esm2022/ng-configcat-publicapi-ui.mjs +0 -5
  92. package/esm2022/public-api.mjs +0 -15
  93. package/lib/_directives/index.d.ts +0 -1
  94. package/lib/_directives/input-display-normalizer.directive.d.ts +0 -13
  95. package/lib/_models/deleteSettingModel.d.ts +0 -6
  96. package/lib/_models/flag-state.d.ts +0 -20
  97. package/lib/_models/index.d.ts +0 -3
  98. package/lib/_models/setting-value-formgroup.d.ts +0 -69
  99. package/lib/_models/settingValuesModel.d.ts +0 -11
  100. package/lib/_models/updateSettingValuesModel.d.ts +0 -7
  101. package/lib/_models/user-comparator.d.ts +0 -84
  102. package/lib/_services/app-data-adapter.d.ts +0 -7
  103. package/lib/_services/comparison-value-list-helper.d.ts +0 -17
  104. package/lib/_services/date-helper.d.ts +0 -6
  105. package/lib/_services/form-generator.d.ts +0 -59
  106. package/lib/_services/form-helper.d.ts +0 -21
  107. package/lib/_services/index.d.ts +0 -2
  108. package/lib/_services/messaging.service.d.ts +0 -12
  109. package/lib/_services/platform-helper.d.ts +0 -3
  110. package/lib/_services/public-api.service.d.ts +0 -21
  111. package/lib/_services/setting-list-form-helper.d.ts +0 -19
  112. package/lib/_services/tracking.directive.d.ts +0 -6
  113. package/lib/ace-editor/ace-editor.component.d.ts +0 -32
  114. package/lib/authorization/authorization.component.d.ts +0 -21
  115. package/lib/base/base-select.component.d.ts +0 -10
  116. package/lib/base/base.component.d.ts +0 -18
  117. package/lib/bootstrap.d.ts +0 -13
  118. package/lib/configuration.d.ts +0 -9
  119. package/lib/dialogs/confirmation-dialog/confirmation-dialog.d.ts +0 -19
  120. package/lib/dialogs/delete-setting-dialog/delete-setting-dialog.component.d.ts +0 -17
  121. package/lib/dialogs/expand-dialog/expand-dialog.component.d.ts +0 -25
  122. package/lib/dialogs/info-dialog/info-dialog.d.ts +0 -17
  123. package/lib/dialogs/reason-dialog/reason-dialog.component.d.ts +0 -15
  124. package/lib/dialogs/reroute-dialog/reroute-dialog.d.ts +0 -20
  125. package/lib/dialogs/save-snackbar/save-snackbar.component.d.ts +0 -8
  126. package/lib/ng-configcat-publicapi-ui.module.d.ts +0 -75
  127. package/lib/selects/config-select/config-select.component.d.ts +0 -17
  128. package/lib/selects/environment-select/environment-select.component.d.ts +0 -17
  129. package/lib/selects/product-select/product-select.component.d.ts +0 -14
  130. package/lib/selects/setting-select/setting-select.component.d.ts +0 -17
  131. package/lib/setting-item/setting-item.component.d.ts +0 -37
  132. package/lib/setting-list/setting/rollout-percentage-items/rollout-percentage-items.component.d.ts +0 -27
  133. package/lib/setting-list/setting/rollout-rules/rollout-rules.component.d.ts +0 -61
  134. package/lib/setting-list/setting/setting.component.d.ts +0 -43
  135. package/lib/setting-list/setting/value/value.component.d.ts +0 -20
  136. package/lib/setting-list/setting-list.component.d.ts +0 -53
  137. package/lib/v2/feature-flag/date-time-picker/date-time-picker.component.d.ts +0 -25
  138. package/lib/v2/feature-flag/dependees-dialog/dependees-dialog.component.d.ts +0 -27
  139. package/lib/v2/feature-flag/evaluation-formula/evaluation-formula.component.d.ts +0 -41
  140. package/lib/v2/feature-flag/evaluation-formula/feature-flag-value/feature-flag-value.component.d.ts +0 -18
  141. package/lib/v2/feature-flag/evaluation-formula/popout-text-editor-dialog/popout-text-editor-dialog.component.d.ts +0 -30
  142. package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/condition-chip/condition-chip.component.d.ts +0 -10
  143. package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/conditions.component.d.ts +0 -27
  144. package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/prerequisite-flag-condition/prerequisite-flag-condition.component.d.ts +0 -36
  145. package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/segment-condition/segment-condition.component.d.ts +0 -21
  146. package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/comparator-dialog/comparator-dialog.component.d.ts +0 -79
  147. 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
  148. package/lib/v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/user-condition.component.d.ts +0 -94
  149. package/lib/v2/feature-flag/evaluation-formula/targeting-rule/percentage-options/percentage-options.component.d.ts +0 -31
  150. package/lib/v2/feature-flag/evaluation-formula/targeting-rule/targeting-rule.component.d.ts +0 -33
  151. package/lib/v2/feature-flag/feature-flag.component.d.ts +0 -49
  152. package/lib/v2/feature-flag/percentage-evaluation-attribute-dialog/percentage-evaluation-attribute-dialog.component.d.ts +0 -28
  153. package/lib/v2/feature-flag-item.component.d.ts +0 -66
  154. package/public-api.d.ts +0 -11
  155. package/public-api.scss +0 -350
@@ -1,84 +0,0 @@
1
- export declare enum UserComparator {
2
- SensitiveIsOneOf = "sensitiveIsOneOf",
3
- SensitiveIsNotOneOf = "sensitiveIsNotOneOf",
4
- SensitiveTextStartsWithAnyOf = "sensitiveTextStartsWithAnyOf",
5
- SensitiveTextEndsWithAnyOf = "sensitiveTextEndsWithAnyOf",
6
- SensitiveTextNotStartsWithAnyOf = "sensitiveTextNotStartsWithAnyOf",
7
- SensitiveTextNotEndsWithAnyOf = "sensitiveTextNotEndsWithAnyOf",
8
- SensitiveArrayContainsAnyOf = "sensitiveArrayContainsAnyOf",
9
- SensitiveArrayDoesNotContainAnyOf = "sensitiveArrayDoesNotContainAnyOf",
10
- IsOneOf = "isOneOf",
11
- IsNotOneOf = "isNotOneOf",
12
- TextStartsWithAnyOf = "textStartsWithAnyOf",
13
- TextEndsWithAnyOf = "textEndsWithAnyOf",
14
- TextNotStartsWithAnyOf = "textNotStartsWithAnyOf",
15
- TextNotEndsWithAnyOf = "textNotEndsWithAnyOf",
16
- ArrayContainsAnyOf = "arrayContainsAnyOf",
17
- ArrayDoesNotContainAnyOf = "arrayDoesNotContainAnyOf",
18
- ContainsAnyOf = "containsAnyOf",
19
- DoesNotContainAnyOf = "doesNotContainAnyOf",
20
- SensitiveTextEquals = "sensitiveTextEquals",
21
- SensitiveTextDoesNotEqual = "sensitiveTextDoesNotEqual",
22
- TextEquals = "textEquals",
23
- TextDoesNotEqual = "textDoesNotEqual",
24
- NumberEquals = "numberEquals",
25
- NumberDoesNotEqual = "numberDoesNotEqual",
26
- NumberLess = "numberLess",
27
- NumberLessOrEquals = "numberLessOrEquals",
28
- NumberGreater = "numberGreater",
29
- NumberGreaterOrEquals = "numberGreaterOrEquals",
30
- SemVerIsOneOf = "semVerIsOneOf",
31
- SemVerIsNotOneOf = "semVerIsNotOneOf",
32
- SemVerLess = "semVerLess",
33
- SemVerLessOrEquals = "semVerLessOrEquals",
34
- SemVerGreater = "semVerGreater",
35
- SemVerGreaterOrEquals = "semVerGreaterOrEquals",
36
- DateTimeBefore = "dateTimeBefore",
37
- DateTimeAfter = "dateTimeAfter"
38
- }
39
- export declare enum UserComparatorText {
40
- SensitiveIsOneOf = "IS ONE OF (hashed)",
41
- SensitiveIsNotOneOf = "IS NOT ONE OF (hashed)",
42
- SensitiveTextStartsWithAnyOf = "STARTS WITH ANY OF (hashed)",
43
- SensitiveTextEndsWithAnyOf = "ENDS WITH ANY OF (hashed)",
44
- SensitiveTextNotStartsWithAnyOf = "NOT STARTS WITH ANY OF (hashed)",
45
- SensitiveTextNotEndsWithAnyOf = "NOT ENDS WITH ANY OF (hashed)",
46
- SensitiveArrayContainsAnyOf = "ARRAY CONTAINS ANY OF (hashed)",
47
- SensitiveArrayDoesNotContainAnyOf = "ARRAY NOT CONTAINS ANY OF (hashed)",
48
- IsOneOf = "IS ONE OF (cleartext)",
49
- IsNotOneOf = "IS NOT ONE OF (cleartext)",
50
- TextStartsWithAnyOf = "STARTS WITH ANY OF (cleartext)",
51
- TextEndsWithAnyOf = "ENDS WITH ANY OF (cleartext)",
52
- TextNotStartsWithAnyOf = "NOT STARTS WITH ANY OF (cleartext)",
53
- TextNotEndsWithAnyOf = "NOT ENDS WITH ANY OF (cleartext)",
54
- ArrayContainsAnyOf = "ARRAY CONTAINS ANY OF (cleartext)",
55
- ArrayDoesNotContainAnyOf = "ARRAY NOT CONTAINS ANY OF (cleartext)",
56
- ContainsAnyOf = "CONTAINS ANY OF (cleartext)",
57
- DoesNotContainAnyOf = "NOT CONTAINS ANY OF (cleartext)",
58
- SensitiveTextEquals = "EQUALS (hashed)",
59
- SensitiveTextDoesNotEqual = "NOT EQUALS (hashed)",
60
- TextEquals = "EQUALS (cleartext)",
61
- TextDoesNotEqual = "NOT EQUALS (cleartext)",
62
- NumberEquals = "= (number)",
63
- NumberDoesNotEqual = "!= (number)",
64
- NumberLess = "< (number)",
65
- NumberLessOrEquals = "<= (number)",
66
- NumberGreater = "> (number)",
67
- NumberGreaterOrEquals = ">= (number)",
68
- SemVerIsOneOf = "IS ONE OF (semver)",
69
- SemVerIsNotOneOf = "IS NOT ONE OF (semver)",
70
- SemVerLess = "< (semver)",
71
- SemVerLessOrEquals = "<= (semver)",
72
- SemVerGreater = "> (semver)",
73
- SemVerGreaterOrEquals = ">= (semver)",
74
- DateTimeBefore = "BEFORE (UTC datetime)",
75
- DateTimeAfter = "AFTER (UTC datetime)"
76
- }
77
- export declare enum UserComparatorType {
78
- StringList = 0,
79
- String = 1,
80
- Number = 2,
81
- SemverList = 3,
82
- Semver = 4,
83
- DateTime = 5
84
- }
@@ -1,7 +0,0 @@
1
- import { NativeDateAdapter } from "@angular/material/core";
2
- import * as i0 from "@angular/core";
3
- export declare class AppDateAdapter extends NativeDateAdapter {
4
- format(date: Date): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AppDateAdapter, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<AppDateAdapter>;
7
- }
@@ -1,17 +0,0 @@
1
- import { IComparisonValueListModel } from "../bootstrap";
2
- import * as i0 from "@angular/core";
3
- export interface ComparisonValueListParseResult {
4
- error?: string;
5
- comparisonValueList: IComparisonValueListModel[];
6
- }
7
- export declare class ComparisonValueListHelper {
8
- formatValuesAndHintAsJson(comparisonValueList: IComparisonValueListModel[]): string;
9
- formatValuesAndHintAsCsv(comparisonValueList: IComparisonValueListModel[]): string;
10
- formatValuesAsCsv(comparisonValueList: IComparisonValueListModel[]): string;
11
- formatCsvStringValue(value: string): string;
12
- parseValuesAndHintsFromJson(value: string): ComparisonValueListParseResult;
13
- parseValuesAndHintsFromCsv(value: string): ComparisonValueListParseResult;
14
- parseValuesFromCsv(value: string): ComparisonValueListParseResult;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<ComparisonValueListHelper, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<ComparisonValueListHelper>;
17
- }
@@ -1,6 +0,0 @@
1
- export declare class DateHelper {
2
- static addDays(date: Date, value: number): void;
3
- static daysBetweenDates: (from: Date, to: Date) => number;
4
- static formatDate(date: Date, formatString: string): string;
5
- static offsetDate(date: Date, offsetMins: number): Date;
6
- }
@@ -1,59 +0,0 @@
1
- import { FormArray, FormControl, FormGroup, ValidatorFn } from "@angular/forms";
2
- import { UserComparator, UserComparatorType, SettingType, IComparisonValueModel, IComparisonValueListModel, IFeatureFlagLimitations, ComparisonValueForm, ComparisonValueListForm, ConditionForm, PrerequisiteFlagConditionForm, IPrerequisiteSetting, PercentageOptionForm, SegmentConditionForm, TargetingRuleForm, UpdateSettingValueForm, UserConditionForm, ValueForm, IConditionModel, IPrerequisiteFlagConditionModel, ISegmentConditionModel, IUserConditionModel, IValueModel, ITargetingRuleModel, IPercentageOptionModel, ISettingValueModel } from "../bootstrap";
3
- import * as i0 from "@angular/core";
4
- export declare class FormGenerator {
5
- generateSettingValuesFormGroup(model: ISettingValueModel, readOnly: boolean, settings: IPrerequisiteSetting[], featureFlagLimitations: IFeatureFlagLimitations): FormGroup<UpdateSettingValueForm>;
6
- generatePercentageEvaluationAttributeFormControl(percentageEvaluationAttribute: string, readOnly: boolean): FormControl<string>;
7
- generateTargetingRuleFormGroup(model: ITargetingRuleModel, settingType: SettingType, readOnly: boolean, settings: IPrerequisiteSetting[], featureFlagLimitations: IFeatureFlagLimitations): FormGroup<TargetingRuleForm>;
8
- generateTargetingRuleWithEmptyPercentageOptions(settingType: SettingType, readOnly: boolean, settings: IPrerequisiteSetting[], featureFlagLimitations: IFeatureFlagLimitations): FormGroup<TargetingRuleForm>;
9
- getEmptyPercentageOptions(settingType: SettingType): IPercentageOptionModel[];
10
- generatePercentageOptionFormGroup(model: IPercentageOptionModel, settingType: SettingType, readOnly: boolean, featureFlagLimitations: IFeatureFlagLimitations): FormGroup<PercentageOptionForm>;
11
- generateConditionFormGroup(model: IConditionModel, readOnly: boolean, settings: IPrerequisiteSetting[], featureFlagLimitations: IFeatureFlagLimitations): FormGroup<ConditionForm>;
12
- generateUserConditionFormGroup(value: IUserConditionModel, readOnly: boolean, featureFlagLimitations: IFeatureFlagLimitations): FormGroup<UserConditionForm>;
13
- generateSegmentConditionFormGroup(value: ISegmentConditionModel, readOnly: boolean): FormGroup<SegmentConditionForm>;
14
- generatePrerequisiteFlagConditionFormGroup(value: IPrerequisiteFlagConditionModel, readOnly: boolean, settings: IPrerequisiteSetting[], featureFlagLimitations: IFeatureFlagLimitations): FormGroup<PrerequisiteFlagConditionForm>;
15
- generateEmptyPrerequisiteFlagConditionFormGroup(featureFlagLimitations: IFeatureFlagLimitations): FormGroup<PrerequisiteFlagConditionForm>;
16
- getNextIndex(formArray: FormArray<FormGroup<ComparisonValueListForm>>): number;
17
- generateComparisonValueListFormGroup(listValue: IComparisonValueListModel, readOnly: boolean, validators: ValidatorFn[], index: number): FormGroup<ComparisonValueListForm>;
18
- generateComparisonValueFormGroup(value: IComparisonValueModel, comparator: UserComparator, readOnly: boolean, featureFlagLimitations: IFeatureFlagLimitations): FormGroup<ComparisonValueForm>;
19
- generateComparisonValueListValueArray(listValue: IComparisonValueListModel[], readOnly: boolean, featureFlagLimitations: IFeatureFlagLimitations, itemValidators: ValidatorFn[]): FormArray<FormGroup<ComparisonValueListForm>>;
20
- getComparisonValueStringValidators(featureFlagLimitations: IFeatureFlagLimitations): ValidatorFn[];
21
- getComparisonValueStringListItemValidators(featureFlagLimitations: IFeatureFlagLimitations): ValidatorFn[];
22
- getComparisonValueSemverValidators(featureFlagLimitations: IFeatureFlagLimitations): (ValidatorFn | ((c: FormControl<string>) => {
23
- validateSemVer: {
24
- valid: boolean;
25
- };
26
- }))[];
27
- getComparisonValueSemverListItemValidators(featureFlagLimitations: IFeatureFlagLimitations): (ValidatorFn | ((c: FormControl<string>) => {
28
- validateSemVer: {
29
- valid: boolean;
30
- };
31
- }))[];
32
- generateDefaultValue(settingType: SettingType): IValueModel;
33
- generateDefaultValueFormGroup(settingType: SettingType, readOnly: boolean, featureFlagLimitations: IFeatureFlagLimitations): FormGroup<ValueForm>;
34
- generateValueFormGroup(value: IValueModel, settingType: SettingType, readOnly: boolean, featureFlagLimitations: IFeatureFlagLimitations): FormGroup<ValueForm>;
35
- getComparisonValueType(comparator: UserComparator): UserComparatorType;
36
- getValidatorsForSettingType(settingType: SettingType, featureFlagLimitations: IFeatureFlagLimitations): ValidatorFn[];
37
- validateNumberNan(c: FormControl<number>): {
38
- validateNumberNan: {
39
- valid: boolean;
40
- };
41
- };
42
- validateSemVer(c: FormControl<string>): {
43
- validateSemVer: {
44
- valid: boolean;
45
- };
46
- };
47
- validateEmptyString(c: FormControl<string>): {
48
- required: boolean;
49
- };
50
- validatePercentageSum(c: FormArray<FormGroup<PercentageOptionForm>>): {
51
- validatePercentageSum: {
52
- valid: boolean;
53
- };
54
- };
55
- isPercentageOnlyTargetingRule(formGroup: FormGroup<TargetingRuleForm>): boolean;
56
- addComparisonValueListValueItems(userComparator: UserComparator, listValueFormArray: FormArray<FormGroup<ComparisonValueListForm>>, comparisonValueList: IComparisonValueListModel[], featureFlagLimitations: IFeatureFlagLimitations): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<FormGenerator, never>;
58
- static ɵprov: i0.ɵɵInjectableDeclaration<FormGenerator>;
59
- }
@@ -1,21 +0,0 @@
1
- import { UntypedFormControl, UntypedFormGroup, UntypedFormArray, FormGroup, AbstractControl } from '@angular/forms';
2
- export declare const percentageRegex = "^[0-9]*$";
3
- export declare const wholeNumberRegex = "^[-+]?[0-9]\\d*$";
4
- export declare const timeRegex: RegExp;
5
- export declare const featureFlagKeyRegex = "^[a-zA-Z]+[a-zA-Z0-9_-]*$";
6
- export declare class FormHelper {
7
- static getErrorMessage(control: UntypedFormControl | UntypedFormGroup | UntypedFormArray | AbstractControl, hint?: string): any;
8
- static handleErrors(formGroup: FormGroup, error: any): void;
9
- /**
10
- * Converts a value representing a number to a `number` value.
11
- * Returns `NaN` in the case of non-numerical values.
12
- */
13
- static normalizeNumber(value: any): number;
14
- /**
15
- * Converts a value representing a number to the normalized `string`
16
- * representation of the number. (e.g. `.1` --> `'0.1'`, `3.14e2` --> `'314'`).
17
- * Returns `''` in the case of non-numerical values or non-finite numerical values.
18
- */
19
- static normalizeNumberStoredAsString(value: any): string;
20
- static formatNumberForDisplay(value: number): string;
21
- }
@@ -1,2 +0,0 @@
1
- export * from './public-api.service';
2
- export * from './form-helper';
@@ -1,12 +0,0 @@
1
- import { MatSnackBar } from '@angular/material/snack-bar';
2
- import * as i0 from "@angular/core";
3
- export declare class MessagingService {
4
- private snackBar;
5
- constructor(snackBar: MatSnackBar);
6
- showErrorSnack(message?: string, action?: string, durationMs?: number): void;
7
- showSuccessSnack(message?: string, action?: any, durationMs?: number): void;
8
- showWarningSnack(message?: string, action?: string, durationMs?: number): void;
9
- dismissCurrentSnack(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<MessagingService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<MessagingService>;
12
- }
@@ -1,3 +0,0 @@
1
- export declare class PlatformHelper {
2
- static isChromium(): boolean;
3
- }
@@ -1,21 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { ProductsService, EnvironmentsService, ConfigsService, FeatureFlagsSettingsService, FeatureFlagSettingValuesService, MeService, IntegrationLinksService, SegmentsService, FeatureFlagSettingValuesV2Service } from 'ng-configcat-publicapi';
3
- import { Configuration } from '../configuration';
4
- import * as i0 from "@angular/core";
5
- export declare class PublicApiService {
6
- private httpClient;
7
- private configuration;
8
- constructor(httpClient: HttpClient, configuration: Configuration);
9
- createMeService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): MeService;
10
- createProductsService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): ProductsService;
11
- createConfigsService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): ConfigsService;
12
- createEnvironmentsService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): EnvironmentsService;
13
- createSettingsService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): FeatureFlagsSettingsService;
14
- createSettingValuesV2Service(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): FeatureFlagSettingValuesV2Service;
15
- createSettingValuesService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): FeatureFlagSettingValuesService;
16
- createIntegrationLinksService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): IntegrationLinksService;
17
- createSegmentsService(basicAuthUsername?: string | null, basicAuthPassword?: string | null, basePath?: string | null): SegmentsService;
18
- getDashboardBasePath(): string;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<PublicApiService, [null, { optional: true; }]>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<PublicApiService>;
21
- }
@@ -1,19 +0,0 @@
1
- import { SettingValuesModel } from '../_models/settingValuesModel';
2
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
- import { RolloutPercentageItemModel, RolloutRuleComparator, RolloutRuleModel, SettingType, SettingValueModel } from 'ng-configcat-publicapi';
4
- import * as i0 from "@angular/core";
5
- export declare class SettingListFormHelper {
6
- private formBuilder;
7
- constructor(formBuilder: UntypedFormBuilder);
8
- createSettingValuesFormGroup(settingValuesModel: SettingValuesModel): UntypedFormGroup;
9
- createSettingValueFormGroup(settingValueModel: SettingValueModel, readOnly: boolean): UntypedFormGroup;
10
- createRolloutPercentageItemFormGroup(p: RolloutPercentageItemModel, readOnly: boolean, settingType: SettingType | undefined): UntypedFormGroup;
11
- createRolloutRuleFormGroup(r: RolloutRuleModel, readOnly: boolean, settingType: SettingType | undefined): UntypedFormGroup;
12
- private getValidatorsForSettingType;
13
- private getAllRolloutRules;
14
- private getComparisonAttributes;
15
- getComparisonValueType(comparator: RolloutRuleComparator): "number" | "text";
16
- normalizeComparisonValue(comparator: RolloutRuleComparator | undefined, comparisonValue: any): any;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<SettingListFormHelper, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<SettingListFormHelper>;
19
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TrackingDirective {
3
- track: string[];
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TrackingDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TrackingDirective, "[track]", never, { "track": { "alias": "track"; "required": false; }; }, {}, never, never, false, never>;
6
- }
@@ -1,32 +0,0 @@
1
- import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
- import "ace-builds/src-noconflict/mode-json";
3
- import "ace-builds/src-noconflict/theme-tomorrow";
4
- import { ControlValueAccessor } from "@angular/forms";
5
- import * as i0 from "@angular/core";
6
- export declare class AceEditorComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
7
- private aceEditor;
8
- private onChangeDisabled;
9
- private onChangeModel;
10
- private _value;
11
- private editor;
12
- set value(value: string);
13
- readOnly: boolean;
14
- valueChange: EventEmitter<any>;
15
- onChange: EventEmitter<string>;
16
- ngOnInit(): void;
17
- ngAfterViewInit(): void;
18
- ngOnDestroy(): void;
19
- private init;
20
- private writeJsonValue;
21
- private formatValue;
22
- private produceDefaultValue;
23
- private produceOutput;
24
- private destroy;
25
- private parseJsonOrNull;
26
- private transformBoundValue;
27
- writeValue(value: any): void;
28
- registerOnChange(fn: any): void;
29
- registerOnTouched(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<AceEditorComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<AceEditorComponent, "app-ace-editor", never, { "value": { "alias": "value"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "valueChange": "valueChange"; "onChange": "onChange"; }, never, never, false, never>;
32
- }
@@ -1,21 +0,0 @@
1
- import { OnInit, EventEmitter } from '@angular/core';
2
- import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
3
- import { PublicApiService } from '../_services';
4
- import { FormHelper } from '../_services/form-helper';
5
- import * as i0 from "@angular/core";
6
- export declare class AuthorizationComponent implements OnInit {
7
- private formBuilder;
8
- private publicApiService;
9
- formGroup: UntypedFormGroup;
10
- basePath: any;
11
- integrationName: string;
12
- authorized: EventEmitter<any>;
13
- error: EventEmitter<any>;
14
- FormHelper: typeof FormHelper;
15
- constructor(formBuilder: UntypedFormBuilder, publicApiService: PublicApiService);
16
- ngOnInit(): void;
17
- onSubmit(): void;
18
- getPublicApiUrl(): string;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthorizationComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<AuthorizationComponent, "configcat-authorization", never, { "basePath": { "alias": "basePath"; "required": false; }; "integrationName": { "alias": "integrationName"; "required": false; }; }, { "authorized": "authorized"; "error": "error"; }, never, never, false, never>;
21
- }
@@ -1,10 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { BaseComponent } from './base.component';
3
- import * as i0 from "@angular/core";
4
- export declare class BaseSelectComponent extends BaseComponent {
5
- customDropdown: boolean;
6
- dropdownOpened: EventEmitter<boolean>;
7
- protected openChanged(event: any): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseSelectComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseSelectComponent, "base-select", never, { "customDropdown": { "alias": "customDropdown"; "required": false; }; }, { "dropdownOpened": "dropdownOpened"; }, never, never, false, never>;
10
- }
@@ -1,18 +0,0 @@
1
- import { PublicApiService } from '../_services/public-api.service';
2
- import * as i0 from "@angular/core";
3
- export declare class BaseComponent {
4
- private publicApiService;
5
- basePath: string | null;
6
- basicAuthUsername: string | null;
7
- basicAuthPassword: string | null;
8
- constructor(publicApiService: PublicApiService);
9
- protected createProductsService(): import("ng-configcat-publicapi").ProductsService;
10
- protected createConfigsService(): import("ng-configcat-publicapi").ConfigsService;
11
- protected createEnvironmentsService(): import("ng-configcat-publicapi").EnvironmentsService;
12
- protected createSettingsService(): import("ng-configcat-publicapi").FeatureFlagsSettingsService;
13
- protected createSettingValuesService(): import("ng-configcat-publicapi").FeatureFlagSettingValuesService;
14
- protected createSettingValuesV2Service(): import("ng-configcat-publicapi").FeatureFlagSettingValuesV2Service;
15
- protected createSegmentsService(): import("ng-configcat-publicapi").SegmentsService;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponent, "base", never, { "basePath": { "alias": "basePath"; "required": false; }; "basicAuthUsername": { "alias": "basicAuthUsername"; "required": false; }; "basicAuthPassword": { "alias": "basicAuthPassword"; "required": false; }; }, {}, never, never, false, never>;
18
- }
@@ -1,13 +0,0 @@
1
- export { UserComparator, SegmentComparator, SegmentListModel as ISegment, SettingType, FeatureFlagLimitations as IFeatureFlagLimitations, ComparisonValueListModel as IComparisonValueListModel, ComparisonValueModel as IComparisonValueModel, PrerequisiteComparator, ValueModel as IValueModel, ConditionModel as IConditionModel, PrerequisiteFlagConditionModel as IPrerequisiteFlagConditionModel, SegmentConditionModel as ISegmentConditionModel, UserConditionModel as IUserConditionModel, TargetingRuleModel as ITargetingRuleModel, PercentageOptionModel as IPercentageOptionModel, SettingFormulaModel as ISettingValueModel } from 'ng-configcat-publicapi';
2
- export { UserComparatorText, UserComparatorType } from './_models/user-comparator';
3
- export { UpdateSettingValueForm, TargetingRuleForm, ConditionForm, PercentageOptionForm, ComparisonValueForm, ComparisonValueListForm, SegmentConditionForm, PrerequisiteFlagConditionForm, UserConditionForm, ValueForm, IPrerequisiteSetting, IDependeeSetting } from './_models/setting-value-formgroup';
4
- export { FormGenerator } from './_services/form-generator';
5
- export { IPrerequisiteChanged } from './_models/setting-value-formgroup';
6
- export { IFlagState } from './_models/flag-state';
7
- export { FormHelper } from './_services/form-helper';
8
- export { AppDateAdapter } from './_services/app-data-adapter';
9
- export { ConfirmationDialogComponent } from './dialogs/confirmation-dialog/confirmation-dialog';
10
- export { RerouteDialogComponent } from './dialogs/reroute-dialog/reroute-dialog';
11
- export { InfoDialogComponent } from './dialogs/info-dialog/info-dialog';
12
- export { ComparisonValueListHelper, ComparisonValueListParseResult } from './_services/comparison-value-list-helper';
13
- export { MessagingService } from './_services/messaging.service';
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class Configuration {
3
- basicAuthUsername?: string;
4
- basicAuthPassword?: string;
5
- basePath: string;
6
- dashboardBasePath: string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<Configuration, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<Configuration>;
9
- }
@@ -1,19 +0,0 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class ConfirmationDialogComponent {
4
- dialogRef: MatDialogRef<ConfirmationDialogComponent>;
5
- data: DialogData;
6
- constructor(dialogRef: MatDialogRef<ConfirmationDialogComponent>, data: DialogData);
7
- yes(): void;
8
- cancel(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "app-confirmation-dialog", never, {}, {}, never, never, false, never>;
11
- }
12
- export interface DialogData {
13
- title: string;
14
- body: string;
15
- yesButtonLabel: string;
16
- noButtonLabel: string;
17
- buttonColor: string;
18
- hideNoButton?: boolean;
19
- }
@@ -1,17 +0,0 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class DeleteSettingDialogComponent {
4
- dialogRef: MatDialogRef<DeleteSettingDialogComponent>;
5
- data: {
6
- system: string;
7
- ticketType: string;
8
- };
9
- constructor(dialogRef: MatDialogRef<DeleteSettingDialogComponent>, data: {
10
- system: string;
11
- ticketType: string;
12
- });
13
- remove(): void;
14
- cancel(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<DeleteSettingDialogComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<DeleteSettingDialogComponent, "app-delete-setting-dialog", never, {}, {}, never, never, false, never>;
17
- }
@@ -1,25 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { Subscription } from 'rxjs';
4
- import { UntypedFormBuilder, UntypedFormGroup, UntypedFormArray, UntypedFormControl } from '@angular/forms';
5
- import * as i0 from "@angular/core";
6
- export declare class ExpandDialogComponent implements OnInit, OnDestroy {
7
- dialogRef: MatDialogRef<ExpandDialogComponent>;
8
- private formBuilder;
9
- data: any;
10
- formControlSubscription: Subscription | null;
11
- formGroupSubscription: Subscription | null;
12
- formGroup: UntypedFormGroup;
13
- readOnly: boolean;
14
- constructor(dialogRef: MatDialogRef<ExpandDialogComponent>, formBuilder: UntypedFormBuilder, data: any);
15
- ngOnInit(): void;
16
- values(): UntypedFormArray;
17
- getValueControls(): UntypedFormControl[];
18
- buildFormGroup(): void;
19
- add(): void;
20
- remove(index: any): void;
21
- ngOnDestroy(): void;
22
- close(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<ExpandDialogComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<ExpandDialogComponent, "configcat-expand-dialog", never, {}, {}, never, never, false, never>;
25
- }
@@ -1,17 +0,0 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import * as i0 from "@angular/core";
3
- export interface InfoDialogData {
4
- title: string;
5
- body: string;
6
- secondaryButtonLabel: string;
7
- secondaryButtonAction: () => void;
8
- }
9
- export declare class InfoDialogComponent {
10
- dialogRef: MatDialogRef<InfoDialogComponent>;
11
- data: InfoDialogData;
12
- constructor(dialogRef: MatDialogRef<InfoDialogComponent>, data: InfoDialogData);
13
- ok(): void;
14
- secondaryButtonAction(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<InfoDialogComponent, "app-info-dialog", never, {}, {}, never, never, false, never>;
17
- }
@@ -1,15 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
4
- import * as i0 from "@angular/core";
5
- export declare class ReasonDialogComponent implements OnInit {
6
- dialogRef: MatDialogRef<ReasonDialogComponent>;
7
- private formBuilder;
8
- formGroup: UntypedFormGroup;
9
- constructor(dialogRef: MatDialogRef<ReasonDialogComponent>, formBuilder: UntypedFormBuilder);
10
- ngOnInit(): void;
11
- handleSaveButton(): void;
12
- cancel(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<ReasonDialogComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<ReasonDialogComponent, "configcat-reason-dialog", never, {}, {}, never, never, false, never>;
15
- }
@@ -1,20 +0,0 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class RerouteDialogComponent {
4
- dialogRef: MatDialogRef<RerouteDialogComponent>;
5
- data: DialogData;
6
- constructor(dialogRef: MatDialogRef<RerouteDialogComponent>, data: DialogData);
7
- yes(): void;
8
- cancel(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<RerouteDialogComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<RerouteDialogComponent, "app-reroute-dialog", never, {}, {}, never, never, false, never>;
11
- }
12
- export interface DialogData {
13
- title: string;
14
- body: string;
15
- yesButtonLabel: string;
16
- yesButtonLink: string;
17
- noButtonLabel: string;
18
- buttonColor: string;
19
- hideNoButton?: boolean;
20
- }
@@ -1,8 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SaveSnackbarComponent implements OnInit {
4
- constructor();
5
- ngOnInit(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SaveSnackbarComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<SaveSnackbarComponent, "configcat-save-snackbar", never, {}, {}, never, never, false, never>;
8
- }
@@ -1,75 +0,0 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { Configuration } from './configuration';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "./base/base.component";
5
- import * as i2 from "./base/base-select.component";
6
- import * as i3 from "./selects/product-select/product-select.component";
7
- import * as i4 from "./selects/config-select/config-select.component";
8
- import * as i5 from "./selects/environment-select/environment-select.component";
9
- import * as i6 from "./selects/setting-select/setting-select.component";
10
- import * as i7 from "./setting-item/setting-item.component";
11
- import * as i8 from "./authorization/authorization.component";
12
- import * as i9 from "./setting-list/setting-list.component";
13
- import * as i10 from "./setting-list/setting/setting.component";
14
- import * as i11 from "./setting-list/setting/rollout-percentage-items/rollout-percentage-items.component";
15
- import * as i12 from "./setting-list/setting/rollout-rules/rollout-rules.component";
16
- import * as i13 from "./setting-list/setting/value/value.component";
17
- import * as i14 from "./dialogs/reason-dialog/reason-dialog.component";
18
- import * as i15 from "./dialogs/save-snackbar/save-snackbar.component";
19
- import * as i16 from "./dialogs/expand-dialog/expand-dialog.component";
20
- import * as i17 from "./dialogs/delete-setting-dialog/delete-setting-dialog.component";
21
- import * as i18 from "./_directives/input-display-normalizer.directive";
22
- import * as i19 from "./v2/feature-flag/feature-flag.component";
23
- import * as i20 from "./v2/feature-flag/evaluation-formula/evaluation-formula.component";
24
- import * as i21 from "./v2/feature-flag/evaluation-formula/feature-flag-value/feature-flag-value.component";
25
- import * as i22 from "./v2/feature-flag/evaluation-formula/targeting-rule/targeting-rule.component";
26
- import * as i23 from "./v2/feature-flag/evaluation-formula/targeting-rule/percentage-options/percentage-options.component";
27
- import * as i24 from "./v2/feature-flag/evaluation-formula/targeting-rule/conditions/conditions.component";
28
- import * as i25 from "./v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/user-condition.component";
29
- import * as i26 from "./v2/feature-flag/evaluation-formula/targeting-rule/conditions/segment-condition/segment-condition.component";
30
- import * as i27 from "./v2/feature-flag/evaluation-formula/targeting-rule/conditions/prerequisite-flag-condition/prerequisite-flag-condition.component";
31
- import * as i28 from "./v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/popout-list-editor-dialog/popout-list-editor-dialog.component";
32
- import * as i29 from "./v2/feature-flag/evaluation-formula/popout-text-editor-dialog/popout-text-editor-dialog.component";
33
- import * as i30 from "./v2/feature-flag/percentage-evaluation-attribute-dialog/percentage-evaluation-attribute-dialog.component";
34
- import * as i31 from "./v2/feature-flag/evaluation-formula/targeting-rule/conditions/condition-chip/condition-chip.component";
35
- import * as i32 from "./v2/feature-flag/evaluation-formula/targeting-rule/conditions/user-condition/comparator-dialog/comparator-dialog.component";
36
- import * as i33 from "./dialogs/confirmation-dialog/confirmation-dialog";
37
- import * as i34 from "./dialogs/info-dialog/info-dialog";
38
- import * as i35 from "./_services/tracking.directive";
39
- import * as i36 from "./ace-editor/ace-editor.component";
40
- import * as i37 from "./v2/feature-flag-item.component";
41
- import * as i38 from "./v2/feature-flag/date-time-picker/date-time-picker.component";
42
- import * as i39 from "./v2/feature-flag/dependees-dialog/dependees-dialog.component";
43
- import * as i40 from "./dialogs/reroute-dialog/reroute-dialog";
44
- import * as i41 from "@angular/common";
45
- import * as i42 from "@angular/forms";
46
- import * as i43 from "@angular/platform-browser/animations";
47
- import * as i44 from "@angular/material/form-field";
48
- import * as i45 from "@angular/material/core";
49
- import * as i46 from "@angular/material/select";
50
- import * as i47 from "@angular/material/button";
51
- import * as i48 from "@angular/material/input";
52
- import * as i49 from "@angular/material/icon";
53
- import * as i50 from "@angular/material/tooltip";
54
- import * as i51 from "@angular/material/chips";
55
- import * as i52 from "@angular/material/autocomplete";
56
- import * as i53 from "@angular/cdk/drag-drop";
57
- import * as i54 from "@angular/router";
58
- import * as i55 from "@angular/material/snack-bar";
59
- import * as i56 from "@angular/material/dialog";
60
- import * as i57 from "@angular/material/menu";
61
- import * as i58 from "ng-configcat-publicapi";
62
- import * as i59 from "@angular/material/button-toggle";
63
- import * as i60 from "@angular/material/datepicker";
64
- import * as i61 from "@angular/material/divider";
65
- import * as i62 from "@angular/cdk/clipboard";
66
- import * as i63 from "@angular/material/paginator";
67
- import * as i64 from "@angular/material/table";
68
- import * as i65 from "@angular/material/radio";
69
- export declare class NgConfigCatPublicApiUIModule {
70
- static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<NgConfigCatPublicApiUIModule>;
71
- constructor();
72
- static ɵfac: i0.ɵɵFactoryDeclaration<NgConfigCatPublicApiUIModule, never>;
73
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgConfigCatPublicApiUIModule, [typeof i1.BaseComponent, typeof i2.BaseSelectComponent, typeof i3.ProductSelectComponent, typeof i4.ConfigSelectComponent, typeof i5.EnvironmentSelectComponent, typeof i6.SettingSelectComponent, typeof i7.SettingItemComponent, typeof i8.AuthorizationComponent, typeof i9.SettingListComponent, typeof i10.SettingComponent, typeof i11.RolloutPercentageItemsComponent, typeof i12.RolloutRulesComponent, typeof i13.ValueComponent, typeof i14.ReasonDialogComponent, typeof i15.SaveSnackbarComponent, typeof i16.ExpandDialogComponent, typeof i17.DeleteSettingDialogComponent, typeof i18.InputDisplayNormalizerDirective, typeof i19.FeatureFlagComponent, typeof i20.EvaluationFormulaComponent, typeof i21.FeatureFlagValueComponent, typeof i22.TargetingRuleComponent, typeof i23.PercentageOptionsComponent, typeof i24.ConditionsComponent, typeof i25.UserConditionComponent, typeof i26.SegmentConditionComponent, typeof i27.PrerequisiteFlagConditionComponent, typeof i28.PopoutListEditorDialogComponent, typeof i29.PopoutTextEditorDialogComponent, typeof i30.PercentageEvaluationAttributeDialogComponent, typeof i31.ConditionChipComponent, typeof i32.ComparatorDialogComponent, typeof i33.ConfirmationDialogComponent, typeof i34.InfoDialogComponent, typeof i35.TrackingDirective, typeof i36.AceEditorComponent, typeof i37.FeatureFlagItemComponent, typeof i38.DateTimePickerComponent, typeof i39.DependeesDialogComponent, typeof i40.RerouteDialogComponent], [typeof i41.CommonModule, typeof i42.FormsModule, typeof i42.ReactiveFormsModule, typeof i43.BrowserAnimationsModule, typeof i44.MatFormFieldModule, typeof i45.MatOptionModule, typeof i46.MatSelectModule, typeof i47.MatButtonModule, typeof i48.MatInputModule, typeof i49.MatIconModule, typeof i50.MatTooltipModule, typeof i51.MatChipsModule, typeof i52.MatAutocompleteModule, typeof i53.DragDropModule, typeof i54.RouterModule, typeof i55.MatSnackBarModule, typeof i56.MatDialogModule, typeof i57.MatMenuModule, typeof i58.ApiModule, typeof i59.MatButtonToggleModule, typeof i60.MatDatepickerModule, typeof i45.MatNativeDateModule, typeof i61.MatDividerModule, typeof i62.ClipboardModule, typeof i63.MatPaginatorModule, typeof i64.MatTableModule, typeof i65.MatRadioModule], [typeof i8.AuthorizationComponent, typeof i3.ProductSelectComponent, typeof i4.ConfigSelectComponent, typeof i5.EnvironmentSelectComponent, typeof i6.SettingSelectComponent, typeof i7.SettingItemComponent, typeof i18.InputDisplayNormalizerDirective, typeof i17.DeleteSettingDialogComponent, typeof i37.FeatureFlagItemComponent]>;
74
- static ɵinj: i0.ɵɵInjectorDeclaration<NgConfigCatPublicApiUIModule>;
75
- }
@@ -1,17 +0,0 @@
1
- import { OnInit, OnChanges } from '@angular/core';
2
- import { ConfigModel } 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 ConfigSelectComponent extends BaseSelectComponent implements OnInit, OnChanges {
8
- valueFormControl: UntypedFormControl;
9
- productId: string;
10
- configs: ConfigModel[];
11
- constructor(publicApiService: PublicApiService);
12
- ngOnInit(): void;
13
- ngOnChanges(): void;
14
- reloadConfigs(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigSelectComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfigSelectComponent, "configcat-config-select", never, { "valueFormControl": { "alias": "valueFormControl"; "required": false; }; "productId": { "alias": "productId"; "required": false; }; }, {}, never, never, false, never>;
17
- }