@exhaustive-ui/core 22.0.0-alpha.10 → 22.0.0-alpha.12

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 (122) hide show
  1. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +5 -5
  2. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  3. package/fesm2022/exhaustive-ui-core-basecomponent.mjs +6 -1
  4. package/fesm2022/exhaustive-ui-core-basecomponent.mjs.map +1 -1
  5. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +11 -4
  6. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  7. package/fesm2022/exhaustive-ui-core-card.mjs +0 -4
  8. package/fesm2022/exhaustive-ui-core-card.mjs.map +1 -1
  9. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +5 -5
  10. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  11. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  12. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +11 -9
  13. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  14. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +18 -1
  15. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  16. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +6 -4
  17. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  18. package/fesm2022/exhaustive-ui-core-datepicker.mjs +42 -7
  19. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  20. package/fesm2022/exhaustive-ui-core-dialog.mjs +2 -1
  21. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  22. package/fesm2022/exhaustive-ui-core-drawer.mjs +11 -2
  23. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  24. package/fesm2022/exhaustive-ui-core-fieldset.mjs +2 -2
  25. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  26. package/fesm2022/exhaustive-ui-core-fileupload.mjs +22 -11
  27. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  28. package/fesm2022/exhaustive-ui-core-iconfield.mjs +16 -1
  29. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  30. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +9 -0
  31. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  32. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +54 -21
  33. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  34. package/fesm2022/exhaustive-ui-core-inputtext.mjs +6 -5
  35. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  36. package/fesm2022/exhaustive-ui-core-listbox.mjs +4 -2
  37. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  38. package/fesm2022/exhaustive-ui-core-megamenu.mjs +1 -0
  39. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  40. package/fesm2022/exhaustive-ui-core-menu.mjs +2 -2
  41. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  42. package/fesm2022/exhaustive-ui-core-metergroup.mjs +5 -5
  43. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  44. package/fesm2022/exhaustive-ui-core-multiselect.mjs +25 -14
  45. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  46. package/fesm2022/exhaustive-ui-core-orderlist.mjs +9 -2
  47. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  48. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +2 -2
  49. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
  50. package/fesm2022/exhaustive-ui-core-paginator.mjs +4 -1
  51. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  52. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +7 -1
  53. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  54. package/fesm2022/exhaustive-ui-core-password.mjs +34 -14
  55. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  56. package/fesm2022/exhaustive-ui-core-picklist.mjs +4 -4
  57. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  58. package/fesm2022/exhaustive-ui-core-popover.mjs +26 -7
  59. package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
  60. package/fesm2022/exhaustive-ui-core-select.mjs +20 -14
  61. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  62. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +10 -6
  63. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  64. package/fesm2022/exhaustive-ui-core-slider.mjs +7 -3
  65. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  66. package/fesm2022/exhaustive-ui-core-splitter.mjs +5 -0
  67. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  68. package/fesm2022/exhaustive-ui-core-stepper.mjs +3 -0
  69. package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
  70. package/fesm2022/exhaustive-ui-core-table.mjs +97 -65
  71. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  72. package/fesm2022/exhaustive-ui-core-tabs.mjs +37 -7
  73. package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
  74. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +2 -1
  75. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  76. package/fesm2022/exhaustive-ui-core-toast.mjs +12 -1
  77. package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
  78. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +9 -2
  79. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  80. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +0 -2
  81. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  82. package/fesm2022/exhaustive-ui-core-tree.mjs +4 -4
  83. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  84. package/fesm2022/exhaustive-ui-core-treeselect.mjs +15 -3
  85. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  86. package/fesm2022/exhaustive-ui-core-treetable.mjs +4 -0
  87. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  88. package/package.json +5 -5
  89. package/schematics/migrate-from-primeflex/index.js +4 -2
  90. package/schematics/migrate-from-primeflex/schema.json +5 -0
  91. package/schematics/utils/package-json.js +17 -0
  92. package/schematics/utils/primeflex.js +45 -10
  93. package/schematics/utils/versions.json +8 -8
  94. package/types/exhaustive-ui-core-api.d.ts +4 -0
  95. package/types/exhaustive-ui-core-basecomponent.d.ts +1 -0
  96. package/types/exhaustive-ui-core-breadcrumb.d.ts +7 -1
  97. package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
  98. package/types/exhaustive-ui-core-chart.d.ts +2 -2
  99. package/types/exhaustive-ui-core-confirmdialog.d.ts +3 -2
  100. package/types/exhaustive-ui-core-confirmpopup.d.ts +4 -0
  101. package/types/exhaustive-ui-core-datepicker.d.ts +2 -1
  102. package/types/exhaustive-ui-core-drawer.d.ts +1 -0
  103. package/types/exhaustive-ui-core-fileupload.d.ts +4 -0
  104. package/types/exhaustive-ui-core-iconfield.d.ts +1 -2
  105. package/types/exhaustive-ui-core-inputnumber.d.ts +8 -0
  106. package/types/exhaustive-ui-core-megamenu.d.ts +1 -0
  107. package/types/exhaustive-ui-core-metergroup.d.ts +1 -1
  108. package/types/exhaustive-ui-core-orderlist.d.ts +6 -1
  109. package/types/exhaustive-ui-core-password.d.ts +7 -1
  110. package/types/exhaustive-ui-core-popover.d.ts +3 -0
  111. package/types/exhaustive-ui-core-select.d.ts +1 -0
  112. package/types/exhaustive-ui-core-selectbutton.d.ts +3 -0
  113. package/types/exhaustive-ui-core-splitter.d.ts +1 -0
  114. package/types/exhaustive-ui-core-stepper.d.ts +3 -2
  115. package/types/exhaustive-ui-core-table.d.ts +8 -1
  116. package/types/exhaustive-ui-core-tabs.d.ts +3 -0
  117. package/types/exhaustive-ui-core-togglebutton.d.ts +1 -0
  118. package/types/exhaustive-ui-core-treeselect.d.ts +6 -1
  119. package/types/exhaustive-ui-core-types-chart.d.ts +21 -1
  120. package/types/exhaustive-ui-core-types-confirmdialog.d.ts +1 -3
  121. package/types/exhaustive-ui-core-types-table.d.ts +1 -1
  122. package/types/exhaustive-ui-core-types-treetable.d.ts +2 -2
