-
-
-
+ class="grid grid-cols-12 min-h-screen h-screen overflow-hidden bg-[#f4f2fb] text-defaulttextcolor font-sans relative p-0">
-
-

-

-
-
-
-
-
Sign In
-
- Welcome back !
-
-
-
+
+
\ No newline at end of file
diff --git a/src/app/features/authentication/pages/login/login.scss b/src/app/features/authentication/pages/login/login.scss
index 263aee1c..6002384d 100644
--- a/src/app/features/authentication/pages/login/login.scss
+++ b/src/app/features/authentication/pages/login/login.scss
@@ -1,15 +1,40 @@
-::ng-deep{
+.login-input {
+ background-color: #ffffff !important;
+ color: #0f172a !important;
+ border-color: #cbd5e1 !important;
+ &::placeholder {
+ color: #94a3b8 !important;
+ }
- .firebase {
- width: 30px;
- height: 30px;
- }
-
- .rounded-lg{
- width: 120px;
- justify-content: center;
- margin: auto;
- border-radius: 0.75rem;
- }
- }
+ &:-webkit-autofill,
+ &:-webkit-autofill:hover,
+ &:-webkit-autofill:focus,
+ &:-webkit-autofill:active {
+ -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
+ -webkit-text-fill-color: #0f172a !important;
+ caret-color: #0f172a !important;
+ transition: background-color 5000s ease-in-out 0s;
+ }
+
+ &:focus {
+ background-color: #ffffff !important;
+ color: #0f172a !important;
+ border-color: #a855f7 !important;
+ box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.25) !important;
+ }
+}
+
+::ng-deep {
+ .firebase {
+ width: 30px;
+ height: 30px;
+ }
+
+ .rounded-lg {
+ width: 120px;
+ justify-content: center;
+ margin: auto;
+ border-radius: 0.75rem;
+ }
+}
\ No newline at end of file
diff --git a/src/app/features/authentication/pages/login/login.ts b/src/app/features/authentication/pages/login/login.ts
index b2c3eb8b..c35d7b02 100644
--- a/src/app/features/authentication/pages/login/login.ts
+++ b/src/app/features/authentication/pages/login/login.ts
@@ -21,7 +21,7 @@ export class Login {
private readonly fallbackRoute = '/dashboards/crm';
public readonly adminLoginForm = this.formBuilder.nonNullable.group({
- username: ['', [Validators.required, Validators.email]],
+ username: ['superadmin@syscom.dev', [Validators.required]],
password: ['', Validators.required],
rememberMe: [false]
});
diff --git a/src/app/features/global-masters/cities/pages/city-list/city-list.html b/src/app/features/global-masters/cities/pages/city-list/city-list.html
index ea08ca13..f08ad1b1 100644
--- a/src/app/features/global-masters/cities/pages/city-list/city-list.html
+++ b/src/app/features/global-masters/cities/pages/city-list/city-list.html
@@ -1,63 +1,3 @@
-
-
-
-
+ (filterClicked)="onToggleFilters()">
+
+
+
+
(null);
readonly deleteConfirmDialog = viewChild(ConfirmDialog);
+ readonly showFilters = signal(false);
+
readonly filterForm = this.formBuilder.nonNullable.group({
countryId: [''],
stateId: [{ value: '', disabled: true }]
@@ -258,4 +259,9 @@ export class CityList implements OnInit {
}
});
}
+
+ onToggleFilters(): void {
+ this.showFilters.update(value => !value);
+ }
}
+
diff --git a/src/app/features/global-masters/states/pages/state-list/state-list.html b/src/app/features/global-masters/states/pages/state-list/state-list.html
index 4dbbdd43..e0acaa24 100644
--- a/src/app/features/global-masters/states/pages/state-list/state-list.html
+++ b/src/app/features/global-masters/states/pages/state-list/state-list.html
@@ -1,75 +1,34 @@
-
-
-
+
+
+
+
+
-
+
-
-
-
+
\ No newline at end of file
diff --git a/src/app/features/global-masters/states/pages/state-list/state-list.ts b/src/app/features/global-masters/states/pages/state-list/state-list.ts
index 075a46aa..c5a01839 100644
--- a/src/app/features/global-masters/states/pages/state-list/state-list.ts
+++ b/src/app/features/global-masters/states/pages/state-list/state-list.ts
@@ -8,7 +8,7 @@ import { catchError, finalize, map } from 'rxjs/operators';
import { CountryLookupDto, CountryService } from '../../../countries/public-api';
import { StateDto, UpdateStateRequest } from '../../models/state.model';
import { StateService } from '../../data-access/state.service';
-import { DataTable } from '../../../../../shared/components/data-table/data-table';
+import { DataTable, DataTableToolbarDirective } from '../../../../../shared/components/data-table/data-table';
import { DataTableStore } from '../../../../../shared/components/data-table/data-table.store';
import {
DataTableAction,
@@ -24,7 +24,6 @@ import {
AutocompleteValueFn
} from '../../../../../shared/components/form/autocomplete/autocomplete.types';
import { ConfirmDialog } from '../../../../../shared/components/confirm-dialog/confirm-dialog';
-import { FilterCard } from '../../../../../shared/components/filter-card/filter-card';
import { Button as AppButton } from '../../../../../shared/components/button/button';
import { StateFormModalComponent } from '../../components/state-form-modal/state-form-modal';
@@ -44,10 +43,10 @@ interface StateTableRow extends DataTableRecord {
standalone: true,
imports: [
DataTable,
+ DataTableToolbarDirective,
ReactiveFormsModule,
Autocomplete,
ConfirmDialog,
- FilterCard,
AppButton,
StateFormModalComponent
],
@@ -69,6 +68,8 @@ export class StateList implements OnInit {
readonly pendingDeleteState = signal(null);
readonly deleteConfirmDialog = viewChild(ConfirmDialog);
+ readonly showFilters = signal(false);
+
readonly countryFilterForm = this.formBuilder.nonNullable.group({
countryId: ['']
});
@@ -203,4 +204,8 @@ export class StateList implements OnInit {
}
});
}
+
+ onToggleFilters(): void {
+ this.showFilters.update(value => !value);
+ }
}
diff --git a/src/app/features/organizations/organization-list/organization-list.html b/src/app/features/organizations/organization-list/organization-list.html
index e32a2627..2fe0c7fa 100644
--- a/src/app/features/organizations/organization-list/organization-list.html
+++ b/src/app/features/organizations/organization-list/organization-list.html
@@ -1,45 +1,3 @@
-
-
+ (filterClicked)="onToggleFilters()"
+ toolTip="Add Organization">
+
+
+
+
+
diff --git a/src/app/features/organizations/organization-list/organization-list.ts b/src/app/features/organizations/organization-list/organization-list.ts
index 6c685454..7be4918a 100644
--- a/src/app/features/organizations/organization-list/organization-list.ts
+++ b/src/app/features/organizations/organization-list/organization-list.ts
@@ -4,7 +4,7 @@ import { Router } from '@angular/router';
import { ToastrService } from 'ngx-toastr';
import { of } from 'rxjs';
-import { DataTable } from '../../../shared/components/data-table/data-table';
+import { DataTable, DataTableToolbarDirective } from '../../../shared/components/data-table/data-table';
import { DataTableStore } from '../../../shared/components/data-table/data-table.store';
import {
DataTableAction,
@@ -20,7 +20,6 @@ import {
AutocompleteSearchFn,
AutocompleteValueFn,
} from '../../../shared/components/form/autocomplete/autocomplete.types';
-import { FilterCard } from '../../../shared/components/filter-card/filter-card';
import { Button } from '../../../shared/components/button/button';
import { CountryLookupDto, CountryService } from '../../global-masters/countries/public-api';
@@ -40,7 +39,7 @@ interface OrganizationListRow extends DataTableRecord {
@Component({
selector: 'organization-list',
standalone: true,
- imports: [ReactiveFormsModule, FilterCard, Autocomplete, DataTable, Button],
+ imports: [ReactiveFormsModule, Autocomplete, DataTable, DataTableToolbarDirective, Button],
providers: [DataTableStore],
templateUrl: './organization-list.html',
styleUrl: './organization-list.scss',
@@ -54,6 +53,7 @@ export class OrganizationList implements OnInit {
readonly selectedCountryLookup = signal(null);
readonly appliedCountryId = signal(null);
+ readonly showFilters = signal(false);
readonly countryFilterForm = this.formBuilder.nonNullable.group({
countryId: [''],
@@ -268,6 +268,17 @@ export class OrganizationList implements OnInit {
void this.router.navigate(['/organizations/onboarding']);
}
+ onResetFilter(): void {
+ this.countryFilterForm.reset({ countryId: '' });
+ this.selectedCountryLookup.set(null);
+ this.appliedCountryId.set(null);
+ this.tableStore.reset();
+ }
+
+ onToggleFilters(): void {
+ this.showFilters.update(value => !value);
+ }
+
onActionClick(event: DataTableActionEvent): void {
if (event.action.type === 'edit' || (event.row.status as string) === 'Draft') {
void this.router.navigate(['/organizations/onboarding'], { queryParams: { id: event.row.id } });
@@ -276,3 +287,4 @@ export class OrganizationList implements OnInit {
this.toastr.info(`${event.action.label} clicked for ${event.row.organizationName}`);
}
}
+
diff --git a/src/app/features/organizations/organization-onboarding/components/onboarding-stepper/onboarding-stepper.html b/src/app/features/organizations/organization-onboarding/components/onboarding-stepper/onboarding-stepper.html
index 4d5ef8e4..30391530 100644
--- a/src/app/features/organizations/organization-onboarding/components/onboarding-stepper/onboarding-stepper.html
+++ b/src/app/features/organizations/organization-onboarding/components/onboarding-stepper/onboarding-stepper.html
@@ -2,12 +2,15 @@