bit-ng-library 14.1.0 → 14.1.1

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.
package/README.md CHANGED
@@ -26,6 +26,10 @@ To get more help on the Angular CLI use `ng help` or go check out the [Angular C
26
26
 
27
27
  ## changelog
28
28
 
29
+ ## [14.1.1] - 2023-02-08
30
+
31
+ fix errata en un ngIf que estaba escrito nfIf
32
+
29
33
  ## [14.1.0] - 2023-02-08
30
34
 
31
35
  nuevo footer con un nuevo paginator
@@ -1,11 +1,13 @@
1
1
  import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/forms";
4
- import * as i2 from "primeng/button";
5
- import * as i3 from "primeng/dropdown";
6
- import * as i4 from "@ngneat/transloco";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@angular/forms";
5
+ import * as i3 from "primeng/button";
6
+ import * as i4 from "primeng/dropdown";
7
+ import * as i5 from "@ngneat/transloco";
7
8
  export class BitPagijatorComponent {
8
- constructor() {
9
+ constructor(changeDetector) {
10
+ this.changeDetector = changeDetector;
9
11
  this.onPageChange = new EventEmitter();
10
12
  this.onPageSizeChange = new EventEmitter();
11
13
  }
@@ -21,6 +23,7 @@ export class BitPagijatorComponent {
21
23
  if (changedProp.previousValue !== changedProp.currentValue) {
22
24
  this.calculateMaxPages();
23
25
  }
26
+ this.changeDetector.detectChanges();
24
27
  }
25
28
  }
26
29
  }
@@ -42,13 +45,22 @@ export class BitPagijatorComponent {
42
45
  this.page += direction;
43
46
  this.onPageChange.emit(this.page);
44
47
  }
48
+ get showPageInfo() {
49
+ return this.totalItems > 0;
50
+ }
51
+ get showLeftNavigationButton() {
52
+ return this.totalItems > 0 && this.page != 1;
53
+ }
54
+ get showRightNavigationButton() {
55
+ return this.totalItems > 0 && this.page < this.maxPages;
56
+ }
45
57
  }
