@po-ui/ng-components 16.7.0 → 16.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/esm2022/lib/components/po-progress/enums/po-progress-size.enum.mjs +13 -0
  2. package/esm2022/lib/components/po-progress/index.mjs +2 -1
  3. package/esm2022/lib/components/po-progress/literals/po-progress.literals.mjs +19 -0
  4. package/esm2022/lib/components/po-progress/po-progress-bar/po-progress-bar.component.mjs +24 -9
  5. package/esm2022/lib/components/po-progress/po-progress-base.component.mjs +39 -2
  6. package/esm2022/lib/components/po-progress/po-progress.component.mjs +77 -54
  7. package/esm2022/lib/components/po-progress/po-progress.module.mjs +7 -4
  8. package/esm2022/lib/components/po-search/enum/po-search-filter-mode.enum.mjs +17 -0
  9. package/esm2022/lib/components/po-search/index.mjs +3 -2
  10. package/esm2022/lib/components/po-search/literals/po-search-literals-default.mjs +19 -0
  11. package/esm2022/lib/components/po-search/literals/po-search-literals.mjs +1 -1
  12. package/esm2022/lib/components/po-search/po-search-base.component.mjs +177 -10
  13. package/esm2022/lib/components/po-search/po-search.component.mjs +52 -48
  14. package/esm2022/lib/components/po-table/po-table-base.component.mjs +3 -3
  15. package/fesm2022/po-ui-ng-components.mjs +413 -124
  16. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  17. package/lib/components/po-progress/enums/po-progress-size.enum.d.ts +11 -0
  18. package/lib/components/po-progress/index.d.ts +1 -0
  19. package/lib/components/po-progress/literals/po-progress.literals.d.ts +18 -0
  20. package/lib/components/po-progress/po-progress-base.component.d.ts +30 -3
  21. package/lib/components/po-progress/po-progress.component.d.ts +5 -1
  22. package/lib/components/po-progress/po-progress.module.d.ts +4 -1
  23. package/lib/components/po-search/{po-search-filter-mode.enum.d.ts → enum/po-search-filter-mode.enum.d.ts} +2 -2
  24. package/lib/components/po-search/index.d.ts +2 -1
  25. package/lib/components/po-search/literals/po-search-literals-default.d.ts +7 -0
  26. package/lib/components/po-search/literals/po-search-literals.d.ts +11 -1
  27. package/lib/components/po-search/po-search-base.component.d.ts +140 -5
  28. package/lib/components/po-search/po-search.component.d.ts +23 -8
  29. package/lib/components/po-table/po-table-base.component.d.ts +2 -2
  30. package/package.json +4 -4
  31. package/po-ui-ng-components-16.8.0.tgz +0 -0
  32. package/schematics/ng-add/index.js +1 -1
  33. package/schematics/ng-update/v14/index.js +1 -1
  34. package/schematics/ng-update/v15/index.js +1 -1
  35. package/schematics/ng-update/v16/index.js +1 -1
  36. package/schematics/ng-update/v2/index.js +1 -1
  37. package/schematics/ng-update/v3/index.js +1 -1
  38. package/schematics/ng-update/v4/index.js +1 -1
  39. package/schematics/ng-update/v5/index.js +1 -1
  40. package/schematics/ng-update/v6/index.js +1 -1
  41. package/esm2022/lib/components/po-search/po-search-filter-mode.enum.mjs +0 -17
  42. 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';
@@ -16234,6 +16234,21 @@ class PoModalModule {
16234
16234
  }], null, null); })();
16235
16235
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoModalModule, { declarations: [PoModalComponent, PoModalFooterComponent], imports: [CommonModule, PoButtonModule, PoIconModule], exports: [PoModalComponent, PoModalFooterComponent] }); })();
16236
16236
 
16237
+ function PoProgressBarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
16238
+ i0.ɵɵelementStart(0, "div", 2);
16239
+ i0.ɵɵelement(1, "div", 3)(2, "div", 4);
16240
+ i0.ɵɵelementEnd();
16241
+ } if (rf & 2) {
16242
+ const ctx_r0 = i0.ɵɵnextContext();
16243
+ i0.ɵɵattribute("aria-valuenow", ctx_r0.value);
16244
+ i0.ɵɵadvance(2);
16245
+ i0.ɵɵstyleProp("left", "-" + (100 - ctx_r0.value) + "%");
16246
+ } }
16247
+ function PoProgressBarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
16248
+ i0.ɵɵelementStart(0, "div", 5);
16249
+ i0.ɵɵelement(1, "div", 6);
16250
+ i0.ɵɵelementEnd();
16251
+ } }
16237
16252
  class PoProgressBarComponent {
16238
16253
  indeterminate;
16239
16254
  value;
@@ -16241,19 +16256,18 @@ class PoProgressBarComponent {
16241
16256
  return `${this.value / 100}`;
16242
16257
  }
16243
16258
  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();
16259
+ 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) {
16260
+ i0.ɵɵtemplate(0, PoProgressBarComponent_div_0_Template, 3, 3, "div", 0);
16261
+ i0.ɵɵtemplate(1, PoProgressBarComponent_div_1_Template, 2, 0, "div", 1);
16248
16262
  } if (rf & 2) {
16249
- i0.ɵɵclassProp("po-progress-bar-indeterminate", ctx.indeterminate);
16263
+ i0.ɵɵproperty("ngIf", !ctx.indeterminate);
16250
16264
  i0.ɵɵadvance(1);
16251
- i0.ɵɵstyleProp("transform", "scaleX(" + ctx.valueScale + ")");
16252
- } }, encapsulation: 2, changeDetection: 0 });
16265
+ i0.ɵɵproperty("ngIf", ctx.indeterminate);
16266
+ } }, dependencies: [i1.NgIf], encapsulation: 2, changeDetection: 0 });
16253
16267
  }
