primeng 19.0.0 → 19.0.2

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 (71) hide show
  1. package/autocomplete/autocomplete.d.ts +1 -1
  2. package/cascadeselect/cascadeselect.d.ts +1 -1
  3. package/dropdown/dropdown.d.ts +2 -1
  4. package/dynamicdialog/dialogservice.d.ts +1 -1
  5. package/dynamicdialog/dynamicdialog-config.d.ts +7 -2
  6. package/dynamicdialog/dynamicdialog.d.ts +5 -4
  7. package/fesm2022/primeng-autocomplete.mjs +5 -5
  8. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  9. package/fesm2022/primeng-breadcrumb.mjs +76 -70
  10. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  11. package/fesm2022/primeng-calendar.mjs +6 -4
  12. package/fesm2022/primeng-calendar.mjs.map +1 -1
  13. package/fesm2022/primeng-carousel.mjs +14 -5
  14. package/fesm2022/primeng-carousel.mjs.map +1 -1
  15. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  16. package/fesm2022/primeng-confirmdialog.mjs +1 -1
  17. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  18. package/fesm2022/primeng-datepicker.mjs +11 -10
  19. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  20. package/fesm2022/primeng-dialog.mjs +1 -0
  21. package/fesm2022/primeng-dialog.mjs.map +1 -1
  22. package/fesm2022/primeng-dock.mjs +90 -80
  23. package/fesm2022/primeng-dock.mjs.map +1 -1
  24. package/fesm2022/primeng-dropdown.mjs +8 -15
  25. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  26. package/fesm2022/primeng-dynamicdialog.mjs +19 -6
  27. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  28. package/fesm2022/primeng-fileupload.mjs +2 -2
  29. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  30. package/fesm2022/primeng-galleria.mjs +229 -86
  31. package/fesm2022/primeng-galleria.mjs.map +1 -1
  32. package/fesm2022/primeng-inputnumber.mjs +1 -1
  33. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  34. package/fesm2022/primeng-inputotp.mjs +17 -8
  35. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  36. package/fesm2022/primeng-listbox.mjs +23 -12
  37. package/fesm2022/primeng-listbox.mjs.map +1 -1
  38. package/fesm2022/primeng-menu.mjs +38 -48
  39. package/fesm2022/primeng-menu.mjs.map +1 -1
  40. package/fesm2022/primeng-multiselect.mjs +48 -24
  41. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  42. package/fesm2022/primeng-paginator.mjs +5 -1
  43. package/fesm2022/primeng-paginator.mjs.map +1 -1
  44. package/fesm2022/primeng-panel.mjs +58 -52
  45. package/fesm2022/primeng-panel.mjs.map +1 -1
  46. package/fesm2022/primeng-popover.mjs +10 -19
  47. package/fesm2022/primeng-popover.mjs.map +1 -1
  48. package/fesm2022/primeng-select.mjs +15 -21
  49. package/fesm2022/primeng-select.mjs.map +1 -1
  50. package/fesm2022/primeng-splitter.mjs +28 -14
  51. package/fesm2022/primeng-splitter.mjs.map +1 -1
  52. package/fesm2022/primeng-steps.mjs +100 -90
  53. package/fesm2022/primeng-steps.mjs.map +1 -1
  54. package/fesm2022/primeng-table.mjs +3 -3
  55. package/fesm2022/primeng-table.mjs.map +1 -1
  56. package/fesm2022/primeng-tag.mjs +0 -1
  57. package/fesm2022/primeng-tag.mjs.map +1 -1
  58. package/fesm2022/primeng-togglebutton.mjs +3 -3
  59. package/fesm2022/primeng-tree.mjs +19 -13
  60. package/fesm2022/primeng-tree.mjs.map +1 -1
  61. package/fesm2022/primeng-treetable.mjs +385 -175
  62. package/fesm2022/primeng-treetable.mjs.map +1 -1
  63. package/galleria/galleria.d.ts +18 -1
  64. package/inputotp/inputotp.d.ts +1 -0
  65. package/package.json +131 -131
  66. package/popover/popover.d.ts +1 -7
  67. package/select/select.d.ts +1 -0
  68. package/splitter/splitter.d.ts +2 -1
  69. package/tag/tag.d.ts +0 -1
  70. package/togglebutton/public_api.d.ts +2 -1
  71. package/treetable/treetable.d.ts +28 -1
@@ -189,98 +189,106 @@ var StepsClasses;
189
189
  })(StepsClasses || (StepsClasses = {}));
190
190
 
191
191
  const _c0 = ["list"];
192
+ const _forTrack0 = ($index, $item) => $item.label;
192
193
  const _c1 = a0 => ({ "p-steps p-component": true, "p-readonly": a0 });
193
194
  const _c2 = (a0, a1) => ({ "p-steps-item-active": a0, "p-disabled": a1 });
194
195
  const _c3 = () => ({ exact: false });
195
- function Steps_li_3_a_2_span_3_Template(rf, ctx) { if (rf & 1) {
196
- i0.ɵɵelementStart(0, "span", 13);
196
+ function Steps_For_4_li_0_a_2_span_3_Template(rf, ctx) { if (rf & 1) {
197
+ i0.ɵɵelementStart(0, "span", 14);
197
198
  i0.ɵɵtext(1);
198
199
  i0.ɵɵelementEnd();
199
200
  } if (rf & 2) {
200
- const item_r3 = i0.ɵɵnextContext(2).$implicit;
201
+ const item_r3 = i0.ɵɵnextContext(3).$implicit;
201
202
  i0.ɵɵadvance();
202
203
  i0.ɵɵtextInterpolate(item_r3.label);
203
204
  } }
204
- function Steps_li_3_a_2_ng_template_4_Template(rf, ctx) { if (rf & 1) {
205
- i0.ɵɵelement(0, "span", 14);
205
+ function Steps_For_4_li_0_a_2_ng_template_4_Template(rf, ctx) { if (rf & 1) {
206
+ i0.ɵɵelement(0, "span", 15);
206
207
  } if (rf & 2) {
207
- const item_r3 = i0.ɵɵnextContext(2).$implicit;
208
+ const item_r3 = i0.ɵɵnextContext(3).$implicit;
208
209
  i0.ɵɵproperty("innerHTML", item_r3.label, i0.ɵɵsanitizeHtml);
209
210
  } }
210
- function Steps_li_3_a_2_Template(rf, ctx) { if (rf & 1) {
211
+ function Steps_For_4_li_0_a_2_Template(rf, ctx) { if (rf & 1) {
211
212
  const _r1 = i0.ɵɵgetCurrentView();
212
- i0.ɵɵelementStart(0, "a", 10);
213
- i0.ɵɵlistener("click", function Steps_li_3_a_2_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); const item_r3 = ctx_r1.$implicit; const i_r4 = ctx_r1.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onItemClick($event, item_r3, i_r4)); })("keydown", function Steps_li_3_a_2_Template_a_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); const item_r3 = ctx_r1.$implicit; const i_r4 = ctx_r1.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onItemKeydown($event, item_r3, i_r4)); });
214
- i0.ɵɵelementStart(1, "span", 11);
213
+ i0.ɵɵelementStart(0, "a", 11);
214
+ i0.ɵɵlistener("click", function Steps_For_4_li_0_a_2_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); const item_r3 = ctx_r1.$implicit; const ɵ$index_5_r4 = ctx_r1.$index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onItemClick($event, item_r3, ɵ$index_5_r4)); })("keydown", function Steps_For_4_li_0_a_2_Template_a_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); const item_r3 = ctx_r1.$implicit; const ɵ$index_5_r4 = ctx_r1.$index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onItemKeydown($event, item_r3, ɵ$index_5_r4)); });
215
+ i0.ɵɵelementStart(1, "span", 12);
215
216
  i0.ɵɵtext(2);
