primeng 19.1.4 → 19.1.6-lts

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 (221) hide show
  1. package/api/licensemanager.d.ts +4 -0
  2. package/api/public_api.d.ts +1 -0
  3. package/api/translation.d.ts +1 -0
  4. package/confirmdialog/confirmdialog.d.ts +1 -0
  5. package/dialog/dialog.d.ts +1 -0
  6. package/dynamicdialog/dynamicdialog-config.d.ts +1 -1
  7. package/editor/editor.d.ts +25 -4
  8. package/editor/editor.interface.d.ts +67 -9
  9. package/fesm2022/primeng-accordion.mjs +22 -22
  10. package/fesm2022/primeng-animateonscroll.mjs +7 -7
  11. package/fesm2022/primeng-api.mjs +146 -32
  12. package/fesm2022/primeng-api.mjs.map +1 -1
  13. package/fesm2022/primeng-autocomplete.mjs +12 -15
  14. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  15. package/fesm2022/primeng-autofocus.mjs +7 -7
  16. package/fesm2022/primeng-avatar.mjs +10 -10
  17. package/fesm2022/primeng-avatargroup.mjs +10 -10
  18. package/fesm2022/primeng-badge.mjs +13 -13
  19. package/fesm2022/primeng-base.mjs +3 -3
  20. package/fesm2022/primeng-basecomponent.mjs +8 -6
  21. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  22. package/fesm2022/primeng-blockui.mjs +10 -10
  23. package/fesm2022/primeng-breadcrumb.mjs +10 -10
  24. package/fesm2022/primeng-button.mjs +19 -19
  25. package/fesm2022/primeng-buttongroup.mjs +10 -10
  26. package/fesm2022/primeng-calendar.mjs +10 -10
  27. package/fesm2022/primeng-card.mjs +10 -10
  28. package/fesm2022/primeng-carousel.mjs +11 -10
  29. package/fesm2022/primeng-carousel.mjs.map +1 -1
  30. package/fesm2022/primeng-cascadeselect.mjs +13 -13
  31. package/fesm2022/primeng-chart.mjs +12 -12
  32. package/fesm2022/primeng-chart.mjs.map +1 -1
  33. package/fesm2022/primeng-checkbox.mjs +10 -10
  34. package/fesm2022/primeng-chip.mjs +10 -10
  35. package/fesm2022/primeng-chips.mjs +10 -10
  36. package/fesm2022/primeng-colorpicker.mjs +10 -10
  37. package/fesm2022/primeng-config.mjs +8 -7
  38. package/fesm2022/primeng-config.mjs.map +1 -1
  39. package/fesm2022/primeng-confirmdialog.mjs +53 -12
  40. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  41. package/fesm2022/primeng-confirmpopup.mjs +10 -10
  42. package/fesm2022/primeng-contextmenu.mjs +15 -15
  43. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  44. package/fesm2022/primeng-dataview.mjs +10 -10
  45. package/fesm2022/primeng-datepicker.mjs +20 -13
  46. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  47. package/fesm2022/primeng-defer.mjs +7 -7
  48. package/fesm2022/primeng-dialog.mjs +35 -15
  49. package/fesm2022/primeng-dialog.mjs.map +1 -1
  50. package/fesm2022/primeng-divider.mjs +10 -10
  51. package/fesm2022/primeng-dock.mjs +11 -11
  52. package/fesm2022/primeng-dock.mjs.map +1 -1
  53. package/fesm2022/primeng-dragdrop.mjs +10 -10
  54. package/fesm2022/primeng-drawer.mjs +10 -10
  55. package/fesm2022/primeng-dropdown.mjs +13 -13
  56. package/fesm2022/primeng-dynamicdialog.mjs +20 -19
  57. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  58. package/fesm2022/primeng-editor.mjs +68 -10
  59. package/fesm2022/primeng-editor.mjs.map +1 -1
  60. package/fesm2022/primeng-fieldset.mjs +10 -10
  61. package/fesm2022/primeng-fileupload.mjs +10 -10
  62. package/fesm2022/primeng-floatlabel.mjs +10 -10
  63. package/fesm2022/primeng-fluid.mjs +10 -10
  64. package/fesm2022/primeng-focustrap.mjs +7 -7
  65. package/fesm2022/primeng-galleria.mjs +23 -22
  66. package/fesm2022/primeng-galleria.mjs.map +1 -1
  67. package/fesm2022/primeng-iconfield.mjs +10 -10
  68. package/fesm2022/primeng-icons-angledoubledown.mjs +3 -3
  69. package/fesm2022/primeng-icons-angledoubleleft.mjs +3 -3
  70. package/fesm2022/primeng-icons-angledoubleright.mjs +3 -3
  71. package/fesm2022/primeng-icons-angledoubleup.mjs +3 -3
  72. package/fesm2022/primeng-icons-angledown.mjs +3 -3
  73. package/fesm2022/primeng-icons-angleleft.mjs +3 -3
  74. package/fesm2022/primeng-icons-angleright.mjs +3 -3
  75. package/fesm2022/primeng-icons-angleup.mjs +3 -3
  76. package/fesm2022/primeng-icons-arrowdown.mjs +3 -3
  77. package/fesm2022/primeng-icons-arrowdownleft.mjs +3 -3
  78. package/fesm2022/primeng-icons-arrowdownright.mjs +3 -3
  79. package/fesm2022/primeng-icons-arrowleft.mjs +3 -3
  80. package/fesm2022/primeng-icons-arrowright.mjs +3 -3
  81. package/fesm2022/primeng-icons-arrowup.mjs +3 -3
  82. package/fesm2022/primeng-icons-ban.mjs +3 -3
  83. package/fesm2022/primeng-icons-bars.mjs +3 -3
  84. package/fesm2022/primeng-icons-baseicon.mjs +6 -6
  85. package/fesm2022/primeng-icons-blank.mjs +3 -3
  86. package/fesm2022/primeng-icons-calendar.mjs +3 -3
  87. package/fesm2022/primeng-icons-caretleft.mjs +3 -3
  88. package/fesm2022/primeng-icons-caretright.mjs +3 -3
  89. package/fesm2022/primeng-icons-check.mjs +3 -3
  90. package/fesm2022/primeng-icons-chevrondown.mjs +3 -3
  91. package/fesm2022/primeng-icons-chevronleft.mjs +3 -3
  92. package/fesm2022/primeng-icons-chevronright.mjs +3 -3
  93. package/fesm2022/primeng-icons-chevronup.mjs +3 -3
  94. package/fesm2022/primeng-icons-exclamationtriangle.mjs +3 -3
  95. package/fesm2022/primeng-icons-eye.mjs +3 -3
  96. package/fesm2022/primeng-icons-eyeslash.mjs +3 -3
  97. package/fesm2022/primeng-icons-filter.mjs +3 -3
  98. package/fesm2022/primeng-icons-filterslash.mjs +3 -3
  99. package/fesm2022/primeng-icons-home.mjs +3 -3
  100. package/fesm2022/primeng-icons-infocircle.mjs +3 -3
  101. package/fesm2022/primeng-icons-minus.mjs +3 -3
  102. package/fesm2022/primeng-icons-pencil.mjs +3 -3
  103. package/fesm2022/primeng-icons-plus.mjs +3 -3
  104. package/fesm2022/primeng-icons-refresh.mjs +3 -3
  105. package/fesm2022/primeng-icons-search.mjs +3 -3
  106. package/fesm2022/primeng-icons-searchminus.mjs +3 -3
  107. package/fesm2022/primeng-icons-searchplus.mjs +3 -3
  108. package/fesm2022/primeng-icons-sortalt.mjs +3 -3
  109. package/fesm2022/primeng-icons-sortamountdown.mjs +3 -3
  110. package/fesm2022/primeng-icons-sortamountupalt.mjs +3 -3
  111. package/fesm2022/primeng-icons-spinner.mjs +3 -3
  112. package/fesm2022/primeng-icons-star.mjs +3 -3
  113. package/fesm2022/primeng-icons-starfill.mjs +3 -3
  114. package/fesm2022/primeng-icons-thlarge.mjs +3 -3
  115. package/fesm2022/primeng-icons-times.mjs +3 -3
  116. package/fesm2022/primeng-icons-timescircle.mjs +3 -3
  117. package/fesm2022/primeng-icons-trash.mjs +3 -3
  118. package/fesm2022/primeng-icons-undo.mjs +3 -3
  119. package/fesm2022/primeng-icons-upload.mjs +3 -3
  120. package/fesm2022/primeng-icons-windowmaximize.mjs +3 -3
  121. package/fesm2022/primeng-icons-windowminimize.mjs +3 -3
  122. package/fesm2022/primeng-iftalabel.mjs +10 -10
  123. package/fesm2022/primeng-image.mjs +10 -10
  124. package/fesm2022/primeng-imagecompare.mjs +10 -10
  125. package/fesm2022/primeng-inplace.mjs +16 -16
  126. package/fesm2022/primeng-inputgroup.mjs +10 -10
  127. package/fesm2022/primeng-inputgroupaddon.mjs +10 -10
  128. package/fesm2022/primeng-inputicon.mjs +10 -10
  129. package/fesm2022/primeng-inputmask.mjs +10 -10
  130. package/fesm2022/primeng-inputnumber.mjs +10 -10
  131. package/fesm2022/primeng-inputotp.mjs +10 -10
  132. package/fesm2022/primeng-inputswitch.mjs +10 -10
  133. package/fesm2022/primeng-inputtext.mjs +10 -10
  134. package/fesm2022/primeng-inputtextarea.mjs +10 -10
  135. package/fesm2022/primeng-keyfilter.mjs +7 -7
  136. package/fesm2022/primeng-knob.mjs +10 -10
  137. package/fesm2022/primeng-listbox.mjs +107 -25
  138. package/fesm2022/primeng-listbox.mjs.map +1 -1
  139. package/fesm2022/primeng-megamenu.mjs +14 -14
  140. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  141. package/fesm2022/primeng-menu.mjs +17 -17
  142. package/fesm2022/primeng-menu.mjs.map +1 -1
  143. package/fesm2022/primeng-menubar.mjs +17 -17
  144. package/fesm2022/primeng-menubar.mjs.map +1 -1
  145. package/fesm2022/primeng-message.mjs +10 -10
  146. package/fesm2022/primeng-message.mjs.map +1 -1
  147. package/fesm2022/primeng-messages.mjs +10 -10
  148. package/fesm2022/primeng-metergroup.mjs +13 -13
  149. package/fesm2022/primeng-multiselect.mjs +18 -16
  150. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  151. package/fesm2022/primeng-orderlist.mjs +12 -11
  152. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  153. package/fesm2022/primeng-organizationchart.mjs +13 -13
  154. package/fesm2022/primeng-overlay.mjs +10 -10
  155. package/fesm2022/primeng-overlaybadge.mjs +10 -10
  156. package/fesm2022/primeng-overlaypanel.mjs +10 -10
  157. package/fesm2022/primeng-paginator.mjs +10 -10
  158. package/fesm2022/primeng-panel.mjs +10 -10
  159. package/fesm2022/primeng-panelmenu.mjs +16 -16
  160. package/fesm2022/primeng-password.mjs +16 -16
  161. package/fesm2022/primeng-picklist.mjs +112 -227
  162. package/fesm2022/primeng-picklist.mjs.map +1 -1
  163. package/fesm2022/primeng-popover.mjs +10 -10
  164. package/fesm2022/primeng-progressbar.mjs +12 -12
  165. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  166. package/fesm2022/primeng-progressspinner.mjs +10 -10
  167. package/fesm2022/primeng-radiobutton.mjs +13 -15
  168. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  169. package/fesm2022/primeng-rating.mjs +10 -10
  170. package/fesm2022/primeng-ripple.mjs +10 -10
  171. package/fesm2022/primeng-scroller.mjs +10 -10
  172. package/fesm2022/primeng-scrollpanel.mjs +10 -10
  173. package/fesm2022/primeng-scrolltop.mjs +10 -10
  174. package/fesm2022/primeng-select.mjs +41 -27
  175. package/fesm2022/primeng-select.mjs.map +1 -1
  176. package/fesm2022/primeng-selectbutton.mjs +10 -10
  177. package/fesm2022/primeng-sidebar.mjs +10 -10
  178. package/fesm2022/primeng-skeleton.mjs +10 -10
  179. package/fesm2022/primeng-slider.mjs +10 -10
  180. package/fesm2022/primeng-speeddial.mjs +10 -10
  181. package/fesm2022/primeng-splitbutton.mjs +10 -10
  182. package/fesm2022/primeng-splitter.mjs +13 -13
  183. package/fesm2022/primeng-stepper.mjs +28 -28
  184. package/fesm2022/primeng-steps.mjs +10 -10
  185. package/fesm2022/primeng-styleclass.mjs +7 -7
  186. package/fesm2022/primeng-table.mjs +98 -96
  187. package/fesm2022/primeng-table.mjs.map +1 -1
  188. package/fesm2022/primeng-tabmenu.mjs +10 -10
  189. package/fesm2022/primeng-tabs.mjs +68 -33
  190. package/fesm2022/primeng-tabs.mjs.map +1 -1
  191. package/fesm2022/primeng-tabview.mjs +13 -13
  192. package/fesm2022/primeng-tag.mjs +10 -10
  193. package/fesm2022/primeng-tag.mjs.map +1 -1
  194. package/fesm2022/primeng-terminal.mjs +20 -24
  195. package/fesm2022/primeng-terminal.mjs.map +1 -1
  196. package/fesm2022/primeng-textarea.mjs +10 -10
  197. package/fesm2022/primeng-tieredmenu.mjs +14 -14
  198. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  199. package/fesm2022/primeng-timeline.mjs +10 -10
  200. package/fesm2022/primeng-toast.mjs +14 -13
  201. package/fesm2022/primeng-toast.mjs.map +1 -1
  202. package/fesm2022/primeng-togglebutton.mjs +10 -10
  203. package/fesm2022/primeng-toggleswitch.mjs +10 -10
  204. package/fesm2022/primeng-toolbar.mjs +10 -10
  205. package/fesm2022/primeng-tooltip.mjs +10 -10
  206. package/fesm2022/primeng-tree.mjs +15 -15
  207. package/fesm2022/primeng-tree.mjs.map +1 -1
  208. package/fesm2022/primeng-treeselect.mjs +10 -10
  209. package/fesm2022/primeng-treetable.mjs +66 -66
  210. package/fesm2022/primeng-treetable.mjs.map +1 -1
  211. package/fesm2022/primeng-usestyle.mjs +5 -4
  212. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  213. package/listbox/listbox.d.ts +14 -1
  214. package/message/message.d.ts +1 -1
  215. package/multiselect/multiselect.d.ts +1 -1
  216. package/package.json +159 -159
  217. package/picklist/picklist.d.ts +4 -22
  218. package/tabs/tabpanel.d.ts +18 -2
  219. package/tabs/tabs.d.ts +1 -1
  220. package/tag/tag.d.ts +1 -1
  221. package/terminal/terminal.d.ts +2 -3
