@po-ui/ng-components 16.7.0 → 16.9.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.
Files changed (52) hide show
  1. package/esm2022/lib/components/po-listbox/po-listbox.component.mjs +58 -73
  2. package/esm2022/lib/components/po-loading/po-loading-base.component.mjs +24 -2
  3. package/esm2022/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.mjs +21 -2
  4. package/esm2022/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.mjs +4 -4
  5. package/esm2022/lib/components/po-loading/po-loading.component.mjs +15 -12
  6. package/esm2022/lib/components/po-progress/enums/po-progress-size.enum.mjs +13 -0
  7. package/esm2022/lib/components/po-progress/index.mjs +2 -1
  8. package/esm2022/lib/components/po-progress/literals/po-progress.literals.mjs +19 -0
  9. package/esm2022/lib/components/po-progress/po-progress-bar/po-progress-bar.component.mjs +24 -9
  10. package/esm2022/lib/components/po-progress/po-progress-base.component.mjs +39 -2
  11. package/esm2022/lib/components/po-progress/po-progress.component.mjs +77 -54
  12. package/esm2022/lib/components/po-progress/po-progress.module.mjs +7 -4
  13. package/esm2022/lib/components/po-search/enum/po-search-filter-mode.enum.mjs +17 -0
  14. package/esm2022/lib/components/po-search/index.mjs +3 -2
  15. package/esm2022/lib/components/po-search/literals/po-search-literals-default.mjs +19 -0
  16. package/esm2022/lib/components/po-search/literals/po-search-literals.mjs +1 -1
  17. package/esm2022/lib/components/po-search/po-search-base.component.mjs +177 -10
  18. package/esm2022/lib/components/po-search/po-search.component.mjs +52 -48
  19. package/esm2022/lib/components/po-table/po-table-base.component.mjs +8 -3
  20. package/esm2022/lib/components/po-table/po-table.component.mjs +200 -182
  21. package/esm2022/lib/components/po-table/po-table.module.mjs +3 -3
  22. package/fesm2022/po-ui-ng-components.mjs +885 -544
  23. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  24. package/lib/components/po-loading/po-loading-base.component.d.ts +15 -1
  25. package/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.d.ts +13 -1
  26. package/lib/components/po-progress/enums/po-progress-size.enum.d.ts +11 -0
  27. package/lib/components/po-progress/index.d.ts +1 -0
  28. package/lib/components/po-progress/literals/po-progress.literals.d.ts +18 -0
  29. package/lib/components/po-progress/po-progress-base.component.d.ts +30 -3
  30. package/lib/components/po-progress/po-progress.component.d.ts +5 -1
  31. package/lib/components/po-progress/po-progress.module.d.ts +4 -1
  32. package/lib/components/po-search/{po-search-filter-mode.enum.d.ts → enum/po-search-filter-mode.enum.d.ts} +2 -2
  33. package/lib/components/po-search/index.d.ts +2 -1
  34. package/lib/components/po-search/literals/po-search-literals-default.d.ts +7 -0
  35. package/lib/components/po-search/literals/po-search-literals.d.ts +11 -1
  36. package/lib/components/po-search/po-search-base.component.d.ts +140 -5
  37. package/lib/components/po-search/po-search.component.d.ts +23 -8
  38. package/lib/components/po-table/po-table-base.component.d.ts +5 -2
  39. package/lib/components/po-table/po-table.component.d.ts +4 -1
  40. package/package.json +4 -4
  41. package/po-ui-ng-components-16.9.0.tgz +0 -0
  42. package/schematics/ng-add/index.js +1 -1
  43. package/schematics/ng-update/v14/index.js +1 -1
  44. package/schematics/ng-update/v15/index.js +1 -1
  45. package/schematics/ng-update/v16/index.js +1 -1
  46. package/schematics/ng-update/v2/index.js +1 -1
  47. package/schematics/ng-update/v3/index.js +1 -1
  48. package/schematics/ng-update/v4/index.js +1 -1
  49. package/schematics/ng-update/v5/index.js +1 -1
  50. package/schematics/ng-update/v6/index.js +1 -1
  51. package/esm2022/lib/components/po-search/po-search-filter-mode.enum.mjs +0 -17
  52. package/po-ui-ng-components-16.7.0.tgz +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Input, Component, ChangeDetectionStrategy, NgModule, TemplateRef, Injectable, EventEmitter, Output, ElementRef, HostListener, ViewChild, ViewChildren, ContentChildren, HostBinding, forwardRef, ViewContainerRef, ContentChild, Pipe, inject, Injector, Inject, InjectionToken, APP_INITIALIZER } from '@angular/core';
2
+ import { Directive, Input, Component, ChangeDetectionStrategy, NgModule, TemplateRef, Injectable, EventEmitter, Output, ElementRef, HostListener, ViewChild, ViewChildren, ContentChildren, HostBinding, forwardRef, ViewContainerRef, ContentChild, inject, Pipe, Injector, Inject, InjectionToken, APP_INITIALIZER } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule, DecimalPipe, NgOptimizedImage, CurrencyPipe, DatePipe, TitleCasePipe } from '@angular/common';
5
5
  import * as i2$3 from '@angular/animations';
@@ -7,7 +7,7 @@ import { trigger, transition, style, animate, group, query, animateChild, state,
7
7
  import { Subject, filter, fromEvent, debounceTime, from, timer, of, Subscription, ReplaySubject, throwError, map as map$1, catchError as catchError$1, Observable } from 'rxjs';
8
8
  import * as i2 from '@angular/router';
9
9
  import { RouterModule, NavigationEnd, NavigationCancel } from '@angular/router';
10
- import * as i6 from '@angular/cdk/listbox';
10
+ import * as i5 from '@angular/cdk/listbox';
11
11
  import { CdkListboxModule } from '@angular/cdk/listbox';
12
12
  import * as i1$1 from '@angular/platform-browser';
13
13
  import * as i2$1 from '@angular/forms';
@@ -15,7 +15,7 @@ import { NG_VALUE_ACCESSOR, FormsModule, NG_VALIDATORS, NgControl, ControlContai
15
15
  import * as i1$2 from '@angular/common/http';
16
16
  import { HttpHeaders, HttpEventType, HttpResponse, HttpRequest, HTTP_INTERCEPTORS, HttpClient } from '@angular/common/http';
17
17
  import { debounceTime as debounceTime$1, concatMap, mapTo, scan, tap, switchMap, take, delay, takeWhile, map, filter as filter$1, distinctUntilChanged, catchError, finalize } from 'rxjs/operators';
18
- import * as i5 from '@angular/cdk/overlay';
18
+ import * as i5$1 from '@angular/cdk/overlay';
19
19
  import { OverlayModule } from '@angular/cdk/overlay';
20
20
  import * as i2$2 from '@angular/cdk/scrolling';
21
21
  import { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';
@@ -4133,7 +4133,7 @@ class PoListBoxBaseComponent {
4133
4133
  args: ['p-combo-service']
4134
4134
  }] }); })();
4135
4135
 
4136
- const poLoadingLiteralsDefault = {
4136
+ const poLoadingOverlayLiteralsDefault = {
4137
4137
  en: {
4138
4138
  loading: 'Loading'
4139
4139
  },
@@ -4148,43 +4148,152 @@ const poLoadingLiteralsDefault = {
4148
4148
  }
4149
4149
  };
4150
4150
  /**
4151
- * @docsPrivate
4152
4151
  *
4153
4152
  * @description
4154
4153
  *
4155
- * Este componente tem o objetivo de mostrar visualmente aos usuários que a aplicação está processando
4156
- * ou aguardando a resposta de alguma requisição.
4154
+ * Este componente mostra ao usuário uma imagem de _loading_ e bloqueia a página inteira ou o container escolhido,
4155
+ * enquanto aguarda a resposta de alguma requisição.
4157
4156
  */
4158
- class PoLoadingBaseComponent {
4157
+ class PoLoadingOverlayBaseComponent {
4159
4158
  languageService;
4159
+ _screenLock = false;
4160
4160
  _text;
4161
+ _size;
4162
+ /**
4163
+ * @optional
4164
+ *
4165
+ * @description
4166
+ *
4167
+ * Define se o *overlay* será aplicado a um *container* ou a página inteira.
4168
+ *
4169
+ * Para utilizar o componente como um *container*, o elemento pai deverá receber uma posição relativa, por exemplo:
4170
+ *
4171
+ * ```
4172
+ * <div style="position: relative">
4173
+ *
4174
+ * <po-chart [p-series]="[{ value: 10, category: 'Example' }]">
4175
+ * </po-chart>
4176
+ *
4177
+ * <po-loading-overlay>
4178
+ * </po-loading-overlay>
4179
+ * </div>
4180
+ * ```
4181
+ *
4182
+ * @default `false`
4183
+ */
4184
+ set screenLock(screenLock) {
4185
+ this._screenLock = convertToBoolean(screenLock);
4186
+ }
4187
+ get screenLock() {
4188
+ return this._screenLock;
4189
+ }
4161
4190
  /**
4191
+ * @optional
4192
+ *
4193
+ * @description
4194
+ *
4162
4195
  * Texto a ser exibido no componente.
4196
+ *
4197
+ * > O valor padrão será traduzido acordo com o idioma configurado no [**PoI18n**](/documentation/po-i18n) ou navegador.
4198
+ *
4199
+ * @default `Carregando`
4163
4200
  */
4164
4201
  set text(value) {
4165
- this._text = value || (value === '' ? '' : this.getTextDefault());
4202
+ this._text = value || this.getTextDefault();
4166
4203
  }
4167
4204
  get text() {
4168
4205
  return this._text;
4169
4206
  }
4207
+ /**
4208
+ * @optional
4209
+ *
4210
+ * @description
4211
+ *
4212
+ * Define o tamnho do componente.
4213
+ *
4214
+ * @default `lg`
4215
+ */
4216
+ set size(value) {
4217
+ this._size = value === '' || !value ? 'lg' : value;
4218
+ }
4219
+ get size() {
4220
+ return this._size;
4221
+ }
4170
4222
  constructor(languageService) {
4171
4223
  this.languageService = languageService;
4172
4224
  this.text = this.getTextDefault();
4173
4225
  }
4174
4226
  getTextDefault() {
4175
4227
  const language = this.languageService.getShortLanguage();
4176
- return poLoadingLiteralsDefault[language].loading;
4228
+ return poLoadingOverlayLiteralsDefault[language].loading;
4177
4229
  }
4178
- static ɵfac = function PoLoadingBaseComponent_Factory(t) { return new (t || PoLoadingBaseComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
4179
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoLoadingBaseComponent, inputs: { text: ["p-text", "text"] } });
4230
+ static ɵfac = function PoLoadingOverlayBaseComponent_Factory(t) { return new (t || PoLoadingOverlayBaseComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
4231
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoLoadingOverlayBaseComponent, inputs: { screenLock: ["p-screen-lock", "screenLock"], text: ["p-text", "text"], size: ["p-size", "size"] } });
4180
4232
  }
4181
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingBaseComponent, [{
4233
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingOverlayBaseComponent, [{
4182
4234
  type: Directive
4183
- }], function () { return [{ type: PoLanguageService }]; }, { text: [{
4235
+ }], function () { return [{ type: PoLanguageService }]; }, { screenLock: [{
4236
+ type: Input,
4237
+ args: ['p-screen-lock']
4238
+ }], text: [{
4184
4239
  type: Input,
4185
4240
  args: ['p-text']
4241
+ }], size: [{
4242
+ type: Input,
4243
+ args: ['p-size']
4186
4244
  }] }); })();
4187
4245
 
4246
+ class PoOverlayBaseComponent {
4247
+ /**
4248
+ * @optional
4249
+ *
4250
+ * @description
4251
+ *
4252
+ * Define se o *overlay* será aplicado a um *container* ou a página inteira.
4253
+ *
4254
+ * Para utilizar o componente como um *container*, o elemento pai deverá receber uma posição relativa, por exemplo:
4255
+ *
4256
+ * ```
4257
+ * <div style="position: relative">
4258
+ *
4259
+ * <po-chart [p-series]="[{ value: 10, category: 'Example' }]">
4260
+ * </po-chart>
4261
+ *
4262
+ * <po-overlay>
4263
+ * </po-overlay>
4264
+ * </div>
4265
+ * ```
4266
+ *
4267
+ * @default `false`
4268
+ */
4269
+ screenLock = false;
4270
+ static ɵfac = function PoOverlayBaseComponent_Factory(t) { return new (t || PoOverlayBaseComponent)(); };
4271
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoOverlayBaseComponent, inputs: { screenLock: ["p-screen-lock", "screenLock", convertToBoolean] }, features: [i0.ɵɵInputTransformsFeature] });
4272
+ }
4273
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoOverlayBaseComponent, [{
4274
+ type: Directive
4275
+ }], null, { screenLock: [{
4276
+ type: Input,
4277
+ args: [{ alias: 'p-screen-lock', transform: convertToBoolean }]
4278
+ }] }); })();
4279
+
4280
+ const _c0$1B = ["*"];
4281
+ class PoOverlayComponent extends PoOverlayBaseComponent {
4282
+ static ɵfac = /*@__PURE__*/ function () { let ɵPoOverlayComponent_BaseFactory; return function PoOverlayComponent_Factory(t) { return (ɵPoOverlayComponent_BaseFactory || (ɵPoOverlayComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoOverlayComponent)))(t || PoOverlayComponent); }; }();
4283
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoOverlayComponent, selectors: [["po-overlay"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1B, decls: 3, vars: 2, consts: [["role", "alert", "aria-busy", "true", 1, "po-overlay"], [1, "po-overlay-content"]], template: function PoOverlayComponent_Template(rf, ctx) { if (rf & 1) {
4284
+ i0.ɵɵprojectionDef();
4285
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
4286
+ i0.ɵɵprojection(2);
4287
+ i0.ɵɵelementEnd()();
4288
+ } if (rf & 2) {
4289
+ i0.ɵɵclassProp("po-overlay-fixed", ctx.screenLock);
4290
+ } }, encapsulation: 2 });
4291
+ }
4292
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoOverlayComponent, [{
4293
+ type: Component,
4294
+ args: [{ selector: 'po-overlay', template: "<div class=\"po-overlay\" [class.po-overlay-fixed]=\"screenLock\" role=\"alert\" aria-busy=\"true\">\n <div class=\"po-overlay-content\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
4295
+ }], null, null); })();
4296
+
4188
4297
  var PoLoadingIconSize;
4189
4298
  (function (PoLoadingIconSize) {
4190
4299
  /** Extra small */
@@ -4197,6 +4306,79 @@ var PoLoadingIconSize;
4197
4306
  PoLoadingIconSize["lg"] = "lg";
4198
4307
  })(PoLoadingIconSize || (PoLoadingIconSize = {}));
4199
4308
 
4309
+ const poLoadingLiteralsDefault = {
4310
+ en: {
4311
+ loading: 'Loading'
4312
+ },
4313
+ es: {
4314
+ loading: 'Cargando'
4315
+ },
4316
+ pt: {
4317
+ loading: 'Carregando'
4318
+ },
4319
+ ru: {
4320
+ loading: 'Загрузка'
4321
+ }
4322
+ };
4323
+ /**
4324
+ * @docsPrivate
4325
+ *
4326
+ * @description
4327
+ *
4328
+ * Este componente tem o objetivo de mostrar visualmente aos usuários que a aplicação está processando
4329
+ * ou aguardando a resposta de alguma requisição.
4330
+ */
4331
+ class PoLoadingBaseComponent {
4332
+ languageService;
4333
+ _text;
4334
+ _size;
4335
+ /**
4336
+ * Texto a ser exibido no componente.
4337
+ */
4338
+ set text(value) {
4339
+ this._text = value || (value === '' ? '' : this.getTextDefault());
4340
+ }
4341
+ get text() {
4342
+ return this._text;
4343
+ }
4344
+ /**
4345
+ * Define o tamanho do ícone.
4346
+ *
4347
+ * @default `lg`
4348
+ *
4349
+ * Valores válidos:
4350
+ * - `xs`: tamanho `extra small`
4351
+ * - `sm`: tamanho `small`
4352
+ * - `md`: tamanho `medium`
4353
+ * - `lg`: tamanho `large`
4354
+ */
4355
+ set size(value) {
4356
+ this._size = PoLoadingIconSize[value] ? PoLoadingIconSize[value] : PoLoadingIconSize.lg;
4357
+ }
4358
+ get size() {
4359
+ return this._size;
4360
+ }
4361
+ constructor(languageService) {
4362
+ this.languageService = languageService;
4363
+ this.text = this.getTextDefault();
4364
+ }
4365
+ getTextDefault() {
4366
+ const language = this.languageService.getShortLanguage();
4367
+ return poLoadingLiteralsDefault[language].loading;
4368
+ }
4369
+ static ɵfac = function PoLoadingBaseComponent_Factory(t) { return new (t || PoLoadingBaseComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
4370
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoLoadingBaseComponent, inputs: { text: ["p-text", "text"], size: ["p-size", "size"] } });
4371
+ }
4372
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingBaseComponent, [{
4373
+ type: Directive
4374
+ }], function () { return [{ type: PoLanguageService }]; }, { text: [{
4375
+ type: Input,
4376
+ args: ['p-text']
4377
+ }], size: [{
4378
+ type: Input,
4379
+ args: ['p-size']
4380
+ }] }); })();
4381
+
4200
4382
  /**
4201
4383
  * @docsPrivate
4202
4384
  *
@@ -4285,16 +4467,16 @@ class PoLoadingIconComponent {
4285
4467
  args: ['p-size']
4286
4468
  }] }); })();
4287
4469
 
4288
- function PoLoadingComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
4289
- i0.ɵɵelementStart(0, "span", 3);
4470
+ function PoLoadingComponent_span_2_Template(rf, ctx) { if (rf & 1) {
4471
+ i0.ɵɵelementStart(0, "span", 2);
4290
4472
  i0.ɵɵtext(1);
4291
- i0.ɵɵelementStart(2, "div", 4);
4473
+ i0.ɵɵelementStart(2, "div", 3);
4292
4474
  i0.ɵɵtext(3, ".");
4293
4475
  i0.ɵɵelementEnd();
4294
- i0.ɵɵelementStart(4, "div", 4);
4476
+ i0.ɵɵelementStart(4, "div", 3);
4295
4477
  i0.ɵɵtext(5, ".");
4296
4478
  i0.ɵɵelementEnd();
4297
- i0.ɵɵelementStart(6, "div", 4);
4479
+ i0.ɵɵelementStart(6, "div", 3);
4298
4480
  i0.ɵɵtext(7, ".");
4299
4481
  i0.ɵɵelementEnd()();
4300
4482
  } if (rf & 2) {
@@ -4309,161 +4491,22 @@ function PoLoadingComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
4309
4491
  */
4310
4492
  class PoLoadingComponent extends PoLoadingBaseComponent {
4311
4493
  static ɵfac = /*@__PURE__*/ function () { let ɵPoLoadingComponent_BaseFactory; return function PoLoadingComponent_Factory(t) { return (ɵPoLoadingComponent_BaseFactory || (ɵPoLoadingComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoLoadingComponent)))(t || PoLoadingComponent); }; }();
4312
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLoadingComponent, selectors: [["po-loading"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 1, consts: [[1, "po-loading"], ["p-size", "lg"], [3, "ngIf"], [1, "po-loading-label", "po-text-ellipsis"], ["aria-hidden", "true", 1, "po-loading-dot"]], template: function PoLoadingComponent_Template(rf, ctx) { if (rf & 1) {
4313
- i0.ɵɵelementStart(0, "div", 0);
4314
- i0.ɵɵelement(1, "po-loading-icon", 1);
4315
- i0.ɵɵtemplate(2, PoLoadingComponent_ng_template_2_Template, 8, 1, "ng-template", 2);
4494
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLoadingComponent, selectors: [["po-loading"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 5, consts: [[3, "p-size"], ["class", "po-loading-label po-text-ellipsis", 4, "ngIf"], [1, "po-loading-label", "po-text-ellipsis"], ["aria-hidden", "true", 1, "po-loading-dot"]], template: function PoLoadingComponent_Template(rf, ctx) { if (rf & 1) {
4495
+ i0.ɵɵelementStart(0, "div");
4496
+ i0.ɵɵelement(1, "po-loading-icon", 0);
4497
+ i0.ɵɵtemplate(2, PoLoadingComponent_span_2_Template, 8, 1, "span", 1);
4316
4498
  i0.ɵɵelementEnd();
4317
4499
  } if (rf & 2) {
4318
- i0.ɵɵadvance(2);
4500
+ i0.ɵɵclassMapInterpolate1("po-loading po-loading-", ctx.size, "");
4501
+ i0.ɵɵadvance(1);
4502
+ i0.ɵɵproperty("p-size", ctx.size);
4503
+ i0.ɵɵadvance(1);
4319
4504
  i0.ɵɵproperty("ngIf", ctx.text);
4320
4505
  } }, dependencies: [i1.NgIf, PoLoadingIconComponent], encapsulation: 2 });
4321
4506
  }
4322
4507
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingComponent, [{
4323
4508
  type: Component,
4324
- args: [{ selector: 'po-loading', template: "<div class=\"po-loading\">\n <po-loading-icon p-size=\"lg\"></po-loading-icon>\n <ng-template [ngIf]=\"text\">\n <span class=\"po-loading-label po-text-ellipsis\"\n >{{ text }}\n <div class=\"po-loading-dot\" aria-hidden=\"true\">.</div>\n <div class=\"po-loading-dot\" aria-hidden=\"true\">.</div>\n <div class=\"po-loading-dot\" aria-hidden=\"true\">.</div>\n </span>\n </ng-template>\n</div>\n" }]
4325
- }], null, null); })();
4326
-
4327
- const poLoadingOverlayLiteralsDefault = {
4328
- en: {
4329
- loading: 'Loading'
4330
- },
4331
- es: {
4332
- loading: 'Cargando'
4333
- },
4334
- pt: {
4335
- loading: 'Carregando'
4336
- },
4337
- ru: {
4338
- loading: 'Загрузка'
4339
- }
4340
- };
4341
- /**
4342
- *
4343
- * @description
4344
- *
4345
- * Este componente mostra ao usuário uma imagem de _loading_ e bloqueia a página inteira ou o container escolhido,
4346
- * enquanto aguarda a resposta de alguma requisição.
4347
- */
4348
- class PoLoadingOverlayBaseComponent {
4349
- languageService;
4350
- _screenLock = false;
4351
- _text;
4352
- /**
4353
- * @optional
4354
- *
4355
- * @description
4356
- *
4357
- * Define se o *overlay* será aplicado a um *container* ou a página inteira.
4358
- *
4359
- * Para utilizar o componente como um *container*, o elemento pai deverá receber uma posição relativa, por exemplo:
4360
- *
4361
- * ```
4362
- * <div style="position: relative">
4363
- *
4364
- * <po-chart [p-series]="[{ value: 10, category: 'Example' }]">
4365
- * </po-chart>
4366
- *
4367
- * <po-loading-overlay>
4368
- * </po-loading-overlay>
4369
- * </div>
4370
- * ```
4371
- *
4372
- * @default `false`
4373
- */
4374
- set screenLock(screenLock) {
4375
- this._screenLock = convertToBoolean(screenLock);
4376
- }
4377
- get screenLock() {
4378
- return this._screenLock;
4379
- }
4380
- /**
4381
- * @optional
4382
- *
4383
- * @description
4384
- *
4385
- * Texto a ser exibido no componente.
4386
- *
4387
- * > O valor padrão será traduzido acordo com o idioma configurado no [**PoI18n**](/documentation/po-i18n) ou navegador.
4388
- *
4389
- * @default `Carregando`
4390
- */
4391
- set text(value) {
4392
- this._text = value || this.getTextDefault();
4393
- }
4394
- get text() {
4395
- return this._text;
4396
- }
4397
- constructor(languageService) {
4398
- this.languageService = languageService;
4399
- this.text = this.getTextDefault();
4400
- }
4401
- getTextDefault() {
4402
- const language = this.languageService.getShortLanguage();
4403
- return poLoadingOverlayLiteralsDefault[language].loading;
4404
- }
4405
- static ɵfac = function PoLoadingOverlayBaseComponent_Factory(t) { return new (t || PoLoadingOverlayBaseComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
4406
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoLoadingOverlayBaseComponent, inputs: { screenLock: ["p-screen-lock", "screenLock"], text: ["p-text", "text"] } });
4407
- }
4408
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingOverlayBaseComponent, [{
4409
- type: Directive
4410
- }], function () { return [{ type: PoLanguageService }]; }, { screenLock: [{
4411
- type: Input,
4412
- args: ['p-screen-lock']
4413
- }], text: [{
4414
- type: Input,
4415
- args: ['p-text']
4416
- }] }); })();
4417
-
4418
- class PoOverlayBaseComponent {
4419
- /**
4420
- * @optional
4421
- *
4422
- * @description
4423
- *
4424
- * Define se o *overlay* será aplicado a um *container* ou a página inteira.
4425
- *
4426
- * Para utilizar o componente como um *container*, o elemento pai deverá receber uma posição relativa, por exemplo:
4427
- *
4428
- * ```
4429
- * <div style="position: relative">
4430
- *
4431
- * <po-chart [p-series]="[{ value: 10, category: 'Example' }]">
4432
- * </po-chart>
4433
- *
4434
- * <po-overlay>
4435
- * </po-overlay>
4436
- * </div>
4437
- * ```
4438
- *
4439
- * @default `false`
4440
- */
4441
- screenLock = false;
4442
- static ɵfac = function PoOverlayBaseComponent_Factory(t) { return new (t || PoOverlayBaseComponent)(); };
4443
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoOverlayBaseComponent, inputs: { screenLock: ["p-screen-lock", "screenLock", convertToBoolean] }, features: [i0.ɵɵInputTransformsFeature] });
4444
- }
4445
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoOverlayBaseComponent, [{
4446
- type: Directive
4447
- }], null, { screenLock: [{
4448
- type: Input,
4449
- args: [{ alias: 'p-screen-lock', transform: convertToBoolean }]
4450
- }] }); })();
4451
-
4452
- const _c0$1B = ["*"];
4453
- class PoOverlayComponent extends PoOverlayBaseComponent {
4454
- static ɵfac = /*@__PURE__*/ function () { let ɵPoOverlayComponent_BaseFactory; return function PoOverlayComponent_Factory(t) { return (ɵPoOverlayComponent_BaseFactory || (ɵPoOverlayComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoOverlayComponent)))(t || PoOverlayComponent); }; }();
4455
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoOverlayComponent, selectors: [["po-overlay"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1B, decls: 3, vars: 2, consts: [["role", "alert", "aria-busy", "true", 1, "po-overlay"], [1, "po-overlay-content"]], template: function PoOverlayComponent_Template(rf, ctx) { if (rf & 1) {
4456
- i0.ɵɵprojectionDef();
4457
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
4458
- i0.ɵɵprojection(2);
4459
- i0.ɵɵelementEnd()();
4460
- } if (rf & 2) {
4461
- i0.ɵɵclassProp("po-overlay-fixed", ctx.screenLock);
4462
- } }, encapsulation: 2 });
4463
- }
4464
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoOverlayComponent, [{
4465
- type: Component,
4466
- args: [{ selector: 'po-overlay', template: "<div class=\"po-overlay\" [class.po-overlay-fixed]=\"screenLock\" role=\"alert\" aria-busy=\"true\">\n <div class=\"po-overlay-content\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
4509
+ args: [{ selector: 'po-loading', template: "<div class=\"po-loading po-loading-{{ size }}\">\n <po-loading-icon [p-size]=\"size\"></po-loading-icon>\n\n <span *ngIf=\"text\" class=\"po-loading-label po-text-ellipsis\"\n >{{ text }}\n <div class=\"po-loading-dot\" aria-hidden=\"true\">.</div>\n <div class=\"po-loading-dot\" aria-hidden=\"true\">.</div>\n <div class=\"po-loading-dot\" aria-hidden=\"true\">.</div>\n </span>\n</div>\n" }]
4467
4510
  }], null, null); })();
4468
4511
 
