@fuentis/phoenix-ui 0.0.9-alpha.330 → 0.0.9-alpha.331

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.
@@ -130,6 +130,7 @@ class SidebarItemComponent {
130
130
  menu.toggle($event);
131
131
  }
132
132
  onSliderItemsClick(event) {
133
+ console.log(event);
133
134
  this.sliderClick.emit(event);
134
135
  }
135
136
  constructor(router) {
@@ -199,12 +200,12 @@ class SidebarItemComponent {
199
200
  <ng-template #end>
200
201
  <p-divider styleClass="m-0" type="solid" />
201
202
  <p-button
202
- label="Create"
203
+ [label]="'ACTION.CREATE' | translate"
203
204
  icon="pi pi-plus"
204
205
  [text]="true"
205
206
  severity="secondary"
206
207
  styleClass="w-full p-2"
207
- (onClik)="onSliderItemsClick({ type: '' })"
208
+ (click)="onSliderItemsClick({ type: 'CREATE' })"
208
209
  />
209
210
  </ng-template>
210
211
  </p-menu>
@@ -328,12 +329,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
328
329
  <ng-template #end>
329
330
  <p-divider styleClass="m-0" type="solid" />
330
331
  <p-button
331
- label="Create"
332
+ [label]="'ACTION.CREATE' | translate"
332
333
  icon="pi pi-plus"
333
334
  [text]="true"
334
335
  severity="secondary"
335
336
  styleClass="w-full p-2"
336
- (onClik)="onSliderItemsClick({ type: '' })"
337
+ (click)="onSliderItemsClick({ type: 'CREATE' })"
337
338
  />
338
339
  </ng-template>
339
340
  </p-menu>