bit-ng-library 14.1.5 → 15.0.0
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/esm2020/lib/base/components/base.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/breadcrumb/bit-breadcrumb.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/contol-messages/bit-control-messages.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/dialog/bit-dialog.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/footer/bit-footer-messages.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/footer/bit-footer.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/footer/bit-pajigator.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/autocomplete/bit-autocomplete.component.mjs +4 -4
- package/esm2020/lib/sharedlibrary/components/form/bit-custom.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/bit-editable.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/bit-general.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/calendar/bit-calendar.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/checkbox/bit-checkbox.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/date/bit-date.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/datetime/bit-datetime.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/dropdown/bit-dropdown-general.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/dropdown/bit-dropdown-multiple.component.mjs +4 -4
- package/esm2020/lib/sharedlibrary/components/form/dropdown/bit-dropdown.component.mjs +4 -4
- package/esm2020/lib/sharedlibrary/components/form/editor/bit-editor.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/readonly/bit-readonly.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/switch/bit-switch.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/text/bit-text.component.mjs +4 -4
- package/esm2020/lib/sharedlibrary/components/form/textarea/bit-textarea.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/form/time/bit-time.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/header/bit-header.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/help/bit-help.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/loading/bit-loading.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/misc/bit-boton-ayuda.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/misc/bit-column-boolean.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/misc/bit-domain-value.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/notificacion/bit-notification-error.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/notificacion/bit-notification-toast.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/toolbar/bit-toolbar.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/upload/bit-ng-upload.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/components/user/bit-user-controls.component.mjs +3 -3
- package/esm2020/lib/sharedlibrary/directives/edit-mode.directive.mjs +3 -3
- package/esm2020/lib/sharedlibrary/directives/focus-register.directive.mjs +3 -3
- package/esm2020/lib/sharedlibrary/directives/view-mode.directive.mjs +3 -3
- package/esm2020/lib/sharedlibrary/guards/candeactivate.guard.mjs +3 -3
- package/esm2020/lib/sharedlibrary/pipes/capitalize.pipe.mjs +3 -3
- package/esm2020/lib/sharedlibrary/pipes/other-actions.pipe.mjs +3 -3
- package/esm2020/lib/sharedlibrary/pipes/pipe-cantidadmoneda.pipe.mjs +3 -3
- package/esm2020/lib/sharedlibrary/pipes/remove-line-breaks.pipe.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/ayuda.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/date-utils.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/domain.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/focus.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/general-utils.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/http-utils.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/message.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/session-shared.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/tableview.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/toolbar.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/translate.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/services/upload.service.mjs +3 -3
- package/esm2020/lib/sharedlibrary/sharedlibrary.module.mjs +4 -4
- package/esm2020/lib/sharedlibrary/utils/custom-http-interceptor.mjs +3 -3
- package/fesm2015/bit-ng-library.mjs +178 -178
- package/fesm2015/bit-ng-library.mjs.map +1 -1
- package/fesm2020/bit-ng-library.mjs +178 -178
- package/fesm2020/bit-ng-library.mjs.map +1 -1
- package/lib/base/components/base.component.d.ts +1 -1
- package/lib/sharedlibrary/components/breadcrumb/bit-breadcrumb.component.d.ts +1 -1
- package/lib/sharedlibrary/components/contol-messages/bit-control-messages.component.d.ts +1 -1
- package/lib/sharedlibrary/components/dialog/bit-dialog.component.d.ts +1 -1
- package/lib/sharedlibrary/components/footer/bit-footer-messages.component.d.ts +1 -1
- package/lib/sharedlibrary/components/footer/bit-footer.component.d.ts +1 -1
- package/lib/sharedlibrary/components/footer/bit-pajigator.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/autocomplete/bit-autocomplete.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/bit-custom.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/bit-editable.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/bit-general.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/calendar/bit-calendar.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/checkbox/bit-checkbox.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/date/bit-date.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/datetime/bit-datetime.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/dropdown/bit-dropdown-general.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/dropdown/bit-dropdown-multiple.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/dropdown/bit-dropdown.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/editor/bit-editor.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/readonly/bit-readonly.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/switch/bit-switch.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/text/bit-text.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/textarea/bit-textarea.component.d.ts +1 -1
- package/lib/sharedlibrary/components/form/time/bit-time.component.d.ts +1 -1
- package/lib/sharedlibrary/components/header/bit-header.component.d.ts +1 -1
- package/lib/sharedlibrary/components/help/bit-help.component.d.ts +1 -1
- package/lib/sharedlibrary/components/loading/bit-loading.component.d.ts +1 -1
- package/lib/sharedlibrary/components/misc/bit-boton-ayuda.component.d.ts +1 -1
- package/lib/sharedlibrary/components/misc/bit-column-boolean.component.d.ts +1 -1
- package/lib/sharedlibrary/components/misc/bit-domain-value.component.d.ts +1 -1
- package/lib/sharedlibrary/components/notificacion/bit-notification-error.component.d.ts +1 -1
- package/lib/sharedlibrary/components/notificacion/bit-notification-toast.component.d.ts +1 -1
- package/lib/sharedlibrary/components/toolbar/bit-toolbar.component.d.ts +1 -1
- package/lib/sharedlibrary/components/upload/bit-ng-upload.component.d.ts +1 -1
- package/lib/sharedlibrary/components/user/bit-user-controls.component.d.ts +1 -1
- package/lib/sharedlibrary/directives/edit-mode.directive.d.ts +1 -1
- package/lib/sharedlibrary/directives/focus-register.directive.d.ts +1 -1
- package/lib/sharedlibrary/directives/view-mode.directive.d.ts +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
|
+
## [15.0.0] - 2023-03-28
|
|
30
|
+
|
|
31
|
+
migración a angular15
|
|
32
|
+
|
|
29
33
|
## [14.1.5] - 2023-02-27
|
|
30
34
|
|
|
31
35
|
se corrige typo en el pajigator que estaba escrito con la j y la g cambiada
|
|
@@ -10,9 +10,9 @@ export class BaseComponent {
|
|
|
10
10
|
this.destroy$.unsubscribe();
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
BaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
BaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: BaseComponent, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BaseComponent, decorators: [{
|
|
16
16
|
type: Directive
|
|
17
17
|
}] });
|
|
18
18
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iaXQtbmctbGlicmFyeS9zcmMvbGliL2Jhc2UvY29tcG9uZW50cy9iYXNlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQy9CLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRzFDLE1BQU0sT0FBZ0IsYUFBYTtJQURuQztRQUVFLGFBQVEsR0FBcUIsSUFBSSxPQUFPLEVBQVcsQ0FBQztLQU1yRDtJQUpDLFdBQVc7UUFDVCxJQUFJLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUN6QixJQUFJLENBQUMsUUFBUSxDQUFDLFdBQVcsRUFBRSxDQUFDO0lBQzlCLENBQUM7OzBHQU5tQixhQUFhOzhGQUFiLGFBQWE7MkZBQWIsYUFBYTtrQkFEbEMsU0FBUyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFN1YmplY3QgfSBmcm9tIFwicnhqc1wiO1xuaW1wb3J0IHsgRGlyZWN0aXZlIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcblxuQERpcmVjdGl2ZSgpXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgQmFzZUNvbXBvbmVudCB7XG4gIGRlc3Ryb3kkOiBTdWJqZWN0PGJvb2xlYW4+ID0gbmV3IFN1YmplY3Q8Ym9vbGVhbj4oKTtcblxuICBuZ09uRGVzdHJveSgpIHtcbiAgICB0aGlzLmRlc3Ryb3kkLm5leHQodHJ1ZSk7XG4gICAgdGhpcy5kZXN0cm95JC51bnN1YnNjcmliZSgpO1xuICB9XG59XG4iXX0=
|
|
@@ -36,8 +36,8 @@ export class BitBreadCrumbComponent {
|
|
|
36
36
|
return false; //para evitar que navegue al href="#"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
BitBreadCrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
BitBreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
39
|
+
BitBreadCrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitBreadCrumbComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
BitBreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitBreadCrumbComponent, selector: "bit-breadcrumb", inputs: { bc: ["breadcrumb", "bc"] }, ngImport: i0, template: `
|
|
41
41
|
<ul class="breadcrumb">
|
|
42
42
|
<li [class.active]="i == bc.length - 1" *ngFor="let path of bc; let i = index">
|
|
43
43
|
<a class="breadcrumb-item" *ngIf="i < bc.length - 1 && path.url" (click)="goAddress(path)" href="#">{{ "breadcrumb." + path.label | transloco }}</a>
|
|
@@ -45,7 +45,7 @@ BitBreadCrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
45
45
|
</li>
|
|
46
46
|
</ul>
|
|
47
47
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitBreadCrumbComponent, decorators: [{
|
|
49
49
|
type: Component,
|
|
50
50
|
args: [{
|
|
51
51
|
selector: "bit-breadcrumb",
|
package/esm2020/lib/sharedlibrary/components/contol-messages/bit-control-messages.component.mjs
CHANGED
|
@@ -24,13 +24,13 @@ export class BitControlMessages {
|
|
|
24
24
|
return false;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
BitControlMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
BitControlMessages.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
27
|
+
BitControlMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitControlMessages, deps: [{ token: i1.FocusService }, { token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
BitControlMessages.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitControlMessages, selector: "control-messages", inputs: { control: "control", field: "field" }, ngImport: i0, template: `
|
|
29
29
|
<div *ngIf="isError">
|
|
30
30
|
<span class="mensaje-error-input">{{ errorMessage$ | async }}</span>
|
|
31
31
|
</div>
|
|
32
32
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitControlMessages, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: "control-messages",
|
|
@@ -108,8 +108,8 @@ export class BitDialogComponent extends BaseComponent {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
BitDialogComponent.MENSAJE_VOID = "No hi ha dades per mostrar";
|
|
111
|
-
BitDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
112
|
-
BitDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
111
|
+
BitDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDialogComponent, deps: [{ token: i1.BitMessageService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
112
|
+
BitDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitDialogComponent, selector: "bit-dialog", usesInheritance: true, ngImport: i0, template: `
|
|
113
113
|
<p-dialog
|
|
114
114
|
*ngIf="!isSeverityInfo"
|
|
115
115
|
class="scroll-y scroll-{{ message.height }}"
|
|
@@ -154,7 +154,7 @@ BitDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
154
154
|
<pre [innerHTML]="syntaxHighlight(message.message)"></pre>
|
|
155
155
|
</p-dialog>
|
|
156
156
|
`, isInline: true, dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "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"] }] });
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDialogComponent, decorators: [{
|
|
158
158
|
type: Component,
|
|
159
159
|
args: [{
|
|
160
160
|
selector: "bit-dialog",
|
|
@@ -136,9 +136,9 @@ export class BitFooterMessagesComponent {
|
|
|
136
136
|
return this.translateService.selectTranslate(this.messages.get(PageStatus.Error));
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
BitFooterMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
140
|
-
BitFooterMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
139
|
+
BitFooterMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitFooterMessagesComponent, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
140
|
+
BitFooterMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", 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 });
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", 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: function () { return [{ type: i1.TranslateService }]; }, propDecorators: { messages: [{
|
|
@@ -82,9 +82,9 @@ export class BitFooterComponent {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
BitFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
86
|
-
BitFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
85
|
+
BitFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
86
|
+
BitFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", 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 <div class=\"scroll-outer-container\" *ngIf=\"showScroll()\">\n <div class=\"pajigator-container\">\n <label>{{\"bitnglibrary.footer.results\" | transloco}}</label>\n <span *ngIf=\"maxCurrentItems >= totalItems\">{{totalItems}}</span>\n <span *ngIf=\"maxCurrentItems < totalItems\">{{maxCurrentItems}} / {{totalItems}}</span>\n </div>\n </div>\n\n <bit-pajigator *ngIf=\"showPajigator()\"\n [totalItems]=\"totalItems\"\n [page]=\"filter ? filter.pagina : 1\"\n [rowsPerPageOptions]=\"[baseItemsPerPage,baseItemsPerPage*5,baseItemsPerPage*25,baseItemsPerPage*50]\"\n [maxCurrentItems]=\"maxCurrentItems\"\n (onPageChange)=\"pageChange($event)\"\n (onPageSizeChange)=\"pageSizeChange($event)\"></bit-pajigator>\n\n <bit-footer-messages *ngIf=\"mostrarAvisos\"\n [messages]=\"messages\"\n [typeFooter]=\"typeFooter\"\n [status]=\"status\"\n [maxCurrentItems]=\"maxCurrentItems\"\n [totalItems]=\"totalItems\"></bit-footer-messages>\n\n</footer>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BitPajigatorComponent, selector: "bit-pajigator", inputs: ["page", "totalItems", "itemsPerPage", "rowsPerPageOptions", "maxCurrentItems"], outputs: ["onPageChange", "onPageSizeChange"] }, { kind: "component", type: i3.BitFooterMessagesComponent, selector: "bit-footer-messages", inputs: ["messages", "status", "typeFooter", "maxCurrentItems", "totalItems"] }, { kind: "pipe", type: i4.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitFooterComponent, decorators: [{
|
|
88
88
|
type: Component,
|
|
89
89
|
args: [{ selector: "bit-footer", changeDetection: ChangeDetectionStrategy.OnPush, template: "<footer [class]=\"getStyle()\">\n\n <div class=\"scroll-outer-container\" *ngIf=\"showScroll()\">\n <div class=\"pajigator-container\">\n <label>{{\"bitnglibrary.footer.results\" | transloco}}</label>\n <span *ngIf=\"maxCurrentItems >= totalItems\">{{totalItems}}</span>\n <span *ngIf=\"maxCurrentItems < totalItems\">{{maxCurrentItems}} / {{totalItems}}</span>\n </div>\n </div>\n\n <bit-pajigator *ngIf=\"showPajigator()\"\n [totalItems]=\"totalItems\"\n [page]=\"filter ? filter.pagina : 1\"\n [rowsPerPageOptions]=\"[baseItemsPerPage,baseItemsPerPage*5,baseItemsPerPage*25,baseItemsPerPage*50]\"\n [maxCurrentItems]=\"maxCurrentItems\"\n (onPageChange)=\"pageChange($event)\"\n (onPageSizeChange)=\"pageSizeChange($event)\"></bit-pajigator>\n\n <bit-footer-messages *ngIf=\"mostrarAvisos\"\n [messages]=\"messages\"\n [typeFooter]=\"typeFooter\"\n [status]=\"status\"\n [maxCurrentItems]=\"maxCurrentItems\"\n [totalItems]=\"totalItems\"></bit-footer-messages>\n\n</footer>\n" }]
|
|
90
90
|
}], ctorParameters: function () { return []; }, propDecorators: { totalItems: [{
|
|
@@ -55,9 +55,9 @@ export class BitPajigatorComponent {
|
|
|
55
55
|
return this.totalItems > 0 && this.page < this.maxPages;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
BitPajigatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
59
|
-
BitPajigatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
58
|
+
BitPajigatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitPajigatorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
+
BitPajigatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", 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 <span *ngIf=\"maxCurrentItems >= totalItems\">{{totalItems}}</span>\n <span *ngIf=\"maxCurrentItems < totalItems\">{{maxCurrentItems}} / {{totalItems}}</span>\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 <div class=\"pajigator-range-label\" *ngIf=\"showPageInfo\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n <button (click)=\"changePage(-1)\" type=\"button\" [disabled]=\"!showLeftNavigationButton\" pButton pRipple icon=\"pi pi-angle-left\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n <button (click)=\"changePage(1)\" type=\"button\" [disabled]=\"!showRightNavigationButton\" pButton pRipple icon=\"pi pi-angle-right\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n </div>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "component", type: i4.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "overlayDirection", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "pipe", type: i5.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitPajigatorComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
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 <span *ngIf=\"maxCurrentItems >= totalItems\">{{totalItems}}</span>\n <span *ngIf=\"maxCurrentItems < totalItems\">{{maxCurrentItems}} / {{totalItems}}</span>\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 <div class=\"pajigator-range-label\" *ngIf=\"showPageInfo\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page}} de {{maxPages}} </div>\n <button (click)=\"changePage(-1)\" type=\"button\" [disabled]=\"!showLeftNavigationButton\" pButton pRipple icon=\"pi pi-angle-left\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n <button (click)=\"changePage(1)\" type=\"button\" [disabled]=\"!showRightNavigationButton\" pButton pRipple icon=\"pi pi-angle-right\" class=\"p-button-lg p-button-rounded p-button-text\"></button>\n </div>\n </div>\n</div>" }]
|
|
63
63
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { page: [{
|
package/esm2020/lib/sharedlibrary/components/form/autocomplete/bit-autocomplete.component.mjs
CHANGED
|
@@ -46,13 +46,13 @@ export class BitAutoCompleteComponent extends BitCustomComponent {
|
|
|
46
46
|
this.onClear.emit();
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
BitAutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
50
|
-
BitAutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
49
|
+
BitAutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitAutoCompleteComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
+
BitAutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitAutoCompleteComponent, selector: "bit-autocomplete", inputs: { suggestions: "suggestions", suggestionField: "suggestionField", multiple: "multiple" }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onClear: "onClear" }, providers: [{
|
|
51
51
|
provide: NG_VALUE_ACCESSOR,
|
|
52
52
|
useExisting: forwardRef(() => BitAutoCompleteComponent),
|
|
53
53
|
multi: true
|
|
54
|
-
}], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<p-autoComplete\n *ngIf=\"!readOnly\"\n [(ngModel)]=\"value\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [placeholder]=\"placeholder\"\n delay=\"400\"\n [suggestions]=\"suggestions\"\n [field]=\"suggestionField\"\n [multiple]=\"multiple\"\n (completeMethod)=\"search($event)\"\n (onSelect)=\"_onSelect($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n></p-autoComplete>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.AutoComplete, selector: "p-autoComplete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "itemSize", "suggestions"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "component", type: i5.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
}], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<p-autoComplete\n *ngIf=\"!readOnly\"\n [(ngModel)]=\"value\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [placeholder]=\"placeholder\"\n delay=\"400\"\n [suggestions]=\"suggestions\"\n [field]=\"suggestionField\"\n [multiple]=\"multiple\"\n (completeMethod)=\"search($event)\"\n (onSelect)=\"_onSelect($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n></p-autoComplete>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.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", "itemSize", "suggestions"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "component", type: i5.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitAutoCompleteComponent, decorators: [{
|
|
56
56
|
type: Component,
|
|
57
57
|
args: [{ selector: "bit-autocomplete", providers: [{
|
|
58
58
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -40,9 +40,9 @@ export class BitCustomComponent extends BitGeneralComponent {
|
|
|
40
40
|
this._onTouch = fn;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
BitCustomComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
44
|
-
BitCustomComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
BitCustomComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitCustomComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
44
|
+
BitCustomComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: BitCustomComponent, usesInheritance: true, ngImport: i0 });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitCustomComponent, decorators: [{
|
|
46
46
|
type: Directive
|
|
47
47
|
}], ctorParameters: function () { return [{ type: i1.AyudaService }]; } });
|
|
48
48
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYml0LWN1c3RvbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iaXQtbmctbGlicmFyeS9zcmMvbGliL3NoYXJlZGxpYnJhcnkvY29tcG9uZW50cy9mb3JtL2JpdC1jdXN0b20uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHMUMsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUJBQXlCLENBQUM7OztBQUU5RDs7O0dBR0c7QUFFSCxNQUFNLE9BQWdCLGtCQUFtQixTQUFRLG1CQUFtQjtJQVNsRSxZQUFzQixZQUEwQjtRQUM5QyxLQUFLLENBQUMsWUFBWSxDQUFDLENBQUM7UUFEQSxpQkFBWSxHQUFaLFlBQVksQ0FBYztRQUxoRCw4RUFBOEU7UUFDOUUsY0FBUyxHQUFHLENBQUMsQ0FBSyxFQUFFLEVBQUUsR0FBRyxDQUFDLENBQUE7UUFDMUIsc0VBQXNFO1FBQ3RFLGFBQVEsR0FBRyxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQUE7SUFJcEIsQ0FBQztJQUVELGdCQUFnQixDQUFDLFVBQW1CO1FBQ2xDLElBQUksQ0FBQyxVQUFVLEdBQUcsVUFBVSxDQUFDO0lBQy9CLENBQUM7SUFNRCxPQUFPO1FBQ0wsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLEVBQUUsQ0FBQztRQUNuQixJQUFJLENBQUMsY0FBYyxFQUFFLENBQUM7SUFDeEIsQ0FBQztJQUVELFFBQVE7UUFDTixJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksRUFBRSxDQUFDO0lBQ3RCLENBQUM7SUFFRCxvQkFBb0IsQ0FBQyxLQUFVO1FBQzdCLElBQUksQ0FBQyxTQUFTLENBQUMsS0FBSyxDQUFDLENBQUM7UUFDdEIsSUFBSSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDNUIsQ0FBQztJQUVELGNBQWM7UUFDWixJQUFJLENBQUMsUUFBUSxFQUFFLENBQUM7UUFDaEIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUN0QixDQUFDO0lBRUQsZ0JBQWdCLENBQUMsRUFBTztRQUN0QixJQUFJLENBQUMsU0FBUyxHQUFHLEVBQUUsQ0FBQztJQUN0QixDQUFDO0lBRUQsaUJBQWlCLENBQUMsRUFBTztRQUN2QixJQUFJLENBQUMsUUFBUSxHQUFHLEVBQUUsQ0FBQztJQUNyQixDQUFDOzsrR0E5Q21CLGtCQUFrQjttR0FBbEIsa0JBQWtCOzJGQUFsQixrQkFBa0I7a0JBRHZDLFNBQVMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tIFwiQGFuZ3VsYXIvY29yZVwiO1xuaW1wb3J0IHsgQXl1ZGFTZXJ2aWNlIH0gZnJvbSBcIi4uLy4uL3NlcnZpY2VzL2F5dWRhLnNlcnZpY2VcIjtcblxuaW1wb3J0IHsgQml0R2VuZXJhbENvbXBvbmVudCB9IGZyb20gXCIuL2JpdC1nZW5lcmFsLmNvbXBvbmVudFwiO1xuXG4vKiogQ2xhc2UgY3VzdG9taXphZGEgcGFyYSBjb21wb25lbnRlcyBwZXJzb25hbGl6YWRvcyBxdWUgcmVxdWllcmVuIGltcGxlbWVudGFyIGxhIGludGVyZmFjZSBDb250cm9sVmFsdWVBY2Nlc3Nvci5cbiAqIFRpcGljYW1lbnRlIHBhcmEgYXF1ZWxsb3MgY29tcG9uZW50ZXMgcGVyc29uYWxpemFkb3MgcXVlIHRyYWJhamFuIHNvYnJlIG90cm9zIGNvbXBvbmVudGVzIG5vIGVzdMOhbmRhcnMgSFRNTCBjb21vXG4gKiBwdWVkZW4gc2VyIGxvcyBjb21wb25lbnRlcyBkZSBwcmltZSBjb21vIHN3aXRjaCwgYXV0b2NvbXBsZXRlLCBjYWxlbmRhciwgc2VsZWN0LCBldGMuXG4gKi9cbkBEaXJlY3RpdmUoKVxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIEJpdEN1c3RvbUNvbXBvbmVudCBleHRlbmRzIEJpdEdlbmVyYWxDb21wb25lbnQge1xuXG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG5cbiAgLy8gbm9zIHBlcm1pdGUgZGVjaXJsZSBhIEFuZ3VsYXIgcXVlIG51ZXN0cm8gY29tcG9uZW50ZSBoYSBtb2RpZmljYWRvIHN1IHZhbG9yXG4gIF9vbkNoYW5nZSA9IChfOmFueSkgPT4geyB9XG4gIC8vIG5vcyBwZXJtaXRlIGRlY2lybGUgYSBBbmd1bGFyIHF1ZSBudWVzdHJvIGNvbXBvbmVudGUgaGEgc2lkbyB0YWNhZG9cbiAgX29uVG91Y2ggPSAoKSA9PiB7IH1cblxuICBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgYXl1ZGFTZXJ2aWNlOiBBeXVkYVNlcnZpY2UpIHtcbiAgICBzdXBlcihheXVkYVNlcnZpY2UpO1xuICB9XG5cbiAgc2V0RGlzYWJsZWRTdGF0ZShpc0Rpc2FibGVkOiBib29sZWFuKTogdm9pZCB7XG4gICAgdGhpcy5pc0Rpc2FibGVkID0gaXNEaXNhYmxlZDtcbiAgfVxuXG4gIC8qKiBTZSBhY3RpdmEgY3VhbmRvIEFuZ3VsYXIgbm9zIGluZm9ybWEgZGUgcXVlIGRlYmVtb3MgYWN0dWFsaXphciBsYSB2aXN0YS4gQ2FkYSBjb21wb25lbnRlIGhpam8gZGViZXLDoSB2ZXJcbiAgICogc2kgcmVxdWllcmUgbyBubyBpbXBsZW1lbnRhciBlc3RlIG3DqXRvZG8gKi9cbiAgYWJzdHJhY3Qgd3JpdGVWYWx1ZSh2YWx1ZTogYW55KTtcblxuICBfb25CbHVyKCkge1xuICAgIHRoaXMub25CbHVyLmVtaXQoKTtcbiAgICB0aGlzLnRvdWNoQ29tcG9uZW50KCk7XG4gIH1cblxuICBfb25Gb2N1cygpIHtcbiAgICB0aGlzLm9uRm9jdXMuZW1pdCgpO1xuICB9XG5cbiAgY2hhbmdlQ29tcG9uZW50VmFsdWUodmFsdWU6IGFueSkge1xuICAgIHRoaXMuX29uQ2hhbmdlKHZhbHVlKTtcbiAgICB0aGlzLm9uQ2hhbmdlLmVtaXQodmFsdWUpO1xuICB9XG5cbiAgdG91Y2hDb21wb25lbnQoKSB7XG4gICAgdGhpcy5fb25Ub3VjaCgpO1xuICAgIHRoaXMub25Ub3VjaC5lbWl0KCk7XG4gIH1cblxuICByZWdpc3Rlck9uQ2hhbmdlKGZuOiBhbnkpIHtcbiAgICB0aGlzLl9vbkNoYW5nZSA9IGZuO1xuICB9XG5cbiAgcmVnaXN0ZXJPblRvdWNoZWQoZm46IGFueSkge1xuICAgIHRoaXMuX29uVG91Y2ggPSBmbjtcbiAgfVxufVxuIl19
|
|
@@ -67,9 +67,9 @@ export class BitEditableComponent extends BaseComponent {
|
|
|
67
67
|
this.mode = "view";
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
BitEditableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
71
|
-
BitEditableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
70
|
+
BitEditableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitEditableComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
+
BitEditableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", 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"] }] });
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitEditableComponent, decorators: [{
|
|
73
73
|
type: Component,
|
|
74
74
|
args: [{
|
|
75
75
|
selector: "bit-editable",
|
|
@@ -31,9 +31,9 @@ export class BitGeneralComponent extends BaseComponent {
|
|
|
31
31
|
this.ayudaService.mostrarAyuda(this.ayuda);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
BitGeneralComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
BitGeneralComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
BitGeneralComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitGeneralComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
BitGeneralComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", 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 });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitGeneralComponent, decorators: [{
|
|
37
37
|
type: Directive
|
|
38
38
|
}], ctorParameters: function () { return [{ type: i1.AyudaService }]; }, propDecorators: { control: [{
|
|
39
39
|
type: Input,
|
|
@@ -28,9 +28,9 @@ export class BitCalendarComponent extends BitCustomComponent {
|
|
|
28
28
|
this.emitNewValue();
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
BitCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
BitCalendarComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
BitCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitCalendarComponent, deps: [{ token: i1.AyudaService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32
|
+
BitCalendarComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: BitCalendarComponent, inputs: { fechaMinima: "fechaMinima", fechaMaxima: "fechaMaxima", calendarReadOnlyInput: "calendarReadOnlyInput", showButtonBar: "showButtonBar", format: "format", appendTo: "appendTo" }, outputs: { onSelect: "onSelect" }, usesInheritance: true, ngImport: i0 });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitCalendarComponent, decorators: [{
|
|
34
34
|
type: Directive
|
|
35
35
|
}], ctorParameters: function () { return [{ type: i1.AyudaService }, { type: i2.TranslateService }]; }, propDecorators: { fechaMinima: [{
|
|
36
36
|
type: Input
|
|
@@ -23,13 +23,13 @@ export class BitCheckBoxComponent extends BitCustomComponent {
|
|
|
23
23
|
this.changeComponentValue(this.value);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
BitCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
BitCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
26
|
+
BitCheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitCheckBoxComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
BitCheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitCheckBoxComponent, selector: "bit-checkbox", providers: [{
|
|
28
28
|
provide: NG_VALUE_ACCESSOR,
|
|
29
29
|
useExisting: forwardRef(() => BitCheckBoxComponent),
|
|
30
30
|
multi: true
|
|
31
31
|
}], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<p-checkbox\n *ngIf=\"!readOnly\"\n class=\"{{ estilo }}\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n [label]=\"!hideLabel && label\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n id=\"{{ nombre }}\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-checkbox>\n\n<i *ngIf=\"ayuda\" (click)=\"showAyuda()\" class=\"btn-ayuda-checkbox fa fa-question\"></i>\n\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }, { kind: "component", type: i5.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitCheckBoxComponent, decorators: [{
|
|
33
33
|
type: Component,
|
|
34
34
|
args: [{ selector: "bit-checkbox", providers: [{
|
|
35
35
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -41,13 +41,13 @@ export class BitDateComponent extends BitCalendarComponent {
|
|
|
41
41
|
this.changeComponentValue(v);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
BitDateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
45
|
-
BitDateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
44
|
+
BitDateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDateComponent, deps: [{ token: i1.AyudaService }, { token: i2.TranslateService }, { token: i3.DateUtils }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
BitDateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitDateComponent, selector: "bit-date", providers: [{
|
|
46
46
|
provide: NG_VALUE_ACCESSOR,
|
|
47
47
|
useExisting: forwardRef(() => BitDateComponent),
|
|
48
48
|
multi: true
|
|
49
49
|
}], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura | date: \"dd/MM/YYYY\" }}</p>\n<p-calendar\n *ngIf=\"!readOnly\"\n class=\"FormControl\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [(ngModel)]=\"value\"\n dateFormat=\"dd/mm/yy\"\n placeholder=\"dd/mm/yyyy\"\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()\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-calendar>\n<span *ngIf=\"!readOnly\" class=\"glyphicon glyphicon-calendar icono-input\"></span>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "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", "view", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "component", type: i7.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }, { kind: "pipe", type: i4.DatePipe, name: "date" }] });
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDateComponent, decorators: [{
|
|
51
51
|
type: Component,
|
|
52
52
|
args: [{ selector: "bit-date", providers: [{
|
|
53
53
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -41,13 +41,13 @@ export class BitDateTimeComponent extends BitCalendarComponent {
|
|
|
41
41
|
this.changeComponentValue(v);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
BitDateTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
45
|
-
BitDateTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
44
|
+
BitDateTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDateTimeComponent, deps: [{ token: i1.AyudaService }, { token: i2.TranslateService }, { token: i3.DateUtils }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
BitDateTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitDateTimeComponent, selector: "bit-datetime", providers: [{
|
|
46
46
|
provide: NG_VALUE_ACCESSOR,
|
|
47
47
|
useExisting: forwardRef(() => BitDateTimeComponent),
|
|
48
48
|
multi: true
|
|
49
49
|
}], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura | date: \"dd/MM/YYYY HH:mm\" }}</p>\n<p-calendar\n *ngIf=\"!readOnly\"\n class=\"FormControl\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n [(ngModel)]=\"value\"\n dateFormat=\"dd/mm/yy\"\n placeholder=\"dd/mm/yyyy hh:mm\"\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()\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-calendar>\n<span *ngIf=\"!readOnly\" class=\"glyphicon glyphicon-calendar icono-input\"></span>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "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", "view", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "component", type: i7.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }, { kind: "pipe", type: i4.DatePipe, name: "date" }] });
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDateTimeComponent, decorators: [{
|
|
51
51
|
type: Component,
|
|
52
52
|
args: [{ selector: "bit-datetime", providers: [{
|
|
53
53
|
provide: NG_VALUE_ACCESSOR,
|
package/esm2020/lib/sharedlibrary/components/form/dropdown/bit-dropdown-general.component.mjs
CHANGED
|
@@ -52,9 +52,9 @@ export class BitDropDownGeneralComponent extends BitCustomComponent {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
BitDropDownGeneralComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
BitDropDownGeneralComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
BitDropDownGeneralComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDropDownGeneralComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.AyudaService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
+
BitDropDownGeneralComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.4", type: BitDropDownGeneralComponent, inputs: { hideLabel: "hideLabel", data: "data", id: "id", excludedValues: "excludedValues", emptyText: "emptyText", includeEmpty: "includeEmpty", valueAs: "valueAs", appendTo: "appendTo" }, usesInheritance: true, ngImport: i0 });
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDropDownGeneralComponent, decorators: [{
|
|
58
58
|
type: Directive
|
|
59
59
|
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i2.AyudaService }, { type: i3.TranslateService }]; }, propDecorators: { hideLabel: [{
|
|
60
60
|
type: Input
|
package/esm2020/lib/sharedlibrary/components/form/dropdown/bit-dropdown-multiple.component.mjs
CHANGED
|
@@ -106,13 +106,13 @@ export class BitDropDownMultipleComponent extends BitDropDownGeneralComponent {
|
|
|
106
106
|
this.changeComponentValue(this.value);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
BitDropDownMultipleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
110
|
-
BitDropDownMultipleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
109
|
+
BitDropDownMultipleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDropDownMultipleComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.AyudaService }, { token: i3.TranslateService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
110
|
+
BitDropDownMultipleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitDropDownMultipleComponent, selector: "bit-dropdown-multiple", inputs: { maxSelectedLabels: "maxSelectedLabels", showSeparateSelectedLabels: "showSeparateSelectedLabels", title: "title", filter: "filter", atributoLabel: "atributoLabel", atributoValue: "atributoValue" }, providers: [{
|
|
111
111
|
provide: NG_VALUE_ACCESSOR,
|
|
112
112
|
useExisting: forwardRef(() => BitDropDownMultipleComponent),
|
|
113
113
|
multi: true
|
|
114
|
-
}], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"row separador\" *ngIf=\"showSeparateSelectedLabels; else normalBitSelectMultiple\">\n <div>\n <!-- class=\"col-sm-4\"-->\n <ng-container *ngTemplateOutlet=\"normalBitSelectMultiple\"></ng-container>\n </div>\n <div>\n <!-- elementos seleccionados -->\n <label> </label>\n <div class=\"multiselect-labels\">\n <div class=\"label label-primary multiselect-labels-lg\" *ngFor=\"let item of control.value\">\n <span>{{ labelSelectedItem(item) }}</span>\n <ng-container *ngIf=\"!readOnly\">\n \n <a (click)=\"deleteSelectedItem($event, item)\" title=\"{{ title }}\"><i class=\"fa fa-times\"></i></a>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n<ng-template #normalBitSelectMultiple>\n <label *ngIf=\"!hideLabel\"\n ><ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\n </label>\n <p *ngIf=\"readOnly && !showSeparateSelectedLabels\" class=\"lectura\">{{ value_lectura }}</p>\n <p-multiSelect\n id=\"{{ id }}\"\n [(ngModel)]=\"value\"\n [options]=\"listaOpciones\"\n [disabled]=\"isDisabled\"\n [optionLabel]=\"atributoLabel\"\n [optionValue]=\"atributoValue\"\n [defaultLabel]=\"emptyTextResolved\"\n [maxSelectedLabels]=\"maxSelectedLabels\"\n [appendTo]=\"appendTo\"\n selectedItemsLabel=\"{0} elements seleccionats\"\n (onChange)=\"_onChangeValue($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n >\n </p-multiSelect>\n <control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"id\"></control-messages>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: ["style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "appendTo", "dataKey", "name", "label", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
114
|
+
}], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"row separador\" *ngIf=\"showSeparateSelectedLabels; else normalBitSelectMultiple\">\n <div>\n <!-- class=\"col-sm-4\"-->\n <ng-container *ngTemplateOutlet=\"normalBitSelectMultiple\"></ng-container>\n </div>\n <div>\n <!-- elementos seleccionados -->\n <label> </label>\n <div class=\"multiselect-labels\">\n <div class=\"label label-primary multiselect-labels-lg\" *ngFor=\"let item of control.value\">\n <span>{{ labelSelectedItem(item) }}</span>\n <ng-container *ngIf=\"!readOnly\">\n \n <a (click)=\"deleteSelectedItem($event, item)\" title=\"{{ title }}\"><i class=\"fa fa-times\"></i></a>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n<ng-template #normalBitSelectMultiple>\n <label *ngIf=\"!hideLabel\"\n ><ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\n </label>\n <p *ngIf=\"readOnly && !showSeparateSelectedLabels\" class=\"lectura\">{{ value_lectura }}</p>\n <p-multiSelect\n id=\"{{ id }}\"\n [(ngModel)]=\"value\"\n [options]=\"listaOpciones\"\n [disabled]=\"isDisabled\"\n [optionLabel]=\"atributoLabel\"\n [optionValue]=\"atributoValue\"\n [defaultLabel]=\"emptyTextResolved\"\n [maxSelectedLabels]=\"maxSelectedLabels\"\n [appendTo]=\"appendTo\"\n selectedItemsLabel=\"{0} elements seleccionats\"\n (onChange)=\"_onChangeValue($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n >\n </p-multiSelect>\n <control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"id\"></control-messages>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: ["style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "appendTo", "dataKey", "name", "label", "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"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove"] }, { kind: "component", type: i7.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDropDownMultipleComponent, decorators: [{
|
|
116
116
|
type: Component,
|
|
117
117
|
args: [{ selector: "bit-dropdown-multiple", providers: [{
|
|
118
118
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -106,13 +106,13 @@ export class BitDropDownComponent extends BitDropDownGeneralComponent {
|
|
|
106
106
|
this.changeComponentValue(this.value);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
BitDropDownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
110
|
-
BitDropDownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
109
|
+
BitDropDownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDropDownComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.AyudaService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
110
|
+
BitDropDownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitDropDownComponent, selector: "bit-dropdown", inputs: { filter: "filter", atributoLabel: "atributoLabel", atributoValue: "atributoValue", atributoDisabled: "atributoDisabled" }, providers: [{
|
|
111
111
|
provide: NG_VALUE_ACCESSOR,
|
|
112
112
|
useExisting: forwardRef(() => BitDropDownComponent),
|
|
113
113
|
multi: true
|
|
114
|
-
}], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<ng-container *ngIf=\"!readOnly\">\n <p-dropdown\n id=\"{{ nombre }}\"\n [(ngModel)]=\"value\"\n [disabled]=\"isDisabled\"\n [options]=\"listaOpcionesVisible\"\n [filter]=\"filter\"\n [optionLabel]=\"atributoLabel\"\n [optionValue]=\"atributoValue\"\n [optionDisabled]=\"atributoDisabled\"\n [appendTo]=\"appendTo\"\n (onChange)=\"_onChangeValue($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n >\n <ng-template let-item pTemplate=\"item\">\n <span [ngClass]=\"{ 'opcion-desactivada': item[atributoDisabled] }\">{{ item[atributoLabel] }}</span>\n </ng-template>\n </p-dropdown>\n <control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"id\"></control-messages>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: "directive", type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i7.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
114
|
+
}], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<ng-container *ngIf=\"!readOnly\">\n <p-dropdown\n id=\"{{ nombre }}\"\n [(ngModel)]=\"value\"\n [disabled]=\"isDisabled\"\n [options]=\"listaOpcionesVisible\"\n [filter]=\"filter\"\n [optionLabel]=\"atributoLabel\"\n [optionValue]=\"atributoValue\"\n [optionDisabled]=\"atributoDisabled\"\n [appendTo]=\"appendTo\"\n (onChange)=\"_onChangeValue($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId }}\"\n >\n <ng-template let-item pTemplate=\"item\">\n <span [ngClass]=\"{ 'opcion-desactivada': item[atributoDisabled] }\">{{ item[atributoLabel] }}</span>\n </ng-template>\n </p-dropdown>\n <control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"id\"></control-messages>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: "directive", type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i7.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "overlayDirection", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: i8.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitDropDownComponent, decorators: [{
|
|
116
116
|
type: Component,
|
|
117
117
|
args: [{ selector: "bit-dropdown", providers: [{
|
|
118
118
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -73,13 +73,13 @@ export class BitEditorComponent extends BitCustomComponent {
|
|
|
73
73
|
}
|
|
74
74
|
// es posible tener configuraciones globales en todos los bit-editor de un proyecto
|
|
75
75
|
BitEditorComponent.globalConfiguration = ConfigurationEditor.newObject();
|
|
76
|
-
BitEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
77
|
-
BitEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
76
|
+
BitEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitEditorComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component });
|
|
77
|
+
BitEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitEditorComponent, selector: "bit-editor", inputs: { tipo: "tipo", configuration: "configuration", height: "height" }, outputs: { onTextChange: "onTextChange" }, providers: [{
|
|
78
78
|
provide: NG_VALUE_ACCESSOR,
|
|
79
79
|
useExisting: forwardRef(() => BitEditorComponent),
|
|
80
80
|
multi: true
|
|
81
81
|
}], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\">\n {{ value_lectura && value_lectura != \"\" ? value_lectura : \" \" }}\n</p>\n<p-editor\n *ngIf=\"!readOnly && tipo == 'custom'\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [ngModel]=\"value\"\n styleClass=\"editor\"\n [disabled]=\"isDisabled\"\n [placeholder]=\"placeholder\"\n [style]=\"{ height: height + 'px' }\"\n (onInit)=\"onInit($event)\"\n (ngModelChange)=\"onChangeValue($event)\"\n (onTextChange)=\"_onTextChange($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n <p-header>\n <span class=\"ql-formats\" *ngIf=\"configuracion.fontSize\">\n <select class=\"ql-size\">\n <option value=\"small\">{{ \"bitnglibrary.form.biteditor.small\" | transloco }}</option>\n <!-- Note a missing, thus falsy value, is used to reset to default -->\n <option selected>{{ \"bitnglibrary.form.biteditor.normal\" | transloco }}</option>\n <option value=\"large\">{{ \"bitnglibrary.form.biteditor.large\" | transloco }}</option>\n <option value=\"huge\">{{ \"bitnglibrary.form.biteditor.huge\" | transloco }}</option>\n </select>\n </span>\n <span class=\"ql-formats\" *ngIf=\"configuracion.fontFormat\">\n <button class=\"ql-bold\" aria-label=\"Bold\"></button>\n <button class=\"ql-italic\" aria-label=\"Italic\"></button>\n <button class=\"ql-underline\" aria-label=\"Underline\"></button>\n <button class=\"ql-strike\" aria-label=\"Strikethrough\"></button>\n </span>\n <span class=\"ql-formats\" *ngIf=\"configuracion.bullet\">\n <button class=\"ql-list\" value=\"ordered\" type=\"button\"></button>\n <button class=\"ql-list\" value=\"bullet\" type=\"button\"></button>\n </span>\n <span class=\"ql-formats\" *ngIf=\"configuracion.link\">\n <button class=\"ql-link\" aria-label=\"Insert Link\" type=\"button\"></button>\n </span>\n </p-header>\n</p-editor>\n<p-editor\n *ngIf=\"!readOnly && (!tipo || tipo == 'default')\"\n id=\"{{ nombre }}\"\n name=\"{{ nombre }}\"\n [ngModel]=\"value\"\n styleClass=\"editor\"\n [placeholder]=\"placeholder\"\n [placeholder]=\"placeholder\"\n [style]=\"{ height: height + 'px' }\"\n (ngModelChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-editor>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.Header, selector: "p-header" }, { kind: "component", type: i5.Editor, selector: "p-editor", inputs: ["style", "styleClass", "placeholder", "formats", "modules", "bounds", "scrollingContainer", "debug", "readonly"], outputs: ["onTextChange", "onSelectionChange", "onInit"] }, { kind: "directive", type: i6.FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "component", type: i7.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }, { kind: "pipe", type: i8.TranslocoPipe, name: "transloco" }] });
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitEditorComponent, decorators: [{
|
|
83
83
|
type: Component,
|
|
84
84
|
args: [{ selector: "bit-editor", providers: [{
|
|
85
85
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -75,9 +75,9 @@ export class BitReadonlyComponent {
|
|
|
75
75
|
return this.tipo === "textarea";
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
BitReadonlyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
79
|
-
BitReadonlyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
78
|
+
BitReadonlyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitReadonlyComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.SessionSharedService }, { token: i3.AyudaService }, { token: i0.ChangeDetectorRef }, { token: i2.DateUtils }], target: i0.ɵɵFactoryTarget.Component });
|
|
79
|
+
BitReadonlyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitReadonlyComponent, selector: "bit-readonly", inputs: { ayuda: "ayuda", valor: "valor", tipo: "tipo", hideLabel: "hideLabel", data: "data", domain: "domain" }, usesOnChanges: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> \n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"!isTextarea\" class=\"lectura\">{{value_lectura}}</p>\n<pre *ngIf=\"isTextarea\" class=\"lectura\">{{value_lectura}}</pre>", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitReadonlyComponent, decorators: [{
|
|
81
81
|
type: Component,
|
|
82
82
|
args: [{ selector: "bit-readonly", template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> \n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"!isTextarea\" class=\"lectura\">{{value_lectura}}</p>\n<pre *ngIf=\"isTextarea\" class=\"lectura\">{{value_lectura}}</pre>" }]
|
|
83
83
|
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i2.SessionSharedService }, { type: i3.AyudaService }, { type: i0.ChangeDetectorRef }, { type: i2.DateUtils }]; }, propDecorators: { ayuda: [{
|
|
@@ -23,13 +23,13 @@ export class BitSwitchComponent extends BitCustomComponent {
|
|
|
23
23
|
this.changeComponentValue(this.value);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
BitSwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
BitSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
26
|
+
BitSwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitSwitchComponent, deps: [{ token: i1.AyudaService }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
BitSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: BitSwitchComponent, selector: "bit-switch", providers: [{
|
|
28
28
|
provide: NG_VALUE_ACCESSOR,
|
|
29
29
|
useExisting: forwardRef(() => BitSwitchComponent),
|
|
30
30
|
multi: true
|
|
31
31
|
}], usesInheritance: true, ngImport: i0, template: "<label *ngIf=\"!hideLabel\">\n <ng-content></ng-content> <span *ngIf=\"obligatorio\" class=\"obligatorio fa fa-asterisk\"></span> \n <i *ngIf=\"ayuda\" class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n</label>\n<p *ngIf=\"readOnly\" class=\"lectura\" [id]=\"nombre\">{{ value_lectura }}</p>\n<p-inputSwitch\n *ngIf=\"!readOnly\"\n onLabel=\"S\u00ED\"\n offLabel=\"No\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n name=\"{{ nombre }}\"\n [disabled]=\"isDisabled\"\n id=\"{{ nombre }}\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId }}\"\n>\n</p-inputSwitch>\n<control-messages *ngIf=\"control != null\" [control]=\"control\" [field]=\"nombre\"></control-messages>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy"], outputs: ["onChange"] }, { kind: "component", type: i5.BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }] });
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: BitSwitchComponent, decorators: [{
|
|
33
33
|
type: Component,
|
|
34
34
|
args: [{ selector: "bit-switch", providers: [{
|
|
35
35
|
provide: NG_VALUE_ACCESSOR,
|