@volo/abp.ng.identity 9.3.4 → 9.3.5
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.
|
@@ -16,7 +16,7 @@ import { NgxDatatableModule } from '@swimlane/ngx-datatable';
|
|
|
16
16
|
import { from, of, pipe, lastValueFrom, combineLatest, switchMap as switchMap$1 } from 'rxjs';
|
|
17
17
|
import { IdentityLinkUserService, IdentityUserDelegationService } from '@volo/abp.ng.account/public/proxy';
|
|
18
18
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
19
|
-
import { LookupTypeaheadComponent,
|
|
19
|
+
import { LookupTypeaheadComponent, DatetimeRangePickerComponent, CommercialUiModule } from '@volo/abp.commercial.ng.ui';
|
|
20
20
|
import { SettingTabsService } from '@abp/ng.setting-management/config';
|
|
21
21
|
import { OPEN_MY_LINK_USERS_MODAL, OPEN_AUTHORITY_DELEGATION_MODAL } from '@volo/abp.commercial.ng.ui/config';
|
|
22
22
|
|
|
@@ -755,7 +755,7 @@ class CreateUserDelegateComponent {
|
|
|
755
755
|
this.visibleChange.emit(false);
|
|
756
756
|
}
|
|
757
757
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateUserDelegateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
758
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: CreateUserDelegateComponent, isStandalone: true, selector: "abp-create-user-delegate", outputs: { visibleChange: "visibleChange", save: "save" }, providers: [{ provide: NgbDateAdapter, useClass: DateTimeAdapter }], ngImport: i0, template: "<abp-modal [visible]=\"modalVisible\" (visibleChange)=\"visibleChange.emit($event)\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"DelegateNewUser\" name=\"DelegateNewUser\" [formGroup]=\"form\" (ngSubmit)=\"submit()\">\r\n <div class=\"mb-3\">\r\n <label for=\"delegate-new-user-id\">{{ 'AbpIdentity::UserName' | abpLocalization }}</label>\r\n <abp-lookup-typeahead\r\n cid=\"delegate-new-user-id\"\r\n displayNameProp=\"userName\"\r\n lookupNameProp=\"userName\"\r\n formControlName=\"userNameId\"\r\n [getFn]=\"getFn\"\r\n />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label> {{ 'AbpIdentity::DelegationDateRange' | abpLocalization }} </label>\r\n <abp-
|
|
758
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: CreateUserDelegateComponent, isStandalone: true, selector: "abp-create-user-delegate", outputs: { visibleChange: "visibleChange", save: "save" }, providers: [{ provide: NgbDateAdapter, useClass: DateTimeAdapter }], ngImport: i0, template: "<abp-modal [visible]=\"modalVisible\" (visibleChange)=\"visibleChange.emit($event)\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"DelegateNewUser\" name=\"DelegateNewUser\" [formGroup]=\"form\" (ngSubmit)=\"submit()\">\r\n <div class=\"mb-3\">\r\n <label for=\"delegate-new-user-id\">{{ 'AbpIdentity::UserName' | abpLocalization }}</label>\r\n <abp-lookup-typeahead\r\n cid=\"delegate-new-user-id\"\r\n displayNameProp=\"userName\"\r\n lookupNameProp=\"userName\"\r\n formControlName=\"userNameId\"\r\n [getFn]=\"getFn\"\r\n />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label> {{ 'AbpIdentity::DelegationDateRange' | abpLocalization }} </label>\r\n <abp-datetime-range-picker\r\n startDateProp=\"startTime\"\r\n endDateProp=\"endTime\"\r\n formControlName=\"times\"\r\n />\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center mb-2 gap-2\">\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"DelegateNewUser\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "component", type: LookupTypeaheadComponent, selector: "abp-lookup-typeahead", inputs: ["displayNameProp", "lookupFilterProp", "filter", "editingData"] }, { kind: "component", type: DatetimeRangePickerComponent, selector: "abp-datetime-range-picker", inputs: ["startDateProp", "endDateProp", "labelText"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
759
759
|
}
|
|
760
760
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateUserDelegateComponent, decorators: [{
|
|
761
761
|
type: Component,
|
|
@@ -765,10 +765,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
765
765
|
ModalCloseDirective,
|
|
766
766
|
LocalizationPipe,
|
|
767
767
|
LookupTypeaheadComponent,
|
|
768
|
-
|
|
768
|
+
DatetimeRangePickerComponent,
|
|
769
769
|
ModalComponent,
|
|
770
770
|
ButtonComponent,
|
|
771
|
-
], providers: [{ provide: NgbDateAdapter, useClass: DateTimeAdapter }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-modal [visible]=\"modalVisible\" (visibleChange)=\"visibleChange.emit($event)\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"DelegateNewUser\" name=\"DelegateNewUser\" [formGroup]=\"form\" (ngSubmit)=\"submit()\">\r\n <div class=\"mb-3\">\r\n <label for=\"delegate-new-user-id\">{{ 'AbpIdentity::UserName' | abpLocalization }}</label>\r\n <abp-lookup-typeahead\r\n cid=\"delegate-new-user-id\"\r\n displayNameProp=\"userName\"\r\n lookupNameProp=\"userName\"\r\n formControlName=\"userNameId\"\r\n [getFn]=\"getFn\"\r\n />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label> {{ 'AbpIdentity::DelegationDateRange' | abpLocalization }} </label>\r\n <abp-
|
|
771
|
+
], providers: [{ provide: NgbDateAdapter, useClass: DateTimeAdapter }], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-modal [visible]=\"modalVisible\" (visibleChange)=\"visibleChange.emit($event)\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">{{ 'AbpIdentity::DelegateNewUser' | abpLocalization }}</h5>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form id=\"DelegateNewUser\" name=\"DelegateNewUser\" [formGroup]=\"form\" (ngSubmit)=\"submit()\">\r\n <div class=\"mb-3\">\r\n <label for=\"delegate-new-user-id\">{{ 'AbpIdentity::UserName' | abpLocalization }}</label>\r\n <abp-lookup-typeahead\r\n cid=\"delegate-new-user-id\"\r\n displayNameProp=\"userName\"\r\n lookupNameProp=\"userName\"\r\n formControlName=\"userNameId\"\r\n [getFn]=\"getFn\"\r\n />\r\n </div>\r\n\r\n <div class=\"mb-3\">\r\n <label> {{ 'AbpIdentity::DelegationDateRange' | abpLocalization }} </label>\r\n <abp-datetime-range-picker\r\n startDateProp=\"startTime\"\r\n endDateProp=\"endTime\"\r\n formControlName=\"times\"\r\n />\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center mb-2 gap-2\">\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" buttonType=\"submit\" formName=\"DelegateNewUser\">\r\n {{ 'AbpUi::Save' | abpLocalization }}\r\n </abp-button>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
772
772
|
}], propDecorators: { visibleChange: [{
|
|
773
773
|
type: Output
|
|
774
774
|
}], save: [{
|