bit-ng-library 18.1.0 → 18.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/README.md +21 -0
  2. package/esm2022/lib/base/components/base.component.mjs +3 -3
  3. package/esm2022/lib/sharedlibrary/components/breadcrumb/bit-breadcrumb.component.mjs +3 -3
  4. package/esm2022/lib/sharedlibrary/components/contol-messages/bit-control-messages.component.mjs +3 -3
  5. package/esm2022/lib/sharedlibrary/components/dialog/bit-dialog.component.mjs +3 -3
  6. package/esm2022/lib/sharedlibrary/components/footer/bit-footer-messages.component.mjs +3 -3
  7. package/esm2022/lib/sharedlibrary/components/footer/bit-footer.component.mjs +3 -3
  8. package/esm2022/lib/sharedlibrary/components/footer/bit-pajigator.component.mjs +3 -3
  9. package/esm2022/lib/sharedlibrary/components/form/amount/bit-amount.component.mjs +3 -3
  10. package/esm2022/lib/sharedlibrary/components/form/autocomplete/bit-autocomplete.component.mjs +3 -3
  11. package/esm2022/lib/sharedlibrary/components/form/bit-custom.component.mjs +3 -3
  12. package/esm2022/lib/sharedlibrary/components/form/bit-editable.component.mjs +3 -3
  13. package/esm2022/lib/sharedlibrary/components/form/bit-general.component.mjs +3 -3
  14. package/esm2022/lib/sharedlibrary/components/form/calendar/bit-calendar.component.mjs +3 -3
  15. package/esm2022/lib/sharedlibrary/components/form/checkbox/bit-checkbox.component.mjs +3 -3
  16. package/esm2022/lib/sharedlibrary/components/form/date/bit-date.component.mjs +3 -3
  17. package/esm2022/lib/sharedlibrary/components/form/datetime/bit-datetime.component.mjs +3 -3
  18. package/esm2022/lib/sharedlibrary/components/form/dropdown/bit-dropdown-general.component.mjs +18 -5
  19. package/esm2022/lib/sharedlibrary/components/form/dropdown/bit-dropdown-multiple.component.mjs +13 -20
  20. package/esm2022/lib/sharedlibrary/components/form/dropdown/bit-dropdown.component.mjs +4 -40
  21. package/esm2022/lib/sharedlibrary/components/form/editor/bit-editor.component.mjs +3 -3
  22. package/esm2022/lib/sharedlibrary/components/form/multiple-checkbox/bit-multiple-checkbox.component.mjs +11 -6
  23. package/esm2022/lib/sharedlibrary/components/form/number/bit-number.component.mjs +3 -3
  24. package/esm2022/lib/sharedlibrary/components/form/readonly/bit-readonly.component.mjs +3 -3
  25. package/esm2022/lib/sharedlibrary/components/form/switch/bit-switch-si-no.component.mjs +3 -3
  26. package/esm2022/lib/sharedlibrary/components/form/switch/bit-switch.component.mjs +3 -3
  27. package/esm2022/lib/sharedlibrary/components/form/text/bit-text.component.mjs +3 -3
  28. package/esm2022/lib/sharedlibrary/components/form/textarea/bit-textarea.component.mjs +3 -3
  29. package/esm2022/lib/sharedlibrary/components/form/time/bit-time.component.mjs +3 -3
  30. package/esm2022/lib/sharedlibrary/components/header/bit-header.component.mjs +3 -3
  31. package/esm2022/lib/sharedlibrary/components/help/bit-help.component.mjs +3 -3
  32. package/esm2022/lib/sharedlibrary/components/loading/bit-loading.component.mjs +3 -3
  33. package/esm2022/lib/sharedlibrary/components/misc/bit-boton-ayuda.component.mjs +3 -3
  34. package/esm2022/lib/sharedlibrary/components/misc/bit-column-boolean.component.mjs +3 -3
  35. package/esm2022/lib/sharedlibrary/components/misc/bit-domain-value.component.mjs +3 -3
  36. package/esm2022/lib/sharedlibrary/components/misc/bit-language-selector.component.mjs +3 -3
  37. package/esm2022/lib/sharedlibrary/components/misc/bit-sidebar.component.mjs +3 -3
  38. package/esm2022/lib/sharedlibrary/components/notificacion/bit-notification-error.component.mjs +3 -3
  39. package/esm2022/lib/sharedlibrary/components/notificacion/bit-notification-toast.component.mjs +3 -3
  40. package/esm2022/lib/sharedlibrary/components/toolbar/bit-toolbar.component.mjs +3 -3
  41. package/esm2022/lib/sharedlibrary/components/upload/bit-ng-upload.component.mjs +3 -3
  42. package/esm2022/lib/sharedlibrary/components/user/bit-user-controls.component.mjs +3 -3
  43. package/esm2022/lib/sharedlibrary/directives/bit-panel.directive.mjs +3 -3
  44. package/esm2022/lib/sharedlibrary/directives/edit-mode.directive.mjs +3 -3
  45. package/esm2022/lib/sharedlibrary/directives/focus-register.directive.mjs +3 -3
  46. package/esm2022/lib/sharedlibrary/directives/view-mode.directive.mjs +3 -3
  47. package/esm2022/lib/sharedlibrary/entities/entity-collection.service.mjs +65 -20
  48. package/esm2022/lib/sharedlibrary/entities/entity-data.service.mjs +3 -3
  49. package/esm2022/lib/sharedlibrary/entities/http-url-generator.mjs +3 -3
  50. package/esm2022/lib/sharedlibrary/guards/candeactivate.guard.mjs +3 -3
  51. package/esm2022/lib/sharedlibrary/pipes/bytes.pipe.mjs +3 -3
  52. package/esm2022/lib/sharedlibrary/pipes/capitalize.pipe.mjs +3 -3
  53. package/esm2022/lib/sharedlibrary/pipes/cut-text.pipe.mjs +3 -3
  54. package/esm2022/lib/sharedlibrary/pipes/domain-list-value.pipe.mjs +3 -3
  55. package/esm2022/lib/sharedlibrary/pipes/domain-value.pipe.mjs +3 -3
  56. package/esm2022/lib/sharedlibrary/pipes/list-value.pipe.mjs +3 -3
  57. package/esm2022/lib/sharedlibrary/pipes/other-actions.pipe.mjs +3 -3
  58. package/esm2022/lib/sharedlibrary/pipes/pipe-cantidadmoneda.pipe.mjs +3 -3
  59. package/esm2022/lib/sharedlibrary/pipes/remove-line-breaks.pipe.mjs +3 -3
  60. package/esm2022/lib/sharedlibrary/pipes/si-o-no.pipe.mjs +3 -3
  61. package/esm2022/lib/sharedlibrary/pipes/stringify.pipe.mjs +3 -3
  62. package/esm2022/lib/sharedlibrary/services/ayuda.service.mjs +3 -3
  63. package/esm2022/lib/sharedlibrary/services/clear-items.service.mjs +19 -0
  64. package/esm2022/lib/sharedlibrary/services/date-utils.service.mjs +3 -3
  65. package/esm2022/lib/sharedlibrary/services/domain.service.mjs +5 -5
  66. package/esm2022/lib/sharedlibrary/services/download.service.mjs +3 -3
  67. package/esm2022/lib/sharedlibrary/services/focus.service.mjs +3 -3
  68. package/esm2022/lib/sharedlibrary/services/general-utils.service.mjs +3 -3
  69. package/esm2022/lib/sharedlibrary/services/http-utils.service.mjs +3 -3
  70. package/esm2022/lib/sharedlibrary/services/index.mjs +2 -1
  71. package/esm2022/lib/sharedlibrary/services/locale.service.mjs +3 -3
  72. package/esm2022/lib/sharedlibrary/services/message.service.mjs +3 -3
  73. package/esm2022/lib/sharedlibrary/services/session-shared.service.mjs +3 -3
  74. package/esm2022/lib/sharedlibrary/services/storage.service.mjs +3 -3
  75. package/esm2022/lib/sharedlibrary/services/tableview.service.mjs +3 -3
  76. package/esm2022/lib/sharedlibrary/services/toolbar.service.mjs +3 -3
  77. package/esm2022/lib/sharedlibrary/services/translate.service.mjs +3 -3
  78. package/esm2022/lib/sharedlibrary/services/upload.service.mjs +3 -3
  79. package/esm2022/lib/sharedlibrary/sharedlibrary.module.mjs +4 -4
  80. package/esm2022/lib/sharedlibrary/utils/custom-http-interceptor.mjs +3 -3
  81. package/esm2022/public-api.mjs +2 -1
  82. package/fesm2022/bit-ng-library.mjs +341 -302
  83. package/fesm2022/bit-ng-library.mjs.map +1 -1
  84. package/lib/sharedlibrary/components/form/dropdown/bit-dropdown-general.component.d.ts +4 -1
  85. package/lib/sharedlibrary/components/form/dropdown/bit-dropdown-general.component.d.ts.map +1 -1
  86. package/lib/sharedlibrary/components/form/dropdown/bit-dropdown-multiple.component.d.ts +1 -3
  87. package/lib/sharedlibrary/components/form/dropdown/bit-dropdown-multiple.component.d.ts.map +1 -1
  88. package/lib/sharedlibrary/components/form/dropdown/bit-dropdown.component.d.ts +1 -5
  89. package/lib/sharedlibrary/components/form/dropdown/bit-dropdown.component.d.ts.map +1 -1
  90. package/lib/sharedlibrary/components/form/multiple-checkbox/bit-multiple-checkbox.component.d.ts +1 -0
  91. package/lib/sharedlibrary/components/form/multiple-checkbox/bit-multiple-checkbox.component.d.ts.map +1 -1
  92. package/lib/sharedlibrary/entities/entity-collection.service.d.ts +21 -5
  93. package/lib/sharedlibrary/entities/entity-collection.service.d.ts.map +1 -1
  94. package/lib/sharedlibrary/services/clear-items.service.d.ts +10 -0
  95. package/lib/sharedlibrary/services/clear-items.service.d.ts.map +1 -0
  96. package/lib/sharedlibrary/services/index.d.ts +1 -0
  97. package/lib/sharedlibrary/services/index.d.ts.map +1 -1
  98. package/package.json +1 -1
  99. package/public-api.d.ts +1 -0
  100. package/public-api.d.ts.map +1 -1
