@volo/abp.ng.identity 10.2.0-rc.2 → 10.2.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.
|
@@ -1675,10 +1675,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
1675
1675
|
}] });
|
|
1676
1676
|
|
|
1677
1677
|
class OrganizationMembersComponent extends AbstractOrganizationUnitComponent {
|
|
1678
|
-
constructor() {
|
|
1679
|
-
super(...arguments);
|
|
1680
|
-
this.modalOption = { size: 'xl' };
|
|
1681
|
-
}
|
|
1682
1678
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: OrganizationMembersComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1683
1679
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: OrganizationMembersComponent, isStandalone: true, selector: "abp-organization-members", providers: [
|
|
1684
1680
|
ListService,
|
|
@@ -1696,7 +1692,7 @@ class OrganizationMembersComponent extends AbstractOrganizationUnitComponent {
|
|
|
1696
1692
|
deletionLocalizationKey: 'AbpIdentity::RemoveUserFromOuWarningMessage',
|
|
1697
1693
|
},
|
|
1698
1694
|
},
|
|
1699
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"py-2 d-flex justify-content-between align-items-center\">\r\n <abp-selected-organization-unit></abp-selected-organization-unit>\r\n <button class=\"btn btn-sm btn-primary\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\" aria-hidden=\"true\"></i>\r\n {{ 'AbpIdentity::AddMember' | abpLocalization }}\r\n </button>\r\n</div>\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\"
|
|
1695
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"py-2 d-flex justify-content-between align-items-center\">\r\n <abp-selected-organization-unit></abp-selected-organization-unit>\r\n <button class=\"btn btn-sm btn-primary\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\" aria-hidden=\"true\"></i>\r\n {{ 'AbpIdentity::AddMember' | abpLocalization }}\r\n </button>\r\n</div>\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ 'AbpIdentity::SelectMembers' | abpLocalization }}\r\n @if (selectedOrganizationUnit()?.displayName) {\r\n - {{ selectedOrganizationUnit()?.displayName }}\r\n }\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <abp-organization-members-modal-body\r\n [(checkedUnits)]=\"checkedUnits\"\r\n [isCheckboxDisabled]=\"isCheckboxDisabled\"\r\n ></abp-organization-members-modal-body>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\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\" (click)=\"addUnits()\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: SelectedOrganizationUnitComponent, selector: "abp-selected-organization-unit" }, { kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight", "rowDetailTemplate", "rowDetailHeight"], outputs: ["tableActivate", "selectionChange", "loadMore", "rowDetailToggle"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: OrganizationMembersModalBodyComponent, selector: "abp-organization-members-modal-body", inputs: ["checkedUnits", "isCheckboxDisabled"], outputs: ["checkedUnitsChange"] }, { 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"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
1700
1696
|
}
|
|
1701
1697
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: OrganizationMembersComponent, decorators: [{
|
|
1702
1698
|
type: Component,
|
|
@@ -1724,7 +1720,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
1724
1720
|
OrganizationMembersModalBodyComponent,
|
|
1725
1721
|
ModalComponent,
|
|
1726
1722
|
ButtonComponent,
|
|
1727
|
-
], template: "<div class=\"py-2 d-flex justify-content-between align-items-center\">\r\n <abp-selected-organization-unit></abp-selected-organization-unit>\r\n <button class=\"btn btn-sm btn-primary\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\" aria-hidden=\"true\"></i>\r\n {{ 'AbpIdentity::AddMember' | abpLocalization }}\r\n </button>\r\n</div>\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\"
|
|
1723
|
+
], template: "<div class=\"py-2 d-flex justify-content-between align-items-center\">\r\n <abp-selected-organization-unit></abp-selected-organization-unit>\r\n <button class=\"btn btn-sm btn-primary\" (click)=\"openModal()\">\r\n <i class=\"fas fa-plus me-1\" aria-hidden=\"true\"></i>\r\n {{ 'AbpIdentity::AddMember' | abpLocalization }}\r\n </button>\r\n</div>\r\n<abp-extensible-table\r\n [data]=\"currentOrganizationUnits.items\"\r\n [recordsTotal]=\"currentOrganizationUnits.totalCount\"\r\n [list]=\"list\"\r\n></abp-extensible-table>\r\n\r\n<abp-modal [(visible)]=\"isModalVisible\" [busy]=\"isModalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ 'AbpIdentity::SelectMembers' | abpLocalization }}\r\n @if (selectedOrganizationUnit()?.displayName) {\r\n - {{ selectedOrganizationUnit()?.displayName }}\r\n }\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <abp-organization-members-modal-body\r\n [(checkedUnits)]=\"checkedUnits\"\r\n [isCheckboxDisabled]=\"isCheckboxDisabled\"\r\n ></abp-organization-members-modal-body>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\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\" (click)=\"addUnits()\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
1728
1724
|
}] });
|
|
1729
1725
|
|
|
1730
1726
|
class OrganizationRolesModalBodyComponent {
|
|
@@ -2605,14 +2601,12 @@ const DEFAULT_ORGANIZATION_MEMBERS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
2605
2601
|
name: 'userName',
|
|
2606
2602
|
displayName: 'AbpIdentity::UserName',
|
|
2607
2603
|
sortable: true,
|
|
2608
|
-
columnWidth: 180,
|
|
2609
2604
|
},
|
|
2610
2605
|
{
|
|
2611
2606
|
type: "string" /* ePropType.String */,
|
|
2612
2607
|
name: 'email',
|
|
2613
2608
|
displayName: 'AbpIdentity::EmailAddress',
|
|
2614
2609
|
sortable: true,
|
|
2615
|
-
columnWidth: 200,
|
|
2616
2610
|
valueResolver: data => {
|
|
2617
2611
|
const { email, emailConfirmed } = data.record;
|
|
2618
2612
|
return of((email || '') + (emailConfirmed ? `<i class="fa fa-check text-success ms-1"></i>` : ''));
|