16254
16268
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoProgressBarComponent, [{
16255
16269
  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" }]
16270
+ 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
16271
  }], null, { indeterminate: [{
16258
16272
  type: Input,
16259
16273
  args: ['p-indeterminate']
@@ -16279,6 +16293,19 @@ var PoProgressStatus;
16279
16293
  PoProgressStatus["Success"] = "success";
16280
16294
  })(PoProgressStatus || (PoProgressStatus = {}));
16281
16295
 
16296
+ /**
16297
+ * @usedBy PoProgressComponent
16298
+ *
16299
+ * @description
16300
+ *
16301
+ * *Enum* `PoProgressSize` para o tamanho da altura da barra de progresso.
16302
+ */
16303
+ var PoProgressSize;
16304
+ (function (PoProgressSize) {
16305
+ PoProgressSize["medium"] = "medium";
16306
+ PoProgressSize["large"] = "large";
16307
+ })(PoProgressSize || (PoProgressSize = {}));
16308
+
16282
16309
  const poProgressMaxValue = 100;
16283
16310
  const poProgressMinValue = 0;
16284
16311
  /**
@@ -16352,6 +16379,7 @@ class PoProgressBaseComponent {
16352
16379
  retry = new EventEmitter();
16353
16380
  _indeterminate;
16354
16381
  _value = 0;
16382
+ _size = 'large';
16355
16383
  /**
16356
16384
  * @optional
16357
16385
  *
@@ -16390,11 +16418,40 @@ class PoProgressBaseComponent {
16390
16418
  get value() {
16391
16419
  return this._value;
16392
16420
  }
16421
+ /**
16422
+ * @optional
16423
+ *
16424
+ * @description
16425
+ *
16426
+ * Definição do tamanho da altura da barra de progresso.
16427
+ *
16428
+ * Valores válidos:
16429
+ * - `medium`: tamanho médio
16430
+ * - `large`: tamanho grande
16431
+ *
16432
+ * @default `large`
16433
+ */
16434
+ set size(value) {
16435
+ this._size = PoProgressSize[value] ? PoProgressSize[value] : PoProgressSize.large;
16436
+ }
16437
+ get size() {
16438
+ return this._size;
16439
+ }
16440
+ /**
16441
+ * @optional
16442
+ *
16443
+ * @description
16444
+ *
16445
+ * Ativa a exibição da porcentagem atual da barra de progresso.
16446
+ *
16447
+ * @default `false`
16448
+ */
16449
+ showPercentage = false;
16393
16450
  isProgressRangeValue(value) {
16394
16451
  return value >= poProgressMinValue && value <= poProgressMaxValue;
16395
16452
  }
16396
16453
  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" } });
16454
+ 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
16455
  }
16399
16456
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoProgressBaseComponent, [{
16400
16457
  type: Directive
@@ -16422,70 +16479,88 @@ class PoProgressBaseComponent {
16422
16479
  }], value: [{
16423
16480
  type: Input,
16424
16481
  args: ['p-value']
16482
+ }], size: [{
16483
+ type: Input,
16484
+ args: ['p-size']
16485
+ }], showPercentage: [{
16486
+ type: Input,
16487
+ args: [{ alias: 'p-show-percentage', transform: convertToBoolean }]
16425
16488
  }] }); })();
16426
16489
 