216
217
  i0.ɵɵelementEnd();
217
- i0.ɵɵtemplate(3, Steps_li_3_a_2_span_3_Template, 2, 1, "span", 12)(4, Steps_li_3_a_2_ng_template_4_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
218
+ i0.ɵɵtemplate(3, Steps_For_4_li_0_a_2_span_3_Template, 2, 1, "span", 13)(4, Steps_For_4_li_0_a_2_ng_template_4_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
218
219
  i0.ɵɵelementEnd();
219
220
  } if (rf & 2) {
220
221
  const htmlLabel_r6 = i0.ɵɵreference(5);
221
- const ctx_r1 = i0.ɵɵnextContext();
222
+ const ctx_r1 = i0.ɵɵnextContext(2);
222
223
  const item_r3 = ctx_r1.$implicit;
223
- const i_r4 = ctx_r1.index;
224
+ const ɵ$index_5_r4 = ctx_r1.$index;
224
225
  const ctx_r4 = i0.ɵɵnextContext();
225
226
  i0.ɵɵproperty("routerLink", item_r3.routerLink)("queryParams", item_r3.queryParams)("routerLinkActiveOptions", item_r3.routerLinkActiveOptions || i0.ɵɵpureFunction0(17, _c3))("target", item_r3.target)("fragment", item_r3.fragment)("queryParamsHandling", item_r3.queryParamsHandling)("preserveFragment", item_r3.preserveFragment)("skipLocationChange", item_r3.skipLocationChange)("replaceUrl", item_r3.replaceUrl)("state", item_r3.state);
226
- i0.ɵɵattribute("tabindex", ctx_r4.getItemTabIndex(item_r3, i_r4))("aria-expanded", i_r4 === ctx_r4.activeIndex)("aria-disabled", item_r3.disabled || ctx_r4.readonly && i_r4 !== ctx_r4.activeIndex)("ariaCurrentWhenActive", ctx_r4.exact ? "step" : undefined);
227
+ i0.ɵɵattribute("tabindex", ctx_r4.getItemTabIndex(item_r3, ɵ$index_5_r4))("aria-expanded", ɵ$index_5_r4 === ctx_r4.activeIndex)("aria-disabled", item_r3.disabled || ctx_r4.readonly && ɵ$index_5_r4 !== ctx_r4.activeIndex)("ariaCurrentWhenActive", ctx_r4.exact ? "step" : undefined);
227
228
  i0.ɵɵadvance(2);
228
- i0.ɵɵtextInterpolate(i_r4 + 1);
229
+ i0.ɵɵtextInterpolate(ɵ$index_5_r4 + 1);
229
230
  i0.ɵɵadvance();
230
231
  i0.ɵɵproperty("ngIf", item_r3.escape !== false)("ngIfElse", htmlLabel_r6);
231
232
  } }
232
- function Steps_li_3_ng_template_3_span_3_Template(rf, ctx) { if (rf & 1) {
233
- i0.ɵɵelementStart(0, "span", 13);
233
+ function Steps_For_4_li_0_ng_template_3_span_3_Template(rf, ctx) { if (rf & 1) {
234
+ i0.ɵɵelementStart(0, "span", 14);
234
235
  i0.ɵɵtext(1);
235
236
  i0.ɵɵelementEnd();
236
237
  } if (rf & 2) {
237
- const item_r3 = i0.ɵɵnextContext(2).$implicit;
238
+ const item_r3 = i0.ɵɵnextContext(3).$implicit;
238
239
  i0.ɵɵadvance();
239
240
  i0.ɵɵtextInterpolate(item_r3.label);
240
241
  } }
241
- function Steps_li_3_ng_template_3_ng_template_4_Template(rf, ctx) { if (rf & 1) {
242
- i0.ɵɵelement(0, "span", 14);
242
+ function Steps_For_4_li_0_ng_template_3_ng_template_4_Template(rf, ctx) { if (rf & 1) {
243
+ i0.ɵɵelement(0, "span", 15);
243
244
  } if (rf & 2) {
244
- const item_r3 = i0.ɵɵnextContext(2).$implicit;
245
+ const item_r3 = i0.ɵɵnextContext(3).$implicit;
245
246
  i0.ɵɵproperty("innerHTML", item_r3.label, i0.ɵɵsanitizeHtml);
246
247
  } }
247
- function Steps_li_3_ng_template_3_Template(rf, ctx) { if (rf & 1) {
248
+ function Steps_For_4_li_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
248
249
  const _r7 = i0.ɵɵgetCurrentView();
249
- i0.ɵɵelementStart(0, "a", 15);
250
- i0.ɵɵlistener("click", function Steps_li_3_ng_template_3_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); const item_r3 = ctx_r1.$implicit; const i_r4 = ctx_r1.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onItemClick($event, item_r3, i_r4)); })("keydown", function Steps_li_3_ng_template_3_Template_a_keydown_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); const item_r3 = ctx_r1.$implicit; const i_r4 = ctx_r1.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onItemKeydown($event, item_r3, i_r4)); });
251
- i0.ɵɵelementStart(1, "span", 11);
250
+ i0.ɵɵelementStart(0, "a", 16);
251
+ i0.ɵɵlistener("click", function Steps_For_4_li_0_ng_template_3_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); const item_r3 = ctx_r1.$implicit; const ɵ$index_5_r4 = ctx_r1.$index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onItemClick($event, item_r3, ɵ$index_5_r4)); })("keydown", function Steps_For_4_li_0_ng_template_3_Template_a_keydown_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); const item_r3 = ctx_r1.$implicit; const ɵ$index_5_r4 = ctx_r1.$index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onItemKeydown($event, item_r3, ɵ$index_5_r4)); });
252
+ i0.ɵɵelementStart(1, "span", 12);
252
253
  i0.ɵɵtext(2);
253
254
  i0.ɵɵelementEnd();
254
- i0.ɵɵtemplate(3, Steps_li_3_ng_template_3_span_3_Template, 2, 1, "span", 12)(4, Steps_li_3_ng_template_3_ng_template_4_Template, 1, 1, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
255
+ i0.ɵɵtemplate(3, Steps_For_4_li_0_ng_template_3_span_3_Template, 2, 1, "span", 13)(4, Steps_For_4_li_0_ng_template_3_ng_template_4_Template, 1, 1, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
255
256
  i0.ɵɵelementEnd();
256
257
  } if (rf & 2) {
257
258
  const htmlRouteLabel_r8 = i0.ɵɵreference(5);
258
- const ctx_r1 = i0.ɵɵnextContext();
259
+ const ctx_r1 = i0.ɵɵnextContext(2);
259
260
  const item_r3 = ctx_r1.$implicit;
260
- const i_r4 = ctx_r1.index;
261
+ const ɵ$index_5_r4 = ctx_r1.$index;
261
262
  const ctx_r4 = i0.ɵɵnextContext();
262
263
  i0.ɵɵproperty("target", item_r3.target);
263
- i0.ɵɵattribute("href", item_r3.url, i0.ɵɵsanitizeUrl)("tabindex", ctx_r4.getItemTabIndex(item_r3, i_r4))("aria-expanded", i_r4 === ctx_r4.activeIndex)("aria-disabled", item_r3.disabled || ctx_r4.readonly && i_r4 !== ctx_r4.activeIndex)("ariaCurrentWhenActive", ctx_r4.exact && (!item_r3.disabled || ctx_r4.readonly) ? "step" : undefined);
264
+ i0.ɵɵattribute("href", item_r3.url, i0.ɵɵsanitizeUrl)("tabindex", ctx_r4.getItemTabIndex(item_r3, ɵ$index_5_r4))("aria-expanded", ɵ$index_5_r4 === ctx_r4.activeIndex)("aria-disabled", item_r3.disabled || ctx_r4.readonly && ɵ$index_5_r4 !== ctx_r4.activeIndex)("ariaCurrentWhenActive", ctx_r4.exact && (!item_r3.disabled || ctx_r4.readonly) ? "step" : undefined);
264
265
  i0.ɵɵadvance(2);
265
- i0.ɵɵtextInterpolate(i_r4 + 1);
266
+ i0.ɵɵtextInterpolate(ɵ$index_5_r4 + 1);
266
267
  i0.ɵɵadvance();
267
268
  i0.ɵɵproperty("ngIf", item_r3.escape !== false)("ngIfElse", htmlRouteLabel_r8);
268
269
  } }