46
- BitPagijatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitPagijatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
47
- BitPagijatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: BitPagijatorComponent, selector: "bit-pagijator", inputs: { page: "page", totalItems: "totalItems", itemsPerPage: "itemsPerPage", rowsPerPageOptions: "rowsPerPageOptions" }, outputs: { onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"pagijator-outer-container\">\n <div class=\"pagijator-container\">\n <div class=\"pagijator-page-size\">\n <div class=\"pagijator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\n <p-dropdown\n [options]=\"rowsPerPageOptions\"\n [ngModel]=\"itemsPerPage\"\n (ngModelChange)=\"changeItemsPerpage($event)\"></p-dropdown>\n </div>\n <div class=\"pagijator-range-actions\">\n <div class=\"pagijator-range-label\" *nfIf=\"totalItems > 0\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n <button (click)=\"changePage(-1)\" type=\"button\" [disabled]=\"!totalItems || page == 1\" pButton pRipple icon=\"pi pi-angle-left\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n <button (click)=\"changePage(1)\" type=\"button\" [disabled]=\"!totalItems || page == maxPages\" pButton pRipple icon=\"pi pi-angle-right\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n </div>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "component", type: i3.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "disabled", "itemSize", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
58
+ BitPagijatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitPagijatorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
59
+ BitPagijatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: BitPagijatorComponent, selector: "bit-pagijator", inputs: { page: "page", totalItems: "totalItems", itemsPerPage: "itemsPerPage", rowsPerPageOptions: "rowsPerPageOptions" }, outputs: { onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"pagijator-outer-container\">\n <div class=\"pagijator-container\">\n <div class=\"pagijator-page-size\">\n <div class=\"pagijator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\n <p-dropdown\n [options]=\"rowsPerPageOptions\"\n [ngModel]=\"itemsPerPage\"\n (ngModelChange)=\"changeItemsPerpage($event)\"></p-dropdown>\n </div>\n <div class=\"pagijator-range-actions\">\n <div class=\"pagijator-range-label\" *ngIf=\"showPageInfo\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n <button (click)=\"changePage(-1)\" type=\"button\" [disabled]=\"!showLeftNavigationButton\" pButton pRipple icon=\"pi pi-angle-left\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n <button (click)=\"changePage(1)\" type=\"button\" [disabled]=\"!showRightNavigationButton\" pButton pRipple icon=\"pi pi-angle-right\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n </div>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "component", type: i4.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "disabled", "itemSize", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "pipe", type: i5.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
48
60
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitPagijatorComponent, decorators: [{
49
61
  type: Component,
50
- args: [{ selector: 'bit-pagijator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"pagijator-outer-container\">\n <div class=\"pagijator-container\">\n <div class=\"pagijator-page-size\">\n <div class=\"pagijator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\n <p-dropdown\n [options]=\"rowsPerPageOptions\"\n [ngModel]=\"itemsPerPage\"\n (ngModelChange)=\"changeItemsPerpage($event)\"></p-dropdown>\n </div>\n <div class=\"pagijator-range-actions\">\n <div class=\"pagijator-range-label\" *nfIf=\"totalItems > 0\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n <button (click)=\"changePage(-1)\" type=\"button\" [disabled]=\"!totalItems || page == 1\" pButton pRipple icon=\"pi pi-angle-left\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n <button (click)=\"changePage(1)\" type=\"button\" [disabled]=\"!totalItems || page == maxPages\" pButton pRipple icon=\"pi pi-angle-right\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n </div>\n </div>\n</div>" }]
51
- }], ctorParameters: function () { return []; }, propDecorators: { page: [{
62
+ args: [{ selector: 'bit-pagijator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"pagijator-outer-container\">\n <div class=\"pagijator-container\">\n <div class=\"pagijator-page-size\">\n <div class=\"pagijator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\n <p-dropdown\n [options]=\"rowsPerPageOptions\"\n [ngModel]=\"itemsPerPage\"\n (ngModelChange)=\"changeItemsPerpage($event)\"></p-dropdown>\n </div>\n <div class=\"pagijator-range-actions\">\n <div class=\"pagijator-range-label\" *ngIf=\"showPageInfo\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n <button (click)=\"changePage(-1)\" type=\"button\" [disabled]=\"!showLeftNavigationButton\" pButton pRipple icon=\"pi pi-angle-left\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n <button (click)=\"changePage(1)\" type=\"button\" [disabled]=\"!showRightNavigationButton\" pButton pRipple icon=\"pi pi-angle-right\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n </div>\n </div>\n</div>" }]
63
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { page: [{
52
64
  type: Input
53
65
  }], totalItems: [{
54
66
  type: Input
@@ -61,4 +73,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
61
73
  }], onPageSizeChange: [{
62
74
  type: Output
63
75
  }] } });
64
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYml0LXBhZ2lqYXRvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iaXQtbmctbGlicmFyeS9zcmMvbGliL3NoYXJlZGxpYnJhcnkvY29tcG9uZW50cy9mb290ZXIvYml0LXBhZ2lqYXRvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iaXQtbmctbGlicmFyeS9zcmMvbGliL3NoYXJlZGxpYnJhcnkvY29tcG9uZW50cy9mb290ZXIvYml0LXBhZ2lqYXRvci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFlBQVks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48L2Rpdj4iXX0=
@@ -13,25 +13,25 @@ import * as i6$1 from 'primeng/calendar';
13
13
  import { CalendarModule } from 'primeng/calendar';
14
14
  import * as i5$1 from 'primeng/inputtext';
15
15
  import { InputTextModule } from 'primeng/inputtext';
16
- import * as i3$1 from 'primeng/dropdown';
16
+ import * as i4$2 from 'primeng/dropdown';
17
17
  import { DropdownModule } from 'primeng/dropdown';
18
18
  import * as i5$2 from 'primeng/editor';
19
19
  import { EditorModule } from 'primeng/editor';
20
20
  import * as i6$2 from 'primeng/multiselect';
21
21
  import { MultiSelectModule } from 'primeng/multiselect';
22
22
  import { PaginatorModule } from 'primeng/paginator';
23
- import * as i4$3 from 'primeng/checkbox';
23
+ import * as i4$4 from 'primeng/checkbox';
24
24
  import { CheckboxModule } from 'primeng/checkbox';
25
25
  import { RadioButtonModule } from 'primeng/radiobutton';
26
26
  import { TabViewModule } from 'primeng/tabview';
27
27
  import * as i4$1 from 'primeng/dialog';
28
28
  import { DialogModule } from 'primeng/dialog';
29
29
  import { AccordionModule } from 'primeng/accordion';
30
- import * as i4$5 from 'primeng/autocomplete';
30
+ import * as i4$6 from 'primeng/autocomplete';
31
31
  import { AutoCompleteModule } from 'primeng/autocomplete';
32
- import * as i4$4 from 'primeng/inputswitch';
32
+ import * as i4$5 from 'primeng/inputswitch';
33
33
  import { InputSwitchModule } from 'primeng/inputswitch';
34
- import * as i4$2 from 'primeng/tooltip';
34
+ import * as i4$3 from 'primeng/tooltip';
35
35
  import { TooltipModule } from 'primeng/tooltip';
36
36
  import { OverlayPanelModule } from 'primeng/overlaypanel';
37
37
  import * as i3$3 from 'primeng/messages';
@@ -46,14 +46,14 @@ import * as i3$2 from 'primeng/toast';
46
46
  import { ToastModule } from 'primeng/toast';
47
47
  import * as i6 from 'ng2-file-upload';
48
48
  import { FileUploadModule } from 'ng2-file-upload';
49
- import * as i2$2 from 'primeng/api';
49
+ import * as i2$1 from 'primeng/api';
50
50
  import { MessageService } from 'primeng/api';
51
51
  import * as i1 from '@angular/router';
52
52
  import * as i1$1 from '@angular/common/http';
53
53
  import { HttpHeaders } from '@angular/common/http';
54
54
  import { DefaultDataService } from '@ngrx/data';
55
55
  import { withLatestFrom, mergeMap, takeUntil, map, startWith, delay, concatMap, take, tap, filter, switchMapTo, catchError, finalize } from 'rxjs/operators';
56
- import * as i2$1 from 'primeng/button';
56
+ import * as i3$1 from 'primeng/button';
57
57
  import { SplitterModule } from 'primeng/splitter';
58
58
  import { ScrollPanelModule } from 'primeng/scrollpanel';
59
59
 
@@ -2614,7 +2614,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
2614
2614
  }], ctorParameters: function () { return [{ type: BitMessageService }, { type: TranslateService }]; } });
2615
2615
 
2616
2616
  class BitPagijatorComponent {
2617
- constructor() {
2617
+ constructor(changeDetector) {
2618
+ this.changeDetector = changeDetector;
2618
2619
  this.onPageChange = new EventEmitter();
2619
2620
  this.onPageSizeChange = new EventEmitter();
2620
2621
  }
@@ -2630,6 +2631,7 @@ class BitPagijatorComponent {
2630
2631
  if (changedProp.previousValue !== changedProp.currentValue) {
2631
2632
  this.calculateMaxPages();
2632
2633
  }
2634
+ this.changeDetector.detectChanges();
2633
2635
  }
2634
2636
  }
2635
2637
  }
@@ -2651,13 +2653,22 @@ class BitPagijatorComponent {
2651
2653
  this.page += direction;
2652
2654
  this.onPageChange.emit(this.page);
2653
2655
  }
2656
+ get showPageInfo() {
2657
+ return this.totalItems > 0;
2658
+ }
2659
+ get showLeftNavigationButton() {
2660
+ return this.totalItems > 0 && this.page != 1;
2661
+ }
2662
+ get showRightNavigationButton() {
2663
+ return this.totalItems > 0 && this.page < this.maxPages;
2664
+ }
2654
2665
  }
2655
- BitPagijatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitPagijatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2656
- BitPagijatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: BitPagijatorComponent, selector: "bit-pagijator", inputs: { page: "page", totalItems: "totalItems", itemsPerPage: "itemsPerPage", rowsPerPageOptions: "rowsPerPageOptions" }, outputs: { onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"pagijator-outer-container\">\n <div class=\"pagijator-container\">\n <div class=\"pagijator-page-size\">\n <div class=\"pagijator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\n <p-dropdown\n [options]=\"rowsPerPageOptions\"\n [ngModel]=\"itemsPerPage\"\n (ngModelChange)=\"changeItemsPerpage($event)\"></p-dropdown>\n </div>\n <div class=\"pagijator-range-actions\">\n <div class=\"pagijator-range-label\" *nfIf=\"totalItems > 0\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n <button (click)=\"changePage(-1)\" type=\"button\" [disabled]=\"!totalItems || page == 1\" pButton pRipple icon=\"pi pi-angle-left\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n <button (click)=\"changePage(1)\" type=\"button\" [disabled]=\"!totalItems || page == maxPages\" pButton pRipple icon=\"pi pi-angle-right\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n </div>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "component", type: i3$1.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "disabled", "itemSize", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2666
+ BitPagijatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitPagijatorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2667
+ BitPagijatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: BitPagijatorComponent, selector: "bit-pagijator", inputs: { page: "page", totalItems: "totalItems", itemsPerPage: "itemsPerPage", rowsPerPageOptions: "rowsPerPageOptions" }, outputs: { onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"pagijator-outer-container\">\n <div class=\"pagijator-container\">\n <div class=\"pagijator-page-size\">\n <div class=\"pagijator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\n <p-dropdown\n [options]=\"rowsPerPageOptions\"\n [ngModel]=\"itemsPerPage\"\n (ngModelChange)=\"changeItemsPerpage($event)\"></p-dropdown>\n </div>\n <div class=\"pagijator-range-actions\">\n <div class=\"pagijator-range-label\" *ngIf=\"showPageInfo\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n <button (click)=\"changePage(-1)\" type=\"button\" [disabled]=\"!showLeftNavigationButton\" pButton pRipple icon=\"pi pi-angle-left\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n <button (click)=\"changePage(1)\" type=\"button\" [disabled]=\"!showRightNavigationButton\" pButton pRipple icon=\"pi pi-angle-right\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n </div>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "component", type: i4$2.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "disabled", "itemSize", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2657
2668
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitPagijatorComponent, decorators: [{
2658
2669
  type: Component,
2659
- args: [{ selector: 'bit-pagijator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"pagijator-outer-container\">\n <div class=\"pagijator-container\">\n <div class=\"pagijator-page-size\">\n <div class=\"pagijator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\n <p-dropdown\n [options]=\"rowsPerPageOptions\"\n [ngModel]=\"itemsPerPage\"\n (ngModelChange)=\"changeItemsPerpage($event)\"></p-dropdown>\n </div>\n <div class=\"pagijator-range-actions\">\n <div class=\"pagijator-range-label\" *nfIf=\"totalItems > 0\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n <button (click)=\"changePage(-1)\" type=\"button\" [disabled]=\"!totalItems || page == 1\" pButton pRipple icon=\"pi pi-angle-left\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n <button (click)=\"changePage(1)\" type=\"button\" [disabled]=\"!totalItems || page == maxPages\" pButton pRipple icon=\"pi pi-angle-right\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n </div>\n </div>\n</div>" }]
2660
- }], ctorParameters: function () { return []; }, propDecorators: { page: [{
2670
+ args: [{ selector: 'bit-pagijator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"pagijator-outer-container\">\n <div class=\"pagijator-container\">\n <div class=\"pagijator-page-size\">\n <div class=\"pagijator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\n <p-dropdown\n [options]=\"rowsPerPageOptions\"\n [ngModel]=\"itemsPerPage\"\n (ngModelChange)=\"changeItemsPerpage($event)\"></p-dropdown>\n </div>\n <div class=\"pagijator-range-actions\">\n <div class=\"pagijator-range-label\" *ngIf=\"showPageInfo\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n <button (click)=\"changePage(-1)\" type=\"button\" [disabled]=\"!showLeftNavigationButton\" pButton pRipple icon=\"pi pi-angle-left\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n <button (click)=\"changePage(1)\" type=\"button\" [disabled]=\"!showRightNavigationButton\" pButton pRipple icon=\"pi pi-angle-right\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n </div>\n </div>\n</div>" }]
2671
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { page: [{
2661
2672
  type: Input
2662
2673
  }], totalItems: [{
2663
2674
  type: Input
@@ -3004,7 +3015,7 @@ BitBotonAyudaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
3004
3015
  </p-button>
3005
3016
 
3006
3017
  <i *ngIf="!boton" [ngClass]="'btn-ayuda fa fa-question ' + extraClass" (click)="mostrarAyuda()"></i>
3007
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }] });
3018
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }] });
3008
3019
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitBotonAyudaComponent, decorators: [{
3009
3020
  type: Component,
3010
3021
  args: [{
@@ -3130,7 +3141,7 @@ BitToolbarComponent.DELETE_BUTTON = "delete";
3130
3141
  BitToolbarComponent.ADD_BUTTON = "add";
3131
3142
  BitToolbarComponent.HELP_BUTTON = "help";
3132
3143
  BitToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3133
- BitToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: BitToolbarComponent, selector: "bit-toolbar", inputs: { toolbar: "toolbar", ayuda: "ayuda", femenino: "femenino", otherActionsDropdown: "otherActionsDropdown" }, outputs: { onToolbarButtonPressed: "onToolbarButtonPressed" }, usesOnChanges: true, ngImport: i0, template: "<!-- acciones no estandar definidas din\u00E1micamente o muy particulares-->\n<!-- si otherActionsDropdown viene a true y hay m\u00E1s de una acci\u00F3n, se muestran como un desplegable, si no, todas las acciones en l\u00EDnea -->\n<div class=\"contenedor-toolbar\">\n <!-- <div class=\"btn-group dropdown\" role=\"group\" *ngIf=\"mostrarOtherActionsEnDesplegable\">\n <button type=\"button\" *ngIf=\"otherActionsDropdown\"\n class=\"btn btn-dinamico btn-accion dropdown-toggle\" data-toggle=\"dropdown\"\n aria-haspopup=\"true\" aria-expanded=\"false\">Accions&nbsp;&nbsp;<span class=\"pi pi-caret-right\"></span></button>\n <div class=\"dropdown-menu desplegable-accion\">\n <ng-container *ngFor=\"let button of (toolbar | otherToolbarAction)\">\n <button type=\"button\" \n *ngIf=\"button.visible\"\n [disabled]=\"!button.enable\" (click)=\"otherAction(button)\" class=\"btn btn-dinamico btn-accion dropdown-item\"\n ><span [class]=\"button.estilo?button.estilo:'pi pi-caret-right'\"></span>&nbsp;&nbsp;{{\"bitnglibrary.toolbar.\"+button.label | transloco}}</button>\n </ng-container>\n </div>\n </div> -->\n\n <ng-container *ngIf=\"mostrarOtherActionsEnDesplegable\">\n <p-button (click)=\"toogle()\" *ngIf=\"otherActionsDropdown\"\n styleClass=\"p-button-primary\" icon=\"pi pi-caret-right\" iconPos=\"right\" label=\"Accions\"></p-button>\n <ul class=\"button-dropdown\" *ngIf=\"mostrar\">\n <ng-container *ngFor=\"let button of (toolbar | otherToolbarAction)\">\n <li *ngIf=\"button.visible\" (click)=\"otherAction(button)\"><span>{{\"bitnglibrary.toolbar.\"+button.label | transloco}}</span></li>\n </ng-container>\n </ul>\n </ng-container>\n \n <!-- si otherActionsDropdown viene a false o solo hay una acci\u00F3n, se muestran una tras otra en l\u00EDnea -->\n <ng-container *ngIf=\"!mostrarOtherActionsEnDesplegable\">\n <ng-container *ngFor=\"let button of (toolbar | otherToolbarAction)\">\n <p-button *ngIf=\"button.visible\" type=\"button\" [disabled]=\"!button.enable\" (click)=\"otherAction(button)\">{{\"bitnglibrary.toolbar.\"+button.label | transloco}}&nbsp;&nbsp;<span [class]=\"button.estilo?button.estilo:'pi pi-angle-right'\"></span></p-button>\n </ng-container>\n </ng-container>\n <!-- acciones estandar -->\n <p-button *ngIf=\"visible('new')\" type=\"button\" [disabled]=\"!enable('new')\" (click)=\"newElement()\" styleClass=\"p-button-danger\">{{(femenino ? \"bitnglibrary.toolbar.new-female\": \"bitnglibrary.toolbar.new\") | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('new', 'pi pi-plus')\"></span></p-button>\n <p-button *ngIf=\"visible('add')\" type=\"button\" [disabled]=\"!enable('add')\" (click)=\"add()\" styleClass=\"p-button-danger\">{{\"bitnglibrary.toolbar.add\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('add', 'pi pi-plus')\"></span></p-button>\n <!--div class=\"btn-group\" role=\"group\" *ngIf=\"visible('filter')\">\n <button type=\"button\" [disabled]=\"!enable('filter')\" (click)=\"showFilter()\" class=\"btn btn-transparent\">{{label('filter', 'Mostra filtre')}}&nbsp;&nbsp;<span [class]=\"estilo('filter', 'glyphicon glyphicon-search')\"></span></button>\n </div-->\n <p-button *ngIf=\"visible('export')\" type=\"button\" [disabled]=\"!enable('export')\" (click)=\"exportData()\" styleClass=\"p-button-outlined p-button-secondary\">{{\"bitnglibrary.toolbar.export\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('export', 'pi pi-file')\"></span></p-button>\n <p-button *ngIf=\"visible('save')\" type=\"button\" [disabled]=\"!enable('save')\" (click)=\"save()\" styleClass=\"p-button-success\">{{\"bitnglibrary.toolbar.save\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('save', 'pi pi-save')\"></span></p-button>\n <p-button *ngIf=\"visible('delete')\" type=\"button\" [disabled]=\"!enable('delete')\" (click)=\"delete()\" styleClass=\"p-button-outlined p-button-danger\">{{\"bitnglibrary.toolbar.delete\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('delete', 'pi pi-trash')\"></span></p-button>\n <p-button *ngIf=\"visible('print')\" type=\"button\" [disabled]=\"!enable('print')\" (click)=\"print()\" styleClass=\"p-button-outlined p-button-secondary\">{{\"bitnglibrary.toolbar.print\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('print', 'pi pi-print')\"></span></p-button>\n <ng-container *ngIf=\"ayuda\">\n <bit-boton-ayuda boton=\"true\" [ayuda]=\"ayuda\"></bit-boton-ayuda>\n </ng-container>\n</div>", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: BitBotonAyudaComponent, selector: "bit-boton-ayuda", inputs: ["ayuda", "boton", "extraClass"] }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }, { kind: "pipe", type: OtherToolbarActionPipe, name: "otherToolbarAction" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3144
+ BitToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: BitToolbarComponent, selector: "bit-toolbar", inputs: { toolbar: "toolbar", ayuda: "ayuda", femenino: "femenino", otherActionsDropdown: "otherActionsDropdown" }, outputs: { onToolbarButtonPressed: "onToolbarButtonPressed" }, usesOnChanges: true, ngImport: i0, template: "<!-- acciones no estandar definidas din\u00E1micamente o muy particulares-->\n<!-- si otherActionsDropdown viene a true y hay m\u00E1s de una acci\u00F3n, se muestran como un desplegable, si no, todas las acciones en l\u00EDnea -->\n<div class=\"contenedor-toolbar\">\n <!-- <div class=\"btn-group dropdown\" role=\"group\" *ngIf=\"mostrarOtherActionsEnDesplegable\">\n <button type=\"button\" *ngIf=\"otherActionsDropdown\"\n class=\"btn btn-dinamico btn-accion dropdown-toggle\" data-toggle=\"dropdown\"\n aria-haspopup=\"true\" aria-expanded=\"false\">Accions&nbsp;&nbsp;<span class=\"pi pi-caret-right\"></span></button>\n <div class=\"dropdown-menu desplegable-accion\">\n <ng-container *ngFor=\"let button of (toolbar | otherToolbarAction)\">\n <button type=\"button\" \n *ngIf=\"button.visible\"\n [disabled]=\"!button.enable\" (click)=\"otherAction(button)\" class=\"btn btn-dinamico btn-accion dropdown-item\"\n ><span [class]=\"button.estilo?button.estilo:'pi pi-caret-right'\"></span>&nbsp;&nbsp;{{\"bitnglibrary.toolbar.\"+button.label | transloco}}</button>\n </ng-container>\n </div>\n </div> -->\n\n <ng-container *ngIf=\"mostrarOtherActionsEnDesplegable\">\n <p-button (click)=\"toogle()\" *ngIf=\"otherActionsDropdown\"\n styleClass=\"p-button-primary\" icon=\"pi pi-caret-right\" iconPos=\"right\" label=\"Accions\"></p-button>\n <ul class=\"button-dropdown\" *ngIf=\"mostrar\">\n <ng-container *ngFor=\"let button of (toolbar | otherToolbarAction)\">\n <li *ngIf=\"button.visible\" (click)=\"otherAction(button)\"><span>{{\"bitnglibrary.toolbar.\"+button.label | transloco}}</span></li>\n </ng-container>\n </ul>\n </ng-container>\n \n <!-- si otherActionsDropdown viene a false o solo hay una acci\u00F3n, se muestran una tras otra en l\u00EDnea -->\n <ng-container *ngIf=\"!mostrarOtherActionsEnDesplegable\">\n <ng-container *ngFor=\"let button of (toolbar | otherToolbarAction)\">\n <p-button *ngIf=\"button.visible\" type=\"button\" [disabled]=\"!button.enable\" (click)=\"otherAction(button)\">{{\"bitnglibrary.toolbar.\"+button.label | transloco}}&nbsp;&nbsp;<span [class]=\"button.estilo?button.estilo:'pi pi-angle-right'\"></span></p-button>\n </ng-container>\n </ng-container>\n <!-- acciones estandar -->\n <p-button *ngIf=\"visible('new')\" type=\"button\" [disabled]=\"!enable('new')\" (click)=\"newElement()\" styleClass=\"p-button-danger\">{{(femenino ? \"bitnglibrary.toolbar.new-female\": \"bitnglibrary.toolbar.new\") | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('new', 'pi pi-plus')\"></span></p-button>\n <p-button *ngIf=\"visible('add')\" type=\"button\" [disabled]=\"!enable('add')\" (click)=\"add()\" styleClass=\"p-button-danger\">{{\"bitnglibrary.toolbar.add\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('add', 'pi pi-plus')\"></span></p-button>\n <!--div class=\"btn-group\" role=\"group\" *ngIf=\"visible('filter')\">\n <button type=\"button\" [disabled]=\"!enable('filter')\" (click)=\"showFilter()\" class=\"btn btn-transparent\">{{label('filter', 'Mostra filtre')}}&nbsp;&nbsp;<span [class]=\"estilo('filter', 'glyphicon glyphicon-search')\"></span></button>\n </div-->\n <p-button *ngIf=\"visible('export')\" type=\"button\" [disabled]=\"!enable('export')\" (click)=\"exportData()\" styleClass=\"p-button-outlined p-button-secondary\">{{\"bitnglibrary.toolbar.export\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('export', 'pi pi-file')\"></span></p-button>\n <p-button *ngIf=\"visible('save')\" type=\"button\" [disabled]=\"!enable('save')\" (click)=\"save()\" styleClass=\"p-button-success\">{{\"bitnglibrary.toolbar.save\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('save', 'pi pi-save')\"></span></p-button>\n <p-button *ngIf=\"visible('delete')\" type=\"button\" [disabled]=\"!enable('delete')\" (click)=\"delete()\" styleClass=\"p-button-outlined p-button-danger\">{{\"bitnglibrary.toolbar.delete\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('delete', 'pi pi-trash')\"></span></p-button>\n <p-button *ngIf=\"visible('print')\" type=\"button\" [disabled]=\"!enable('print')\" (click)=\"print()\" styleClass=\"p-button-outlined p-button-secondary\">{{\"bitnglibrary.toolbar.print\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('print', 'pi pi-print')\"></span></p-button>\n <ng-container *ngIf=\"ayuda\">\n <bit-boton-ayuda boton=\"true\" [ayuda]=\"ayuda\"></bit-boton-ayuda>\n </ng-container>\n</div>", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: BitBotonAyudaComponent, selector: "bit-boton-ayuda", inputs: ["ayuda", "boton", "extraClass"] }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }, { kind: "pipe", type: OtherToolbarActionPipe, name: "otherToolbarAction" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3134
3145
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitToolbarComponent, decorators: [{
3135
3146
  type: Component,
3136
3147
  args: [{ selector: "bit-toolbar", changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- acciones no estandar definidas din\u00E1micamente o muy particulares-->\n<!-- si otherActionsDropdown viene a true y hay m\u00E1s de una acci\u00F3n, se muestran como un desplegable, si no, todas las acciones en l\u00EDnea -->\n<div class=\"contenedor-toolbar\">\n <!-- <div class=\"btn-group dropdown\" role=\"group\" *ngIf=\"mostrarOtherActionsEnDesplegable\">\n <button type=\"button\" *ngIf=\"otherActionsDropdown\"\n class=\"btn btn-dinamico btn-accion dropdown-toggle\" data-toggle=\"dropdown\"\n aria-haspopup=\"true\" aria-expanded=\"false\">Accions&nbsp;&nbsp;<span class=\"pi pi-caret-right\"></span></button>\n <div class=\"dropdown-menu desplegable-accion\">\n <ng-container *ngFor=\"let button of (toolbar | otherToolbarAction)\">\n <button type=\"button\" \n *ngIf=\"button.visible\"\n [disabled]=\"!button.enable\" (click)=\"otherAction(button)\" class=\"btn btn-dinamico btn-accion dropdown-item\"\n ><span [class]=\"button.estilo?button.estilo:'pi pi-caret-right'\"></span>&nbsp;&nbsp;{{\"bitnglibrary.toolbar.\"+button.label | transloco}}</button>\n </ng-container>\n </div>\n </div> -->\n\n <ng-container *ngIf=\"mostrarOtherActionsEnDesplegable\">\n <p-button (click)=\"toogle()\" *ngIf=\"otherActionsDropdown\"\n styleClass=\"p-button-primary\" icon=\"pi pi-caret-right\" iconPos=\"right\" label=\"Accions\"></p-button>\n <ul class=\"button-dropdown\" *ngIf=\"mostrar\">\n <ng-container *ngFor=\"let button of (toolbar | otherToolbarAction)\">\n <li *ngIf=\"button.visible\" (click)=\"otherAction(button)\"><span>{{\"bitnglibrary.toolbar.\"+button.label | transloco}}</span></li>\n </ng-container>\n </ul>\n </ng-container>\n \n <!-- si otherActionsDropdown viene a false o solo hay una acci\u00F3n, se muestran una tras otra en l\u00EDnea -->\n <ng-container *ngIf=\"!mostrarOtherActionsEnDesplegable\">\n <ng-container *ngFor=\"let button of (toolbar | otherToolbarAction)\">\n <p-button *ngIf=\"button.visible\" type=\"button\" [disabled]=\"!button.enable\" (click)=\"otherAction(button)\">{{\"bitnglibrary.toolbar.\"+button.label | transloco}}&nbsp;&nbsp;<span [class]=\"button.estilo?button.estilo:'pi pi-angle-right'\"></span></p-button>\n </ng-container>\n </ng-container>\n <!-- acciones estandar -->\n <p-button *ngIf=\"visible('new')\" type=\"button\" [disabled]=\"!enable('new')\" (click)=\"newElement()\" styleClass=\"p-button-danger\">{{(femenino ? \"bitnglibrary.toolbar.new-female\": \"bitnglibrary.toolbar.new\") | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('new', 'pi pi-plus')\"></span></p-button>\n <p-button *ngIf=\"visible('add')\" type=\"button\" [disabled]=\"!enable('add')\" (click)=\"add()\" styleClass=\"p-button-danger\">{{\"bitnglibrary.toolbar.add\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('add', 'pi pi-plus')\"></span></p-button>\n <!--div class=\"btn-group\" role=\"group\" *ngIf=\"visible('filter')\">\n <button type=\"button\" [disabled]=\"!enable('filter')\" (click)=\"showFilter()\" class=\"btn btn-transparent\">{{label('filter', 'Mostra filtre')}}&nbsp;&nbsp;<span [class]=\"estilo('filter', 'glyphicon glyphicon-search')\"></span></button>\n </div-->\n <p-button *ngIf=\"visible('export')\" type=\"button\" [disabled]=\"!enable('export')\" (click)=\"exportData()\" styleClass=\"p-button-outlined p-button-secondary\">{{\"bitnglibrary.toolbar.export\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('export', 'pi pi-file')\"></span></p-button>\n <p-button *ngIf=\"visible('save')\" type=\"button\" [disabled]=\"!enable('save')\" (click)=\"save()\" styleClass=\"p-button-success\">{{\"bitnglibrary.toolbar.save\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('save', 'pi pi-save')\"></span></p-button>\n <p-button *ngIf=\"visible('delete')\" type=\"button\" [disabled]=\"!enable('delete')\" (click)=\"delete()\" styleClass=\"p-button-outlined p-button-danger\">{{\"bitnglibrary.toolbar.delete\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('delete', 'pi pi-trash')\"></span></p-button>\n <p-button *ngIf=\"visible('print')\" type=\"button\" [disabled]=\"!enable('print')\" (click)=\"print()\" styleClass=\"p-button-outlined p-button-secondary\">{{\"bitnglibrary.toolbar.print\" | transloco}}&nbsp;&nbsp;<span [class]=\"estilo('print', 'pi pi-print')\"></span></p-button>\n <ng-container *ngIf=\"ayuda\">\n <bit-boton-ayuda boton=\"true\" [ayuda]=\"ayuda\"></bit-boton-ayuda>\n </ng-container>\n</div>" }]
@@ -3276,7 +3287,7 @@ class BitNotificationToastComponent extends BaseComponent {
3276
3287
  this.primeMessageService.add({ key: "notification", severity: severity, summary: title, detail: message });
3277
3288
  }
3278
3289
  }
3279
- BitNotificationToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitNotificationToastComponent, deps: [{ token: BitMessageService }, { token: i2$2.MessageService }, { token: TranslateService }], target: i0.ɵɵFactoryTarget.Component });
3290
+ BitNotificationToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitNotificationToastComponent, deps: [{ token: BitMessageService }, { token: i2$1.MessageService }, { token: TranslateService }], target: i0.ɵɵFactoryTarget.Component });
3280
3291
  BitNotificationToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: BitNotificationToastComponent, selector: "bit-notification-toast", usesInheritance: true, ngImport: i0, template: ` <p-toast key="notification" position="top-right"></p-toast> `, isInline: true, dependencies: [{ kind: "component", type: i3$2.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }] });
3281
3292
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitNotificationToastComponent, decorators: [{
3282
3293
  type: Component,
@@ -3284,7 +3295,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
3284
3295
  selector: "bit-notification-toast",
3285
3296
  template: ` <p-toast key="notification" position="top-right"></p-toast> `
3286
3297
  }]
3287
- }], ctorParameters: function () { return [{ type: BitMessageService }, { type: i2$2.MessageService }, { type: TranslateService }]; } });
3298
+ }], ctorParameters: function () { return [{ type: BitMessageService }, { type: i2$1.MessageService }, { type: TranslateService }]; } });
3288
3299
 