16427
- function PoProgressComponent_label_1_Template(rf, ctx) { if (rf & 1) {
16428
- i0.ɵɵelementStart(0, "label", 5);
16429
- i0.ɵɵtext(1);
16490
+ const poProgressLiterals = {
16491
+ en: {
16492
+ cancel: 'Cancel',
16493
+ retry: 'Retry'
16494
+ },
16495
+ es: {
16496
+ cancel: 'Cancelar',
16497
+ retry: 'Procesar de nuevo'
16498
+ },
16499
+ pt: {
16500
+ cancel: 'Cancelar',
16501
+ retry: 'Tentar Novamente'
16502
+ },
16503
+ ru: {
16504
+ cancel: 'Отмена',
16505
+ retry: 'Повторить попытку'
16506
+ }
16507
+ };
16508
+
16509
+ function PoProgressComponent_div_1_Template(rf, ctx) { if (rf & 1) {
16510
+ i0.ɵɵelementStart(0, "div", 12);
16511
+ i0.ɵɵelement(1, "po-label", 13);
16430
16512
  i0.ɵɵelementEnd();
16431
16513
  } if (rf & 2) {
16432
16514
  const ctx_r0 = i0.ɵɵnextContext();
16433
16515
  i0.ɵɵadvance(1);
16434
- i0.ɵɵtextInterpolate1(" ", ctx_r0.text, " ");
16516
+ i0.ɵɵproperty("p-label", ctx_r0.text);
16435
16517
  } }
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()();
16518
+ function PoProgressComponent_po_icon_5_Template(rf, ctx) { if (rf & 1) {
16519
+ i0.ɵɵelement(0, "po-icon", 14);
16440
16520
  } if (rf & 2) {
16441
16521
  const ctx_r1 = i0.ɵɵnextContext();
16442
- i0.ɵɵadvance(2);
16443
- i0.ɵɵtextInterpolate1(" ", ctx_r1.text, " ");
16522
+ i0.ɵɵclassProp("po-progress-info-icon-error", ctx_r1.status === "error");
16523
+ i0.ɵɵproperty("p-icon", ctx_r1.infoIcon);
16444
16524
  } }
16445
- function PoProgressComponent_div_4_span_1_Template(rf, ctx) { if (rf & 1) {
16446
- i0.ɵɵelement(0, "span");
16525
+ function PoProgressComponent_po_icon_6_Template(rf, ctx) { if (rf & 1) {
16526
+ i0.ɵɵelement(0, "po-icon", 15);
16527
+ } }
16528
+ function PoProgressComponent_span_7_Template(rf, ctx) { if (rf & 1) {
16529
+ i0.ɵɵelementStart(0, "span", 16);
16530
+ i0.ɵɵtext(1);
16531
+ i0.ɵɵelementEnd();
16447
16532
  } if (rf & 2) {
16448
- const ctx_r3 = i0.ɵɵnextContext(2);
16449
- i0.ɵɵclassMapInterpolate1("po-progress-info-icon po-icon ", ctx_r3.infoIcon, "");
16533
+ const ctx_r3 = i0.ɵɵnextContext();
16534
+ i0.ɵɵclassProp("po-progress-info-text-error", ctx_r3.status === "error");
16535
+ i0.ɵɵadvance(1);
16536
+ i0.ɵɵtextInterpolate(ctx_r3.info);
16450
16537
  } }
16451
- function PoProgressComponent_div_4_span_2_Template(rf, ctx) { if (rf & 1) {
16452
- i0.ɵɵelementStart(0, "span", 13);
16538
+ function PoProgressComponent_span_9_Template(rf, ctx) { if (rf & 1) {
16539
+ i0.ɵɵelementStart(0, "span");
16453
16540
  i0.ɵɵtext(1);
16454
16541
  i0.ɵɵelementEnd();
16455
16542
  } if (rf & 2) {
16456
- const ctx_r4 = i0.ɵɵnextContext(2);
16543
+ const ctx_r4 = i0.ɵɵnextContext();
16457
16544
  i0.ɵɵadvance(1);
16458
- i0.ɵɵtextInterpolate(ctx_r4.info);
16545
+ i0.ɵɵtextInterpolate1("", ctx_r4.value, "%");
16459
16546
  } }
16460
- function PoProgressComponent_div_4_button_3_Template(rf, ctx) { if (rf & 1) {
16547
+ function PoProgressComponent_po_button_10_Template(rf, ctx) { if (rf & 1) {
16461
16548
  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()); });
16549
+ i0.ɵɵelementStart(0, "po-button", 17);
16550
+ 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
16551
  i0.ɵɵelementEnd();
16552
+ } if (rf & 2) {
16553
+ const ctx_r5 = i0.ɵɵnextContext();
16554
+ i0.ɵɵproperty("p-aria-label", ctx_r5.literals.retry);
16465
16555
  } }
16466
- function PoProgressComponent_div_4_button_4_Template(rf, ctx) { if (rf & 1) {
16556
+ function PoProgressComponent_po_button_11_Template(rf, ctx) { if (rf & 1) {
16467
16557
  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);
16558
+ i0.ɵɵelementStart(0, "po-button", 18);
16559
+ 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
16560
  i0.ɵɵelementEnd();
16479
16561
  } 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);
16562
+ const ctx_r6 = i0.ɵɵnextContext();
16563
+ i0.ɵɵproperty("p-aria-label", ctx_r6.literals.cancel)("p-danger", true);
16489
16564
  } }
16490
16565
  /**
16491
16566
  * @docsExtends PoProgressBaseComponent
@@ -16507,11 +16582,13 @@ function PoProgressComponent_div_4_Template(rf, ctx) { if (rf & 1) {
16507
16582
  * </example>
16508
16583
  */
16509
16584
  class PoProgressComponent extends PoProgressBaseComponent {
16585
+ language;
16586
+ literals;
16510
16587
  get isAllowCancel() {
16511
16588
  return !!this.cancel.observers.length && this.status !== PoProgressStatus.Success;
16512
16589
  }
16513
- get isAllowProgressInfo() {
16514
- return !!(this.info || this.infoIcon || this.isAllowCancel || this.isAllowRetry);
16590
+ get isAllowInfoError() {
16591
+ return !!(!this.infoIcon && this.info && this.status === PoProgressStatus.Error);
16515
16592
  }
16516
16593
  get isAllowRetry() {
16517
16594
  return !!this.retry.observers.length && this.status === PoProgressStatus.Error;
@@ -16525,6 +16602,13 @@ class PoProgressComponent extends PoProgressBaseComponent {
16525
16602
  }
16526
16603
  return 'po-progress-default';
16527
16604
  }
16605
+ poLanguageService = inject(PoLanguageService);
16606
+ ngOnInit() {
16607
+ this.language = this.poLanguageService.getShortLanguage();
16608
+ this.literals = {
16609
+ ...poProgressLiterals[this.language]
16610
+ };
16611
+ }
16528
16612
  emitCancellation() {
16529
16613
  this.cancel.emit(this.status);
16530
16614
  }
@@ -16532,28 +16616,44 @@ class PoProgressComponent extends PoProgressBaseComponent {
16532
16616
  this.retry.emit();
16533
16617
  }
16534
16618
  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) {
16619
+ 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
16620
  i0.ɵɵelementStart(0, "div", 0);
16537
- i0.ɵɵtemplate(1, PoProgressComponent_label_1_Template, 2, 1, "label", 1);
16621
+ i0.ɵɵtemplate(1, PoProgressComponent_div_1_Template, 2, 1, "div", 1);
16538
16622
  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);
16623
+ i0.ɵɵelementStart(3, "div", 3)(4, "div", 4);
16624
+ i0.ɵɵtemplate(5, PoProgressComponent_po_icon_5_Template, 1, 3, "po-icon", 5);
16625
+ i0.ɵɵtemplate(6, PoProgressComponent_po_icon_6_Template, 1, 0, "po-icon", 6);
16626
+ i0.ɵɵtemplate(7, PoProgressComponent_span_7_Template, 2, 3, "span", 7);
16541
16627
  i0.ɵɵelementEnd();
16628
+ i0.ɵɵelementStart(8, "div", 8);
16629
+ i0.ɵɵtemplate(9, PoProgressComponent_span_9_Template, 2, 1, "span", 9);
16630
+ i0.ɵɵtemplate(10, PoProgressComponent_po_button_10_Template, 1, 1, "po-button", 10);
16631
+ i0.ɵɵtemplate(11, PoProgressComponent_po_button_11_Template, 1, 2, "po-button", 11);
16632
+ i0.ɵɵelementEnd()()();
16542
16633
  } if (rf & 2) {
16543
16634
  i0.ɵɵproperty("ngClass", ctx.statusClass);
16544
16635
  i0.ɵɵadvance(1);
16545
16636
  i0.ɵɵproperty("ngIf", ctx.text);
16546
16637
  i0.ɵɵadvance(1);
16638
+ i0.ɵɵclassMapInterpolate1("po-progress-bar po-progress-bar-", ctx.size, "");
16547
16639
  i0.ɵɵproperty("p-indeterminate", ctx.indeterminate)("p-value", ctx.value);
16640
+ i0.ɵɵadvance(3);
16641
+ i0.ɵɵproperty("ngIf", ctx.infoIcon);
16548
16642
  i0.ɵɵadvance(1);
16549
- i0.ɵɵproperty("ngIf", ctx.text);
16643
+ i0.ɵɵproperty("ngIf", ctx.isAllowInfoError);
16550
16644
  i0.ɵɵadvance(1);
16551
- i0.ɵɵproperty("ngIf", ctx.isAllowProgressInfo);
16552
- } }, dependencies: [i1.NgClass, i1.NgIf, PoProgressBarComponent], encapsulation: 2, changeDetection: 0 });
16645
+ i0.ɵɵproperty("ngIf", ctx.info);
16646
+ i0.ɵɵadvance(2);
16647
+ i0.ɵɵproperty("ngIf", ctx.showPercentage && !ctx.indeterminate);
16648
+ i0.ɵɵadvance(1);
16649
+ i0.ɵɵproperty("ngIf", ctx.isAllowRetry);
16650
+ i0.ɵɵadvance(1);
16651
+ i0.ɵɵproperty("ngIf", ctx.isAllowCancel);
16652
+ } }, dependencies: [i1.NgClass, i1.NgIf, PoButtonComponent, PoIconComponent, PoLabelComponent, PoProgressBarComponent], encapsulation: 2, changeDetection: 0 });
16553
16653
  }
