@flusys/ng-auth 7.0.0 → 7.0.2

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>
@@ -1925,9 +1922,10 @@ class BranchFormComponent {
1925
1922
  <div class="flex justify-end gap-4 md:col-span-2 pt-4">
1926
1923
  <button
1927
1924
  fButton
1925
+ type="button"
1928
1926
  severity="secondary"
1929
1927
  [outlined]="true"
1930
- (click)="onCancel()"
1928
+ (click)="navigateToList()"
1931
1929
  >
1932
1930
  <span pButtonLabel>{{ 'shared.cancel' | translate }}</span>
1933
1931
  </button>
@@ -2067,9 +2065,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
2067
2065
  <div class="flex justify-end gap-4 md:col-span-2 pt-4">
2068
2066
  <button
2069
2067
  fButton
2068
+ type="button"
2070
2069
  severity="secondary"
2071
2070
  [outlined]="true"
2072
- (click)="onCancel()"
2071
+ (click)="navigateToList()"
2073
2072
  >
2074
2073
  <span pButtonLabel>{{ 'shared.cancel' | translate }}</span>
2075
2074
  </button>
@@ -2158,9 +2157,6 @@ class BranchListComponent {
2158
2157
  pagination: { currentPage: page, pageSize },
2159
2158
  });
2160
2159
  }
2161
- onCompanyChange() {
2162
- this.loadBranches();
2163
- }
2164
2160
  onLazyLoad(event) {
2165
2161
  const companyId = this.selectedCompanyId();
2166
2162
  if (!companyId)
@@ -2224,7 +2220,7 @@ class BranchListComponent {
2224
2220
  [options]="companies()"
2225
2221
  [ngModel]="selectedCompanyId()"
2226
2222
  (ngModelChange)="
2227
- selectedCompanyId.set($event); onCompanyChange()
2223
+ selectedCompanyId.set($event); loadBranches()
2228
2224
  "
2229
2225
  optionLabel="name"
2230
2226
  optionValue="id"
@@ -2353,7 +2349,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
2353
2349
  [options]="companies()"
2354
2350
  [ngModel]="selectedCompanyId()"
2355
2351
  (ngModelChange)="
2356
- selectedCompanyId.set($event); onCompanyChange()
2352
+ selectedCompanyId.set($event); loadBranches()
2357
2353
  "
2358
2354
  optionLabel="name"
2359
2355
  optionValue="id"
@@ -7712,6 +7708,7 @@ class UserFormComponent {
7712
7708
  <div class="flex justify-end gap-4 md:col-span-2 pt-4">
7713
7709
  <button
7714
7710
  fButton
7711
+ type="button"
7715
7712
  severity="secondary"
7716
7713
  [outlined]="true"
7717
7714
  (click)="onCancel()"
@@ -8013,6 +8010,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
8013
8010
  <div class="flex justify-end gap-4 md:col-span-2 pt-4">
8014
8011
  <button
8015
8012
  fButton
8013
+ type="button"
8016
8014
  severity="secondary"
8017
8015
  [outlined]="true"
8018
8016
  (click)="onCancel()"