4469
4512
  /**
@@ -4494,19 +4537,19 @@ class PoLoadingOverlayComponent extends PoLoadingOverlayBaseComponent {
4494
4537
  this.changeDetector = changeDetector;
4495
4538
  }
4496
4539
  static ɵfac = function PoLoadingOverlayComponent_Factory(t) { return new (t || PoLoadingOverlayComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoLanguageService)); };
4497
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLoadingOverlayComponent, selectors: [["po-loading-overlay"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[3, "p-screen-lock"], [3, "p-text"]], template: function PoLoadingOverlayComponent_Template(rf, ctx) { if (rf & 1) {
4540
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLoadingOverlayComponent, selectors: [["po-loading-overlay"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [[3, "p-screen-lock"], [3, "p-text", "p-size"]], template: function PoLoadingOverlayComponent_Template(rf, ctx) { if (rf & 1) {
4498
4541
  i0.ɵɵelementStart(0, "po-overlay", 0);
4499
4542
  i0.ɵɵelement(1, "po-loading", 1);
4500
4543
  i0.ɵɵelementEnd();
4501
4544
  } if (rf & 2) {
4502
4545
  i0.ɵɵproperty("p-screen-lock", ctx.screenLock);
4503
4546
  i0.ɵɵadvance(1);
4504
- i0.ɵɵproperty("p-text", ctx.text);
4547
+ i0.ɵɵproperty("p-text", ctx.text)("p-size", ctx.size);
4505
4548
  } }, dependencies: [PoOverlayComponent, PoLoadingComponent], encapsulation: 2 });
4506
4549
  }
4507
4550
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoadingOverlayComponent, [{
4508
4551
  type: Component,
4509
- args: [{ selector: 'po-loading-overlay', template: "<po-overlay [p-screen-lock]=\"screenLock\">\n <po-loading [p-text]=\"text\"></po-loading>\n</po-overlay>\n" }]
4552
+ args: [{ selector: 'po-loading-overlay', template: "<po-overlay [p-screen-lock]=\"screenLock\">\n <po-loading [p-text]=\"text\" [p-size]=\"size\"></po-loading>\n</po-overlay>\n" }]
4510
4553
  }], function () { return [{ type: i0.ChangeDetectorRef }, { type: PoLanguageService }]; }, null); })();
4511
4554
 
4512
4555
  /**
@@ -5419,70 +5462,70 @@ const _c0$1x = ["listbox"];
5419
5462
  const _c1$D = ["listboxItemList"];
5420
5463
  const _c2$g = ["searchElement"];
5421
5464
  function PoListBoxComponent_po_search_list_3_Template(rf, ctx) { if (rf & 1) {
5422
- const _r12 = i0.ɵɵgetCurrentView();
5423
- i0.ɵɵelementStart(0, "po-search-list", 8, 9);
5424
- i0.ɵɵlistener("p-change", function PoListBoxComponent_po_search_list_3_Template_po_search_list_p_change_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r11.callChangeSearch($event)); });
5465
+ const _r8 = i0.ɵɵgetCurrentView();
5466
+ i0.ɵɵelementStart(0, "po-search-list", 6, 7);
5467
+ i0.ɵɵlistener("p-change", function PoListBoxComponent_po_search_list_3_Template_po_search_list_p_change_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.callChangeSearch($event)); });
5425
5468
  i0.ɵɵelementEnd();
5426
5469
  } if (rf & 2) {
5427
5470
  const ctx_r1 = i0.ɵɵnextContext();
5428
5471
  i0.ɵɵproperty("p-literals", ctx_r1.literalSearch)("p-field-value", ctx_r1.fieldValueSearch)("p-placeholder", ctx_r1.placeholderSearch);
5429
5472
  } }
5430
5473
  function PoListBoxComponent_ng_container_4_li_3_Template(rf, ctx) { if (rf & 1) {
5431
- const _r17 = i0.ɵɵgetCurrentView();
5432
- i0.ɵɵelementStart(0, "li", 14);
5433
- i0.ɵɵlistener("click", function PoListBoxComponent_ng_container_4_li_3_Template_li_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r16.changeAll.emit()); })("keydown", function PoListBoxComponent_ng_container_4_li_3_Template_li_keydown_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r18 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r18.changeAllEmit($event)); });
5434
- i0.ɵɵelement(1, "po-item-list", 15);
5474
+ const _r13 = i0.ɵɵgetCurrentView();
5475
+ i0.ɵɵelementStart(0, "li", 12);
5476
+ i0.ɵɵlistener("click", function PoListBoxComponent_ng_container_4_li_3_Template_li_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r12.changeAll.emit()); })("keydown", function PoListBoxComponent_ng_container_4_li_3_Template_li_keydown_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r14 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r14.changeAllEmit($event)); });
5477
+ i0.ɵɵelement(1, "po-item-list", 13);
5435
5478
  i0.ɵɵelementEnd();
5436
5479
  } if (rf & 2) {
5437
- const ctx_r14 = i0.ɵɵnextContext(2);
5438
- i0.ɵɵattribute("aria-checked", ctx_r14.checkboxAllValue === null ? "mixed" : ctx_r14.checkboxAllValue);
5480
+ const ctx_r10 = i0.ɵɵnextContext(2);
5481
+ i0.ɵɵattribute("aria-checked", ctx_r10.checkboxAllValue === null ? "mixed" : ctx_r10.checkboxAllValue);
5439
5482
  i0.ɵɵadvance(1);
5440
- i0.ɵɵproperty("p-selected", ctx_r14.checkboxAllValue)("p-label", ctx_r14.literals.selectAll)("p-checkbox-value", ctx_r14.checkboxAllValue);
5483
+ i0.ɵɵproperty("p-selected", ctx_r10.checkboxAllValue)("p-label", ctx_r10.literals.selectAll)("p-checkbox-value", ctx_r10.checkboxAllValue);
5441
5484
  } }
5442
5485
  function PoListBoxComponent_ng_container_4_li_4_label_1_Template(rf, ctx) { if (rf & 1) {
5443
- i0.ɵɵelementStart(0, "label", 19);
5486
+ i0.ɵɵelementStart(0, "label", 17);
5444
5487
  i0.ɵɵtext(1);
5445
5488
  i0.ɵɵelementEnd();
5446
5489
  } if (rf & 2) {
5447
- const item_r19 = i0.ɵɵnextContext().$implicit;
5490
+ const item_r15 = i0.ɵɵnextContext().$implicit;
5448
5491
  i0.ɵɵadvance(1);
5449
- i0.ɵɵtextInterpolate1(" ", item_r19.label, " ");
5492
+ i0.ɵɵtextInterpolate1(" ", item_r15.label, " ");
5450
5493
  } }
5451
5494
  function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template(rf, ctx) { if (rf & 1) {
5452
- const _r24 = i0.ɵɵgetCurrentView();
5453
- i0.ɵɵelementStart(0, "po-item-list", 20);
5454
- i0.ɵɵlistener("p-selectcheckbox-item", function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template_po_item_list_p_selectcheckbox_item_0_listener($event) { i0.ɵɵrestoreView(_r24); const ctx_r23 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r23.checkboxClicked($event)); })("p-selectcombo-item", function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template_po_item_list_p_selectcombo_item_0_listener($event) { i0.ɵɵrestoreView(_r24); const ctx_r25 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r25.optionClicked($event)); })("p-select-item", function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template_po_item_list_p_select_item_0_listener() { i0.ɵɵrestoreView(_r24); const item_r19 = i0.ɵɵnextContext().$implicit; const ctx_r26 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r26.onSelectCheckBoxItem(item_r19)); });
5495
+ const _r20 = i0.ɵɵgetCurrentView();
5496
+ i0.ɵɵelementStart(0, "po-item-list", 18);
5497
+ i0.ɵɵlistener("p-selectcheckbox-item", function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template_po_item_list_p_selectcheckbox_item_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r19.checkboxClicked($event)); })("p-selectcombo-item", function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template_po_item_list_p_selectcombo_item_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r21 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r21.optionClicked($event)); })("p-select-item", function PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template_po_item_list_p_select_item_0_listener() { i0.ɵɵrestoreView(_r20); const item_r15 = i0.ɵɵnextContext().$implicit; const ctx_r22 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r22.onSelectCheckBoxItem(item_r15)); });
5455
5498
  i0.ɵɵpipe(1, "json");
5456
5499
  i0.ɵɵelementEnd();
5457
5500
  } if (rf & 2) {
5458
- const item_r19 = i0.ɵɵnextContext().$implicit;
5459
- const ctx_r21 = i0.ɵɵnextContext(2);
5460
- i0.ɵɵproperty("p-disabled", ctx_r21.returnBooleanValue(item_r19, "disabled"))("p-visible", ctx_r21.returnBooleanValue(item_r19, "visible"))("p-checkbox-value", ctx_r21.isSelectedItem(item_r19))("p-label", item_r19[ctx_r21.fieldLabel])("p-value", item_r19[ctx_r21.fieldValue])("p-selected", ctx_r21.isSelectedItem(item_r19) || item_r19.selected)("p-separator", item_r19.separator)("p-danger", item_r19.danger || item_r19.type === "danger")("p-icon", item_r19.icon)("p-type", ctx_r21.type)("p-item", item_r19)("p-field-value", ctx_r21.fieldValue)("p-field-label", ctx_r21.fieldLabel)("p-template", ctx_r21.template)("p-template-context", item_r19)("p-search-value", ctx_r21.searchValue)("p-filter-mode", ctx_r21.filterMode)("p-filtering", ctx_r21.isFiltering)("p-should-mark-letter", ctx_r21.shouldMarkLetters)("p-compare-cache", ctx_r21.compareCache)("p-combo-service", ctx_r21.comboService);
5461
- i0.ɵɵattribute("data-item-list", i0.ɵɵpipeBind1(1, 22, item_r19));
5501
+ const item_r15 = i0.ɵɵnextContext().$implicit;
5502
+ const ctx_r17 = i0.ɵɵnextContext(2);
5503
+ i0.ɵɵproperty("p-disabled", ctx_r17.returnBooleanValue(item_r15, "disabled"))("p-visible", ctx_r17.returnBooleanValue(item_r15, "visible"))("p-checkbox-value", ctx_r17.isSelectedItem(item_r15))("p-label", item_r15[ctx_r17.fieldLabel])("p-value", item_r15[ctx_r17.fieldValue])("p-selected", ctx_r17.isSelectedItem(item_r15) || item_r15.selected)("p-separator", item_r15.separator)("p-danger", item_r15.danger || item_r15.type === "danger")("p-icon", item_r15.icon)("p-type", ctx_r17.type)("p-item", item_r15)("p-field-value", ctx_r17.fieldValue)("p-field-label", ctx_r17.fieldLabel)("p-template", ctx_r17.template)("p-template-context", item_r15)("p-search-value", ctx_r17.searchValue)("p-filter-mode", ctx_r17.filterMode)("p-filtering", ctx_r17.isFiltering)("p-should-mark-letter", ctx_r17.shouldMarkLetters)("p-compare-cache", ctx_r17.compareCache)("p-combo-service", ctx_r17.comboService);
5504
+ i0.ɵɵattribute("data-item-list", i0.ɵɵpipeBind1(1, 22, item_r15));
5462
5505
  } }
5463
5506
  function PoListBoxComponent_ng_container_4_li_4_Template(rf, ctx) { if (rf & 1) {
5464
- const _r30 = i0.ɵɵgetCurrentView();
5465
- i0.ɵɵelementStart(0, "li", 16);
5466
- i0.ɵɵlistener("click", function PoListBoxComponent_ng_container_4_li_4_Template_li_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r30); const item_r19 = restoredCtx.$implicit; const ctx_r29 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r29.onSelectItem(item_r19)); })("keydown", function PoListBoxComponent_ng_container_4_li_4_Template_li_keydown_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r30); const item_r19 = restoredCtx.$implicit; const ctx_r31 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r31.onKeyDown(item_r19, $event)); });
5467
- i0.ɵɵtemplate(1, PoListBoxComponent_ng_container_4_li_4_label_1_Template, 2, 1, "label", 17);
5468
- i0.ɵɵtemplate(2, PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template, 2, 24, "po-item-list", 18);
5507
+ const _r26 = i0.ɵɵgetCurrentView();
5508
+ i0.ɵɵelementStart(0, "li", 14);
5509
+ i0.ɵɵlistener("click", function PoListBoxComponent_ng_container_4_li_4_Template_li_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r26); const item_r15 = restoredCtx.$implicit; const ctx_r25 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r25.onSelectItem(item_r15)); })("keydown", function PoListBoxComponent_ng_container_4_li_4_Template_li_keydown_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r26); const item_r15 = restoredCtx.$implicit; const ctx_r27 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r27.onKeyDown(item_r15, $event)); });
5510
+ i0.ɵɵtemplate(1, PoListBoxComponent_ng_container_4_li_4_label_1_Template, 2, 1, "label", 15);
5511
+ i0.ɵɵtemplate(2, PoListBoxComponent_ng_container_4_li_4_po_item_list_2_Template, 2, 24, "po-item-list", 16);
5469
5512
  i0.ɵɵelementEnd();
5470
5513
  } if (rf & 2) {
5471
- const item_r19 = ctx.$implicit;
5472
- const ctx_r15 = i0.ɵɵnextContext(2);
5473
- i0.ɵɵclassProp("po-listbox-item", ctx_r15.visible);
5474
- i0.ɵɵproperty("cdkOption", item_r19[ctx_r15.fieldLabel])("cdkOptionDisabled", ctx_r15.returnBooleanValue(item_r19, "disabled") || ctx_r15.returnBooleanValue(item_r19, "visible") === false || item_r19.options);
5475
- i0.ɵɵattribute("aria-selected", ctx_r15.isSelectedItem(item_r19) || item_r19.selected);
5514
+ const item_r15 = ctx.$implicit;
5515
+ const ctx_r11 = i0.ɵɵnextContext(2);
5516
+ i0.ɵɵclassProp("po-listbox-item", ctx_r11.visible);
5517
+ i0.ɵɵproperty("cdkOption", item_r15[ctx_r11.fieldLabel])("cdkOptionDisabled", ctx_r11.returnBooleanValue(item_r15, "disabled") || ctx_r11.returnBooleanValue(item_r15, "visible") === false || item_r15.options);
5518
+ i0.ɵɵattribute("aria-selected", ctx_r11.isSelectedItem(item_r15) || item_r15.selected);
5476
5519
  i0.ɵɵadvance(1);
5477
- i0.ɵɵproperty("ngIf", item_r19.options);
5520
+ i0.ɵɵproperty("ngIf", item_r15.options);
5478
5521
  i0.ɵɵadvance(1);
5479
- i0.ɵɵproperty("ngIf", ctx_r15.returnBooleanValue(item_r19, "visible") !== false && !item_r19.options);
5522
+ i0.ɵɵproperty("ngIf", ctx_r11.returnBooleanValue(item_r15, "visible") !== false && !item_r15.options);
5480
5523
  } }
5481
5524
  function PoListBoxComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
5482
5525
  i0.ɵɵelementContainerStart(0);
5483
- i0.ɵɵelementStart(1, "ul", 10, 11);
5484
- i0.ɵɵtemplate(3, PoListBoxComponent_ng_container_4_li_3_Template, 2, 4, "li", 12);
5485
- i0.ɵɵtemplate(4, PoListBoxComponent_ng_container_4_li_4_Template, 3, 7, "li", 13);
5526
+ i0.ɵɵelementStart(1, "ul", 8, 9);
5527
+ i0.ɵɵtemplate(3, PoListBoxComponent_ng_container_4_li_3_Template, 2, 4, "li", 10);
5528
+ i0.ɵɵtemplate(4, PoListBoxComponent_ng_container_4_li_4_Template, 3, 7, "li", 11);
5486
5529
  i0.ɵɵelementEnd();
5487
5530
  i0.ɵɵelementContainerEnd();
5488
5531
  } if (rf & 2) {
@@ -5494,40 +5537,28 @@ function PoListBoxComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
5494
5537
  i0.ɵɵadvance(1);
5495
5538
  i0.ɵɵproperty("ngForOf", ctx_r2.items);
5496
5539
  } }
5497
- function PoListBoxComponent_div_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
5498
- i0.ɵɵelementContainer(0);
5499
- } }
5500
5540
  function PoListBoxComponent_div_5_Template(rf, ctx) { if (rf & 1) {
5501
- i0.ɵɵelementStart(0, "div", 21);
5502
- i0.ɵɵtemplate(1, PoListBoxComponent_div_5_ng_container_1_Template, 1, 0, "ng-container", 22);
5541
+ i0.ɵɵelementStart(0, "div");
5542
+ i0.ɵɵelement(1, "po-loading-overlay", 19);
5503
5543
  i0.ɵɵelementEnd();
5504
5544
  } if (rf & 2) {
5505
5545
  const ctx_r3 = i0.ɵɵnextContext();
5506
- const _r4 = i0.ɵɵreference(7);
5507
- const _r6 = i0.ɵɵreference(9);
5508
- i0.ɵɵadvance(1);
5509
- i0.ɵɵproperty("ngIf", ctx_r3.infiniteLoading)("ngIfThen", _r4)("ngIfElse", _r6);
5546
+ i0.ɵɵclassProp("po-listbox-container-loading-default", !ctx_r3.infiniteLoading);
5510
5547
  } }
5511
- function PoListBoxComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
5512
- i0.ɵɵelement(0, "po-loading-overlay", 23);
5513
- } }
5514
- function PoListBoxComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
5515
- i0.ɵɵelement(0, "po-loading", 24);
5516
- } }
5517
- function PoListBoxComponent_ng_template_10_div_0_Template(rf, ctx) { if (rf & 1) {
5518
- i0.ɵɵelementStart(0, "div", 26)(1, "span");
5548
+ function PoListBoxComponent_ng_template_6_div_0_Template(rf, ctx) { if (rf & 1) {
5549
+ i0.ɵɵelementStart(0, "div", 21)(1, "span");
5519
5550
  i0.ɵɵtext(2);
5520
5551
  i0.ɵɵelementEnd()();
5521
5552
  } if (rf & 2) {
5522
- const ctx_r33 = i0.ɵɵnextContext(2);
5553
+ const ctx_r28 = i0.ɵɵnextContext(2);
5523
5554
  i0.ɵɵadvance(2);
5524
- i0.ɵɵtextInterpolate1(" ", ctx_r33.literals.noItems, "");
5555
+ i0.ɵɵtextInterpolate1(" ", ctx_r28.literals.noItems, "");
5525
5556
  } }
5526
- function PoListBoxComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
5527
- i0.ɵɵtemplate(0, PoListBoxComponent_ng_template_10_div_0_Template, 3, 1, "div", 25);
5557
+ function PoListBoxComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
5558
+ i0.ɵɵtemplate(0, PoListBoxComponent_ng_template_6_div_0_Template, 3, 1, "div", 20);
5528
5559
  } if (rf & 2) {
5529
- const ctx_r9 = i0.ɵɵnextContext();
5530
- i0.ɵɵproperty("ngIf", !ctx_r9.items.length && !ctx_r9.isServerSearching && ctx_r9.type !== "action");
5560
+ const ctx_r5 = i0.ɵɵnextContext();
5561
+ i0.ɵɵproperty("ngIf", !ctx_r5.items.length && !ctx_r5.isServerSearching && ctx_r5.type !== "action");
5531
5562
  } }
5532
5563
  const _c3$c = [[["", "p-popup-header-template", ""]]];
5533
5564
  const _c4$5 = ["[p-popup-header-template]"];
@@ -5697,33 +5728,31 @@ class PoListBoxComponent extends PoListBoxBaseComponent {
5697
5728
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listbox = _t.first);
5698
5729
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listboxItemList = _t.first);
5699
5730
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.searchElement = _t.first);
5700
- } }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c4$5, decls: 12, vars: 8, consts: [[1, "po-listbox", 3, "hidden"], ["listbox", ""], [3, "p-literals", "p-field-value", "p-placeholder", "p-change", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["class", "po-text-center", 4, "ngIf"], ["scrollLoadingTemplate", ""], ["defaultLoadingTemplate", ""], ["noDataTemplate", ""], [3, "p-literals", "p-field-value", "p-placeholder", "p-change"], ["searchElement", ""], ["cdkListbox", "", 1, "po-listbox-list", 3, "cdkListboxMultiple"], ["listboxItemList", ""], ["cdkOption", "selectAll", 3, "click", "keydown", 4, "ngIf"], [3, "po-listbox-item", "cdkOption", "cdkOptionDisabled", "click", "keydown", 4, "ngFor", "ngForOf"], ["cdkOption", "selectAll", 3, "click", "keydown"], ["p-type", "check", "p-value", "selectAll", 3, "p-selected", "p-label", "p-checkbox-value"], [3, "cdkOption", "cdkOptionDisabled", "click", "keydown"], ["class", "po-combo-item-title", 4, "ngIf"], [3, "p-disabled", "p-visible", "p-checkbox-value", "p-label", "p-value", "p-selected", "p-separator", "p-danger", "p-icon", "p-type", "p-item", "p-field-value", "p-field-label", "p-template", "p-template-context", "p-search-value", "p-filter-mode", "p-filtering", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-selectcheckbox-item", "p-selectcombo-item", "p-select-item", 4, "ngIf"], [1, "po-combo-item-title"], [3, "p-disabled", "p-visible", "p-checkbox-value", "p-label", "p-value", "p-selected", "p-separator", "p-danger", "p-icon", "p-type", "p-item", "p-field-value", "p-field-label", "p-template", "p-template-context", "p-search-value", "p-filter-mode", "p-filtering", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-selectcheckbox-item", "p-selectcombo-item", "p-select-item"], [1, "po-text-center"], [4, "ngIf", "ngIfThen", "ngIfElse"], [1, "po-listbox-container-loading-scroll"], [1, "po-listbox-container-loading-default"], ["class", "po-listbox-container-no-data po-text-center", 4, "ngIf"], [1, "po-listbox-container-no-data", "po-text-center"]], template: function PoListBoxComponent_Template(rf, ctx) { if (rf & 1) {
5731
+ } }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c4$5, decls: 8, vars: 8, consts: [[1, "po-listbox", 3, "hidden"], ["listbox", ""], [3, "p-literals", "p-field-value", "p-placeholder", "p-change", 4, "ngIf"], [4, "ngIf", "ngIfElse"], [3, "po-listbox-container-loading-default", 4, "ngIf"], ["noDataTemplate", ""], [3, "p-literals", "p-field-value", "p-placeholder", "p-change"], ["searchElement", ""], ["cdkListbox", "", 1, "po-listbox-list", 3, "cdkListboxMultiple"], ["listboxItemList", ""], ["cdkOption", "selectAll", 3, "click", "keydown", 4, "ngIf"], [3, "po-listbox-item", "cdkOption", "cdkOptionDisabled", "click", "keydown", 4, "ngFor", "ngForOf"], ["cdkOption", "selectAll", 3, "click", "keydown"], ["p-type", "check", "p-value", "selectAll", 3, "p-selected", "p-label", "p-checkbox-value"], [3, "cdkOption", "cdkOptionDisabled", "click", "keydown"], ["class", "po-combo-item-title", 4, "ngIf"], [3, "p-disabled", "p-visible", "p-checkbox-value", "p-label", "p-value", "p-selected", "p-separator", "p-danger", "p-icon", "p-type", "p-item", "p-field-value", "p-field-label", "p-template", "p-template-context", "p-search-value", "p-filter-mode", "p-filtering", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-selectcheckbox-item", "p-selectcombo-item", "p-select-item", 4, "ngIf"], [1, "po-combo-item-title"], [3, "p-disabled", "p-visible", "p-checkbox-value", "p-label", "p-value", "p-selected", "p-separator", "p-danger", "p-icon", "p-type", "p-item", "p-field-value", "p-field-label", "p-template", "p-template-context", "p-search-value", "p-filter-mode", "p-filtering", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-selectcheckbox-item", "p-selectcombo-item", "p-select-item"], ["p-size", "md"], ["class", "po-listbox-container-no-data po-text-center", 4, "ngIf"], [1, "po-listbox-container-no-data", "po-text-center"]], template: function PoListBoxComponent_Template(rf, ctx) { if (rf & 1) {
5701
5732
  i0.ɵɵprojectionDef(_c3$c);
5702
5733
  i0.ɵɵelementStart(0, "div", 0, 1);
5703
5734
  i0.ɵɵprojection(2);
5704
5735
  i0.ɵɵtemplate(3, PoListBoxComponent_po_search_list_3_Template, 2, 3, "po-search-list", 2);
5705
5736
  i0.ɵɵtemplate(4, PoListBoxComponent_ng_container_4_Template, 5, 3, "ng-container", 3);
5706
- i0.ɵɵtemplate(5, PoListBoxComponent_div_5_Template, 2, 3, "div", 4);
5707
- i0.ɵɵtemplate(6, PoListBoxComponent_ng_template_6_Template, 1, 0, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
5708
- i0.ɵɵtemplate(8, PoListBoxComponent_ng_template_8_Template, 1, 0, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
5709
- i0.ɵɵtemplate(10, PoListBoxComponent_ng_template_10_Template, 1, 1, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
5737
+ i0.ɵɵtemplate(5, PoListBoxComponent_div_5_Template, 2, 2, "div", 4);
5738
+ i0.ɵɵtemplate(6, PoListBoxComponent_ng_template_6_Template, 1, 1, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
5710
5739
  i0.ɵɵelementEnd();
5711
5740
  } if (rf & 2) {
5712
- const _r8 = i0.ɵɵreference(11);
5741
+ const _r4 = i0.ɵɵreference(7);
5713
5742
  i0.ɵɵclassProp("po-listbox-check", ctx.type === "check" || ctx.type === "option");
5714
5743
  i0.ɵɵproperty("hidden", ctx.visible);
5715
5744
  i0.ɵɵattribute("data-type", ctx.type);
5716
5745
  i0.ɵɵadvance(3);
5717
5746
  i0.ɵɵproperty("ngIf", !ctx.hideSearch && ctx.type === "check");
5718
5747
  i0.ɵɵadvance(1);
5719
- i0.ɵɵproperty("ngIf", ctx.checkTemplate())("ngIfElse", _r8);
5748
+ i0.ɵɵproperty("ngIf", ctx.checkTemplate())("ngIfElse", _r4);
5720
5749
  i0.ɵɵadvance(1);
5721
5750
  i0.ɵɵproperty("ngIf", ctx.isServerSearching && ctx.type !== "action");
5722
- } }, dependencies: [i1.NgForOf, i1.NgIf, PoLoadingComponent, PoLoadingOverlayComponent, i6.CdkListbox, i6.CdkOption, PoItemListComponent, PoSearchListComponent, i1.JsonPipe], encapsulation: 2 });
5751
+ } }, dependencies: [i1.NgForOf, i1.NgIf, PoLoadingOverlayComponent, i5.CdkListbox, i5.CdkOption, PoItemListComponent, PoSearchListComponent, i1.JsonPipe], encapsulation: 2 });
5723
5752
  }
5724
5753
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoListBoxComponent, [{
5725
5754
  type: Component,
5726
- args: [{ selector: 'po-listbox', template: "<div\n #listbox\n class=\"po-listbox\"\n [class.po-listbox-check]=\"type === 'check' || type === 'option'\"\n [attr.data-type]=\"type\"\n [hidden]=\"visible\"\n>\n <ng-content select=\"[p-popup-header-template]\"></ng-content>\n\n <po-search-list\n #searchElement\n *ngIf=\"!hideSearch && type === 'check'\"\n (p-change)=\"callChangeSearch($event)\"\n [p-literals]=\"literalSearch\"\n [p-field-value]=\"fieldValueSearch\"\n [p-placeholder]=\"placeholderSearch\"\n ></po-search-list>\n\n <ng-container *ngIf=\"checkTemplate(); else noDataTemplate\">\n <ul #listboxItemList cdkListbox [cdkListboxMultiple]=\"type === 'check'\" class=\"po-listbox-list\">\n <li\n cdkOption=\"selectAll\"\n *ngIf=\"type === 'check' && items.length && !searchElement?.inputValue && !hideSelectAll\"\n [attr.aria-checked]=\"checkboxAllValue === null ? 'mixed' : checkboxAllValue\"\n (click)=\"changeAll.emit()\"\n (keydown)=\"changeAllEmit($event)\"\n >\n <po-item-list\n [p-selected]=\"checkboxAllValue\"\n p-type=\"check\"\n [p-label]=\"literals.selectAll\"\n p-value=\"selectAll\"\n [p-checkbox-value]=\"checkboxAllValue\"\n >\n </po-item-list>\n </li>\n <li\n [class.po-listbox-item]=\"visible\"\n *ngFor=\"let item of items\"\n [cdkOption]=\"item[fieldLabel]\"\n [cdkOptionDisabled]=\"\n returnBooleanValue(item, 'disabled') || returnBooleanValue(item, 'visible') === false || item.options\n \"\n [attr.aria-selected]=\"isSelectedItem(item) || item.selected\"\n (click)=\"onSelectItem(item)\"\n (keydown)=\"onKeyDown(item, $event)\"\n >\n <label *ngIf=\"item.options\" class=\"po-combo-item-title\">\n {{ item.label }}\n </label>\n <po-item-list\n *ngIf=\"returnBooleanValue(item, 'visible') !== false && !item.options\"\n [p-disabled]=\"returnBooleanValue(item, 'disabled')\"\n [p-visible]=\"returnBooleanValue(item, 'visible')\"\n [p-checkbox-value]=\"isSelectedItem(item)\"\n [attr.data-item-list]=\"item | json\"\n [p-label]=\"item[fieldLabel]\"\n [p-value]=\"item[fieldValue]\"\n [p-selected]=\"isSelectedItem(item) || item.selected\"\n [p-separator]=\"item.separator\"\n [p-danger]=\"item.danger || item.type === 'danger'\"\n [p-icon]=\"item.icon\"\n [p-type]=\"type\"\n [p-item]=\"item\"\n [p-field-value]=\"fieldValue\"\n [p-field-label]=\"fieldLabel\"\n [p-template]=\"template\"\n [p-template-context]=\"item\"\n (p-selectcheckbox-item)=\"checkboxClicked($event)\"\n (p-selectcombo-item)=\"optionClicked($event)\"\n (p-select-item)=\"onSelectCheckBoxItem(item)\"\n [p-search-value]=\"searchValue\"\n [p-filter-mode]=\"filterMode\"\n [p-filtering]=\"isFiltering\"\n [p-should-mark-letter]=\"shouldMarkLetters\"\n [p-compare-cache]=\"compareCache\"\n [p-combo-service]=\"comboService\"\n ></po-item-list>\n </li>\n </ul>\n </ng-container>\n\n <div *ngIf=\"isServerSearching && type !== 'action'\" class=\"po-text-center\">\n <ng-container *ngIf=\"infiniteLoading; then scrollLoadingTemplate; else defaultLoadingTemplate\"></ng-container>\n </div>\n\n <ng-template #scrollLoadingTemplate>\n <po-loading-overlay class=\"po-listbox-container-loading-scroll\"></po-loading-overlay>\n </ng-template>\n\n <ng-template #defaultLoadingTemplate>\n <po-loading class=\"po-listbox-container-loading-default\"></po-loading>\n </ng-template>\n\n <ng-template #noDataTemplate>\n <div\n *ngIf=\"!items.length && !isServerSearching && type !== 'action'\"\n class=\"po-listbox-container-no-data po-text-center\"\n >\n <span> {{ literals.noItems }}</span>\n </div>\n </ng-template>\n</div>\n" }]
5755
+ args: [{ selector: 'po-listbox', template: "<div\n #listbox\n class=\"po-listbox\"\n [class.po-listbox-check]=\"type === 'check' || type === 'option'\"\n [attr.data-type]=\"type\"\n [hidden]=\"visible\"\n>\n <ng-content select=\"[p-popup-header-template]\"></ng-content>\n\n <po-search-list\n #searchElement\n *ngIf=\"!hideSearch && type === 'check'\"\n (p-change)=\"callChangeSearch($event)\"\n [p-literals]=\"literalSearch\"\n [p-field-value]=\"fieldValueSearch\"\n [p-placeholder]=\"placeholderSearch\"\n ></po-search-list>\n\n <ng-container *ngIf=\"checkTemplate(); else noDataTemplate\">\n <ul #listboxItemList cdkListbox [cdkListboxMultiple]=\"type === 'check'\" class=\"po-listbox-list\">\n <li\n cdkOption=\"selectAll\"\n *ngIf=\"type === 'check' && items.length && !searchElement?.inputValue && !hideSelectAll\"\n [attr.aria-checked]=\"checkboxAllValue === null ? 'mixed' : checkboxAllValue\"\n (click)=\"changeAll.emit()\"\n (keydown)=\"changeAllEmit($event)\"\n >\n <po-item-list\n [p-selected]=\"checkboxAllValue\"\n p-type=\"check\"\n [p-label]=\"literals.selectAll\"\n p-value=\"selectAll\"\n [p-checkbox-value]=\"checkboxAllValue\"\n >\n </po-item-list>\n </li>\n <li\n [class.po-listbox-item]=\"visible\"\n *ngFor=\"let item of items\"\n [cdkOption]=\"item[fieldLabel]\"\n [cdkOptionDisabled]=\"\n returnBooleanValue(item, 'disabled') || returnBooleanValue(item, 'visible') === false || item.options\n \"\n [attr.aria-selected]=\"isSelectedItem(item) || item.selected\"\n (click)=\"onSelectItem(item)\"\n (keydown)=\"onKeyDown(item, $event)\"\n >\n <label *ngIf=\"item.options\" class=\"po-combo-item-title\">\n {{ item.label }}\n </label>\n <po-item-list\n *ngIf=\"returnBooleanValue(item, 'visible') !== false && !item.options\"\n [p-disabled]=\"returnBooleanValue(item, 'disabled')\"\n [p-visible]=\"returnBooleanValue(item, 'visible')\"\n [p-checkbox-value]=\"isSelectedItem(item)\"\n [attr.data-item-list]=\"item | json\"\n [p-label]=\"item[fieldLabel]\"\n [p-value]=\"item[fieldValue]\"\n [p-selected]=\"isSelectedItem(item) || item.selected\"\n [p-separator]=\"item.separator\"\n [p-danger]=\"item.danger || item.type === 'danger'\"\n [p-icon]=\"item.icon\"\n [p-type]=\"type\"\n [p-item]=\"item\"\n [p-field-value]=\"fieldValue\"\n [p-field-label]=\"fieldLabel\"\n [p-template]=\"template\"\n [p-template-context]=\"item\"\n (p-selectcheckbox-item)=\"checkboxClicked($event)\"\n (p-selectcombo-item)=\"optionClicked($event)\"\n (p-select-item)=\"onSelectCheckBoxItem(item)\"\n [p-search-value]=\"searchValue\"\n [p-filter-mode]=\"filterMode\"\n [p-filtering]=\"isFiltering\"\n [p-should-mark-letter]=\"shouldMarkLetters\"\n [p-compare-cache]=\"compareCache\"\n [p-combo-service]=\"comboService\"\n ></po-item-list>\n </li>\n </ul>\n </ng-container>\n\n <div *ngIf=\"isServerSearching && type !== 'action'\" [class.po-listbox-container-loading-default]=\"!infiniteLoading\">\n <po-loading-overlay p-size=\"md\"></po-loading-overlay>\n </div>\n\n <ng-template #noDataTemplate>\n <div\n *ngIf=\"!items.length && !isServerSearching && type !== 'action'\"\n class=\"po-listbox-container-no-data po-text-center\"\n >\n <span> {{ literals.noItems }}</span>\n </div>\n </ng-template>\n</div>\n" }]
5727
5756
  }], function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PoLanguageService }, { type: i2.Router }, { type: i0.ChangeDetectorRef }]; }, { listbox: [{
5728
5757
  type: ViewChild,
5729
5758
  args: ['listbox', { static: true }]
@@ -16234,6 +16263,21 @@ class PoModalModule {
16234
16263
  }], null, null); })();
16235
16264
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoModalModule, { declarations: [PoModalComponent, PoModalFooterComponent], imports: [CommonModule, PoButtonModule, PoIconModule], exports: [PoModalComponent, PoModalFooterComponent] }); })();
16236
16265
 
16266
+ function PoProgressBarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
16267
+ i0.ɵɵelementStart(0, "div", 2);
16268
+ i0.ɵɵelement(1, "div", 3)(2, "div", 4);
16269
+ i0.ɵɵelementEnd();
16270
+ } if (rf & 2) {
16271
+ const ctx_r0 = i0.ɵɵnextContext();
16272
+ i0.ɵɵattribute("aria-valuenow", ctx_r0.value);
16273
+ i0.ɵɵadvance(2);
16274
+ i0.ɵɵstyleProp("left", "-" + (100 - ctx_r0.value) + "%");
16275
+ } }
16276
+ function PoProgressBarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
16277
+ i0.ɵɵelementStart(0, "div", 5);
16278
+ i0.ɵɵelement(1, "div", 6);
16279
+ i0.ɵɵelementEnd();
16280
+ } }
16237
16281
  class PoProgressBarComponent {
16238
16282
  indeterminate;
16239
16283
  value;
@@ -16241,19 +16285,18 @@ class PoProgressBarComponent {
16241
16285
  return `${this.value / 100}`;
16242
16286
  }
16243
16287
  static ɵfac = function PoProgressBarComponent_Factory(t) { return new (t || PoProgressBarComponent)(); };
16244
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoProgressBarComponent, selectors: [["po-progress-bar"]], inputs: { indeterminate: ["p-indeterminate", "indeterminate"], value: ["p-value", "value"] }, decls: 3, vars: 4, consts: [[1, "po-progress-bar-element", "po-progress-bar-primary"], [1, "po-progress-bar-element", "po-progress-bar-secondary"]], template: function PoProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
16245
- i0.ɵɵelementStart(0, "div");
16246
- i0.ɵɵelement(1, "div", 0)(2, "div", 1);
16247
- i0.ɵɵelementEnd();
16288
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoProgressBarComponent, selectors: [["po-progress-bar"]], inputs: { indeterminate: ["p-indeterminate", "indeterminate"], value: ["p-value", "value"] }, decls: 2, vars: 2, consts: [["role", "progressbar", "aria-valuemin", "0", "aria-valuemax", "100", "aria-live", "polite", "class", "po-progress-bar-default", 4, "ngIf"], ["class", "po-progress-bar-indeterminate-track", 4, "ngIf"], ["role", "progressbar", "aria-valuemin", "0", "aria-valuemax", "100", "aria-live", "polite", 1, "po-progress-bar-default"], [1, "po-progress-bar-element", "po-progress-bar-primary"], [1, "po-progress-bar-element", "po-progress-bar-secondary"], [1, "po-progress-bar-indeterminate-track"], [1, "po-progress-bar-indeterminate-track-bar"]], template: function PoProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
16289
+ i0.ɵɵtemplate(0, PoProgressBarComponent_div_0_Template, 3, 3, "div", 0);
16290
+ i0.ɵɵtemplate(1, PoProgressBarComponent_div_1_Template, 2, 0, "div", 1);
16248
16291
  } if (rf & 2) {
16249
- i0.ɵɵclassProp("po-progress-bar-indeterminate", ctx.indeterminate);
16292
+ i0.ɵɵproperty("ngIf", !ctx.indeterminate);
16250
16293
  i0.ɵɵadvance(1);
16251
- i0.ɵɵstyleProp("transform", "scaleX(" + ctx.valueScale + ")");
16252
- } }, encapsulation: 2, changeDetection: 0 });
16294
+ i0.ɵɵproperty("ngIf", ctx.indeterminate);
16295
+ } }, dependencies: [i1.NgIf], encapsulation: 2, changeDetection: 0 });
16253
16296
  }
16254
16297
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoProgressBarComponent, [{
16255
16298
  type: Component,
16256
- args: [{ selector: 'po-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class.po-progress-bar-indeterminate]=\"indeterminate\">\n <div class=\"po-progress-bar-element po-progress-bar-primary\" [style.transform]=\"'scaleX(' + valueScale + ')'\"></div>\n <div class=\"po-progress-bar-element po-progress-bar-secondary\"></div>\n</div>\n" }]
16299
+ args: [{ selector: 'po-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n *ngIf=\"!indeterminate\"\n role=\"progressbar\"\n [attr.aria-valuenow]=\"value\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-live=\"polite\"\n class=\"po-progress-bar-default\"\n>\n <div class=\"po-progress-bar-element po-progress-bar-primary\"></div>\n <div class=\"po-progress-bar-element po-progress-bar-secondary\" [style.left]=\"'-' + (100 - value) + '%'\"></div>\n</div>\n\n<div *ngIf=\"indeterminate\" class=\"po-progress-bar-indeterminate-track\">\n <div class=\"po-progress-bar-indeterminate-track-bar\"></div>\n</div>\n" }]
16257
16300
  }], null, { indeterminate: [{
16258
16301
  type: Input,
16259
16302
  args: ['p-indeterminate']
@@ -16279,6 +16322,19 @@ var PoProgressStatus;
16279
16322
  PoProgressStatus["Success"] = "success";
16280
16323
  })(PoProgressStatus || (PoProgressStatus = {}));
16281
16324
 
16325
+ /**
16326
+ * @usedBy PoProgressComponent
16327
+ *
16328
+ * @description
16329
+ *
16330
+ * *Enum* `PoProgressSize` para o tamanho da altura da barra de progresso.
16331
+ */
16332
+ var PoProgressSize;
16333
+ (function (PoProgressSize) {
16334
+ PoProgressSize["medium"] = "medium";
16335
+ PoProgressSize["large"] = "large";
16336
+ })(PoProgressSize || (PoProgressSize = {}));
16337
+
16282
16338
  const poProgressMaxValue = 100;
