@po-ui/ng-components 17.26.21 → 17.26.23

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 (32) hide show
  1. package/esm2022/lib/components/po-avatar/po-avatar.component.mjs +2 -4
  2. package/esm2022/lib/components/po-button/po-button.component.mjs +2 -6
  3. package/esm2022/lib/components/po-dropdown/po-dropdown.component.mjs +2 -4
  4. package/esm2022/lib/components/po-field/po-datepicker/po-datepicker.component.mjs +2 -4
  5. package/esm2022/lib/components/po-field/po-email/po-email.component.mjs +2 -4
  6. package/esm2022/lib/components/po-field/po-lookup/po-lookup-base.component.mjs +3 -3
  7. package/esm2022/lib/components/po-field/po-radio-group/po-radio-group.component.mjs +2 -4
  8. package/esm2022/lib/components/po-field/po-switch/po-switch.component.mjs +2 -4
  9. package/esm2022/lib/components/po-table/po-table.component.mjs +2 -4
  10. package/fesm2022/po-ui-ng-components.mjs +10 -28
  11. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  12. package/lib/components/po-avatar/po-avatar.component.d.ts +0 -2
  13. package/lib/components/po-button/po-button.component.d.ts +0 -4
  14. package/lib/components/po-dropdown/po-dropdown.component.d.ts +0 -2
  15. package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +0 -2
  16. package/lib/components/po-field/po-email/po-email.component.d.ts +0 -2
  17. package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +0 -2
  18. package/lib/components/po-field/po-switch/po-switch.component.d.ts +0 -2
  19. package/lib/components/po-table/po-table.component.d.ts +0 -2
  20. package/package.json +4 -4
  21. package/po-ui-ng-components-17.26.23.tgz +0 -0
  22. package/schematics/ng-add/index.js +1 -1
  23. package/schematics/ng-update/v14/index.js +1 -1
  24. package/schematics/ng-update/v15/index.js +1 -1
  25. package/schematics/ng-update/v16/index.js +1 -1
  26. package/schematics/ng-update/v17/index.js +1 -1
  27. package/schematics/ng-update/v2/index.js +1 -1
  28. package/schematics/ng-update/v3/index.js +1 -1
  29. package/schematics/ng-update/v4/index.js +1 -1
  30. package/schematics/ng-update/v5/index.js +1 -1
  31. package/schematics/ng-update/v6/index.js +1 -1
  32. package/po-ui-ng-components-17.26.21.tgz +0 -0
@@ -3791,8 +3791,6 @@ function PoAvatarComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
3791
3791
  * <example name="po-avatar-basic" title="PO Avatar Basic" >
3792
3792
  * <file name="sample-po-avatar-basic/sample-po-avatar-basic.component.html"> </file>
3793
3793
  * <file name="sample-po-avatar-basic/sample-po-avatar-basic.component.ts"> </file>
3794
- * <file name="sample-po-avatar-basic/sample-po-avatar-basic.component.e2e-spec.ts"> </file>
3795
- * <file name="sample-po-avatar-basic/sample-po-avatar-basic.component.po.ts"> </file>
3796
3794
  * </example>
3797
3795
  *
3798
3796
  * <example name="po-avatar-labs" title="PO Avatar Labs" >
@@ -3834,7 +3832,7 @@ class PoAvatarComponent extends PoAvatarBaseComponent {
3834
3832
  type: Component,
3835
3833
  args: [{ selector: 'po-avatar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-avatar po-avatar-{{ size }}\" [class.po-clickable]=\"hasClickEvent\" (click)=\"click.emit()\">\n <ng-container *ngIf=\"src; then sourceImage; else defaultIcon\"></ng-container>\n</div>\n\n<ng-template #sourceImage>\n <img class=\"po-avatar-image\" [src]=\"src\" alt=\"\" [attr.loading]=\"loading\" (error)=\"onError()\" />\n</ng-template>\n\n<ng-template #defaultIcon>\n <po-icon p-icon=\"ICON_USER\" class=\"po-avatar-default-icon\"></po-icon>\n</ng-template>\n" }]
3836
3834
  }], null, null); })();
3837
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoAvatarComponent, { className: "PoAvatarComponent", filePath: "lib/components/po-avatar/po-avatar.component.ts", lineNumber: 32 }); })();
3835
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoAvatarComponent, { className: "PoAvatarComponent", filePath: "lib/components/po-avatar/po-avatar.component.ts", lineNumber: 30 }); })();
3838
3836
 
