Files
cbsnexora/src/app/standalone-shared.module.ts
T
AdityaandClaude Opus 4.6 b890d24bb7 feat: non-individual entity UI improvements — hide individual-only sections, fix legal form display, send extended fields to API
- Hide Family Members tab/section for non-individual entities in client view, create flow, and preview
- Hide Financial & Classification section for non-individual entities in personal data and preview
- Fix legal form column in clients list — fetch legalForm from client API for correct display
- Add person/business icon before client name in list rows
- Remove unsupportedNpd filter — send authorizedSignatory, additionalInfo, dateOfRegistration to API
- Add registration number format hint (mat-hint) based on constitution type
- Add spacing between verification row and constitution type dropdowns
- Reduce table cell padding and prevent action buttons from being clipped
- Add missing MPL-2.0 license headers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 15:10:51 +05:30

66 lines
2.1 KiB
TypeScript

/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// src/app/shared/standalone-shared.module.ts
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterLink } from '@angular/router';
import { NgIf, NgFor } from '@angular/common';
import { MatCard, MatCardContent, MatCardActions } from '@angular/material/card';
import { MatFormField, MatLabel, MatError, MatSuffix, MatPrefix, MatHint } from '@angular/material/form-field';
import { MatInput } from '@angular/material/input';
import { MatSelect, MatSelectTrigger } from '@angular/material/select';
import { MatOption } from '@angular/material/core';
import { MatDatepickerInput, MatDatepickerToggle, MatDatepicker } from '@angular/material/datepicker';
import { MatButton } from '@angular/material/button';
import { MatCheckbox } from '@angular/material/checkbox';
import { DateFormatPipe } from '@pipes/date-format.pipe';
import { DocumentationLinkPipe } from '@pipes/documentation-link.pipe';
import { TranslatePipe as NgxTranslatePipe } from '@ngx-translate/core';
import { TranslatePipe } from '@pipes/translate.pipe';
import { HasPermissionDirective } from './directives/has-permission/has-permission.directive';
export const STANDALONE_SHARED_IMPORTS = [
CommonModule,
ReactiveFormsModule,
RouterLink,
NgIf,
NgFor,
// Angular Material
MatCard,
MatCardContent,
MatCardActions,
MatFormField,
MatLabel,
MatError,
MatSuffix,
MatPrefix,
MatHint,
MatInput,
MatSelect,
MatSelectTrigger,
MatOption,
MatDatepickerInput,
MatDatepickerToggle,
MatDatepicker,
MatButton,
MatCheckbox,
DateFormatPipe,
DocumentationLinkPipe,
HasPermissionDirective,
// Pipes and Directives
NgxTranslatePipe,
TranslatePipe
];
export { M3ButtonComponent } from './shared/m3-ui/m3-button/m3-button.component';
export { HasPermissionDirective } from './directives/has-permission/has-permission.directive';