3289
3300
  class BitNotificationErrorComponent extends BaseComponent {
3290
3301
  constructor(bitMessageService, primeMessageService, translateService) {
@@ -3384,7 +3395,7 @@ class BitNotificationErrorComponent extends BaseComponent {
3384
3395
  return combineLatest(prefixErrors$);
3385
3396
  }
3386
3397
  }
3387
- BitNotificationErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitNotificationErrorComponent, deps: [{ token: BitMessageService }, { token: i2$2.MessageService }, { token: TranslateService }], target: i0.ɵɵFactoryTarget.Component });
3398
+ BitNotificationErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitNotificationErrorComponent, deps: [{ token: BitMessageService }, { token: i2$1.MessageService }, { token: TranslateService }], target: i0.ɵɵFactoryTarget.Component });
3388
3399
  BitNotificationErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: BitNotificationErrorComponent, selector: "bit-notification-error", usesInheritance: true, ngImport: i0, template: ` <p-messages [value]="messages" [closable]="true"></p-messages> `, isInline: true, dependencies: [{ kind: "component", type: i3$3.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange"] }] });
3389
3400
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitNotificationErrorComponent, decorators: [{
3390
3401
  type: Component,
@@ -3392,7 +3403,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
3392
3403
  selector: "bit-notification-error",
3393
3404
  template: ` <p-messages [value]="messages" [closable]="true"></p-messages> `
3394
3405
  }]
3395
- }], ctorParameters: function () { return [{ type: BitMessageService }, { type: i2$2.MessageService }, { type: TranslateService }]; } });
3406
+ }], ctorParameters: function () { return [{ type: BitMessageService }, { type: i2$1.MessageService }, { type: TranslateService }]; } });
3396
3407
 