16283
16339
  const poProgressMinValue = 0;
16284
16340
  /**
@@ -16352,6 +16408,7 @@ class PoProgressBaseComponent {
16352
16408
  retry = new EventEmitter();
16353
16409
  _indeterminate;
16354
16410
  _value = 0;
16411
+ _size = 'large';
16355
16412
  /**
16356
16413
  * @optional
16357
16414
  *
@@ -16390,11 +16447,40 @@ class PoProgressBaseComponent {
16390
16447
  get value() {
16391
16448
  return this._value;
16392
16449
  }
16450
+ /**
16451
+ * @optional
16452
+ *
16453
+ * @description
16454
+ *
16455
+ * Definição do tamanho da altura da barra de progresso.
16456
+ *
16457
+ * Valores válidos:
16458
+ * - `medium`: tamanho médio
16459
+ * - `large`: tamanho grande
16460
+ *
16461
+ * @default `large`
16462
+ */
16463
+ set size(value) {
16464
+ this._size = PoProgressSize[value] ? PoProgressSize[value] : PoProgressSize.large;
16465
+ }
16466
+ get size() {
16467
+ return this._size;
16468
+ }
16469
+ /**
16470
+ * @optional
16471
+ *
16472
+ * @description
16473
+ *
16474
+ * Ativa a exibição da porcentagem atual da barra de progresso.
16475
+ *
16476
+ * @default `false`
16477
+ */
16478
+ showPercentage = false;
16393
16479
  isProgressRangeValue(value) {
16394
16480
  return value >= poProgressMinValue && value <= poProgressMaxValue;
16395
16481
  }
16396
16482
  static ɵfac = function PoProgressBaseComponent_Factory(t) { return new (t || PoProgressBaseComponent)(); };
16397
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoProgressBaseComponent, inputs: { info: ["p-info", "info"], infoIcon: ["p-info-icon", "infoIcon"], status: ["p-status", "status"], text: ["p-text", "text"], indeterminate: ["p-indeterminate", "indeterminate"], value: ["p-value", "value"] }, outputs: { cancel: "p-cancel", retry: "p-retry" } });
16483
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoProgressBaseComponent, inputs: { info: ["p-info", "info"], infoIcon: ["p-info-icon", "infoIcon"], status: ["p-status", "status"], text: ["p-text", "text"], indeterminate: ["p-indeterminate", "indeterminate"], value: ["p-value", "value"], size: ["p-size", "size"], showPercentage: ["p-show-percentage", "showPercentage", convertToBoolean] }, outputs: { cancel: "p-cancel", retry: "p-retry" }, features: [i0.ɵɵInputTransformsFeature] });
16398
16484
  }
16399
16485
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoProgressBaseComponent, [{
16400
16486
  type: Directive
@@ -16422,70 +16508,88 @@ class PoProgressBaseComponent {
16422
16508
  }], value: [{
16423
16509
  type: Input,
16424
16510
  args: ['p-value']
16511
+ }], size: [{
16512
+ type: Input,
16513
+ args: ['p-size']
16514
+ }], showPercentage: [{
16515
+ type: Input,
16516
+ args: [{ alias: 'p-show-percentage', transform: convertToBoolean }]
16425
16517
  }] }); })();
16426
16518
 
