@abp/ng.feature-management 10.6.0-rc.1 → 10.6.0-rc.2

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.
@@ -23,10 +23,10 @@ class FeaturesService {
23
23
  body: input,
24
24
  }, { apiName: this.apiName });
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FeaturesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
27
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FeaturesService, providedIn: 'root' }); }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FeaturesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
27
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FeaturesService, providedIn: 'root' }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FeaturesService, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FeaturesService, decorators: [{
30
30
  type: Injectable,
31
31
  args: [{
32
32
  providedIn: 'root',
@@ -31,10 +31,10 @@ class FreeTextInputDirective {
31
31
  const type = INPUT_TYPES[validatorType] ?? INPUT_TYPES['default'];
32
32
  this.renderer.setAttribute(this.elRef.nativeElement, 'type', type);
33
33
  }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FreeTextInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
35
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: FreeTextInputDirective, isStandalone: true, selector: "input[abpFeatureManagementFreeText]", inputs: { feature: { classPropertyName: "feature", publicName: "abpFeatureManagementFreeText", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["inputAbpFeatureManagementFreeText"], ngImport: i0 }); }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FreeTextInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
35
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.7", type: FreeTextInputDirective, isStandalone: true, selector: "input[abpFeatureManagementFreeText]", inputs: { feature: { classPropertyName: "feature", publicName: "abpFeatureManagementFreeText", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["inputAbpFeatureManagementFreeText"], ngImport: i0 }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FreeTextInputDirective, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FreeTextInputDirective, decorators: [{
38
38
  type: Directive,
39
39
  args: [{
40
40
  selector: 'input[abpFeatureManagementFreeText]',
@@ -234,10 +234,10 @@ class FeatureManagementComponent {
234
234
  setFeatureValue(feature, val) {
235
235
  feature.value = val;
236
236
  }
237
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FeatureManagementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
238
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: FeatureManagementComponent, isStandalone: true, selector: "abp-feature-management", inputs: { providerKey: { classPropertyName: "providerKey", publicName: "providerKey", isSignal: true, isRequired: false, transformFunction: null }, providerName: { classPropertyName: "providerName", publicName: "providerName", isSignal: true, isRequired: false, transformFunction: null }, providerTitle: { classPropertyName: "providerTitle", publicName: "providerTitle", isSignal: true, isRequired: false, transformFunction: null }, visibleInput: { classPropertyName: "visibleInput", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visibleChange: "visibleChange" }, exportAs: ["abpFeatureManagement"], ngImport: i0, template: "@if (visible) {\r\n <abp-modal [(visible)]=\"visible\" [busy]=\"modalBusy()\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ 'AbpFeatureManagement::Features' | abpLocalization }}\r\n @if (providerTitle()) {\r\n - {{ providerTitle() }}\r\n }\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <div class=\"row\">\r\n @if (groups().length) {\r\n <div ngTabs orientation=\"vertical\" class=\"row\">\r\n <div class=\"col-md-4\">\r\n <div\r\n ngTabList\r\n orientation=\"vertical\"\r\n selectionMode=\"follow\"\r\n [(selectedTab)]=\"selectedGroupDisplayName\"\r\n class=\"nav nav-pills flex-column\"\r\n >\r\n @for (group of groups(); track group.name) {\r\n <button\r\n ngTab\r\n #tab=\"ngTab\"\r\n type=\"button\"\r\n [value]=\"group.displayName\"\r\n class=\"nav-link text-start\"\r\n [class.active]=\"tab.selected()\"\r\n >\r\n {{ group.displayName }}\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n <ng-template #descTmp let-description>\r\n @if (description) {\r\n <small class=\"d-block form-text text-muted\">{{ description }}</small>\r\n }\r\n </ng-template>\r\n\r\n <div class=\"col-md-8\">\r\n @for (group of groups(); track group.name) {\r\n <div ngTabPanel [value]=\"group.displayName\">\r\n <ng-template ngTabContent>\r\n <h4>{{ selectedGroupDisplayName() }}</h4>\r\n <hr class=\"mt-2 mb-3\" />\r\n\r\n @for (\r\n feature of features()[group.name];\r\n track feature.name || i;\r\n let i = $index\r\n ) {\r\n @let provider = feature.provider.name;\r\n @let isFeatureDisabled =\r\n !feature.parentName\r\n ? isParentDisabled(feature.name, group.name, provider)\r\n : provider !== providerName() && provider !== defaultProviderName;\r\n\r\n <div class=\"mt-2\" [style]=\"feature.style\" (keyup.enter)=\"save()\">\r\n @switch (feature.valueType?.name) {\r\n @case (valueTypes.ToggleStringValueType) {\r\n <div class=\"form-check\" [class.px-4]=\"!!feature.parentName\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n [id]=\"feature.name\"\r\n [(ngModel)]=\"feature.value\"\r\n (ngModelChange)=\"onCheckboxClick($event, feature)\"\r\n [disabled]=\"isFeatureDisabled\"\r\n />\r\n\r\n <label class=\"form-check-label\" [htmlFor]=\"feature.name\">\r\n {{ feature.displayName }}\r\n @if (isFeatureDisabled) {\r\n <span>({{ provider }})</span>\r\n }\r\n </label>\r\n <ng-container\r\n *ngTemplateOutlet=\"\r\n descTmp;\r\n context: { $implicit: feature.description }\r\n \"\r\n />\r\n </div>\r\n }\r\n @case (valueTypes.FreeTextStringValueType) {\r\n <div class=\"mb-3 form-group\" [class.px-2]=\"!!feature.parentName\">\r\n <label [htmlFor]=\"feature.name\" class=\"form-label\">\r\n {{ feature.displayName }}\r\n @if (isFeatureDisabled) {\r\n <span>({{ provider }})</span>\r\n }\r\n </label>\r\n <input\r\n class=\"form-control\"\r\n type=\"text\"\r\n [id]=\"feature.name\"\r\n [(ngModel)]=\"feature.value\"\r\n [abpFeatureManagementFreeText]=\"feature\"\r\n [disabled]=\"isFeatureDisabled\"\r\n />\r\n\r\n <ng-container\r\n *ngTemplateOutlet=\"\r\n descTmp;\r\n context: { $implicit: feature.description }\r\n \"\r\n />\r\n </div>\r\n }\r\n @case (valueTypes.SelectionStringValueType) {\r\n @if (getSelectionItems(feature).length) {\r\n <div class=\"mb-3 form-group\" [class.px-2]=\"!!feature.parentName\">\r\n <label [htmlFor]=\"feature.name\" class=\"form-label\">\r\n {{ feature.displayName }}\r\n @if (isFeatureDisabled) {\r\n <span>({{ provider }})</span>\r\n }\r\n </label>\r\n <select\r\n class=\"form-select\"\r\n [id]=\"feature.name\"\r\n [(ngModel)]=\"feature.value\"\r\n [disabled]=\"isFeatureDisabled\"\r\n >\r\n @for (item of getSelectionItems(feature); track item.value) {\r\n <option [ngValue]=\"item.value\">\r\n {{\r\n item.displayText?.resourceName +\r\n '::' +\r\n item.displayText?.name | abpLocalization\r\n }}\r\n </option>\r\n }\r\n </select>\r\n <ng-container\r\n *ngTemplateOutlet=\"\r\n descTmp;\r\n context: { $implicit: feature.description }\r\n \"\r\n />\r\n </div>\r\n }\r\n }\r\n @default {\r\n {{ feature.displayName }}\r\n }\r\n }\r\n </div>\r\n }\r\n </ng-template>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n }\r\n\r\n @if (!groups().length) {\r\n <div class=\"col\">\r\n {{ 'AbpFeatureManagement::NoFeatureFoundMessage' | abpLocalization }}\r\n </div>\r\n }\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-link\">\r\n {{ 'AbpFeatureManagement::Cancel' | abpLocalization }}\r\n </button>\r\n\r\n @if (groups().length) {\r\n <abp-button\r\n buttonClass=\"btn btn-outline-primary\"\r\n [disabled]=\"modalBusy()\"\r\n (click)=\"resetToDefault()\"\r\n aria-hidden=\"true\"\r\n >\r\n {{ 'AbpFeatureManagement::ResetToDefault' | abpLocalization }}\r\n </abp-button>\r\n }\r\n\r\n @if (groups().length) {\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n [disabled]=\"modalBusy()\"\r\n (click)=\"save()\"\r\n aria-hidden=\"true\"\r\n >\r\n {{ 'AbpFeatureManagement::Save' | abpLocalization }}\r\n </abp-button>\r\n }\r\n </ng-template>\r\n </abp-modal>\r\n}\r\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox]:not([ngNoCva])[formControlName],input[type=checkbox]:not([ngNoCva])[formControl],input[type=checkbox]:not([ngNoCva])[ngModel]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple]):not([ngNoCva])[formControlName],select:not([multiple]):not([ngNoCva])[formControl],select:not([multiple]):not([ngNoCva])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: Tabs, selector: "[ngTabs]", exportAs: ["ngTabs"] }, { kind: "directive", type: TabList, selector: "[ngTabList]", inputs: ["orientation", "wrap", "softDisabled", "focusMode", "selectionMode", "selectedTab", "disabled"], outputs: ["selectedTabChange"], exportAs: ["ngTabList"] }, { kind: "directive", type: Tab, selector: "[ngTab]", inputs: ["id", "disabled", "value"], exportAs: ["ngTab"] }, { kind: "directive", type: TabPanel, selector: "[ngTabPanel]", inputs: ["id", "value"], exportAs: ["ngTabPanel"] }, { kind: "directive", type: TabContent, selector: "ng-template[ngTabContent]", exportAs: ["ngTabContent"] }, { kind: "directive", type: FreeTextInputDirective, selector: "input[abpFeatureManagementFreeText]", inputs: ["abpFeatureManagementFreeText"], exportAs: ["inputAbpFeatureManagementFreeText"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
237
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FeatureManagementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
238
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: FeatureManagementComponent, isStandalone: true, selector: "abp-feature-management", inputs: { providerKey: { classPropertyName: "providerKey", publicName: "providerKey", isSignal: true, isRequired: false, transformFunction: null }, providerName: { classPropertyName: "providerName", publicName: "providerName", isSignal: true, isRequired: false, transformFunction: null }, providerTitle: { classPropertyName: "providerTitle", publicName: "providerTitle", isSignal: true, isRequired: false, transformFunction: null }, visibleInput: { classPropertyName: "visibleInput", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visibleChange: "visibleChange" }, exportAs: ["abpFeatureManagement"], ngImport: i0, template: "@if (visible) {\r\n <abp-modal [(visible)]=\"visible\" [busy]=\"modalBusy()\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ 'AbpFeatureManagement::Features' | abpLocalization }}\r\n @if (providerTitle()) {\r\n - {{ providerTitle() }}\r\n }\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <div class=\"row\">\r\n @if (groups().length) {\r\n <div ngTabs orientation=\"vertical\" class=\"row\">\r\n <div class=\"col-md-4\">\r\n <div\r\n ngTabList\r\n orientation=\"vertical\"\r\n selectionMode=\"follow\"\r\n [(selectedTab)]=\"selectedGroupDisplayName\"\r\n class=\"nav nav-pills flex-column\"\r\n >\r\n @for (group of groups(); track group.name) {\r\n <button\r\n ngTab\r\n #tab=\"ngTab\"\r\n type=\"button\"\r\n [value]=\"group.displayName\"\r\n class=\"nav-link text-start\"\r\n [class.active]=\"tab.selected()\"\r\n >\r\n {{ group.displayName }}\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n <ng-template #descTmp let-description>\r\n @if (description) {\r\n <small class=\"d-block form-text text-muted\">{{ description }}</small>\r\n }\r\n </ng-template>\r\n\r\n <div class=\"col-md-8\">\r\n @for (group of groups(); track group.name) {\r\n <div ngTabPanel [value]=\"group.displayName\">\r\n <ng-template ngTabContent>\r\n <h4>{{ selectedGroupDisplayName() }}</h4>\r\n <hr class=\"mt-2 mb-3\" />\r\n\r\n @for (\r\n feature of features()[group.name];\r\n track feature.name || i;\r\n let i = $index\r\n ) {\r\n @let provider = feature.provider.name;\r\n @let isFeatureDisabled =\r\n !feature.parentName\r\n ? isParentDisabled(feature.name, group.name, provider)\r\n : provider !== providerName() && provider !== defaultProviderName;\r\n\r\n <div class=\"mt-2\" [style]=\"feature.style\" (keyup.enter)=\"save()\">\r\n @switch (feature.valueType?.name) {\r\n @case (valueTypes.ToggleStringValueType) {\r\n <div class=\"form-check\" [class.px-4]=\"!!feature.parentName\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"checkbox\"\r\n [id]=\"feature.name\"\r\n [(ngModel)]=\"feature.value\"\r\n (ngModelChange)=\"onCheckboxClick($event, feature)\"\r\n [disabled]=\"isFeatureDisabled\"\r\n />\r\n\r\n <label class=\"form-check-label\" [htmlFor]=\"feature.name\">\r\n {{ feature.displayName }}\r\n @if (isFeatureDisabled) {\r\n <span>({{ provider }})</span>\r\n }\r\n </label>\r\n <ng-container\r\n *ngTemplateOutlet=\"\r\n descTmp;\r\n context: { $implicit: feature.description }\r\n \"\r\n />\r\n </div>\r\n }\r\n @case (valueTypes.FreeTextStringValueType) {\r\n <div class=\"mb-3 form-group\" [class.px-2]=\"!!feature.parentName\">\r\n <label [htmlFor]=\"feature.name\" class=\"form-label\">\r\n {{ feature.displayName }}\r\n @if (isFeatureDisabled) {\r\n <span>({{ provider }})</span>\r\n }\r\n </label>\r\n <input\r\n class=\"form-control\"\r\n type=\"text\"\r\n [id]=\"feature.name\"\r\n [(ngModel)]=\"feature.value\"\r\n [abpFeatureManagementFreeText]=\"feature\"\r\n [disabled]=\"isFeatureDisabled\"\r\n />\r\n\r\n <ng-container\r\n *ngTemplateOutlet=\"\r\n descTmp;\r\n context: { $implicit: feature.description }\r\n \"\r\n />\r\n </div>\r\n }\r\n @case (valueTypes.SelectionStringValueType) {\r\n @if (getSelectionItems(feature).length) {\r\n <div class=\"mb-3 form-group\" [class.px-2]=\"!!feature.parentName\">\r\n <label [htmlFor]=\"feature.name\" class=\"form-label\">\r\n {{ feature.displayName }}\r\n @if (isFeatureDisabled) {\r\n <span>({{ provider }})</span>\r\n }\r\n </label>\r\n <select\r\n class=\"form-select\"\r\n [id]=\"feature.name\"\r\n [(ngModel)]=\"feature.value\"\r\n [disabled]=\"isFeatureDisabled\"\r\n >\r\n @for (item of getSelectionItems(feature); track item.value) {\r\n <option [ngValue]=\"item.value\">\r\n {{\r\n item.displayText?.resourceName +\r\n '::' +\r\n item.displayText?.name | abpLocalization\r\n }}\r\n </option>\r\n }\r\n </select>\r\n <ng-container\r\n *ngTemplateOutlet=\"\r\n descTmp;\r\n context: { $implicit: feature.description }\r\n \"\r\n />\r\n </div>\r\n }\r\n }\r\n @default {\r\n {{ feature.displayName }}\r\n }\r\n }\r\n </div>\r\n }\r\n </ng-template>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n }\r\n\r\n @if (!groups().length) {\r\n <div class=\"col\">\r\n {{ 'AbpFeatureManagement::NoFeatureFoundMessage' | abpLocalization }}\r\n </div>\r\n }\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-link\">\r\n {{ 'AbpFeatureManagement::Cancel' | abpLocalization }}\r\n </button>\r\n\r\n @if (groups().length) {\r\n <abp-button\r\n buttonClass=\"btn btn-outline-primary\"\r\n [disabled]=\"modalBusy()\"\r\n (click)=\"resetToDefault()\"\r\n aria-hidden=\"true\"\r\n >\r\n {{ 'AbpFeatureManagement::ResetToDefault' | abpLocalization }}\r\n </abp-button>\r\n }\r\n\r\n @if (groups().length) {\r\n <abp-button\r\n iconClass=\"fa fa-check\"\r\n [disabled]=\"modalBusy()\"\r\n (click)=\"save()\"\r\n aria-hidden=\"true\"\r\n >\r\n {{ 'AbpFeatureManagement::Save' | abpLocalization }}\r\n </abp-button>\r\n }\r\n </ng-template>\r\n </abp-modal>\r\n}\r\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox]:not([ngNoCva])[formControlName],input[type=checkbox]:not([ngNoCva])[formControl],input[type=checkbox]:not([ngNoCva])[ngModel]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple]):not([ngNoCva])[formControlName],select:not([multiple]):not([ngNoCva])[formControl],select:not([multiple]):not([ngNoCva])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: Tabs, selector: "[ngTabs]", exportAs: ["ngTabs"] }, { kind: "directive", type: TabList, selector: "[ngTabList]", inputs: ["orientation", "wrap", "softDisabled", "focusMode", "selectionMode", "selectedTab", "disabled"], outputs: ["selectedTabChange"], exportAs: ["ngTabList"] }, { kind: "directive", type: Tab, selector: "[ngTab]", inputs: ["id", "disabled", "value"], exportAs: ["ngTab"] }, { kind: "directive", type: TabPanel, selector: "[ngTabPanel]", inputs: ["id", "value"], exportAs: ["ngTabPanel"] }, { kind: "directive", type: TabContent, selector: "ng-template[ngTabContent]", exportAs: ["ngTabContent"] }, { kind: "directive", type: FreeTextInputDirective, selector: "input[abpFeatureManagementFreeText]", inputs: ["abpFeatureManagementFreeText"], exportAs: ["inputAbpFeatureManagementFreeText"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
239
239
  }
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FeatureManagementComponent, decorators: [{
240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FeatureManagementComponent, decorators: [{
241
241
  type: Component,
242
242
  args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'abp-feature-management', exportAs: 'abpFeatureManagement', imports: [
243
243
  NgTemplateOutlet,
@@ -279,10 +279,10 @@ class FeatureManagementTabComponent {
279
279
  openFeaturesModal() {
280
280
  this.visibleFeatures = true;
281
281
  }
282
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FeatureManagementTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
283
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: FeatureManagementTabComponent, isStandalone: true, selector: "abp-feature-management-tab", ngImport: i0, template: "<p class=\"pt-2 text-wrap\">{{ 'AbpFeatureManagement::ManageHostFeaturesText' | abpLocalization }}</p>\r\n\r\n<button class=\"btn btn-primary\" type=\"button\" (click)=\"openFeaturesModal()\">\r\n <i class=\"me-1 fa fa-cog\" aria-hidden=\"true\"></i>\r\n {{ 'AbpFeatureManagement::ManageHostFeatures' | abpLocalization }}\r\n</button>\r\n@if (visibleFeatures) {\r\n <abp-feature-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'T' },\r\n providerKey: { value: providerKey },\r\n visible: { value: visibleFeatures, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisibleFeaturesChange },\r\n componentKey: 'FeatureManagement.FeatureManagementComponent'\r\n }\"\r\n [(visible)]=\"visibleFeatures\"\r\n providerName=\"T\"\r\n [providerKey]=\"providerKey\"\r\n >\r\n </abp-feature-management>\r\n}\r\n", dependencies: [{ kind: "directive", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: FeatureManagementComponent, selector: "abp-feature-management", inputs: ["providerKey", "providerName", "providerTitle", "visible"], outputs: ["visibleChange"], exportAs: ["abpFeatureManagement"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
282
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FeatureManagementTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
283
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: FeatureManagementTabComponent, isStandalone: true, selector: "abp-feature-management-tab", ngImport: i0, template: "<p class=\"pt-2 text-wrap\">{{ 'AbpFeatureManagement::ManageHostFeaturesText' | abpLocalization }}</p>\r\n\r\n<button class=\"btn btn-primary\" type=\"button\" (click)=\"openFeaturesModal()\">\r\n <i class=\"me-1 fa fa-cog\" aria-hidden=\"true\"></i>\r\n {{ 'AbpFeatureManagement::ManageHostFeatures' | abpLocalization }}\r\n</button>\r\n@if (visibleFeatures) {\r\n <abp-feature-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'T' },\r\n providerKey: { value: providerKey },\r\n visible: { value: visibleFeatures, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisibleFeaturesChange },\r\n componentKey: 'FeatureManagement.FeatureManagementComponent'\r\n }\"\r\n [(visible)]=\"visibleFeatures\"\r\n providerName=\"T\"\r\n [providerKey]=\"providerKey\"\r\n >\r\n </abp-feature-management>\r\n}\r\n", dependencies: [{ kind: "directive", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: FeatureManagementComponent, selector: "abp-feature-management", inputs: ["providerKey", "providerName", "providerTitle", "visible"], outputs: ["visibleChange"], exportAs: ["abpFeatureManagement"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
284
284
  }
285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FeatureManagementTabComponent, decorators: [{
285
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FeatureManagementTabComponent, decorators: [{
286
286
  type: Component,
287
287
  args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'abp-feature-management-tab', imports: [ReplaceableTemplateDirective, LocalizationPipe, FeatureManagementComponent], template: "<p class=\"pt-2 text-wrap\">{{ 'AbpFeatureManagement::ManageHostFeaturesText' | abpLocalization }}</p>\r\n\r\n<button class=\"btn btn-primary\" type=\"button\" (click)=\"openFeaturesModal()\">\r\n <i class=\"me-1 fa fa-cog\" aria-hidden=\"true\"></i>\r\n {{ 'AbpFeatureManagement::ManageHostFeatures' | abpLocalization }}\r\n</button>\r\n@if (visibleFeatures) {\r\n <abp-feature-management\r\n *abpReplaceableTemplate=\"{\r\n inputs: {\r\n providerName: { value: 'T' },\r\n providerKey: { value: providerKey },\r\n visible: { value: visibleFeatures, twoWay: true }\r\n },\r\n outputs: { visibleChange: onVisibleFeaturesChange },\r\n componentKey: 'FeatureManagement.FeatureManagementComponent'\r\n }\"\r\n [(visible)]=\"visibleFeatures\"\r\n providerName=\"T\"\r\n [providerKey]=\"providerKey\"\r\n >\r\n </abp-feature-management>\r\n}\r\n" }]
288
288
  }] });
@@ -325,16 +325,16 @@ class FeatureManagementModule {
325
325
  providers: [provideFeatureManagementConfig()],
326
326
  };
327
327
  }
328
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FeatureManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
329
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: FeatureManagementModule, imports: [FeatureManagementComponent,
328
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FeatureManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
329
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.7", ngImport: i0, type: FeatureManagementModule, imports: [FeatureManagementComponent,
330
330
  FreeTextInputDirective,
331
331
  FeatureManagementTabComponent], exports: [FeatureManagementComponent,
332
332
  FreeTextInputDirective,
333
333
  FeatureManagementTabComponent] }); }
334
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FeatureManagementModule, imports: [FeatureManagementComponent,
334
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FeatureManagementModule, imports: [FeatureManagementComponent,
335
335
  FeatureManagementTabComponent] }); }
336
336
  }
337
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FeatureManagementModule, decorators: [{
337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: FeatureManagementModule, decorators: [{
338
338
  type: NgModule,
339
339
  args: [{
340
340
  imports: [...FEATURE_MANAGEMENT_EXPORTS],
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@abp/ng.feature-management",
3
- "version": "10.6.0-rc.1",
3
+ "version": "10.6.0-rc.2",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/ng.theme.shared": "~10.6.0-rc.1",
10
+ "@abp/ng.theme.shared": "~10.6.0-rc.2",
11
11
  "tslib": "^2.0.0"
12
12
  },
13
13
  "peerDependencies": {