16554
16654
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoProgressComponent, [{
16555
16655
  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" }]
16656
+ 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
16657
  }], null, null); })();
16558
16658
 
16559
16659
  /**
@@ -16564,17 +16664,17 @@ class PoProgressComponent extends PoProgressBaseComponent {
16564
16664
  class PoProgressModule {
16565
16665
  static ɵfac = function PoProgressModule_Factory(t) { return new (t || PoProgressModule)(); };
16566
16666
  static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoProgressModule });
16567
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
16667
+ static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, PoButtonModule, PoIconModule, PoLabelModule] });
16568
16668
  }
16569
16669
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoProgressModule, [{
16570
16670
  type: NgModule,
16571
16671
  args: [{
16572
- imports: [CommonModule],
16672
+ imports: [CommonModule, PoButtonModule, PoIconModule, PoLabelModule],
16573
16673
  exports: [PoProgressComponent],
16574
16674
  declarations: [PoProgressBarComponent, PoProgressComponent]
16575
16675
  }]
16576
16676
  }], null, null); })();
16577
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoProgressModule, { declarations: [PoProgressBarComponent, PoProgressComponent], imports: [CommonModule], exports: [PoProgressComponent] }); })();
16677
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoProgressModule, { declarations: [PoProgressBarComponent, PoProgressComponent], imports: [CommonModule, PoButtonModule, PoIconModule, PoLabelModule], exports: [PoProgressComponent] }); })();
16578
16678
 
16579
16679
  /**
16580
16680
  * @description
@@ -19572,17 +19672,17 @@ var PoTableRowTemplateArrowDirection;
19572
19672
  *
19573
19673
  * @description
19574
19674
  *
19575
- * Define o tipo de busca usado no po-seach.
19675
+ * Define o tipo de busca usado no po-search.
19576
19676
  */