package/README.md CHANGED
@@ -26,6 +26,19 @@ 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
+ ## [18.1.2] - 2024-09-12
30
+
31
+ Actualizadas las librerías de Angular y NgRx.
32
+ Mejoras en bit-checkbox-multiple: La checkbox de "all" se sincroniza según las checkbox marcadas en la lista de checkboxes.
33
+ (se copia la funcionalidad desde la versión 17.1.1)
34
+ Fix error en bit-dropdown-multiple que no aparecía el label cuando se mostraban las opciones seleccionadas. Además se corrige un error a la hora de pintar
35
+ las opciones seleccionadas y se añaden los estilos al propio componente
36
+
37
+ ## [18.1.1] - 2024-25-07
38
+
39
+ Se exporta ClearItemsService que por error no se estaba exportando
40
+ Se soluciona un bug en el método getTranslatedDomain que hacía que si se pasaba un domain undefined se producía un error no controlado
41
+
29
42
  ## [18.1.0] - 2024-22-07
30
43
 
31
44
  Versión para Angular 18 que contiene los cambios de la versión 17.0.14 (sidebar, etc.)
@@ -34,6 +47,14 @@ Versión para Angular 18 que contiene los cambios de la versión 17.0.14 (sideba
34
47
 
35
48
  Versión para Angular 18 sin los cambios de la versión 17.0.14
36
49
 
50
+ ## [17.1.1] - 2024-09-12
51
+
52
+ Mejoras en bit-checkbox-multiple: La checkbox de "all" se sincroniza según las checkbox marcadas en la lista de checkboxes.
53
+
54
+ ## [17.1.0] - 2024-07-23
55
+
56
+ Se modifica la función getTranslatedDomain del servicio DomainService para aceptar un Signal como parámetro en vez de un observable
57
+
37
58
  ## [17.0.14] - 2024-06-20
38
59
 
39
60
  Se añaden los componentes:
@@ -10,10 +10,10 @@ export class BaseComponent {
10
10
  this.destroy$.next(true);
11
11
  this.destroy$.unsubscribe();
12
12
  }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
14
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.5", type: BaseComponent, ngImport: i0 }); }
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
14
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.6", type: BaseComponent, ngImport: i0 }); }
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BaseComponent, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BaseComponent, decorators: [{
17
17
  type: Directive
18
18
  }] });
