@po-ui/ng-templates 21.6.0 → 21.8.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@po-ui/ng-templates",
3
- "version": "21.6.0",
3
+ "version": "21.8.0",
4
4
  "description": "PO UI - Templates",
5
5
  "author": "PO UI",
6
6
  "license": "MIT",
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "schematics": "./schematics/collection.json",
13
13
  "dependencies": {
14
- "@po-ui/ng-components": "21.6.0",
15
- "@po-ui/ng-schematics": "21.6.0",
14
+ "@po-ui/ng-components": "21.8.0",
15
+ "@po-ui/ng-schematics": "21.8.0",
16
16
  "tslib": "^2.6.2"
17
17
  },
18
18
  "peerDependencies": {
@@ -24,7 +24,7 @@
24
24
  "@angular/platform-browser": "^21",
25
25
  "@angular/platform-browser-dynamic": "^21",
26
26
  "@angular/router": "^21",
27
- "@po-ui/ng-components": "21.6.0",
27
+ "@po-ui/ng-components": "21.8.0",
28
28
  "rxjs": "~7.8.1",
29
29
  "zone.js": "~0.15.0"
30
30
  },
Binary file
@@ -23,7 +23,7 @@ function default_1(options) {
23
23
  }
24
24
  function addPoPackageAndInstall() {
25
25
  return (tree, context) => {
26
- (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-templates', '21.6.0');
26
+ (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-templates', '21.8.0');
27
27
  // install packages
28
28
  context.addTask(new tasks_1.NodePackageInstallTask());
29
29
  };
@@ -778,8 +778,8 @@ declare const poPageBlockedUserButtonLiterals: object;
778
778
  * </example>
779
779
  */
780
780
  declare class PoPageBlockedUserComponent extends PoPageBlockedUserBaseComponent implements OnInit {
781
- private activatedRoute;
782
- private router;
781
+ private readonly activatedRoute;
782
+ private readonly router;
783
783
  literals: any;
784
784
  constructor();
785
785
  ngOnInit(): void;
@@ -791,7 +791,7 @@ declare class PoPageBlockedUserComponent extends PoPageBlockedUserBaseComponent
791
791
  }
792
792
 
793
793
  declare class PoPageBlockedUserContactsComponent {
794
- private changeDetector;
794
+ private readonly changeDetector;
795
795
  contactGroup: ElementRef;
796
796
  mailItem: ElementRef;
797
797
  phoneItem: ElementRef;
@@ -808,7 +808,7 @@ declare class PoPageBlockedUserContactsComponent {
808
808
  }
809
809
 
810
810
  declare class PoPageBlockedUserReasonComponent implements OnChanges, OnInit {
811
- private changeDetector;
811
+ private readonly changeDetector;
812
812
  params: PoPageBlockedUserReasonParams;
813
813
  reason: PoPageBlockedUserReason;
814
814
  literalParams: any;
@@ -818,7 +818,7 @@ declare class PoPageBlockedUserReasonComponent implements OnChanges, OnInit {
818
818
  secondPhrase: string;
819
819
  thirdPhrase: string;
820
820
  };
821
- private language;
821
+ private readonly language;
822
822
  constructor();
823
823
  ngOnChanges(changes: SimpleChanges): void;
824
824
  ngOnInit(): void;
@@ -1180,11 +1180,11 @@ declare abstract class PoPageChangePasswordBaseComponent {
1180
1180
  * </example>
1181
1181
  */
1182
1182
  declare class PoPageChangePasswordComponent extends PoPageChangePasswordBaseComponent implements AfterViewInit, OnDestroy, OnInit {
1183
- private activatedRoute;
1184
- private route;
1185
- private router;
1186
- private service;
1187
- private poComponentInjector;
1183
+ private readonly activatedRoute;
1184
+ private readonly route;
1185
+ private readonly router;
1186
+ private readonly service;
1187
+ private readonly poComponentInjector;
1188
1188
  modal: PoModalComponent;
1189
1189
  pageChangePassword: ViewContainerRef;
1190
1190
  passwordForm: NgForm;
@@ -1208,7 +1208,7 @@ declare class PoPageChangePasswordComponent extends PoPageChangePasswordBaseComp
1208
1208
  saveButton: string;
1209
1209
  };
1210
1210
  modalAction: PoModalAction;
1211
- private newPasswordSubscription;
1211
+ private readonly newPasswordSubscription;
1212
1212
  private componentRef;
1213
1213
  constructor();
1214
1214
  ngAfterViewInit(): void;
@@ -1573,13 +1573,13 @@ declare const poPageDynamicDetailLiteralsDefault: {
1573
1573
  * </example>
1574
1574
  */
1575
1575
  declare class PoPageDynamicDetailComponent implements OnInit, OnDestroy {
1576
- private router;
1577
- private activatedRoute;
1578
- private poNotification;
1579
- private poDialogService;
1580
- private poPageDynamicService;
1581
- private poPageDynamicDetailActionsService;
1582
- private poPageCustomizationService;
1576
+ private readonly router;
1577
+ private readonly activatedRoute;
1578
+ private readonly poNotification;
1579
+ private readonly poDialogService;
1580
+ private readonly poPageDynamicService;
1581
+ private readonly poPageDynamicDetailActionsService;
1582
+ private readonly poPageCustomizationService;
1583
1583
  /** Objeto com propriedades do breadcrumb. */
1584
1584
  breadcrumb?: PoBreadcrumb;
1585
1585
  /**
@@ -1651,7 +1651,7 @@ declare class PoPageDynamicDetailComponent implements OnInit, OnDestroy {
1651
1651
  serviceApi: string;
1652
1652
  literals: any;
1653
1653
  model: any;
1654
- private subscriptions;
1654
+ private readonly subscriptions;
1655
1655
  private _actions;
1656
1656
  private _autoRouter;
1657
1657
  private _componentsSize?;
@@ -2214,13 +2214,13 @@ declare const poPageDynamicEditLiteralsDefault: {
2214
2214
  * </example>
2215
2215
  */
2216
2216
  declare class PoPageDynamicEditComponent implements OnInit, OnDestroy {
2217
- private router;
2218
- private activatedRoute;
2219
- private poNotification;
2220
- private poDialogService;
2221
- private poPageDynamicService;
2222
- private poPageCustomizationService;
2223
- private poPageDynamicEditActionsService;
2217
+ private readonly router;
2218
+ private readonly activatedRoute;
2219
+ private readonly poNotification;
2220
+ private readonly poDialogService;
2221
+ private readonly poPageDynamicService;
2222
+ private readonly poPageCustomizationService;
2223
+ private readonly poPageDynamicEditActionsService;
2224
2224
  dynamicForm: PoDynamicFormComponent;
2225
2225
  gridDetail: PoGridComponent;
2226
2226
  /** Objeto com propriedades do breadcrumb. */
@@ -2357,8 +2357,8 @@ declare class PoPageDynamicEditComponent implements OnInit, OnDestroy {
2357
2357
  model: any;
2358
2358
  readonly detailActions: PoGridRowActions;
2359
2359
  private indexFocus;
2360
- private language;
2361
- private subscriptions;
2360
+ private readonly language;
2361
+ private readonly subscriptions;
2362
2362
  private _actions;
2363
2363
  private _componentsSize?;
2364
2364
  private _initialComponentsSize?;
@@ -2662,7 +2662,7 @@ declare class PoAdvancedFilterBaseComponent {
2662
2662
  */
2663
2663
  declare class PoAdvancedFilterComponent extends PoAdvancedFilterBaseComponent implements OnDestroy, OnInit {
2664
2664
  poDynamicForm: PoDynamicFormComponent;
2665
- private subscription;
2665
+ private readonly subscription;
2666
2666
  constructor();
2667
2667
  ngOnInit(): void;
2668
2668
  ngOnDestroy(): void;
@@ -2929,7 +2929,7 @@ declare abstract class PoPageDynamicSearchBaseComponent {
2929
2929
  private _hideCloseDisclaimers;
2930
2930
  private _literals;
2931
2931
  private _quickSearchWidth;
2932
- private language;
2932
+ private readonly language;
2933
2933
  previousFilters: Array<PoDynamicFormField>;
2934
2934
  /**
2935
2935
  * @optional
@@ -3052,9 +3052,9 @@ declare abstract class PoPageDynamicSearchBaseComponent {
3052
3052
  * </example>
3053
3053
  */
3054
3054
  declare class PoPageDynamicSearchComponent extends PoPageDynamicSearchBaseComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {
3055
- private languageService;
3056
- private poPageCustomizationService;
3057
- private changeDetector;
3055
+ private readonly languageService;
3056
+ private readonly poPageCustomizationService;
3057
+ private readonly changeDetector;
3058
3058
  poAdvancedFilter: PoAdvancedFilterComponent;
3059
3059
  poPageList: PoPageListComponent;
3060
3060
  private loadSubscription;
@@ -4096,13 +4096,13 @@ declare class PoPageDynamicListBaseComponent {
4096
4096
  * </example>
4097
4097
  */
4098
4098
  declare class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent implements OnInit, OnDestroy {
4099
- private router;
4100
- private activatedRoute;
4101
- private poDialogService;
4102
- private poNotification;
4103
- private poPageDynamicService;
4104
- private poPageCustomizationService;
4105
- private poPageDynamicTableActionsService;
4099
+ private readonly router;
4100
+ private readonly activatedRoute;
4101
+ private readonly poDialogService;
4102
+ private readonly poNotification;
4103
+ private readonly poPageDynamicService;
4104
+ private readonly poPageCustomizationService;
4105
+ private readonly poPageDynamicTableActionsService;
4106
4106
  /**
4107
4107
  * Função ou serviço que será executado na inicialização do componente.
4108
4108
  *
@@ -4230,7 +4230,7 @@ declare class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent
4230
4230
  private itemSelectedAction;
4231
4231
  private params;
4232
4232
  private sortedColumn;
4233
- private subscriptions;
4233
+ private readonly subscriptions;
4234
4234
  private hasCustomActionWithSelectable;
4235
4235
  private _componentsSize?;
4236
4236
  private _initialComponentsSize?;
@@ -4672,7 +4672,7 @@ interface PoJobScheduler {
4672
4672
  }
4673
4673
 
4674
4674
  declare class PoPageJobSchedulerService {
4675
- private http;
4675
+ private readonly http;
4676
4676
  readonly headers: HttpHeaders;
4677
4677
  private endpoint;
4678
4678
  configServiceApi(config?: {
@@ -4954,7 +4954,7 @@ declare class PoPageJobSchedulerBaseComponent implements OnDestroy {
4954
4954
  */
4955
4955
  error: EventEmitter<any>;
4956
4956
  model: PoJobSchedulerInternal;
4957
- private _subscription;
4957
+ private readonly _subscription;
4958
4958
  private _orientation;
4959
4959
  constructor(poPageJobSchedulerService: PoPageJobSchedulerService);
4960
4960
  ngOnDestroy(): void;
@@ -4969,7 +4969,7 @@ declare class PoPageJobSchedulerBaseComponent implements OnDestroy {
4969
4969
  }
4970
4970
 
4971
4971
  declare class PoPageJobSchedulerLookupService implements PoLookupFilter {
4972
- private poPageJobSchedulerService;
4972
+ private readonly poPageJobSchedulerService;
4973
4973
  getFilteredItems({ filter, page, pageSize }: {
4974
4974
  filter: any;
4975
4975
  page: any;
@@ -5103,9 +5103,9 @@ declare class PoJobSchedulerSummaryTemplateDirective {
5103
5103
  */
5104
5104
  declare class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent implements OnInit, AfterContentInit {
5105
5105
  poPageDynamicLookupService: PoPageJobSchedulerLookupService;
5106
- private activatedRoute;
5107
- private poDialogService;
5108
- private poNotification;
5106
+ private readonly activatedRoute;
5107
+ private readonly poDialogService;
5108
+ private readonly poNotification;
5109
5109
  schedulerExecution: {
5110
5110
  form: NgForm;
5111
5111
  };
@@ -5169,11 +5169,11 @@ declare class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponen
5169
5169
  parametersEmpty: boolean;
5170
5170
  stepParametersInitialized: boolean;
5171
5171
  protected steps: Array<PoStepperItem>;
5172
- private backPageAction;
5173
- private concludePageAction;
5174
- private nextPageAction;
5175
- private concludePageActions;
5176
- private nextPageActions;
5172
+ private readonly backPageAction;
5173
+ private readonly concludePageAction;
5174
+ private readonly nextPageAction;
5175
+ private readonly concludePageActions;
5176
+ private readonly nextPageActions;
5177
5177
  jobSchedulerActions: Array<PoPageAction>;
5178
5178
  protected stepExecution: number;
5179
5179
  protected stepParameters: number;
@@ -5213,7 +5213,7 @@ declare class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponen
5213
5213
  }
5214
5214
 
5215
5215
  declare class PoPageJobSchedulerExecutionComponent implements OnInit, AfterViewInit {
5216
- private poPageJobSchedulerService;
5216
+ private readonly poPageJobSchedulerService;
5217
5217
  poPageJobSchedulerLookup: PoPageJobSchedulerLookupService;
5218
5218
  form: NgForm;
5219
5219
  dailyTemplate: any;
@@ -5273,7 +5273,7 @@ declare class PoPageJobSchedulerParametersComponent implements AfterViewInit {
5273
5273
  }
5274
5274
 
5275
5275
  declare class PoPageJobSchedulerSummaryComponent implements OnInit {
5276
- private datePipe;
5276
+ private readonly datePipe;
5277
5277
  componentsSize: string;
5278
5278
  literals: any;
5279
5279
  parameters: Array<PoDynamicViewField>;
@@ -5504,7 +5504,7 @@ interface PoPageLogin {
5504
5504
  }
5505
5505
 
5506
5506
  declare class PoPageLoginService {
5507
- private http;
5507
+ private readonly http;
5508
5508
  constructor(http: HttpClient);
5509
5509
  onLogin(url: string, type: PoPageLoginAuthenticationType, loginForm: PoPageLogin): Observable<object>;
5510
5510
  static ɵfac: i0.ɵɵFactoryDeclaration<PoPageLoginService, never>;
@@ -5541,7 +5541,7 @@ declare class PoPageLoginService {
5541
5541
  * ```
5542
5542
  */
5543
5543
  declare abstract class PoPageLoginBaseComponent implements OnDestroy {
5544
- private loginService;
5544
+ private readonly loginService;
5545
5545
  router: Router;
5546
5546
  poLanguageService: PoLanguageService;
5547
5547
  /**
@@ -6244,13 +6244,13 @@ declare abstract class PoPageLoginBaseComponent implements OnDestroy {
6244
6244
  */
6245
6245
  declare class PoPageLoginComponent extends PoPageLoginBaseComponent implements AfterViewChecked, OnInit {
6246
6246
  changeDetector: ChangeDetectorRef;
6247
- private activatedRoute;
6248
- private poComponentInjector;
6247
+ private readonly activatedRoute;
6248
+ private readonly poComponentInjector;
6249
6249
  loginForm: NgForm;
6250
6250
  pageLogin: ViewContainerRef;
6251
6251
  initialSelectLanguage: string;
6252
6252
  private componentRef;
6253
- private differ;
6253
+ private readonly differ;
6254
6254
  private readonly customPasswordError;
6255
6255
  constructor();
6256
6256
  ngAfterViewChecked(): void;
@@ -6603,7 +6603,7 @@ interface PoPageDynamicOptionsProp<T> {
6603
6603
 
6604
6604
  type urlOrFunction = string | Function;
6605
6605
  declare class PoPageCustomizationService {
6606
- private http;
6606
+ private readonly http;
6607
6607
  getCustomOptions<T>(origin: urlOrFunction, originalOption: T, optionSchema: PoPageDynamicOptionsSchema<T>): Observable<T>;
6608
6608
  changeOriginalOptionsToNewOptions<T extends object, K>(objectToChange: T, newOptions: K): void;
6609
6609
  private createObservable;
@@ -6624,11 +6624,11 @@ declare const poPageDynamicLiterals: {
6624
6624
  [key: string]: PoPageDynamicLiterals;
6625
6625
  };
6626
6626
  declare class PoPageDynamicService {
6627
- private http;
6628
- private notification;
6627
+ private readonly http;
6628
+ private readonly notification;
6629
6629
  readonly headers: HttpHeaders;
6630
6630
  private endpoint;
6631
- private language;
6631
+ private readonly language;
6632
6632
  private metadata;
6633
6633
  constructor();
6634
6634
  configServiceApi(config?: {
Binary file