19577
- var PoFilterMode;
19578
- (function (PoFilterMode) {
19677
+ var PoSearchFilterMode;
19678
+ (function (PoSearchFilterMode) {
19579
19679
  /** Verifica se o texto *inicia* com o valor pesquisado. */
19580
- PoFilterMode[PoFilterMode["startsWith"] = 0] = "startsWith";
19680
+ PoSearchFilterMode[PoSearchFilterMode["startsWith"] = 0] = "startsWith";
19581
19681
  /** Verifica se o texto *contém* o valor pesquisado. */
19582
- PoFilterMode[PoFilterMode["contains"] = 1] = "contains";
19682
+ PoSearchFilterMode[PoSearchFilterMode["contains"] = 1] = "contains";
19583
19683
  /** Verifica se o texto *finaliza* com o valor pesquisado. */
19584
- PoFilterMode[PoFilterMode["endsWith"] = 2] = "endsWith";
19585
- })(PoFilterMode || (PoFilterMode = {}));
19684
+ PoSearchFilterMode[PoSearchFilterMode["endsWith"] = 2] = "endsWith";
19685
+ })(PoSearchFilterMode || (PoSearchFilterMode = {}));
19586
19686
 
19587
19687
  /**
19588
19688
  * @usedBy PoTableComponent
@@ -19933,7 +20033,7 @@ class PoTableBaseComponent {
19933
20033
  *
19934
20034
  * @default `startsWith`
19935
20035
  */