3397
3408
  class BitNGUploadComponent {
3398
3409
  constructor(generalUtils, changeDetector) {
@@ -3482,7 +3493,7 @@ class BitNGUploadComponent {
3482
3493
  }
3483
3494
  }
3484
3495
  BitNGUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitNGUploadComponent, deps: [{ token: GeneralUtils }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
3485
- BitNGUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: BitNGUploadComponent, selector: "bit-ng-upload", inputs: { uploader: "uploader", hasDropZone: "hasDropZone", hasQueue: "hasQueue", hasSingleUpload: "hasSingleUpload", hasMultipleUpload: "hasMultipleUpload", deleteItemAfterUpload: "deleteItemAfterUpload", canUpload: "canUpload", hasProgressBar: "hasProgressBar", sizeDropZone: "sizeDropZone", sizeQueue: "sizeQueue", inputAccept: "inputAccept" }, outputs: { onSuccess: "onSuccess", onError: "onError" }, viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileRef"], descendants: true }], ngImport: i0, template: " <div class=\"grid\">\n <div class=\"col-12\">\n <div *ngIf=\"hasDropZone\"\n ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n <div class=\"contenedor-upload\">\n <i class=\"fa fa-file documento\"></i>\n <div>\n <span>{{ \"bitnglibrary.upload.dropfiles\" | transloco }}</span>\n <div class=\"grid\">\n <div class=\"col-12\">\n <label *ngIf=\"hasMultipleUpload\" class=\"btn-upload\">\n <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple [accept]=\"inputAccept\" />\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.multiple' | transloco}}\n </label>\n <label *ngIf=\"hasSingleUpload\" class=\"btn-upload\">\n <input #fileRef type=\"file\" ng2FileSelect [uploader]=\"uploader\" [accept]=\"inputAccept\" />\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.simple' | transloco}}\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"grid\">\n <div *ngIf=\"hasQueue\" class=\"col-12\">\n <p>{{\"bitnglibrary.upload.uploadfiles\" | transloco}}: {{ uploader?.queue?.length }}</p>\n\n <p-table [value]=\"uploader.queue\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th width=\"50%\">{{\"bitnglibrary.upload.filename\" | transloco}}</th>\n <th *ngIf=\"uploader.options.isHTML5\">{{\"bitnglibrary.upload.filesize\" | transloco}}</th>\n <th *ngIf=\"uploader.options.isHTML5 && hasProgressBar\">{{\"bitnglibrary.upload.progress\" | transloco}}</th>\n <th *ngIf=\"canUpload\">Estat</th>\n <th>{{\"bitnglibrary.upload.actions\" | transloco}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-item>\n <tr>\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td *ngIf=\"uploader.options.isHTML5\" nowrap>{{ item?.file?.size/1024 | number:'.2' }} KB</td>\n <td *ngIf=\"uploader.options.isHTML5 && hasProgressBar\">\n <div class=\"progress\" style=\"margin-bottom: 0;\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': item.progress + '%' }\"></div>\n </div>\n </td>\n <td *ngIf=\"canUpload\" class=\"p-text-center\">\n <span *ngIf=\"item.isSuccess\"><i class=\"fa fa-check\"></i></span>\n <span *ngIf=\"item.isCancel\"><i class=\"fa fa-ban\"></i></span>\n <span *ngIf=\"item.isError\"><i class=\"fa fa-times\"></i></span>\n </td>\n <td nowrap>\n <p-button *ngIf=\"canUpload\" icon=\"fa fa-upload\" title=\"{{'bitnglibrary.upload.upload' | transloco}}\" styleClass=\"p-button-success\"\n (click)=\"uploadFile(item)\" [disabled]=\"item.isReady || item.isUploading || item.isSuccess\">\n </p-button>\n <p-button *ngIf=\"canUpload\" icon=\"fa fa-ban\" title=\"{{'bitnglibrary.upload.cancelupload' | transloco}}\" styleClass=\"p-button-warning\"\n (click)=\"cancelFile(item)\" [disabled]=\"!item.isUploading\">\n </p-button>\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removefromqueue' | transloco}}\" styleClass=\"p-button-danger\"\n (click)=\"removeFile(item)\">\n </p-button>\n </td>\n </tr>\n </ng-template>\n </p-table>\n\n <div *ngIf=\"hasProgressBar\" class=\"cola-progreso\">\n <span>{{\"bitnglibrary.upload.progressqueue\" | transloco}}<span>{{(uploader.progress.toString() == 'NaN'? (\"bitnglibrary.upload.finishupload\"|transloco): uploader.progress + '&nbsp;%')}}</span></span>\n <div class=\"progress\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': (uploader.progress.toString() == 'NaN'?'0':uploader.progress) + '%' }\"></div>\n </div>\n </div>\n <div>\n <p-button icon=\"fa fa-upload\" *ngIf=\"canUpload\" title=\"{{'bitnglibrary.upload.uploadall' | transloco}}\" styleClass=\"p-button-success\"\n (click)=\"uploadAll()\" [disabled]=\"!uploader.getNotUploadedItems().length\">\n </p-button>\n <p-button icon=\"fa fa-ban\" *ngIf=\"canUpload\" title=\"{{'bitnglibrary.upload.cancelall' | transloco}}\" styleClass=\"p-button-warning\"\n (click)=\"cancelQueue()\" [disabled]=\"!uploader.isUploading\">\n </p-button>\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removeall' | transloco}}\" styleClass=\"p-button-danger\"\n (click)=\"removeQueue()\" [disabled]=\"!uploader.queue.length\">\n </p-button>\n </div>\n </div>\n </div>\n", dependencies: [{ 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: "component", type: i2$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: i2$2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i5.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "virtualRowHeight", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["selectAllChange", "selectionChange", "contextMenuSelectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i6.FileDropDirective, selector: "[ng2FileDrop]", inputs: ["uploader"], outputs: ["fileOver", "onFileDrop"] }, { kind: "directive", type: i6.FileSelectDirective, selector: "[ng2FileSelect]", inputs: ["uploader"], outputs: ["onFileSelected"] }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "pipe", type: i2.DecimalPipe, name: "number" }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3496
+ BitNGUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: BitNGUploadComponent, selector: "bit-ng-upload", inputs: { uploader: "uploader", hasDropZone: "hasDropZone", hasQueue: "hasQueue", hasSingleUpload: "hasSingleUpload", hasMultipleUpload: "hasMultipleUpload", deleteItemAfterUpload: "deleteItemAfterUpload", canUpload: "canUpload", hasProgressBar: "hasProgressBar", sizeDropZone: "sizeDropZone", sizeQueue: "sizeQueue", inputAccept: "inputAccept" }, outputs: { onSuccess: "onSuccess", onError: "onError" }, viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileRef"], descendants: true }], ngImport: i0, template: " <div class=\"grid\">\n <div class=\"col-12\">\n <div *ngIf=\"hasDropZone\"\n ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n <div class=\"contenedor-upload\">\n <i class=\"fa fa-file documento\"></i>\n <div>\n <span>{{ \"bitnglibrary.upload.dropfiles\" | transloco }}</span>\n <div class=\"grid\">\n <div class=\"col-12\">\n <label *ngIf=\"hasMultipleUpload\" class=\"btn-upload\">\n <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple [accept]=\"inputAccept\" />\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.multiple' | transloco}}\n </label>\n <label *ngIf=\"hasSingleUpload\" class=\"btn-upload\">\n <input #fileRef type=\"file\" ng2FileSelect [uploader]=\"uploader\" [accept]=\"inputAccept\" />\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.simple' | transloco}}\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"grid\">\n <div *ngIf=\"hasQueue\" class=\"col-12\">\n <p>{{\"bitnglibrary.upload.uploadfiles\" | transloco}}: {{ uploader?.queue?.length }}</p>\n\n <p-table [value]=\"uploader.queue\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th width=\"50%\">{{\"bitnglibrary.upload.filename\" | transloco}}</th>\n <th *ngIf=\"uploader.options.isHTML5\">{{\"bitnglibrary.upload.filesize\" | transloco}}</th>\n <th *ngIf=\"uploader.options.isHTML5 && hasProgressBar\">{{\"bitnglibrary.upload.progress\" | transloco}}</th>\n <th *ngIf=\"canUpload\">Estat</th>\n <th>{{\"bitnglibrary.upload.actions\" | transloco}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-item>\n <tr>\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td *ngIf=\"uploader.options.isHTML5\" nowrap>{{ item?.file?.size/1024 | number:'.2' }} KB</td>\n <td *ngIf=\"uploader.options.isHTML5 && hasProgressBar\">\n <div class=\"progress\" style=\"margin-bottom: 0;\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': item.progress + '%' }\"></div>\n </div>\n </td>\n <td *ngIf=\"canUpload\" class=\"p-text-center\">\n <span *ngIf=\"item.isSuccess\"><i class=\"fa fa-check\"></i></span>\n <span *ngIf=\"item.isCancel\"><i class=\"fa fa-ban\"></i></span>\n <span *ngIf=\"item.isError\"><i class=\"fa fa-times\"></i></span>\n </td>\n <td nowrap>\n <p-button *ngIf=\"canUpload\" icon=\"fa fa-upload\" title=\"{{'bitnglibrary.upload.upload' | transloco}}\" styleClass=\"p-button-success\"\n (click)=\"uploadFile(item)\" [disabled]=\"item.isReady || item.isUploading || item.isSuccess\">\n </p-button>\n <p-button *ngIf=\"canUpload\" icon=\"fa fa-ban\" title=\"{{'bitnglibrary.upload.cancelupload' | transloco}}\" styleClass=\"p-button-warning\"\n (click)=\"cancelFile(item)\" [disabled]=\"!item.isUploading\">\n </p-button>\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removefromqueue' | transloco}}\" styleClass=\"p-button-danger\"\n (click)=\"removeFile(item)\">\n </p-button>\n </td>\n </tr>\n </ng-template>\n </p-table>\n\n <div *ngIf=\"hasProgressBar\" class=\"cola-progreso\">\n <span>{{\"bitnglibrary.upload.progressqueue\" | transloco}}<span>{{(uploader.progress.toString() == 'NaN'? (\"bitnglibrary.upload.finishupload\"|transloco): uploader.progress + '&nbsp;%')}}</span></span>\n <div class=\"progress\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': (uploader.progress.toString() == 'NaN'?'0':uploader.progress) + '%' }\"></div>\n </div>\n </div>\n <div>\n <p-button icon=\"fa fa-upload\" *ngIf=\"canUpload\" title=\"{{'bitnglibrary.upload.uploadall' | transloco}}\" styleClass=\"p-button-success\"\n (click)=\"uploadAll()\" [disabled]=\"!uploader.getNotUploadedItems().length\">\n </p-button>\n <p-button icon=\"fa fa-ban\" *ngIf=\"canUpload\" title=\"{{'bitnglibrary.upload.cancelall' | transloco}}\" styleClass=\"p-button-warning\"\n (click)=\"cancelQueue()\" [disabled]=\"!uploader.isUploading\">\n </p-button>\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removeall' | transloco}}\" styleClass=\"p-button-danger\"\n (click)=\"removeQueue()\" [disabled]=\"!uploader.queue.length\">\n </p-button>\n </div>\n </div>\n </div>\n", dependencies: [{ 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: "component", type: i3$1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i5.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "virtualRowHeight", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["selectAllChange", "selectionChange", "contextMenuSelectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i6.FileDropDirective, selector: "[ng2FileDrop]", inputs: ["uploader"], outputs: ["fileOver", "onFileDrop"] }, { kind: "directive", type: i6.FileSelectDirective, selector: "[ng2FileSelect]", inputs: ["uploader"], outputs: ["onFileSelected"] }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "pipe", type: i2.DecimalPipe, name: "number" }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3486
3497
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitNGUploadComponent, decorators: [{
3487
3498
  type: Component,
3488
3499
  args: [{ selector: "bit-ng-upload", changeDetection: ChangeDetectionStrategy.OnPush, template: " <div class=\"grid\">\n <div class=\"col-12\">\n <div *ngIf=\"hasDropZone\"\n ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n <div class=\"contenedor-upload\">\n <i class=\"fa fa-file documento\"></i>\n <div>\n <span>{{ \"bitnglibrary.upload.dropfiles\" | transloco }}</span>\n <div class=\"grid\">\n <div class=\"col-12\">\n <label *ngIf=\"hasMultipleUpload\" class=\"btn-upload\">\n <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple [accept]=\"inputAccept\" />\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.multiple' | transloco}}\n </label>\n <label *ngIf=\"hasSingleUpload\" class=\"btn-upload\">\n <input #fileRef type=\"file\" ng2FileSelect [uploader]=\"uploader\" [accept]=\"inputAccept\" />\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.simple' | transloco}}\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"grid\">\n <div *ngIf=\"hasQueue\" class=\"col-12\">\n <p>{{\"bitnglibrary.upload.uploadfiles\" | transloco}}: {{ uploader?.queue?.length }}</p>\n\n <p-table [value]=\"uploader.queue\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th width=\"50%\">{{\"bitnglibrary.upload.filename\" | transloco}}</th>\n <th *ngIf=\"uploader.options.isHTML5\">{{\"bitnglibrary.upload.filesize\" | transloco}}</th>\n <th *ngIf=\"uploader.options.isHTML5 && hasProgressBar\">{{\"bitnglibrary.upload.progress\" | transloco}}</th>\n <th *ngIf=\"canUpload\">Estat</th>\n <th>{{\"bitnglibrary.upload.actions\" | transloco}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-item>\n <tr>\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td *ngIf=\"uploader.options.isHTML5\" nowrap>{{ item?.file?.size/1024 | number:'.2' }} KB</td>\n <td *ngIf=\"uploader.options.isHTML5 && hasProgressBar\">\n <div class=\"progress\" style=\"margin-bottom: 0;\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': item.progress + '%' }\"></div>\n </div>\n </td>\n <td *ngIf=\"canUpload\" class=\"p-text-center\">\n <span *ngIf=\"item.isSuccess\"><i class=\"fa fa-check\"></i></span>\n <span *ngIf=\"item.isCancel\"><i class=\"fa fa-ban\"></i></span>\n <span *ngIf=\"item.isError\"><i class=\"fa fa-times\"></i></span>\n </td>\n <td nowrap>\n <p-button *ngIf=\"canUpload\" icon=\"fa fa-upload\" title=\"{{'bitnglibrary.upload.upload' | transloco}}\" styleClass=\"p-button-success\"\n (click)=\"uploadFile(item)\" [disabled]=\"item.isReady || item.isUploading || item.isSuccess\">\n </p-button>\n <p-button *ngIf=\"canUpload\" icon=\"fa fa-ban\" title=\"{{'bitnglibrary.upload.cancelupload' | transloco}}\" styleClass=\"p-button-warning\"\n (click)=\"cancelFile(item)\" [disabled]=\"!item.isUploading\">\n </p-button>\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removefromqueue' | transloco}}\" styleClass=\"p-button-danger\"\n (click)=\"removeFile(item)\">\n </p-button>\n </td>\n </tr>\n </ng-template>\n </p-table>\n\n <div *ngIf=\"hasProgressBar\" class=\"cola-progreso\">\n <span>{{\"bitnglibrary.upload.progressqueue\" | transloco}}<span>{{(uploader.progress.toString() == 'NaN'? (\"bitnglibrary.upload.finishupload\"|transloco): uploader.progress + '&nbsp;%')}}</span></span>\n <div class=\"progress\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': (uploader.progress.toString() == 'NaN'?'0':uploader.progress) + '%' }\"></div>\n </div>\n </div>\n <div>\n <p-button icon=\"fa fa-upload\" *ngIf=\"canUpload\" title=\"{{'bitnglibrary.upload.uploadall' | transloco}}\" styleClass=\"p-button-success\"\n (click)=\"uploadAll()\" [disabled]=\"!uploader.getNotUploadedItems().length\">\n </p-button>\n <p-button icon=\"fa fa-ban\" *ngIf=\"canUpload\" title=\"{{'bitnglibrary.upload.cancelall' | transloco}}\" styleClass=\"p-button-warning\"\n (click)=\"cancelQueue()\" [disabled]=\"!uploader.isUploading\">\n </p-button>\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removeall' | transloco}}\" styleClass=\"p-button-danger\"\n (click)=\"removeQueue()\" [disabled]=\"!uploader.queue.length\">\n </p-button>\n </div>\n </div>\n </div>\n" }]
@@ -3864,7 +3875,7 @@ BitTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
3864
3875
  provide: NG_VALUE_ACCESSOR,
3865
3876
  useExisting: forwardRef(() => BitTextComponent),
3866
3877
  multi: true
3867
- }], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp;<span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<input\n *ngIf=\"!tooltipTexto && !readOnly\"\n pInputText\n type=\"text\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva\"\n [placeholder]=\"placeholder\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n/>\n<input\n *ngIf=\"tooltipTexto && !readOnly\"\n pInputText\n type=\"text\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva\"\n [pTooltip]=\"tooltipTexto\"\n [tooltipPosition]=\"tooltipPosicion\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n/>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4$2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "fitContent", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i5$1.InputText, selector: "[pInputText]" }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
3878
+ }], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp;<span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<input\n *ngIf=\"!tooltipTexto && !readOnly\"\n pInputText\n type=\"text\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva\"\n [placeholder]=\"placeholder\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n/>\n<input\n *ngIf=\"tooltipTexto && !readOnly\"\n pInputText\n type=\"text\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva\"\n [pTooltip]=\"tooltipTexto\"\n [tooltipPosition]=\"tooltipPosicion\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n/>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4$3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "fitContent", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i5$1.InputText, selector: "[pInputText]" }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
3868
3879
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitTextComponent, decorators: [{
3869
3880
  type: Component,
3870
3881
  args: [{ selector: "bit-text", providers: [{
@@ -4121,7 +4132,7 @@ BitCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
4121
4132
  provide: NG_VALUE_ACCESSOR,
4122
4133
  useExisting: forwardRef(() => BitCheckBoxComponent),
4123
4134
  multi: true
4124
- }], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp;<span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<p-checkbox\n *ngIf=\"!readOnly\"\n class=\"{{ estilo }}\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n [label]=\"!hideLabel && label\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n id=\"{{ nombre }}\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-checkbox>\n\n<i *ngIf=\"ayuda\" (click)=\"showAyuda()\" class=\"btn-ayuda-checkbox fa fa-question\"></i>\n\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$3.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
4135
+ }], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp;<span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<p-checkbox\n *ngIf=\"!readOnly\"\n class=\"{{ estilo }}\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n [label]=\"!hideLabel && label\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n id=\"{{ nombre }}\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-checkbox>\n\n<i *ngIf=\"ayuda\" (click)=\"showAyuda()\" class=\"btn-ayuda-checkbox fa fa-question\"></i>\n\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$4.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
4125
4136
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitCheckBoxComponent, decorators: [{
4126
4137
  type: Component,
4127
4138
  args: [{ selector: "bit-checkbox", providers: [{
@@ -4152,7 +4163,7 @@ BitSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
4152
4163
  provide: NG_VALUE_ACCESSOR,
4153
4164
  useExisting: forwardRef(() => BitSwitchComponent),
4154
4165
  multi: true
4155
- }], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp;<span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<p-inputSwitch\n *ngIf=\"!readOnly\"\n onLabel=\"S\u00ED\"\n offLabel=\"No\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n id=\"{{ nombre }}\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-inputSwitch>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$4.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy"], outputs: ["onChange"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
4166
+ }], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp;<span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<p-inputSwitch\n *ngIf=\"!readOnly\"\n onLabel=\"S\u00ED\"\n offLabel=\"No\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n id=\"{{ nombre }}\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-inputSwitch>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$5.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy"], outputs: ["onChange"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
4156
4167
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitSwitchComponent, decorators: [{
4157
4168
  type: Component,
4158
4169
  args: [{ selector: "bit-switch", providers: [{
@@ -4206,7 +4217,7 @@ BitAutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0
4206
4217
  provide: NG_VALUE_ACCESSOR,
4207
4218
  useExisting: forwardRef(() => BitAutoCompleteComponent),
4208
4219
  multi: true
4209
- }], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp;<span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<p-autoComplete\n *ngIf=\"!readOnly\"\n [(ngModel)]=\"value\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [placeholder]=\"placeholder\"\n delay=\"400\"\n [suggestions]=\"suggestions\"\n [field]=\"suggestionField\"\n [multiple]=\"multiple\"\n (completeMethod)=\"search($event)\"\n (onSelect)=\"_onSelect($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n></p-autoComplete>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$5.AutoComplete, selector: "p-autoComplete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "itemSize", "suggestions"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
4220
+ }], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp;<span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<p-autoComplete\n *ngIf=\"!readOnly\"\n [(ngModel)]=\"value\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [placeholder]=\"placeholder\"\n delay=\"400\"\n [suggestions]=\"suggestions\"\n [field]=\"suggestionField\"\n [multiple]=\"multiple\"\n (completeMethod)=\"search($event)\"\n (onSelect)=\"_onSelect($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n></p-autoComplete>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$6.AutoComplete, selector: "p-autoComplete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "itemSize", "suggestions"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
4210
4221
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitAutoCompleteComponent, decorators: [{
4211
4222
  type: Component,
4212
4223
  args: [{ selector: "bit-autocomplete", providers: [{
@@ -4397,7 +4408,7 @@ BitDropDownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
4397
4408
  provide: NG_VALUE_ACCESSOR,
4398
4409
  useExisting: forwardRef(() => BitDropDownComponent),
4399
4410
  multi: true
4400
- }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp; <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<ng-container *ngIf=\"!readOnly\">\n <p-dropdown\n id=\"{{ nombre }}\"\n [(ngModel)]=\"value\"\n [disabled]=\"isDisabled\"\n [options]=\"listaOpcionesVisible\"\n [filter]=\"filter\"\n [optionLabel]=\"atributoLabel\"\n [optionValue]=\"atributoValue\"\n [optionDisabled]=\"atributoDisabled\"\n [appendTo]=\"appendTo\"\n (onChange)=\"_onChangeValue($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n >\n <ng-template let-item pTemplate=\"item\">\n <span [ngClass]=\"{ 'opcion-desactivada': item[atributoDisabled] }\">{{ item[atributoLabel] }}</span>\n </ng-template>\n </p-dropdown>\n <control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"id\"></control-messages>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3$1.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "disabled", "itemSize", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
4411
+ }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp; <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<ng-container *ngIf=\"!readOnly\">\n <p-dropdown\n id=\"{{ nombre }}\"\n [(ngModel)]=\"value\"\n [disabled]=\"isDisabled\"\n [options]=\"listaOpcionesVisible\"\n [filter]=\"filter\"\n [optionLabel]=\"atributoLabel\"\n [optionValue]=\"atributoValue\"\n [optionDisabled]=\"atributoDisabled\"\n [appendTo]=\"appendTo\"\n (onChange)=\"_onChangeValue($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n >\n <ng-template let-item pTemplate=\"item\">\n <span [ngClass]=\"{ 'opcion-desactivada': item[atributoDisabled] }\">{{ item[atributoLabel] }}</span>\n </ng-template>\n </p-dropdown>\n <control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"id\"></control-messages>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i4$2.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "disabled", "itemSize", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
4401
4412
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitDropDownComponent, decorators: [{
4402
4413
  type: Component,
4403
4414
  args: [{ selector: "bit-dropdown", providers: [{
@@ -4625,7 +4636,7 @@ BitEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
4625
4636
  provide: NG_VALUE_ACCESSOR,
4626
4637
  useExisting: forwardRef(() => BitEditorComponent),
4627
4638
  multi: true
4628
- }], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp; <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\">\n {{ value_lectura && value_lectura != \"\" ? value_lectura : \"&nbsp;\" }}\n</p>\n<p-editor\n *ngIf=\"!readOnly && tipo == 'custom'\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [ngModel]=\"value\"\n styleClass=\"editor\"\n [disabled]=\"isDisabled\"\n [placeholder]=\"placeholder\"\n [style]=\"{ height: height + 'px' }\"\n (onInit)=\"onInit($event)\"\n (ngModelChange)=\"onChangeValue($event)\"\n (onTextChange)=\"_onTextChange($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n <p-header>\n <span class=\"ql-formats\" *ngIf=\"configuracion.fontSize\">\n <select class=\"ql-size\">\n <option value=\"small\">{{ \"bitnglibrary.form.biteditor.small\" | transloco }}</option>\n <!-- Note a missing, thus falsy value, is used to reset to default -->\n <option selected>{{ \"bitnglibrary.form.biteditor.normal\" | transloco }}</option>\n <option value=\"large\">{{ \"bitnglibrary.form.biteditor.large\" | transloco }}</option>\n <option value=\"huge\">{{ \"bitnglibrary.form.biteditor.huge\" | transloco }}</option>\n </select>\n </span>\n <span class=\"ql-formats\" *ngIf=\"configuracion.fontFormat\">\n <button class=\"ql-bold\" aria-label=\"Bold\"></button>\n <button class=\"ql-italic\" aria-label=\"Italic\"></button>\n <button class=\"ql-underline\" aria-label=\"Underline\"></button>\n <button class=\"ql-strike\" aria-label=\"Strikethrough\"></button>\n </span>\n <span class=\"ql-formats\" *ngIf=\"configuracion.bullet\">\n <button class=\"ql-list\" value=\"ordered\" type=\"button\"></button>\n <button class=\"ql-list\" value=\"bullet\" type=\"button\"></button>\n </span>\n <span class=\"ql-formats\" *ngIf=\"configuracion.link\">\n <button class=\"ql-link\" aria-label=\"Insert Link\" type=\"button\"></button>\n </span>\n </p-header>\n</p-editor>\n<p-editor\n *ngIf=\"!readOnly && (!tipo || tipo == 'default')\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [ngModel]=\"value\"\n styleClass=\"editor\"\n [placeholder]=\"placeholder\"\n [placeholder]=\"placeholder\"\n [style]=\"{ height: height + 'px' }\"\n (ngModelChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-editor>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$2.Header, selector: "p-header" }, { kind: "component", type: i5$2.Editor, selector: "p-editor", inputs: ["style", "styleClass", "placeholder", "formats", "modules", "bounds", "scrollingContainer", "debug", "readonly"], outputs: ["onTextChange", "onSelectionChange", "onInit"] }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }] });
4639
+ }], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content>&nbsp; <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span>&nbsp;&nbsp;\n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\">\n {{ value_lectura && value_lectura != \"\" ? value_lectura : \"&nbsp;\" }}\n</p>\n<p-editor\n *ngIf=\"!readOnly && tipo == 'custom'\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [ngModel]=\"value\"\n styleClass=\"editor\"\n [disabled]=\"isDisabled\"\n [placeholder]=\"placeholder\"\n [style]=\"{ height: height + 'px' }\"\n (onInit)=\"onInit($event)\"\n (ngModelChange)=\"onChangeValue($event)\"\n (onTextChange)=\"_onTextChange($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n <p-header>\n <span class=\"ql-formats\" *ngIf=\"configuracion.fontSize\">\n <select class=\"ql-size\">\n <option value=\"small\">{{ \"bitnglibrary.form.biteditor.small\" | transloco }}</option>\n <!-- Note a missing, thus falsy value, is used to reset to default -->\n <option selected>{{ \"bitnglibrary.form.biteditor.normal\" | transloco }}</option>\n <option value=\"large\">{{ \"bitnglibrary.form.biteditor.large\" | transloco }}</option>\n <option value=\"huge\">{{ \"bitnglibrary.form.biteditor.huge\" | transloco }}</option>\n </select>\n </span>\n <span class=\"ql-formats\" *ngIf=\"configuracion.fontFormat\">\n <button class=\"ql-bold\" aria-label=\"Bold\"></button>\n <button class=\"ql-italic\" aria-label=\"Italic\"></button>\n <button class=\"ql-underline\" aria-label=\"Underline\"></button>\n <button class=\"ql-strike\" aria-label=\"Strikethrough\"></button>\n </span>\n <span class=\"ql-formats\" *ngIf=\"configuracion.bullet\">\n <button class=\"ql-list\" value=\"ordered\" type=\"button\"></button>\n <button class=\"ql-list\" value=\"bullet\" type=\"button\"></button>\n </span>\n <span class=\"ql-formats\" *ngIf=\"configuracion.link\">\n <button class=\"ql-link\" aria-label=\"Insert Link\" type=\"button\"></button>\n </span>\n </p-header>\n</p-editor>\n<p-editor\n *ngIf=\"!readOnly && (!tipo || tipo == 'default')\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [ngModel]=\"value\"\n styleClass=\"editor\"\n [placeholder]=\"placeholder\"\n [placeholder]=\"placeholder\"\n [style]=\"{ height: height + 'px' }\"\n (ngModelChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-editor>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$1.Header, selector: "p-header" }, { kind: "component", type: i5$2.Editor, selector: "p-editor", inputs: ["style", "styleClass", "placeholder", "formats", "modules", "bounds", "scrollingContainer", "debug", "readonly"], outputs: ["onTextChange", "onSelectionChange", "onInit"] }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }] });
4629
4640
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: BitEditorComponent, decorators: [{
4630
4641
  type: Component,
4631
4642
  args: [{ selector: "bit-editor", providers: [{