@@ -764,7 +764,7 @@ class AutoComplete extends BaseInput {
764
764
  return selectedItemTemplateLabel;
765
765
  }
766
766
  const label = this.getOptionLabel(selectedOption);
767
- return label != null ? label : modelValue;
767
+ return label != null ? label : typeof modelValue === 'object' ? '' : modelValue;
768
768
  }
769
769
  else {
770
770
  return modelValue;
@@ -973,7 +973,7 @@ class AutoComplete extends BaseInput {
973
973
  // For ScreenReaders
974
974
  return;
975
975
  }
976
- if (!this.dirty() && this.completeOnFocus()) {
976
+ if (!this.dirty() && this.completeOnFocus() && (event.target.value ?? '').length >= (this.minQueryLength() ?? 0)) {
977
977
  this.search(event, event.target.value, 'focus');
978
978
  }
979
979
  this.dirty.set(true);
@@ -1138,8 +1138,8 @@ class AutoComplete extends BaseInput {
1138
1138
  else {
1139
1139
  event.target.value = '';
1140
1140
  }
1141
- event.preventDefault();
1142
1141
  }
1142
+ event.preventDefault();
1143
1143
  }
1144
1144
  }
1145
1145
  }
@@ -1619,7 +1619,7 @@ class AutoComplete extends BaseInput {
1619
1619
  <svg data-p-icon="times" [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true" />
1620
1620
  }
1621
1621
  @if (clearIconTemplate() || _clearIconTemplate()) {
1622
- <span [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true">
1622
+ <span [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()">
1623
1623
  <ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate()"></ng-template>
1624
1624
  </span>
1625
1625
  }
@@ -1909,7 +1909,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1909
1909
  <svg data-p-icon="times" [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true" />
1910
1910
  }
1911
1911
  @if (clearIconTemplate() || _clearIconTemplate()) {
1912
- <span [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true">
1912
+ <span [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()">
1913
1913
  <ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate()"></ng-template>
1914
1914
  </span>
1915
1915
  }