16427
- function PoProgressComponent_label_1_Template(rf, ctx) { if (rf & 1) {
16428
- i0.ɵɵelementStart(0, "label", 5);
16429
- i0.ɵɵtext(1);
16519
+ const poProgressLiterals = {
16520
+ en: {
16521
+ cancel: 'Cancel',
16522
+ retry: 'Retry'
16523
+ },
16524
+ es: {
16525
+ cancel: 'Cancelar',
16526
+ retry: 'Procesar de nuevo'
16527
+ },
16528
+ pt: {
16529
+ cancel: 'Cancelar',
16530
+ retry: 'Tentar Novamente'
16531
+ },
16532
+ ru: {
16533
+ cancel: 'Отмена',
16534
+ retry: 'Повторить попытку'
16535
+ }
16536
+ };
16537
+
16538
+ function PoProgressComponent_div_1_Template(rf, ctx) { if (rf & 1) {
16539
+ i0.ɵɵelementStart(0, "div", 12);
16540
+ i0.ɵɵelement(1, "po-label", 13);
16430
16541
  i0.ɵɵelementEnd();
16431
16542
  } if (rf & 2) {
16432
16543
  const ctx_r0 = i0.ɵɵnextContext();
16433
16544
  i0.ɵɵadvance(1);
16434
- i0.ɵɵtextInterpolate1(" ", ctx_r0.text, " ");
16545
+ i0.ɵɵproperty("p-label", ctx_r0.text);
16435
16546
  } }
16436
- function PoProgressComponent_div_3_Template(rf, ctx) { if (rf & 1) {
16437
- i0.ɵɵelementStart(0, "div", 6)(1, "label", 7);
16438
- i0.ɵɵtext(2);
16439
- i0.ɵɵelementEnd()();
16547
+ function PoProgressComponent_po_icon_5_Template(rf, ctx) { if (rf & 1) {
16548
+ i0.ɵɵelement(0, "po-icon", 14);
16440
16549
  } if (rf & 2) {
16441
16550
  const ctx_r1 = i0.ɵɵnextContext();
16442
- i0.ɵɵadvance(2);
16443
- i0.ɵɵtextInterpolate1(" ", ctx_r1.text, " ");
16551
+ i0.ɵɵclassProp("po-progress-info-icon-error", ctx_r1.status === "error");
16552
+ i0.ɵɵproperty("p-icon", ctx_r1.infoIcon);
16553
+ } }
16554
+ function PoProgressComponent_po_icon_6_Template(rf, ctx) { if (rf & 1) {
16555
+ i0.ɵɵelement(0, "po-icon", 15);
16444
16556
  } }
16445
- function PoProgressComponent_div_4_span_1_Template(rf, ctx) { if (rf & 1) {
16446
- i0.ɵɵelement(0, "span");
16557
+ function PoProgressComponent_span_7_Template(rf, ctx) { if (rf & 1) {
16558
+ i0.ɵɵelementStart(0, "span", 16);
16559
+ i0.ɵɵtext(1);
16560
+ i0.ɵɵelementEnd();
16447
16561
  } if (rf & 2) {
16448
- const ctx_r3 = i0.ɵɵnextContext(2);
16449
- i0.ɵɵclassMapInterpolate1("po-progress-info-icon po-icon ", ctx_r3.infoIcon, "");
16562
+ const ctx_r3 = i0.ɵɵnextContext();
16563
+ i0.ɵɵclassProp("po-progress-info-text-error", ctx_r3.status === "error");
16564
+ i0.ɵɵadvance(1);
16565
+ i0.ɵɵtextInterpolate(ctx_r3.info);
16450
16566
  } }
16451
- function PoProgressComponent_div_4_span_2_Template(rf, ctx) { if (rf & 1) {
16452
- i0.ɵɵelementStart(0, "span", 13);
16567
+ function PoProgressComponent_span_9_Template(rf, ctx) { if (rf & 1) {
16568
+ i0.ɵɵelementStart(0, "span");
16453
16569
  i0.ɵɵtext(1);
16454
16570
  i0.ɵɵelementEnd();
16455
16571
  } if (rf & 2) {
16456
- const ctx_r4 = i0.ɵɵnextContext(2);
16572
+ const ctx_r4 = i0.ɵɵnextContext();
16457
16573
  i0.ɵɵadvance(1);
16458
- i0.ɵɵtextInterpolate(ctx_r4.info);
16574
+ i0.ɵɵtextInterpolate1("", ctx_r4.value, "%");
16459
16575
  } }
16460
- function PoProgressComponent_div_4_button_3_Template(rf, ctx) { if (rf & 1) {
16576
+ function PoProgressComponent_po_button_10_Template(rf, ctx) { if (rf & 1) {
16461
16577
  const _r8 = i0.ɵɵgetCurrentView();
16462
- i0.ɵɵelementStart(0, "button", 14);
16463
- i0.ɵɵlistener("click", function PoProgressComponent_div_4_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.emitRetry()); });
16578
+ i0.ɵɵelementStart(0, "po-button", 17);
16579
+ i0.ɵɵlistener("p-click", function PoProgressComponent_po_button_10_Template_po_button_p_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.emitRetry()); });
16464
16580
  i0.ɵɵelementEnd();
16581
+ } if (rf & 2) {
16582
+ const ctx_r5 = i0.ɵɵnextContext();
16583
+ i0.ɵɵproperty("p-aria-label", ctx_r5.literals.retry);
16465
16584
  } }
16466
- function PoProgressComponent_div_4_button_4_Template(rf, ctx) { if (rf & 1) {
16585
+ function PoProgressComponent_po_button_11_Template(rf, ctx) { if (rf & 1) {
16467
16586
  const _r10 = i0.ɵɵgetCurrentView();
16468
- i0.ɵɵelementStart(0, "button", 15);
16469
- i0.ɵɵlistener("click", function PoProgressComponent_div_4_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r9.emitCancellation()); });
16470
- i0.ɵɵelementEnd();
16471
- } }
16472
- function PoProgressComponent_div_4_Template(rf, ctx) { if (rf & 1) {
16473
- i0.ɵɵelementStart(0, "div", 8);
16474
- i0.ɵɵtemplate(1, PoProgressComponent_div_4_span_1_Template, 1, 3, "span", 9);
16475
- i0.ɵɵtemplate(2, PoProgressComponent_div_4_span_2_Template, 2, 1, "span", 10);
16476
- i0.ɵɵtemplate(3, PoProgressComponent_div_4_button_3_Template, 1, 0, "button", 11);
16477
- i0.ɵɵtemplate(4, PoProgressComponent_div_4_button_4_Template, 1, 0, "button", 12);
16587
+ i0.ɵɵelementStart(0, "po-button", 18);
16588
+ i0.ɵɵlistener("p-click", function PoProgressComponent_po_button_11_Template_po_button_p_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.emitCancellation()); });
16478
16589
  i0.ɵɵelementEnd();
16479
16590
  } if (rf & 2) {
16480
- const ctx_r2 = i0.ɵɵnextContext();
16481
- i0.ɵɵadvance(1);
16482
- i0.ɵɵproperty("ngIf", ctx_r2.infoIcon);
16483
- i0.ɵɵadvance(1);
16484
- i0.ɵɵproperty("ngIf", ctx_r2.info);
16485
- i0.ɵɵadvance(1);
16486
- i0.ɵɵproperty("ngIf", ctx_r2.isAllowRetry);
16487
- i0.ɵɵadvance(1);
16488
- i0.ɵɵproperty("ngIf", ctx_r2.isAllowCancel);
16591
+ const ctx_r6 = i0.ɵɵnextContext();
16592
+ i0.ɵɵproperty("p-aria-label", ctx_r6.literals.cancel)("p-danger", true);
16489
16593
  } }
16490
16594
  /**
16491
16595
  * @docsExtends PoProgressBaseComponent
@@ -16507,11 +16611,13 @@ function PoProgressComponent_div_4_Template(rf, ctx) { if (rf & 1) {
16507
16611
  * </example>
16508
16612
  */
16509
16613
  class PoProgressComponent extends PoProgressBaseComponent {
16614
+ language;
16615
+ literals;
16510
16616
  get isAllowCancel() {
16511
16617
  return !!this.cancel.observers.length && this.status !== PoProgressStatus.Success;
16512
16618
  }
16513
- get isAllowProgressInfo() {
16514
- return !!(this.info || this.infoIcon || this.isAllowCancel || this.isAllowRetry);
16619
+ get isAllowInfoError() {
16620
+ return !!(!this.infoIcon && this.info && this.status === PoProgressStatus.Error);
16515
16621
  }
16516
16622
  get isAllowRetry() {
16517
16623
  return !!this.retry.observers.length && this.status === PoProgressStatus.Error;
@@ -16525,6 +16631,13 @@ class PoProgressComponent extends PoProgressBaseComponent {
16525
16631
  }
16526
16632
  return 'po-progress-default';
16527
16633
  }
16634
+ poLanguageService = inject(PoLanguageService);
16635
+ ngOnInit() {
16636
+ this.language = this.poLanguageService.getShortLanguage();
16637
+ this.literals = {
16638
+ ...poProgressLiterals[this.language]
16639
+ };
16640
+ }
16528
16641
  emitCancellation() {
16529
16642
  this.cancel.emit(this.status);
16530
16643
  }
@@ -16532,28 +16645,44 @@ class PoProgressComponent extends PoProgressBaseComponent {
16532
16645
  this.retry.emit();
16533
16646
  }
16534
16647
  static ɵfac = /*@__PURE__*/ function () { let ɵPoProgressComponent_BaseFactory; return function PoProgressComponent_Factory(t) { return (ɵPoProgressComponent_BaseFactory || (ɵPoProgressComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoProgressComponent)))(t || PoProgressComponent); }; }();
16535
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoProgressComponent, selectors: [["po-progress"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 6, consts: [[1, "po-progress", 3, "ngClass"], ["class", "po-progress-description-mobile po-progress-description-text", 4, "ngIf"], [1, "po-progress-bar", 3, "p-indeterminate", "p-value"], ["class", "po-progress-description", 4, "ngIf"], ["class", "po-progress-info", 4, "ngIf"], [1, "po-progress-description-mobile", "po-progress-description-text"], [1, "po-progress-description"], [1, "po-progress-description-text"], [1, "po-progress-info"], [3, "class", 4, "ngIf"], ["class", "po-progress-info-text", 4, "ngIf"], ["class", "po-progress-info-icon-action po-icon po-icon-refresh po-clickable", 3, "click", 4, "ngIf"], ["class", "po-progress-info-icon-action po-icon po-icon-close po-clickable", 3, "click", 4, "ngIf"], [1, "po-progress-info-text"], [1, "po-progress-info-icon-action", "po-icon", "po-icon-refresh", "po-clickable", 3, "click"], [1, "po-progress-info-icon-action", "po-icon", "po-icon-close", "po-clickable", 3, "click"]], template: function PoProgressComponent_Template(rf, ctx) { if (rf & 1) {
16648
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoProgressComponent, selectors: [["po-progress"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 13, consts: [[1, "po-progress", 3, "ngClass"], ["class", "po-progress-description", 4, "ngIf"], [3, "p-indeterminate", "p-value"], [1, "po-progress-info"], [1, "po-progress-info-left"], [3, "p-icon", "po-progress-info-icon-error", 4, "ngIf"], ["p-icon", "po-icon-exclamation", "class", "po-progress-info-icon-error", 4, "ngIf"], ["class", "po-progress-info-text", 3, "po-progress-info-text-error", 4, "ngIf"], [1, "po-progress-info-right"], [4, "ngIf"], ["p-icon", "po-icon-refresh", "p-kind", "tertiary", 3, "p-aria-label", "p-click", 4, "ngIf"], ["p-icon", "po-icon-close", "p-kind", "secondary", 3, "p-aria-label", "p-danger", "p-click", 4, "ngIf"], [1, "po-progress-description"], [3, "p-label"], [3, "p-icon"], ["p-icon", "po-icon-exclamation", 1, "po-progress-info-icon-error"], [1, "po-progress-info-text"], ["p-icon", "po-icon-refresh", "p-kind", "tertiary", 3, "p-aria-label", "p-click"], ["p-icon", "po-icon-close", "p-kind", "secondary", 3, "p-aria-label", "p-danger", "p-click"]], template: function PoProgressComponent_Template(rf, ctx) { if (rf & 1) {
16536
16649
  i0.ɵɵelementStart(0, "div", 0);
16537
- i0.ɵɵtemplate(1, PoProgressComponent_label_1_Template, 2, 1, "label", 1);
16650
+ i0.ɵɵtemplate(1, PoProgressComponent_div_1_Template, 2, 1, "div", 1);
16538
16651
  i0.ɵɵelement(2, "po-progress-bar", 2);
16539
- i0.ɵɵtemplate(3, PoProgressComponent_div_3_Template, 3, 1, "div", 3);
16540
- i0.ɵɵtemplate(4, PoProgressComponent_div_4_Template, 5, 4, "div", 4);
16652
+ i0.ɵɵelementStart(3, "div", 3)(4, "div", 4);
16653
+ i0.ɵɵtemplate(5, PoProgressComponent_po_icon_5_Template, 1, 3, "po-icon", 5);
16654
+ i0.ɵɵtemplate(6, PoProgressComponent_po_icon_6_Template, 1, 0, "po-icon", 6);
16655
+ i0.ɵɵtemplate(7, PoProgressComponent_span_7_Template, 2, 3, "span", 7);
16541
16656
  i0.ɵɵelementEnd();
16657
+ i0.ɵɵelementStart(8, "div", 8);
16658
+ i0.ɵɵtemplate(9, PoProgressComponent_span_9_Template, 2, 1, "span", 9);
16659
+ i0.ɵɵtemplate(10, PoProgressComponent_po_button_10_Template, 1, 1, "po-button", 10);
16660
+ i0.ɵɵtemplate(11, PoProgressComponent_po_button_11_Template, 1, 2, "po-button", 11);
16661
+ i0.ɵɵelementEnd()()();
16542
16662
  } if (rf & 2) {
16543
16663
  i0.ɵɵproperty("ngClass", ctx.statusClass);
16544
16664
  i0.ɵɵadvance(1);
16545
16665
  i0.ɵɵproperty("ngIf", ctx.text);
16546
16666
  i0.ɵɵadvance(1);
16667
+ i0.ɵɵclassMapInterpolate1("po-progress-bar po-progress-bar-", ctx.size, "");
16547
16668
  i0.ɵɵproperty("p-indeterminate", ctx.indeterminate)("p-value", ctx.value);
16669
+ i0.ɵɵadvance(3);
16670
+ i0.ɵɵproperty("ngIf", ctx.infoIcon);
16548
16671
  i0.ɵɵadvance(1);
16549
- i0.ɵɵproperty("ngIf", ctx.text);
16672
+ i0.ɵɵproperty("ngIf", ctx.isAllowInfoError);
16550
16673
  i0.ɵɵadvance(1);
16551
- i0.ɵɵproperty("ngIf", ctx.isAllowProgressInfo);
16552
- } }, dependencies: [i1.NgClass, i1.NgIf, PoProgressBarComponent], encapsulation: 2, changeDetection: 0 });
16674
+ i0.ɵɵproperty("ngIf", ctx.info);
16675
+ i0.ɵɵadvance(2);
16676
+ i0.ɵɵproperty("ngIf", ctx.showPercentage && !ctx.indeterminate);
16677
+ i0.ɵɵadvance(1);
16678
+ i0.ɵɵproperty("ngIf", ctx.isAllowRetry);
16679
+ i0.ɵɵadvance(1);
16680
+ i0.ɵɵproperty("ngIf", ctx.isAllowCancel);
16681
+ } }, dependencies: [i1.NgClass, i1.NgIf, PoButtonComponent, PoIconComponent, PoLabelComponent, PoProgressBarComponent], encapsulation: 2, changeDetection: 0 });
16553
16682
  }
16554
16683
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoProgressComponent, [{
16555
16684
  type: Component,
16556
- args: [{ selector: 'po-progress', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-progress\" [ngClass]=\"statusClass\">\n <label *ngIf=\"text\" class=\"po-progress-description-mobile po-progress-description-text\">\n {{ text }}\n </label>\n\n <po-progress-bar class=\"po-progress-bar\" [p-indeterminate]=\"indeterminate\" [p-value]=\"value\"> </po-progress-bar>\n\n <div *ngIf=\"text\" class=\"po-progress-description\">\n <label class=\"po-progress-description-text\">\n {{ text }}\n </label>\n </div>\n\n <div *ngIf=\"isAllowProgressInfo\" class=\"po-progress-info\">\n <span *ngIf=\"infoIcon\" class=\"po-progress-info-icon po-icon {{ infoIcon }}\"></span>\n <span *ngIf=\"info\" class=\"po-progress-info-text\">{{ info }}</span>\n\n <button\n *ngIf=\"isAllowRetry\"\n class=\"po-progress-info-icon-action po-icon po-icon-refresh po-clickable\"\n (click)=\"emitRetry()\"\n ></button>\n\n <button\n *ngIf=\"isAllowCancel\"\n class=\"po-progress-info-icon-action po-icon po-icon-close po-clickable\"\n (click)=\"emitCancellation()\"\n ></button>\n </div>\n</div>\n" }]
16685
+ args: [{ selector: 'po-progress', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-progress\" [ngClass]=\"statusClass\">\n <div *ngIf=\"text\" class=\"po-progress-description\">\n <po-label [p-label]=\"text\"></po-label>\n </div>\n\n <po-progress-bar\n class=\"po-progress-bar po-progress-bar-{{ size }}\"\n [p-indeterminate]=\"indeterminate\"\n [p-value]=\"value\"\n >\n </po-progress-bar>\n\n <div class=\"po-progress-info\">\n <div class=\"po-progress-info-left\">\n <po-icon *ngIf=\"infoIcon\" [p-icon]=\"infoIcon\" [class.po-progress-info-icon-error]=\"status === 'error'\"></po-icon>\n <po-icon *ngIf=\"isAllowInfoError\" p-icon=\"po-icon-exclamation\" class=\"po-progress-info-icon-error\"></po-icon>\n <span *ngIf=\"info\" class=\"po-progress-info-text\" [class.po-progress-info-text-error]=\"status === 'error'\">{{\n info\n }}</span>\n </div>\n <div class=\"po-progress-info-right\">\n <span *ngIf=\"showPercentage && !indeterminate\">{{ value }}%</span>\n <po-button\n *ngIf=\"isAllowRetry\"\n p-icon=\"po-icon-refresh\"\n (p-click)=\"emitRetry()\"\n [p-aria-label]=\"literals.retry\"\n p-kind=\"tertiary\"\n ></po-button>\n\n <po-button\n *ngIf=\"isAllowCancel\"\n p-icon=\"po-icon-close\"\n (p-click)=\"emitCancellation()\"\n p-kind=\"secondary\"\n [p-aria-label]=\"literals.cancel\"\n [p-danger]=\"true\"\n ></po-button>\n </div>\n </div>\n</div>\n" }]
16557
16686
  }], null, null); })();
16558
16687
 
16559
16688
  /**
@@ -16564,17 +16693,17 @@ class PoProgressComponent extends PoProgressBaseComponent {
16564
16693
  class PoProgressModule {
16565
16694
  static ɵfac = function PoProgressModule_Factory(t) { return new (t || PoProgressModule)(); };
16566
16695
  static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoProgressModule });
16567
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
16696
+ static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, PoButtonModule, PoIconModule, PoLabelModule] });
16568
16697
  }
16569
16698
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoProgressModule, [{
16570
16699
  type: NgModule,
16571
16700
  args: [{
16572
- imports: [CommonModule],
16701
+ imports: [CommonModule, PoButtonModule, PoIconModule, PoLabelModule],
16573
16702
  exports: [PoProgressComponent],
16574
16703
  declarations: [PoProgressBarComponent, PoProgressComponent]
16575
16704
  }]
16576
16705
  }], null, null); })();
16577
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoProgressModule, { declarations: [PoProgressBarComponent, PoProgressComponent], imports: [CommonModule], exports: [PoProgressComponent] }); })();
16706
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoProgressModule, { declarations: [PoProgressBarComponent, PoProgressComponent], imports: [CommonModule, PoButtonModule, PoIconModule, PoLabelModule], exports: [PoProgressComponent] }); })();
16578
16707
 
16579
16708
  /**
16580
16709
  * @description
@@ -19572,17 +19701,17 @@ var PoTableRowTemplateArrowDirection;
19572
19701
  *
19573
19702
  * @description
19574
19703
  *
19575
- * Define o tipo de busca usado no po-seach.
19704
+ * Define o tipo de busca usado no po-search.
19576
19705
  */
19577
- var PoFilterMode;
19578
- (function (PoFilterMode) {
19706
+ var PoSearchFilterMode;
19707
+ (function (PoSearchFilterMode) {
19579
19708
  /** Verifica se o texto *inicia* com o valor pesquisado. */
19580
- PoFilterMode[PoFilterMode["startsWith"] = 0] = "startsWith";
19709
+ PoSearchFilterMode[PoSearchFilterMode["startsWith"] = 0] = "startsWith";
19581
19710
  /** Verifica se o texto *contém* o valor pesquisado. */
19582
- PoFilterMode[PoFilterMode["contains"] = 1] = "contains";
19711
+ PoSearchFilterMode[PoSearchFilterMode["contains"] = 1] = "contains";
19583
19712
  /** Verifica se o texto *finaliza* com o valor pesquisado. */
19584
- PoFilterMode[PoFilterMode["endsWith"] = 2] = "endsWith";
19585
- })(PoFilterMode || (PoFilterMode = {}));
19713
+ PoSearchFilterMode[PoSearchFilterMode["endsWith"] = 2] = "endsWith";
19714
+ })(PoSearchFilterMode || (PoSearchFilterMode = {}));
19586
19715
 
19587
19716
  /**
19588
19717
  * @usedBy PoTableComponent
@@ -19933,7 +20062,7 @@ class PoTableBaseComponent {
19933
20062
  *
19934
20063
  * @default `startsWith`
19935
20064
  */
19936
- filterType = PoFilterMode.startsWith;
20065
+ filterType = PoSearchFilterMode.startsWith;
19937
20066
  /**
19938
20067
  * @optional
19939
20068
  *
@@ -20063,6 +20192,7 @@ class PoTableBaseComponent {
20063
20192
  itemsSelected = [];
20064
20193
  paramsFilter;
20065
20194
  filteredItems = [];
20195
+ initialized = false;
20066
20196
  initialVisibleColumns = false;
20067
20197
  _spacing = PoTableColumnSpacing.Medium;
20068
20198
  _filteredColumns;
@@ -20527,6 +20657,10 @@ class PoTableBaseComponent {
20527
20657
  if (changes.height) {
20528
20658
  this.calculateHeightTableContainer(this.height);
20529
20659
  }
20660
+ if ((changes.height || changes.items) && this.initialized) {
20661
+ this.changeHeaderWidth();
20662
+ }
20663
+ this.changeSizeLoading();
20530
20664
  }
20531
20665
  selectAllRows() {
20532
20666
  if (!this.hideSelectAll) {
@@ -21319,20 +21453,17 @@ function PoTableComponent_po_container_4_Template(rf, ctx) { if (rf & 1) {
21319
21453
  i0.ɵɵadvance(1);
21320
21454
  i0.ɵɵproperty("ngTemplateOutlet", _r4);
21321
21455
  } }
21322
- function PoTableComponent_ng_template_5_div_1_Template(rf, ctx) { if (rf & 1) {
21323
- i0.ɵɵelementStart(0, "div", 45);
21324
- i0.ɵɵelement(1, "po-loading", 46);
21325
- i0.ɵɵelementEnd();
21456
+ function PoTableComponent_ng_template_5_po_loading_overlay_1_Template(rf, ctx) { if (rf & 1) {
21457
+ i0.ɵɵelement(0, "po-loading-overlay", 45);
21326
21458
  } if (rf & 2) {
21327
21459
  const ctx_r41 = i0.ɵɵnextContext(2);
21328
- i0.ɵɵadvance(1);
21329
- i0.ɵɵproperty("p-text", ctx_r41.literals.loadingData);
21460
+ i0.ɵɵproperty("p-text", ctx_r41.literals.loadingData)("p-size", ctx_r41.sizeLoading);
21330
21461
  } }
21331
21462
  function PoTableComponent_ng_template_5_div_5_ng_container_3_Template(rf, ctx) { if (rf & 1) {
21332
21463
  i0.ɵɵelementContainer(0);
21333
21464
  } }
21334
21465
  function PoTableComponent_ng_template_5_div_5_Template(rf, ctx) { if (rf & 1) {
21335
- i0.ɵɵelementStart(0, "div", 47)(1, "div", 48, 49);
21466
+ i0.ɵɵelementStart(0, "div", 46)(1, "div", 47, 48);
21336
21467
  i0.ɵɵtemplate(3, PoTableComponent_ng_template_5_div_5_ng_container_3_Template, 1, 0, "ng-container", 37);
21337
21468
  i0.ɵɵelementEnd()();
21338
21469
  } if (rf & 2) {
@@ -21357,7 +21488,7 @@ function PoTableComponent_ng_template_5_div_6_Template(rf, ctx) { if (rf & 1) {
21357
21488
  } }
21358
21489
  function PoTableComponent_ng_template_5_div_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
21359
21490
  i0.ɵɵelementContainerStart(0);
21360
- i0.ɵɵelement(1, "po-table-subtitle-footer", 52);
21491
+ i0.ɵɵelement(1, "po-table-subtitle-footer", 51);
21361
21492
  i0.ɵɵelementContainerEnd();
21362
21493
  } if (rf & 2) {
21363
21494
  const column_r50 = ctx.$implicit;
@@ -21366,8 +21497,8 @@ function PoTableComponent_ng_template_5_div_7_ng_container_1_Template(rf, ctx) {
21366
21497
  i0.ɵɵproperty("p-literals", ctx_r49.literals)("p-subtitles", column_r50.subtitles);
21367
21498
  } }
21368
21499
  function PoTableComponent_ng_template_5_div_7_Template(rf, ctx) { if (rf & 1) {
21369
- i0.ɵɵelementStart(0, "div", 50);
21370
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_5_div_7_ng_container_1_Template, 2, 2, "ng-container", 51);
21500
+ i0.ɵɵelementStart(0, "div", 49);
21501
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_5_div_7_ng_container_1_Template, 2, 2, "ng-container", 50);
21371
21502
  i0.ɵɵelementEnd();
21372
21503
  } if (rf & 2) {
21373
21504
  const ctx_r45 = i0.ɵɵnextContext(2);
@@ -21376,7 +21507,7 @@ function PoTableComponent_ng_template_5_div_7_Template(rf, ctx) { if (rf & 1) {
21376
21507
  } }
21377
21508
  function PoTableComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
21378
21509
  i0.ɵɵelementStart(0, "div");
21379
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_5_div_1_Template, 2, 1, "div", 38);
21510
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_5_po_loading_overlay_1_Template, 1, 2, "po-loading-overlay", 38);
21380
21511
  i0.ɵɵelementStart(2, "div", 39)(3, "div", 40, 41);
21381
21512
  i0.ɵɵtemplate(5, PoTableComponent_ng_template_5_div_5_Template, 4, 3, "div", 42);
21382
21513
  i0.ɵɵtemplate(6, PoTableComponent_ng_template_5_div_6_Template, 2, 1, "div", 43);
@@ -21384,7 +21515,7 @@ function PoTableComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
21384
21515
  i0.ɵɵtemplate(7, PoTableComponent_ng_template_5_div_7_Template, 2, 2, "div", 44);
21385
21516
  } if (rf & 2) {
21386
21517
  const ctx_r5 = i0.ɵɵnextContext();
21387
- i0.ɵɵclassProp("po-table-container-relative", ctx_r5.loading);
21518
+ i0.ɵɵclassProp("po-table-container-sticky", ctx_r5.loading);
21388
21519
  i0.ɵɵadvance(1);
21389
21520
  i0.ɵɵproperty("ngIf", ctx_r5.loading);
21390
21521
  i0.ɵɵadvance(2);
@@ -21399,7 +21530,7 @@ function PoTableComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
21399
21530
  } }
21400
21531
  function PoTableComponent_div_7_Template(rf, ctx) { if (rf & 1) {
21401
21532
  const _r53 = i0.ɵɵgetCurrentView();
21402
- i0.ɵɵelementStart(0, "div", 53, 54)(2, "po-button", 55);
21533
+ i0.ɵɵelementStart(0, "div", 52, 53)(2, "po-button", 54);
21403
21534
  i0.ɵɵlistener("p-click", function PoTableComponent_div_7_Template_po_button_p_click_2_listener() { i0.ɵɵrestoreView(_r53); const ctx_r52 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r52.onShowMore()); });
21404
21535
  i0.ɵɵelementEnd()();
21405
21536
  } if (rf & 2) {
@@ -21410,7 +21541,7 @@ function PoTableComponent_div_7_Template(rf, ctx) { if (rf & 1) {
21410
21541
  } }
21411
21542
  function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template(rf, ctx) { if (rf & 1) {
21412
21543
  const _r69 = i0.ɵɵgetCurrentView();
21413
- i0.ɵɵelementStart(0, "po-checkbox", 69);
21544
+ i0.ɵɵelementStart(0, "po-checkbox", 68);
21414
21545
  i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_p_change_0_listener() { i0.ɵɵrestoreView(_r69); const ctx_r68 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r68.selectAllRows()); });
21415
21546
  i0.ɵɵelementEnd();
21416
21547
  } if (rf & 2) {
@@ -21418,8 +21549,8 @@ function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template(rf, ctx) { i
21418
21549
  i0.ɵɵproperty("p-checkboxValue", ctx_r67.selectAll === null ? "mixed" : ctx_r67.selectAll);
21419
21550
  } }
21420
21551
  function PoTableComponent_ng_template_8_th_3_Template(rf, ctx) { if (rf & 1) {
21421
- i0.ɵɵelementStart(0, "th", 67)(1, "div");
21422
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template, 1, 1, "po-checkbox", 68);
21552
+ i0.ɵɵelementStart(0, "th", 66)(1, "div");
21553
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template, 1, 1, "po-checkbox", 67);
21423
21554
  i0.ɵɵelementEnd()();
21424
21555
  } if (rf & 2) {
21425
21556
  const ctx_r54 = i0.ɵɵnextContext(2);
@@ -21430,10 +21561,10 @@ function PoTableComponent_ng_template_8_th_3_Template(rf, ctx) { if (rf & 1) {
21430
21561
  i0.ɵɵproperty("ngIf", !ctx_r54.hideSelectAll);
21431
21562
  } }
21432
21563
  function PoTableComponent_ng_template_8_th_4_Template(rf, ctx) { if (rf & 1) {
21433
- i0.ɵɵelement(0, "th", 70);
21564
+ i0.ɵɵelement(0, "th", 69);
21434
21565
  } }
21435
21566
  function PoTableComponent_ng_template_8_th_5_Template(rf, ctx) { if (rf & 1) {
21436
- i0.ɵɵelement(0, "th", null, 71);
21567
+ i0.ɵɵelement(0, "th", null, 70);
21437
21568
  } if (rf & 2) {
21438
21569
  const ctx_r56 = i0.ɵɵnextContext(2);
21439
21570
  i0.ɵɵclassProp("po-table-header-master-detail", !ctx_r56.isSingleAction)("po-table-header-single-action", ctx_r56.isSingleAction);
@@ -21442,8 +21573,8 @@ function PoTableComponent_ng_template_8_th_6_ng_container_2_Template(rf, ctx) {
21442
21573
  i0.ɵɵelementContainer(0);
21443
21574
  } }
21444
21575
  function PoTableComponent_ng_template_8_th_6_Template(rf, ctx) { if (rf & 1) {
21445
- i0.ɵɵelementStart(0, "th", 72, 73);
21446
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_6_ng_container_2_Template, 1, 0, "ng-container", 62);
21576
+ i0.ɵɵelementStart(0, "th", 71, 72);
21577
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_6_ng_container_2_Template, 1, 0, "ng-container", 61);
21447
21578
  i0.ɵɵelementEnd();
21448
21579
  } if (rf & 2) {
21449
21580
  const ctx_r57 = i0.ɵɵnextContext(2);
@@ -21458,8 +21589,8 @@ function PoTableComponent_ng_template_8_ng_container_7_Template(rf, ctx) { if (r
21458
21589
  function PoTableComponent_ng_template_8_ng_template_8_th_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
21459
21590
  i0.ɵɵelementContainerStart(0);
21460
21591
  i0.ɵɵnamespaceSVG();
21461
- i0.ɵɵelementStart(1, "svg", 78);
21462
- i0.ɵɵelement(2, "circle", 79)(3, "circle", 80)(4, "circle", 81)(5, "circle", 82)(6, "circle", 83)(7, "circle", 84);
21592
+ i0.ɵɵelementStart(1, "svg", 77);
21593
+ i0.ɵɵelement(2, "circle", 78)(3, "circle", 79)(4, "circle", 80)(5, "circle", 81)(6, "circle", 82)(7, "circle", 83);
21463
21594
  i0.ɵɵelementEnd();
21464
21595
  i0.ɵɵelementContainerEnd();
21465
21596
  } }
@@ -21470,13 +21601,13 @@ const _c15 = function (a0) { return { "po-table-header-sorted": a0 }; };
21470
21601
  const _c16 = function (a0) { return { $implicit: a0 }; };
21471
21602
  function PoTableComponent_ng_template_8_ng_template_8_th_0_Template(rf, ctx) { if (rf & 1) {
21472
21603
  const _r79 = i0.ɵɵgetCurrentView();
21473
- i0.ɵɵelementStart(0, "th", 75);
21604
+ i0.ɵɵelementStart(0, "th", 74);
21474
21605
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_template_8_th_0_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r79); const column_r74 = restoredCtx.$implicit; const ctx_r78 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r78.sortColumn(column_r74)); });
21475
21606
  i0.ɵɵpipe(1, "lowercase");
21476
21607
  i0.ɵɵpipe(2, "titlecase");
21477
- i0.ɵɵelementStart(3, "div", 76);
21608
+ i0.ɵɵelementStart(3, "div", 75);
21478
21609
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_template_8_th_0_ng_container_4_Template, 8, 0, "ng-container", 43);
21479
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_template_8_th_0_ng_container_5_Template, 1, 0, "ng-container", 77);
21610
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_template_8_th_0_ng_container_5_Template, 1, 0, "ng-container", 76);
21480
21611
  i0.ɵɵelementEnd()();
21481
21612
  } if (rf & 2) {
21482
21613
  const column_r74 = ctx.$implicit;
@@ -21494,7 +21625,7 @@ function PoTableComponent_ng_template_8_ng_template_8_th_0_Template(rf, ctx) { i
21494
21625
  i0.ɵɵproperty("ngTemplateOutlet", _r18)("ngTemplateOutletContext", i0.ɵɵpureFunction1(31, _c16, column_r74));
21495
21626
  } }
21496
21627
  function PoTableComponent_ng_template_8_ng_template_8_Template(rf, ctx) { if (rf & 1) {
21497
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_template_8_th_0_Template, 6, 33, "th", 74);
21628
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_template_8_th_0_Template, 6, 33, "th", 73);
21498
21629
  } if (rf & 2) {
21499
21630
  const ctx_r60 = i0.ɵɵnextContext(2);
21500
21631
  i0.ɵɵproperty("ngForOf", ctx_r60.mainColumns)("ngForTrackBy", ctx_r60.trackBy);
@@ -21504,12 +21635,12 @@ function PoTableComponent_ng_template_8_ng_template_10_th_0_ng_container_4_Templ
21504
21635
  } }
21505
21636
  function PoTableComponent_ng_template_8_ng_template_10_th_0_Template(rf, ctx) { if (rf & 1) {
21506
21637
  const _r85 = i0.ɵɵgetCurrentView();
21507
- i0.ɵɵelementStart(0, "th", 86);
21638
+ i0.ɵɵelementStart(0, "th", 85);
21508
21639
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_template_10_th_0_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r85); const column_r81 = restoredCtx.$implicit; const ctx_r84 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r84.sortColumn(column_r81)); });
21509
21640
  i0.ɵɵpipe(1, "lowercase");
21510
21641
  i0.ɵɵpipe(2, "titlecase");
21511
- i0.ɵɵelementStart(3, "div", 76);
21512
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_template_10_th_0_ng_container_4_Template, 1, 0, "ng-container", 77);
21642
+ i0.ɵɵelementStart(3, "div", 75);
21643
+ i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_template_10_th_0_ng_container_4_Template, 1, 0, "ng-container", 76);
21513
21644
  i0.ɵɵelementEnd()();
21514
21645
  } if (rf & 2) {
21515
21646
  const column_r81 = ctx.$implicit;
@@ -21525,13 +21656,13 @@ function PoTableComponent_ng_template_8_ng_template_10_th_0_Template(rf, ctx) {
21525
21656
  i0.ɵɵproperty("ngTemplateOutlet", _r18)("ngTemplateOutletContext", i0.ɵɵpureFunction1(27, _c16, column_r81));
21526
21657
  } }
21527
21658
  function PoTableComponent_ng_template_8_ng_template_10_Template(rf, ctx) { if (rf & 1) {
21528
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_template_10_th_0_Template, 5, 29, "th", 85);
21659
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_template_10_th_0_Template, 5, 29, "th", 84);
21529
21660
  } if (rf & 2) {
21530
21661
  const ctx_r62 = i0.ɵɵnextContext(2);
21531
21662
  i0.ɵɵproperty("ngForOf", ctx_r62.mainColumns)("ngForTrackBy", ctx_r62.trackBy);
21532
21663
  } }
21533
21664
  function PoTableComponent_ng_template_8_th_12_Template(rf, ctx) { if (rf & 1) {
21534
- i0.ɵɵelement(0, "th", 70);
21665
+ i0.ɵɵelement(0, "th", 69);
21535
21666
  } }
21536
21667
  function PoTableComponent_ng_template_8_th_13_Template(rf, ctx) { if (rf & 1) {
21537
21668
  i0.ɵɵelement(0, "th");
@@ -21540,7 +21671,7 @@ function PoTableComponent_ng_template_8_th_13_Template(rf, ctx) { if (rf & 1) {
21540
21671
  i0.ɵɵclassProp("po-table-header-single-action", ctx_r64.isSingleAction)("po-table-header-actions", !ctx_r64.isSingleAction);
21541
21672
  } }
21542
21673
  function PoTableComponent_ng_template_8_tbody_14_Template(rf, ctx) { if (rf & 1) {
21543
- i0.ɵɵelementStart(0, "tbody", 87)(1, "tr", 88)(2, "td", 89)(3, "span");
21674
+ i0.ɵɵelementStart(0, "tbody", 86)(1, "tr", 87)(2, "td", 88)(3, "span");
21544
21675
  i0.ɵɵtext(4);
21545
21676
  i0.ɵɵelementEnd()()()();
21546
21677
  } if (rf & 2) {
@@ -21554,8 +21685,8 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_ng_containe
21554
21685
  i0.ɵɵelementContainer(0);
21555
21686
  } }
21556
21687
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_Template(rf, ctx) { if (rf & 1) {
21557
- i0.ɵɵelementStart(0, "td", 67);
21558
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 77);
21688
+ i0.ɵɵelementStart(0, "td", 66);
21689
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 76);
21559
21690
  i0.ɵɵelementEnd();
21560
21691
  } if (rf & 2) {
21561
21692
  const row_r87 = i0.ɵɵnextContext().$implicit;
@@ -21569,9 +21700,9 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_ng_template
21569
21700
  const _c17 = function (a0, a1) { return { row: a0, rowIndex: a1 }; };
21570
21701
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_Template(rf, ctx) { if (rf & 1) {
21571
21702
  const _r103 = i0.ɵɵgetCurrentView();
21572
- i0.ɵɵelementStart(0, "td", 95);
21703
+ i0.ɵɵelementStart(0, "td", 94);
21573
21704
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r103); const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r101 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r101.toggleDetail(row_r87)); });
21574
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 96);
21705
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 95);
21575
21706
  i0.ɵɵelementEnd();
21576
21707
  } if (rf & 2) {
21577
21708
  const ctx_r104 = i0.ɵɵnextContext();
@@ -21584,7 +21715,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_Template(rf
21584
21715
  } }
21585
21716
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_ng_template_0_Template(rf, ctx) { }
21586
21717
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_Template(rf, ctx) { if (rf & 1) {
21587
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 96);
21718
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 95);
21588
21719
  } if (rf & 2) {
21589
21720
  const ctx_r106 = i0.ɵɵnextContext();
21590
21721
  const row_r87 = ctx_r106.$implicit;
@@ -21596,9 +21727,9 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_Template(rf, c
21596
21727
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
21597
21728
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_Template(rf, ctx) { if (rf & 1) {
21598
21729
  const _r110 = i0.ɵɵgetCurrentView();
21599
- i0.ɵɵelementStart(0, "td", 95);
21730
+ i0.ɵɵelementStart(0, "td", 94);
21600
21731
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r110); const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r108 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r108.toggleDetail(row_r87)); });
21601
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 96);
21732
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 95);
21602
21733
  i0.ɵɵelementEnd();
21603
21734
  } if (rf & 2) {
21604
21735
  const ctx_r111 = i0.ɵɵnextContext();
@@ -21614,7 +21745,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_ng_c
21614
21745
  } }
21615
21746
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_Template(rf, ctx) { if (rf & 1) {
21616
21747
  i0.ɵɵelementStart(0, "span");
21617
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 77);
21748
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 76);
21618
21749
  i0.ɵɵelementEnd();
21619
21750
  } if (rf & 2) {
21620
21751
  const column_r112 = i0.ɵɵnextContext().$implicit;
@@ -21629,7 +21760,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_ng_c
21629
21760
  const _c18 = function (a0, a1) { return { row: a0, column: a1 }; };
21630
21761
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_Template(rf, ctx) { if (rf & 1) {
21631
21762
  i0.ɵɵelementStart(0, "span");
21632
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 77);
21763
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 76);
21633
21764
  i0.ɵɵelementEnd();
21634
21765
  } if (rf & 2) {
21635
21766
  const column_r112 = i0.ɵɵnextContext().$implicit;
@@ -21710,7 +21841,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_9_Temp
21710
21841
  } }
21711
21842
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) { if (rf & 1) {
21712
21843
  const _r147 = i0.ɵɵgetCurrentView();
21713
- i0.ɵɵelementStart(0, "po-table-column-link", 103);
21844
+ i0.ɵɵelementStart(0, "po-table-column-link", 102);
21714
21845
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(_r147); const column_r112 = i0.ɵɵnextContext().$implicit; const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r145 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r145.onClickLink($event, row_r87, column_r112)); });
21715
21846
  i0.ɵɵelementEnd();
21716
21847
  } if (rf & 2) {
@@ -21720,7 +21851,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_co
21720
21851
  i0.ɵɵproperty("p-action", column_r112.action)("p-disabled", ctx_r122.checkDisabled(row_r87, column_r112))("p-link", row_r87[column_r112.link])("p-row", row_r87)("p-value", ctx_r122.getCellData(row_r87, column_r112));
21721
21852
  } }
21722
21853
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) { if (rf & 1) {
21723
- i0.ɵɵelement(0, "po-table-column-icon", 104);
21854
+ i0.ɵɵelement(0, "po-table-column-icon", 103);
21724
21855
  } if (rf & 2) {
21725
21856
  const column_r112 = i0.ɵɵnextContext().$implicit;
21726
21857
  const row_r87 = i0.ɵɵnextContext().$implicit;
@@ -21729,7 +21860,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_co
21729
21860
  } }
21730
21861
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_12_Template(rf, ctx) { if (rf & 1) {
21731
21862
  i0.ɵɵelementStart(0, "span");
21732
- i0.ɵɵelement(1, "po-table-subtitle-circle", 105);
21863
+ i0.ɵɵelement(1, "po-table-subtitle-circle", 104);
21733
21864
  i0.ɵɵelementEnd();
21734
21865
  } if (rf & 2) {
21735
21866
  const column_r112 = i0.ɵɵnextContext().$implicit;
@@ -21740,7 +21871,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_12_Tem
21740
21871
  } }
21741
21872
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_13_Template(rf, ctx) { if (rf & 1) {
21742
21873
  i0.ɵɵelementStart(0, "span");
21743
- i0.ɵɵelement(1, "po-table-column-label", 106);
21874
+ i0.ɵɵelement(1, "po-table-column-label", 105);
21744
21875
  i0.ɵɵelementEnd();
21745
21876
  } if (rf & 2) {
21746
21877
  const column_r112 = i0.ɵɵnextContext().$implicit;
@@ -21762,23 +21893,23 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_14_Tem
21762
21893
  } }
21763
21894
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template(rf, ctx) { if (rf & 1) {
21764
21895
  const _r160 = i0.ɵɵgetCurrentView();
21765
- i0.ɵɵelementStart(0, "td", 97);
21896
+ i0.ɵɵelementStart(0, "td", 96);
21766
21897
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r160); const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r159 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r159.hasSelectableRow() ? ctx_r159.selectRow(row_r87) : "javascript:;"); });
21767
- i0.ɵɵelementStart(1, "div", 98);
21898
+ i0.ɵɵelementStart(1, "div", 97);
21768
21899
  i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r160); const column_r112 = restoredCtx.$implicit; const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r162 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r162.tooltipMouseEnter($event, column_r112, row_r87)); })("mouseleave", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r160); const ctx_r164 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r164.tooltipMouseLeave()); });
21769
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_Template, 2, 4, "span", 99);
21770
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_Template, 2, 5, "span", 99);
21771
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_4_Template, 2, 1, "span", 99);
21772
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_5_Template, 3, 6, "span", 99);
21773
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_6_Template, 3, 4, "span", 99);
21774
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_7_Template, 3, 4, "span", 99);
21775
- i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_8_Template, 3, 4, "span", 99);
21776
- i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_9_Template, 2, 1, "span", 99);
21777
- i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 100);
21778
- i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 101);
21779
- i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_12_Template, 2, 1, "span", 99);
21780
- i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_13_Template, 2, 1, "span", 99);
21781
- i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_14_Template, 2, 1, "span", 102);
21900
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_2_Template, 2, 4, "span", 98);
21901
+ i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_3_Template, 2, 5, "span", 98);
21902
+ i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_4_Template, 2, 1, "span", 98);
21903
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_5_Template, 3, 6, "span", 98);
21904
+ i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_6_Template, 3, 4, "span", 98);
21905
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_7_Template, 3, 4, "span", 98);
21906
+ i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_8_Template, 3, 4, "span", 98);
21907
+ i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_9_Template, 2, 1, "span", 98);
21908
+ i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 99);
21909
+ i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 100);
21910
+ i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_12_Template, 2, 1, "span", 98);
21911
+ i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_13_Template, 2, 1, "span", 98);
21912
+ i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_span_14_Template, 2, 1, "span", 101);
21782
21913
  i0.ɵɵelementEnd()();
21783
21914
  } if (rf & 2) {
21784
21915
  const column_r112 = ctx.$implicit;
@@ -21817,9 +21948,9 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template(rf
21817
21948
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
21818
21949
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_Template(rf, ctx) { if (rf & 1) {
21819
21950
  const _r169 = i0.ɵɵgetCurrentView();
21820
- i0.ɵɵelementStart(0, "td", 95);
21951
+ i0.ɵɵelementStart(0, "td", 94);
21821
21952
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r169); const row_r87 = i0.ɵɵnextContext().$implicit; const ctx_r167 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r167.toggleDetail(row_r87)); });
21822
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 96);
21953
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 95);
21823
21954
  i0.ɵɵelementEnd();
21824
21955
  } if (rf & 2) {
21825
21956
  const ctx_r170 = i0.ɵɵnextContext();
@@ -21832,7 +21963,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_Template(rf
21832
21963
  } }
21833
21964
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_ng_template_0_Template(rf, ctx) { }
21834
21965
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_Template(rf, ctx) { if (rf & 1) {
21835
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 96);
21966
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 95);
21836
21967
  } if (rf & 2) {
21837
21968
  const ctx_r172 = i0.ɵɵnextContext();
21838
21969
  const row_r87 = ctx_r172.$implicit;
@@ -21844,8 +21975,8 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_Template(rf, c
21844
21975
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_ng_template_2_Template(rf, ctx) { }
21845
21976
  const _c19 = function (a0, a1) { return { $implicit: a0, rowIndex: a1 }; };
21846
21977
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_Template(rf, ctx) { if (rf & 1) {
21847
- i0.ɵɵelementStart(0, "tr")(1, "td", 107);
21848
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_ng_template_2_Template, 0, 0, "ng-template", 96);
21978
+ i0.ɵɵelementStart(0, "tr")(1, "td", 106);
21979
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_ng_template_2_Template, 0, 0, "ng-template", 95);
21849
21980
  i0.ɵɵelementEnd()();
21850
21981
  } if (rf & 2) {
21851
21982
  const ctx_r174 = i0.ɵɵnextContext();
@@ -21859,7 +21990,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_Template(rf
21859
21990
  } }
21860
21991
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_10_Template(rf, ctx) { if (rf & 1) {
21861
21992
  const _r176 = i0.ɵɵgetCurrentView();
21862
- i0.ɵɵelementStart(0, "tr")(1, "td", 108)(2, "po-table-detail", 109);
21993
+ i0.ɵɵelementStart(0, "tr")(1, "td", 107)(2, "po-table-detail", 108);
21863
21994
  i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_10_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(_r176); const ctx_r175 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r175.selectDetailRow($event)); });
21864
21995
  i0.ɵɵelementEnd()()();
21865
21996
  } if (rf & 2) {
@@ -21871,13 +22002,13 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_10_Template(r
21871
22002
  i0.ɵɵproperty("p-selectable", ctx_r97.selectable && !ctx_r97.detailHideSelect)("p-detail", ctx_r97.columnMasterDetail.detail)("p-items", row_r87[ctx_r97.nameColumnDetail]);
21872
22003
  } }
21873
22004
  function PoTableComponent_ng_template_8_ng_container_15_tbody_1_Template(rf, ctx) { if (rf & 1) {
21874
- i0.ɵɵelementStart(0, "tbody", 87)(1, "tr", 91);
21875
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_Template, 2, 4, "td", 92);
21876
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_Template, 2, 5, "td", 93);
22005
+ i0.ɵɵelementStart(0, "tbody", 86)(1, "tr", 90);
22006
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_2_Template, 2, 4, "td", 91);
22007
+ i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_3_Template, 2, 5, "td", 92);
21877
22008
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_15_tbody_1_4_Template, 1, 5, null, 43);
21878
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_Template, 2, 5, "td", 93);
21879
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template, 15, 31, "td", 94);
21880
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_Template, 2, 5, "td", 93);
22009
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_5_Template, 2, 5, "td", 92);
22010
+ i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_6_Template, 15, 31, "td", 93);
22011
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_15_tbody_1_td_7_Template, 2, 5, "td", 92);
21881
22012
  i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_15_tbody_1_8_Template, 1, 5, null, 43);
21882
22013
  i0.ɵɵelementEnd();
21883
22014
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_15_tbody_1_tr_9_Template, 3, 6, "tr", 43);
@@ -21910,7 +22041,7 @@ function PoTableComponent_ng_template_8_ng_container_15_tbody_1_Template(rf, ctx
21910
22041
  } }
21911
22042
  function PoTableComponent_ng_template_8_ng_container_15_Template(rf, ctx) { if (rf & 1) {
21912
22043
  i0.ɵɵelementContainerStart(0);
21913
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_Template, 11, 12, "tbody", 90);
22044
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_15_tbody_1_Template, 11, 12, "tbody", 89);
21914
22045
  i0.ɵɵelementContainerEnd();
21915
22046
  } if (rf & 2) {
21916
22047
  const ctx_r66 = i0.ɵɵnextContext(2);
@@ -21921,19 +22052,19 @@ const _c20 = function (a0, a1, a2) { return { "po-table-interactive": a0, "po-ta
21921
22052
  const _c21 = function (a0, a1) { return { "no-hover": a0, "po-table-column-drag": a1 }; };
21922
22053
  function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
21923
22054
  const _r179 = i0.ɵɵgetCurrentView();
21924
- i0.ɵɵelementStart(0, "table", 56)(1, "thead")(2, "tr", 57);
22055
+ i0.ɵɵelementStart(0, "table", 55)(1, "thead")(2, "tr", 56);
21925
22056
  i0.ɵɵlistener("cdkDropListDropped", function PoTableComponent_ng_template_8_Template_tr_cdkDropListDropped_2_listener($event) { i0.ɵɵrestoreView(_r179); const ctx_r178 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r178.drop($event)); });
21926
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_th_3_Template, 3, 5, "th", 58);
21927
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_th_4_Template, 1, 0, "th", 59);
21928
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_th_5_Template, 2, 4, "th", 60);
21929
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_th_6_Template, 3, 3, "th", 61);
21930
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_7_Template, 1, 0, "ng-container", 62);
21931
- i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_template_8_Template, 1, 2, "ng-template", null, 63, i0.ɵɵtemplateRefExtractor);
21932
- i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_template_10_Template, 1, 2, "ng-template", null, 64, i0.ɵɵtemplateRefExtractor);
21933
- i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_th_12_Template, 1, 0, "th", 59);
21934
- i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_th_13_Template, 1, 4, "th", 65);
22057
+ i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_th_3_Template, 3, 5, "th", 57);
22058
+ i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_th_4_Template, 1, 0, "th", 58);
22059
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_th_5_Template, 2, 4, "th", 59);
22060
+ i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_th_6_Template, 3, 3, "th", 60);
22061
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_7_Template, 1, 0, "ng-container", 61);
22062
+ i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_template_8_Template, 1, 2, "ng-template", null, 62, i0.ɵɵtemplateRefExtractor);
22063
+ i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_template_10_Template, 1, 2, "ng-template", null, 63, i0.ɵɵtemplateRefExtractor);
22064
+ i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_th_12_Template, 1, 0, "th", 58);
22065
+ i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_th_13_Template, 1, 4, "th", 64);
21935
22066
  i0.ɵɵelementEnd()();
21936
- i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_tbody_14_Template, 5, 2, "tbody", 66);
22067
+ i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_tbody_14_Template, 5, 2, "tbody", 65);
21937
22068
  i0.ɵɵtemplate(15, PoTableComponent_ng_template_8_ng_container_15_Template, 2, 2, "ng-container", 43);
21938
22069
  i0.ɵɵelementEnd();
21939
22070
  } if (rf & 2) {
@@ -21966,7 +22097,7 @@ function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
21966
22097
  } }
21967
22098
  function PoTableComponent_ng_template_10_th_5_po_checkbox_2_Template(rf, ctx) { if (rf & 1) {
21968
22099
  const _r196 = i0.ɵɵgetCurrentView();
21969
- i0.ɵɵelementStart(0, "po-checkbox", 69);
22100
+ i0.ɵɵelementStart(0, "po-checkbox", 68);
21970
22101
  i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_10_th_5_po_checkbox_2_Template_po_checkbox_p_change_0_listener() { i0.ɵɵrestoreView(_r196); const ctx_r195 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r195.selectAllRows()); });
21971
22102
  i0.ɵɵelementEnd();
21972
22103
  } if (rf & 2) {
@@ -21974,8 +22105,8 @@ function PoTableComponent_ng_template_10_th_5_po_checkbox_2_Template(rf, ctx) {
21974
22105
  i0.ɵɵproperty("p-checkboxValue", ctx_r194.selectAll === null ? "mixed" : ctx_r194.selectAll);
21975
22106
  } }
21976
22107
  function PoTableComponent_ng_template_10_th_5_Template(rf, ctx) { if (rf & 1) {
21977
- i0.ɵɵelementStart(0, "th", 67)(1, "div");
21978
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_th_5_po_checkbox_2_Template, 1, 1, "po-checkbox", 68);
22108
+ i0.ɵɵelementStart(0, "th", 66)(1, "div");
22109
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_th_5_po_checkbox_2_Template, 1, 1, "po-checkbox", 67);
21979
22110
  i0.ɵɵelementEnd()();
21980
22111
  } if (rf & 2) {
21981
22112
  const ctx_r181 = i0.ɵɵnextContext(2);
@@ -21986,10 +22117,10 @@ function PoTableComponent_ng_template_10_th_5_Template(rf, ctx) { if (rf & 1) {
21986
22117
  i0.ɵɵproperty("ngIf", !ctx_r181.hideSelectAll);
21987
22118
  } }
21988
22119
  function PoTableComponent_ng_template_10_th_6_Template(rf, ctx) { if (rf & 1) {
21989
- i0.ɵɵelement(0, "th", 70);
22120
+ i0.ɵɵelement(0, "th", 69);
21990
22121
  } }
21991
22122
  function PoTableComponent_ng_template_10_th_7_Template(rf, ctx) { if (rf & 1) {
21992
- i0.ɵɵelement(0, "th", null, 71);
22123
+ i0.ɵɵelement(0, "th", null, 70);
21993
22124
  } if (rf & 2) {
21994
22125
  const ctx_r183 = i0.ɵɵnextContext(2);
21995
22126
  i0.ɵɵclassProp("po-table-header-master-detail", !ctx_r183.isSingleAction)("po-table-header-single-action", ctx_r183.isSingleAction);
@@ -21998,8 +22129,8 @@ function PoTableComponent_ng_template_10_th_8_ng_container_2_Template(rf, ctx) {
21998
22129
  i0.ɵɵelementContainer(0);
21999
22130
  } }
22000
22131
  function PoTableComponent_ng_template_10_th_8_Template(rf, ctx) { if (rf & 1) {
22001
- i0.ɵɵelementStart(0, "th", 72, 73);
22002
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_th_8_ng_container_2_Template, 1, 0, "ng-container", 62);
22132
+ i0.ɵɵelementStart(0, "th", 71, 72);
22133
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_th_8_ng_container_2_Template, 1, 0, "ng-container", 61);
22003
22134
  i0.ɵɵelementEnd();
22004
22135
  } if (rf & 2) {
22005
22136
  const ctx_r184 = i0.ɵɵnextContext(2);
@@ -22014,8 +22145,8 @@ function PoTableComponent_ng_template_10_ng_container_9_Template(rf, ctx) { if (
22014
22145
  function PoTableComponent_ng_template_10_ng_template_10_th_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
22015
22146
  i0.ɵɵelementContainerStart(0);
22016
22147
  i0.ɵɵnamespaceSVG();
22017
- i0.ɵɵelementStart(1, "svg", 78);
22018
- i0.ɵɵelement(2, "circle", 79)(3, "circle", 80)(4, "circle", 81)(5, "circle", 82)(6, "circle", 83)(7, "circle", 84);
22148
+ i0.ɵɵelementStart(1, "svg", 77);
22149
+ i0.ɵɵelement(2, "circle", 78)(3, "circle", 79)(4, "circle", 80)(5, "circle", 81)(6, "circle", 82)(7, "circle", 83);
22019
22150
  i0.ɵɵelementEnd();
22020
22151
  i0.ɵɵelementContainerEnd();
22021
22152
  } }
@@ -22025,13 +22156,13 @@ function PoTableComponent_ng_template_10_ng_template_10_th_0_ng_container_5_Temp
22025
22156
  const _c22 = function (a0) { return { "width": a0 }; };
22026
22157
  function PoTableComponent_ng_template_10_ng_template_10_th_0_Template(rf, ctx) { if (rf & 1) {
22027
22158
  const _r206 = i0.ɵɵgetCurrentView();
22028
- i0.ɵɵelementStart(0, "th", 118);
22159
+ i0.ɵɵelementStart(0, "th", 117);
22029
22160
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_template_10_th_0_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r206); const column_r201 = restoredCtx.$implicit; const ctx_r205 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r205.sortColumn(column_r201)); });
22030
22161
  i0.ɵɵpipe(1, "lowercase");
22031
22162
  i0.ɵɵpipe(2, "titlecase");
22032
- i0.ɵɵelementStart(3, "div", 76);
22163
+ i0.ɵɵelementStart(3, "div", 75);
22033
22164
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_template_10_th_0_ng_container_4_Template, 8, 0, "ng-container", 43);
22034
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_template_10_th_0_ng_container_5_Template, 1, 0, "ng-container", 77);
22165
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_template_10_th_0_ng_container_5_Template, 1, 0, "ng-container", 76);
22035
22166
  i0.ɵɵelementEnd()();
22036
22167
  } if (rf & 2) {
22037
22168
  const column_r201 = ctx.$implicit;
@@ -22049,7 +22180,7 @@ function PoTableComponent_ng_template_10_ng_template_10_th_0_Template(rf, ctx) {
22049
22180
  i0.ɵɵproperty("ngTemplateOutlet", _r18)("ngTemplateOutletContext", i0.ɵɵpureFunction1(34, _c16, column_r201));
22050
22181
  } }
22051
22182
  function PoTableComponent_ng_template_10_ng_template_10_Template(rf, ctx) { if (rf & 1) {
22052
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_template_10_th_0_Template, 6, 36, "th", 117);
22183
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_template_10_th_0_Template, 6, 36, "th", 116);
22053
22184
  } if (rf & 2) {
22054
22185
  const ctx_r187 = i0.ɵɵnextContext(2);
22055
22186
  i0.ɵɵproperty("ngForOf", ctx_r187.mainColumns)("ngForTrackBy", ctx_r187.trackBy);
@@ -22059,12 +22190,12 @@ function PoTableComponent_ng_template_10_ng_template_12_th_0_ng_container_4_Temp
22059
22190
  } }
22060
22191
  function PoTableComponent_ng_template_10_ng_template_12_th_0_Template(rf, ctx) { if (rf & 1) {
22061
22192
  const _r212 = i0.ɵɵgetCurrentView();
22062
- i0.ɵɵelementStart(0, "th", 120);
22193
+ i0.ɵɵelementStart(0, "th", 119);
22063
22194
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_template_12_th_0_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r212); const column_r208 = restoredCtx.$implicit; const ctx_r211 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r211.sortColumn(column_r208)); });
22064
22195
  i0.ɵɵpipe(1, "lowercase");
22065
22196
  i0.ɵɵpipe(2, "titlecase");
22066
- i0.ɵɵelementStart(3, "div", 76);
22067
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_template_12_th_0_ng_container_4_Template, 1, 0, "ng-container", 77);
22197
+ i0.ɵɵelementStart(3, "div", 75);
22198
+ i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_template_12_th_0_ng_container_4_Template, 1, 0, "ng-container", 76);
22068
22199
  i0.ɵɵelementEnd()();
22069
22200
  } if (rf & 2) {
22070
22201
  const column_r208 = ctx.$implicit;
@@ -22080,13 +22211,13 @@ function PoTableComponent_ng_template_10_ng_template_12_th_0_Template(rf, ctx) {
22080
22211
  i0.ɵɵproperty("ngTemplateOutlet", _r18)("ngTemplateOutletContext", i0.ɵɵpureFunction1(30, _c16, column_r208));
22081
22212
  } }
22082
22213
  function PoTableComponent_ng_template_10_ng_template_12_Template(rf, ctx) { if (rf & 1) {
22083
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_template_12_th_0_Template, 5, 32, "th", 119);
22214
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_template_12_th_0_Template, 5, 32, "th", 118);
22084
22215
  } if (rf & 2) {
22085
22216
  const ctx_r189 = i0.ɵɵnextContext(2);
22086
22217
  i0.ɵɵproperty("ngForOf", ctx_r189.mainColumns)("ngForTrackBy", ctx_r189.trackBy);
22087
22218
  } }
22088
22219
  function PoTableComponent_ng_template_10_th_14_Template(rf, ctx) { if (rf & 1) {
22089
- i0.ɵɵelement(0, "th", 70);
22220
+ i0.ɵɵelement(0, "th", 69);
22090
22221
  } }
22091
22222
  function PoTableComponent_ng_template_10_th_15_Template(rf, ctx) { if (rf & 1) {
22092
22223
  i0.ɵɵelement(0, "th");
@@ -22095,7 +22226,7 @@ function PoTableComponent_ng_template_10_th_15_Template(rf, ctx) { if (rf & 1) {
22095
22226
  i0.ɵɵclassProp("po-table-header-single-action", ctx_r191.isSingleAction)("po-table-header-actions", !ctx_r191.isSingleAction);
22096
22227
  } }
22097
22228
  function PoTableComponent_ng_template_10_tbody_16_Template(rf, ctx) { if (rf & 1) {
22098
- i0.ɵɵelementStart(0, "tbody", 87)(1, "tr", 88)(2, "td", 89)(3, "span");
22229
+ i0.ɵɵelementStart(0, "tbody", 86)(1, "tr", 87)(2, "td", 88)(3, "span");
22099
22230
  i0.ɵɵtext(4);
22100
22231
  i0.ɵɵelementEnd()()()();
22101
22232
  } if (rf & 2) {
@@ -22109,8 +22240,8 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_ng_contain
22109
22240
  i0.ɵɵelementContainer(0);
22110
22241
  } }
22111
22242
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_Template(rf, ctx) { if (rf & 1) {
22112
- i0.ɵɵelementStart(0, "td", 67);
22113
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 77);
22243
+ i0.ɵɵelementStart(0, "td", 66);
22244
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 76);
22114
22245
  i0.ɵɵelementEnd();
22115
22246
  } if (rf & 2) {
22116
22247
  const row_r214 = i0.ɵɵnextContext().$implicit;
@@ -22123,9 +22254,9 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_Template(r
22123
22254
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_ng_template_1_Template(rf, ctx) { }
22124
22255
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_Template(rf, ctx) { if (rf & 1) {
22125
22256
  const _r230 = i0.ɵɵgetCurrentView();
22126
- i0.ɵɵelementStart(0, "td", 95);
22257
+ i0.ɵɵelementStart(0, "td", 94);
22127
22258
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r230); const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r228 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r228.toggleDetail(row_r214)); });
22128
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 96);
22259
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 95);
22129
22260
  i0.ɵɵelementEnd();
22130
22261
  } if (rf & 2) {
22131
22262
  const ctx_r231 = i0.ɵɵnextContext();
@@ -22138,7 +22269,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_Template(r
22138
22269
  } }
22139
22270
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_ng_template_0_Template(rf, ctx) { }
22140
22271
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_Template(rf, ctx) { if (rf & 1) {
22141
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 96);
22272
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 95);
22142
22273
  } if (rf & 2) {
22143
22274
  const ctx_r233 = i0.ɵɵnextContext();
22144
22275
  const row_r214 = ctx_r233.$implicit;
@@ -22150,9 +22281,9 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_Template(rf,
22150
22281
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
22151
22282
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_Template(rf, ctx) { if (rf & 1) {
22152
22283
  const _r237 = i0.ɵɵgetCurrentView();
22153
- i0.ɵɵelementStart(0, "td", 95);
22284
+ i0.ɵɵelementStart(0, "td", 94);
22154
22285
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r237); const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r235 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r235.toggleDetail(row_r214)); });
22155
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 96);
22286
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 95);
22156
22287
  i0.ɵɵelementEnd();
22157
22288
  } if (rf & 2) {
22158
22289
  const ctx_r238 = i0.ɵɵnextContext();
@@ -22168,7 +22299,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_ng_
22168
22299
  } }
22169
22300
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_Template(rf, ctx) { if (rf & 1) {
22170
22301
  i0.ɵɵelementStart(0, "span");
22171
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 77);
22302
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 76);
22172
22303
  i0.ɵɵelementEnd();
22173
22304
  } if (rf & 2) {
22174
22305
  const column_r239 = i0.ɵɵnextContext().$implicit;
@@ -22182,7 +22313,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_ng_
22182
22313
  } }
22183
22314
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_Template(rf, ctx) { if (rf & 1) {
22184
22315
  i0.ɵɵelementStart(0, "span");
22185
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 77);
22316
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 76);
22186
22317
  i0.ɵɵelementEnd();
22187
22318
  } if (rf & 2) {
22188
22319
  const column_r239 = i0.ɵɵnextContext().$implicit;
@@ -22263,7 +22394,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_9_Tem
22263
22394
  } }
22264
22395
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) { if (rf & 1) {
22265
22396
  const _r274 = i0.ɵɵgetCurrentView();
22266
- i0.ɵɵelementStart(0, "po-table-column-link", 103);
22397
+ i0.ɵɵelementStart(0, "po-table-column-link", 102);
22267
22398
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(_r274); const column_r239 = i0.ɵɵnextContext().$implicit; const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r272 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r272.onClickLink($event, row_r214, column_r239)); });
22268
22399
  i0.ɵɵelementEnd();
22269
22400
  } if (rf & 2) {
@@ -22273,7 +22404,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_c
22273
22404
  i0.ɵɵproperty("p-action", column_r239.action)("p-disabled", ctx_r249.checkDisabled(row_r214, column_r239))("p-link", row_r214[column_r239.link])("p-row", row_r214)("p-value", ctx_r249.getCellData(row_r214, column_r239));
22274
22405
  } }
22275
22406
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) { if (rf & 1) {
22276
- i0.ɵɵelement(0, "po-table-column-icon", 104);
22407
+ i0.ɵɵelement(0, "po-table-column-icon", 103);
22277
22408
  } if (rf & 2) {
22278
22409
  const column_r239 = i0.ɵɵnextContext().$implicit;
22279
22410
  const row_r214 = i0.ɵɵnextContext().$implicit;
@@ -22282,7 +22413,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_c
22282
22413
  } }
22283
22414
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_12_Template(rf, ctx) { if (rf & 1) {
22284
22415
  i0.ɵɵelementStart(0, "span");
22285
- i0.ɵɵelement(1, "po-table-subtitle-circle", 105);
22416
+ i0.ɵɵelement(1, "po-table-subtitle-circle", 104);
22286
22417
  i0.ɵɵelementEnd();
22287
22418
  } if (rf & 2) {
22288
22419
  const column_r239 = i0.ɵɵnextContext().$implicit;
@@ -22293,7 +22424,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_12_Te
22293
22424
  } }
22294
22425
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_13_Template(rf, ctx) { if (rf & 1) {
22295
22426
  i0.ɵɵelementStart(0, "span");
22296
- i0.ɵɵelement(1, "po-table-column-label", 106);
22427
+ i0.ɵɵelement(1, "po-table-column-label", 105);
22297
22428
  i0.ɵɵelementEnd();
22298
22429
  } if (rf & 2) {
22299
22430
  const column_r239 = i0.ɵɵnextContext().$implicit;
@@ -22315,23 +22446,23 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_14_Te
22315
22446
  } }
22316
22447
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template(rf, ctx) { if (rf & 1) {
22317
22448
  const _r287 = i0.ɵɵgetCurrentView();
22318
- i0.ɵɵelementStart(0, "td", 123);
22449
+ i0.ɵɵelementStart(0, "td", 122);
22319
22450
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r287); const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r286 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r286.hasSelectableRow() ? ctx_r286.selectRow(row_r214) : "javascript:;"); });
22320
- i0.ɵɵelementStart(1, "div", 98);
22451
+ i0.ɵɵelementStart(1, "div", 97);
22321
22452
  i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r287); const column_r239 = restoredCtx.$implicit; const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r289 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r289.tooltipMouseEnter($event, column_r239, row_r214)); })("mouseleave", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r287); const ctx_r291 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r291.tooltipMouseLeave()); });
22322
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_Template, 2, 4, "span", 99);
22323
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_Template, 2, 5, "span", 99);
22324
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_4_Template, 2, 1, "span", 99);
22325
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_5_Template, 3, 6, "span", 99);
22326
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_6_Template, 3, 4, "span", 99);
22327
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_7_Template, 3, 4, "span", 99);
22328
- i0.ɵɵtemplate(8, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_8_Template, 3, 4, "span", 99);
22329
- i0.ɵɵtemplate(9, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_9_Template, 2, 1, "span", 99);
22330
- i0.ɵɵtemplate(10, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 100);
22331
- i0.ɵɵtemplate(11, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 101);
22332
- i0.ɵɵtemplate(12, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_12_Template, 2, 1, "span", 99);
22333
- i0.ɵɵtemplate(13, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_13_Template, 2, 1, "span", 99);
22334
- i0.ɵɵtemplate(14, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_14_Template, 2, 1, "span", 102);
22453
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_2_Template, 2, 4, "span", 98);
22454
+ i0.ɵɵtemplate(3, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_3_Template, 2, 5, "span", 98);
22455
+ i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_4_Template, 2, 1, "span", 98);
22456
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_5_Template, 3, 6, "span", 98);
22457
+ i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_6_Template, 3, 4, "span", 98);
22458
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_7_Template, 3, 4, "span", 98);
22459
+ i0.ɵɵtemplate(8, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_8_Template, 3, 4, "span", 98);
22460
+ i0.ɵɵtemplate(9, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_9_Template, 2, 1, "span", 98);
22461
+ i0.ɵɵtemplate(10, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 99);
22462
+ i0.ɵɵtemplate(11, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 100);
22463
+ i0.ɵɵtemplate(12, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_12_Template, 2, 1, "span", 98);
22464
+ i0.ɵɵtemplate(13, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_13_Template, 2, 1, "span", 98);
22465
+ i0.ɵɵtemplate(14, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_span_14_Template, 2, 1, "span", 101);
22335
22466
  i0.ɵɵelementEnd()();
22336
22467
  } if (rf & 2) {
22337
22468
  const column_r239 = ctx.$implicit;
@@ -22370,9 +22501,9 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template(r
22370
22501
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
22371
22502
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_Template(rf, ctx) { if (rf & 1) {
22372
22503
  const _r296 = i0.ɵɵgetCurrentView();
22373
- i0.ɵɵelementStart(0, "td", 95);
22504
+ i0.ɵɵelementStart(0, "td", 94);
22374
22505
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r296); const row_r214 = i0.ɵɵnextContext().$implicit; const ctx_r294 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r294.toggleDetail(row_r214)); });
22375
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 96);
22506
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 95);
22376
22507
  i0.ɵɵelementEnd();
22377
22508
  } if (rf & 2) {
22378
22509
  const ctx_r297 = i0.ɵɵnextContext();
@@ -22385,7 +22516,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_Template(r
22385
22516
  } }
22386
22517
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_ng_template_0_Template(rf, ctx) { }
22387
22518
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_Template(rf, ctx) { if (rf & 1) {
22388
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 96);
22519
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 95);
22389
22520
  } if (rf & 2) {
22390
22521
  const ctx_r299 = i0.ɵɵnextContext();
22391
22522
  const row_r214 = ctx_r299.$implicit;
@@ -22396,8 +22527,8 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_Template(rf,
22396
22527
  } }
22397
22528
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_ng_template_2_Template(rf, ctx) { }
22398
22529
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_Template(rf, ctx) { if (rf & 1) {
22399
- i0.ɵɵelementStart(0, "tr")(1, "td", 107);
22400
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_ng_template_2_Template, 0, 0, "ng-template", 96);
22530
+ i0.ɵɵelementStart(0, "tr")(1, "td", 106);
22531
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_ng_template_2_Template, 0, 0, "ng-template", 95);
22401
22532
  i0.ɵɵelementEnd()();
22402
22533
  } if (rf & 2) {
22403
22534
  const ctx_r301 = i0.ɵɵnextContext();
@@ -22411,7 +22542,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_Template(r
22411
22542
  } }
22412
22543
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_10_Template(rf, ctx) { if (rf & 1) {
22413
22544
  const _r303 = i0.ɵɵgetCurrentView();
22414
- i0.ɵɵelementStart(0, "tr")(1, "td", 108)(2, "po-table-detail", 109);
22545
+ i0.ɵɵelementStart(0, "tr")(1, "td", 107)(2, "po-table-detail", 108);
22415
22546
  i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_10_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(_r303); const ctx_r302 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r302.selectDetailRow($event)); });
22416
22547
  i0.ɵɵelementEnd()()();
22417
22548
  } if (rf & 2) {
@@ -22423,13 +22554,13 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_10_Template(
22423
22554
  i0.ɵɵproperty("p-selectable", ctx_r224.selectable && !ctx_r224.detailHideSelect)("p-detail", ctx_r224.columnMasterDetail.detail)("p-items", row_r214[ctx_r224.nameColumnDetail]);
22424
22555
  } }
22425
22556
  function PoTableComponent_ng_template_10_ng_container_17_tbody_1_Template(rf, ctx) { if (rf & 1) {
22426
- i0.ɵɵelementStart(0, "tbody", 87)(1, "tr", 91);
22427
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_Template, 2, 4, "td", 92);
22428
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_Template, 2, 5, "td", 93);
22557
+ i0.ɵɵelementStart(0, "tbody", 86)(1, "tr", 90);
22558
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_2_Template, 2, 4, "td", 91);
22559
+ i0.ɵɵtemplate(3, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_3_Template, 2, 5, "td", 92);
22429
22560
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_10_ng_container_17_tbody_1_4_Template, 1, 5, null, 43);
22430
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_Template, 2, 5, "td", 93);
22431
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template, 15, 31, "td", 122);
22432
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_Template, 2, 5, "td", 93);
22561
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_5_Template, 2, 5, "td", 92);
22562
+ i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_6_Template, 15, 31, "td", 121);
22563
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_ng_container_17_tbody_1_td_7_Template, 2, 5, "td", 92);
22433
22564
  i0.ɵɵtemplate(8, PoTableComponent_ng_template_10_ng_container_17_tbody_1_8_Template, 1, 5, null, 43);
22434
22565
  i0.ɵɵelementEnd();
22435
22566
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_10_ng_container_17_tbody_1_tr_9_Template, 3, 6, "tr", 43);
@@ -22462,7 +22593,7 @@ function PoTableComponent_ng_template_10_ng_container_17_tbody_1_Template(rf, ct
22462
22593
  } }
22463
22594
  function PoTableComponent_ng_template_10_ng_container_17_Template(rf, ctx) { if (rf & 1) {
22464
22595
  i0.ɵɵelementContainerStart(0);
22465
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_Template, 11, 12, "tbody", 121);
22596
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_10_ng_container_17_tbody_1_Template, 11, 12, "tbody", 120);
22466
22597
  i0.ɵɵelementContainerEnd();
22467
22598
  } if (rf & 2) {
22468
22599
  const ctx_r193 = i0.ɵɵnextContext(2);
@@ -22472,19 +22603,19 @@ function PoTableComponent_ng_template_10_ng_container_17_Template(rf, ctx) { if
22472
22603
  const _c23 = function (a0) { return { "table-layout": a0 }; };
22473
22604
  function PoTableComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
22474
22605
  const _r306 = i0.ɵɵgetCurrentView();
22475
- i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport", 110, 111)(2, "table", 112)(3, "thead", 113)(4, "tr", 114);
22606
+ i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport", 109, 110)(2, "table", 111)(3, "thead", 112)(4, "tr", 113);
22476
22607
  i0.ɵɵlistener("cdkDropListDropped", function PoTableComponent_ng_template_10_Template_tr_cdkDropListDropped_4_listener($event) { i0.ɵɵrestoreView(_r306); const ctx_r305 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r305.drop($event)); });
22477
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_th_5_Template, 3, 5, "th", 58);
22478
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_th_6_Template, 1, 0, "th", 59);
22479
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_th_7_Template, 2, 4, "th", 60);
22480
- i0.ɵɵtemplate(8, PoTableComponent_ng_template_10_th_8_Template, 3, 3, "th", 61);
22481
- i0.ɵɵtemplate(9, PoTableComponent_ng_template_10_ng_container_9_Template, 1, 0, "ng-container", 62);
22482
- i0.ɵɵtemplate(10, PoTableComponent_ng_template_10_ng_template_10_Template, 1, 2, "ng-template", null, 115, i0.ɵɵtemplateRefExtractor);
22483
- i0.ɵɵtemplate(12, PoTableComponent_ng_template_10_ng_template_12_Template, 1, 2, "ng-template", null, 116, i0.ɵɵtemplateRefExtractor);
22484
- i0.ɵɵtemplate(14, PoTableComponent_ng_template_10_th_14_Template, 1, 0, "th", 59);
22485
- i0.ɵɵtemplate(15, PoTableComponent_ng_template_10_th_15_Template, 1, 4, "th", 65);
22608
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_10_th_5_Template, 3, 5, "th", 57);
22609
+ i0.ɵɵtemplate(6, PoTableComponent_ng_template_10_th_6_Template, 1, 0, "th", 58);
22610
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_10_th_7_Template, 2, 4, "th", 59);
22611
+ i0.ɵɵtemplate(8, PoTableComponent_ng_template_10_th_8_Template, 3, 3, "th", 60);
22612
+ i0.ɵɵtemplate(9, PoTableComponent_ng_template_10_ng_container_9_Template, 1, 0, "ng-container", 61);
22613
+ i0.ɵɵtemplate(10, PoTableComponent_ng_template_10_ng_template_10_Template, 1, 2, "ng-template", null, 114, i0.ɵɵtemplateRefExtractor);
22614
+ i0.ɵɵtemplate(12, PoTableComponent_ng_template_10_ng_template_12_Template, 1, 2, "ng-template", null, 115, i0.ɵɵtemplateRefExtractor);
22615
+ i0.ɵɵtemplate(14, PoTableComponent_ng_template_10_th_14_Template, 1, 0, "th", 58);
22616
+ i0.ɵɵtemplate(15, PoTableComponent_ng_template_10_th_15_Template, 1, 4, "th", 64);
22486
22617
  i0.ɵɵelementEnd()();
22487
- i0.ɵɵtemplate(16, PoTableComponent_ng_template_10_tbody_16_Template, 5, 2, "tbody", 66);
22618
+ i0.ɵɵtemplate(16, PoTableComponent_ng_template_10_tbody_16_Template, 5, 2, "tbody", 65);
22488
22619
  i0.ɵɵtemplate(17, PoTableComponent_ng_template_10_ng_container_17_Template, 2, 2, "ng-container", 43);
22489
22620
  i0.ɵɵelementEnd()();
22490
22621
  } if (rf & 2) {
@@ -22520,13 +22651,13 @@ function PoTableComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
22520
22651
  i0.ɵɵproperty("ngIf", ctx_r10.hasMainColumns);
22521
22652
  } }
22522
22653
  function PoTableComponent_ng_template_14_span_0_Template(rf, ctx) { if (rf & 1) {
22523
- i0.ɵɵelement(0, "span", 125);
22654
+ i0.ɵɵelement(0, "span", 124);
22524
22655
  } if (rf & 2) {
22525
22656
  const row_r307 = i0.ɵɵnextContext().row;
22526
22657
  i0.ɵɵclassProp("po-icon-arrow-up", row_r307.$showDetail)("po-icon-arrow-down", !row_r307.$showDetail);
22527
22658
  } }
22528
22659
  function PoTableComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
22529
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_14_span_0_Template, 1, 4, "span", 124);
22660
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_14_span_0_Template, 1, 4, "span", 123);
22530
22661
  } if (rf & 2) {
22531
22662
  const row_r307 = ctx.row;
22532
22663
  const rowIndex_r308 = ctx.rowIndex;
@@ -22535,7 +22666,7 @@ function PoTableComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
22535
22666
  } }
22536
22667
  function PoTableComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
22537
22668
  const _r313 = i0.ɵɵgetCurrentView();
22538
- i0.ɵɵelementStart(0, "po-radio", 126);
22669
+ i0.ɵɵelementStart(0, "po-radio", 125);
22539
22670
  i0.ɵɵlistener("p-change-selected", function PoTableComponent_ng_template_16_Template_po_radio_p_change_selected_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r313); const row_r311 = restoredCtx.$implicit; const ctx_r312 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r312.selectRow(row_r311)); });
22540
22671
  i0.ɵɵelementEnd();
22541
22672
  } if (rf & 2) {
@@ -22545,7 +22676,7 @@ function PoTableComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
22545
22676
  } }
22546
22677
  function PoTableComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) {
22547
22678
  const _r316 = i0.ɵɵgetCurrentView();
22548
- i0.ɵɵelementStart(0, "po-checkbox", 127);
22679
+ i0.ɵɵelementStart(0, "po-checkbox", 126);
22549
22680
  i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_18_Template_po_checkbox_p_change_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r316); const row_r314 = restoredCtx.$implicit; const ctx_r315 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r315.selectable ? ctx_r315.selectRow(row_r314) : "javascript:;"); });
22550
22681
  i0.ɵɵelementEnd();
22551
22682
  } if (rf & 2) {
@@ -22555,24 +22686,24 @@ function PoTableComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) {
22555
22686
  function PoTableComponent_ng_template_20_span_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
22556
22687
  i0.ɵɵelementContainerStart(0);
22557
22688
  i0.ɵɵnamespaceSVG();
22558
- i0.ɵɵelementStart(1, "svg", 131);
22559
- i0.ɵɵelement(2, "path", 132);
22689
+ i0.ɵɵelementStart(1, "svg", 130);
22690
+ i0.ɵɵelement(2, "path", 131);
22560
22691
  i0.ɵɵelementEnd();
22561
22692
  i0.ɵɵelementContainerEnd();
22562
22693
  } }
22563
22694
  function PoTableComponent_ng_template_20_span_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
22564
22695
  i0.ɵɵelementContainerStart(0);
22565
22696
  i0.ɵɵnamespaceSVG();
22566
- i0.ɵɵelementStart(1, "svg", 131);
22567
- i0.ɵɵelement(2, "path", 133);
22697
+ i0.ɵɵelementStart(1, "svg", 130);
22698
+ i0.ɵɵelement(2, "path", 132);
22568
22699
  i0.ɵɵelementEnd();
22569
22700
  i0.ɵɵelementContainerEnd();
22570
22701
  } }
22571
22702
  function PoTableComponent_ng_template_20_span_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
22572
22703
  i0.ɵɵelementContainerStart(0);
22573
22704
  i0.ɵɵnamespaceSVG();
22574
- i0.ɵɵelementStart(1, "svg", 131);
22575
- i0.ɵɵelement(2, "path", 134);
22705
+ i0.ɵɵelementStart(1, "svg", 130);
22706
+ i0.ɵɵelement(2, "path", 133);
22576
22707
  i0.ɵɵelementEnd();
22577
22708
  i0.ɵɵelementContainerEnd();
22578
22709
  } }
@@ -22595,12 +22726,12 @@ function PoTableComponent_ng_template_20_span_4_Template(rf, ctx) { if (rf & 1)
22595
22726
  } }
22596
22727
  function PoTableComponent_ng_template_20_Template(rf, ctx) { if (rf & 1) {
22597
22728
  const _r325 = i0.ɵɵgetCurrentView();
22598
- i0.ɵɵelementStart(0, "span", 128, 129);
22729
+ i0.ɵɵelementStart(0, "span", 127, 128);
22599
22730
  i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_20_Template_span_mouseenter_0_listener($event) { i0.ɵɵrestoreView(_r325); const ctx_r324 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r324.tooltipMouseEnter($event)); })("mouseleave", function PoTableComponent_ng_template_20_Template_span_mouseleave_0_listener() { i0.ɵɵrestoreView(_r325); const ctx_r326 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r326.tooltipMouseLeave()); });
22600
22731
  i0.ɵɵtext(2);
22601
22732
  i0.ɵɵpipe(3, "titlecase");
22602
22733
  i0.ɵɵelementEnd();
22603
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_20_span_4_Template, 4, 9, "span", 130);
22734
+ i0.ɵɵtemplate(4, PoTableComponent_ng_template_20_span_4_Template, 4, 9, "span", 129);
22604
22735
  } if (rf & 2) {
22605
22736
  const column_r317 = ctx.$implicit;
22606
22737
  const ctx_r19 = i0.ɵɵnextContext();
@@ -22611,12 +22742,12 @@ function PoTableComponent_ng_template_20_Template(rf, ctx) { if (rf & 1) {
22611
22742
  i0.ɵɵproperty("ngIf", ctx_r19.sort && column_r317.sortable !== false);
22612
22743
  } }
22613
22744
  function PoTableComponent_ng_template_22_Template(rf, ctx) { if (rf & 1) {
22614
- i0.ɵɵelementStart(0, "div", 135);
22745
+ i0.ɵɵelementStart(0, "div", 134);
22615
22746
  i0.ɵɵtext(1);
22616
22747
  i0.ɵɵelementEnd();
22617
22748
  } if (rf & 2) {
22618
22749
  const ctx_r21 = i0.ɵɵnextContext();
22619
- i0.ɵɵstyleProp("width", ctx_r21.noColumnsHeader == null ? null : ctx_r21.noColumnsHeader.nativeElement.offsetWidth, "px");
22750
+ i0.ɵɵstyleProp("width", ctx_r21.headerWidth, "px");
22620
22751
  i0.ɵɵadvance(1);
22621
22752
  i0.ɵɵtextInterpolate1(" ", ctx_r21.hasValidColumns ? ctx_r21.literals.noVisibleColumn : ctx_r21.literals.noColumns, " ");
22622
22753
  } }
@@ -22627,16 +22758,16 @@ function PoTableComponent_ng_template_24_Template(rf, ctx) { if (rf & 1) {
22627
22758
  i0.ɵɵtextInterpolate1(" ", ctx_r23.hasValidColumns ? ctx_r23.literals.noVisibleColumn : ctx_r23.literals.noColumns, "\n");
22628
22759
  } }
22629
22760
  function PoTableComponent_ng_template_26_td_0_div_1_po_icon_1_Template(rf, ctx) { if (rf & 1) {
22630
- i0.ɵɵelement(0, "po-icon", 142);
22761
+ i0.ɵɵelement(0, "po-icon", 141);
22631
22762
  } if (rf & 2) {
22632
22763
  const ctx_r332 = i0.ɵɵnextContext(4);
22633
22764
  i0.ɵɵproperty("p-icon", ctx_r332.firstAction.icon);
22634
22765
  } }
22635
22766
  function PoTableComponent_ng_template_26_td_0_div_1_Template(rf, ctx) { if (rf & 1) {
22636
22767
  const _r335 = i0.ɵɵgetCurrentView();
22637
- i0.ɵɵelementStart(0, "div", 140);
22768
+ i0.ɵɵelementStart(0, "div", 139);
22638
22769
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_26_td_0_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r335); const row_r327 = i0.ɵɵnextContext(2).row; const ctx_r333 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r333.executeTableAction(row_r327, ctx_r333.firstAction)); });
22639
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_0_div_1_po_icon_1_Template, 1, 1, "po-icon", 141);
22770
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_0_div_1_po_icon_1_Template, 1, 1, "po-icon", 140);
22640
22771
  i0.ɵɵtext(2);
22641
22772
  i0.ɵɵelementEnd();
22642
22773
  } if (rf & 2) {
@@ -22649,8 +22780,8 @@ function PoTableComponent_ng_template_26_td_0_div_1_Template(rf, ctx) { if (rf &
22649
22780
  i0.ɵɵtextInterpolate1(" ", ctx_r331.firstAction.label, " ");
22650
22781
  } }
22651
22782
  function PoTableComponent_ng_template_26_td_0_Template(rf, ctx) { if (rf & 1) {
22652
- i0.ɵɵelementStart(0, "td", 138);
22653
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_0_div_1_Template, 3, 4, "div", 139);
22783
+ i0.ɵɵelementStart(0, "td", 137);
22784
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_0_div_1_Template, 3, 4, "div", 138);
22654
22785
  i0.ɵɵelementEnd();
22655
22786
  } if (rf & 2) {
22656
22787
  const ctx_r329 = i0.ɵɵnextContext(2);
@@ -22660,13 +22791,13 @@ function PoTableComponent_ng_template_26_td_0_Template(rf, ctx) { if (rf & 1) {
22660
22791
  } }
22661
22792
  function PoTableComponent_ng_template_26_td_1_Template(rf, ctx) { if (rf & 1) {
22662
22793
  const _r340 = i0.ɵɵgetCurrentView();
22663
- i0.ɵɵelementStart(0, "td", 143)(1, "span", 144, 145);
22794
+ i0.ɵɵelementStart(0, "td", 142)(1, "span", 143, 144);
22664
22795
  i0.ɵɵlistener("click", function PoTableComponent_ng_template_26_td_1_Template_span_click_1_listener() { i0.ɵɵrestoreView(_r340); const _r337 = i0.ɵɵreference(2); const row_r327 = i0.ɵɵnextContext().row; const ctx_r338 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r338.togglePopup(row_r327, _r337)); });
22665
22796
  i0.ɵɵelementEnd()();
22666
22797
  } }
22667
22798
  function PoTableComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
22668
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_26_td_0_Template, 2, 7, "td", 136);
22669
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_1_Template, 3, 0, "td", 137);
22799
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_26_td_0_Template, 2, 7, "td", 135);
22800
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_26_td_1_Template, 3, 0, "td", 136);
22670
22801
  } if (rf & 2) {
22671
22802
  const ctx_r25 = i0.ɵɵnextContext();
22672
22803
  i0.ɵɵproperty("ngIf", ctx_r25.isSingleAction);
@@ -22675,7 +22806,7 @@ function PoTableComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
22675
22806
  } }
22676
22807
  function PoTableComponent_po_table_column_manager_28_Template(rf, ctx) { if (rf & 1) {
22677
22808
  const _r342 = i0.ɵɵgetCurrentView();
22678
- i0.ɵɵelementStart(0, "po-table-column-manager", 146);
22809
+ i0.ɵɵelementStart(0, "po-table-column-manager", 145);
22679
22810
  i0.ɵɵlistener("p-visible-columns-change", function PoTableComponent_po_table_column_manager_28_Template_po_table_column_manager_p_visible_columns_change_0_listener($event) { i0.ɵɵrestoreView(_r342); const ctx_r341 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r341.onVisibleColumnsChange($event)); })("p-change-visible-columns", function PoTableComponent_po_table_column_manager_28_Template_po_table_column_manager_p_change_visible_columns_0_listener($event) { i0.ɵɵrestoreView(_r342); const ctx_r343 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r343.onChangeVisibleColumns($event)); })("p-initial-columns", function PoTableComponent_po_table_column_manager_28_Template_po_table_column_manager_p_initial_columns_0_listener($event) { i0.ɵɵrestoreView(_r342); const ctx_r344 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r344.onColumnRestoreManager($event)); });
22680
22811
  i0.ɵɵelementEnd();
22681
22812
  } if (rf & 2) {
@@ -22772,6 +22903,8 @@ class PoTableComponent extends PoTableBaseComponent {
22772
22903
  inputFieldValue = '';
22773
22904
  JSON;
22774
22905
  newOrderColumns;
22906
+ sizeLoading = 'sm';
22907
+ headerWidth;
22775
22908
  close = {
22776
22909
  action: () => {
22777
22910
  this.modalDelete.close();
@@ -22790,7 +22923,6 @@ class PoTableComponent extends PoTableBaseComponent {
22790
22923
  differ;
22791
22924
  footerHeight;
22792
22925
  headerHeight;
22793
- initialized = false;
22794
22926
  timeoutResize;
22795
22927
  visibleElement = false;
22796
22928
  scrollEvent$;
@@ -22886,8 +23018,16 @@ class PoTableComponent extends PoTableBaseComponent {
22886
23018
  ngOnInit() {
22887
23019
  this.idRadio = `po-radio-${uuid()}`;
22888
23020
  }
23021
+ changeHeaderWidth() {
23022
+ if (this.noColumnsHeader) {
23023
+ this.headerWidth = this.noColumnsHeader?.nativeElement.offsetWidth;
23024
+ }
23025
+ this.changeDetector.detectChanges();
23026
+ }
22889
23027
  ngAfterViewInit() {
22890
23028
  this.initialized = true;
23029
+ this.changeHeaderWidth();
23030
+ this.changeSizeLoading();
22891
23031
  }
22892
23032
  showMoreInfiniteScroll({ target }) {
22893
23033
  const scrollPosition = target.offsetHeight + target.scrollTop;
@@ -23254,6 +23394,18 @@ class PoTableComponent extends PoTableBaseComponent {
23254
23394
  this.poNotification.success(this.literals.deleteSuccessful);
23255
23395
  this.eventDelete.emit(newItemsFiltered);
23256
23396
  }
23397
+ changeSizeLoading() {
23398
+ const tableHeight = this.tableWrapperElement?.nativeElement?.offsetHeight;
23399
+ if (tableHeight <= 150) {
23400
+ this.sizeLoading = 'sm';
23401
+ }
23402
+ else if (tableHeight > 150 && tableHeight < 260) {
23403
+ this.sizeLoading = 'md';
23404
+ }
23405
+ else {
23406
+ this.sizeLoading = 'lg';
23407
+ }
23408
+ }
23257
23409
  checkChangesItems() {
23258
23410
  const changesItems = this.differ.diff(this.items);
23259
23411
  if (changesItems && this.selectAll) {
@@ -23429,7 +23581,7 @@ class PoTableComponent extends PoTableBaseComponent {
23429
23581
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManagerTargetFixed = _t.first);
23430
23582
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsIconElement = _t);
23431
23583
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsElement = _t);
23432
- } }, features: [i0.ɵɵProvidersFeature([PoDateService]), i0.ɵɵInheritDefinitionFeature], decls: 33, vars: 14, consts: [[1, "po-table-actions"], ["class", "po-table-actions-batch-actions", 4, "ngIf"], ["class", "po-table-actions-column-manager", 4, "ngIf"], ["class", "po-table-search", 4, "ngIf"], ["p-no-padding", "", 4, "ngIf", "ngIfElse"], ["tableContainerTemplate", ""], ["class", "po-row po-table-footer-show-more", 3, "po-invisible", 4, "ngIf"], ["tableTemplate", ""], ["tableVirtualScrollTemplate", ""], [3, "p-actions", "p-target"], ["popup", ""], ["poTableColumnDetail", ""], ["inputRadio", ""], ["inputCheckbox", ""], ["contentHeaderTemplate", ""], ["noColumnsWithHeight", ""], ["noColumnsWithoutHeight", ""], ["ActionsColumnTemplate", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-hide-action-fixed-columns", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns", 4, "ngIf"], [3, "p-title", "p-primary-action", "p-secondary-action", "p-click-out"], ["modalDelete", ""], [1, "po-font-text-large"], [1, "po-table-actions-batch-actions"], ["columnBatchActions", ""], [1, "po-table-actions-batch-actions__label", 3, "ngPlural"], ["ngPluralCase", "=0"], ["ngPluralCase", "=1"], ["ngPluralCase", "other"], [1, "po-table-actions-batch-actions__buttons"], ["p-icon", "po-icon-delete", 3, "p-danger", "p-disabled", "p-label", "p-click"], [1, "po-table-actions-column-manager"], ["columnManager", ""], ["p-icon", "po-icon-settings", "p-kind", "tertiary", "p-tooltip-position", "left", 3, "p-aria-label", "p-tooltip", "p-click"], ["columnManagerTarget", ""], [1, "po-table-search"], [3, "p-items", "p-filter-keys", "p-filter-type", "p-filtered-items-change"], ["p-no-padding", ""], [4, "ngTemplateOutlet"], ["class", "po-table-overlay", 4, "ngIf"], [1, "po-table-main-container"], [1, "po-table-wrapper"], ["tableWrapper", ""], ["class", "po-table-container", 3, "height", 4, "ngIf"], [4, "ngIf"], ["class", "po-table-footer", 4, "ngIf"], [1, "po-table-overlay"], [1, "po-table-overlay-content", 3, "p-text"], [1, "po-table-container"], [1, "po-table-container-fixed-inner"], ["poTableTbody", ""], [1, "po-table-footer"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-literals", "p-subtitles"], [1, "po-row", "po-table-footer-show-more"], ["tableFooter", ""], [1, "po-offset-xl-4", "po-offset-lg-4", "po-offset-md-3", "po-lg-4", "po-md-6", 3, "p-disabled", "p-label", "p-loading", "p-click"], [1, "po-table", 3, "ngClass"], ["cdkDropList", "", "cdkDropListOrientation", "horizontal", 3, "ngClass", "cdkDropListDropped"], ["class", "po-table-column-selectable", 3, "pointer-events", 4, "ngIf"], ["class", "po-table-header-column po-table-header-master-detail", 4, "ngIf"], [3, "po-table-header-master-detail", "po-table-header-single-action", 4, "ngIf"], ["class", "po-table-header-column po-text-center", 4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["tableDefaultThDragDrop", ""], ["tableDefaultThDefault", ""], [3, "po-table-header-single-action", "po-table-header-actions", 4, "ngIf"], ["class", "po-table-group-row", 4, "ngIf"], [1, "po-table-column-selectable"], ["name", "selectAll", 3, "p-checkboxValue", "p-change", 4, "ngIf"], ["name", "selectAll", 3, "p-checkboxValue", "p-change"], [1, "po-table-header-column", "po-table-header-master-detail"], ["columnActionLeft", ""], [1, "po-table-header-column", "po-text-center"], ["noColumnsHeader", ""], ["class", "po-table-header-ellipsis p-element po-frozen-column", "cdkDrag", "", "cdkDragLockAxis", "x", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "po-table-header-subtitle", "po-table-column-drag-box", "cdkDragDisabled", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", "", "cdkDragLockAxis", "x", 1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "cdkDragDisabled", "pFrozenColumn", "click"], [1, "po-table-header-flex"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["cdkDragHandle", "", "width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["cx", "9", "cy", "6", "r", "2", "fill", "black"], ["cx", "15", "cy", "6", "r", "2", "fill", "black"], ["cx", "9", "cy", "12", "r", "2", "fill", "black"], ["cx", "15", "cy", "12", "r", "2", "fill", "black"], ["cx", "9", "cy", "18", "r", "2", "fill", "black"], ["cx", "15", "cy", "18", "r", "2", "fill", "black"], ["class", "po-table-header-ellipsis p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "po-table-header-subtitle", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "pFrozenColumn", "click"], [1, "po-table-group-row"], [1, "po-table-row", "po-table-row-no-data"], [1, "po-table-no-data", "po-text-center", 3, "colSpan"], ["class", "po-table-group-row", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-row"], ["class", "po-table-column-selectable", 4, "ngIf"], ["class", "po-table-column-detail-toggle", 3, "click", 4, "ngIf"], ["class", "p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "pFrozenColumn", "ngClass", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-column-detail-toggle", 3, "click"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "p-element", "po-frozen-column", 3, "pFrozenColumn", "ngClass", "click"], [1, "po-table-column-cell", "po-table-body-ellipsis", "notranslate", 3, "ngSwitch", "p-tooltip", "p-append-in-body", "mouseenter", "mouseleave"], [4, "ngSwitchCase"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click", 4, "ngSwitchCase"], [3, "p-column", "p-icons", "p-row", 4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click"], [3, "p-column", "p-icons", "p-row"], [3, "p-subtitle"], [3, "p-value"], [1, "po-table-row-template-container", 3, "colSpan"], [1, "po-table-column-detail", 3, "colSpan"], [3, "p-selectable", "p-detail", "p-items", "p-select-row"], [3, "itemSize", "minBufferPx", "maxBufferPx"], ["tableVirtualScroll", ""], [1, "po-table", 3, "ngClass", "ngStyle"], [1, "po-table-header-sticky"], ["cdkDropList", "", "cdkDropListOrientation", "horizontal", 3, "cdkDropListDropped"], ["tableVirtualScrollThDragDrop", ""], ["tableVirtualScrollThDefault", ""], ["class", "po-table-header-ellipsis p-element po-frozen-column", "cdkDrag", "", "cdkDragLockAxis", "x", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "ngStyle", "po-table-header-subtitle", "po-table-column-drag-box", "cdkDragDisabled", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", "", "cdkDragLockAxis", "x", 1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "ngStyle", "cdkDragDisabled", "pFrozenColumn", "click"], ["class", "po-table-header-ellipsis p-element po-frozen-column example-box", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "ngStyle", "po-table-header-subtitle", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-header-ellipsis", "p-element", "po-frozen-column", "example-box", 3, "ngClass", "ngStyle", "pFrozenColumn", "click"], ["class", "po-table-group-row", 4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTrackBy"], ["class", "p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "ngClass", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "p-element", "po-frozen-column", 3, "ngClass", "pFrozenColumn", "click"], ["class", "po-icon po-clickable", 3, "po-icon-arrow-up", "po-icon-arrow-down", 4, "ngIf"], [1, "po-icon", "po-clickable"], [3, "name", "p-checked", "p-change-selected"], ["name", "checkbox", 3, "p-checkboxValue", "p-change"], [1, "po-table-header-ellipsis", 3, "p-tooltip", "p-append-in-body", "mouseenter", "mouseleave"], ["columnHeader", ""], [3, "po-table-header-icon-unselected", "po-table-header-icon-descending", "po-table-header-icon-ascending", 4, "ngIf"], ["width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M18.2929 15.2929L17 16.5858L17 10C17 9.44772 16.5523 9 16 9C15.4477 9 15 9.44772 15 10L15 16.5858L13.7071 15.2929C13.3166 14.9024 12.6834 14.9024 12.2929 15.2929C11.9024 15.6834 11.9024 16.3166 12.2929 16.7071L15.2929 19.7071C15.6834 20.0976 16.3166 20.0976 16.7071 19.7071L19.7071 16.7071C20.0976 16.3166 20.0976 15.6834 19.7071 15.2929C19.3166 14.9024 18.6834 14.9024 18.2929 15.2929ZM5.70716 8.7071L7.00006 7.4142L7.00003 14C7.00002 14.5523 7.44774 15 8.00002 15C8.55231 15 9.00002 14.5523 9.00003 14L9.00006 7.41418L10.2929 8.70707C10.6835 9.09759 11.3166 9.09758 11.7072 8.70706C12.0977 8.31653 12.0977 7.68336 11.7072 7.29284L8.70718 4.29286C8.31665 3.90234 7.68349 3.90235 7.29296 4.29287L4.29295 7.29289C3.90242 7.68342 3.90242 8.31658 4.29294 8.70711C4.68347 9.09763 5.31663 9.09762 5.70716 8.7071Z", "fill", "#1D1D30"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M11 9.41421L9.70711 10.7071C9.31658 11.0976 8.68342 11.0976 8.29289 10.7071C7.90237 10.3166 7.90237 9.68342 8.29289 9.29289L11.2929 6.29289C11.6834 5.90237 12.3166 5.90237 12.7071 6.29289L15.7071 9.29289C16.0976 9.68342 16.0976 10.3166 15.7071 10.7071C15.3166 11.0976 14.6834 11.0976 14.2929 10.7071L13 9.41421V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V9.41421Z", "fill", "black"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.70711 13.2929L11 14.5858V7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7V14.5858L14.2929 13.2929C14.6834 12.9024 15.3166 12.9024 15.7071 13.2929C16.0976 13.6834 16.0976 14.3166 15.7071 14.7071L12.7071 17.7071C12.3166 18.0976 11.6834 18.0976 11.2929 17.7071L8.29289 14.7071C7.90237 14.3166 7.90237 13.6834 8.29289 13.2929C8.68342 12.9024 9.31658 12.9024 9.70711 13.2929Z", "fill", "black"], [1, "po-table-header-fixed-inner"], ["class", "po-table-column po-table-column-single-action", 3, "width", "max-width", 4, "ngIf"], ["class", "po-table-column-actions", 4, "ngIf"], [1, "po-table-column", "po-table-column-single-action"], ["class", "po-table-single-action po-clickable", 3, "po-table-action-disabled", "click", 4, "ngIf"], [1, "po-table-single-action", "po-clickable", 3, "click"], ["class", "po-table-single-action-content", 3, "p-icon", 4, "ngIf"], [1, "po-table-single-action-content", 3, "p-icon"], [1, "po-table-column-actions"], [1, "po-icon", "po-icon-more", "po-clickable", 3, "click"], ["popupTarget", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-hide-action-fixed-columns", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns"]], template: function PoTableComponent_Template(rf, ctx) { if (rf & 1) {
23584
+ } }, features: [i0.ɵɵProvidersFeature([PoDateService]), i0.ɵɵInheritDefinitionFeature], decls: 33, vars: 14, consts: [[1, "po-table-actions"], ["class", "po-table-actions-batch-actions", 4, "ngIf"], ["class", "po-table-actions-column-manager", 4, "ngIf"], ["class", "po-table-search", 4, "ngIf"], ["p-no-padding", "", 4, "ngIf", "ngIfElse"], ["tableContainerTemplate", ""], ["class", "po-row po-table-footer-show-more", 3, "po-invisible", 4, "ngIf"], ["tableTemplate", ""], ["tableVirtualScrollTemplate", ""], [3, "p-actions", "p-target"], ["popup", ""], ["poTableColumnDetail", ""], ["inputRadio", ""], ["inputCheckbox", ""], ["contentHeaderTemplate", ""], ["noColumnsWithHeight", ""], ["noColumnsWithoutHeight", ""], ["ActionsColumnTemplate", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-hide-action-fixed-columns", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns", 4, "ngIf"], [3, "p-title", "p-primary-action", "p-secondary-action", "p-click-out"], ["modalDelete", ""], [1, "po-font-text-large"], [1, "po-table-actions-batch-actions"], ["columnBatchActions", ""], [1, "po-table-actions-batch-actions__label", 3, "ngPlural"], ["ngPluralCase", "=0"], ["ngPluralCase", "=1"], ["ngPluralCase", "other"], [1, "po-table-actions-batch-actions__buttons"], ["p-icon", "po-icon-delete", 3, "p-danger", "p-disabled", "p-label", "p-click"], [1, "po-table-actions-column-manager"], ["columnManager", ""], ["p-icon", "po-icon-settings", "p-kind", "tertiary", "p-tooltip-position", "left", 3, "p-aria-label", "p-tooltip", "p-click"], ["columnManagerTarget", ""], [1, "po-table-search"], [3, "p-items", "p-filter-keys", "p-filter-type", "p-filtered-items-change"], ["p-no-padding", ""], [4, "ngTemplateOutlet"], [3, "p-text", "p-size", 4, "ngIf"], [1, "po-table-main-container"], [1, "po-table-wrapper"], ["tableWrapper", ""], ["class", "po-table-container", 3, "height", 4, "ngIf"], [4, "ngIf"], ["class", "po-table-footer", 4, "ngIf"], [3, "p-text", "p-size"], [1, "po-table-container"], [1, "po-table-container-fixed-inner"], ["poTableTbody", ""], [1, "po-table-footer"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-literals", "p-subtitles"], [1, "po-row", "po-table-footer-show-more"], ["tableFooter", ""], [1, "po-offset-xl-4", "po-offset-lg-4", "po-offset-md-3", "po-lg-4", "po-md-6", 3, "p-disabled", "p-label", "p-loading", "p-click"], [1, "po-table", 3, "ngClass"], ["cdkDropList", "", "cdkDropListOrientation", "horizontal", 3, "ngClass", "cdkDropListDropped"], ["class", "po-table-column-selectable", 3, "pointer-events", 4, "ngIf"], ["class", "po-table-header-column po-table-header-master-detail", 4, "ngIf"], [3, "po-table-header-master-detail", "po-table-header-single-action", 4, "ngIf"], ["class", "po-table-header-column po-text-center", 4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["tableDefaultThDragDrop", ""], ["tableDefaultThDefault", ""], [3, "po-table-header-single-action", "po-table-header-actions", 4, "ngIf"], ["class", "po-table-group-row", 4, "ngIf"], [1, "po-table-column-selectable"], ["name", "selectAll", 3, "p-checkboxValue", "p-change", 4, "ngIf"], ["name", "selectAll", 3, "p-checkboxValue", "p-change"], [1, "po-table-header-column", "po-table-header-master-detail"], ["columnActionLeft", ""], [1, "po-table-header-column", "po-text-center"], ["noColumnsHeader", ""], ["class", "po-table-header-ellipsis p-element po-frozen-column", "cdkDrag", "", "cdkDragLockAxis", "x", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "po-table-header-subtitle", "po-table-column-drag-box", "cdkDragDisabled", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", "", "cdkDragLockAxis", "x", 1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "cdkDragDisabled", "pFrozenColumn", "click"], [1, "po-table-header-flex"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["cdkDragHandle", "", "width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["cx", "9", "cy", "6", "r", "2", "fill", "black"], ["cx", "15", "cy", "6", "r", "2", "fill", "black"], ["cx", "9", "cy", "12", "r", "2", "fill", "black"], ["cx", "15", "cy", "12", "r", "2", "fill", "black"], ["cx", "9", "cy", "18", "r", "2", "fill", "black"], ["cx", "15", "cy", "18", "r", "2", "fill", "black"], ["class", "po-table-header-ellipsis p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "po-table-header-subtitle", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "pFrozenColumn", "click"], [1, "po-table-group-row"], [1, "po-table-row", "po-table-row-no-data"], [1, "po-table-no-data", "po-text-center", 3, "colSpan"], ["class", "po-table-group-row", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-row"], ["class", "po-table-column-selectable", 4, "ngIf"], ["class", "po-table-column-detail-toggle", 3, "click", 4, "ngIf"], ["class", "p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "pFrozenColumn", "ngClass", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-column-detail-toggle", 3, "click"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "p-element", "po-frozen-column", 3, "pFrozenColumn", "ngClass", "click"], [1, "po-table-column-cell", "po-table-body-ellipsis", "notranslate", 3, "ngSwitch", "p-tooltip", "p-append-in-body", "mouseenter", "mouseleave"], [4, "ngSwitchCase"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click", 4, "ngSwitchCase"], [3, "p-column", "p-icons", "p-row", 4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click"], [3, "p-column", "p-icons", "p-row"], [3, "p-subtitle"], [3, "p-value"], [1, "po-table-row-template-container", 3, "colSpan"], [1, "po-table-column-detail", 3, "colSpan"], [3, "p-selectable", "p-detail", "p-items", "p-select-row"], [3, "itemSize", "minBufferPx", "maxBufferPx"], ["tableVirtualScroll", ""], [1, "po-table", 3, "ngClass", "ngStyle"], [1, "po-table-header-sticky"], ["cdkDropList", "", "cdkDropListOrientation", "horizontal", 3, "cdkDropListDropped"], ["tableVirtualScrollThDragDrop", ""], ["tableVirtualScrollThDefault", ""], ["class", "po-table-header-ellipsis p-element po-frozen-column", "cdkDrag", "", "cdkDragLockAxis", "x", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "ngStyle", "po-table-header-subtitle", "po-table-column-drag-box", "cdkDragDisabled", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", "", "cdkDragLockAxis", "x", 1, "po-table-header-ellipsis", "p-element", "po-frozen-column", 3, "ngClass", "ngStyle", "cdkDragDisabled", "pFrozenColumn", "click"], ["class", "po-table-header-ellipsis p-element po-frozen-column example-box", 3, "width", "max-width", "min-width", "po-clickable", "ngClass", "ngStyle", "po-table-header-subtitle", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-header-ellipsis", "p-element", "po-frozen-column", "example-box", 3, "ngClass", "ngStyle", "pFrozenColumn", "click"], ["class", "po-table-group-row", 4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTrackBy"], ["class", "p-element po-frozen-column", 3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "ngClass", "pFrozenColumn", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "p-element", "po-frozen-column", 3, "ngClass", "pFrozenColumn", "click"], ["class", "po-icon po-clickable", 3, "po-icon-arrow-up", "po-icon-arrow-down", 4, "ngIf"], [1, "po-icon", "po-clickable"], [3, "name", "p-checked", "p-change-selected"], ["name", "checkbox", 3, "p-checkboxValue", "p-change"], [1, "po-table-header-ellipsis", 3, "p-tooltip", "p-append-in-body", "mouseenter", "mouseleave"], ["columnHeader", ""], [3, "po-table-header-icon-unselected", "po-table-header-icon-descending", "po-table-header-icon-ascending", 4, "ngIf"], ["width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M18.2929 15.2929L17 16.5858L17 10C17 9.44772 16.5523 9 16 9C15.4477 9 15 9.44772 15 10L15 16.5858L13.7071 15.2929C13.3166 14.9024 12.6834 14.9024 12.2929 15.2929C11.9024 15.6834 11.9024 16.3166 12.2929 16.7071L15.2929 19.7071C15.6834 20.0976 16.3166 20.0976 16.7071 19.7071L19.7071 16.7071C20.0976 16.3166 20.0976 15.6834 19.7071 15.2929C19.3166 14.9024 18.6834 14.9024 18.2929 15.2929ZM5.70716 8.7071L7.00006 7.4142L7.00003 14C7.00002 14.5523 7.44774 15 8.00002 15C8.55231 15 9.00002 14.5523 9.00003 14L9.00006 7.41418L10.2929 8.70707C10.6835 9.09759 11.3166 9.09758 11.7072 8.70706C12.0977 8.31653 12.0977 7.68336 11.7072 7.29284L8.70718 4.29286C8.31665 3.90234 7.68349 3.90235 7.29296 4.29287L4.29295 7.29289C3.90242 7.68342 3.90242 8.31658 4.29294 8.70711C4.68347 9.09763 5.31663 9.09762 5.70716 8.7071Z", "fill", "#1D1D30"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M11 9.41421L9.70711 10.7071C9.31658 11.0976 8.68342 11.0976 8.29289 10.7071C7.90237 10.3166 7.90237 9.68342 8.29289 9.29289L11.2929 6.29289C11.6834 5.90237 12.3166 5.90237 12.7071 6.29289L15.7071 9.29289C16.0976 9.68342 16.0976 10.3166 15.7071 10.7071C15.3166 11.0976 14.6834 11.0976 14.2929 10.7071L13 9.41421V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V9.41421Z", "fill", "black"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.70711 13.2929L11 14.5858V7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7V14.5858L14.2929 13.2929C14.6834 12.9024 15.3166 12.9024 15.7071 13.2929C16.0976 13.6834 16.0976 14.3166 15.7071 14.7071L12.7071 17.7071C12.3166 18.0976 11.6834 18.0976 11.2929 17.7071L8.29289 14.7071C7.90237 14.3166 7.90237 13.6834 8.29289 13.2929C8.68342 12.9024 9.31658 12.9024 9.70711 13.2929Z", "fill", "black"], [1, "po-table-header-fixed-inner"], ["class", "po-table-column po-table-column-single-action", 3, "width", "max-width", 4, "ngIf"], ["class", "po-table-column-actions", 4, "ngIf"], [1, "po-table-column", "po-table-column-single-action"], ["class", "po-table-single-action po-clickable", 3, "po-table-action-disabled", "click", 4, "ngIf"], [1, "po-table-single-action", "po-clickable", 3, "click"], ["class", "po-table-single-action-content", 3, "p-icon", 4, "ngIf"], [1, "po-table-single-action-content", 3, "p-icon"], [1, "po-table-column-actions"], [1, "po-icon", "po-icon-more", "po-clickable", 3, "click"], ["popupTarget", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-hide-action-fixed-columns", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns"]], template: function PoTableComponent_Template(rf, ctx) { if (rf & 1) {
23433
23585
  i0.ɵɵelementStart(0, "div", 0);
23434
23586
  i0.ɵɵtemplate(1, PoTableComponent_div_1_Template, 9, 4, "div", 1);
23435
23587
  i0.ɵɵtemplate(2, PoTableComponent_div_2_Template, 4, 2, "div", 2);
@@ -23476,7 +23628,7 @@ class PoTableComponent extends PoTableBaseComponent {
23476
23628
  }
23477
23629
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableComponent, [{
23478
23630
  type: Component,
23479
- args: [{ selector: 'po-table', providers: [PoDateService], template: "<div class=\"po-table-actions\">\n <div\n #columnBatchActions\n *ngIf=\"hasValidColumns && itemsSelected.length > 0 && !hideBatchActions\"\n class=\"po-table-actions-batch-actions\"\n >\n <div [ngPlural]=\"itemsSelected.length\" class=\"po-table-actions-batch-actions__label\">\n <strong>\n <ng-template ngPluralCase=\"=0\">{{ literals.noItem }}</ng-template>\n <ng-template ngPluralCase=\"=1\">{{ literals.oneItem }}</ng-template>\n <ng-template ngPluralCase=\"other\">{{ itemsSelected.length }} {{ literals.multipleItems }}</ng-template>\n </strong>\n </div>\n\n <div class=\"po-table-actions-batch-actions__buttons\">\n <po-button\n p-icon=\"po-icon-delete\"\n [p-danger]=\"true\"\n [p-disabled]=\"itemsSelected.length > 1 && serviceDeleteApi !== undefined\"\n [p-label]=\"literals.delete\"\n (p-click)=\"modalDelete.open()\"\n ></po-button>\n </div>\n </div>\n\n <div #columnManager *ngIf=\"hasValidColumns && !hideColumnsManager\" class=\"po-table-actions-column-manager\">\n <po-button\n #columnManagerTarget\n p-icon=\"po-icon-settings\"\n p-kind=\"tertiary\"\n p-tooltip-position=\"left\"\n [p-aria-label]=\"literals.columnsManager\"\n [p-tooltip]=\"literals.columnsManager\"\n (p-click)=\"onOpenColumnManager()\"\n ></po-button>\n </div>\n\n <div *ngIf=\"!hideTableSearch && hasValidColumns\" class=\"po-table-search\">\n <po-search\n [p-items]=\"items\"\n [p-filter-keys]=\"filteredColumns\"\n [p-filter-type]=\"filterType\"\n (p-filtered-items-change)=\"onFilteredItemsChange($event)\"\n >\n </po-search>\n </div>\n</div>\n<po-container *ngIf=\"container; else tableContainerTemplate\" p-no-padding>\n <ng-container *ngTemplateOutlet=\"tableContainerTemplate\"></ng-container>\n</po-container>\n\n<ng-template #tableContainerTemplate>\n <div [class.po-table-container-relative]=\"loading\">\n <div *ngIf=\"loading\" class=\"po-table-overlay\">\n <po-loading class=\"po-table-overlay-content\" [p-text]=\"literals.loadingData\"></po-loading>\n </div>\n\n <div class=\"po-table-main-container\">\n <div\n #tableWrapper\n class=\"po-table-wrapper\"\n [class.po-table-header-fixed-columns-pixels]=\"allColumnsWidthPixels\"\n [style.opacity]=\"tableOpacity\"\n >\n <div *ngIf=\"height\" class=\"po-table-container\" [style.height.px]=\"heightTableContainer\">\n <div #poTableTbody class=\"po-table-container-fixed-inner\">\n <ng-container *ngTemplateOutlet=\"tableVirtualScrollTemplate\"></ng-container>\n </div>\n </div>\n\n <div *ngIf=\"!height\">\n <ng-container *ngTemplateOutlet=\"tableTemplate\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-footer\" *ngIf=\"hasFooter\">\n <ng-container *ngFor=\"let column of subtitleColumns; trackBy: trackBy\">\n <po-table-subtitle-footer [p-literals]=\"literals\" [p-subtitles]=\"column.subtitles\"> </po-table-subtitle-footer>\n </ng-container>\n </div>\n</ng-template>\n\n<!-- Show More Button -->\n<div\n *ngIf=\"!infiniteScroll\"\n class=\"po-row po-table-footer-show-more\"\n [class.po-invisible]=\"showMore.observers.length === 0 && !hasService\"\n #tableFooter\n>\n <po-button\n class=\"po-offset-xl-4 po-offset-lg-4 po-offset-md-3 po-lg-4 po-md-6\"\n [p-disabled]=\"showMoreDisabled\"\n [p-label]=\"literals.loadMoreData\"\n [p-loading]=\"loadingShowMore\"\n (p-click)=\"onShowMore()\"\n >\n </po-button>\n</div>\n\n<!-- Table default-->\n<ng-template #tableTemplate>\n <table\n class=\"po-table\"\n [ngClass]=\"{\n 'po-table-interactive': selectable || sort,\n 'po-table-selectable': selectable,\n 'po-table-striped': striped\n }\"\n [attr.p-spacing]=\"spacing\"\n >\n <thead>\n <tr\n [ngClass]=\"{ 'no-hover': hideSelectAll, 'po-table-column-drag': this.isDraggable }\"\n [class.po-table-header]=\"!height\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <th\n *ngIf=\"hasSelectableColumn\"\n [style.pointer-events]=\"hideSelectAll ? 'none' : 'auto'\"\n class=\"po-table-column-selectable\"\n >\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (p-change)=\"selectAllRows()\"\n [p-checkboxValue]=\"selectAll === null ? 'mixed' : selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <ng-container\n *ngIf=\"this.isDraggable || hasSomeFixed(); then tableDefaultThDragDrop; else tableDefaultThDefault\"\n >\n </ng-container>\n <ng-template #tableDefaultThDragDrop>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n [class.po-table-column-drag-box]=\"this.isDraggable\"\n (click)=\"sortColumn(column)\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n [cdkDragDisabled]=\"column.fixed ? 'true' : 'false'\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngIf=\"this.isDraggable && !column.fixed\">\n <svg\n cdkDragHandle\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"9\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"18\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"18\" r=\"2\" fill=\"black\" />\n </svg>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n <ng-template #tableDefaultThDefault>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *ngFor=\"let row of filteredItems; let rowIndex = index; trackBy: trackBy\">\n <tr class=\"po-table-row\" [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\">\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [pFrozenColumn]=\"column.fixed\"\n class=\"p-element po-frozen-column\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"hasSelectableRow() ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell po-table-body-ellipsis notranslate\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n</ng-template>\n\n<!-- Table with virtual scroll -->\n<ng-template #tableVirtualScrollTemplate>\n <cdk-virtual-scroll-viewport\n #tableVirtualScroll\n [itemSize]=\"itemSize\"\n [style.height.px]=\"heightTableContainer\"\n [minBufferPx]=\"heightTableContainer < 100 ? 100 : heightTableContainer\"\n [maxBufferPx]=\"heightTableContainer < 200 ? 200 : heightTableContainer\"\n >\n <table\n class=\"po-table\"\n [ngClass]=\"{\n 'po-table-interactive': selectable || sort,\n 'po-table-selectable': selectable,\n 'po-table-striped': striped\n }\"\n [ngStyle]=\"{ 'table-layout': !hasItems ? 'fixed' : 'auto' }\"\n [attr.p-spacing]=\"spacing\"\n >\n <thead class=\"po-table-header-sticky\" [style.top]=\"inverseOfTranslation\">\n <tr\n [class.po-table-header]=\"!height\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <th\n *ngIf=\"hasSelectableColumn\"\n [style.pointer-events]=\"hideSelectAll ? 'none' : 'auto'\"\n class=\"po-table-column-selectable\"\n >\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (p-change)=\"selectAllRows()\"\n [p-checkboxValue]=\"selectAll === null ? 'mixed' : selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <ng-container\n *ngIf=\"\n this.isDraggable || hasSomeFixed();\n then tableVirtualScrollThDragDrop;\n else tableVirtualScrollThDefault\n \"\n >\n </ng-container>\n <ng-template #tableVirtualScrollThDragDrop>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [ngStyle]=\"{ 'width': !hasItems ? '100%' : 'auto' }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n [class.po-table-column-drag-box]=\"this.isDraggable\"\n (click)=\"sortColumn(column)\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n [cdkDragDisabled]=\"column.fixed ? 'true' : 'false'\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngIf=\"this.isDraggable && !column.fixed\">\n <svg\n cdkDragHandle\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"9\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"18\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"18\" r=\"2\" fill=\"black\" />\n </svg>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n <ng-template #tableVirtualScrollThDefault>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column example-box\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [ngStyle]=\"{ 'width': !hasItems ? '100%' : 'auto' }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody\n class=\"po-table-group-row\"\n *cdkVirtualFor=\"let row of filteredItems; let rowIndex = index; trackBy: trackBy\"\n >\n <tr\n class=\"po-table-row\"\n [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\"\n >\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n [pFrozenColumn]=\"column.fixed\"\n class=\"p-element po-frozen-column\"\n (click)=\"hasSelectableRow() ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell po-table-body-ellipsis notranslate\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n </cdk-virtual-scroll-viewport>\n</ng-template>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n\n<ng-template #poTableColumnDetail let-row=\"row\" let-rowIndex=\"rowIndex\">\n <span\n *ngIf=\"(containsMasterDetail(row) && !hasRowTemplate) || (isShowRowTemplate(row, rowIndex) && hasRowTemplate)\"\n class=\"po-icon po-clickable\"\n [class.po-icon-arrow-up]=\"row.$showDetail\"\n [class.po-icon-arrow-down]=\"!row.$showDetail\"\n >\n </span>\n</ng-template>\n\n<ng-template #inputRadio let-row>\n <po-radio [name]=\"idRadio\" [p-checked]=\"row.$selected\" (p-change-selected)=\"selectRow(row)\"></po-radio>\n</ng-template>\n\n<ng-template #inputCheckbox let-row>\n <po-checkbox\n name=\"checkbox\"\n (p-change)=\"selectable ? selectRow(row) : 'javascript:;'\"\n [p-checkboxValue]=\"row.$selected\"\n ></po-checkbox>\n</ng-template>\n\n<ng-template #contentHeaderTemplate let-column>\n <span\n #columnHeader\n class=\"po-table-header-ellipsis\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n {{ column.label || (column.property | titlecase) }}\n </span>\n\n <span\n *ngIf=\"sort && column.sortable !== false\"\n [class.po-table-header-icon-unselected]=\"JSON.stringify(sortedColumn?.property) !== JSON.stringify(column)\"\n [class.po-table-header-icon-descending]=\"\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && sortedColumn.ascending\n \"\n [class.po-table-header-icon-ascending]=\"\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && !sortedColumn.ascending\n \"\n >\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) !== JSON.stringify(column)\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M18.2929 15.2929L17 16.5858L17 10C17 9.44772 16.5523 9 16 9C15.4477 9 15 9.44772 15 10L15 16.5858L13.7071 15.2929C13.3166 14.9024 12.6834 14.9024 12.2929 15.2929C11.9024 15.6834 11.9024 16.3166 12.2929 16.7071L15.2929 19.7071C15.6834 20.0976 16.3166 20.0976 16.7071 19.7071L19.7071 16.7071C20.0976 16.3166 20.0976 15.6834 19.7071 15.2929C19.3166 14.9024 18.6834 14.9024 18.2929 15.2929ZM5.70716 8.7071L7.00006 7.4142L7.00003 14C7.00002 14.5523 7.44774 15 8.00002 15C8.55231 15 9.00002 14.5523 9.00003 14L9.00006 7.41418L10.2929 8.70707C10.6835 9.09759 11.3166 9.09758 11.7072 8.70706C12.0977 8.31653 12.0977 7.68336 11.7072 7.29284L8.70718 4.29286C8.31665 3.90234 7.68349 3.90235 7.29296 4.29287L4.29295 7.29289C3.90242 7.68342 3.90242 8.31658 4.29294 8.70711C4.68347 9.09763 5.31663 9.09762 5.70716 8.7071Z\"\n fill=\"#1D1D30\"\n />\n </svg>\n </ng-container>\n\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && sortedColumn.ascending\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M11 9.41421L9.70711 10.7071C9.31658 11.0976 8.68342 11.0976 8.29289 10.7071C7.90237 10.3166 7.90237 9.68342 8.29289 9.29289L11.2929 6.29289C11.6834 5.90237 12.3166 5.90237 12.7071 6.29289L15.7071 9.29289C16.0976 9.68342 16.0976 10.3166 15.7071 10.7071C15.3166 11.0976 14.6834 11.0976 14.2929 10.7071L13 9.41421V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V9.41421Z\"\n fill=\"black\"\n />\n </svg>\n </ng-container>\n\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && !sortedColumn.ascending\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9.70711 13.2929L11 14.5858V7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7V14.5858L14.2929 13.2929C14.6834 12.9024 15.3166 12.9024 15.7071 13.2929C16.0976 13.6834 16.0976 14.3166 15.7071 14.7071L12.7071 17.7071C12.3166 18.0976 11.6834 18.0976 11.2929 17.7071L8.29289 14.7071C7.90237 14.3166 7.90237 13.6834 8.29289 13.2929C8.68342 12.9024 9.31658 12.9024 9.70711 13.2929Z\"\n fill=\"black\"\n />\n </svg>\n </ng-container>\n </span>\n</ng-template>\n\n<ng-template #noColumnsWithHeight>\n <div class=\"po-table-header-fixed-inner\" [style.width.px]=\"noColumnsHeader?.nativeElement.offsetWidth\">\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n </div>\n</ng-template>\n\n<ng-template #noColumnsWithoutHeight>\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n</ng-template>\n\n<!-- Template de a\u00E7\u00F5es -->\n<ng-template #ActionsColumnTemplate let-row=\"row\" let-rowIndex=\"rowIndex\">\n <td\n *ngIf=\"isSingleAction\"\n class=\"po-table-column po-table-column-single-action\"\n [style.width.px]=\"height && actionRight ? getWidthColumnManager() : ''\"\n [style.max-width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n [style.width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n >\n <div\n *ngIf=\"firstAction.visible !== false\"\n class=\"po-table-single-action po-clickable\"\n [class.po-table-action-disabled]=\"firstAction.disabled ? validateTableAction(row, firstAction) : false\"\n (click)=\"executeTableAction(row, firstAction)\"\n >\n <po-icon *ngIf=\"firstAction.icon\" class=\"po-table-single-action-content\" [p-icon]=\"firstAction.icon\"></po-icon>\n {{ firstAction.label }}\n </div>\n </td>\n\n <td *ngIf=\"visibleActions.length > 1\" class=\"po-table-column-actions\">\n <span #popupTarget class=\"po-icon po-icon-more po-clickable\" (click)=\"togglePopup(row, popupTarget)\"></span>\n </td>\n</ng-template>\n\n<po-table-column-manager\n *ngIf=\"!hideColumnsManager\"\n [p-columns]=\"columns\"\n [p-max-columns]=\"maxColumns\"\n [p-target]=\"columnManagerTarget\"\n [p-last-visible-columns-selected]=\"lastVisibleColumnsSelected\"\n [p-hide-action-fixed-columns]=\"hideActionFixedColumns\"\n (p-visible-columns-change)=\"onVisibleColumnsChange($event)\"\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\n [p-columns-default]=\"initialColumns\"\n (p-initial-columns)=\"onColumnRestoreManager($event)\"\n>\n</po-table-column-manager>\n\n<po-modal\n #modalDelete\n [p-title]=\"literals.delete\"\n [p-primary-action]=\"confirm\"\n [p-secondary-action]=\"close\"\n [p-click-out]=\"true\"\n>\n <p class=\"po-font-text-large\">{{ literals.bodyDelete }}</p>\n</po-modal>\n" }]
23631
+ args: [{ selector: 'po-table', providers: [PoDateService], template: "<div class=\"po-table-actions\">\n <div\n #columnBatchActions\n *ngIf=\"hasValidColumns && itemsSelected.length > 0 && !hideBatchActions\"\n class=\"po-table-actions-batch-actions\"\n >\n <div [ngPlural]=\"itemsSelected.length\" class=\"po-table-actions-batch-actions__label\">\n <strong>\n <ng-template ngPluralCase=\"=0\">{{ literals.noItem }}</ng-template>\n <ng-template ngPluralCase=\"=1\">{{ literals.oneItem }}</ng-template>\n <ng-template ngPluralCase=\"other\">{{ itemsSelected.length }} {{ literals.multipleItems }}</ng-template>\n </strong>\n </div>\n\n <div class=\"po-table-actions-batch-actions__buttons\">\n <po-button\n p-icon=\"po-icon-delete\"\n [p-danger]=\"true\"\n [p-disabled]=\"itemsSelected.length > 1 && serviceDeleteApi !== undefined\"\n [p-label]=\"literals.delete\"\n (p-click)=\"modalDelete.open()\"\n ></po-button>\n </div>\n </div>\n\n <div #columnManager *ngIf=\"hasValidColumns && !hideColumnsManager\" class=\"po-table-actions-column-manager\">\n <po-button\n #columnManagerTarget\n p-icon=\"po-icon-settings\"\n p-kind=\"tertiary\"\n p-tooltip-position=\"left\"\n [p-aria-label]=\"literals.columnsManager\"\n [p-tooltip]=\"literals.columnsManager\"\n (p-click)=\"onOpenColumnManager()\"\n ></po-button>\n </div>\n\n <div *ngIf=\"!hideTableSearch && hasValidColumns\" class=\"po-table-search\">\n <po-search\n [p-items]=\"items\"\n [p-filter-keys]=\"filteredColumns\"\n [p-filter-type]=\"filterType\"\n (p-filtered-items-change)=\"onFilteredItemsChange($event)\"\n >\n </po-search>\n </div>\n</div>\n<po-container *ngIf=\"container; else tableContainerTemplate\" p-no-padding>\n <ng-container *ngTemplateOutlet=\"tableContainerTemplate\"></ng-container>\n</po-container>\n\n<ng-template #tableContainerTemplate>\n <div [class.po-table-container-sticky]=\"loading\">\n <po-loading-overlay *ngIf=\"loading\" [p-text]=\"literals.loadingData\" [p-size]=\"sizeLoading\"></po-loading-overlay>\n <div class=\"po-table-main-container\">\n <div\n #tableWrapper\n class=\"po-table-wrapper\"\n [class.po-table-header-fixed-columns-pixels]=\"allColumnsWidthPixels\"\n [style.opacity]=\"tableOpacity\"\n >\n <div *ngIf=\"height\" class=\"po-table-container\" [style.height.px]=\"heightTableContainer\">\n <div #poTableTbody class=\"po-table-container-fixed-inner\">\n <ng-container *ngTemplateOutlet=\"tableVirtualScrollTemplate\"></ng-container>\n </div>\n </div>\n\n <div *ngIf=\"!height\">\n <ng-container *ngTemplateOutlet=\"tableTemplate\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-footer\" *ngIf=\"hasFooter\">\n <ng-container *ngFor=\"let column of subtitleColumns; trackBy: trackBy\">\n <po-table-subtitle-footer [p-literals]=\"literals\" [p-subtitles]=\"column.subtitles\"> </po-table-subtitle-footer>\n </ng-container>\n </div>\n</ng-template>\n\n<!-- Show More Button -->\n<div\n *ngIf=\"!infiniteScroll\"\n class=\"po-row po-table-footer-show-more\"\n [class.po-invisible]=\"showMore.observers.length === 0 && !hasService\"\n #tableFooter\n>\n <po-button\n class=\"po-offset-xl-4 po-offset-lg-4 po-offset-md-3 po-lg-4 po-md-6\"\n [p-disabled]=\"showMoreDisabled\"\n [p-label]=\"literals.loadMoreData\"\n [p-loading]=\"loadingShowMore\"\n (p-click)=\"onShowMore()\"\n >\n </po-button>\n</div>\n\n<!-- Table default-->\n<ng-template #tableTemplate>\n <table\n class=\"po-table\"\n [ngClass]=\"{\n 'po-table-interactive': selectable || sort,\n 'po-table-selectable': selectable,\n 'po-table-striped': striped\n }\"\n [attr.p-spacing]=\"spacing\"\n >\n <thead>\n <tr\n [ngClass]=\"{ 'no-hover': hideSelectAll, 'po-table-column-drag': this.isDraggable }\"\n [class.po-table-header]=\"!height\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <th\n *ngIf=\"hasSelectableColumn\"\n [style.pointer-events]=\"hideSelectAll ? 'none' : 'auto'\"\n class=\"po-table-column-selectable\"\n >\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (p-change)=\"selectAllRows()\"\n [p-checkboxValue]=\"selectAll === null ? 'mixed' : selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <ng-container\n *ngIf=\"this.isDraggable || hasSomeFixed(); then tableDefaultThDragDrop; else tableDefaultThDefault\"\n >\n </ng-container>\n <ng-template #tableDefaultThDragDrop>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n [class.po-table-column-drag-box]=\"this.isDraggable\"\n (click)=\"sortColumn(column)\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n [cdkDragDisabled]=\"column.fixed ? 'true' : 'false'\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngIf=\"this.isDraggable && !column.fixed\">\n <svg\n cdkDragHandle\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"9\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"18\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"18\" r=\"2\" fill=\"black\" />\n </svg>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n <ng-template #tableDefaultThDefault>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *ngFor=\"let row of filteredItems; let rowIndex = index; trackBy: trackBy\">\n <tr class=\"po-table-row\" [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\">\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [pFrozenColumn]=\"column.fixed\"\n class=\"p-element po-frozen-column\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"hasSelectableRow() ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell po-table-body-ellipsis notranslate\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n</ng-template>\n\n<!-- Table with virtual scroll -->\n<ng-template #tableVirtualScrollTemplate>\n <cdk-virtual-scroll-viewport\n #tableVirtualScroll\n [itemSize]=\"itemSize\"\n [style.height.px]=\"heightTableContainer\"\n [minBufferPx]=\"heightTableContainer < 100 ? 100 : heightTableContainer\"\n [maxBufferPx]=\"heightTableContainer < 200 ? 200 : heightTableContainer\"\n >\n <table\n class=\"po-table\"\n [ngClass]=\"{\n 'po-table-interactive': selectable || sort,\n 'po-table-selectable': selectable,\n 'po-table-striped': striped\n }\"\n [ngStyle]=\"{ 'table-layout': !hasItems ? 'fixed' : 'auto' }\"\n [attr.p-spacing]=\"spacing\"\n >\n <thead class=\"po-table-header-sticky\" [style.top]=\"inverseOfTranslation\">\n <tr\n [class.po-table-header]=\"!height\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <th\n *ngIf=\"hasSelectableColumn\"\n [style.pointer-events]=\"hideSelectAll ? 'none' : 'auto'\"\n class=\"po-table-column-selectable\"\n >\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (p-change)=\"selectAllRows()\"\n [p-checkboxValue]=\"selectAll === null ? 'mixed' : selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <ng-container\n *ngIf=\"\n this.isDraggable || hasSomeFixed();\n then tableVirtualScrollThDragDrop;\n else tableVirtualScrollThDefault\n \"\n >\n </ng-container>\n <ng-template #tableVirtualScrollThDragDrop>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [ngStyle]=\"{ 'width': !hasItems ? '100%' : 'auto' }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n [class.po-table-column-drag-box]=\"this.isDraggable\"\n (click)=\"sortColumn(column)\"\n cdkDrag\n cdkDragLockAxis=\"x\"\n [cdkDragDisabled]=\"column.fixed ? 'true' : 'false'\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngIf=\"this.isDraggable && !column.fixed\">\n <svg\n cdkDragHandle\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"9\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"6\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"12\" r=\"2\" fill=\"black\" />\n <circle cx=\"9\" cy=\"18\" r=\"2\" fill=\"black\" />\n <circle cx=\"15\" cy=\"18\" r=\"2\" fill=\"black\" />\n </svg>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n <ng-template #tableVirtualScrollThDefault>\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis p-element po-frozen-column example-box\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [attr.data-po-table-column-name]=\"column.label || (column.property | titlecase) | lowercase\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [ngClass]=\"{\n 'po-table-header-sorted':\n sort &&\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) &&\n (sortedColumn.ascending || !sortedColumn.ascending)\n }\"\n [ngStyle]=\"{ 'width': !hasItems ? '100%' : 'auto' }\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n [pFrozenColumn]=\"column.fixed\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n </ng-template>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody\n class=\"po-table-group-row\"\n *cdkVirtualFor=\"let row of filteredItems; let rowIndex = index; trackBy: trackBy\"\n >\n <tr\n class=\"po-table-row\"\n [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\"\n >\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n [pFrozenColumn]=\"column.fixed\"\n class=\"p-element po-frozen-column\"\n (click)=\"hasSelectableRow() ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell po-table-body-ellipsis notranslate\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n </cdk-virtual-scroll-viewport>\n</ng-template>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n\n<ng-template #poTableColumnDetail let-row=\"row\" let-rowIndex=\"rowIndex\">\n <span\n *ngIf=\"(containsMasterDetail(row) && !hasRowTemplate) || (isShowRowTemplate(row, rowIndex) && hasRowTemplate)\"\n class=\"po-icon po-clickable\"\n [class.po-icon-arrow-up]=\"row.$showDetail\"\n [class.po-icon-arrow-down]=\"!row.$showDetail\"\n >\n </span>\n</ng-template>\n\n<ng-template #inputRadio let-row>\n <po-radio [name]=\"idRadio\" [p-checked]=\"row.$selected\" (p-change-selected)=\"selectRow(row)\"></po-radio>\n</ng-template>\n\n<ng-template #inputCheckbox let-row>\n <po-checkbox\n name=\"checkbox\"\n (p-change)=\"selectable ? selectRow(row) : 'javascript:;'\"\n [p-checkboxValue]=\"row.$selected\"\n ></po-checkbox>\n</ng-template>\n\n<ng-template #contentHeaderTemplate let-column>\n <span\n #columnHeader\n class=\"po-table-header-ellipsis\"\n [p-tooltip]=\"tooltipText\"\n [p-append-in-body]=\"true\"\n (mouseenter)=\"tooltipMouseEnter($event)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n {{ column.label || (column.property | titlecase) }}\n </span>\n\n <span\n *ngIf=\"sort && column.sortable !== false\"\n [class.po-table-header-icon-unselected]=\"JSON.stringify(sortedColumn?.property) !== JSON.stringify(column)\"\n [class.po-table-header-icon-descending]=\"\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && sortedColumn.ascending\n \"\n [class.po-table-header-icon-ascending]=\"\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && !sortedColumn.ascending\n \"\n >\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) !== JSON.stringify(column)\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M18.2929 15.2929L17 16.5858L17 10C17 9.44772 16.5523 9 16 9C15.4477 9 15 9.44772 15 10L15 16.5858L13.7071 15.2929C13.3166 14.9024 12.6834 14.9024 12.2929 15.2929C11.9024 15.6834 11.9024 16.3166 12.2929 16.7071L15.2929 19.7071C15.6834 20.0976 16.3166 20.0976 16.7071 19.7071L19.7071 16.7071C20.0976 16.3166 20.0976 15.6834 19.7071 15.2929C19.3166 14.9024 18.6834 14.9024 18.2929 15.2929ZM5.70716 8.7071L7.00006 7.4142L7.00003 14C7.00002 14.5523 7.44774 15 8.00002 15C8.55231 15 9.00002 14.5523 9.00003 14L9.00006 7.41418L10.2929 8.70707C10.6835 9.09759 11.3166 9.09758 11.7072 8.70706C12.0977 8.31653 12.0977 7.68336 11.7072 7.29284L8.70718 4.29286C8.31665 3.90234 7.68349 3.90235 7.29296 4.29287L4.29295 7.29289C3.90242 7.68342 3.90242 8.31658 4.29294 8.70711C4.68347 9.09763 5.31663 9.09762 5.70716 8.7071Z\"\n fill=\"#1D1D30\"\n />\n </svg>\n </ng-container>\n\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && sortedColumn.ascending\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M11 9.41421L9.70711 10.7071C9.31658 11.0976 8.68342 11.0976 8.29289 10.7071C7.90237 10.3166 7.90237 9.68342 8.29289 9.29289L11.2929 6.29289C11.6834 5.90237 12.3166 5.90237 12.7071 6.29289L15.7071 9.29289C16.0976 9.68342 16.0976 10.3166 15.7071 10.7071C15.3166 11.0976 14.6834 11.0976 14.2929 10.7071L13 9.41421V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V9.41421Z\"\n fill=\"black\"\n />\n </svg>\n </ng-container>\n\n <ng-container *ngIf=\"JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && !sortedColumn.ascending\">\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9.70711 13.2929L11 14.5858V7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7V14.5858L14.2929 13.2929C14.6834 12.9024 15.3166 12.9024 15.7071 13.2929C16.0976 13.6834 16.0976 14.3166 15.7071 14.7071L12.7071 17.7071C12.3166 18.0976 11.6834 18.0976 11.2929 17.7071L8.29289 14.7071C7.90237 14.3166 7.90237 13.6834 8.29289 13.2929C8.68342 12.9024 9.31658 12.9024 9.70711 13.2929Z\"\n fill=\"black\"\n />\n </svg>\n </ng-container>\n </span>\n</ng-template>\n\n<ng-template #noColumnsWithHeight>\n <div class=\"po-table-header-fixed-inner\" [style.width.px]=\"headerWidth\">\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n </div>\n</ng-template>\n\n<ng-template #noColumnsWithoutHeight>\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n</ng-template>\n\n<!-- Template de a\u00E7\u00F5es -->\n<ng-template #ActionsColumnTemplate let-row=\"row\" let-rowIndex=\"rowIndex\">\n <td\n *ngIf=\"isSingleAction\"\n class=\"po-table-column po-table-column-single-action\"\n [style.width.px]=\"height && actionRight ? getWidthColumnManager() : ''\"\n [style.max-width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n [style.width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n >\n <div\n *ngIf=\"firstAction.visible !== false\"\n class=\"po-table-single-action po-clickable\"\n [class.po-table-action-disabled]=\"firstAction.disabled ? validateTableAction(row, firstAction) : false\"\n (click)=\"executeTableAction(row, firstAction)\"\n >\n <po-icon *ngIf=\"firstAction.icon\" class=\"po-table-single-action-content\" [p-icon]=\"firstAction.icon\"></po-icon>\n {{ firstAction.label }}\n </div>\n </td>\n\n <td *ngIf=\"visibleActions.length > 1\" class=\"po-table-column-actions\">\n <span #popupTarget class=\"po-icon po-icon-more po-clickable\" (click)=\"togglePopup(row, popupTarget)\"></span>\n </td>\n</ng-template>\n\n<po-table-column-manager\n *ngIf=\"!hideColumnsManager\"\n [p-columns]=\"columns\"\n [p-max-columns]=\"maxColumns\"\n [p-target]=\"columnManagerTarget\"\n [p-last-visible-columns-selected]=\"lastVisibleColumnsSelected\"\n [p-hide-action-fixed-columns]=\"hideActionFixedColumns\"\n (p-visible-columns-change)=\"onVisibleColumnsChange($event)\"\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\n [p-columns-default]=\"initialColumns\"\n (p-initial-columns)=\"onColumnRestoreManager($event)\"\n>\n</po-table-column-manager>\n\n<po-modal\n #modalDelete\n [p-title]=\"literals.delete\"\n [p-primary-action]=\"confirm\"\n [p-secondary-action]=\"close\"\n [p-click-out]=\"true\"\n>\n <p class=\"po-font-text-large\">{{ literals.bodyDelete }}</p>\n</po-modal>\n" }]
23480
23632
  }], function () { return [{ type: PoDateService }, { type: i0.IterableDiffers }, { type: i0.Renderer2 }, { type: PoLanguageService }, { type: i0.ChangeDetectorRef }, { type: i1.DecimalPipe }, { type: i2.Router }, { type: PoTableService }]; }, { tableRowTemplate: [{
23481
23633
  type: ContentChild,
23482
23634
  args: [PoTableRowTemplateDirective, { static: true }]
@@ -26051,7 +26203,7 @@ class PoComboComponent extends PoComboBaseComponent {
26051
26203
  i0.ɵɵproperty("ngIf", ctx.appendBox)("ngIfThen", _r8)("ngIfElse", _r6);
26052
26204
  i0.ɵɵadvance(5);
26053
26205
  i0.ɵɵproperty("p-help", ctx.help)("p-disabled", ctx.disabled);
26054
- } }, dependencies: [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i5.CdkConnectedOverlay, i5.CdkOverlayOrigin, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoIconComponent, PoListBoxComponent], encapsulation: 2, changeDetection: 0 });
26206
+ } }, dependencies: [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i5$1.CdkConnectedOverlay, i5$1.CdkOverlayOrigin, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoIconComponent, PoListBoxComponent], encapsulation: 2, changeDetection: 0 });
26055
26207
  }
26056
26208
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoComboComponent, [{
26057
26209
  type: Component,
@@ -37882,34 +38034,217 @@ class PoTextareaComponent extends PoTextareaBaseComponent {
37882
38034
  args: ['inp', { read: ElementRef, static: true }]
37883
38035
  }] }); })();
37884
38036
 
38037
+ const poSearchLiteralsDefault = {
38038
+ en: {
38039
+ search: 'Search',
38040
+ clean: 'Clean'
38041
+ },
38042
+ es: {
38043
+ search: 'Buscar',
38044
+ clean: 'limpiar'
38045
+ },
38046
+ pt: {
38047
+ search: 'Pesquisar',
38048
+ clean: 'Apagar'
38049
+ },
38050
+ ru: {
38051
+ search: 'Поиск',
38052
+ clean: 'чистый'
38053
+ }
38054
+ };
38055
+
38056
+ /**
38057
+ * @description
38058
+ *
38059
+ * O componente search, também conhecido como barra de pesquisa, é utilizado para ajudar os usuários a localizar um determinado conteúdo
38060
+ *
38061
+ * Normalmente localizado no canto superior direito, junto com o ícone de lupa, uma vez que este ícone é amplamente reconhecido.
38062
+ *
38063
+ * Portanto, é de extrema importância que, ao utilizar este componente, as pessoas responsáveis por seu desenvolvimento considerem os seguintes critérios.
38064
+ *
38065
+ * #### Boas práticas
38066
+ *
38067
+ * Foram estruturados os padrões de usabilidade para auxiliar na utilização do componente e garantir uma boa experiência aos usuários. Por isso, é muito importante que ao utilizar este componente, as pessoas que o projetarem devem levar em consideração os seguintes critérios:
38068
+ * - Utilize labels para apresentar resultados que estão sendo exibidos e apresente os resultados mais relevantes primeiro.
38069
+ * - Exiba uma mensagem clara quando não forem encontrados resultados para busca e sempre que possível ofereça outras sugestões de busca.
38070
+ * - Mantenha o texto original no campo de input, que facilita a ação do usuário caso queira fazer uma nova busca com alguma modificação na pesquisa.
38071
+ * - Caso seja possível detectar um erro de digitação, mostre os resultados para a palavra "corrigida", isso evita a frustração de não obter resultados e não força o usuário a realizar uma nova busca.
38072
+ * - Quando apropriado, destaque os termos da busca nos resultados.
38073
+ * - A entrada do campo de pesquisa deve caber em uma linha. Não use entradas de pesquisa de várias linhas.
38074
+ * - Recomenda-se ter apenas uma pesquisa por página. Se você precisar de várias pesquisas, rotule-as claramente para indicar sua finalidade.
38075
+ * - Se possível, forneça sugestões de pesquisa, seja em um helptext ou sugestão de pesquisa que é um autocomplete. Isso ajuda os usuários a encontrar o que estão procurando, especialmente se os itens pesquisáveis forem complexos.
38076
+ *
38077
+ * #### Acessibilidade tratada no componente
38078
+ *
38079
+ * Algumas diretrizes de acessibilidade já são tratadas no componente, internamente, e não podem ser alteradas pelo proprietário do conteúdo. São elas:
38080
+ *
38081
+ * - Permitir a interação via teclado (2.1.1: Keyboard (A));
38082
+ * - Alteração entre os estados precisa ser indicada por mais de um elemento além da cor (1.4.1: Use of Color);
38083
+ */
37885
38084
  class PoSearchBaseComponent {
38085
+ _literals;
38086
+ _ariaLabel;
38087
+ language;
38088
+ /**
38089
+ * @optional
38090
+ *
38091
+ * @description
38092
+ *
38093
+ * Desabilita o po-search e não permite que o usuário interaja com o mesmo.
38094
+ *
38095
+ * @default `false`
38096
+ */
37886
38097
  disabled;
37887
- loading;
38098
+ /**
38099
+ * @optional
38100
+ *
38101
+ * @description
38102
+ *
38103
+ * Lista de itens que serão utilizados para pesquisa
38104
+ */
37888
38105
  items = [];
38106
+ /**
38107
+ * @optional
38108
+ *
38109
+ * @description
38110
+ *
38111
+ * Define um aria-label para o po-search.
38112
+ *
38113
+ * > Devido o componente não possuir uma label assim como outros campos de texto, o `aria-label` é utilizado para acessibilidade.
38114
+ */
38115
+ set ariaLabel(value) {
38116
+ this._ariaLabel = value;
38117
+ if (value !== this.literals.search) {
38118
+ this._ariaLabel = `${this._ariaLabel} ${this.literals.search}`;
38119
+ }
38120
+ }
38121
+ get ariaLabel() {
38122
+ return this._ariaLabel;
38123
+ }
38124
+ /**
38125
+ * @optional
38126
+ *
38127
+ * @description
38128
+ *
38129
+ * Deve ser informado o nome da propriedade do objeto que será utilizado para a conversão dos itens apresentados na lista do componente (p-items), esta propriedade será responsável pelo texto de apresentação de cada item da lista.
38130
+ */
37889
38131
  filterKeys = [];
37890
- filterType = PoFilterMode.startsWith;
38132
+ /**
38133
+ * @optional
38134
+ *
38135
+ * @description
38136
+ *
38137
+ * Deve ser informado o nome da propriedade do objeto que será utilizado para a conversão dos itens apresentados na lista do componente (p-items), esta propriedade será responsável pelo texto de apresentação de cada item da lista.
38138
+ */
38139
+ icon;
38140
+ /**
38141
+ * @optional
38142
+ *
38143
+ * @description
38144
+ *
38145
+ * Objeto com as literais usadas no `po-search`.
38146
+ *
38147
+ * Para utilizar basta passar a literal que deseja customizar:
38148
+ *
38149
+ * ```
38150
+ * const customLiterals: PoSearchLiterals = {
38151
+ * search: 'Pesquisar',
38152
+ * clean: 'Limpar',
38153
+ * };
38154
+ * ```
38155
+ *
38156
+ * E para carregar a literal customizada, basta apenas passar o objeto para o componente.
38157
+ *
38158
+ * ```
38159
+ * <po-search
38160
+ * [p-literals]="customLiterals">
38161
+ * </po-search>
38162
+ * ```
38163
+ *
38164
+ * > O objeto padrão de literais será traduzido de acordo com o idioma do
38165
+ * [`PoI18nService`](/documentation/po-i18n) ou do browser.
38166
+ */
38167
+ set literals(value) {
38168
+ if (value instanceof Object && !(value instanceof Array)) {
38169
+ this._literals = {
38170
+ ...poSearchLiteralsDefault[poLocaleDefault],
38171
+ ...poSearchLiteralsDefault[this.language],
38172
+ ...value
38173
+ };
38174
+ }
38175
+ else {
38176
+ this._literals = poSearchLiteralsDefault[this.language];
38177
+ }
38178
+ }
38179
+ get literals() {
38180
+ return this._literals || poSearchLiteralsDefault[this.language];
38181
+ }
38182
+ /**
38183
+ * @optional
38184
+ *
38185
+ * @description
38186
+ *
38187
+ * Define o modo de pesquisa utilizado no campo de busca, quando habilitado. Valores definidos no enum: PoSearchFilterMode
38188
+ *
38189
+ * @default `startsWith`
38190
+ */
38191
+ filterType = PoSearchFilterMode.startsWith;
38192
+ /**
38193
+ * @optional
38194
+ *
38195
+ * @description
38196
+ *
38197
+ * Evento disparado ao alterar valor do model.
38198
+ */
38199
+ changeModel = new EventEmitter();
38200
+ /**
38201
+ * @optional
38202
+ *
38203
+ * @description
38204
+ *
38205
+ * Pode ser informada uma função que será disparada quando houver alterações no input.
38206
+ */
37891
38207
  filteredItemsChange = new EventEmitter();
38208
+ /**
38209
+ * @optional
38210
+ *
38211
+ * @description
38212
+ *
38213
+ * Pode ser informada uma função que será disparada quando houver alterações nos filtros.
38214
+ */
37892
38215
  filter = new EventEmitter();
37893
- static ɵfac = function PoSearchBaseComponent_Factory(t) { return new (t || PoSearchBaseComponent)(); };
37894
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoSearchBaseComponent, inputs: { disabled: ["p-disabled", "disabled", convertToBoolean], loading: ["p-loading", "loading"], items: ["p-items", "items"], filterKeys: ["p-filter-keys", "filterKeys"], filterType: ["p-filter-type", "filterType"] }, outputs: { filteredItemsChange: "p-filtered-items-change", filter: "p-filter" }, features: [i0.ɵɵInputTransformsFeature] });
38216
+ constructor(languageService) {
38217
+ this.language = languageService.getShortLanguage();
38218
+ }
38219
+ static ɵfac = function PoSearchBaseComponent_Factory(t) { return new (t || PoSearchBaseComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
38220
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoSearchBaseComponent, inputs: { disabled: ["p-disabled", "disabled", convertToBoolean], items: ["p-items", "items"], ariaLabel: ["p-aria-label", "ariaLabel"], filterKeys: ["p-filter-keys", "filterKeys"], icon: ["p-icon", "icon"], literals: ["p-literals", "literals"], filterType: ["p-filter-type", "filterType"] }, outputs: { changeModel: "p-change-model", filteredItemsChange: "p-filtered-items-change", filter: "p-filter" }, features: [i0.ɵɵInputTransformsFeature] });
37895
38221
  }