@@ -164,10 +164,10 @@ class CheckboxStyle extends BaseStyle {
164
164
  name = 'checkbox';
165
165
  theme = theme;
166
166
  classes = classes;
167
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CheckboxStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
168
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CheckboxStyle });
167
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CheckboxStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
168
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CheckboxStyle });
169
169
  }
170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CheckboxStyle, decorators: [{
170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CheckboxStyle, decorators: [{
171
171
  type: Injectable
172
172
  }] });
173
173
  /**
@@ -445,8 +445,8 @@ class Checkbox extends BaseComponent {
445
445
  this.cd.markForCheck();
446
446
  });
447
447
  }
448
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Checkbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
449
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.14", type: Checkbox, isStandalone: true, selector: "p-checkbox, p-checkBox, p-check-box", inputs: { value: "value", name: "name", disabled: ["disabled", "disabled", booleanAttribute], binary: ["binary", "binary", booleanAttribute], ariaLabelledBy: "ariaLabelledBy", ariaLabel: "ariaLabel", tabindex: ["tabindex", "tabindex", numberAttribute], inputId: "inputId", style: "style", inputStyle: "inputStyle", styleClass: "styleClass", inputClass: "inputClass", indeterminate: ["indeterminate", "indeterminate", booleanAttribute], size: "size", formControl: "formControl", checkboxIcon: "checkboxIcon", readonly: ["readonly", "readonly", booleanAttribute], required: ["required", "required", booleanAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute], trueValue: "trueValue", falseValue: "falseValue", variant: "variant" }, outputs: { onChange: "onChange", onFocus: "onFocus", onBlur: "onBlur" }, providers: [CHECKBOX_VALUE_ACCESSOR, CheckboxStyle], queries: [{ propertyName: "checkboxIconTemplate", first: true, predicate: ["checkboxicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "inputViewChild", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
448
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Checkbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
449
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.15", type: Checkbox, isStandalone: true, selector: "p-checkbox, p-checkBox, p-check-box", inputs: { value: "value", name: "name", disabled: ["disabled", "disabled", booleanAttribute], binary: ["binary", "binary", booleanAttribute], ariaLabelledBy: "ariaLabelledBy", ariaLabel: "ariaLabel", tabindex: ["tabindex", "tabindex", numberAttribute], inputId: "inputId", style: "style", inputStyle: "inputStyle", styleClass: "styleClass", inputClass: "inputClass", indeterminate: ["indeterminate", "indeterminate", booleanAttribute], size: "size", formControl: "formControl", checkboxIcon: "checkboxIcon", readonly: ["readonly", "readonly", booleanAttribute], required: ["required", "required", booleanAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute], trueValue: "trueValue", falseValue: "falseValue", variant: "variant" }, outputs: { onChange: "onChange", onFocus: "onFocus", onBlur: "onBlur" }, providers: [CHECKBOX_VALUE_ACCESSOR, CheckboxStyle], queries: [{ propertyName: "checkboxIconTemplate", first: true, predicate: ["checkboxicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "inputViewChild", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
450
450
  <div [style]="style" [class]="styleClass" [ngClass]="containerClass" [attr.data-p-highlight]="checked" [attr.data-p-checked]="checked" [attr.data-p-disabled]="disabled">
451
451
  <input
452
452
  #input
@@ -481,7 +481,7 @@ class Checkbox extends BaseComponent {
481
481
  </div>
482
482
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CheckIcon, selector: "CheckIcon" }, { kind: "component", type: MinusIcon, selector: "MinusIcon" }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
483
483
  }
484
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Checkbox, decorators: [{
484
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Checkbox, decorators: [{
485
485
  type: Component,
486
486
  args: [{
487
487
  selector: 'p-checkbox, p-checkBox, p-check-box',
@@ -593,11 +593,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
593
593
  args: [PrimeTemplate]
594
594
  }] } });
595
595
  class CheckboxModule {
596
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
597
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: CheckboxModule, imports: [Checkbox, SharedModule], exports: [Checkbox, SharedModule] });
598
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CheckboxModule, imports: [Checkbox, SharedModule, SharedModule] });
596
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
597
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: CheckboxModule, imports: [Checkbox, SharedModule], exports: [Checkbox, SharedModule] });
598
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CheckboxModule, imports: [Checkbox, SharedModule, SharedModule] });
599
599
  }
600
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CheckboxModule, decorators: [{
600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CheckboxModule, decorators: [{
601
601
  type: NgModule,
602
602
  args: [{
603
603
  imports: [Checkbox, SharedModule],
@@ -69,10 +69,10 @@ class ChipStyle extends BaseStyle {
69
69
  name = 'chip';
70
70
  theme = theme;
71
71
  classes = classes;
72
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
73
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipStyle });
72
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
73
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipStyle });
74
74
  }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipStyle, decorators: [{
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipStyle, decorators: [{
76
76
  type: Injectable
77
77
  }] });
78
78
  /**
@@ -249,8 +249,8 @@ class Chip extends BaseComponent {
249
249
  imageError(event) {
250
250
  this.onImageError.emit(event);
251
251
  }
252
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Chip, deps: null, target: i0.ɵɵFactoryTarget.Component });
253
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.14", type: Chip, isStandalone: true, selector: "p-chip", inputs: { label: "label", icon: "icon", image: "image", alt: "alt", style: "style", styleClass: "styleClass", removable: ["removable", "removable", booleanAttribute], removeIcon: "removeIcon", chipProps: "chipProps" }, outputs: { onRemove: "onRemove", onImageError: "onImageError" }, host: { properties: { "class": "containerClass()", "style": "style", "style.display": "!visible && \"none\"", "attr.data-pc-name": "'chip'", "attr.aria-label": "label", "attr.data-pc-section": "'root'" } }, providers: [ChipStyle], queries: [{ propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
252
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Chip, deps: null, target: i0.ɵɵFactoryTarget.Component });
253
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.15", type: Chip, isStandalone: true, selector: "p-chip", inputs: { label: "label", icon: "icon", image: "image", alt: "alt", style: "style", styleClass: "styleClass", removable: ["removable", "removable", booleanAttribute], removeIcon: "removeIcon", chipProps: "chipProps" }, outputs: { onRemove: "onRemove", onImageError: "onImageError" }, host: { properties: { "class": "containerClass()", "style": "style", "style.display": "!visible && \"none\"", "attr.data-pc-name": "'chip'", "attr.aria-label": "label", "attr.data-pc-section": "'root'" } }, providers: [ChipStyle], queries: [{ propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
254
254
  <ng-content></ng-content>
255
255
  <img class="p-chip-image" [src]="image" *ngIf="image; else iconTemplate" (error)="imageError($event)" [alt]="alt" />
256
256
  <ng-template #iconTemplate><span *ngIf="icon" [class]="icon" [ngClass]="'p-chip-icon'" [attr.data-pc-section]="'icon'"></span></ng-template>
@@ -276,7 +276,7 @@ class Chip extends BaseComponent {
276
276
  </ng-container>
277
277
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: TimesCircleIcon, selector: "TimesCircleIcon" }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
278
278
  }
279
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Chip, decorators: [{
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Chip, decorators: [{
280
280
  type: Component,
281
281
  args: [{
282
282
  selector: 'p-chip',
@@ -350,11 +350,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
350
350
  args: [PrimeTemplate]
351
351
  }] } });
352
352
  class ChipModule {
353
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
354
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: ChipModule, imports: [Chip, SharedModule], exports: [Chip, SharedModule] });
355
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipModule, imports: [Chip, SharedModule, SharedModule] });
353
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
354
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: ChipModule, imports: [Chip, SharedModule], exports: [Chip, SharedModule] });
355
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipModule, imports: [Chip, SharedModule, SharedModule] });
356
356
  }
357
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipModule, decorators: [{
357
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipModule, decorators: [{
358
358
  type: NgModule,
359
359
  args: [{
360
360
  imports: [Chip, SharedModule],
@@ -150,10 +150,10 @@ class ChipsStyle extends BaseStyle {
150
150
  name = 'inputchips';
151
151
  theme = theme;
152
152
  classes = classes;
153
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
154
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsStyle });
153
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipsStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
154
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipsStyle });
155
155
  }
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsStyle, decorators: [{
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipsStyle, decorators: [{
157
157
  type: Injectable
158
158
  }] });
159
159
  /**
@@ -640,8 +640,8 @@ class Chips extends BaseComponent {
640
640
  }
641
641
  }
642
642
  }
643
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Chips, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.PrimeNG }], target: i0.ɵɵFactoryTarget.Component });
644
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.14", type: Chips, isStandalone: true, selector: "p-chips", inputs: { style: "style", styleClass: "styleClass", disabled: ["disabled", "disabled", booleanAttribute], field: "field", placeholder: "placeholder", max: ["max", "max", numberAttribute], maxLength: "maxLength", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", tabindex: ["tabindex", "tabindex", numberAttribute], inputId: "inputId", allowDuplicate: ["allowDuplicate", "allowDuplicate", booleanAttribute], caseSensitiveDuplication: ["caseSensitiveDuplication", "caseSensitiveDuplication", booleanAttribute], inputStyle: "inputStyle", inputStyleClass: "inputStyleClass", chipIcon: "chipIcon", addOnTab: ["addOnTab", "addOnTab", booleanAttribute], addOnBlur: ["addOnBlur", "addOnBlur", booleanAttribute], separator: "separator", showClear: ["showClear", "showClear", booleanAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute], variant: "variant" }, outputs: { onAdd: "onAdd", onRemove: "onRemove", onFocus: "onFocus", onBlur: "onBlur", onChipClick: "onChipClick", onChipContextMenu: "onChipContextMenu", onClear: "onClear" }, host: { properties: { "class.p-inputwrapper-filled": "filled", "class.p-inputwrapper-focus": "focused", "class.p-chips-clearable": "showClear" }, classAttribute: "p-element p-inputwrapper" }, providers: [CHIPS_VALUE_ACCESSOR, ChipsStyle], queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "inputViewChild", first: true, predicate: ["inputtext"], descendants: true }, { propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
643
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Chips, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.PrimeNG }], target: i0.ɵɵFactoryTarget.Component });
644
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.15", type: Chips, isStandalone: true, selector: "p-chips", inputs: { style: "style", styleClass: "styleClass", disabled: ["disabled", "disabled", booleanAttribute], field: "field", placeholder: "placeholder", max: ["max", "max", numberAttribute], maxLength: "maxLength", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", tabindex: ["tabindex", "tabindex", numberAttribute], inputId: "inputId", allowDuplicate: ["allowDuplicate", "allowDuplicate", booleanAttribute], caseSensitiveDuplication: ["caseSensitiveDuplication", "caseSensitiveDuplication", booleanAttribute], inputStyle: "inputStyle", inputStyleClass: "inputStyleClass", chipIcon: "chipIcon", addOnTab: ["addOnTab", "addOnTab", booleanAttribute], addOnBlur: ["addOnBlur", "addOnBlur", booleanAttribute], separator: "separator", showClear: ["showClear", "showClear", booleanAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute], variant: "variant" }, outputs: { onAdd: "onAdd", onRemove: "onRemove", onFocus: "onFocus", onBlur: "onBlur", onChipClick: "onChipClick", onChipContextMenu: "onChipContextMenu", onClear: "onClear" }, host: { properties: { "class.p-inputwrapper-filled": "filled", "class.p-inputwrapper-focus": "focused", "class.p-chips-clearable": "showClear" }, classAttribute: "p-element p-inputwrapper" }, providers: [CHIPS_VALUE_ACCESSOR, ChipsStyle], queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "inputViewChild", first: true, predicate: ["inputtext"], descendants: true }, { propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
645
645
  <div
646
646
  [ngClass]="{
647
647
  'p-inputchips p-component p-input-wrapper': true,
@@ -729,7 +729,7 @@ class Chips extends BaseComponent {
729
729
  </div>
730
730
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: AutoFocusModule }, { kind: "directive", type: i3.AutoFocus, selector: "[pAutoFocus]", inputs: ["autofocus", "pAutoFocus"] }, { kind: "component", type: TimesCircleIcon, selector: "TimesCircleIcon" }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "ngmodule", type: ChipModule }, { kind: "component", type: i4.Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "style", "styleClass", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
731
731
  }
732
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Chips, decorators: [{
732
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Chips, decorators: [{
733
733
  type: Component,
734
734
  args: [{
735
735
  selector: 'p-chips',
@@ -910,11 +910,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
910
910
  args: [PrimeTemplate]
911
911
  }] } });
912
912
  class ChipsModule {
913
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
914
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: ChipsModule, imports: [Chips, SharedModule], exports: [Chips, SharedModule] });
915
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsModule, imports: [Chips, SharedModule, SharedModule] });
913
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
914
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: ChipsModule, imports: [Chips, SharedModule], exports: [Chips, SharedModule] });
915
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipsModule, imports: [Chips, SharedModule, SharedModule] });
916
916
  }
917
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChipsModule, decorators: [{
917
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ChipsModule, decorators: [{
918
918
  type: NgModule,
919
919
  args: [{
920
920
  imports: [Chips, SharedModule],
@@ -173,10 +173,10 @@ class ColorPickerStyle extends BaseStyle {
173
173
  name = 'colorpicker';
174
174
  theme = theme;
175
175
  classes = classes;
176
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColorPickerStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
177
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColorPickerStyle });
176
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ColorPickerStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
177
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ColorPickerStyle });
178
178
  }
179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColorPickerStyle, decorators: [{
179
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ColorPickerStyle, decorators: [{
180
180
  type: Injectable
181
181
  }] });
182
182
  /**
@@ -850,8 +850,8 @@ class ColorPicker extends BaseComponent {
850
850
  this.restoreOverlayAppend();
851
851
  this.onOverlayHide();
852
852
  }
853
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColorPicker, deps: [{ token: i1.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
854
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.14", type: ColorPicker, isStandalone: true, selector: "p-colorPicker, p-colorpicker, p-color-picker", inputs: { style: "style", styleClass: "styleClass", inline: ["inline", "inline", booleanAttribute], format: "format", appendTo: "appendTo", disabled: ["disabled", "disabled", booleanAttribute], tabindex: "tabindex", inputId: "inputId", autoZIndex: ["autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", autofocus: ["autofocus", "autofocus", booleanAttribute] }, outputs: { onChange: "onChange", onShow: "onShow", onHide: "onHide" }, providers: [COLORPICKER_VALUE_ACCESSOR, ColorPickerStyle], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }, { propertyName: "inputViewChild", first: true, predicate: ["input"], descendants: true }, { propertyName: "colorSelector", first: true, predicate: ["colorSelector"], descendants: true }, { propertyName: "colorHandle", first: true, predicate: ["colorHandle"], descendants: true }, { propertyName: "hue", first: true, predicate: ["hue"], descendants: true }, { propertyName: "hueHandle", first: true, predicate: ["hueHandle"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
853
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ColorPicker, deps: [{ token: i1.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
854
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.15", type: ColorPicker, isStandalone: true, selector: "p-colorPicker, p-colorpicker, p-color-picker", inputs: { style: "style", styleClass: "styleClass", inline: ["inline", "inline", booleanAttribute], format: "format", appendTo: "appendTo", disabled: ["disabled", "disabled", booleanAttribute], tabindex: "tabindex", inputId: "inputId", autoZIndex: ["autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", autofocus: ["autofocus", "autofocus", booleanAttribute] }, outputs: { onChange: "onChange", onShow: "onShow", onHide: "onHide" }, providers: [COLORPICKER_VALUE_ACCESSOR, ColorPickerStyle], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }, { propertyName: "inputViewChild", first: true, predicate: ["input"], descendants: true }, { propertyName: "colorSelector", first: true, predicate: ["colorSelector"], descendants: true }, { propertyName: "colorHandle", first: true, predicate: ["colorHandle"], descendants: true }, { propertyName: "hue", first: true, predicate: ["hue"], descendants: true }, { propertyName: "hueHandle", first: true, predicate: ["hueHandle"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
855
855
  <div
856
856
  #container
857
857
  [ngStyle]="style"
@@ -909,7 +909,7 @@ class ColorPicker extends BaseComponent {
909
909
  </div>
910
910
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: AutoFocusModule }, { kind: "directive", type: i3.AutoFocus, selector: "[pAutoFocus]", inputs: ["autofocus", "pAutoFocus"] }, { kind: "ngmodule", type: SharedModule }], animations: [trigger('overlayAnimation', [transition(':enter', [style({ opacity: 0, transform: 'scaleY(0.8)' }), animate('{{showTransitionParams}}')]), transition(':leave', [animate('{{hideTransitionParams}}', style({ opacity: 0 }))])])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
911
911
  }
912
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColorPicker, decorators: [{
912
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ColorPicker, decorators: [{
913
913
  type: Component,
914
914
  args: [{
915
915
  selector: 'p-colorPicker, p-colorpicker, p-color-picker',
@@ -1034,11 +1034,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
1034
1034
  args: ['hueHandle']
1035
1035
  }] } });
1036
1036
  class ColorPickerModule {
1037
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1038
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: ColorPickerModule, imports: [ColorPicker, SharedModule], exports: [ColorPicker, SharedModule] });
1039
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColorPickerModule, imports: [ColorPicker, SharedModule, SharedModule] });
1037
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1038
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: ColorPickerModule, imports: [ColorPicker, SharedModule], exports: [ColorPicker, SharedModule] });
1039
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ColorPickerModule, imports: [ColorPicker, SharedModule, SharedModule] });
1040
1040
  }
1041
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ColorPickerModule, decorators: [{
1041
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ColorPickerModule, decorators: [{
1042
1042
  type: NgModule,
1043
1043
  args: [{
1044
1044
  imports: [ColorPicker, SharedModule],
@@ -64,10 +64,10 @@ class ThemeProvider {
64
64
  if (csp)
65
65
  this.csp.set(csp);
66
66
  }
67
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ThemeProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
68
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ThemeProvider, providedIn: 'root' });
67
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ThemeProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
68
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ThemeProvider, providedIn: 'root' });
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ThemeProvider, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ThemeProvider, decorators: [{
71
71
  type: Injectable,
72
72
  args: [{ providedIn: 'root' }]
73
73
  }], ctorParameters: () => [] });
@@ -209,7 +209,8 @@ class PrimeNG extends ThemeProvider {
209
209
  selectColor: 'Select a color',
210
210
  removeLabel: 'Remove',
211
211
  browseFiles: 'Browse Files',
212
- maximizeLabel: 'Maximize'
212
+ maximizeLabel: 'Maximize',
213
+ minimizeLabel: 'Minimize'
213
214
  }
214
215
  };
215
216
  zIndex = {
@@ -249,10 +250,10 @@ class PrimeNG extends ThemeProvider {
249
250
  csp
250
251
  });
251
252
  }
252
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PrimeNG, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
253
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PrimeNG, providedIn: 'root' });
253
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PrimeNG, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
254
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PrimeNG, providedIn: 'root' });
254
255
  }
255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PrimeNG, decorators: [{
256
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PrimeNG, decorators: [{
256
257
  type: Injectable,
257
258
  args: [{ providedIn: 'root' }]
258
259
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-config.mjs","sources":["../../src/config/themeprovider.ts","../../src/config/primeng.ts","../../src/config/provideprimeng.ts","../../src/config/primeng-config.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { effect, inject, Injectable, signal, untracked } from '@angular/core';\nimport { Theme, ThemeService } from '@primeuix/styled';\nimport { BaseStyle } from 'primeng/base';\n\nexport type ThemeType = { preset?: any; options?: any } | 'none' | boolean | undefined;\n\nexport type ThemeConfigType = {\n theme?: ThemeType;\n csp?: {\n nonce: string | undefined;\n };\n};\n\n@Injectable({ providedIn: 'root' })\nexport class ThemeProvider {\n // @todo define type for theme\n theme = signal<any>(undefined);\n\n csp = signal<{ nonce: string | undefined }>({ nonce: undefined });\n\n isThemeChanged: boolean = false;\n\n public document: Document = inject(DOCUMENT);\n\n baseStyle: BaseStyle = inject(BaseStyle);\n\n constructor() {\n effect(() => {\n ThemeService.on('theme:change', (newTheme) => {\n untracked(() => {\n this.isThemeChanged = true;\n this.theme.set(newTheme);\n // this.onThemeChange(this.theme());\n });\n });\n });\n effect(() => {\n const themeValue = this.theme();\n if (this.document && themeValue) {\n if (!this.isThemeChanged) {\n this.onThemeChange(themeValue);\n }\n this.isThemeChanged = false;\n }\n });\n }\n\n ngOnDestroy() {\n Theme.clearLoadedStyleNames();\n ThemeService.clear();\n }\n\n onThemeChange(value: any) {\n Theme.setTheme(value);\n if (this.document) {\n this.loadCommonTheme();\n }\n }\n\n loadCommonTheme() {\n if (this.theme() === 'none') return;\n\n // common\n if (!Theme.isStyleNameLoaded('common')) {\n const { primitive, semantic, global, style } = this.baseStyle.getCommonTheme?.() || {};\n const styleOptions = { nonce: this.csp?.()?.nonce };\n\n this.baseStyle.load(primitive?.css, { name: 'primitive-variables', ...styleOptions });\n this.baseStyle.load(semantic?.css, { name: 'semantic-variables', ...styleOptions });\n this.baseStyle.load(global?.css, { name: 'global-variables', ...styleOptions });\n this.baseStyle.loadGlobalTheme({ name: 'global-style', ...styleOptions }, style);\n\n Theme.setLoadedStyleName('common');\n }\n }\n\n setThemeConfig(config: ThemeConfigType): void {\n const { theme, csp } = config || {};\n if (theme) this.theme.set(theme);\n if (csp) this.csp.set(csp);\n }\n}\n","import { inject, Injectable, PLATFORM_ID, signal } from '@angular/core';\nimport { FilterMatchMode, OverlayOptions, Translation } from 'primeng/api';\nimport { Subject } from 'rxjs';\nimport { ThemeConfigType, ThemeProvider } from './themeprovider';\n\n// Type for zIndex\nexport type ZIndex = {\n modal: number;\n overlay: number;\n menu: number;\n tooltip: number;\n};\n\nexport type PrimeNGConfigType = {\n ripple?: boolean;\n inputStyle?: 'outlined' | 'filled';\n inputVariant?: 'outlined' | 'filled';\n csp?: {\n nonce: string | undefined;\n };\n overlayOptions?: OverlayOptions;\n translation?: Translation;\n zIndex?: ZIndex;\n filterMatchModeOptions?: any;\n} & ThemeConfigType;\n\n@Injectable({ providedIn: 'root' })\nexport class PrimeNG extends ThemeProvider {\n ripple = signal<boolean>(false);\n\n public platformId: any = inject(PLATFORM_ID);\n\n inputStyle = signal<'outlined' | 'filled'>(null);\n\n inputVariant = signal<'outlined' | 'filled'>(null);\n\n overlayOptions: OverlayOptions = {};\n\n csp = signal<{ nonce: string | undefined }>({ nonce: undefined });\n\n filterMatchModeOptions = {\n text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],\n numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],\n date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]\n };\n\n public translation: Translation = {\n startsWith: 'Starts with',\n contains: 'Contains',\n notContains: 'Not contains',\n endsWith: 'Ends with',\n equals: 'Equals',\n notEquals: 'Not equals',\n noFilter: 'No Filter',\n lt: 'Less than',\n lte: 'Less than or equal to',\n gt: 'Greater than',\n gte: 'Greater than or equal to',\n is: 'Is',\n isNot: 'Is not',\n before: 'Before',\n after: 'After',\n dateIs: 'Date is',\n dateIsNot: 'Date is not',\n dateBefore: 'Date is before',\n dateAfter: 'Date is after',\n clear: 'Clear',\n apply: 'Apply',\n matchAll: 'Match All',\n matchAny: 'Match Any',\n addRule: 'Add Rule',\n removeRule: 'Remove Rule',\n accept: 'Yes',\n reject: 'No',\n choose: 'Choose',\n upload: 'Upload',\n cancel: 'Cancel',\n pending: 'Pending',\n fileSizeTypes: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],\n dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n chooseYear: 'Choose Year',\n chooseMonth: 'Choose Month',\n chooseDate: 'Choose Date',\n prevDecade: 'Previous Decade',\n nextDecade: 'Next Decade',\n prevYear: 'Previous Year',\n nextYear: 'Next Year',\n prevMonth: 'Previous Month',\n nextMonth: 'Next Month',\n prevHour: 'Previous Hour',\n nextHour: 'Next Hour',\n prevMinute: 'Previous Minute',\n nextMinute: 'Next Minute',\n prevSecond: 'Previous Second',\n nextSecond: 'Next Second',\n am: 'am',\n pm: 'pm',\n dateFormat: 'mm/dd/yy',\n firstDayOfWeek: 0,\n today: 'Today',\n weekHeader: 'Wk',\n weak: 'Weak',\n medium: 'Medium',\n strong: 'Strong',\n passwordPrompt: 'Enter a password',\n emptyMessage: 'No results found',\n searchMessage: 'Search results are available',\n selectionMessage: '{0} items selected',\n emptySelectionMessage: 'No selected item',\n emptySearchMessage: 'No results found',\n emptyFilterMessage: 'No results found',\n fileChosenMessage: 'Files',\n noFileChosenMessage: 'No file chosen',\n aria: {\n trueLabel: 'True',\n falseLabel: 'False',\n nullLabel: 'Not Selected',\n star: '1 star',\n stars: '{star} stars',\n selectAll: 'All items selected',\n unselectAll: 'All items unselected',\n close: 'Close',\n previous: 'Previous',\n next: 'Next',\n navigation: 'Navigation',\n scrollTop: 'Scroll Top',\n moveTop: 'Move Top',\n moveUp: 'Move Up',\n moveDown: 'Move Down',\n moveBottom: 'Move Bottom',\n moveToTarget: 'Move to Target',\n moveToSource: 'Move to Source',\n moveAllToTarget: 'Move All to Target',\n moveAllToSource: 'Move All to Source',\n pageLabel: '{page}',\n firstPageLabel: 'First Page',\n lastPageLabel: 'Last Page',\n nextPageLabel: 'Next Page',\n prevPageLabel: 'Previous Page',\n rowsPerPageLabel: 'Rows per page',\n previousPageLabel: 'Previous Page',\n jumpToPageDropdownLabel: 'Jump to Page Dropdown',\n jumpToPageInputLabel: 'Jump to Page Input',\n selectRow: 'Row Selected',\n unselectRow: 'Row Unselected',\n expandRow: 'Row Expanded',\n collapseRow: 'Row Collapsed',\n showFilterMenu: 'Show Filter Menu',\n hideFilterMenu: 'Hide Filter Menu',\n filterOperator: 'Filter Operator',\n filterConstraint: 'Filter Constraint',\n editRow: 'Row Edit',\n saveEdit: 'Save Edit',\n cancelEdit: 'Cancel Edit',\n listView: 'List View',\n gridView: 'Grid View',\n slide: 'Slide',\n slideNumber: '{slideNumber}',\n zoomImage: 'Zoom Image',\n zoomIn: 'Zoom In',\n zoomOut: 'Zoom Out',\n rotateRight: 'Rotate Right',\n rotateLeft: 'Rotate Left',\n listLabel: 'Option List',\n selectColor: 'Select a color',\n removeLabel: 'Remove',\n browseFiles: 'Browse Files',\n maximizeLabel: 'Maximize'\n }\n };\n\n zIndex: ZIndex = {\n modal: 1100,\n overlay: 1000,\n menu: 1000,\n tooltip: 1100\n };\n\n private translationSource = new Subject<any>();\n\n translationObserver = this.translationSource.asObservable();\n\n getTranslation(key: string): any {\n return this.translation[key as keyof typeof this.translation];\n }\n\n setTranslation(value: Translation) {\n this.translation = { ...this.translation, ...value };\n this.translationSource.next(this.translation);\n }\n\n setConfig(config: PrimeNGConfigType): void {\n const { csp, ripple, inputStyle, inputVariant, theme, overlayOptions, translation, filterMatchModeOptions } = config || {};\n\n if (csp) this.csp.set(csp);\n if (ripple) this.ripple.set(ripple);\n if (inputStyle) this.inputStyle.set(inputStyle);\n if (inputVariant) this.inputVariant.set(inputVariant);\n if (overlayOptions) this.overlayOptions = overlayOptions;\n if (translation) this.setTranslation(translation);\n if (filterMatchModeOptions) this.filterMatchModeOptions = filterMatchModeOptions;\n\n if (theme)\n this.setThemeConfig({\n theme,\n csp\n } as ThemeConfigType);\n }\n}\n","import { EnvironmentProviders, inject, InjectionToken, makeEnvironmentProviders, provideAppInitializer } from '@angular/core';\nimport { PrimeNG, PrimeNGConfigType } from './primeng';\n\nexport const PRIME_NG_CONFIG = new InjectionToken<PrimeNGConfigType>('PRIME_NG_CONFIG');\n\nexport function providePrimeNG(...features: PrimeNGConfigType[]): EnvironmentProviders {\n const providers = features?.map((feature) => ({\n provide: PRIME_NG_CONFIG,\n useValue: feature,\n multi: false\n }));\n\n const initializer = provideAppInitializer(() => {\n const PrimeNGConfig = inject(PrimeNG);\n features?.forEach((feature) => PrimeNGConfig.setConfig(feature));\n return;\n });\n\n return makeEnvironmentProviders([...providers, initializer]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MAea,aAAa,CAAA;;AAEtB,IAAA,KAAK,GAAG,MAAM,CAAM,SAAS,CAAC;IAE9B,GAAG,GAAG,MAAM,CAAgC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAEjE,cAAc,GAAY,KAAK;AAExB,IAAA,QAAQ,GAAa,MAAM,CAAC,QAAQ,CAAC;AAE5C,IAAA,SAAS,GAAc,MAAM,CAAC,SAAS,CAAC;AAExC,IAAA,WAAA,GAAA;QACI,MAAM,CAAC,MAAK;YACR,YAAY,CAAC,EAAE,CAAC,cAAc,EAAE,CAAC,QAAQ,KAAI;gBACzC,SAAS,CAAC,MAAK;AACX,oBAAA,IAAI,CAAC,cAAc,GAAG,IAAI;AAC1B,oBAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC;;AAE5B,gBAAA,CAAC,CAAC;AACN,YAAA,CAAC,CAAC;AACN,QAAA,CAAC,CAAC;QACF,MAAM,CAAC,MAAK;AACR,YAAA,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,EAAE;AAC/B,YAAA,IAAI,IAAI,CAAC,QAAQ,IAAI,UAAU,EAAE;AAC7B,gBAAA,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;AACtB,oBAAA,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC;gBAClC;AACA,gBAAA,IAAI,CAAC,cAAc,GAAG,KAAK;YAC/B;AACJ,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AC;IAC7B;wGAxLS,OAAO,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAP,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,OAAO,cADM,MAAM,EAAA,CAAA;;4FACnB,OAAO,EAAA,UAAA,EAAA,CAAA;kBADnB,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;MCvBrB,eAAe,GAAG,IAAI,cAAc,CAAoB,iBAAiB;AAEhF,SAAU,cAAc,CAAC,GAAG,QAA6B,EAAA;IAC3D,MAAM,SAAS,GAAG,QAAQ,EAAE,GAAG,CAAC,CAAC,OAAO,MAAM;AAC1C,QAAA,OAAO,EAAE,eAAe;AACxB,QAAA,QAAQ,EAAE,OAAO;AACjB,QAAA,KAAK,EAAE;AACV,KAAA,CAAC,CAAC;AAEH,IAAA,MAAM,WAAW,GAAG,qBAAqB,CAAC,MAAK;AAC3C,QAAA,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC;AACrC,QAAA,QAAQ,EAAE,OAAO,CAAC,CAAC,OAAO,KAAK,aAAa,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAChE;AACJ,IAAA,CAAC,CAAC;IAEF,OAAO,wBAAwB,CAAC,CAAC,GAAG,SAAS,EAAE,WAAW,CAAC,CAAC;AAChE;;ACnBA;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-config.mjs","sources":["../../src/config/themeprovider.ts","../../src/config/primeng.ts","../../src/config/provideprimeng.ts","../../src/config/primeng-config.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { effect, inject, Injectable, signal, untracked } from '@angular/core';\nimport { Theme, ThemeService } from '@primeuix/styled';\nimport { BaseStyle } from 'primeng/base';\n\nexport type ThemeType = { preset?: any; options?: any } | 'none' | boolean | undefined;\n\nexport type ThemeConfigType = {\n theme?: ThemeType;\n csp?: {\n nonce: string | undefined;\n };\n};\n\n@Injectable({ providedIn: 'root' })\nexport class ThemeProvider {\n // @todo define type for theme\n theme = signal<any>(undefined);\n\n csp = signal<{ nonce: string | undefined }>({ nonce: undefined });\n\n isThemeChanged: boolean = false;\n\n public document: Document = inject(DOCUMENT);\n\n baseStyle: BaseStyle = inject(BaseStyle);\n\n constructor() {\n effect(() => {\n ThemeService.on('theme:change', (newTheme) => {\n untracked(() => {\n this.isThemeChanged = true;\n this.theme.set(newTheme);\n // this.onThemeChange(this.theme());\n });\n });\n });\n effect(() => {\n const themeValue = this.theme();\n if (this.document && themeValue) {\n if (!this.isThemeChanged) {\n this.onThemeChange(themeValue);\n }\n this.isThemeChanged = false;\n }\n });\n }\n\n ngOnDestroy() {\n Theme.clearLoadedStyleNames();\n ThemeService.clear();\n }\n\n onThemeChange(value: any) {\n Theme.setTheme(value);\n if (this.document) {\n this.loadCommonTheme();\n }\n }\n\n loadCommonTheme() {\n if (this.theme() === 'none') return;\n\n // common\n if (!Theme.isStyleNameLoaded('common')) {\n const { primitive, semantic, global, style } = this.baseStyle.getCommonTheme?.() || {};\n const styleOptions = { nonce: this.csp?.()?.nonce };\n\n this.baseStyle.load(primitive?.css, { name: 'primitive-variables', ...styleOptions });\n this.baseStyle.load(semantic?.css, { name: 'semantic-variables', ...styleOptions });\n this.baseStyle.load(global?.css, { name: 'global-variables', ...styleOptions });\n this.baseStyle.loadGlobalTheme({ name: 'global-style', ...styleOptions }, style);\n\n Theme.setLoadedStyleName('common');\n }\n }\n\n setThemeConfig(config: ThemeConfigType): void {\n const { theme, csp } = config || {};\n if (theme) this.theme.set(theme);\n if (csp) this.csp.set(csp);\n }\n}\n","import { inject, Injectable, PLATFORM_ID, signal } from '@angular/core';\nimport { FilterMatchMode, OverlayOptions, Translation } from 'primeng/api';\nimport { Subject } from 'rxjs';\nimport { ThemeConfigType, ThemeProvider } from './themeprovider';\n\n// Type for zIndex\nexport type ZIndex = {\n modal: number;\n overlay: number;\n menu: number;\n tooltip: number;\n};\n\nexport type PrimeNGConfigType = {\n ripple?: boolean;\n inputStyle?: 'outlined' | 'filled';\n inputVariant?: 'outlined' | 'filled';\n csp?: {\n nonce: string | undefined;\n };\n overlayOptions?: OverlayOptions;\n translation?: Translation;\n zIndex?: ZIndex;\n filterMatchModeOptions?: any;\n} & ThemeConfigType;\n\n@Injectable({ providedIn: 'root' })\nexport class PrimeNG extends ThemeProvider {\n ripple = signal<boolean>(false);\n\n public platformId: any = inject(PLATFORM_ID);\n\n inputStyle = signal<'outlined' | 'filled'>(null);\n\n inputVariant = signal<'outlined' | 'filled'>(null);\n\n overlayOptions: OverlayOptions = {};\n\n csp = signal<{ nonce: string | undefined }>({ nonce: undefined });\n\n filterMatchModeOptions = {\n text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],\n numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],\n date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]\n };\n\n public translation: Translation = {\n startsWith: 'Starts with',\n contains: 'Contains',\n notContains: 'Not contains',\n endsWith: 'Ends with',\n equals: 'Equals',\n notEquals: 'Not equals',\n noFilter: 'No Filter',\n lt: 'Less than',\n lte: 'Less than or equal to',\n gt: 'Greater than',\n gte: 'Greater than or equal to',\n is: 'Is',\n isNot: 'Is not',\n before: 'Before',\n after: 'After',\n dateIs: 'Date is',\n dateIsNot: 'Date is not',\n dateBefore: 'Date is before',\n dateAfter: 'Date is after',\n clear: 'Clear',\n apply: 'Apply',\n matchAll: 'Match All',\n matchAny: 'Match Any',\n addRule: 'Add Rule',\n removeRule: 'Remove Rule',\n accept: 'Yes',\n reject: 'No',\n choose: 'Choose',\n upload: 'Upload',\n cancel: 'Cancel',\n pending: 'Pending',\n fileSizeTypes: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],\n dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n chooseYear: 'Choose Year',\n chooseMonth: 'Choose Month',\n chooseDate: 'Choose Date',\n prevDecade: 'Previous Decade',\n nextDecade: 'Next Decade',\n prevYear: 'Previous Year',\n nextYear: 'Next Year',\n prevMonth: 'Previous Month',\n nextMonth: 'Next Month',\n prevHour: 'Previous Hour',\n nextHour: 'Next Hour',\n prevMinute: 'Previous Minute',\n nextMinute: 'Next Minute',\n prevSecond: 'Previous Second',\n nextSecond: 'Next Second',\n am: 'am',\n pm: 'pm',\n dateFormat: 'mm/dd/yy',\n firstDayOfWeek: 0,\n today: 'Today',\n weekHeader: 'Wk',\n weak: 'Weak',\n medium: 'Medium',\n strong: 'Strong',\n passwordPrompt: 'Enter a password',\n emptyMessage: 'No results found',\n searchMessage: 'Search results are available',\n selectionMessage: '{0} items selected',\n emptySelectionMessage: 'No selected item',\n emptySearchMessage: 'No results found',\n emptyFilterMessage: 'No results found',\n fileChosenMessage: 'Files',\n noFileChosenMessage: 'No file chosen',\n aria: {\n trueLabel: 'True',\n falseLabel: 'False',\n nullLabel: 'Not Selected',\n star: '1 star',\n stars: '{star} stars',\n selectAll: 'All items selected',\n unselectAll: 'All items unselected',\n close: 'Close',\n previous: 'Previous',\n next: 'Next',\n navigation: 'Navigation',\n scrollTop: 'Scroll Top',\n moveTop: 'Move Top',\n moveUp: 'Move Up',\n moveDown: 'Move Down',\n moveBottom: 'Move Bottom',\n moveToTarget: 'Move to Target',\n moveToSource: 'Move to Source',\n moveAllToTarget: 'Move All to Target',\n moveAllToSource: 'Move All to Source',\n pageLabel: '{page}',\n firstPageLabel: 'First Page',\n lastPageLabel: 'Last Page',\n nextPageLabel: 'Next Page',\n prevPageLabel: 'Previous Page',\n rowsPerPageLabel: 'Rows per page',\n previousPageLabel: 'Previous Page',\n jumpToPageDropdownLabel: 'Jump to Page Dropdown',\n jumpToPageInputLabel: 'Jump to Page Input',\n selectRow: 'Row Selected',\n unselectRow: 'Row Unselected',\n expandRow: 'Row Expanded',\n collapseRow: 'Row Collapsed',\n showFilterMenu: 'Show Filter Menu',\n hideFilterMenu: 'Hide Filter Menu',\n filterOperator: 'Filter Operator',\n filterConstraint: 'Filter Constraint',\n editRow: 'Row Edit',\n saveEdit: 'Save Edit',\n cancelEdit: 'Cancel Edit',\n listView: 'List View',\n gridView: 'Grid View',\n slide: 'Slide',\n slideNumber: '{slideNumber}',\n zoomImage: 'Zoom Image',\n zoomIn: 'Zoom In',\n zoomOut: 'Zoom Out',\n rotateRight: 'Rotate Right',\n rotateLeft: 'Rotate Left',\n listLabel: 'Option List',\n selectColor: 'Select a color',\n removeLabel: 'Remove',\n browseFiles: 'Browse Files',\n maximizeLabel: 'Maximize',\n minimizeLabel: 'Minimize'\n }\n };\n\n zIndex: ZIndex = {\n modal: 1100,\n overlay: 1000,\n menu: 1000,\n tooltip: 1100\n };\n\n private translationSource = new Subject<any>();\n\n translationObserver = this.translationSource.asObservable();\n\n getTranslation(key: string): any {\n return this.translation[key as keyof typeof this.translation];\n }\n\n setTranslation(value: Translation) {\n this.translation = { ...this.translation, ...value };\n this.translationSource.next(this.translation);\n }\n\n setConfig(config: PrimeNGConfigType): void {\n const { csp, ripple, inputStyle, inputVariant, theme, overlayOptions, translation, filterMatchModeOptions } = config || {};\n\n if (csp) this.csp.set(csp);\n if (ripple) this.ripple.set(ripple);\n if (inputStyle) this.inputStyle.set(inputStyle);\n if (inputVariant) this.inputVariant.set(inputVariant);\n if (overlayOptions) this.overlayOptions = overlayOptions;\n if (translation) this.setTranslation(translation);\n if (filterMatchModeOptions) this.filterMatchModeOptions = filterMatchModeOptions;\n\n if (theme)\n this.setThemeConfig({\n theme,\n csp\n } as ThemeConfigType);\n }\n}\n","import { EnvironmentProviders, inject, InjectionToken, makeEnvironmentProviders, provideAppInitializer } from '@angular/core';\nimport { PrimeNG, PrimeNGConfigType } from './primeng';\n\nexport const PRIME_NG_CONFIG = new InjectionToken<PrimeNGConfigType>('PRIME_NG_CONFIG');\n\nexport function providePrimeNG(...features: PrimeNGConfigType[]): EnvironmentProviders {\n const providers = features?.map((feature) => ({\n provide: PRIME_NG_CONFIG,\n useValue: feature,\n multi: false\n }));\n\n const initializer = provideAppInitializer(() => {\n const PrimeNGConfig = inject(PrimeNG);\n features?.forEach((feature) => PrimeNGConfig.setConfig(feature));\n return;\n });\n\n return makeEnvironmentProviders([...providers, initializer]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MAea,aAAa,CAAA;;AAEtB,IAAA,KAAK,GAAG,MAAM,CAAM,SAAS,CAAC;IAE9B,GAAG,GAAG,MAAM,CAAgC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAEjE,cAAc,GAAY,KAAK;AAExB,IAAA,QAAQ,GAAa,MAAM,CAAC,QAAQ,CAAC;AAE5C,IAAA,SAAS,GAAc,MAAM,CAAC,SAAS,CAAC;AAExC,IAAA,WAAA,GAAA;QACI,MAAM,CAAC,MAAK;YACR,YAAY,CAAC,EAAE,CAAC,cAAc,EA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AqB,CAAC,MAAK;AAC3C,QAAA,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC;AACrC,QAAA,QAAQ,EAAE,OAAO,CAAC,CAAC,OAAO,KAAK,aAAa,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAChE;AACJ,IAAA,CAAC,CAAC;IAEF,OAAO,wBAAwB,CAAC,CAAC,GAAG,SAAS,EAAE,WAAW,CAAC,CAAC;AAChE;;ACnBA;;AAEG;;;;"}
@@ -36,10 +36,10 @@ class ConfirmDialogStyle extends BaseStyle {
36
36
  name = 'confirmdialog';
37
37
  theme = theme;
38
38
  classes = classes;
39
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmDialogStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
40
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmDialogStyle });
39
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmDialogStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
40
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmDialogStyle });
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmDialogStyle, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmDialogStyle, decorators: [{
43
43
  type: Injectable
44
44
  }] });
45
45
  /**
@@ -341,6 +341,7 @@ class ConfirmDialog extends BaseComponent {
341
341
  return;
342
342
  }
343
343
  if (confirmation.key === this.key) {
344
+ this.resetConfirmationOptionsToDefault();
344
345
  this.confirmation = confirmation;
345
346
  const keys = Object.keys(confirmation);
346
347
  keys.forEach((key) => {
@@ -433,6 +434,7 @@ class ConfirmDialog extends BaseComponent {
433
434
  if (!this.styleElement) {
434
435
  this.styleElement = this.document.createElement('style');
435
436
  this.styleElement.type = 'text/css';
437
+ setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);
436
438
  this.document.head.appendChild(this.styleElement);
437
439
  let innerHTML = '';
438
440
  for (let breakpoint in this.breakpoints) {
@@ -504,10 +506,10 @@ class ConfirmDialog extends BaseComponent {
504
506
  }
505
507
  }
506
508
  get acceptButtonLabel() {
507
- return this.option('acceptLabel') || this.config.getTranslation(TranslationKeys.ACCEPT);
509
+ return this.option('acceptLabel') || this.getAcceptButtonProps()?.label || this.config.getTranslation(TranslationKeys.ACCEPT);
508
510
  }
509
511
  get rejectButtonLabel() {
510
- return this.option('rejectLabel') || this.config.getTranslation(TranslationKeys.REJECT);
512
+ return this.option('rejectLabel') || this.getRejectButtonProps()?.label || this.config.getTranslation(TranslationKeys.REJECT);
511
513
  }
512
514
  getAcceptButtonProps() {
513
515
  return this.option('acceptButtonProps');
@@ -515,8 +517,43 @@ class ConfirmDialog extends BaseComponent {
515
517
  getRejectButtonProps() {
516
518
  return this.option('rejectButtonProps');
517
519
  }
518
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmDialog, deps: [{ token: i1.ConfirmationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
519
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: ConfirmDialog, isStandalone: true, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: { header: "header", icon: "icon", message: "message", style: "style", styleClass: "styleClass", maskStyleClass: "maskStyleClass", acceptIcon: "acceptIcon", acceptLabel: "acceptLabel", closeAriaLabel: "closeAriaLabel", acceptAriaLabel: "acceptAriaLabel", acceptVisible: ["acceptVisible", "acceptVisible", booleanAttribute], rejectIcon: "rejectIcon", rejectLabel: "rejectLabel", rejectAriaLabel: "rejectAriaLabel", rejectVisible: ["rejectVisible", "rejectVisible", booleanAttribute], acceptButtonStyleClass: "acceptButtonStyleClass", rejectButtonStyleClass: "rejectButtonStyleClass", closeOnEscape: ["closeOnEscape", "closeOnEscape", booleanAttribute], dismissableMask: ["dismissableMask", "dismissableMask", booleanAttribute], blockScroll: ["blockScroll", "blockScroll", booleanAttribute], rtl: ["rtl", "rtl", booleanAttribute], closable: ["closable", "closable", booleanAttribute], appendTo: "appendTo", key: "key", autoZIndex: ["autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], transitionOptions: "transitionOptions", focusTrap: ["focusTrap", "focusTrap", booleanAttribute], defaultFocus: "defaultFocus", breakpoints: "breakpoints", visible: "visible", position: "position", draggable: ["draggable", "draggable", booleanAttribute] }, outputs: { onHide: "onHide" }, providers: [ConfirmDialogStyle], queries: [{ propertyName: "footer", first: true, predicate: Footer, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "rejectIconTemplate", first: true, predicate: ["rejecticon"] }, { propertyName: "acceptIconTemplate", first: true, predicate: ["accepticon"] }, { propertyName: "messageTemplate", first: true, predicate: ["message"] }, { propertyName: "iconTemplate", first: true, predicate: ["icon"] }, { propertyName: "headlessTemplate", first: true, predicate: ["headless"] }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, ngImport: i0, template: `
520
+ resetConfirmationOptionsToDefault() {
521
+ this.header = undefined;
522
+ this.icon = undefined;
523
+ this.message = undefined;
524
+ this.style = undefined;
525
+ this.styleClass = undefined;
526
+ this.maskStyleClass = undefined;
527
+ this.acceptIcon = undefined;
528
+ this.acceptLabel = undefined;
529
+ this.acceptAriaLabel = undefined;
530
+ this.rejectIcon = undefined;
531
+ this.rejectLabel = undefined;
532
+ this.rejectAriaLabel = undefined;
533
+ this.acceptVisible = true;
534
+ this.rejectVisible = true;
535
+ this.acceptButtonStyleClass = undefined;
536
+ this.rejectButtonStyleClass = undefined;
537
+ this.closeOnEscape = true;
538
+ this.dismissableMask = undefined;
539
+ this.blockScroll = true;
540
+ this.rtl = false;
541
+ this.closable = true;
542
+ this.appendTo = 'body';
543
+ this.key = undefined;
544
+ this.autoZIndex = true;
545
+ this.baseZIndex = 0;
546
+ this.transitionOptions = '150ms cubic-bezier(0, 0, 0.2, 1)';
547
+ this.focusTrap = true;
548
+ this.defaultFocus = 'accept';
549
+ this.breakpoints = undefined;
550
+ this.draggable = true;
551
+ this.acceptButtonStyleClass = undefined;
552
+ this.rejectButtonStyleClass = undefined;
553
+ this.confirmation = null;
554
+ }
555
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmDialog, deps: [{ token: i1.ConfirmationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
556
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: ConfirmDialog, isStandalone: true, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: { header: "header", icon: "icon", message: "message", style: "style", styleClass: "styleClass", maskStyleClass: "maskStyleClass", acceptIcon: "acceptIcon", acceptLabel: "acceptLabel", closeAriaLabel: "closeAriaLabel", acceptAriaLabel: "acceptAriaLabel", acceptVisible: ["acceptVisible", "acceptVisible", booleanAttribute], rejectIcon: "rejectIcon", rejectLabel: "rejectLabel", rejectAriaLabel: "rejectAriaLabel", rejectVisible: ["rejectVisible", "rejectVisible", booleanAttribute], acceptButtonStyleClass: "acceptButtonStyleClass", rejectButtonStyleClass: "rejectButtonStyleClass", closeOnEscape: ["closeOnEscape", "closeOnEscape", booleanAttribute], dismissableMask: ["dismissableMask", "dismissableMask", booleanAttribute], blockScroll: ["blockScroll", "blockScroll", booleanAttribute], rtl: ["rtl", "rtl", booleanAttribute], closable: ["closable", "closable", booleanAttribute], appendTo: "appendTo", key: "key", autoZIndex: ["autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], transitionOptions: "transitionOptions", focusTrap: ["focusTrap", "focusTrap", booleanAttribute], defaultFocus: "defaultFocus", breakpoints: "breakpoints", visible: "visible", position: "position", draggable: ["draggable", "draggable", booleanAttribute] }, outputs: { onHide: "onHide" }, providers: [ConfirmDialogStyle], queries: [{ propertyName: "footer", first: true, predicate: Footer, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "rejectIconTemplate", first: true, predicate: ["rejecticon"] }, { propertyName: "acceptIconTemplate", first: true, predicate: ["accepticon"] }, { propertyName: "messageTemplate", first: true, predicate: ["message"] }, { propertyName: "iconTemplate", first: true, predicate: ["icon"] }, { propertyName: "headlessTemplate", first: true, predicate: ["headless"] }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, ngImport: i0, template: `
520
557
  <p-dialog
521
558
  #dialog
522
559
  [visible]="visible"
@@ -533,6 +570,8 @@ class ConfirmDialog extends BaseComponent {
533
570
  [style]="style"
534
571
  [dismissableMask]="dismissableMask"
535
572
  [draggable]="draggable"
573
+ [baseZIndex]="baseZIndex"
574
+ [autoZIndex]="autoZIndex"
536
575
  >
537
576
  @if (headlessTemplate || _headlessTemplate) {
538
577
  <ng-template #headless>
@@ -606,7 +645,7 @@ class ConfirmDialog extends BaseComponent {
606
645
  </p-dialog>
607
646
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "fluid", "buttonProps"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: SharedModule }], animations: [trigger('animation', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
608
647
  }
609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmDialog, decorators: [{
648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmDialog, decorators: [{
610
649
  type: Component,
611
650
  args: [{
612
651
  selector: 'p-confirmDialog, p-confirmdialog, p-confirm-dialog',
@@ -629,6 +668,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
629
668
  [style]="style"
630
669
  [dismissableMask]="dismissableMask"
631
670
  [draggable]="draggable"
671
+ [baseZIndex]="baseZIndex"
672
+ [autoZIndex]="autoZIndex"
632
673
  >
633
674
  @if (headlessTemplate || _headlessTemplate) {
634
675
  <ng-template #headless>
@@ -814,11 +855,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
814
855
  args: [PrimeTemplate]
815
856
  }] } });
816
857
  class ConfirmDialogModule {
817
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
818
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: ConfirmDialogModule, imports: [ConfirmDialog, SharedModule], exports: [ConfirmDialog, SharedModule] });
819
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmDialogModule, imports: [ConfirmDialog, SharedModule, SharedModule] });
858
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
859
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: ConfirmDialogModule, imports: [ConfirmDialog, SharedModule], exports: [ConfirmDialog, SharedModule] });
860
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmDialogModule, imports: [ConfirmDialog, SharedModule, SharedModule] });
820
861
  }
821
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmDialogModule, decorators: [{
862
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmDialogModule, decorators: [{
822
863
  type: NgModule,
823
864
  args: [{
824
865
  imports: [ConfirmDialog, SharedModule],