bit-ng-library 17.0.2 → 17.0.3
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 +4 -0
- package/esm2022/lib/base/components/base.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/breadcrumb/bit-breadcrumb.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/contol-messages/bit-control-messages.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/dialog/bit-dialog.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/footer/bit-footer-messages.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/footer/bit-footer.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/footer/bit-pajigator.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/amount/bit-amount.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/autocomplete/bit-autocomplete.component.mjs +14 -15
- package/esm2022/lib/sharedlibrary/components/form/bit-custom.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/bit-editable.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/bit-general.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/calendar/bit-calendar.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/checkbox/bit-checkbox.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/date/bit-date.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/datetime/bit-datetime.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/dropdown/bit-dropdown-general.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/dropdown/bit-dropdown-multiple.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/dropdown/bit-dropdown.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/editor/bit-editor.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/multiple-checkbox/bit-multiple-checkbox.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/number/bit-number.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/readonly/bit-readonly.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/switch/bit-switch-si-no.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/switch/bit-switch.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/text/bit-text.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/textarea/bit-textarea.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/form/time/bit-time.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/header/bit-header.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/help/bit-help.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/loading/bit-loading.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/misc/bit-boton-ayuda.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/misc/bit-column-boolean.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/misc/bit-domain-value.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/notificacion/bit-notification-error.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/notificacion/bit-notification-toast.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/toolbar/bit-toolbar.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/upload/bit-ng-upload.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/components/user/bit-user-controls.component.mjs +3 -3
- package/esm2022/lib/sharedlibrary/directives/bit-panel.directive.mjs +3 -3
- package/esm2022/lib/sharedlibrary/directives/edit-mode.directive.mjs +3 -3
- package/esm2022/lib/sharedlibrary/directives/focus-register.directive.mjs +3 -3
- package/esm2022/lib/sharedlibrary/directives/view-mode.directive.mjs +3 -3
- package/esm2022/lib/sharedlibrary/guards/candeactivate.guard.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/bytes.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/capitalize.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/cut-text.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/domain-list-value.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/domain-value.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/list-value.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/other-actions.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/pipe-cantidadmoneda.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/remove-line-breaks.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/si-o-no.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/pipes/stringify.pipe.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/ayuda.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/date-utils.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/domain.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/download.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/focus.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/general-utils.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/http-utils.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/message.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/session-shared.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/tableview.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/toolbar.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/translate.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/services/upload.service.mjs +3 -3
- package/esm2022/lib/sharedlibrary/sharedlibrary.module.mjs +4 -4
- package/esm2022/lib/sharedlibrary/utils/custom-http-interceptor.mjs +3 -3
- package/fesm2022/bit-ng-library.mjs +217 -218
- package/fesm2022/bit-ng-library.mjs.map +1 -1
- package/lib/sharedlibrary/components/form/autocomplete/bit-autocomplete.component.d.ts +8 -7
- package/lib/sharedlibrary/components/form/autocomplete/bit-autocomplete.component.d.ts.map +1 -1
- package/package.json +1 -1
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
|
+
## [17.0.3] - 2024-01-17
|
|
30
|
+
|
|
31
|
+
Correcciones en el BitAutoCompleteComponent debido a los cambios en la versión 17 de PrimeNg.
|
|
32
|
+
|
|
29
33
|
## [17.0.2] - 2024-01-09
|
|
30
34
|
|
|
31
35
|
Añadido el parámetro inputStyleClass en BitAutoCompleteComponent.
|
|
@@ -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: "17.0.
|
|
14
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: BaseComponent, ngImport: i0 }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BaseComponent, decorators: [{
|
|
17
17
|
type: Directive
|
|
18
18
|
}] });
|
|
19
19
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5jb21wb25lbnQuanMiLCJzb3VyY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c3Ryb3koKSB7XHJcbiAgICB0aGlzLmRlc3Ryb3kkLm5leHQodHJ1ZSk7XHJcbiAgICB0aGlzLmRlc3Ryb3kkLnVuc3Vic2NyaWJlKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -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: "17.0.
|
|
38
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitBreadCrumbComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", 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: "17.0.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitBreadCrumbComponent, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{
|
|
56
56
|
selector: "bit-breadcrumb",
|
package/esm2022/lib/sharedlibrary/components/contol-messages/bit-control-messages.component.mjs
CHANGED
|
@@ -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: "17.0.
|
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.9", 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: "17.0.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.
|
|
115
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.9", 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: "17.0.
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.
|
|
139
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitFooterMessagesComponent, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
139
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", type: BitFooterMessagesComponent, selector: "bit-footer-messages", inputs: { messages: "messages", status: "status", typeFooter: "typeFooter", maxCurrentItems: "maxCurrentItems", totalItems: "totalItems" }, ngImport: i0, template: "<div>\r\n <div [class]=\"getStyle()\">\r\n <i class=\"fa fa-info\"></i>\r\n <span>{{message | async}}</span>\r\n </div>\r\n\r\n <bit-help></bit-help>\r\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: "17.0.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitFooterMessagesComponent, decorators: [{
|
|
142
142
|
type: Component,
|
|
143
143
|
args: [{ selector: 'bit-footer-messages', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\r\n <div [class]=\"getStyle()\">\r\n <i class=\"fa fa-info\"></i>\r\n <span>{{message | async}}</span>\r\n </div>\r\n\r\n <bit-help></bit-help>\r\n</div>" }]
|
|
144
144
|
}], ctorParameters: () => [{ type: i1.TranslateService }], propDecorators: { messages: [{
|
|
@@ -80,10 +80,10 @@ export class BitFooterComponent {
|
|
|
80
80
|
return "footer";
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
84
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
83
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
84
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", 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()\">\r\n\r\n @if (showScroll()) {\r\n <div class=\"scroll-outer-container\">\r\n <div class=\"pajigator-container\">\r\n <label>{{\"bitnglibrary.footer.results\" | transloco}}</label>\r\n @if (maxCurrentItems >= totalItems) {\r\n <span>{{totalItems}}</span>\r\n }\r\n @if (maxCurrentItems < totalItems) {\r\n <span>{{maxCurrentItems}} / {{totalItems}}</span>\r\n }\r\n </div>\r\n </div>\r\n }\r\n\r\n @if (showPajigator()) {\r\n <bit-pajigator\r\n [totalItems]=\"totalItems\"\r\n [page]=\"filter ? filter.pagina : 1\"\r\n [rowsPerPageOptions]=\"[baseItemsPerPage,baseItemsPerPage*5,baseItemsPerPage*25,baseItemsPerPage*50]\"\r\n [maxCurrentItems]=\"maxCurrentItems\"\r\n (onPageChange)=\"pageChange($event)\"\r\n (onPageSizeChange)=\"pageSizeChange($event)\"></bit-pajigator>\r\n }\r\n\r\n @if (mostrarAvisos) {\r\n <bit-footer-messages\r\n [messages]=\"messages\"\r\n [typeFooter]=\"typeFooter\"\r\n [status]=\"status\"\r\n [maxCurrentItems]=\"maxCurrentItems\"\r\n [totalItems]=\"totalItems\"></bit-footer-messages>\r\n }\r\n\r\n</footer>\r\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 }); }
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitFooterComponent, decorators: [{
|
|
87
87
|
type: Component,
|
|
88
88
|
args: [{ selector: "bit-footer", changeDetection: ChangeDetectionStrategy.OnPush, template: "<footer [class]=\"getStyle()\">\r\n\r\n @if (showScroll()) {\r\n <div class=\"scroll-outer-container\">\r\n <div class=\"pajigator-container\">\r\n <label>{{\"bitnglibrary.footer.results\" | transloco}}</label>\r\n @if (maxCurrentItems >= totalItems) {\r\n <span>{{totalItems}}</span>\r\n }\r\n @if (maxCurrentItems < totalItems) {\r\n <span>{{maxCurrentItems}} / {{totalItems}}</span>\r\n }\r\n </div>\r\n </div>\r\n }\r\n\r\n @if (showPajigator()) {\r\n <bit-pajigator\r\n [totalItems]=\"totalItems\"\r\n [page]=\"filter ? filter.pagina : 1\"\r\n [rowsPerPageOptions]=\"[baseItemsPerPage,baseItemsPerPage*5,baseItemsPerPage*25,baseItemsPerPage*50]\"\r\n [maxCurrentItems]=\"maxCurrentItems\"\r\n (onPageChange)=\"pageChange($event)\"\r\n (onPageSizeChange)=\"pageSizeChange($event)\"></bit-pajigator>\r\n }\r\n\r\n @if (mostrarAvisos) {\r\n <bit-footer-messages\r\n [messages]=\"messages\"\r\n [typeFooter]=\"typeFooter\"\r\n [status]=\"status\"\r\n [maxCurrentItems]=\"maxCurrentItems\"\r\n [totalItems]=\"totalItems\"></bit-footer-messages>\r\n }\r\n\r\n</footer>\r\n" }]
|
|
89
89
|
}], ctorParameters: () => [], propDecorators: { totalItems: [{
|
|
@@ -57,10 +57,10 @@ export class BitPajigatorComponent {
|
|
|
57
57
|
get showRightNavigationButton() {
|
|
58
58
|
return this.totalItems > 0 && this.page < this.maxPages;
|
|
59
59
|
}
|
|
60
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
61
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
60
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitPajigatorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
61
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", 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\">\r\n <div class=\"pajigator-container\">\r\n <div class=\"pajigator-results-container\">\r\n <span class=\"pajigator-results-label\">{{\"bitnglibrary.footer.results\" | transloco}}</span>\r\n @if (maxCurrentItems >= totalItems) {\r\n <span>{{totalItems}}</span>\r\n }\r\n @if (maxCurrentItems < totalItems) {\r\n <span>{{maxCurrentItems}} / {{totalItems}}</span>\r\n }\r\n </div>\r\n <div class=\"pajigator-page-size\">\r\n <div class=\"pajigator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\r\n <p-dropdown\r\n [options]=\"rowsPerPageOptions\"\r\n [ngModel]=\"itemsPerPage\"\r\n (ngModelChange)=\"changeItemsPerpage($event)\"></p-dropdown>\r\n </div>\r\n <div class=\"pajigator-range-actions\">\r\n @if (showPageInfo) {\r\n <div class=\"pajigator-range-label\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\r\n }\r\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>\r\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>\r\n </div>\r\n </div>\r\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: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "dropdownIcon", "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: "pipe", type: i4.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
62
62
|
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitPajigatorComponent, decorators: [{
|
|
64
64
|
type: Component,
|
|
65
65
|
args: [{ selector: 'bit-pajigator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"pajigator-outer-container\">\r\n <div class=\"pajigator-container\">\r\n <div class=\"pajigator-results-container\">\r\n <span class=\"pajigator-results-label\">{{\"bitnglibrary.footer.results\" | transloco}}</span>\r\n @if (maxCurrentItems >= totalItems) {\r\n <span>{{totalItems}}</span>\r\n }\r\n @if (maxCurrentItems < totalItems) {\r\n <span>{{maxCurrentItems}} / {{totalItems}}</span>\r\n }\r\n </div>\r\n <div class=\"pajigator-page-size\">\r\n <div class=\"pajigator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\r\n <p-dropdown\r\n [options]=\"rowsPerPageOptions\"\r\n [ngModel]=\"itemsPerPage\"\r\n (ngModelChange)=\"changeItemsPerpage($event)\"></p-dropdown>\r\n </div>\r\n <div class=\"pajigator-range-actions\">\r\n @if (showPageInfo) {\r\n <div class=\"pajigator-range-label\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\r\n }\r\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>\r\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>\r\n </div>\r\n </div>\r\n</div>" }]
|
|
66
66
|
}], 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: "17.0.
|
|
21
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitAmountComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", 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) {\r\n <label>\r\n <ng-content></ng-content> @if (obligatorio) {\r\n <span class=\"obligatorio fa fa-asterisk\"></span>\r\n } \r\n @if (ayuda) {\r\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\r\n }\r\n </label>\r\n}\r\n@if (readOnly) {\r\n <p class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\r\n}\r\n@if (!tooltipTexto && !readOnly) {\r\n <p-inputNumber\r\n #inputReference\r\n id=\"{{ nombre }}\"\r\n name=\"{{ nombre }}\"\r\n [disabled]=\"isDisabled\"\r\n [ngModel]=\"value\"\r\n [attr.directive]=\"nombreDirectiva\"\r\n [placeholder]=\"placeholder\"\r\n [mode]=\"modo\"\r\n [currency]=\"divisa\"\r\n [prefix]=\"prefijo\"\r\n [suffix]=\"sufijo\"\r\n [min]=\"minimo\"\r\n [max]=\"maximo\"\r\n [minFractionDigits]=\"numeroDecimales\"\r\n [maxFractionDigits]=\"maximoDecimales == null ? numeroDecimales : maximoDecimales\"\r\n [useGrouping]=\"separadorGrupo\"\r\n [showButtons]=\"mostrarBotones\"\r\n [step]=\"incremento\"\r\n locale=\"es-ES\"\r\n (ngModelChange)=\"onChangeValue($event)\"\r\n (blur)=\"_onBlur()\"\r\n (focus)=\"_onFocus()\"\r\n attr.data-testid=\"{{ dataTestId }}\"\r\n />\r\n}\r\n@if (tooltipTexto && !readOnly) {\r\n <p-inputNumber\r\n #inputReference\r\n id=\"{{ nombre }}\"\r\n name=\"{{ nombre }}\"\r\n [disabled]=\"isDisabled\"\r\n [ngModel]=\"value\"\r\n [attr.directive]=\"nombreDirectiva\"\r\n [pTooltip]=\"tooltipTexto\"\r\n [tooltipPosition]=\"tooltipPosicion\"\r\n [mode]=\"modo\"\r\n [currency]=\"divisa\"\r\n [prefix]=\"prefijo\"\r\n [suffix]=\"sufijo\"\r\n [min]=\"minimo\"\r\n [max]=\"maximo\"\r\n [minFractionDigits]=\"numeroDecimales\"\r\n [maxFractionDigits]=\"maximoDecimales == null ? numeroDecimales : maximoDecimales\"\r\n [useGrouping]=\"separadorGrupo\"\r\n [showButtons]=\"mostrarBotones\"\r\n [step]=\"incremento\"\r\n locale=\"es-ES\"\r\n (ngModelChange)=\"onChangeValue($event)\"\r\n (blur)=\"_onBlur()\"\r\n (focus)=\"_onFocus()\"\r\n attr.data-testid=\"{{ dataTestId }}\"\r\n />\r\n}\r\n@if (control != null) {\r\n <control-messages [control]=\"control\" [field]=\"nombre\"></control-messages>\r\n}\r\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: "component", type: i3.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", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "directive", type: i4.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: i5.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitAmountComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{ selector: "bit-amount", providers: [{
|
|
30
30
|
provide: NG_VALUE_ACCESSOR,
|
package/esm2022/lib/sharedlibrary/components/form/autocomplete/bit-autocomplete.component.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Component, forwardRef, Input, Output
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from
|
|
3
|
-
import { BitCustomComponent } from
|
|
1
|
+
import { Component, EventEmitter, forwardRef, Input, Output } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { BitCustomComponent } from '../bit-custom.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../services
|
|
5
|
+
import * as i1 from "../../../services";
|
|
6
6
|
import * as i2 from "@angular/forms";
|
|
7
7
|
import * as i3 from "primeng/autocomplete";
|
|
8
8
|
import * as i4 from "../../contol-messages/bit-control-messages.component";
|
|
@@ -21,7 +21,7 @@ export class BitAutoCompleteComponent extends BitCustomComponent {
|
|
|
21
21
|
if (propName === "suggestions") {
|
|
22
22
|
let changedProp = changes[propName];
|
|
23
23
|
let newList = changedProp.currentValue;
|
|
24
|
-
this.suggestions_mapped = newList && newList.map((obj) => (obj instanceof Object ? obj[this.suggestionField] : obj)
|
|
24
|
+
this.suggestions_mapped = newList && newList.map((obj) => (obj instanceof Object) ? obj[this.suggestionField] : obj);
|
|
25
25
|
//console.log("newList", this.suggestions_mapped);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -52,11 +52,10 @@ export class BitAutoCompleteComponent extends BitCustomComponent {
|
|
|
52
52
|
}
|
|
53
53
|
changeComponentValue(value) {
|
|
54
54
|
let valueConverted;
|
|
55
|
-
if (this.suggestionField) {
|
|
56
|
-
// si estamos especificando que lo que el autocomplete hace es operar sobre una lista de objetos
|
|
55
|
+
if (this.suggestionField) { // si estamos especificando que lo que el autocompletar hace es operar sobre una lista de objetos
|
|
57
56
|
// recuperamos el objeto dentro de la lista con el valor del campo suggestionField igual al seleccionado
|
|
58
57
|
let selectedObject = this._findObject(value);
|
|
59
|
-
// el valor reconvertido será el
|
|
58
|
+
// el valor reconvertido será el ID del objeto que es lo que vamos a meter en el FormControl
|
|
60
59
|
valueConverted = selectedObject && selectedObject[this.id];
|
|
61
60
|
// emitimos que ha cambiado el objeto
|
|
62
61
|
this.onChange.emit(selectedObject);
|
|
@@ -68,11 +67,11 @@ export class BitAutoCompleteComponent extends BitCustomComponent {
|
|
|
68
67
|
}
|
|
69
68
|
this._onChange(valueConverted);
|
|
70
69
|
}
|
|
71
|
-
_onSelect(
|
|
72
|
-
this.value =
|
|
70
|
+
_onSelect(event) {
|
|
71
|
+
this.value = event.value;
|
|
73
72
|
this.changeComponentValue(this.value);
|
|
74
73
|
if (this.suggestionField) {
|
|
75
|
-
let selectedObject = this._findObject(
|
|
74
|
+
let selectedObject = this._findObject(event.value);
|
|
76
75
|
this.onSelect.emit(selectedObject);
|
|
77
76
|
}
|
|
78
77
|
else {
|
|
@@ -87,8 +86,8 @@ export class BitAutoCompleteComponent extends BitCustomComponent {
|
|
|
87
86
|
_findObject(value) {
|
|
88
87
|
return value && this.suggestions.find((obj) => obj[this.suggestionField] === value);
|
|
89
88
|
}
|
|
90
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
91
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
89
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitAutoCompleteComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
90
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", 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: [
|
|
92
91
|
{
|
|
93
92
|
provide: NG_VALUE_ACCESSOR,
|
|
94
93
|
useExisting: forwardRef(() => BitAutoCompleteComponent),
|
|
@@ -96,7 +95,7 @@ export class BitAutoCompleteComponent extends BitCustomComponent {
|
|
|
96
95
|
}
|
|
97
96
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if (!hideLabel) {\r\n <label>\r\n <ng-content></ng-content> @if (obligatorio) {\r\n <span class=\"obligatorio fa fa-asterisk\"></span>\r\n } \r\n @if (ayuda) {\r\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\r\n }\r\n </label>\r\n}\r\n@if (readOnly) {\r\n <p class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\r\n}\r\n@if (!readOnly) {\r\n <p-autoComplete\r\n [(ngModel)]=\"value\"\r\n id=\"{{ nombre }}\"\r\n name=\"{{ nombre }}\"\r\n [disabled]=\"isDisabled\"\r\n [placeholder]=\"placeholder\"\r\n delay=\"400\"\r\n [suggestions]=\"suggestions_mapped\"\r\n [multiple]=\"multiple\"\r\n [inputStyleClass]=\"inputStyleClass\"\r\n appendTo=\"body\"\r\n (completeMethod)=\"search($event)\"\r\n (onSelect)=\"_onSelect($event)\"\r\n (onClear)=\"_onClear()\"\r\n (onBlur)=\"_onBlur()\"\r\n (onFocus)=\"_onFocus()\"\r\n attr.data-testid=\"{{ dataTestId }}\"\r\n ></p-autoComplete>\r\n}\r\n@if (control != null) {\r\n <control-messages [control]=\"control\" [field]=\"nombre\"></control-messages>\r\n}\r\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: "component", type: i3.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", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "component", type: i4.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] }); }
|
|
98
97
|
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitAutoCompleteComponent, decorators: [{
|
|
100
99
|
type: Component,
|
|
101
100
|
args: [{ selector: "bit-autocomplete", providers: [
|
|
102
101
|
{
|
|
@@ -124,4 +123,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImpor
|
|
|
124
123
|
}], onClear: [{
|
|
125
124
|
type: Output
|
|
126
125
|
}] } });
|
|
127
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYml0LWF1dG9jb21wbGV0ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6W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gfX1cIlxyXG4gICAgbmFtZT1cInt7IG5vbWJyZSB9fVwiXHJcbiAgICBbZGlzYWJsZWRdPVwiaXNEaXNhYmxlZFwiXHJcbiAgICBbcGxhY2Vob2xkZXJdPVwicGxhY2Vob2xkZXJcIlxyXG4gICAgZGVsYXk9XCI0MDBcIlxyXG4gICAgW3N1Z2dlc3Rpb25zXT1cInN1Z2dlc3Rpb25zX21hcHBlZFwiXHJcbiAgICBbbXVsdGlwbGVdPVwibXVsdGlwbGVcIlxyXG4gICAgW2lucHV0U3R5bGVDbGFzc109XCJpbnB1dFN0eWxlQ2xhc3NcIlxyXG4gICAgYXBwZW5kVG89XCJib2R5XCJcclxuICAgIChjb21wbGV0ZU1ldGhvZCk9XCJzZWFyY2goJGV2ZW50KVwiXHJcbiAgICAob25TZWxlY3QpPVwiX29uU2VsZWN0KCRldmVudClcIlxyXG4gICAgKG9uQ2xlYXIpPVwiX29uQ2xlYXIoKVwiXHJcbiAgICAob25CbHVyKT1cIl9vbkJsdXIoKVwiXHJcbiAgICAob25Gb2N1cyk9XCJfb25Gb2N1cygpXCJcclxuICAgIGF0dHIuZGF0YS10ZXN0aWQ9XCJ7eyBkYXRhVGVzdElkIH19XCJcclxuICA+PC9wLWF1dG9Db21wbGV0ZT5cclxufVxyXG5AaWYgKGNvbnRyb2wgIT0gbnVsbCkge1xyXG4gIDxjb250cm9sLW1lc3NhZ2VzIFtjb250cm9sXT1cImNvbnRyb2xcIiBbZmllbGRdPVwibm9tYnJlXCI+PC9jb250cm9sLW1lc3NhZ2VzPlxyXG59XHJcbiJdfQ==
|
|
@@ -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: "17.0.
|
|
43
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitCustomComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
43
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: BitCustomComponent, usesInheritance: true, ngImport: i0 }); }
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitCustomComponent, decorators: [{
|
|
46
46
|
type: Directive
|
|
47
47
|
}], ctorParameters: () => [{ type: i1.AyudaService }] });
|
|
48
48
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYml0LWN1c3RvbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iaXQtbmctbGlicmFyeS9zcmMvbGliL3NoYXJlZGxpYnJhcnkvY29tcG9uZW50cy9mb3JtL2JpdC1jdXN0b20uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHMUMsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7OztBQUU5RDs7O0dBR0c7QUFFSCxNQUFNLE9BQWdCLGtCQUFtQixTQUFRLG1CQUFtQjtJQVNsRSxZQUFzQixZQUEwQjtRQUM5QyxLQUFLLENBQUMsWUFBWSxDQUFDLENBQUM7UUFEQSxpQkFBWSxHQUFaLFlBQVksQ0FBYztRQUxoRCw4RUFBOEU7UUFDOUUsY0FBUyxHQUFHLENBQUMsQ0FBTS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pc3Rlck9uQ2hhbmdlKGZuOiBhbnkpIHtcclxuICAgIHRoaXMuX29uQ2hhbmdlID0gZm47XHJcbiAgfVxyXG5cclxuICByZWdpc3Rlck9uVG91Y2hlZChmbjogYW55KSB7XHJcbiAgICB0aGlzLl9vblRvdWNoID0gZm47XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -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: "17.0.
|
|
70
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.9", 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: "17.0.
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.
|
|
34
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitGeneralComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
34
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", 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: "17.0.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.
|
|
77
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.9", 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: "17.0.
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitCheckBoxComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", 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) {\r\n <label>\r\n <ng-content></ng-content> @if (obligatorio) {\r\n <span class=\"obligatorio fa fa-asterisk\"></span>\r\n } \r\n @if (ayuda) {\r\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\r\n }\r\n </label>\r\n}\r\n@if (readOnly) {\r\n <p class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\r\n}\r\n@if (!readOnly) {\r\n <p-checkbox\r\n class=\"{{ estilo }}\"\r\n binary=\"true\"\r\n [(ngModel)]=\"value\"\r\n [label]=\"!hideLabel && label\"\r\n name=\"{{ nombre }}\"\r\n [disabled]=\"isDisabled\"\r\n id=\"{{ nombre }}\"\r\n (onChange)=\"onChangeValue($event)\"\r\n attr.data-testid=\"{{ dataTestId }}\"\r\n >\r\n </p-checkbox>\r\n}\r\n\r\n@if (ayuda) {\r\n <i (click)=\"showAyuda()\" class=\"btn-ayuda-checkbox fa fa-question\"></i>\r\n}\r\n\r\n@if (control != null) {\r\n <control-messages [control]=\"control\" [field]=\"nombre\"></control-messages>\r\n}\r\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: "component", type: i3.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", "onFocus", "onBlur"] }, { kind: "component", type: i4.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.
|
|
46
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.9", 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) {\r\n <label>\r\n <ng-content></ng-content> @if (obligatorio) {\r\n <span class=\"obligatorio fa fa-asterisk\"></span>\r\n } \r\n @if (ayuda) {\r\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\r\n }\r\n </label>\r\n}\r\n@if (readOnly) {\r\n <p class=\"lectura\" [id]=\"nombre\">{{ value_lectura | date: \"dd/MM/yyyy\" }}</p>\r\n}\r\n@if (!readOnly) {\r\n <p-calendar\r\n class=\"FormControl\"\r\n id=\"{{ nombre }}\"\r\n name=\"{{ nombre }}\"\r\n [disabled]=\"isDisabled\"\r\n [(ngModel)]=\"value\"\r\n dateFormat=\"dd/mm/yy\"\r\n placeholder=\"{{ placeholder }}\"\r\n [monthNavigator]=\"true\"\r\n [readonlyInput]=\"calendarReadOnlyInput\"\r\n [minDate]=\"fechaMinima\"\r\n [maxDate]=\"fechaMaxima\"\r\n [yearNavigator]=\"true\"\r\n yearRange=\"2000:2050\"\r\n [firstDayOfWeek]=\"1\"\r\n [locale]=\"locale\"\r\n [showButtonBar]=\"showButtonBar\"\r\n [appendTo]=\"appendTo\"\r\n (onSelect)=\"_onSelect(value)\"\r\n (onClear)=\"_onClear()\"\r\n (onClearClick)=\"_onClear()\"\r\n (onFocus)=\"_onFocus()\"\r\n (onBlur)=\"_onBlur($event)\"\r\n (onInput)=\"_onInput($event)\"\r\n attr.data-testid=\"{{ dataTestId }}\"\r\n >\r\n </p-calendar>\r\n}\r\n@if (!readOnly) {\r\n <span class=\"glyphicon glyphicon-calendar icono-input\"></span>\r\n}\r\n@if (control != null) {\r\n <control-messages [control]=\"control\" [field]=\"nombre\"></control-messages>\r\n}\r\n", dependencies: [{ kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.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", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "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: "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: "17.0.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.
|
|
46
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.9", 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) {\r\n <label>\r\n <ng-content></ng-content> @if (obligatorio) {\r\n <span class=\"obligatorio fa fa-asterisk\"></span>\r\n } \r\n @if (ayuda) {\r\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\r\n }\r\n </label>\r\n}\r\n@if (readOnly) {\r\n <p class=\"lectura\" [id]=\"nombre\">{{ value_lectura | date: \"dd/MM/yyyy HH:mm\" }}</p>\r\n}\r\n@if (!readOnly) {\r\n <p-calendar\r\n class=\"FormControl\"\r\n id=\"{{ nombre }}\"\r\n name=\"{{ nombre }}\"\r\n [disabled]=\"isDisabled\"\r\n [(ngModel)]=\"value\"\r\n dateFormat=\"dd/mm/yy\"\r\n placeholder=\"{{ placeholder }}\"\r\n [monthNavigator]=\"true\"\r\n [minDate]=\"fechaMinima\"\r\n [maxDate]=\"fechaMaxima\"\r\n [yearNavigator]=\"true\"\r\n yearRange=\"2000:2050\"\r\n [locale]=\"locale\"\r\n [showTime]=\"true\"\r\n [firstDayOfWeek]=\"1\"\r\n [showButtonBar]=\"showButtonBar\"\r\n [appendTo]=\"appendTo\"\r\n (onSelect)=\"_onSelect(value)\"\r\n (onClear)=\"_onClear()\"\r\n (onClearClick)=\"_onClear()\"\r\n (onFocus)=\"_onFocus()\"\r\n (onBlur)=\"_onBlur($event)\"\r\n (onInput)=\"_onInput($event)\"\r\n attr.data-testid=\"{{ dataTestId }}\"\r\n >\r\n </p-calendar>\r\n}\r\n@if (!readOnly) {\r\n <span class=\"glyphicon glyphicon-calendar icono-input\"></span>\r\n}\r\n@if (control != null) {\r\n <control-messages [control]=\"control\" [field]=\"nombre\"></control-messages>\r\n}\r\n", dependencies: [{ kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.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", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "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: "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: "17.0.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitDateTimeComponent, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{ selector: "bit-datetime", providers: [{
|
|
55
55
|
provide: NG_VALUE_ACCESSOR,
|
package/esm2022/lib/sharedlibrary/components/form/dropdown/bit-dropdown-general.component.mjs
CHANGED
|
@@ -52,10 +52,10 @@ export class BitDropDownGeneralComponent extends BitCustomComponent {
|
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
56
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", 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: "17.0.9", 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 }); }
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitDropDownGeneralComponent, decorators: [{
|
|
59
59
|
type: Directive
|
|
60
60
|
}], ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: i2.AyudaService }, { type: i3.TranslateService }], propDecorators: { hideLabel: [{
|
|
61
61
|
type: Input
|
package/esm2022/lib/sharedlibrary/components/form/dropdown/bit-dropdown-multiple.component.mjs
CHANGED
|
@@ -105,14 +105,14 @@ export class BitDropDownMultipleComponent extends BitDropDownGeneralComponent {
|
|
|
105
105
|
emitValue() {
|
|
106
106
|
this.changeComponentValue(this.value);
|
|
107
107
|
}
|
|
108
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
109
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
|
108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitDropDownMultipleComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.AyudaService }, { token: i3.TranslateService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
109
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: BitDropDownMultipleComponent, selector: "bit-dropdown-multiple", inputs: { maxSelectedLabels: "maxSelectedLabels", showSeparateSelectedLabels: "showSeparateSelectedLabels", title: "title", filter: "filter", atributoLabel: "atributoLabel", atributoValue: "atributoValue" }, providers: [{
|
|
110
110
|
provide: NG_VALUE_ACCESSOR,
|
|
111
111
|
useExisting: forwardRef(() => BitDropDownMultipleComponent),
|
|
112
112
|
multi: true
|
|
113
113
|
}], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if (showSeparateSelectedLabels) {\r\n <div class=\"row separador\">\r\n <div>\r\n <!-- class=\"col-sm-4\"-->\r\n <ng-container *ngTemplateOutlet=\"normalBitSelectMultiple\"></ng-container>\r\n </div>\r\n <div>\r\n <!-- elementos seleccionados -->\r\n <label> </label>\r\n <div class=\"multiselect-labels\">\r\n @for (item of control.value; track item) {\r\n <div class=\"label label-primary multiselect-labels-lg\">\r\n <span>{{ labelSelectedItem(item) }}</span>\r\n @if (!readOnly) {\r\n \r\n <a (click)=\"deleteSelectedItem($event, item)\" title=\"{{ title }}\"><i class=\"fa fa-times\"></i></a>\r\n }\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n} @else {\r\n @if (!hideLabel) {\r\n <label\r\n ><ng-content></ng-content> @if (obligatorio) {\r\n <span class=\"fa fa-asterisk\"></span>\r\n } \r\n @if (ayuda) {\r\n <i (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\r\n }\r\n </label>\r\n }\r\n @if (readOnly && !showSeparateSelectedLabels) {\r\n <p class=\"lectura\">{{ value_lectura }}</p>\r\n }\r\n <p-multiSelect\r\n id=\"{{ id }}\"\r\n [(ngModel)]=\"value\"\r\n [options]=\"listaOpciones\"\r\n [disabled]=\"isDisabled\"\r\n [optionLabel]=\"atributoLabel\"\r\n [optionValue]=\"atributoValue\"\r\n [defaultLabel]=\"emptyTextResolved\"\r\n [maxSelectedLabels]=\"maxSelectedLabels\"\r\n [appendTo]=\"appendTo\"\r\n selectedItemsLabel=\"{0} elements seleccionats\"\r\n (onChange)=\"_onChangeValue($event)\"\r\n (onClear)=\"_onClear()\"\r\n (onBlur)=\"_onBlur()\"\r\n (onFocus)=\"_onFocus()\"\r\n attr.data-testid=\"{{ dataTestId }}\"\r\n >\r\n </p-multiSelect>\r\n @if (control != null) {\r\n <control-messages [control]=\"control\" [field]=\"id\"></control-messages>\r\n }\r\n}\r\n<ng-template #normalBitSelectMultiple>\r\n @if (!hideLabel) {\r\n <label\r\n ><ng-content></ng-content> @if (obligatorio) {\r\n <span class=\"fa fa-asterisk\"></span>\r\n } \r\n @if (ayuda) {\r\n <i (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\r\n }\r\n </label>\r\n }\r\n @if (readOnly && !showSeparateSelectedLabels) {\r\n <p class=\"lectura\">{{ value_lectura }}</p>\r\n }\r\n <p-multiSelect\r\n id=\"{{ id }}\"\r\n [(ngModel)]=\"value\"\r\n [options]=\"listaOpciones\"\r\n [disabled]=\"isDisabled\"\r\n [optionLabel]=\"atributoLabel\"\r\n [optionValue]=\"atributoValue\"\r\n [defaultLabel]=\"emptyTextResolved\"\r\n [maxSelectedLabels]=\"maxSelectedLabels\"\r\n [appendTo]=\"appendTo\"\r\n selectedItemsLabel=\"{0} elements seleccionats\"\r\n (onChange)=\"_onChangeValue($event)\"\r\n (onClear)=\"_onClear()\"\r\n (onBlur)=\"_onBlur()\"\r\n (onFocus)=\"_onFocus()\"\r\n attr.data-testid=\"{{ dataTestId }}\"\r\n >\r\n </p-multiSelect>\r\n @if (control != null) {\r\n <control-messages [control]=\"control\" [field]=\"id\"></control-messages>\r\n }\r\n</ng-template>\r\n", dependencies: [{ kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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.MultiSelect, selector: "p-multiSelect", inputs: ["id", "ariaLabel", "style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "appendTo", "dataKey", "name", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "component", type: i7.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] }); }
|
|
114
114
|
}
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BitDropDownMultipleComponent, decorators: [{
|
|
116
116
|
type: Component,
|
|
117
117
|
args: [{ selector: "bit-dropdown-multiple", providers: [{
|
|
118
118
|
provide: NG_VALUE_ACCESSOR,
|