37896
38222
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoSearchBaseComponent, [{
37897
38223
  type: Directive
37898
- }], null, { disabled: [{
38224
+ }], function () { return [{ type: PoLanguageService }]; }, { disabled: [{
37899
38225
  type: Input,
37900
38226
  args: [{ alias: 'p-disabled', transform: convertToBoolean }]
37901
- }], loading: [{
37902
- type: Input,
37903
- args: ['p-loading']
37904
38227
  }], items: [{
37905
38228
  type: Input,
37906
38229
  args: ['p-items']
38230
+ }], ariaLabel: [{
38231
+ type: Input,
38232
+ args: ['p-aria-label']
37907
38233
  }], filterKeys: [{
37908
38234
  type: Input,
37909
38235
  args: ['p-filter-keys']
38236
+ }], icon: [{
38237
+ type: Input,
38238
+ args: ['p-icon']
38239
+ }], literals: [{
38240
+ type: Input,
38241
+ args: ['p-literals']
37910
38242
  }], filterType: [{
37911
38243
  type: Input,
37912
38244
  args: ['p-filter-type']
38245
+ }], changeModel: [{
38246
+ type: Output,
38247
+ args: ['p-change-model']
37913
38248
  }], filteredItemsChange: [{
37914
38249
  type: Output,
37915
38250
  args: ['p-filtered-items-change']
@@ -37919,52 +38254,58 @@ class PoSearchBaseComponent {
37919
38254
  }] }); })();