19936
- filterType = PoFilterMode.startsWith;
20036
+ filterType = PoSearchFilterMode.startsWith;
19937
20037
  /**
19938
20038
  * @optional
19939
20039
  *
@@ -37882,34 +37982,217 @@ class PoTextareaComponent extends PoTextareaBaseComponent {
37882
37982
  args: ['inp', { read: ElementRef, static: true }]
37883
37983
  }] }); })();
37884
37984
 
37985
+ const poSearchLiteralsDefault = {
37986
+ en: {
37987
+ search: 'Search',
37988
+ clean: 'Clean'
37989
+ },
37990
+ es: {
37991
+ search: 'Buscar',
37992
+ clean: 'limpiar'
37993
+ },
37994
+ pt: {
37995
+ search: 'Pesquisar',
37996
+ clean: 'Apagar'
37997
+ },
37998
+ ru: {
37999
+ search: 'Поиск',
38000
+ clean: 'чистый'
38001
+ }
38002
+ };
38003
+
38004
+ /**
38005
+ * @description
38006
+ *
38007
+ * O componente search, também conhecido como barra de pesquisa, é utilizado para ajudar os usuários a localizar um determinado conteúdo
38008
+ *
38009
+ * Normalmente localizado no canto superior direito, junto com o ícone de lupa, uma vez que este ícone é amplamente reconhecido.
38010
+ *
38011
+ * Portanto, é de extrema importância que, ao utilizar este componente, as pessoas responsáveis por seu desenvolvimento considerem os seguintes critérios.
38012
+ *
38013
+ * #### Boas práticas
38014
+ *
38015
+ * 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:
38016
+ * - Utilize labels para apresentar resultados que estão sendo exibidos e apresente os resultados mais relevantes primeiro.
38017
+ * - Exiba uma mensagem clara quando não forem encontrados resultados para busca e sempre que possível ofereça outras sugestões de busca.
38018
+ * - 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.
38019
+ * - 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.
38020
+ * - Quando apropriado, destaque os termos da busca nos resultados.
38021
+ * - A entrada do campo de pesquisa deve caber em uma linha. Não use entradas de pesquisa de várias linhas.
38022
+ * - Recomenda-se ter apenas uma pesquisa por página. Se você precisar de várias pesquisas, rotule-as claramente para indicar sua finalidade.
38023
+ * - 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.
38024
+ *
38025
+ * #### Acessibilidade tratada no componente
38026
+ *
38027
+ * 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:
38028
+ *
38029
+ * - Permitir a interação via teclado (2.1.1: Keyboard (A));
38030
+ * - Alteração entre os estados precisa ser indicada por mais de um elemento além da cor (1.4.1: Use of Color);
38031
+ */
37885
38032
  class PoSearchBaseComponent {
38033
+ _literals;
38034
+ _ariaLabel;
38035
+ language;
38036
+ /**
38037
+ * @optional
38038
+ *
38039
+ * @description
38040
+ *
38041
+ * Desabilita o po-search e não permite que o usuário interaja com o mesmo.
38042
+ *
38043
+ * @default `false`
38044
+ */
37886
38045
  disabled;
37887
- loading;
38046
+ /**
38047
+ * @optional
38048
+ *
38049
+ * @description
38050
+ *
38051
+ * Lista de itens que serão utilizados para pesquisa
38052
+ */
37888
38053
  items = [];
38054
+ /**
38055
+ * @optional
38056
+ *
38057
+ * @description
38058
+ *
38059
+ * Define um aria-label para o po-search.
38060
+ *
38061
+ * > Devido o componente não possuir uma label assim como outros campos de texto, o `aria-label` é utilizado para acessibilidade.
38062
+ */
38063
+ set ariaLabel(value) {
38064
+ this._ariaLabel = value;
38065
+ if (value !== this.literals.search) {
38066
+ this._ariaLabel = `${this._ariaLabel} ${this.literals.search}`;
38067
+ }
38068
+ }
38069
+ get ariaLabel() {
38070
+ return this._ariaLabel;
38071
+ }
38072
+ /**
38073
+ * @optional
38074
+ *
38075
+ * @description
38076
+ *
38077
+ * 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.
38078
+ */
37889
38079
  filterKeys = [];
37890
- filterType = PoFilterMode.startsWith;
38080
+ /**
38081
+ * @optional
38082
+ *
38083
+ * @description
38084
+ *
38085
+ * 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.
38086
+ */
38087
+ icon;
38088
+ /**
38089
+ * @optional
38090
+ *
38091
+ * @description
38092
+ *
38093
+ * Objeto com as literais usadas no `po-search`.
38094
+ *
38095
+ * Para utilizar basta passar a literal que deseja customizar:
38096
+ *
38097
+ * ```
38098
+ * const customLiterals: PoSearchLiterals = {
38099
+ * search: 'Pesquisar',
38100
+ * clean: 'Limpar',
38101
+ * };
38102
+ * ```
38103
+ *
38104
+ * E para carregar a literal customizada, basta apenas passar o objeto para o componente.
38105
+ *
38106
+ * ```
38107
+ * <po-search
38108
+ * [p-literals]="customLiterals">
38109
+ * </po-search>
38110
+ * ```
38111
+ *
38112
+ * > O objeto padrão de literais será traduzido de acordo com o idioma do
38113
+ * [`PoI18nService`](/documentation/po-i18n) ou do browser.
38114
+ */
38115
+ set literals(value) {
38116
+ if (value instanceof Object && !(value instanceof Array)) {
38117
+ this._literals = {
38118
+ ...poSearchLiteralsDefault[poLocaleDefault],
38119
+ ...poSearchLiteralsDefault[this.language],
38120
+ ...value
38121
+ };
38122
+ }
38123
+ else {
38124
+ this._literals = poSearchLiteralsDefault[this.language];
38125
+ }
38126
+ }
38127
+ get literals() {
38128
+ return this._literals || poSearchLiteralsDefault[this.language];
38129
+ }
38130
+ /**
38131
+ * @optional
38132
+ *
38133
+ * @description
38134
+ *
38135
+ * Define o modo de pesquisa utilizado no campo de busca, quando habilitado. Valores definidos no enum: PoSearchFilterMode
38136
+ *
38137
+ * @default `startsWith`
38138
+ */
38139
+ filterType = PoSearchFilterMode.startsWith;
38140
+ /**
38141
+ * @optional
38142
+ *
38143
+ * @description
38144
+ *
38145
+ * Evento disparado ao alterar valor do model.
38146
+ */
38147
+ changeModel = new EventEmitter();
38148
+ /**
38149
+ * @optional
38150
+ *
38151
+ * @description
38152
+ *
38153
+ * Pode ser informada uma função que será disparada quando houver alterações no input.
38154
+ */
37891
38155
  filteredItemsChange = new EventEmitter();
38156
+ /**
38157
+ * @optional
38158
+ *
38159
+ * @description
38160
+ *
38161
+ * Pode ser informada uma função que será disparada quando houver alterações nos filtros.
38162
+ */
37892
38163
  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] });
