@abp/ng.feature-management 10.1.0-rc.1 → 10.1.0-rc.3
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: "21.0.
|
|
27
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FeaturesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
27
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FeaturesService, providedIn: 'root' }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FeaturesService, decorators: [{
|
|
30
30
|
type: Injectable,
|
|
31
31
|
args: [{
|
|
32
32
|
providedIn: 'root',
|
|
@@ -28,10 +28,10 @@ class FreeTextInputDirective {
|
|
|
28
28
|
const validatorType = this.feature?.valueType?.validator?.name.toLowerCase();
|
|
29
29
|
this.type = INPUT_TYPES[validatorType] ?? INPUT_TYPES.default;
|
|
30
30
|
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
32
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FreeTextInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: FreeTextInputDirective, isStandalone: true, selector: "input[abpFeatureManagementFreeText]", inputs: { feature: ["abpFeatureManagementFreeText", "feature"] }, host: { properties: { "type": "this.type" } }, exportAs: ["inputAbpFeatureManagementFreeText"], ngImport: i0 }); }
|
|
33
33
|
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FreeTextInputDirective, decorators: [{
|
|
35
35
|
type: Directive,
|
|
36
36
|
args: [{
|
|
37
37
|
selector: 'input[abpFeatureManagementFreeText]',
|
|
@@ -200,10 +200,10 @@ class FeatureManagementComponent {
|
|
|
200
200
|
setFeatureValue(feature, val) {
|
|
201
201
|
feature.value = val;
|
|
202
202
|
}
|
|
203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
204
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: FeatureManagementComponent, isStandalone: true, selector: "abp-feature-management", inputs: { providerKey: "providerKey", providerName: "providerName", providerTitle: "providerTitle", visible: "visible" }, 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 class=\"col-md-4\">\r\n <ul\r\n ngbNav\r\n #nav=\"ngbNav\"\r\n [(activeId)]=\"selectedGroupDisplayName\"\r\n class=\"nav-pills\"\r\n orientation=\"vertical\"\r\n >\r\n @for (group of groups; track group.name) {\r\n <li [ngbNavItem]=\"group.displayName\">\r\n <a ngbNavLink>{{ group.displayName }}</a>\r\n <ng-template ngbNavContent>\r\n <h4>{{ selectedGroupDisplayName }}</h4>\r\n <hr class=\"mt-2 mb-3\" />\r\n\r\n @for (feature of features[group.name]; track feature.id || i; let i = $index) {\r\n @let provider = feature.provider.name;\r\n @let isFeatureDisabled = !feature.parentName ? isParentDisabled(feature.name, group.name, provider) :\r\n (provider !== providerName && provider !== defaultProviderName);\r\n\r\n <div class=\"mt-2\" [ngStyle]=\"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 ></ng-container>\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 ></ng-container>\r\n </div>\r\n }\r\n @case (valueTypes.SelectionStringValueType) {\r\n @if (feature.valueType.itemSource?.items?.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 (\r\n item of feature.valueType.itemSource?.items;\r\n track item.value\r\n ) {\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 ></ng-container>\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 </li>\r\n }\r\n </ul>\r\n </div>\r\n\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\"><div class=\"py-0\" [ngbNavOutlet]=\"nav\"></div></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])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[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: "ngmodule", type: NgbNavModule }, { kind: "directive", type: i2.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i2.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i2.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i2.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i2.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i2.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i2.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "directive", type: FreeTextInputDirective, selector: "input[abpFeatureManagementFreeText]", inputs: ["abpFeatureManagementFreeText"], exportAs: ["inputAbpFeatureManagementFreeText"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FeatureManagementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
204
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: FeatureManagementComponent, isStandalone: true, selector: "abp-feature-management", inputs: { providerKey: "providerKey", providerName: "providerName", providerTitle: "providerTitle", visible: "visible" }, 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 class=\"col-md-4\">\r\n <ul\r\n ngbNav\r\n #nav=\"ngbNav\"\r\n [(activeId)]=\"selectedGroupDisplayName\"\r\n class=\"nav-pills\"\r\n orientation=\"vertical\"\r\n >\r\n @for (group of groups; track group.name) {\r\n <li [ngbNavItem]=\"group.displayName\">\r\n <a ngbNavLink>{{ group.displayName }}</a>\r\n <ng-template ngbNavContent>\r\n <h4>{{ selectedGroupDisplayName }}</h4>\r\n <hr class=\"mt-2 mb-3\" />\r\n\r\n @for (feature of features[group.name]; track feature.id || i; let i = $index) {\r\n @let provider = feature.provider.name;\r\n @let isFeatureDisabled = !feature.parentName ? isParentDisabled(feature.name, group.name, provider) :\r\n (provider !== providerName && provider !== defaultProviderName);\r\n\r\n <div class=\"mt-2\" [ngStyle]=\"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 ></ng-container>\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 ></ng-container>\r\n </div>\r\n }\r\n @case (valueTypes.SelectionStringValueType) {\r\n @if (feature.valueType.itemSource?.items?.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 (\r\n item of feature.valueType.itemSource?.items;\r\n track item.value\r\n ) {\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 ></ng-container>\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 </li>\r\n }\r\n </ul>\r\n </div>\r\n\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\"><div class=\"py-0\" [ngbNavOutlet]=\"nav\"></div></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])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[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: "ngmodule", type: NgbNavModule }, { kind: "directive", type: i2.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i2.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i2.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i2.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i2.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i2.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i2.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "directive", type: FreeTextInputDirective, selector: "input[abpFeatureManagementFreeText]", inputs: ["abpFeatureManagementFreeText"], exportAs: ["inputAbpFeatureManagementFreeText"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
205
205
|
}
|
|
206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FeatureManagementComponent, decorators: [{
|
|
207
207
|
type: Component,
|
|
208
208
|
args: [{ selector: 'abp-feature-management', exportAs: 'abpFeatureManagement', imports: [
|
|
209
209
|
NgTemplateOutlet,
|
|
@@ -252,10 +252,10 @@ class FeatureManagementTabComponent {
|
|
|
252
252
|
openFeaturesModal() {
|
|
253
253
|
this.visibleFeatures = true;
|
|
254
254
|
}
|
|
255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
256
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.
|
|
255
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FeatureManagementTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
256
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", 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" }] }); }
|
|
257
257
|
}
|
|
258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FeatureManagementTabComponent, decorators: [{
|
|
259
259
|
type: Component,
|
|
260
260
|
args: [{ 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" }]
|
|
261
261
|
}] });
|
|
@@ -298,16 +298,16 @@ class FeatureManagementModule {
|
|
|
298
298
|
providers: [provideFeatureManagementConfig()],
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
302
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FeatureManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
302
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: FeatureManagementModule, imports: [FeatureManagementComponent,
|
|
303
303
|
FreeTextInputDirective,
|
|
304
304
|
FeatureManagementTabComponent], exports: [FeatureManagementComponent,
|
|
305
305
|
FreeTextInputDirective,
|
|
306
306
|
FeatureManagementTabComponent] }); }
|
|
307
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
307
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FeatureManagementModule, imports: [FeatureManagementComponent,
|
|
308
308
|
FeatureManagementTabComponent] }); }
|
|
309
309
|
}
|
|
310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FeatureManagementModule, decorators: [{
|
|
311
311
|
type: NgModule,
|
|
312
312
|
args: [{
|
|
313
313
|
imports: [...FEATURE_MANAGEMENT_EXPORTS],
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.feature-management",
|
|
3
|
-
"version": "10.1.0-rc.
|
|
3
|
+
"version": "10.1.0-rc.3",
|
|
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.1.0-rc.
|
|
10
|
+
"@abp/ng.theme.shared": "~10.1.0-rc.3",
|
|
11
11
|
"tslib": "^2.0.0"
|
|
12
12
|
},
|
|
13
13
|
"publishConfig": {
|