37920
38255
 
37921
38256
  const _c0$y = ["poSearchInput"];
37922
- function PoSearchComponent_po_icon_2_Template(rf, ctx) { if (rf & 1) {
37923
- i0.ɵɵelement(0, "po-icon", 7);
37924
- } }
37925
- function PoSearchComponent_po_loading_icon_3_Template(rf, ctx) { if (rf & 1) {
37926
- i0.ɵɵelement(0, "po-loading-icon", 8);
37927
- } }
37928
- function PoSearchComponent_div_6_Template(rf, ctx) { if (rf & 1) {
37929
- const _r5 = i0.ɵɵgetCurrentView();
37930
- i0.ɵɵelementStart(0, "div", 9)(1, "po-clean", 10);
37931
- i0.ɵɵlistener("p-change-event", function PoSearchComponent_div_6_Template_po_clean_p_change_event_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.clearSearch()); });
38257
+ function PoSearchComponent_div_5_Template(rf, ctx) { if (rf & 1) {
38258
+ const _r3 = i0.ɵɵgetCurrentView();
38259
+ i0.ɵɵelementStart(0, "div", 6)(1, "button", 7);
38260
+ i0.ɵɵlistener("click", function PoSearchComponent_div_5_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.clearSearch()); })("keydown.enter", function PoSearchComponent_div_5_Template_button_keydown_enter_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.clearSearch()); });
38261
+ i0.ɵɵelement(2, "po-icon", 8);
37932
38262
  i0.ɵɵelementEnd()();