38164
+ constructor(languageService) {
38165
+ this.language = languageService.getShortLanguage();
38166
+ }
38167
+ static ɵfac = function PoSearchBaseComponent_Factory(t) { return new (t || PoSearchBaseComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
38168
+ 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
38169
  }
37896
38170
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoSearchBaseComponent, [{
37897
38171
  type: Directive
37898
- }], null, { disabled: [{
38172
+ }], function () { return [{ type: PoLanguageService }]; }, { disabled: [{
37899
38173
  type: Input,
37900
38174
  args: [{ alias: 'p-disabled', transform: convertToBoolean }]
37901
- }], loading: [{
37902
- type: Input,
37903
- args: ['p-loading']
37904
38175
  }], items: [{
37905
38176
  type: Input,
37906
38177
  args: ['p-items']
38178
+ }], ariaLabel: [{
38179
+ type: Input,
38180
+ args: ['p-aria-label']
37907
38181
  }], filterKeys: [{
37908
38182
  type: Input,
37909
38183
  args: ['p-filter-keys']
38184
+ }], icon: [{
38185
+ type: Input,
38186
+ args: ['p-icon']
38187
+ }], literals: [{
38188
+ type: Input,
38189
+ args: ['p-literals']
37910
38190
  }], filterType: [{
37911
38191
  type: Input,
37912
38192
  args: ['p-filter-type']
38193
+ }], changeModel: [{
38194
+ type: Output,
38195
+ args: ['p-change-model']
37913
38196
  }], filteredItemsChange: [{
37914
38197
  type: Output,
37915
38198
  args: ['p-filtered-items-change']
@@ -37919,52 +38202,58 @@ class PoSearchBaseComponent {
37919
38202
  }] }); })();
37920
38203
 
37921
38204
  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()); });
38205
+ function PoSearchComponent_div_5_Template(rf, ctx) { if (rf & 1) {
38206
+ const _r3 = i0.ɵɵgetCurrentView();
38207
+ i0.ɵɵelementStart(0, "div", 6)(1, "button", 7);
38208
+ 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()); });
38209
+ i0.ɵɵelement(2, "po-icon", 8);
37932
38210
  i0.ɵɵelementEnd()();
37933
38211
  } if (rf & 2) {
37934
- const ctx_r3 = i0.ɵɵnextContext();
37935
- const _r2 = i0.ɵɵreference(5);
37936
- i0.ɵɵproperty("tabindex", !ctx_r3.disabled ? 0 : -1);
38212
+ const ctx_r1 = i0.ɵɵnextContext();
37937
38213
  i0.ɵɵadvance(1);
37938
- i0.ɵɵproperty("p-element-ref", _r2);
38214
+ i0.ɵɵproperty("ariaLabel", ctx_r1.literals.clean);
37939
38215
  } }
37940
- const poSearchLiteralsDefault = {
37941
- en: { search: 'Search' },
37942
- es: { search: 'Buscar' },
37943
- pt: { search: 'Pesquisar' },
37944
- ru: { search: 'Поиск' }
37945
- };
38216
+ /**
38217
+ * @docsExtends PoSearchBaseComponent
38218
+ *
38219
+ * @example
38220
+ *
38221
+ * <example name="po-search-basic" title="PO Search Basic">
38222
+ * <file name="sample-po-search-basic/sample-po-search-basic.component.html"> </file>
38223
+ * <file name="sample-po-search-basic/sample-po-search-basic.component.ts"> </file>
38224
+ * </example>
38225
+ *
38226
+ * <example name="po-search-labs" title="PO Search Labs">
38227
+ * <file name="sample-po-search-labs/sample-po-search-labs.component.html"> </file>
38228
+ * <file name="sample-po-search-labs/sample-po-search-labs.component.ts"> </file>
38229
+ * <file name="sample-po-search-labs/sample-po-search-labs.service.ts"> </file>
38230
+ * </example>
38231
+ *
38232
+ * <example name="po-search-find-people" title="PO Search Find People">
38233
+ * <file name="sample-po-search-find-people/sample-po-search-find-people.component.html"> </file>
38234
+ * <file name="sample-po-search-find-people/sample-po-search-find-people.component.ts"> </file>
38235
+ * <file name="sample-po-search-find-people/sample-po-search-find-people.service.ts"> </file>
38236
+ * </example>
38237
+ *
38238
+ */
37946
38239
  class PoSearchComponent extends PoSearchBaseComponent {
37947
38240
  languageService;
37948
38241
  renderer;
37949
38242
  poSearchInput;
37950
38243
  filteredItems = [];
37951
- literals;
37952
38244
  constructor(languageService, renderer) {
37953
- super();
38245
+ super(languageService);
37954
38246
  this.languageService = languageService;
37955
38247
  this.renderer = renderer;
37956
38248
  }
37957
38249
  ngOnInit() {
37958
- this.literals = {
37959
- ...poSearchLiteralsDefault[this.languageService?.getLanguageDefault()],
37960
- ...poSearchLiteralsDefault[this.languageService?.getShortLanguage()]
37961
- };
37962
38250
  this.filteredItems = this.items;
37963
38251
  }
37964
38252
  clearSearch() {
37965
38253
  this.poSearchInput.nativeElement.value = '';
37966
38254
  this.onSearchChange('');
37967
38255
  this.filteredItemsChange.emit(this.items);
38256
+ this.poSearchInput.nativeElement.focus();
37968
38257
  }
37969
38258
  onBlur() {
37970
38259
  this.renderer.removeClass(this.poSearchInput.nativeElement.parentElement, 'po-search-focused');
@@ -37981,13 +38270,13 @@ class PoSearchComponent extends PoSearchBaseComponent {
37981
38270
  value = value != null ? value.toString() : null;
37982
38271
  }
37983
38272
  value = value != null ? value.toLowerCase() : null;
37984
- if (this.filterType === PoFilterMode.startsWith) {
38273
+ if (this.filterType === PoSearchFilterMode.startsWith) {
37985
38274
  return value != null && value.startsWith(searchText);
37986
38275
  }
37987
- else if (this.filterType === PoFilterMode.contains) {
38276
+ else if (this.filterType === PoSearchFilterMode.contains) {
37988
38277
  return value != null && value.includes(searchText);
37989
38278
  }
37990
- else if (this.filterType === PoFilterMode.endsWith) {
38279
+ else if (this.filterType === PoSearchFilterMode.endsWith) {
37991
38280
  return value != null && value.endsWith(searchText);
37992
38281
  }
37993
38282
  return false;
@@ -37998,6 +38287,7 @@ class PoSearchComponent extends PoSearchBaseComponent {
37998
38287
  this.filteredItems = [];
37999
38288
  this.filteredItemsChange.emit(this.filteredItems);
38000
38289
  }
38290
+ this.changeModel.emit(searchText);
38001
38291
  }
38002
38292
  static ɵfac = function PoSearchComponent_Factory(t) { return new (t || PoSearchComponent)(i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.Renderer2)); };
38003
38293
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSearchComponent, selectors: [["po-search"]], viewQuery: function PoSearchComponent_Query(rf, ctx) { if (rf & 1) {
@@ -38005,31 +38295,30 @@ class PoSearchComponent extends PoSearchBaseComponent {
38005
38295
  } if (rf & 2) {
38006
38296
  let _t;
38007
38297
  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) {
38298
+ } }, 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
38299
  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);
38300
+ i0.ɵɵelement(2, "po-icon", 2);
38012
38301
  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); });