3839
3837
  /**
3840
3838
  * @description
@@ -7968,15 +7966,11 @@ function PoButtonComponent_span_5_Template(rf, ctx) { if (rf & 1) {
7968
7966
  * <example name="po-button-basic" title="PO Button Basic">
7969
7967
  * <file name="sample-po-button-basic/sample-po-button-basic.component.html"> </file>
7970
7968
  * <file name="sample-po-button-basic/sample-po-button-basic.component.ts"> </file>
7971
- * <file name="sample-po-button-basic/sample-po-button-basic.component.e2e-spec.ts"> </file>
7972
- * <file name="sample-po-button-basic/sample-po-button-basic.component.po.ts"> </file>
7973
7969
  * </example>
7974
7970
  *
7975
7971
  * <example name="po-button-labs" title="PO Button Labs">
7976
7972
  * <file name="sample-po-button-labs/sample-po-button-labs.component.html"> </file>
7977
7973
  * <file name="sample-po-button-labs/sample-po-button-labs.component.ts"> </file>
7978
- * <file name="sample-po-button-labs/sample-po-button-labs.component.e2e-spec.ts"> </file>
7979
- * <file name="sample-po-button-labs/sample-po-button-labs.component.po.ts"> </file>
7980
7974
  * </example>
7981
7975
  *
7982
7976
  * <example name="po-button-social-network" title="PO Button Social Network">
@@ -8042,7 +8036,7 @@ class PoButtonComponent extends PoButtonBaseComponent {
8042
8036
  type: ViewChild,
8043
8037
  args: ['button', { static: true }]
8044
8038
  }] }); })();
8045
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoButtonComponent, { className: "PoButtonComponent", filePath: "lib/components/po-button/po-button.component.ts", lineNumber: 34 }); })();
8039
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoButtonComponent, { className: "PoButtonComponent", filePath: "lib/components/po-button/po-button.component.ts", lineNumber: 30 }); })();
8046
8040
 
8047
8041
  /**
8048
8042
  * @description
@@ -13842,8 +13836,6 @@ const _c3$b = () => ["bottom-left", "top-left"];
13842
13836
  * <example name="po-dropdown-basic" title="PO Dropdown Basic" >
13843
13837
  * <file name="sample-po-dropdown-basic/sample-po-dropdown-basic.component.html"> </file>
13844
13838
  * <file name="sample-po-dropdown-basic/sample-po-dropdown-basic.component.ts"> </file>
13845
- * <file name="sample-po-dropdown-basic/sample-po-dropdown-basic.component.e2e-spec.ts"> </file>
13846
- * <file name="sample-po-dropdown-basic/sample-po-dropdown-basic.component.po.ts"> </file>
13847
13839
  * </example>
13848
13840
  *
13849
13841
  * <example name="po-dropdown-labs" title="PO Dropdown Labs" >
@@ -13967,7 +13959,7 @@ class PoDropdownComponent extends PoDropdownBaseComponent {
13967
13959
  type: ViewChild,
13968
13960
  args: ['popupRef']
13969
13961
  }] }); })();
13970
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoDropdownComponent, { className: "PoDropdownComponent", filePath: "lib/components/po-dropdown/po-dropdown.component.ts", lineNumber: 34 }); })();
13962
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoDropdownComponent, { className: "PoDropdownComponent", filePath: "lib/components/po-dropdown/po-dropdown.component.ts", lineNumber: 32 }); })();
13971
13963
 
13972
13964
  /**
13973
13965
  * @description
@@ -15307,8 +15299,6 @@ function PoRadioGroupComponent_div_4_Template(rf, ctx) { if (rf & 1) {
15307
15299
  * <example name="po-radio-group-basic" title="PO Radio Group Basic">
15308
15300
  * <file name="sample-po-radio-group-basic/sample-po-radio-group-basic.component.html"> </file>
15309
15301
  * <file name="sample-po-radio-group-basic/sample-po-radio-group-basic.component.ts"> </file>
15310
- * <file name="sample-po-radio-group-basic/sample-po-radio-group-basic.component.e2e-spec.ts"> </file>
15311
- * <file name="sample-po-radio-group-basic/sample-po-radio-group-basic.component.po.ts"> </file>
15312
15302
  * </example>
15313
15303
  *
15314
15304
  * <example name="po-radio-group-labs" title="PO Radio Group Labs">
@@ -15458,7 +15448,7 @@ class PoRadioGroupComponent extends PoRadioGroupBaseComponent {
15458
15448
  type: ViewChildren,
15459
15449
  args: ['inputRadio']
15460
15450
  }] }); })();
15461
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoRadioGroupComponent, { className: "PoRadioGroupComponent", filePath: "lib/components/po-field/po-radio-group/po-radio-group.component.ts", lineNumber: 67 }); })();
15451
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoRadioGroupComponent, { className: "PoRadioGroupComponent", filePath: "lib/components/po-field/po-radio-group/po-radio-group.component.ts", lineNumber: 65 }); })();
15462
15452
 
15463
15453
  class PoRadioModule {
15464
15454
  static ɵfac = function PoRadioModule_Factory(t) { return new (t || PoRadioModule)(); };
@@ -16701,8 +16691,6 @@ const poCalendarPositionDefault$1 = 'bottom-left';
16701
16691
  * <example name="po-datepicker-basic" title="PO Datepicker Basic">
16702
16692
  * <file name="sample-po-datepicker-basic/sample-po-datepicker-basic.component.html"> </file>
16703
16693
  * <file name="sample-po-datepicker-basic/sample-po-datepicker-basic.component.ts"> </file>
16704
- * <file name="sample-po-datepicker-basic/sample-po-datepicker-basic.component.po.ts"> </file>
16705
- * <file name="sample-po-datepicker-basic/sample-po-datepicker-basic.component.e2e-spec.ts"> </file>
16706
16694
  * </example>
16707
16695
  *
16708
16696
  * <example name="po-datepicker-labs" title="PO Datepicker Labs">
@@ -17127,7 +17115,7 @@ class PoDatepickerComponent extends PoDatepickerBaseComponent {
17127
17115
  type: HostListener,
17128
17116
  args: ['keydown', ['$event']]
17129
17117
  }] }); })();
17130
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoDatepickerComponent, { className: "PoDatepickerComponent", filePath: "lib/components/po-field/po-datepicker/po-datepicker.component.ts", lineNumber: 80 }); })();
17118
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoDatepickerComponent, { className: "PoDatepickerComponent", filePath: "lib/components/po-field/po-datepicker/po-datepicker.component.ts", lineNumber: 78 }); })();
17131
17119
 
17132
17120
  /**
17133
17121
  * @description
@@ -20937,8 +20925,6 @@ function PoSwitchComponent_po_label_8_Template(rf, ctx) { if (rf & 1) {
20937
20925
  * <example name="po-switch-labs" title="PO Switch Labs">
20938
20926
  * <file name="sample-po-switch-labs/sample-po-switch-labs.component.html"> </file>
20939
20927
  * <file name="sample-po-switch-labs/sample-po-switch-labs.component.ts"> </file>
20940
- * <file name="sample-po-switch-labs/sample-po-switch-labs.component.e2e-spec.ts"> </file>
20941
- * <file name="sample-po-switch-labs/sample-po-switch-labs.component.po.ts"> </file>
20942
20928
  * </example>
20943
20929
  *
20944
20930
  * <example name="po-switch-order" title="PO Switch - Order Summary">
@@ -21176,7 +21162,7 @@ class PoSwitchComponent extends PoFieldModel {
21176
21162
  type: Input,
21177
21163
  args: ['p-label-on']
21178
21164
  }] }); })();
21179
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoSwitchComponent, { className: "PoSwitchComponent", filePath: "lib/components/po-field/po-switch/po-switch.component.ts", lineNumber: 105 }); })();
21165
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoSwitchComponent, { className: "PoSwitchComponent", filePath: "lib/components/po-field/po-switch/po-switch.component.ts", lineNumber: 103 }); })();
21180
21166
 
21181
21167
  function PoTableListManagerComponent_section_0_ng_container_3_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
21182
21168
  i0.ɵɵelementContainer(0);
@@ -25253,8 +25239,6 @@ function PoTableComponent_po_table_column_manager_28_Template(rf, ctx) { if (rf
25253
25239
  * <example name="po-table-labs" title="PO Table Labs">
25254
25240
  * <file name="sample-po-table-labs/sample-po-table-labs.component.ts"> </file>
25255
25241
  * <file name="sample-po-table-labs/sample-po-table-labs.component.html"> </file>
25256
- * <file name="sample-po-table-labs/sample-po-table-labs.component.e2e-spec.ts"> </file>
25257
- * <file name="sample-po-table-labs/sample-po-table-labs.component.po.ts"> </file>
25258
25242
  * <file name="sample-po-table-labs/sample-po-table-labs.service.ts"> </file>
25259
25243
  * </example>
25260
25244
  *
@@ -26166,7 +26150,7 @@ class PoTableComponent extends PoTableBaseComponent {
26166
26150
  type: ViewChild,
26167
26151
  args: ['columnManagerTargetFixed']
26168
26152
  }] }); })();
26169
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoTableComponent, { className: "PoTableComponent", filePath: "lib/components/po-table/po-table.component.ts", lineNumber: 107 }); })();
26153
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoTableComponent, { className: "PoTableComponent", filePath: "lib/components/po-table/po-table.component.ts", lineNumber: 105 }); })();
26170
26154
 
26171
26155
  function PoTableDetailComponent_thead_1_th_2_Template(rf, ctx) { if (rf & 1) {
26172
26156
  i0.ɵɵelement(0, "th", 6);
@@ -31387,8 +31371,6 @@ const providers$4 = [
31387
31371
  * <example name="po-email-basic" title="PO Email Basic">
31388
31372
  * <file name="sample-po-email-basic/sample-po-email-basic.component.html"> </file>
31389
31373
  * <file name="sample-po-email-basic/sample-po-email-basic.component.ts"> </file>
31390
- * <file name="sample-po-email-basic/sample-po-email-basic.component.e2e-spec.ts"> </file>
31391
- * <file name="sample-po-email-basic/sample-po-email-basic.component.po.ts"> </file>
31392
31374
  * </example>
31393
31375
  *
31394
31376
  * <example name="po-email-labs" title="PO Email Labs">
@@ -31480,7 +31462,7 @@ class PoEmailComponent extends PoInputGeneric {
31480
31462
  type: Component,
31481
31463
  args: [{ selector: 'po-email', changeDetection: ChangeDetectionStrategy.OnPush, providers: providers$4, template: "<po-field-container\n [p-disabled]=\"disabled\"\n [p-id]=\"id\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div class=\"po-field-container-content\">\n <div *ngIf=\"icon\" class=\"po-field-icon-container-left\">\n <po-icon\n class=\"po-field-icon {{ disabled ? 'po-icon-input-disabled' : 'po-icon-input' }}\"\n [class.po-field-icon-disabled]=\"disabled\"\n [p-icon]=\"icon\"\n ></po-icon>\n </div>\n\n <input\n #inp\n class=\"po-input\"\n [attr.name]=\"name\"\n [autocomplete]=\"autocomplete\"\n [class.po-input-icon-left]=\"icon\"\n [class.po-input-icon-right]=\"clean\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n [placeholder]=\"disabled ? '' : placeholder\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [type]=\"type\"\n (blur)=\"eventOnBlur($event)\"\n (click)=\"eventOnClick($event)\"\n (focus)=\"eventOnFocus($event)\"\n (input)=\"eventOnInput($event)\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean\n class=\"{{ disabled ? 'po-icon-input-disabled' : 'po-icon-input' }}\"\n *ngIf=\"clean && !disabled && !readonly\"\n [p-element-ref]=\"inputEl\"\n (p-change-event)=\"clear($event)\"\n >\n </po-clean>\n </div>\n </div>\n\n <po-field-container-bottom\n [p-help]=\"help\"\n [p-disabled]=\"disabled\"\n [p-error-pattern]=\"getErrorPattern()\"\n ></po-field-container-bottom>\n</po-field-container>\n" }]
31482
31464
  }], () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], null); })();
31483
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoEmailComponent, { className: "PoEmailComponent", filePath: "lib/components/po-field/po-email/po-email.component.ts", lineNumber: 63 }); })();
31465
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PoEmailComponent, { className: "PoEmailComponent", filePath: "lib/components/po-field/po-email/po-email.component.ts", lineNumber: 61 }); })();
31484
31466
 
31485
31467
  const _c0$R = ["inp"];
31486
31468
  function PoInputComponent_div_2_Template(rf, ctx) { if (rf & 1) {
@@ -33697,7 +33679,7 @@ class PoLookupBaseComponent {
33697
33679
  if (typeof checkedValue === 'string') {
33698
33680
  checkedValue = checkedValue.trim();
33699
33681
  }
33700
- if (checkedValue !== '') {
33682
+ if (checkedValue !== '' && checkedValue !== '.') {
33701
33683
  const oldDisable = this.disabled;
33702
33684
  this.disabled = true;
33703
33685
  if (this.control) {
@@ -33720,7 +33702,7 @@ class PoLookupBaseComponent {
33720
33702
  this.setDisclaimers(element);
33721
33703
  this.updateVisibleItems();
33722
33704
  }
33723
- this.selectModel(this.multiple ? element : [element]);
33705
+ this.selectModel(Array.isArray(element) ? element : [element]);
33724
33706
  }
33725
33707
  else {
33726
33708
  this.cleanModel();