19
19
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iaXQtbmctbGlicmFyeS9zcmMvbGliL2Jhc2UvY29tcG9uZW50cy9iYXNlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQy9CLE9BQU8sRUFBRSxVQUFVLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHOUQsTUFBTSxPQUFnQixhQUFhO0lBRG5DO1FBRUUsYUFBUSxHQUFxQixJQUFJLE9BQU8sRUFBVyxDQUFDO1FBQ3BELGVBQVUsR0FBRyxNQUFNLENBQUMsVUFBVSxDQUFDLENBQUM7S0FNakM7SUFKQyxXQUFXO1FBQ1QsSUFBSSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7UUFDekIsSUFBSSxDQUFDLFFBQVEsQ0FBQyxXQUFXLEVBQUUsQ0FBQztJQUM5QixDQUFDOzhHQVBtQixhQUFhO2tHQUFiLGFBQWE7OzJGQUFiLGFBQWE7a0JBRGxDLFNBQVMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBTdWJqZWN0IH0gZnJvbSBcInJ4anNcIjtcbmltcG9ydCB7IERlc3Ryb3lSZWYsIERpcmVjdGl2ZSwgaW5qZWN0IH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcblxuQERpcmVjdGl2ZSgpXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgQmFzZUNvbXBvbmVudCB7XG4gIGRlc3Ryb3kkOiBTdWJqZWN0PGJvb2xlYW4+ID0gbmV3IFN1YmplY3Q8Ym9vbGVhbj4oKTtcbiAgZGVzdHJveVJlZiA9IGluamVjdChEZXN0cm95UmVmKTtcblxuICBuZ09uRGVzdHJveSgpIHtcbiAgICB0aGlzLmRlc3Ryb3kkLm5leHQodHJ1ZSk7XG4gICAgdGhpcy5kZXN0cm95JC51bnN1YnNjcmliZSgpO1xuICB9XG59XG4iXX0=
@@ -34,8 +34,8 @@ export class BitBreadCrumbComponent {
34
34
  }
35
35
  return false; //para evitar que navegue al href="#"
36
36
  }