37933
38263
  } if (rf & 2) {
37934
- const ctx_r3 = i0.ɵɵnextContext();
37935
- const _r2 = i0.ɵɵreference(5);
37936
- i0.ɵɵproperty("tabindex", !ctx_r3.disabled ? 0 : -1);
38264
+ const ctx_r1 = i0.ɵɵnextContext();
37937
38265
  i0.ɵɵadvance(1);
37938
- i0.ɵɵproperty("p-element-ref", _r2);
38266
+ i0.ɵɵproperty("ariaLabel", ctx_r1.literals.clean);
37939
38267
  } }
37940
- const poSearchLiteralsDefault = {
37941
- en: { search: 'Search' },
37942
- es: { search: 'Buscar' },
37943
- pt: { search: 'Pesquisar' },
37944
- ru: { search: 'Поиск' }
37945
- };
38268
+ /**
38269
+ * @docsExtends PoSearchBaseComponent
38270
+ *
38271
+ * @example
38272
+ *
38273
+ * <example name="po-search-basic" title="PO Search Basic">
38274
+ * <file name="sample-po-search-basic/sample-po-search-basic.component.html"> </file>
38275
+ * <file name="sample-po-search-basic/sample-po-search-basic.component.ts"> </file>
38276
+ * </example>
38277
+ *
38278
+ * <example name="po-search-labs" title="PO Search Labs">
38279
+ * <file name="sample-po-search-labs/sample-po-search-labs.component.html"> </file>
38280
+ * <file name="sample-po-search-labs/sample-po-search-labs.component.ts"> </file>
38281
+ * <file name="sample-po-search-labs/sample-po-search-labs.service.ts"> </file>
38282
+ * </example>
38283
+ *
38284
+ * <example name="po-search-find-people" title="PO Search Find People">
38285
+ * <file name="sample-po-search-find-people/sample-po-search-find-people.component.html"> </file>
38286
+ * <file name="sample-po-search-find-people/sample-po-search-find-people.component.ts"> </file>
38287
+ * <file name="sample-po-search-find-people/sample-po-search-find-people.service.ts"> </file>
38288
+ * </example>
38289
+ *
38290
+ */
37946
38291
  class PoSearchComponent extends PoSearchBaseComponent {
37947
38292
  languageService;
37948
38293
  renderer;
37949
38294
  poSearchInput;
37950
38295
  filteredItems = [];
37951
- literals;
37952
38296
  constructor(languageService, renderer) {
37953
- super();
38297
+ super(languageService);
37954
38298
  this.languageService = languageService;
37955
38299
  this.renderer = renderer;
37956
38300
  }
37957
38301
  ngOnInit() {
37958
- this.literals = {
37959
- ...poSearchLiteralsDefault[this.languageService?.getLanguageDefault()],
37960
- ...poSearchLiteralsDefault[this.languageService?.getShortLanguage()]
37961
- };
37962
38302
  this.filteredItems = this.items;
37963
38303
  }
37964
38304
  clearSearch() {
37965
38305
  this.poSearchInput.nativeElement.value = '';
37966
38306
  this.onSearchChange('');
37967
38307
  this.filteredItemsChange.emit(this.items);
38308
+ this.poSearchInput.nativeElement.focus();
37968
38309
  }
37969
38310
  onBlur() {
37970
38311
  this.renderer.removeClass(this.poSearchInput.nativeElement.parentElement, 'po-search-focused');
@@ -37981,13 +38322,13 @@ class PoSearchComponent extends PoSearchBaseComponent {
37981
38322
  value = value != null ? value.toString() : null;
37982
38323
  }
37983
38324
  value = value != null ? value.toLowerCase() : null;
37984
- if (this.filterType === PoFilterMode.startsWith) {
38325
+ if (this.filterType === PoSearchFilterMode.startsWith) {
37985
38326
  return value != null && value.startsWith(searchText);
37986
38327
  }
37987
- else if (this.filterType === PoFilterMode.contains) {
38328
+ else if (this.filterType === PoSearchFilterMode.contains) {
37988
38329
  return value != null && value.includes(searchText);
37989
38330
  }
37990
- else if (this.filterType === PoFilterMode.endsWith) {
38331
+ else if (this.filterType === PoSearchFilterMode.endsWith) {
37991
38332
  return value != null && value.endsWith(searchText);
37992
38333
  }
37993
38334
  return false;
@@ -37998,6 +38339,7 @@ class PoSearchComponent extends PoSearchBaseComponent {
37998
38339
  this.filteredItems = [];
37999
38340
  this.filteredItemsChange.emit(this.filteredItems);
38000
38341
  }
38342
+ this.changeModel.emit(searchText);
38001
38343
  }
38002
38344
  static ɵfac = function PoSearchComponent_Factory(t) { return new (t || PoSearchComponent)(i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.Renderer2)); };
38003
38345
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSearchComponent, selectors: [["po-search"]], viewQuery: function PoSearchComponent_Query(rf, ctx) { if (rf & 1) {
@@ -38005,31 +38347,30 @@ class PoSearchComponent extends PoSearchBaseComponent {
38005
38347
  } if (rf & 2) {
38006
38348
  let _t;
38007
38349
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poSearchInput = _t.first);
38008
- } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 5, consts: [[1, "po-search"], [1, "po-search-icon"], ["p-icon", "po-icon-search", 4, "ngIf"], ["p-size", "sm", 4, "ngIf"], ["type", "text", 3, "disabled", "placeholder", "blur", "focus", "input"], ["poSearchInput", ""], ["class", "po-search-clean", 3, "tabindex", 4, "ngIf"], ["p-icon", "po-icon-search"], ["p-size", "sm"], [1, "po-search-clean", 3, "tabindex"], [3, "p-element-ref", "p-change-event"]], template: function PoSearchComponent_Template(rf, ctx) { if (rf & 1) {
38350
+ } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 9, consts: [[1, "po-search"], [1, "po-search-icon"], [3, "p-icon"], ["type", "text", 1, "po-search-input", 3, "ariaLabel", "disabled", "placeholder", "blur", "focus", "input"], ["poSearchInput", ""], ["class", "po-search-container-clean", 4, "ngIf"], [1, "po-search-container-clean"], [1, "po-search-clean", 3, "ariaLabel", "click", "keydown.enter"], ["p-icon", "po-icon-clear-content"]], template: function PoSearchComponent_Template(rf, ctx) { if (rf & 1) {
38009
38351
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
38010
- i0.ɵɵtemplate(2, PoSearchComponent_po_icon_2_Template, 1, 0, "po-icon", 2);
38011
- i0.ɵɵtemplate(3, PoSearchComponent_po_loading_icon_3_Template, 1, 0, "po-loading-icon", 3);
38352
+ i0.ɵɵelement(2, "po-icon", 2);
38012
38353
  i0.ɵɵelementEnd();
38013
- i0.ɵɵelementStart(4, "input", 4, 5);
38014
- i0.ɵɵlistener("blur", function PoSearchComponent_Template_input_blur_4_listener() { return ctx.onBlur(); })("focus", function PoSearchComponent_Template_input_focus_4_listener() { return ctx.onFocus(); })("input", function PoSearchComponent_Template_input_input_4_listener($event) { return ctx.onSearchChange($event.target.value); });
38354
+ i0.ɵɵelementStart(3, "input", 3, 4);
38355
+ i0.ɵɵlistener("blur", function PoSearchComponent_Template_input_blur_3_listener() { return ctx.onBlur(); })("focus", function PoSearchComponent_Template_input_focus_3_listener() { return ctx.onFocus(); })("input", function PoSearchComponent_Template_input_input_3_listener($event) { return ctx.onSearchChange($event.target.value); });
38015
38356
  i0.ɵɵelementEnd();
38016
- i0.ɵɵtemplate(6, PoSearchComponent_div_6_Template, 2, 2, "div", 6);
38357
+ i0.ɵɵtemplate(5, PoSearchComponent_div_5_Template, 3, 1, "div", 5);
38017
38358
  i0.ɵɵelementEnd();
38018
38359
  } if (rf & 2) {
38019
- const _r2 = i0.ɵɵreference(5);
38360
+ const _r0 = i0.ɵɵreference(4);
38361
+ i0.ɵɵclassProp("po-search-disabled", ctx.disabled);
38020
38362
  i0.ɵɵadvance(2);
38021
- i0.ɵɵproperty("ngIf", !ctx.loading);
38022
- i0.ɵɵadvance(1);
38023
- i0.ɵɵproperty("ngIf", ctx.loading);
38363
+ i0.ɵɵproperty("p-icon", ctx.icon ? ctx.icon : "po-icon-search");
38024
38364
  i0.ɵɵadvance(1);
38025
- i0.ɵɵproperty("disabled", ctx.disabled)("placeholder", ctx.literals.search);
38365
+ i0.ɵɵclassProp("po-search-icon-right", !!_r0.value && !ctx.disabled);
38366
+ i0.ɵɵproperty("ariaLabel", ctx.ariaLabel)("disabled", ctx.disabled)("placeholder", ctx.literals.search);
38026
38367
  i0.ɵɵadvance(2);
38027
- i0.ɵɵproperty("ngIf", !!_r2.value && !ctx.disabled);
38028
- } }, dependencies: [i1.NgIf, PoCleanComponent, PoIconComponent, PoLoadingIconComponent], encapsulation: 2 });
38368
+ i0.ɵɵproperty("ngIf", !!_r0.value && !ctx.disabled);
38369
+ } }, dependencies: [i1.NgIf, PoIconComponent], encapsulation: 2 });
38029
38370
  }
