@flusys/ng-auth 7.0.0 → 7.0.1

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.
@@ -1809,9 +1809,6 @@ class BranchFormComponent {
1809
1809
  queryParams: companyId ? { companyId } : {},
1810
1810
  });
1811
1811
  }
1812
- onCancel() {
1813
- this.navigateToList();
1814
- }
1815
1812
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: BranchFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1816
1813
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: BranchFormComponent, isStandalone: true, selector: "lib-branch-form", ngImport: i0, template: `
1817
1814
  <f-card>
@@ -1927,7 +1924,7 @@ class BranchFormComponent {
1927
1924
  fButton
1928
1925
  severity="secondary"
1929
1926
  [outlined]="true"
1930
- (click)="onCancel()"
1927
+ (click)="navigateToList()"
1931
1928
  >
1932
1929
  <span pButtonLabel>{{ 'shared.cancel' | translate }}</span>
1933
1930
  </button>
@@ -2069,7 +2066,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
2069
2066
  fButton
2070
2067
  severity="secondary"
2071
2068
  [outlined]="true"
2072
- (click)="onCancel()"
2069
+ (click)="navigateToList()"
2073
2070
  >
2074
2071
  <span pButtonLabel>{{ 'shared.cancel' | translate }}</span>
2075
2072
  </button>
@@ -2158,9 +2155,6 @@ class BranchListComponent {
2158
2155
  pagination: { currentPage: page, pageSize },
2159
2156
  });
2160
2157
  }
2161
- onCompanyChange() {
2162
- this.loadBranches();
2163
- }
2164
2158
  onLazyLoad(event) {
2165
2159
  const companyId = this.selectedCompanyId();
2166
2160
  if (!companyId)
@@ -2224,7 +2218,7 @@ class BranchListComponent {
2224
2218
  [options]="companies()"
2225
2219
  [ngModel]="selectedCompanyId()"
2226
2220
  (ngModelChange)="
2227
- selectedCompanyId.set($event); onCompanyChange()
2221
+ selectedCompanyId.set($event); loadBranches()
2228
2222
  "
2229
2223
  optionLabel="name"
2230
2224
  optionValue="id"
@@ -2353,7 +2347,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
2353
2347
  [options]="companies()"
2354
2348
  [ngModel]="selectedCompanyId()"
2355
2349
  (ngModelChange)="
2356
- selectedCompanyId.set($event); onCompanyChange()
2350
+ selectedCompanyId.set($event); loadBranches()
2357
2351
  "
2358
2352
  optionLabel="name"
2359
2353
  optionValue="id"