38302
+ i0.ɵɵelementStart(3, "input", 3, 4);
38303
+ 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
38304
  i0.ɵɵelementEnd();
38016
- i0.ɵɵtemplate(6, PoSearchComponent_div_6_Template, 2, 2, "div", 6);
38305
+ i0.ɵɵtemplate(5, PoSearchComponent_div_5_Template, 3, 1, "div", 5);
38017
38306
  i0.ɵɵelementEnd();
38018
38307
  } if (rf & 2) {
38019
- const _r2 = i0.ɵɵreference(5);
38308
+ const _r0 = i0.ɵɵreference(4);
38309
+ i0.ɵɵclassProp("po-search-disabled", ctx.disabled);
38020
38310
  i0.ɵɵadvance(2);
38021
- i0.ɵɵproperty("ngIf", !ctx.loading);
38022
- i0.ɵɵadvance(1);
38023
- i0.ɵɵproperty("ngIf", ctx.loading);
38311
+ i0.ɵɵproperty("p-icon", ctx.icon ? ctx.icon : "po-icon-search");
38024
38312
  i0.ɵɵadvance(1);
38025
- i0.ɵɵproperty("disabled", ctx.disabled)("placeholder", ctx.literals.search);
38313
+ i0.ɵɵclassProp("po-search-icon-right", !!_r0.value && !ctx.disabled);
38314
+ i0.ɵɵproperty("ariaLabel", ctx.ariaLabel)("disabled", ctx.disabled)("placeholder", ctx.literals.search);
38026
38315
  i0.ɵɵadvance(2);
38027
- i0.ɵɵproperty("ngIf", !!_r2.value && !ctx.disabled);
38028
- } }, dependencies: [i1.NgIf, PoCleanComponent, PoIconComponent, PoLoadingIconComponent], encapsulation: 2 });
38316
+ i0.ɵɵproperty("ngIf", !!_r0.value && !ctx.disabled);
38317
+ } }, dependencies: [i1.NgIf, PoIconComponent], encapsulation: 2 });
38029
38318
  }
38030
38319
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoSearchComponent, [{
38031
38320
  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" }]
38321
+ 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
38322
  }], function () { return [{ type: PoLanguageService }, { type: i0.Renderer2 }]; }, { poSearchInput: [{
38034
38323
  type: ViewChild,
38035
38324
  args: ['poSearchInput', { read: ElementRef, static: true }]
@@ -53501,5 +53790,5 @@ function initializeLanguageDefault(config, languageService) {
53501
53790
  * Generated bundle index. Do not edit.
53502
53791
  */
53503
53792
 
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 };
53793
+ 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
53794
  //# sourceMappingURL=po-ui-ng-components.mjs.map