37
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitBreadCrumbComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
38
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.5", type: BitBreadCrumbComponent, selector: "bit-breadcrumb", inputs: { bc: ["breadcrumb", "bc"] }, ngImport: i0, template: `
37
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitBreadCrumbComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
38
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: BitBreadCrumbComponent, selector: "bit-breadcrumb", inputs: { bc: ["breadcrumb", "bc"] }, ngImport: i0, template: `
39
39
  <ul class="breadcrumb">
40
40
  @for (path of bc; track path; let i = $index) {
41
41
  <li [class.active]="i == bc.length - 1">
@@ -50,7 +50,7 @@ export class BitBreadCrumbComponent {
50
50
  </ul>
51
51
  `, isInline: true, dependencies: [{ kind: "pipe", type: i2.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
52
52
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitBreadCrumbComponent, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitBreadCrumbComponent, decorators: [{
54
54
  type: Component,
55
55
  args: [{
56
56
  selector: "bit-breadcrumb",
@@ -23,8 +23,8 @@ export class BitControlMessages {
23
23
  }
24
24
  return false;
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitControlMessages, deps: [{ token: i1.FocusService }, { token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
27
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.5", type: BitControlMessages, selector: "control-messages", inputs: { control: "control", field: "field" }, ngImport: i0, template: `
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitControlMessages, deps: [{ token: i1.FocusService }, { token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: BitControlMessages, selector: "control-messages", inputs: { control: "control", field: "field" }, ngImport: i0, template: `
28
28
  @if (isError) {
29
29
  <div>
30
30
  <span class="mensaje-error-input">{{ errorMessage$ | async }}</span>
@@ -32,7 +32,7 @@ export class BitControlMessages {
32
32
  }
33
33
  `, isInline: true, dependencies: [{ kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitControlMessages, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitControlMessages, decorators: [{
36
36
  type: Component,
37
37
  args: [{
38
38
  selector: "control-messages",
@@ -111,8 +111,8 @@ export class BitDialogComponent extends BaseComponent {
111
111
  return '<span class="' + cls + '">' + match + "</span>";
112
112
  });
113
113
  }
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitDialogComponent, deps: [{ token: i1.BitMessageService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
115
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.5", type: BitDialogComponent, selector: "bit-dialog", usesInheritance: true, ngImport: i0, template: `
114
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitDialogComponent, deps: [{ token: i1.BitMessageService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
115
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: BitDialogComponent, selector: "bit-dialog", usesInheritance: true, ngImport: i0, template: `
116
116
  @if (!isSeverityInfo) {
117
117
  <p-dialog
118
118
  class="scroll-y scroll-{{ message.height }}"
@@ -163,7 +163,7 @@ export class BitDialogComponent extends BaseComponent {
163
163
  }
164
164
  `, isInline: true, dependencies: [{ kind: "component", type: i3.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] }); }
165
165
  }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitDialogComponent, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitDialogComponent, decorators: [{
167
167
  type: Component,
168
168
  args: [{
169
169
  selector: "bit-dialog",
@@ -135,10 +135,10 @@ export class BitFooterMessagesComponent {
135
135
  get errorMessage() {
136
136
  return this.translateService.selectTranslate(this.messages.get(PageStatus.Error));
137
137
  }
138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitFooterMessagesComponent, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
139
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.5", type: BitFooterMessagesComponent, selector: "bit-footer-messages", inputs: { messages: "messages", status: "status", typeFooter: "typeFooter", maxCurrentItems: "maxCurrentItems", totalItems: "totalItems" }, ngImport: i0, template: "<div>\n <div [class]=\"getStyle()\">\n <i class=\"fa fa-info\"></i>\n <span>{{message | async}}</span>\n </div>\n\n <bit-help></bit-help>\n</div>", dependencies: [{ kind: "component", type: i2.BitHelpComponent, selector: "bit-help" }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
138
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitFooterMessagesComponent, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
139
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: BitFooterMessagesComponent, selector: "bit-footer-messages", inputs: { messages: "messages", status: "status", typeFooter: "typeFooter", maxCurrentItems: "maxCurrentItems", totalItems: "totalItems" }, ngImport: i0, template: "<div>\n <div [class]=\"getStyle()\">\n <i class=\"fa fa-info\"></i>\n <span>{{message | async}}</span>\n </div>\n\n <bit-help></bit-help>\n</div>", dependencies: [{ kind: "component", type: i2.BitHelpComponent, selector: "bit-help" }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
140
140
  }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitFooterMessagesComponent, decorators: [{
141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitFooterMessagesComponent, decorators: [{
142
142
  type: Component,
143
143
  args: [{ selector: 'bit-footer-messages', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n <div [class]=\"getStyle()\">\n <i class=\"fa fa-info\"></i>\n <span>{{message | async}}</span>\n </div>\n\n <bit-help></bit-help>\n</div>" }]
144
144
  }], ctorParameters: () => [{ type: i1.TranslateService }], propDecorators: { messages: [{
@@ -78,10 +78,10 @@ export class BitFooterComponent {
78
78
  return "footer";
79
79
  }
80
80
  }
81
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
82
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.5", type: BitFooterComponent, selector: "bit-footer", inputs: { totalItems: "totalItems", filter: "filter", paginator: "paginator", mostrarAvisos: "mostrarAvisos", fixed: "fixed", messages: "messages", status: "status", typeFooter: ["type", "typeFooter"], mostrarEnlacesPaginas: "mostrarEnlacesPaginas", mostrarPrimeraUltimaPagina: "mostrarPrimeraUltimaPagina", visible: "visible", forcePageLinkSize: "forcePageLinkSize" }, outputs: { onPageChange: "onPageChange", onNewPageSize: "onNewPageSize" }, usesOnChanges: true, ngImport: i0, template: "<footer [class]=\"getStyle()\">\n\n @if (showScroll()) {\n <div class=\"scroll-outer-container\">\n <div class=\"pajigator-container\">\n <label>{{\"bitnglibrary.footer.results\" | transloco}}</label>\n @if (maxCurrentItems >= totalItems) {\n <span>{{totalItems}}</span>\n }\n @if (maxCurrentItems < totalItems) {\n <span>{{maxCurrentItems}} / {{totalItems}}</span>\n }\n </div>\n </div>\n }\n\n @if (showPajigator()) {\n <bit-pajigator\n [totalItems]=\"totalItems\"\n [page]=\"filter ? filter.pagina : 1\"\n [itemsPerPage]=\"filter ? filter.resultados : 20\"\n [rowsPerPageOptions]=\"[baseItemsPerPage,baseItemsPerPage*5,baseItemsPerPage*25,baseItemsPerPage*50]\"\n [maxCurrentItems]=\"maxCurrentItems\"\n (onPageChange)=\"pageChange($event)\"\n (onPageSizeChange)=\"pageSizeChange($event)\"></bit-pajigator>\n }\n\n @if (mostrarAvisos) {\n <bit-footer-messages\n [messages]=\"messages\"\n [typeFooter]=\"typeFooter\"\n [status]=\"status\"\n [maxCurrentItems]=\"maxCurrentItems\"\n [totalItems]=\"totalItems\"></bit-footer-messages>\n }\n\n</footer>\n", dependencies: [{ kind: "component", type: i1.BitPajigatorComponent, selector: "bit-pajigator", inputs: ["page", "totalItems", "itemsPerPage", "rowsPerPageOptions", "maxCurrentItems"], outputs: ["onPageChange", "onPageSizeChange"] }, { kind: "component", type: i2.BitFooterMessagesComponent, selector: "bit-footer-messages", inputs: ["messages", "status", "typeFooter", "maxCurrentItems", "totalItems"] }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
81
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
82
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: BitFooterComponent, selector: "bit-footer", inputs: { totalItems: "totalItems", filter: "filter", paginator: "paginator", mostrarAvisos: "mostrarAvisos", fixed: "fixed", messages: "messages", status: "status", typeFooter: ["type", "typeFooter"], mostrarEnlacesPaginas: "mostrarEnlacesPaginas", mostrarPrimeraUltimaPagina: "mostrarPrimeraUltimaPagina", visible: "visible", forcePageLinkSize: "forcePageLinkSize" }, outputs: { onPageChange: "onPageChange", onNewPageSize: "onNewPageSize" }, usesOnChanges: true, ngImport: i0, template: "<footer [class]=\"getStyle()\">\n\n @if (showScroll()) {\n <div class=\"scroll-outer-container\">\n <div class=\"pajigator-container\">\n <label>{{\"bitnglibrary.footer.results\" | transloco}}</label>\n @if (maxCurrentItems >= totalItems) {\n <span>{{totalItems}}</span>\n }\n @if (maxCurrentItems < totalItems) {\n <span>{{maxCurrentItems}} / {{totalItems}}</span>\n }\n </div>\n </div>\n }\n\n @if (showPajigator()) {\n <bit-pajigator\n [totalItems]=\"totalItems\"\n [page]=\"filter ? filter.pagina : 1\"\n [itemsPerPage]=\"filter ? filter.resultados : 20\"\n [rowsPerPageOptions]=\"[baseItemsPerPage,baseItemsPerPage*5,baseItemsPerPage*25,baseItemsPerPage*50]\"\n [maxCurrentItems]=\"maxCurrentItems\"\n (onPageChange)=\"pageChange($event)\"\n (onPageSizeChange)=\"pageSizeChange($event)\"></bit-pajigator>\n }\n\n @if (mostrarAvisos) {\n <bit-footer-messages\n [messages]=\"messages\"\n [typeFooter]=\"typeFooter\"\n [status]=\"status\"\n [maxCurrentItems]=\"maxCurrentItems\"\n [totalItems]=\"totalItems\"></bit-footer-messages>\n }\n\n</footer>\n", dependencies: [{ kind: "component", type: i1.BitPajigatorComponent, selector: "bit-pajigator", inputs: ["page", "totalItems", "itemsPerPage", "rowsPerPageOptions", "maxCurrentItems"], outputs: ["onPageChange", "onPageSizeChange"] }, { kind: "component", type: i2.BitFooterMessagesComponent, selector: "bit-footer-messages", inputs: ["messages", "status", "typeFooter", "maxCurrentItems", "totalItems"] }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
83
83
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitFooterComponent, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitFooterComponent, decorators: [{
85
85
  type: Component,
86
86
  args: [{ selector: "bit-footer", changeDetection: ChangeDetectionStrategy.OnPush, template: "<footer [class]=\"getStyle()\">\n\n @if (showScroll()) {\n <div class=\"scroll-outer-container\">\n <div class=\"pajigator-container\">\n <label>{{\"bitnglibrary.footer.results\" | transloco}}</label>\n @if (maxCurrentItems >= totalItems) {\n <span>{{totalItems}}</span>\n }\n @if (maxCurrentItems < totalItems) {\n <span>{{maxCurrentItems}} / {{totalItems}}</span>\n }\n </div>\n </div>\n }\n\n @if (showPajigator()) {\n <bit-pajigator\n [totalItems]=\"totalItems\"\n [page]=\"filter ? filter.pagina : 1\"\n [itemsPerPage]=\"filter ? filter.resultados : 20\"\n [rowsPerPageOptions]=\"[baseItemsPerPage,baseItemsPerPage*5,baseItemsPerPage*25,baseItemsPerPage*50]\"\n [maxCurrentItems]=\"maxCurrentItems\"\n (onPageChange)=\"pageChange($event)\"\n (onPageSizeChange)=\"pageSizeChange($event)\"></bit-pajigator>\n }\n\n @if (mostrarAvisos) {\n <bit-footer-messages\n [messages]=\"messages\"\n [typeFooter]=\"typeFooter\"\n [status]=\"status\"\n [maxCurrentItems]=\"maxCurrentItems\"\n [totalItems]=\"totalItems\"></bit-footer-messages>\n }\n\n</footer>\n" }]
87
87
  }], ctorParameters: () => [], propDecorators: { totalItems: [{
@@ -59,10 +59,10 @@ export class BitPajigatorComponent {
59
59
  get showRightNavigationButton() {
60
60
  return this.totalItems > 0 && this.page < this.maxPages;
61
61
  }
62
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitPajigatorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
63
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.5", type: BitPajigatorComponent, selector: "bit-pajigator", inputs: { page: "page", totalItems: "totalItems", itemsPerPage: "itemsPerPage", rowsPerPageOptions: "rowsPerPageOptions", maxCurrentItems: "maxCurrentItems" }, outputs: { onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"pajigator-outer-container\">\n <div class=\"pajigator-container\">\n <div class=\"pajigator-results-container\">\n <span class=\"pajigator-results-label\">{{\"bitnglibrary.footer.results\" | transloco}}</span>\n @if (maxCurrentItems >= totalItems) {\n <span>{{totalItems}}</span>\n }\n @if (maxCurrentItems < totalItems) {\n <span>{{maxCurrentItems}} / {{totalItems}}</span>\n }\n </div>\n <div class=\"pajigator-page-size\">\n <div class=\"pajigator-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=\"pajigator-range-actions\">\n @if (showPageInfo) {\n <div class=\"pajigator-range-label\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n }\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.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "component", type: i2.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { 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.Ripple, selector: "[pRipple]" }, { kind: "pipe", type: i5.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitPajigatorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
63
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: BitPajigatorComponent, selector: "bit-pajigator", inputs: { page: "page", totalItems: "totalItems", itemsPerPage: "itemsPerPage", rowsPerPageOptions: "rowsPerPageOptions", maxCurrentItems: "maxCurrentItems" }, outputs: { onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"pajigator-outer-container\">\n <div class=\"pajigator-container\">\n <div class=\"pajigator-results-container\">\n <span class=\"pajigator-results-label\">{{\"bitnglibrary.footer.results\" | transloco}}</span>\n @if (maxCurrentItems >= totalItems) {\n <span>{{totalItems}}</span>\n }\n @if (maxCurrentItems < totalItems) {\n <span>{{maxCurrentItems}} / {{totalItems}}</span>\n }\n </div>\n <div class=\"pajigator-page-size\">\n <div class=\"pajigator-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=\"pajigator-range-actions\">\n @if (showPageInfo) {\n <div class=\"pajigator-range-label\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n }\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.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "component", type: i2.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { 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.Ripple, selector: "[pRipple]" }, { kind: "pipe", type: i5.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
64
64
  }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitPajigatorComponent, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitPajigatorComponent, decorators: [{
66
66
  type: Component,
67
67
  args: [{ selector: 'bit-pajigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"pajigator-outer-container\">\n <div class=\"pajigator-container\">\n <div class=\"pajigator-results-container\">\n <span class=\"pajigator-results-label\">{{\"bitnglibrary.footer.results\" | transloco}}</span>\n @if (maxCurrentItems >= totalItems) {\n <span>{{totalItems}}</span>\n }\n @if (maxCurrentItems < totalItems) {\n <span>{{maxCurrentItems}} / {{totalItems}}</span>\n }\n </div>\n <div class=\"pajigator-page-size\">\n <div class=\"pajigator-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=\"pajigator-range-actions\">\n @if (showPageInfo) {\n <div class=\"pajigator-range-label\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n }\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>" }]
68
68
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { page: [{
@@ -17,14 +17,14 @@ export class BitAmountComponent extends BitNumberComponent {
17
17
  this.maximoDecimales = 2;
18
18
  this.separadorGrupo = true;
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitAmountComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.5", type: BitAmountComponent, selector: "bit-amount", inputs: { prefijo: "prefijo", sufijo: "sufijo", minimo: "minimo", maximo: "maximo", mostrarBotones: "mostrarBotones", incremento: "incremento" }, providers: [{
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitAmountComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component }); }
21
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: BitAmountComponent, selector: "bit-amount", inputs: { prefijo: "prefijo", sufijo: "sufijo", minimo: "minimo", maximo: "maximo", mostrarBotones: "mostrarBotones", incremento: "incremento" }, providers: [{
22
22
  provide: NG_VALUE_ACCESSOR,
23
23
  useExisting: forwardRef(() => BitAmountComponent),
24
24
  multi: true
25
25
  }], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel) {\n <label>\n <ng-content></ng-content>&nbsp;@if (obligatorio) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n }&nbsp;&nbsp;\n @if (ayuda) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly) {\n <p class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n}\n@if (!tooltipTexto && !readOnly) {\n <p-inputNumber\n #inputReference\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva\"\n [placeholder]=\"placeholder\"\n [mode]=\"modo\"\n [currency]=\"divisa\"\n [prefix]=\"prefijo\"\n [suffix]=\"sufijo\"\n [min]=\"minimo\"\n [max]=\"maximo\"\n [minFractionDigits]=\"numeroDecimales\"\n [maxFractionDigits]=\"maximoDecimales == null ? numeroDecimales : maximoDecimales\"\n [useGrouping]=\"separadorGrupo\"\n [showButtons]=\"mostrarBotones\"\n [step]=\"incremento\"\n locale=\"es-ES\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n />\n}\n@if (tooltipTexto && !readOnly) {\n <p-inputNumber\n #inputReference\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva\"\n [pTooltip]=\"tooltipTexto\"\n [tooltipPosition]=\"tooltipPosicion\"\n [mode]=\"modo\"\n [currency]=\"divisa\"\n [prefix]=\"prefijo\"\n [suffix]=\"sufijo\"\n [min]=\"minimo\"\n [max]=\"maximo\"\n [minFractionDigits]=\"numeroDecimales\"\n [maxFractionDigits]=\"maximoDecimales == null ? numeroDecimales : maximoDecimales\"\n [useGrouping]=\"separadorGrupo\"\n [showButtons]=\"mostrarBotones\"\n [step]=\"incremento\"\n locale=\"es-ES\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n />\n}\n@if (control != null) {\n <control-messages [control]=\"control\" [field]=\"nombre\"></control-messages>\n}\n", dependencies: [{ 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.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i4.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabelledBy", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "variant", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "component", type: i5.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitAmountComponent, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitAmountComponent, decorators: [{
28
28
  type: Component,
29
29
  args: [{ selector: "bit-amount", providers: [{
30
30
  provide: NG_VALUE_ACCESSOR,
@@ -88,8 +88,8 @@ export class BitAutoCompleteComponent extends BitCustomComponent {
88
88
  _findObject(value) {
89
89
  return value && this.suggestions.find((obj) => obj[this.suggestionField] === value);
90
90
  }
91
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitAutoCompleteComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component }); }
92
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.5", type: BitAutoCompleteComponent, selector: "bit-autocomplete", inputs: { suggestions: "suggestions", suggestionField: "suggestionField", multiple: "multiple", inputStyleClass: "inputStyleClass", id: "id", displayValue: "displayValue" }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onClear: "onClear" }, providers: [
91
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitAutoCompleteComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component }); }
92
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: BitAutoCompleteComponent, selector: "bit-autocomplete", inputs: { suggestions: "suggestions", suggestionField: "suggestionField", multiple: "multiple", inputStyleClass: "inputStyleClass", id: "id", displayValue: "displayValue" }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onClear: "onClear" }, providers: [
93
93
  {
94
94
  provide: NG_VALUE_ACCESSOR,
95
95
  useExisting: forwardRef(() => BitAutoCompleteComponent),
@@ -97,7 +97,7 @@ export class BitAutoCompleteComponent extends BitCustomComponent {
97
97
  }
98
98
  ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if (!hideLabel) {\n <label>\n <ng-content></ng-content>&nbsp;@if (obligatorio) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n }&nbsp;&nbsp;\n @if (ayuda) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly) {\n <p class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n}\n@if (!readOnly) {\n <p-autoComplete\n [(ngModel)]=\"value\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [placeholder]=\"placeholder\"\n delay=\"400\"\n [suggestions]=\"suggestions_mapped\"\n [multiple]=\"multiple\"\n [inputStyleClass]=\"inputStyleClass\"\n appendTo=\"body\"\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}\n@if (control != null) {\n <control-messages [control]=\"control\" [field]=\"nombre\"></control-messages>\n}\n", dependencies: [{ kind: "component", type: i2.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", "overlayOptions", "suggestions", "itemSize", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "variant"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { 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.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] }); }
99
99
  }
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitAutoCompleteComponent, decorators: [{
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitAutoCompleteComponent, decorators: [{
101
101
  type: Component,
102
102
  args: [{ selector: "bit-autocomplete", providers: [
103
103
  {
@@ -39,10 +39,10 @@ export class BitCustomComponent extends BitGeneralComponent {
39
39
  registerOnTouched(fn) {
40
40
  this._onTouch = fn;
41
41
  }
42
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitCustomComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Directive }); }
43
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.5", type: BitCustomComponent, usesInheritance: true, ngImport: i0 }); }
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitCustomComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Directive }); }
43
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.6", type: BitCustomComponent, usesInheritance: true, ngImport: i0 }); }
44
44
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitCustomComponent, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitCustomComponent, decorators: [{
46
46
  type: Directive
47
47
  }], ctorParameters: () => [{ type: i1.AyudaService }] });
48
48
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYml0LWN1c3RvbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iaXQtbmctbGlicmFyeS9zcmMvbGliL3NoYXJlZGxpYnJhcnkvY29tcG9uZW50cy9mb3JtL2JpdC1jdXN0b20uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHMUMsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7OztBQUU5RDs7O0dBR0c7QUFF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l9vblRvdWNoKCk7XG4gICAgdGhpcy5vblRvdWNoLmVtaXQoKTtcbiAgfVxuXG4gIHJlZ2lzdGVyT25DaGFuZ2UoZm46IGFueSkge1xuICAgIHRoaXMuX29uQ2hhbmdlID0gZm47XG4gIH1cblxuICByZWdpc3Rlck9uVG91Y2hlZChmbjogYW55KSB7XG4gICAgdGhpcy5fb25Ub3VjaCA9IGZuO1xuICB9XG59XG4iXX0=
@@ -66,10 +66,10 @@ export class BitEditableComponent extends BaseComponent {
66
66
  this.update.next(null);
67
67
  this.mode = "view";
68
68
  }
69
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitEditableComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
70
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.5", type: BitEditableComponent, selector: "bit-editable", outputs: { update: "update" }, queries: [{ propertyName: "viewModeTpl", first: true, predicate: ViewModeDirective, descendants: true }, { propertyName: "editModeTpl", first: true, predicate: EditModeDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ` <ng-container *ngTemplateOutlet="currentView"></ng-container> `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
69
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitEditableComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
70
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: BitEditableComponent, selector: "bit-editable", outputs: { update: "update" }, queries: [{ propertyName: "viewModeTpl", first: true, predicate: ViewModeDirective, descendants: true }, { propertyName: "editModeTpl", first: true, predicate: EditModeDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ` <ng-container *ngTemplateOutlet="currentView"></ng-container> `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
71
71
  }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitEditableComponent, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitEditableComponent, decorators: [{
73
73
  type: Component,
74
74
  args: [{
75
75
  selector: "bit-editable",
@@ -30,10 +30,10 @@ export class BitGeneralComponent extends BaseComponent {
30
30
  showAyuda() {
31
31
  this.ayudaService.mostrarAyuda(this.ayuda);
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitGeneralComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Directive }); }
34
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.5", type: BitGeneralComponent, inputs: { control: ["formControl", "control"], nombre: "nombre", nombreDirectiva: "nombreDirectiva", label: "label", estilo: "estilo", tooltipTexto: "tooltipTexto", tooltipPosicion: "tooltipPosicion", ayuda: "ayuda", placeholder: "placeholder", readOnly: "readOnly", hideLabel: "hideLabel", forceObligatorio: "forceObligatorio", testid: "testid" }, outputs: { onChange: "onChange", onTouch: "onTouch", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0 }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitGeneralComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Directive }); }
34
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.6", type: BitGeneralComponent, inputs: { control: ["formControl", "control"], nombre: "nombre", nombreDirectiva: "nombreDirectiva", label: "label", estilo: "estilo", tooltipTexto: "tooltipTexto", tooltipPosicion: "tooltipPosicion", ayuda: "ayuda", placeholder: "placeholder", readOnly: "readOnly", hideLabel: "hideLabel", forceObligatorio: "forceObligatorio", testid: "testid" }, outputs: { onChange: "onChange", onTouch: "onTouch", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0 }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitGeneralComponent, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitGeneralComponent, decorators: [{
37
37
  type: Directive
38
38
  }], ctorParameters: () => [{ type: i1.AyudaService }], propDecorators: { control: [{
39
39
  type: Input,
@@ -73,10 +73,10 @@ export class BitCalendarComponent extends BitCustomComponent {
73
73
  isValueCorrect(value) {
74
74
  return moment(value, this.visual_format, true).isValid();
75
75
  }
76
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitCalendarComponent, deps: [{ token: i1.AyudaService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Directive }); }
77
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.5", type: BitCalendarComponent, inputs: { fechaMinima: "fechaMinima", fechaMaxima: "fechaMaxima", calendarReadOnlyInput: "calendarReadOnlyInput", showButtonBar: "showButtonBar", format: "format", appendTo: "appendTo" }, outputs: { onSelect: "onSelect" }, usesInheritance: true, ngImport: i0 }); }
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitCalendarComponent, deps: [{ token: i1.AyudaService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Directive }); }
77
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.6", type: BitCalendarComponent, inputs: { fechaMinima: "fechaMinima", fechaMaxima: "fechaMaxima", calendarReadOnlyInput: "calendarReadOnlyInput", showButtonBar: "showButtonBar", format: "format", appendTo: "appendTo" }, outputs: { onSelect: "onSelect" }, usesInheritance: true, ngImport: i0 }); }
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitCalendarComponent, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitCalendarComponent, decorators: [{
80
80
  type: Directive
81
81
  }], ctorParameters: () => [{ type: i1.AyudaService }, { type: i2.TranslateService }], propDecorators: { fechaMinima: [{
82
82
  type: Input
@@ -21,14 +21,14 @@ export class BitCheckBoxComponent extends BitCustomComponent {
21
21
  this.value = event.checked;
22
22
  this.changeComponentValue(this.value);
23
23
  }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitCheckBoxComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.5", type: BitCheckBoxComponent, selector: "bit-checkbox", providers: [{
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitCheckBoxComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: BitCheckBoxComponent, selector: "bit-checkbox", providers: [{
26
26
  provide: NG_VALUE_ACCESSOR,
27
27
  useExisting: forwardRef(() => BitCheckBoxComponent),
28
28
  multi: true
29
29
  }], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel) {\n <label>\n <ng-content></ng-content>&nbsp;@if (obligatorio) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n }&nbsp;&nbsp;\n @if (ayuda) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly) {\n <p class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n}\n@if (!readOnly) {\n <p-checkbox\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\n@if (ayuda) {\n <i (click)=\"showAyuda()\" class=\"btn-ayuda-checkbox fa fa-question\"></i>\n}\n\n@if (control != null) {\n <control-messages [control]=\"control\" [field]=\"nombre\"></control-messages>\n}\n", dependencies: [{ kind: "component", type: i2.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "autofocus", "trueValue", "falseValue", "variant"], outputs: ["onChange", "onFocus", "onBlur"] }, { 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.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitCheckBoxComponent, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitCheckBoxComponent, decorators: [{
32
32
  type: Component,
33
33
  args: [{ selector: "bit-checkbox", providers: [{
34
34
  provide: NG_VALUE_ACCESSOR,
@@ -42,14 +42,14 @@ export class BitDateComponent extends BitCalendarComponent {
42
42
  getDateFormat() {
43
43
  return this.format ? this.format : DateUtils.FORMAT_SHORT_DATE;
44
44
  }
45
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitDateComponent, deps: [{ token: i1.AyudaService }, { token: i2.TranslateService }, { token: i3.DateUtils }], target: i0.ɵɵFactoryTarget.Component }); }
46
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.5", type: BitDateComponent, selector: "bit-date", providers: [{
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitDateComponent, deps: [{ token: i1.AyudaService }, { token: i2.TranslateService }, { token: i3.DateUtils }], target: i0.ɵɵFactoryTarget.Component }); }
46
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: BitDateComponent, selector: "bit-date", providers: [{
47
47
  provide: NG_VALUE_ACCESSOR,
48
48
  useExisting: forwardRef(() => BitDateComponent),
49
49
  multi: true
50
50
  }], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel) {\n <label>\n <ng-content></ng-content>&nbsp;@if (obligatorio) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n }&nbsp;&nbsp;\n @if (ayuda) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly) {\n <p class=\"lectura\" [id]=\"nombre\">{{ value_lectura | date: \"dd/MM/yyyy\" }}</p>\n}\n@if (!readOnly) {\n <p-calendar\n class=\"FormControl\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [(ngModel)]=\"value\"\n dateFormat=\"dd/mm/yy\"\n placeholder=\"{{ placeholder }}\"\n [monthNavigator]=\"true\"\n [readonlyInput]=\"calendarReadOnlyInput\"\n [minDate]=\"fechaMinima\"\n [maxDate]=\"fechaMaxima\"\n [yearNavigator]=\"true\"\n yearRange=\"2000:2050\"\n [firstDayOfWeek]=\"1\"\n [locale]=\"locale\"\n [showButtonBar]=\"showButtonBar\"\n [appendTo]=\"appendTo\"\n (onSelect)=\"_onSelect(value)\"\n (onClear)=\"_onClear()\"\n (onClearClick)=\"_onClear()\"\n (onFocus)=\"_onFocus()\"\n (onBlur)=\"_onBlur($event)\"\n (onInput)=\"_onInput($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n >\n </p-calendar>\n}\n@if (!readOnly) {\n <span class=\"glyphicon glyphicon-calendar icono-input\"></span>\n}\n@if (control != null) {\n <control-messages [control]=\"control\" [field]=\"nombre\"></control-messages>\n}\n", dependencies: [{ kind: "component", type: i4.Calendar, selector: "p-calendar", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepYearPicker", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i6.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }, { kind: "pipe", type: i7.DatePipe, name: "date" }] }); }
51
51
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitDateComponent, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitDateComponent, decorators: [{
53
53
  type: Component,
54
54
  args: [{ selector: "bit-date", providers: [{
55
55
  provide: NG_VALUE_ACCESSOR,
@@ -42,14 +42,14 @@ export class BitDateTimeComponent extends BitCalendarComponent {
42
42
  getDateFormat() {
43
43
  return this.format ? this.format : DateUtils.FORMAT_LONG_DATE;
44
44
  }
45
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitDateTimeComponent, deps: [{ token: i1.AyudaService }, { token: i2.TranslateService }, { token: i3.DateUtils }], target: i0.ɵɵFactoryTarget.Component }); }
46
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.5", type: BitDateTimeComponent, selector: "bit-datetime", providers: [{
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitDateTimeComponent, deps: [{ token: i1.AyudaService }, { token: i2.TranslateService }, { token: i3.DateUtils }], target: i0.ɵɵFactoryTarget.Component }); }
46
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: BitDateTimeComponent, selector: "bit-datetime", providers: [{
47
47
  provide: NG_VALUE_ACCESSOR,
48
48
  useExisting: forwardRef(() => BitDateTimeComponent),
49
49
  multi: true
50
50
  }], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel) {\n <label>\n <ng-content></ng-content>&nbsp;@if (obligatorio) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n }&nbsp;&nbsp;\n @if (ayuda) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly) {\n <p class=\"lectura\" [id]=\"nombre\">{{ value_lectura | date: \"dd/MM/yyyy HH:mm\" }}</p>\n}\n@if (!readOnly) {\n <p-calendar\n class=\"FormControl\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [(ngModel)]=\"value\"\n dateFormat=\"dd/mm/yy\"\n placeholder=\"{{ placeholder }}\"\n [monthNavigator]=\"true\"\n [minDate]=\"fechaMinima\"\n [maxDate]=\"fechaMaxima\"\n [yearNavigator]=\"true\"\n yearRange=\"2000:2050\"\n [locale]=\"locale\"\n [showTime]=\"true\"\n [firstDayOfWeek]=\"1\"\n [showButtonBar]=\"showButtonBar\"\n [appendTo]=\"appendTo\"\n (onSelect)=\"_onSelect(value)\"\n (onClear)=\"_onClear()\"\n (onClearClick)=\"_onClear()\"\n (onFocus)=\"_onFocus()\"\n (onBlur)=\"_onBlur($event)\"\n (onInput)=\"_onInput($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n >\n </p-calendar>\n}\n@if (!readOnly) {\n <span class=\"glyphicon glyphicon-calendar icono-input\"></span>\n}\n@if (control != null) {\n <control-messages [control]=\"control\" [field]=\"nombre\"></control-messages>\n}\n", dependencies: [{ kind: "component", type: i4.Calendar, selector: "p-calendar", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepYearPicker", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i6.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }, { kind: "pipe", type: i7.DatePipe, name: "date" }] }); }
51
51
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitDateTimeComponent, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitDateTimeComponent, decorators: [{
53
53
  type: Component,
54
54
  args: [{ selector: "bit-datetime", providers: [{
55
55
  provide: NG_VALUE_ACCESSOR,
@@ -25,11 +25,15 @@ export class BitDropDownGeneralComponent extends BitCustomComponent {
25
25
  this.includeEmpty = true;
26
26
  this.appendTo = "body";
27
27
  this.group = false;
28
+ this.atributoLabel = "label"; // El atributo de los objetos de la lista que corresponde al label
29
+ this.atributoValue = "value"; // El atributo de los objetos de la lista que corresponde al valor
30
+ this.atributoDisabled = "inactivo"; // El atributo de los objetos de la lista que indica si un valor está deshabilitado
28
31
  this.listaOpciones = [];
29
32
  this.listaOpcionesVisible = [];
30
33
  this.emptyTextResolved = "";
31
34
  }
32
35
  // custom processing after retrieving data array from service
36
+ // custom processing after retrieving data array from service
33
37
  postRetrieveData() {
34
38
  if (this.listaOpciones) {
35
39
  this.listaOpcionesVisible = Object.assign([], this.listaOpciones);
@@ -47,15 +51,18 @@ export class BitDropDownGeneralComponent extends BitCustomComponent {
47
51
  .selectTranslateWithContext(this.emptyText)
48
52
  .pipe(take(1))
49
53
  .subscribe((translation) => {
50
- this.listaOpcionesVisible.splice(0, 0, { value: null, label: translation });
54
+ let newOption = { value: null, label: translation };
55
+ newOption[this.atributoValue] = null;
56
+ newOption[this.atributoLabel] = translation;
57
+ this.listaOpcionesVisible.splice(0, 0, newOption);
51
58
  this.emptyTextResolved = translation;
52
59
  });
53
60
  }
54
61
  }
55
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitDropDownGeneralComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.AyudaService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Directive }); }
56
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.5", type: BitDropDownGeneralComponent, inputs: { hideLabel: "hideLabel", data: "data", id: "id", excludedValues: "excludedValues", emptyText: "emptyText", includeEmpty: "includeEmpty", valueAs: "valueAs", appendTo: "appendTo", group: "group" }, usesInheritance: true, ngImport: i0 }); }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitDropDownGeneralComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.AyudaService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Directive }); }
63
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.6", type: BitDropDownGeneralComponent, inputs: { hideLabel: "hideLabel", data: "data", id: "id", excludedValues: "excludedValues", emptyText: "emptyText", includeEmpty: "includeEmpty", valueAs: "valueAs", appendTo: "appendTo", group: "group", atributoLabel: "atributoLabel", atributoValue: "atributoValue", atributoDisabled: "atributoDisabled" }, usesInheritance: true, ngImport: i0 }); }
57
64
  }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImport: i0, type: BitDropDownGeneralComponent, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: BitDropDownGeneralComponent, decorators: [{
59
66
  type: Directive
60
67
  }], ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: i2.AyudaService }, { type: i3.TranslateService }], propDecorators: { hideLabel: [{
61
68
  type: Input
@@ -75,5 +82,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.5", ngImpor
75
82
  type: Input
76
83
  }], group: [{
77
84
  type: Input
85
+ }], atributoLabel: [{
86
+ type: Input
87
+ }], atributoValue: [{
88
+ type: Input
89
+ }], atributoDisabled: [{
90
+ type: Input
78
91
  }] } });
79
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYml0LWRyb3Bkb3duLWdlbmVyYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYml0LW5nLWxpYnJhcnkvc3JjL2xpYi9zaGFyZWRsaWJyYXJ5L2NvbXBvbmVudHMvZm9ybS9kcm9wZG93bi9iaXQtZHJvcGRvd24tZ2VuZXJhbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUF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