38030
38371
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoSearchComponent, [{
38031
38372
  type: Component,
38032
- args: [{ selector: 'po-search', template: "<div class=\"po-search\">\n <div class=\"po-search-icon\">\n <po-icon *ngIf=\"!loading\" p-icon=\"po-icon-search\"></po-icon>\n <po-loading-icon *ngIf=\"loading\" p-size=\"sm\"></po-loading-icon>\n </div>\n\n <input\n #poSearchInput\n type=\"text\"\n [disabled]=\"disabled\"\n [placeholder]=\"literals.search\"\n (blur)=\"onBlur()\"\n (focus)=\"onFocus()\"\n (input)=\"onSearchChange($event.target.value)\"\n />\n\n <div *ngIf=\"!!poSearchInput.value && !disabled\" class=\"po-search-clean\" [tabindex]=\"!disabled ? 0 : -1\">\n <po-clean [p-element-ref]=\"poSearchInput\" (p-change-event)=\"clearSearch()\"></po-clean>\n </div>\n</div>\n" }]
38373
+ args: [{ selector: 'po-search', template: "<div class=\"po-search\" [class.po-search-disabled]=\"disabled\">\n <div class=\"po-search-icon\">\n <po-icon [p-icon]=\"icon ? icon : 'po-icon-search'\"></po-icon>\n </div>\n\n <input\n #poSearchInput\n type=\"text\"\n class=\"po-search-input\"\n [ariaLabel]=\"ariaLabel\"\n [class.po-search-icon-right]=\"!!poSearchInput.value && !disabled\"\n [disabled]=\"disabled\"\n [placeholder]=\"literals.search\"\n (blur)=\"onBlur()\"\n (focus)=\"onFocus()\"\n (input)=\"onSearchChange($event.target.value)\"\n />\n\n <div *ngIf=\"!!poSearchInput.value && !disabled\" class=\"po-search-container-clean\">\n <button\n class=\"po-search-clean\"\n [ariaLabel]=\"literals.clean\"\n (click)=\"clearSearch()\"\n (keydown.enter)=\"clearSearch()\"\n >\n <po-icon p-icon=\"po-icon-clear-content\"></po-icon>\n </button>\n </div>\n</div>\n" }]
38033
38374
  }], function () { return [{ type: PoLanguageService }, { type: i0.Renderer2 }]; }, { poSearchInput: [{
38034
38375
  type: ViewChild,
38035
38376
  args: ['poSearchInput', { read: ElementRef, static: true }]
@@ -38177,7 +38518,7 @@ class PoTableModule {
38177
38518
  PoTableRowTemplateDirective,
38178
38519
  PoTableCellTemplateDirective,
38179
38520
  PoTableColumnTemplateDirective] }); })();
38180
- i0.ɵɵsetComponentScope(PoTableComponent, [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i1.NgPlural, i1.NgPluralCase, i2$2.CdkFixedSizeVirtualScroll, i2$2.CdkVirtualForOf, i2$2.CdkVirtualScrollViewport, i3.CdkDropList, i3.CdkDrag, i3.CdkDragHandle, PoButtonComponent, PoContainerComponent, PoLoadingComponent, PoModalComponent, PoPopupComponent, PoTooltipDirective, PoIconComponent, PoCheckboxComponent, PoRadioComponent, PoSearchComponent, PoTableColumnIconComponent,
38521
+ i0.ɵɵsetComponentScope(PoTableComponent, [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i1.NgPlural, i1.NgPluralCase, i2$2.CdkFixedSizeVirtualScroll, i2$2.CdkVirtualForOf, i2$2.CdkVirtualScrollViewport, i3.CdkDropList, i3.CdkDrag, i3.CdkDragHandle, PoButtonComponent, PoContainerComponent, PoLoadingOverlayComponent, PoModalComponent, PoPopupComponent, PoTooltipDirective, PoIconComponent, PoCheckboxComponent, PoRadioComponent, PoSearchComponent, PoTableColumnIconComponent,
38181
38522
  PoTableColumnLabelComponent,
38182
38523
  PoTableColumnLinkComponent,
38183
38524
  PoTableColumnManagerComponent,
@@ -38627,7 +38968,7 @@ class PoFieldModule {
38627
38968
  PoSwitchModule,
38628
38969
  PoTagModule] }); })();
38629
38970
  i0.ɵɵsetComponentScope(PoLookupModalComponent, function () { return [i1.NgIf, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgModel, PoDisclaimerGroupComponent, PoFieldContainerComponent, PoModalComponent, PoTableComponent]; }, []);
38630
- i0.ɵɵsetComponentScope(PoMultiselectComponent, function () { return [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i5.CdkConnectedOverlay, i5.CdkOverlayOrigin, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoTagComponent, PoMultiselectDropdownComponent]; }, []);
38971
+ i0.ɵɵsetComponentScope(PoMultiselectComponent, function () { return [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i5$1.CdkConnectedOverlay, i5$1.CdkOverlayOrigin, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoTagComponent, PoMultiselectDropdownComponent]; }, []);
38631
38972
 
38632
38973
  /**
38633
38974
  * @usedBy PoInfoComponent
@@ -53501,5 +53842,5 @@ function initializeLanguageDefault(config, languageService) {
53501
53842
  * Generated bundle index. Do not edit.
53502
53843
  */
53503
53844
 
53504
- export { ForceBooleanComponentEnum, ForceOptionComponentEnum, I18N_CONFIG, InputBoolean, InputRequired, PO_CONTROL_POSITIONS, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonModule, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCheckboxSize, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDecimalComponent, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDividerSize, PoDropdownComponent, PoDropdownModule, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoFilterMode, PoGaugeComponent, PoGaugeModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconModule, PoImageComponent, PoImageModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoItemListComponent, PoLabelComponent, PoLabelModule, PoLanguageModule, PoLanguageService, PoLinkComponent, PoLinkModule, PoListBoxComponent, PoListBoxModule, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLogoComponent, PoLogoModule, PoLookupComponent, PoLookupModalComponent, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoMultiselectOptionTemplateDirective, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoOverlayComponent, PoOverlayModule, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPageSlideModule, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressStatus, PoRadioComponent, PoRadioGroupComponent, PoRadioGroupModule, PoRadioModule, PoRichTextComponent, PoSearchComponent, PoSearchListComponent, PoSearchModule, PoSelectComponent, PoServicesModule, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoSwitchModule, PoTabComponent, PoTableCellTemplateDirective, PoTableColumnFrozenDirective, PoTableColumnSortType, PoTableColumnSpacing, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent, PoTimeModule, PoTimePipe, PoToasterOrientation, PoToasterType, PoToolbarComponent, PoToolbarModule, PoTooltipDirective, PoTooltipModule, PoTreeViewComponent, PoTreeViewModule, PoUploadComponent, PoUploadFile, PoUploadStatus, PoUrlComponent, PoWidgetComponent, PoWidgetModule, initializeLanguageDefault, poBreadcrumbLiterals, poDialogAlertLiteralsDefault, poDialogConfirmLiteralsDefault, poLanguageDefault, poLocaleDateSeparatorList, poLocaleDecimalSeparatorList, poLocaleDefault, poLocaleThousandSeparatorList, poLocales, poSearchLiteralsDefault, poTabsLiterals, returnPoI18nService };
53845
+ export { ForceBooleanComponentEnum, ForceOptionComponentEnum, I18N_CONFIG, InputBoolean, InputRequired, PO_CONTROL_POSITIONS, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonModule, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCheckboxSize, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDecimalComponent, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDividerSize, PoDropdownComponent, PoDropdownModule, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoGaugeComponent, PoGaugeModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconModule, PoImageComponent, PoImageModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoItemListComponent, PoLabelComponent, PoLabelModule, PoLanguageModule, PoLanguageService, PoLinkComponent, PoLinkModule, PoListBoxComponent, PoListBoxModule, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLogoComponent, PoLogoModule, PoLookupComponent, PoLookupModalComponent, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoMultiselectOptionTemplateDirective, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoOverlayComponent, PoOverlayModule, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPageSlideModule, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressSize, PoProgressStatus, PoRadioComponent, PoRadioGroupComponent, PoRadioGroupModule, PoRadioModule, PoRichTextComponent, PoSearchComponent, PoSearchFilterMode, PoSearchListComponent, PoSearchModule, PoSelectComponent, PoServicesModule, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoSwitchModule, PoTabComponent, PoTableCellTemplateDirective, PoTableColumnFrozenDirective, PoTableColumnSortType, PoTableColumnSpacing, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent, PoTimeModule, PoTimePipe, PoToasterOrientation, PoToasterType, PoToolbarComponent, PoToolbarModule, PoTooltipDirective, PoTooltipModule, PoTreeViewComponent, PoTreeViewModule, PoUploadComponent, PoUploadFile, PoUploadStatus, PoUrlComponent, PoWidgetComponent, PoWidgetModule, initializeLanguageDefault, poBreadcrumbLiterals, poDialogAlertLiteralsDefault, poDialogConfirmLiteralsDefault, poLanguageDefault, poLocaleDateSeparatorList, poLocaleDecimalSeparatorList, poLocaleDefault, poLocaleThousandSeparatorList, poLocales, poTabsLiterals, returnPoI18nService };
53505
53846
  //# sourceMappingURL=po-ui-ng-components.mjs.map