269
- function Steps_li_3_Template(rf, ctx) { if (rf & 1) {
270
- i0.ɵɵelementStart(0, "li", 8, 1);
271
- i0.ɵɵtemplate(2, Steps_li_3_a_2_Template, 6, 18, "a", 9)(3, Steps_li_3_ng_template_3_Template, 6, 9, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
270
+ function Steps_For_4_li_0_Template(rf, ctx) { if (rf & 1) {
271
+ i0.ɵɵelementStart(0, "li", 9, 1);
272
+ i0.ɵɵtemplate(2, Steps_For_4_li_0_a_2_Template, 6, 18, "a", 10)(3, Steps_For_4_li_0_ng_template_3_Template, 6, 9, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
272
273
  i0.ɵɵelementEnd();
273
274
  } if (rf & 2) {
274
- const item_r3 = ctx.$implicit;
275
- const i_r4 = ctx.index;
276
275
  const elseBlock_r9 = i0.ɵɵreference(4);
276
+ const ctx_r1 = i0.ɵɵnextContext();
277
+ const item_r3 = ctx_r1.$implicit;
278
+ const ɵ$index_5_r4 = ctx_r1.$index;
277
279
  const ctx_r4 = i0.ɵɵnextContext();
278
280
  i0.ɵɵclassMap(item_r3.styleClass);
279
- i0.ɵɵproperty("ngStyle", item_r3.style)("tooltipOptions", item_r3.tooltipOptions)("ngClass", i0.ɵɵpureFunction2(10, _c2, ctx_r4.isActive(item_r3, i_r4), item_r3.disabled || ctx_r4.readonly && !ctx_r4.isActive(item_r3, i_r4)));
280
- i0.ɵɵattribute("aria-current", ctx_r4.isActive(item_r3, i_r4) ? "step" : undefined)("id", item_r3.id)("data-pc-section", "menuitem");
281
+ i0.ɵɵproperty("ngStyle", item_r3.style)("tooltipOptions", item_r3.tooltipOptions)("ngClass", i0.ɵɵpureFunction2(10, _c2, ctx_r4.isActive(item_r3, ɵ$index_5_r4), item_r3.disabled || ctx_r4.readonly && !ctx_r4.isActive(item_r3, ɵ$index_5_r4)));
282
+ i0.ɵɵattribute("aria-current", ctx_r4.isActive(item_r3, ɵ$index_5_r4) ? "step" : undefined)("id", item_r3.id)("data-pc-section", "menuitem");
281
283
  i0.ɵɵadvance(2);
282
284
  i0.ɵɵproperty("ngIf", ctx_r4.isClickableRouterLink(item_r3))("ngIfElse", elseBlock_r9);
283
285
  } }
286
+ function Steps_For_4_Template(rf, ctx) { if (rf & 1) {
287
+ i0.ɵɵtemplate(0, Steps_For_4_li_0_Template, 5, 13, "li", 8);
288
+ } if (rf & 2) {
289
+ const item_r3 = ctx.$implicit;
290
+ i0.ɵɵproperty("ngIf", item_r3.visible !== false);
291
+ } }
284
292
  /**
285
293
  * Steps components is an indicator for the steps in a wizard workflow.
286
294
  * @group Components
@@ -455,19 +463,19 @@ class Steps extends BaseComponent {
455
463
  } if (rf & 2) {
456
464
  let _t;
457
465
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listViewChild = _t.first);
458
- } }, inputs: { activeIndex: [2, "activeIndex", "activeIndex", numberAttribute], model: "model", readonly: [2, "readonly", "readonly", booleanAttribute], style: "style", styleClass: "styleClass", exact: [2, "exact", "exact", booleanAttribute] }, outputs: { activeIndexChange: "activeIndexChange" }, features: [i0.ɵɵProvidersFeature([StepsStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 9, consts: [["list", ""], ["menuitem", ""], ["elseBlock", ""], ["htmlLabel", ""], ["htmlRouteLabel", ""], [3, "ngClass", "ngStyle"], [1, "p-steps-list"], ["class", "p-steps-item", "pTooltip", "", 3, "ngStyle", "class", "tooltipOptions", "ngClass", 4, "ngFor", "ngForOf"], ["pTooltip", "", 1, "p-steps-item", 3, "ngStyle", "tooltipOptions", "ngClass"], ["role", "link", "class", "p-steps-item-link", 3, "routerLink", "queryParams", "routerLinkActiveOptions", "target", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "click", "keydown", 4, "ngIf", "ngIfElse"], ["role", "link", 1, "p-steps-item-link", 3, "click", "keydown", "routerLink", "queryParams", "routerLinkActiveOptions", "target", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state"], [1, "p-steps-item-number"], ["class", "p-steps-item-label", 4, "ngIf", "ngIfElse"], [1, "p-steps-item-label"], [1, "p-steps-item-label", 3, "innerHTML"], ["role", "link", 1, "p-steps-item-link", 3, "click", "keydown", "target"]], template: function Steps_Template(rf, ctx) { if (rf & 1) {
466
+ } }, inputs: { activeIndex: [2, "activeIndex", "activeIndex", numberAttribute], model: "model", readonly: [2, "readonly", "readonly", booleanAttribute], style: "style", styleClass: "styleClass", exact: [2, "exact", "exact", booleanAttribute] }, outputs: { activeIndexChange: "activeIndexChange" }, features: [i0.ɵɵProvidersFeature([StepsStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 8, consts: [["list", ""], ["menuitem", ""], ["elseBlock", ""], ["htmlLabel", ""], ["htmlRouteLabel", ""], [3, "ngClass", "ngStyle"], [1, "p-steps-list"], ["pTooltip", "", 1, "p-steps-item", 3, "ngStyle", "class", "tooltipOptions", "ngClass"], ["class", "p-steps-item", "pTooltip", "", 3, "ngStyle", "class", "tooltipOptions", "ngClass", 4, "ngIf"], ["pTooltip", "", 1, "p-steps-item", 3, "ngStyle", "tooltipOptions", "ngClass"], ["role", "link", "class", "p-steps-item-link", 3, "routerLink", "queryParams", "routerLinkActiveOptions", "target", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "click", "keydown", 4, "ngIf", "ngIfElse"], ["role", "link", 1, "p-steps-item-link", 3, "click", "keydown", "routerLink", "queryParams", "routerLinkActiveOptions", "target", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state"], [1, "p-steps-item-number"], ["class", "p-steps-item-label", 4, "ngIf", "ngIfElse"], [1, "p-steps-item-label"], [1, "p-steps-item-label", 3, "innerHTML"], ["role", "link", 1, "p-steps-item-link", 3, "click", "keydown", "target"]], template: function Steps_Template(rf, ctx) { if (rf & 1) {
459
467
  i0.ɵɵelementStart(0, "nav", 5)(1, "ul", 6, 0);
460
- i0.ɵɵtemplate(3, Steps_li_3_Template, 5, 13, "li", 7);
468
+ i0.ɵɵrepeaterCreate(3, Steps_For_4_Template, 1, 1, "li", 7, _forTrack0);
461
469
  i0.ɵɵelementEnd()();
462
470
  } if (rf & 2) {
463
471
  i0.ɵɵclassMap(ctx.styleClass);
464
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1, ctx.readonly))("ngStyle", ctx.style);
472
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c1, ctx.readonly))("ngStyle", ctx.style);
465
473
  i0.ɵɵattribute("data-pc-name", "steps");
466
474
  i0.ɵɵadvance();
467
475
  i0.ɵɵattribute("data-pc-section", "menu");
468
476
  i0.ɵɵadvance(2);
469
- i0.ɵɵproperty("ngForOf", ctx.model);
470
- } }, dependencies: [CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgStyle, RouterModule, i2.RouterLink, TooltipModule, i3.Tooltip, SharedModule], encapsulation: 2, changeDetection: 0 });
477
+ i0.ɵɵrepeater(ctx.model);
478
+ } }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgStyle, RouterModule, i2.RouterLink, TooltipModule, i3.Tooltip, SharedModule], encapsulation: 2, changeDetection: 0 });
471
479
  }
472
480
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Steps, [{
473
481
  type: Component,
@@ -478,51 +486,29 @@ class Steps extends BaseComponent {
478
486
  template: `
479
487
  <nav [ngClass]="{ 'p-steps p-component': true, 'p-readonly': readonly }" [ngStyle]="style" [class]="styleClass" [attr.data-pc-name]="'steps'">
480
488
  <ul #list [attr.data-pc-section]="'menu'" class="p-steps-list">
481
- <li
482
- *ngFor="let item of model; let i = index"
483
- class="p-steps-item"
484
- #menuitem
485
- [ngStyle]="item.style"
486
- [class]="item.styleClass"
487
- [attr.aria-current]="isActive(item, i) ? 'step' : undefined"
488
- [attr.id]="item.id"
489
- pTooltip
490
- [tooltipOptions]="item.tooltipOptions"
491
- [ngClass]="{
492
- 'p-steps-item-active': isActive(item, i),
493
- 'p-disabled': item.disabled || (readonly && !isActive(item, i))
494
- }"
495
- [attr.data-pc-section]="'menuitem'"
496
- >
497
- <a
498
- role="link"
499
- *ngIf="isClickableRouterLink(item); else elseBlock"
500
- [routerLink]="item.routerLink"
501
- [queryParams]="item.queryParams"
502
- [routerLinkActiveOptions]="item.routerLinkActiveOptions || { exact: false }"
503
- class="p-steps-item-link"
504
- (click)="onItemClick($event, item, i)"
505
- (keydown)="onItemKeydown($event, item, i)"
506
- [target]="item.target"
507
- [attr.tabindex]="getItemTabIndex(item, i)"
508
- [attr.aria-expanded]="i === activeIndex"
509
- [attr.aria-disabled]="item.disabled || (readonly && i !== activeIndex)"
510
- [fragment]="item.fragment"
511
- [queryParamsHandling]="item.queryParamsHandling"
512
- [preserveFragment]="item.preserveFragment"
513
- [skipLocationChange]="item.skipLocationChange"
514
- [replaceUrl]="item.replaceUrl"
515
- [state]="item.state"
516
- [attr.ariaCurrentWhenActive]="exact ? 'step' : undefined"
489
+ @for (item of model; track item.label; let i = $index) {
490
+ <li
491
+ *ngIf="item.visible !== false"
492
+ class="p-steps-item"
493
+ #menuitem
494
+ [ngStyle]="item.style"
495
+ [class]="item.styleClass"
496
+ [attr.aria-current]="isActive(item, i) ? 'step' : undefined"
497
+ [attr.id]="item.id"
498
+ pTooltip
499
+ [tooltipOptions]="item.tooltipOptions"
500
+ [ngClass]="{
501
+ 'p-steps-item-active': isActive(item, i),
502
+ 'p-disabled': item.disabled || (readonly && !isActive(item, i))
503
+ }"
504
+ [attr.data-pc-section]="'menuitem'"
517
505
  >
518
- <span class="p-steps-item-number">{{ i + 1 }}</span>
519
- <span class="p-steps-item-label" *ngIf="item.escape !== false; else htmlLabel">{{ item.label }}</span>
520
- <ng-template #htmlLabel><span class="p-steps-item-label" [innerHTML]="item.label"></span></ng-template>
521
- </a>
522
- <ng-template #elseBlock>
523
506
  <a
524
507
  role="link"
525
- [attr.href]="item.url"
508
+ *ngIf="isClickableRouterLink(item); else elseBlock"
509
+ [routerLink]="item.routerLink"
510
+ [queryParams]="item.queryParams"
511
+ [routerLinkActiveOptions]="item.routerLinkActiveOptions || { exact: false }"
526
512
  class="p-steps-item-link"
527
513
  (click)="onItemClick($event, item, i)"
528
514
  (keydown)="onItemKeydown($event, item, i)"
@@ -530,14 +516,38 @@ class Steps extends BaseComponent {
530
516
  [attr.tabindex]="getItemTabIndex(item, i)"
531
517
  [attr.aria-expanded]="i === activeIndex"
532
518
  [attr.aria-disabled]="item.disabled || (readonly && i !== activeIndex)"
533
- [attr.ariaCurrentWhenActive]="exact && (!item.disabled || readonly) ? 'step' : undefined"
519
+ [fragment]="item.fragment"
520
+ [queryParamsHandling]="item.queryParamsHandling"
521
+ [preserveFragment]="item.preserveFragment"
522
+ [skipLocationChange]="item.skipLocationChange"
523
+ [replaceUrl]="item.replaceUrl"
524
+ [state]="item.state"
525
+ [attr.ariaCurrentWhenActive]="exact ? 'step' : undefined"
534
526
  >
535
527
  <span class="p-steps-item-number">{{ i + 1 }}</span>
536
- <span class="p-steps-item-label" *ngIf="item.escape !== false; else htmlRouteLabel">{{ item.label }}</span>
537
- <ng-template #htmlRouteLabel><span class="p-steps-item-label" [innerHTML]="item.label"></span></ng-template>
528
+ <span class="p-steps-item-label" *ngIf="item.escape !== false; else htmlLabel">{{ item.label }}</span>
529
+ <ng-template #htmlLabel><span class="p-steps-item-label" [innerHTML]="item.label"></span></ng-template>
538
530
  </a>
539
- </ng-template>
540
- </li>
531
+ <ng-template #elseBlock>
532
+ <a
533
+ role="link"
534
+ [attr.href]="item.url"
535
+ class="p-steps-item-link"
536
+ (click)="onItemClick($event, item, i)"
537
+ (keydown)="onItemKeydown($event, item, i)"
538
+ [target]="item.target"
539
+ [attr.tabindex]="getItemTabIndex(item, i)"
540
+ [attr.aria-expanded]="i === activeIndex"
541
+ [attr.aria-disabled]="item.disabled || (readonly && i !== activeIndex)"
542
+ [attr.ariaCurrentWhenActive]="exact && (!item.disabled || readonly) ? 'step' : undefined"
543
+ >
544
+ <span class="p-steps-item-number">{{ i + 1 }}</span>
545
+ <span class="p-steps-item-label" *ngIf="item.escape !== false; else htmlRouteLabel">{{ item.label }}</span>
546
+ <ng-template #htmlRouteLabel><span class="p-steps-item-label" [innerHTML]="item.label"></span></ng-template>
547
+ </a>
548
+ </ng-template>
549
+ </li>
550
+ }
541
551
  </ul>
542
552
  </nav>
543
553
  `,
@@ -566,7 +576,7 @@ class Steps extends BaseComponent {
566
576
  type: ViewChild,
567
577
  args: ['list', { static: false }]
568
578
  }] }); })();
569
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Steps, { className: "Steps", filePath: "steps.ts", lineNumber: 90 }); })();
579
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Steps, { className: "Steps", filePath: "steps.ts", lineNumber: 92 }); })();
570
580
  class StepsModule {
571
581
  static ɵfac = function StepsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StepsModule)(); };
572
582
  static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: StepsModule });
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-steps.mjs","sources":["../../src/steps/style/stepsstyle.ts","../../src/steps/steps.ts","../../src/steps/primeng-steps.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-steps {\n position: relative;\n}\n\n.p-steps-list {\n padding: 0;\n margin: 0;\n list-style-type: none;\n display: flex;\n}\n\n.p-steps-item {\n position: relative;\n display: flex;\n justify-content: center;\n flex: 1 1 auto;\n}\n\n.p-steps-item.p-disabled,\n.p-steps-item.p-disabled * {\n opacity: 1;\n pointer-events: auto;\n user-select: auto;\n cursor: auto;\n}\n\n.p-steps-item:before {\n content: \" \";\n border-top: 2px solid ${dt('steps.separator.background')};\n width: 100%;\n top: 50%;\n left: 0;\n display: block;\n position: absolute;\n margin-top: -1rem;\n margin-top: calc(-1rem + 1px);\n}\n\n.p-steps-item:first-child::before {\n width: calc(50% + 1rem);\n transform: translateX(100%);\n}\n\n.p-steps-item:last-child::before {\n width: 50%;\n}\n\n.p-steps-item-link {\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n overflow: hidden;\n text-decoration: none;\n transition: outline-color ${dt('steps.transition.duration')}, box-shadow ${dt('steps.transition.duration')};\n border-radius: ${dt('steps.item.link.border.radius')};\n outline-color: transparent;\n gap: ${dt('steps.item.link.gap')};\n}\n\n.p-steps-item-link:not(.p-disabled):focus-visible {\n box-shadow: ${dt('steps.item.link.focus.ring.shadow')};\n outline: ${dt('steps.item.link.focus.ring.width')} ${dt('steps.item.link.focus.ring.style')} ${dt('steps.item.link.focus.ring.color')};\n outline-offset: ${dt('steps.item.link.focus.ring.offset')};\n}\n\n.p-steps-item-label {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n color: ${dt('steps.item.label.color')};\n display: block;\n font-weight: ${dt('steps.item.label.font.weight')};\n}\n\n.p-steps-item-number {\n display: flex;\n align-items: center;\n justify-content: center;\n color: ${dt('steps.item.number.color')};\n border: 2px solid ${dt('steps.item.number.border.color')};\n background: ${dt('steps.item.number.background')};\n min-width: ${dt('steps.item.number.size')};\n height: ${dt('steps.item.number.size')};\n line-height: ${dt('steps.item.number.size')};\n font-size: ${dt('steps.item.number.font.size')};\n z-index: 1;\n border-radius: ${dt('steps.item.number.border.radius')};\n position: relative;\n font-weight: ${dt('steps.item.number.font.weight')};\n}\n\n.p-steps-item-number::after {\n content: \" \";\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: ${dt('steps.item.number.border.radius')};\n box-shadow: ${dt('steps.item.number.shadow')};\n}\n\n.p-steps:not(.p-readonly) .p-steps-item {\n cursor: pointer;\n}\n\n.p-steps-item-active .p-steps-item-number {\n background: ${dt('steps.item.number.active.background')};\n border-color: ${dt('steps.item.number.active.border.color')};\n color: ${dt('steps.item.number.active.color')};\n}\n\n.p-steps-item-active .p-steps-item-label {\n color: ${dt('steps.item.label.active.color')};\n}\n`;\n\nconst classes = {\n root: ({ props }) => ['p-steps p-component', { 'p-readonly': props.readonly }],\n list: 'p-steps-list',\n item: ({ instance, item, index }) => [\n 'p-steps-item',\n {\n 'p-steps-item-active': instance.isActive(index),\n 'p-disabled': instance.isItemDisabled(item, index)\n }\n ],\n itemLink: 'p-steps-item-link',\n itemNumber: 'p-steps-item-number',\n itemLabel: 'p-steps-item-label'\n};\n@Injectable()\nexport class StepsStyle extends BaseStyle {\n name = 'steps';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * Steps components is an indicator for the steps in a wizard workflow. Example below uses nested routes with Steps.\n *\n * [Live Demo](https://www.primeng.org/steps/)\n *\n * @module stepsstyle\n *\n */\nexport enum StepsClasses {\n /**\n * Class name of the root element\n */\n root = 'p-steps',\n /**\n * Class name of the list element\n */\n list = 'p-steps-list',\n /**\n * Class name of the item element\n */\n item = 'p-steps-item',\n /**\n * Class name of the item link element\n */\n itemLink = 'p-steps-item-link',\n /**\n * Class name of the item number element\n */\n itemNumber = 'p-steps-item-number',\n /**\n * Class name of the item label element\n */\n itemLabel = 'p-steps-item-label'\n}\n\nexport interface StepsStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, inject, Input, NgModule, numberAttribute, OnDestroy, OnInit, Output, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { ActivatedRoute, Router, RouterModule } from '@angular/router';\nimport { find, findSingle } from '@primeuix/utils';\nimport { MenuItem, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { TooltipModule } from 'primeng/tooltip';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { Subscription } from 'rxjs';\nimport { StepsStyle } from './style/stepsstyle';\n\n/**\n * Steps components is an indicator for the steps in a wizard workflow.\n * @group Components\n */\n@Component({\n selector: 'p-steps',\n standalone: true,\n imports: [CommonModule, RouterModule, TooltipModule, SharedModule],\n template: `\n <nav [ngClass]=\"{ 'p-steps p-component': true, 'p-readonly': readonly }\" [ngStyle]=\"style\" [class]=\"styleClass\" [attr.data-pc-name]=\"'steps'\">\n <ul #list [attr.data-pc-section]=\"'menu'\" class=\"p-steps-list\">\n <li\n *ngFor=\"let item of model; let i = index\"\n class=\"p-steps-item\"\n #menuitem\n [ngStyle]=\"item.style\"\n [class]=\"item.styleClass\"\n [attr.aria-current]=\"isActive(item, i) ? 'step' : undefined\"\n [attr.id]=\"item.id\"\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [ngClass]=\"{\n 'p-steps-item-active': isActive(item, i),\n 'p-disabled': item.disabled || (readonly && !isActive(item, i))\n }\"\n [attr.data-pc-section]=\"'menuitem'\"\n >\n <a\n role=\"link\"\n *ngIf=\"isClickableRouterLink(item); else elseBlock\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n class=\"p-steps-item-link\"\n (click)=\"onItemClick($event, item, i)\"\n (keydown)=\"onItemKeydown($event, item, i)\"\n [target]=\"item.target\"\n [attr.tabindex]=\"getItemTabIndex(item, i)\"\n [attr.aria-expanded]=\"i === activeIndex\"\n [attr.aria-disabled]=\"item.disabled || (readonly && i !== activeIndex)\"\n [fragment]=\"item.fragment\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [preserveFragment]=\"item.preserveFragment\"\n [skipLocationChange]=\"item.skipLocationChange\"\n [replaceUrl]=\"item.replaceUrl\"\n [state]=\"item.state\"\n [attr.ariaCurrentWhenActive]=\"exact ? 'step' : undefined\"\n >\n <span class=\"p-steps-item-number\">{{ i + 1 }}</span>\n <span class=\"p-steps-item-label\" *ngIf=\"item.escape !== false; else htmlLabel\">{{ item.label }}</span>\n <ng-template #htmlLabel><span class=\"p-steps-item-label\" [innerHTML]=\"item.label\"></span></ng-template>\n </a>\n <ng-template #elseBlock>\n <a\n role=\"link\"\n [attr.href]=\"item.url\"\n class=\"p-steps-item-link\"\n (click)=\"onItemClick($event, item, i)\"\n (keydown)=\"onItemKeydown($event, item, i)\"\n [target]=\"item.target\"\n [attr.tabindex]=\"getItemTabIndex(item, i)\"\n [attr.aria-expanded]=\"i === activeIndex\"\n [attr.aria-disabled]=\"item.disabled || (readonly && i !== activeIndex)\"\n [attr.ariaCurrentWhenActive]=\"exact && (!item.disabled || readonly) ? 'step' : undefined\"\n >\n <span class=\"p-steps-item-number\">{{ i + 1 }}</span>\n <span class=\"p-steps-item-label\" *ngIf=\"item.escape !== false; else htmlRouteLabel\">{{ item.label }}</span>\n <ng-template #htmlRouteLabel><span class=\"p-steps-item-label\" [innerHTML]=\"item.label\"></span></ng-template>\n </a>\n </ng-template>\n </li>\n </ul>\n </nav>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [StepsStyle]\n})\nexport class Steps extends BaseComponent implements OnInit, OnDestroy {\n /**\n * Index of the active item.\n * @group Props\n */\n @Input({ transform: numberAttribute }) activeIndex: number = 0;\n /**\n * An array of menu items.\n * @group Props\n */\n @Input() model: MenuItem[] | undefined;\n /**\n * Whether the items are clickable or not.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) readonly: boolean = true;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Whether to apply 'router-link-active-exact' class if route exactly matches the item path.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) exact: boolean = true;\n /**\n * Callback to invoke when the new step is selected.\n * @param {number} number - current index.\n * @group Emits\n */\n @Output() activeIndexChange: EventEmitter<number> = new EventEmitter<number>();\n\n @ViewChild('list', { static: false }) listViewChild: Nullable<ElementRef>;\n\n router = inject(Router);\n\n route = inject(ActivatedRoute);\n\n _componentStyle = inject(StepsStyle);\n\n subscription: Subscription | undefined;\n\n ngOnInit() {\n super.ngOnInit();\n this.subscription = this.router.events.subscribe(() => this.cd.markForCheck());\n }\n\n onItemClick(event: Event, item: MenuItem, i: number) {\n if (this.readonly || item.disabled) {\n event.preventDefault();\n return;\n }\n\n this.activeIndexChange.emit(i);\n\n if (!item.url && !item.routerLink) {\n event.preventDefault();\n }\n\n if (item.command) {\n item.command({\n originalEvent: event,\n item: item,\n index: i\n });\n }\n }\n\n onItemKeydown(event: KeyboardEvent, item: MenuItem, i: number) {\n switch (event.code) {\n case 'ArrowRight': {\n this.navigateToNextItem(event.target);\n event.preventDefault();\n break;\n }\n\n case 'ArrowLeft': {\n this.navigateToPrevItem(event.target);\n event.preventDefault();\n break;\n }\n\n case 'Home': {\n this.navigateToFirstItem(event.target);\n event.preventDefault();\n break;\n }\n\n case 'End': {\n this.navigateToLastItem(event.target);\n event.preventDefault();\n break;\n }\n\n case 'Tab':\n if (i !== this.activeIndex) {\n const siblings = <any>find(this.listViewChild.nativeElement, '[data-pc-section=\"menuitem\"]');\n siblings[i].children[0].tabIndex = '-1';\n siblings[this.activeIndex].children[0].tabIndex = '0';\n }\n break;\n\n case 'Enter':\n case 'Space': {\n this.onItemClick(event, item, i);\n event.preventDefault();\n break;\n }\n\n default:\n break;\n }\n }\n\n navigateToNextItem(target) {\n const nextItem = this.findNextItem(target);\n\n nextItem && this.setFocusToMenuitem(target, nextItem);\n }\n navigateToPrevItem(target) {\n const prevItem = this.findPrevItem(target);\n\n prevItem && this.setFocusToMenuitem(target, prevItem);\n }\n navigateToFirstItem(target) {\n const firstItem = this.findFirstItem();\n\n firstItem && this.setFocusToMenuitem(target, firstItem);\n }\n navigateToLastItem(target) {\n const lastItem = this.findLastItem();\n\n lastItem && this.setFocusToMenuitem(target, lastItem);\n }\n findNextItem(item) {\n const nextItem = item.parentElement.nextElementSibling;\n\n return nextItem ? nextItem.children[0] : null;\n }\n findPrevItem(item) {\n const prevItem = item.parentElement.previousElementSibling;\n\n return prevItem ? prevItem.children[0] : null;\n }\n findFirstItem() {\n const firstSibling = findSingle(this.listViewChild.nativeElement, '[data-pc-section=\"menuitem\"]');\n\n return firstSibling ? firstSibling.children[0] : null;\n }\n findLastItem() {\n const siblings = find(this.listViewChild.nativeElement, '[data-pc-section=\"menuitem\"]');\n\n return siblings ? siblings[siblings.length - 1].children[0] : null;\n }\n setFocusToMenuitem(target, focusableItem) {\n target.tabIndex = '-1';\n focusableItem.tabIndex = '0';\n focusableItem.focus();\n }\n\n isClickableRouterLink(item: MenuItem) {\n return item.routerLink && !this.readonly && !item.disabled;\n }\n\n isActive(item: MenuItem, index: number) {\n if (item.routerLink) {\n let routerLink = Array.isArray(item.routerLink) ? item.routerLink : [item.routerLink];\n\n return this.router.isActive(this.router.createUrlTree(routerLink, { relativeTo: this.route }).toString(), false);\n }\n\n return index === this.activeIndex;\n }\n\n getItemTabIndex(item: MenuItem, index: number): string {\n if (item.disabled) {\n return '-1';\n }\n\n if (!item.disabled && this.activeIndex === index) {\n return item.tabindex || '0';\n }\n\n return item.tabindex ?? '-1';\n }\n\n ngOnDestroy() {\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n\n super.ngOnDestroy();\n }\n}\n\n@NgModule({\n imports: [Steps, SharedModule],\n exports: [Steps, SharedModule]\n})\nexport class StepsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,MAAM,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA6BE,EAAE,CAAC,4BAA4B,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAyB5B,8BAAA,EAAA,EAAE,CAAC,2BAA2B,CAAC,gBAAgB,EAAE,CAAC,2BAA2B,CAAC,CAAA;qBACzF,EAAE,CAAC,+BAA+B,CAAC,CAAA;;WAE7C,EAAE,CAAC,qBAAqB,CAAC,CAAA;;;;kBAIlB,EAAE,CAAC,mCAAmC,CAAC,CAAA;AAC1C,aAAA,EAAA,EAAE,CAAC,kCAAkC,CAAC,CAAA,CAAA,EAAI,EAAE,CAAC,kCAAkC,CAAC,CAAI,CAAA,EAAA,EAAE,CAAC,kCAAkC,CAAC,CAAA;sBACnH,EAAE,CAAC,mCAAmC,CAAC,CAAA;;;;;;;;aAQhD,EAAE,CAAC,wBAAwB,CAAC,CAAA;;mBAEtB,EAAE,CAAC,8BAA8B,CAAC,CAAA;;;;;;;aAOxC,EAAE,CAAC,yBAAyB,CAAC,CAAA;wBAClB,EAAE,CAAC,gCAAgC,CAAC,CAAA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A,GAAA;MA6ML,WAAW,CAAA;qGAAX,WAAW,GAAA,CAAA,EAAA;4DAAX,WAAW,EAAA,CAAA;gEAHV,KAAK,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;iFAEpB,WAAW,EAAA,CAAA;cAJvB,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC;AAC9B,gBAAA,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY;AAChC,aAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,WAAW,cA7MX,KAAK,EA0MG,YAAY,CA1MpB,EAAA,OAAA,EAAA,CAAA,KAAK,EA2MG,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACpSjC;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-steps.mjs","sources":["../../src/steps/style/stepsstyle.ts","../../src/steps/steps.ts","../../src/steps/primeng-steps.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-steps {\n position: relative;\n}\n\n.p-steps-list {\n padding: 0;\n margin: 0;\n list-style-type: none;\n display: flex;\n}\n\n.p-steps-item {\n position: relative;\n display: flex;\n justify-content: center;\n flex: 1 1 auto;\n}\n\n.p-steps-item.p-disabled,\n.p-steps-item.p-disabled * {\n opacity: 1;\n pointer-events: auto;\n user-select: auto;\n cursor: auto;\n}\n\n.p-steps-item:before {\n content: \" \";\n border-top: 2px solid ${dt('steps.separator.background')};\n width: 100%;\n top: 50%;\n left: 0;\n display: block;\n position: absolute;\n margin-top: -1rem;\n margin-top: calc(-1rem + 1px);\n}\n\n.p-steps-item:first-child::before {\n width: calc(50% + 1rem);\n transform: translateX(100%);\n}\n\n.p-steps-item:last-child::before {\n width: 50%;\n}\n\n.p-steps-item-link {\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n overflow: hidden;\n text-decoration: none;\n transition: outline-color ${dt('steps.transition.duration')}, box-shadow ${dt('steps.transition.duration')};\n border-radius: ${dt('steps.item.link.border.radius')};\n outline-color: transparent;\n gap: ${dt('steps.item.link.gap')};\n}\n\n.p-steps-item-link:not(.p-disabled):focus-visible {\n box-shadow: ${dt('steps.item.link.focus.ring.shadow')};\n outline: ${dt('steps.item.link.focus.ring.width')} ${dt('steps.item.link.focus.ring.style')} ${dt('steps.item.link.focus.ring.color')};\n outline-offset: ${dt('steps.item.link.focus.ring.offset')};\n}\n\n.p-steps-item-label {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n color: ${dt('steps.item.label.color')};\n display: block;\n font-weight: ${dt('steps.item.label.font.weight')};\n}\n\n.p-steps-item-number {\n display: flex;\n align-items: center;\n justify-content: center;\n color: ${dt('steps.item.number.color')};\n border: 2px solid ${dt('steps.item.number.border.color')};\n background: ${dt('steps.item.number.background')};\n min-width: ${dt('steps.item.number.size')};\n height: ${dt('steps.item.number.size')};\n line-height: ${dt('steps.item.number.size')};\n font-size: ${dt('steps.item.number.font.size')};\n z-index: 1;\n border-radius: ${dt('steps.item.number.border.radius')};\n position: relative;\n font-weight: ${dt('steps.item.number.font.weight')};\n}\n\n.p-steps-item-number::after {\n content: \" \";\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: ${dt('steps.item.number.border.radius')};\n box-shadow: ${dt('steps.item.number.shadow')};\n}\n\n.p-steps:not(.p-readonly) .p-steps-item {\n cursor: pointer;\n}\n\n.p-steps-item-active .p-steps-item-number {\n background: ${dt('steps.item.number.active.background')};\n border-color: ${dt('steps.item.number.active.border.color')};\n color: ${dt('steps.item.number.active.color')};\n}\n\n.p-steps-item-active .p-steps-item-label {\n color: ${dt('steps.item.label.active.color')};\n}\n`;\n\nconst classes = {\n root: ({ props }) => ['p-steps p-component', { 'p-readonly': props.readonly }],\n list: 'p-steps-list',\n item: ({ instance, item, index }) => [\n 'p-steps-item',\n {\n 'p-steps-item-active': instance.isActive(index),\n 'p-disabled': instance.isItemDisabled(item, index)\n }\n ],\n itemLink: 'p-steps-item-link',\n itemNumber: 'p-steps-item-number',\n itemLabel: 'p-steps-item-label'\n};\n@Injectable()\nexport class StepsStyle extends BaseStyle {\n name = 'steps';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * Steps components is an indicator for the steps in a wizard workflow. Example below uses nested routes with Steps.\n *\n * [Live Demo](https://www.primeng.org/steps/)\n *\n * @module stepsstyle\n *\n */\nexport enum StepsClasses {\n /**\n * Class name of the root element\n */\n root = 'p-steps',\n /**\n * Class name of the list element\n */\n list = 'p-steps-list',\n /**\n * Class name of the item element\n */\n item = 'p-steps-item',\n /**\n * Class name of the item link element\n */\n itemLink = 'p-steps-item-link',\n /**\n * Class name of the item number element\n */\n itemNumber = 'p-steps-item-number',\n /**\n * Class name of the item label element\n */\n itemLabel = 'p-steps-item-label'\n}\n\nexport interface StepsStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, inject, Input, NgModule, numberAttribute, OnDestroy, OnInit, Output, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { ActivatedRoute, Router, RouterModule } from '@angular/router';\nimport { find, findSingle } from '@primeuix/utils';\nimport { MenuItem, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { TooltipModule } from 'primeng/tooltip';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { Subscription } from 'rxjs';\nimport { StepsStyle } from './style/stepsstyle';\n\n/**\n * Steps components is an indicator for the steps in a wizard workflow.\n * @group Components\n */\n@Component({\n selector: 'p-steps',\n standalone: true,\n imports: [CommonModule, RouterModule, TooltipModule, SharedModule],\n template: `\n <nav [ngClass]=\"{ 'p-steps p-component': true, 'p-readonly': readonly }\" [ngStyle]=\"style\" [class]=\"styleClass\" [attr.data-pc-name]=\"'steps'\">\n <ul #list [attr.data-pc-section]=\"'menu'\" class=\"p-steps-list\">\n @for (item of model; track item.label; let i = $index) {\n <li\n *ngIf=\"item.visible !== false\"\n class=\"p-steps-item\"\n #menuitem\n [ngStyle]=\"item.style\"\n [class]=\"item.styleClass\"\n [attr.aria-current]=\"isActive(item, i) ? 'step' : undefined\"\n [attr.id]=\"item.id\"\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [ngClass]=\"{\n 'p-steps-item-active': isActive(item, i),\n 'p-disabled': item.disabled || (readonly && !isActive(item, i))\n }\"\n [attr.data-pc-section]=\"'menuitem'\"\n >\n <a\n role=\"link\"\n *ngIf=\"isClickableRouterLink(item); else elseBlock\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n class=\"p-steps-item-link\"\n (click)=\"onItemClick($event, item, i)\"\n (keydown)=\"onItemKeydown($event, item, i)\"\n [target]=\"item.target\"\n [attr.tabindex]=\"getItemTabIndex(item, i)\"\n [attr.aria-expanded]=\"i === activeIndex\"\n [attr.aria-disabled]=\"item.disabled || (readonly && i !== activeIndex)\"\n [fragment]=\"item.fragment\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [preserveFragment]=\"item.preserveFragment\"\n [skipLocationChange]=\"item.skipLocationChange\"\n [replaceUrl]=\"item.replaceUrl\"\n [state]=\"item.state\"\n [attr.ariaCurrentWhenActive]=\"exact ? 'step' : undefined\"\n >\n <span class=\"p-steps-item-number\">{{ i + 1 }}</span>\n <span class=\"p-steps-item-label\" *ngIf=\"item.escape !== false; else htmlLabel\">{{ item.label }}</span>\n <ng-template #htmlLabel><span class=\"p-steps-item-label\" [innerHTML]=\"item.label\"></span></ng-template>\n </a>\n <ng-template #elseBlock>\n <a\n role=\"link\"\n [attr.href]=\"item.url\"\n class=\"p-steps-item-link\"\n (click)=\"onItemClick($event, item, i)\"\n (keydown)=\"onItemKeydown($event, item, i)\"\n [target]=\"item.target\"\n [attr.tabindex]=\"getItemTabIndex(item, i)\"\n [attr.aria-expanded]=\"i === activeIndex\"\n [attr.aria-disabled]=\"item.disabled || (readonly && i !== activeIndex)\"\n [attr.ariaCurrentWhenActive]=\"exact && (!item.disabled || readonly) ? 'step' : undefined\"\n >\n <span class=\"p-steps-item-number\">{{ i + 1 }}</span>\n <span class=\"p-steps-item-label\" *ngIf=\"item.escape !== false; else htmlRouteLabel\">{{ item.label }}</span>\n <ng-template #htmlRouteLabel><span class=\"p-steps-item-label\" [innerHTML]=\"item.label\"></span></ng-template>\n </a>\n </ng-template>\n </li>\n }\n </ul>\n </nav>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [StepsStyle]\n})\nexport class Steps extends BaseComponent implements OnInit, OnDestroy {\n /**\n * Index of the active item.\n * @group Props\n */\n @Input({ transform: numberAttribute }) activeIndex: number = 0;\n /**\n * An array of menu items.\n * @group Props\n */\n @Input() model: MenuItem[] | undefined;\n /**\n * Whether the items are clickable or not.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) readonly: boolean = true;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Whether to apply 'router-link-active-exact' class if route exactly matches the item path.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) exact: boolean = true;\n /**\n * Callback to invoke when the new step is selected.\n * @param {number} number - current index.\n * @group Emits\n */\n @Output() activeIndexChange: EventEmitter<number> = new EventEmitter<number>();\n\n @ViewChild('list', { static: false }) listViewChild: Nullable<ElementRef>;\n\n router = inject(Router);\n\n route = inject(ActivatedRoute);\n\n _componentStyle = inject(StepsStyle);\n\n subscription: Subscription | undefined;\n\n ngOnInit() {\n super.ngOnInit();\n this.subscription = this.router.events.subscribe(() => this.cd.markForCheck());\n }\n\n onItemClick(event: Event, item: MenuItem, i: number) {\n if (this.readonly || item.disabled) {\n event.preventDefault();\n return;\n }\n\n this.activeIndexChange.emit(i);\n\n if (!item.url && !item.routerLink) {\n event.preventDefault();\n }\n\n if (item.command) {\n item.command({\n originalEvent: event,\n item: item,\n index: i\n });\n }\n }\n\n onItemKeydown(event: KeyboardEvent, item: MenuItem, i: number) {\n switch (event.code) {\n case 'ArrowRight': {\n this.navigateToNextItem(event.target);\n event.preventDefault();\n break;\n }\n\n case 'ArrowLeft': {\n this.navigateToPrevItem(event.target);\n event.preventDefault();\n break;\n }\n\n case 'Home': {\n this.navigateToFirstItem(event.target);\n event.preventDefault();\n break;\n }\n\n case 'End': {\n this.navigateToLastItem(event.target);\n event.preventDefault();\n break;\n }\n\n case 'Tab':\n if (i !== this.activeIndex) {\n const siblings = <any>find(this.listViewChild.nativeElement, '[data-pc-section=\"menuitem\"]');\n siblings[i].children[0].tabIndex = '-1';\n siblings[this.activeIndex].children[0].tabIndex = '0';\n }\n break;\n\n case 'Enter':\n case 'Space': {\n this.onItemClick(event, item, i);\n event.preventDefault();\n break;\n }\n\n default:\n break;\n }\n }\n\n navigateToNextItem(target) {\n const nextItem = this.findNextItem(target);\n\n nextItem && this.setFocusToMenuitem(target, nextItem);\n }\n navigateToPrevItem(target) {\n const prevItem = this.findPrevItem(target);\n\n prevItem && this.setFocusToMenuitem(target, prevItem);\n }\n navigateToFirstItem(target) {\n const firstItem = this.findFirstItem();\n\n firstItem && this.setFocusToMenuitem(target, firstItem);\n }\n navigateToLastItem(target) {\n const lastItem = this.findLastItem();\n\n lastItem && this.setFocusToMenuitem(target, lastItem);\n }\n findNextItem(item) {\n const nextItem = item.parentElement.nextElementSibling;\n\n return nextItem ? nextItem.children[0] : null;\n }\n findPrevItem(item) {\n const prevItem = item.parentElement.previousElementSibling;\n\n return prevItem ? prevItem.children[0] : null;\n }\n findFirstItem() {\n const firstSibling = findSingle(this.listViewChild.nativeElement, '[data-pc-section=\"menuitem\"]');\n\n return firstSibling ? firstSibling.children[0] : null;\n }\n findLastItem() {\n const siblings = find(this.listViewChild.nativeElement, '[data-pc-section=\"menuitem\"]');\n\n return siblings ? siblings[siblings.length - 1].children[0] : null;\n }\n setFocusToMenuitem(target, focusableItem) {\n target.tabIndex = '-1';\n focusableItem.tabIndex = '0';\n focusableItem.focus();\n }\n\n isClickableRouterLink(item: MenuItem) {\n return item.routerLink && !this.readonly && !item.disabled;\n }\n\n isActive(item: MenuItem, index: number) {\n if (item.routerLink) {\n let routerLink = Array.isArray(item.routerLink) ? item.routerLink : [item.routerLink];\n\n return this.router.isActive(this.router.createUrlTree(routerLink, { relativeTo: this.route }).toString(), false);\n }\n\n return index === this.activeIndex;\n }\n\n getItemTabIndex(item: MenuItem, index: number): string {\n if (item.disabled) {\n return '-1';\n }\n\n if (!item.disabled && this.activeIndex === index) {\n return item.tabindex || '0';\n }\n\n return item.tabindex ?? '-1';\n }\n\n ngOnDestroy() {\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n\n super.ngOnDestroy();\n }\n}\n\n@NgModule({\n imports: [Steps, SharedModule],\n exports: [Steps, SharedModule]\n})\nexport class StepsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,MAAM,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA6BE,EAAE,CAAC,4BAA4B,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAyB5B,8BAAA,EAAA,EAAE,CAAC,2BAA2B,CAAC,gBAAgB,EAAE,CAAC,2BAA2B,CAAC,CAAA;qBACzF,EAAE,CAAC,+BAA+B,CAAC,CAAA;;WAE7C,EAAE,CAAC,qBAAqB,CAAC,CAAA;;;;kBAIlB,EAAE,CAAC,mCAAmC,CAAC,CAAA;AAC1C,aAAA,EAAA,EAAE,CAAC,kCAAkC,CAAC,CAAA,CAAA,EAAI,EAAE,CAAC,kCAAkC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
79
79
 
80
- .p-datatable-scrollable .p-datatable-frozen-column {
80
+ .p-datatable-scrollable > tr:not(:has(.p-datatable-selectable-row)) >.p-datatable-frozen-column {
81
81
  position: sticky;
82
82
  background: ${dt('datatable.header.cell.background')};
83
83
  }
@@ -955,7 +955,7 @@ const _c5 = ["footer"];
955
955
  const _c6 = ["footergrouped"];
956
956
  const _c7 = ["summary"];
957
957
  const _c8 = ["colgroup"];
958
- const _c9 = ["expandedrow"];
958
+ const _c9 = ["rowexpansion"];
959
959
  const _c10 = ["groupheader"];
960
960
  const _c11 = ["groupfooter"];
961
961
  const _c12 = ["frozenexpandedrow"];
@@ -5258,7 +5258,7 @@ class Table extends BaseComponent {
5258
5258
  args: ['colgroup', { descendants: false }]
5259
5259
  }], _expandedRowTemplate: [{
5260
5260
  type: ContentChild,
5261
- args: ['expandedrow', { descendants: false }]
5261
+ args: ['rowexpansion', { descendants: false }]
5262
5262
  }], _groupHeaderTemplate: [{
5263
5263
  type: ContentChild,
5264
5264
  args: ['groupheader', { descendants: false }]