bit-ng-library 21.0.1 → 21.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +749 -749
- package/fesm2022/bit-ng-library.mjs +288 -284
- package/fesm2022/bit-ng-library.mjs.map +1 -1
- package/package.json +1 -1
- package/types/bit-ng-library.d.ts +2 -1
- package/types/bit-ng-library.d.ts.map +1 -1
|
@@ -414,6 +414,9 @@ class AyudaService {
|
|
|
414
414
|
console.warn(`No existe ayuda para la clave [${key}]`);
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
+
resetAyuda() {
|
|
418
|
+
this.mostrar.set(null);
|
|
419
|
+
}
|
|
417
420
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: AyudaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
418
421
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: AyudaService, providedIn: "root" }); }
|
|
419
422
|
}
|
|
@@ -2407,19 +2410,19 @@ class BitBreadCrumbComponent {
|
|
|
2407
2410
|
return false; //para evitar que navegue al href="#"
|
|
2408
2411
|
}
|
|
2409
2412
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitBreadCrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2410
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitBreadCrumbComponent, isStandalone: false, selector: "bit-breadcrumb", inputs: { bc: { classPropertyName: "bc", publicName: "breadcrumb", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2411
|
-
<ul class="breadcrumb">
|
|
2412
|
-
@for (path of bc(); track path; let i = $index) {
|
|
2413
|
-
<li [class.active]="i == bc().length - 1">
|
|
2414
|
-
@if (i < bc().length - 1 && path.url) {
|
|
2415
|
-
<a class="breadcrumb-item" (click)="goAddress(path)" href="#">{{ "breadcrumb." + path.label | transloco }}</a>
|
|
2416
|
-
}
|
|
2417
|
-
@if (i == bc().length - 1 || !path.url) {
|
|
2418
|
-
<span class="breadcrumb-item active">{{ "breadcrumb." + path.label | transloco }}</span>
|
|
2419
|
-
}
|
|
2420
|
-
</li>
|
|
2421
|
-
}
|
|
2422
|
-
</ul>
|
|
2413
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitBreadCrumbComponent, isStandalone: false, selector: "bit-breadcrumb", inputs: { bc: { classPropertyName: "bc", publicName: "breadcrumb", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2414
|
+
<ul class="breadcrumb">
|
|
2415
|
+
@for (path of bc(); track path; let i = $index) {
|
|
2416
|
+
<li [class.active]="i == bc().length - 1">
|
|
2417
|
+
@if (i < bc().length - 1 && path.url) {
|
|
2418
|
+
<a class="breadcrumb-item" (click)="goAddress(path)" href="#">{{ "breadcrumb." + path.label | transloco }}</a>
|
|
2419
|
+
}
|
|
2420
|
+
@if (i == bc().length - 1 || !path.url) {
|
|
2421
|
+
<span class="breadcrumb-item active">{{ "breadcrumb." + path.label | transloco }}</span>
|
|
2422
|
+
}
|
|
2423
|
+
</li>
|
|
2424
|
+
}
|
|
2425
|
+
</ul>
|
|
2423
2426
|
`, isInline: true, dependencies: [{ kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2424
2427
|
}
|
|
2425
2428
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitBreadCrumbComponent, decorators: [{
|
|
@@ -2427,19 +2430,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
2427
2430
|
args: [{
|
|
2428
2431
|
selector: "bit-breadcrumb",
|
|
2429
2432
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2430
|
-
template: `
|
|
2431
|
-
<ul class="breadcrumb">
|
|
2432
|
-
@for (path of bc(); track path; let i = $index) {
|
|
2433
|
-
<li [class.active]="i == bc().length - 1">
|
|
2434
|
-
@if (i < bc().length - 1 && path.url) {
|
|
2435
|
-
<a class="breadcrumb-item" (click)="goAddress(path)" href="#">{{ "breadcrumb." + path.label | transloco }}</a>
|
|
2436
|
-
}
|
|
2437
|
-
@if (i == bc().length - 1 || !path.url) {
|
|
2438
|
-
<span class="breadcrumb-item active">{{ "breadcrumb." + path.label | transloco }}</span>
|
|
2439
|
-
}
|
|
2440
|
-
</li>
|
|
2441
|
-
}
|
|
2442
|
-
</ul>
|
|
2433
|
+
template: `
|
|
2434
|
+
<ul class="breadcrumb">
|
|
2435
|
+
@for (path of bc(); track path; let i = $index) {
|
|
2436
|
+
<li [class.active]="i == bc().length - 1">
|
|
2437
|
+
@if (i < bc().length - 1 && path.url) {
|
|
2438
|
+
<a class="breadcrumb-item" (click)="goAddress(path)" href="#">{{ "breadcrumb." + path.label | transloco }}</a>
|
|
2439
|
+
}
|
|
2440
|
+
@if (i == bc().length - 1 || !path.url) {
|
|
2441
|
+
<span class="breadcrumb-item active">{{ "breadcrumb." + path.label | transloco }}</span>
|
|
2442
|
+
}
|
|
2443
|
+
</li>
|
|
2444
|
+
}
|
|
2445
|
+
</ul>
|
|
2443
2446
|
`
|
|
2444
2447
|
//styleUrls: ["bit-breadcrumb.component.css"]
|
|
2445
2448
|
,
|
|
@@ -2470,12 +2473,12 @@ class BitControlMessages {
|
|
|
2470
2473
|
return false;
|
|
2471
2474
|
}
|
|
2472
2475
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitControlMessages, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2473
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitControlMessages, isStandalone: false, selector: "control-messages", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2474
|
-
@if (isError) {
|
|
2475
|
-
<div>
|
|
2476
|
-
<span class="mensaje-error-input">{{ errorMessage$ | async }}</span>
|
|
2477
|
-
</div>
|
|
2478
|
-
}
|
|
2476
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitControlMessages, isStandalone: false, selector: "control-messages", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2477
|
+
@if (isError) {
|
|
2478
|
+
<div>
|
|
2479
|
+
<span class="mensaje-error-input">{{ errorMessage$ | async }}</span>
|
|
2480
|
+
</div>
|
|
2481
|
+
}
|
|
2479
2482
|
`, isInline: true, dependencies: [{ kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2480
2483
|
}
|
|
2481
2484
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitControlMessages, decorators: [{
|
|
@@ -2483,12 +2486,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
2483
2486
|
args: [{
|
|
2484
2487
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2485
2488
|
selector: "control-messages",
|
|
2486
|
-
template: `
|
|
2487
|
-
@if (isError) {
|
|
2488
|
-
<div>
|
|
2489
|
-
<span class="mensaje-error-input">{{ errorMessage$ | async }}</span>
|
|
2490
|
-
</div>
|
|
2491
|
-
}
|
|
2489
|
+
template: `
|
|
2490
|
+
@if (isError) {
|
|
2491
|
+
<div>
|
|
2492
|
+
<span class="mensaje-error-input">{{ errorMessage$ | async }}</span>
|
|
2493
|
+
</div>
|
|
2494
|
+
}
|
|
2492
2495
|
`
|
|
2493
2496
|
//styleUrls: ["bit-control-messages.component.css"]
|
|
2494
2497
|
,
|
|
@@ -2599,61 +2602,61 @@ class BitDialogComponent extends BaseComponent {
|
|
|
2599
2602
|
});
|
|
2600
2603
|
}
|
|
2601
2604
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2602
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitDialogComponent, isStandalone: false, selector: "bit-dialog", usesInheritance: true, ngImport: i0, template: `
|
|
2603
|
-
@if (!isSeverityInfo()) {
|
|
2604
|
-
<p-dialog
|
|
2605
|
-
class="scroll-y scroll-{{ message().height }}"
|
|
2606
|
-
header="{{ message().title }}"
|
|
2607
|
-
[visible]="display()"
|
|
2608
|
-
(visibleChange)="display.set($event)"
|
|
2609
|
-
[style]="{ width: '50vw' }"
|
|
2610
|
-
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2611
|
-
[modal]="message().modal"
|
|
2612
|
-
showEffect="fade"
|
|
2613
|
-
position="top"
|
|
2614
|
-
>
|
|
2615
|
-
<p class="mensaje-dialogo">{{ message().message }}</p>
|
|
2616
|
-
@if (message().masInfo) {
|
|
2617
|
-
<span>
|
|
2618
|
-
<pre>{{ message().masInfo }}</pre>
|
|
2619
|
-
</span>
|
|
2620
|
-
}
|
|
2621
|
-
<footer>
|
|
2622
|
-
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"> </div>
|
|
2623
|
-
</footer>
|
|
2624
|
-
</p-dialog>
|
|
2625
|
-
}
|
|
2626
|
-
@if (isSeverityInfo() && !message().json) {
|
|
2627
|
-
<p-dialog
|
|
2628
|
-
class="scroll-y scroll-{{ message().height }}"
|
|
2629
|
-
header="{{ message().title }}"
|
|
2630
|
-
[style]="{ width: '50vw' }"
|
|
2631
|
-
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2632
|
-
[visible]="display()"
|
|
2633
|
-
(visibleChange)="display.set($event)"
|
|
2634
|
-
[modal]="message().modal"
|
|
2635
|
-
showEffect="fade"
|
|
2636
|
-
position="top"
|
|
2637
|
-
>
|
|
2638
|
-
<p class="mensaje-dialogo" [innerHTML]="message().message"></p>
|
|
2639
|
-
</p-dialog>
|
|
2640
|
-
}
|
|
2641
|
-
@if (message().json) {
|
|
2642
|
-
<p-dialog
|
|
2643
|
-
class="scroll-y scroll-{{ message().height }}"
|
|
2644
|
-
header="{{ message().title }}"
|
|
2645
|
-
[visible]="display()"
|
|
2646
|
-
(visibleChange)="display.set($event)"
|
|
2647
|
-
[style]="{ width: '50vw' }"
|
|
2648
|
-
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2649
|
-
[baseZIndex]="10000"
|
|
2650
|
-
[modal]="message().modal"
|
|
2651
|
-
showEffect="fade"
|
|
2652
|
-
position="top"
|
|
2653
|
-
>
|
|
2654
|
-
<pre [innerHTML]="syntaxHighlight(message().message)"></pre>
|
|
2655
|
-
</p-dialog>
|
|
2656
|
-
}
|
|
2605
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitDialogComponent, isStandalone: false, selector: "bit-dialog", usesInheritance: true, ngImport: i0, template: `
|
|
2606
|
+
@if (!isSeverityInfo()) {
|
|
2607
|
+
<p-dialog
|
|
2608
|
+
class="scroll-y scroll-{{ message().height }}"
|
|
2609
|
+
header="{{ message().title }}"
|
|
2610
|
+
[visible]="display()"
|
|
2611
|
+
(visibleChange)="display.set($event)"
|
|
2612
|
+
[style]="{ width: '50vw' }"
|
|
2613
|
+
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2614
|
+
[modal]="message().modal"
|
|
2615
|
+
showEffect="fade"
|
|
2616
|
+
position="top"
|
|
2617
|
+
>
|
|
2618
|
+
<p class="mensaje-dialogo">{{ message().message }}</p>
|
|
2619
|
+
@if (message().masInfo) {
|
|
2620
|
+
<span>
|
|
2621
|
+
<pre>{{ message().masInfo }}</pre>
|
|
2622
|
+
</span>
|
|
2623
|
+
}
|
|
2624
|
+
<footer>
|
|
2625
|
+
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"> </div>
|
|
2626
|
+
</footer>
|
|
2627
|
+
</p-dialog>
|
|
2628
|
+
}
|
|
2629
|
+
@if (isSeverityInfo() && !message().json) {
|
|
2630
|
+
<p-dialog
|
|
2631
|
+
class="scroll-y scroll-{{ message().height }}"
|
|
2632
|
+
header="{{ message().title }}"
|
|
2633
|
+
[style]="{ width: '50vw' }"
|
|
2634
|
+
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2635
|
+
[visible]="display()"
|
|
2636
|
+
(visibleChange)="display.set($event)"
|
|
2637
|
+
[modal]="message().modal"
|
|
2638
|
+
showEffect="fade"
|
|
2639
|
+
position="top"
|
|
2640
|
+
>
|
|
2641
|
+
<p class="mensaje-dialogo" [innerHTML]="message().message"></p>
|
|
2642
|
+
</p-dialog>
|
|
2643
|
+
}
|
|
2644
|
+
@if (message().json) {
|
|
2645
|
+
<p-dialog
|
|
2646
|
+
class="scroll-y scroll-{{ message().height }}"
|
|
2647
|
+
header="{{ message().title }}"
|
|
2648
|
+
[visible]="display()"
|
|
2649
|
+
(visibleChange)="display.set($event)"
|
|
2650
|
+
[style]="{ width: '50vw' }"
|
|
2651
|
+
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2652
|
+
[baseZIndex]="10000"
|
|
2653
|
+
[modal]="message().modal"
|
|
2654
|
+
showEffect="fade"
|
|
2655
|
+
position="top"
|
|
2656
|
+
>
|
|
2657
|
+
<pre [innerHTML]="syntaxHighlight(message().message)"></pre>
|
|
2658
|
+
</p-dialog>
|
|
2659
|
+
}
|
|
2657
2660
|
`, isInline: true, dependencies: [{ kind: "component", type: i1.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "maskMotionOptions", "motionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2658
2661
|
}
|
|
2659
2662
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitDialogComponent, decorators: [{
|
|
@@ -2661,61 +2664,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
2661
2664
|
args: [{
|
|
2662
2665
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2663
2666
|
selector: "bit-dialog",
|
|
2664
|
-
template: `
|
|
2665
|
-
@if (!isSeverityInfo()) {
|
|
2666
|
-
<p-dialog
|
|
2667
|
-
class="scroll-y scroll-{{ message().height }}"
|
|
2668
|
-
header="{{ message().title }}"
|
|
2669
|
-
[visible]="display()"
|
|
2670
|
-
(visibleChange)="display.set($event)"
|
|
2671
|
-
[style]="{ width: '50vw' }"
|
|
2672
|
-
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2673
|
-
[modal]="message().modal"
|
|
2674
|
-
showEffect="fade"
|
|
2675
|
-
position="top"
|
|
2676
|
-
>
|
|
2677
|
-
<p class="mensaje-dialogo">{{ message().message }}</p>
|
|
2678
|
-
@if (message().masInfo) {
|
|
2679
|
-
<span>
|
|
2680
|
-
<pre>{{ message().masInfo }}</pre>
|
|
2681
|
-
</span>
|
|
2682
|
-
}
|
|
2683
|
-
<footer>
|
|
2684
|
-
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"> </div>
|
|
2685
|
-
</footer>
|
|
2686
|
-
</p-dialog>
|
|
2687
|
-
}
|
|
2688
|
-
@if (isSeverityInfo() && !message().json) {
|
|
2689
|
-
<p-dialog
|
|
2690
|
-
class="scroll-y scroll-{{ message().height }}"
|
|
2691
|
-
header="{{ message().title }}"
|
|
2692
|
-
[style]="{ width: '50vw' }"
|
|
2693
|
-
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2694
|
-
[visible]="display()"
|
|
2695
|
-
(visibleChange)="display.set($event)"
|
|
2696
|
-
[modal]="message().modal"
|
|
2697
|
-
showEffect="fade"
|
|
2698
|
-
position="top"
|
|
2699
|
-
>
|
|
2700
|
-
<p class="mensaje-dialogo" [innerHTML]="message().message"></p>
|
|
2701
|
-
</p-dialog>
|
|
2702
|
-
}
|
|
2703
|
-
@if (message().json) {
|
|
2704
|
-
<p-dialog
|
|
2705
|
-
class="scroll-y scroll-{{ message().height }}"
|
|
2706
|
-
header="{{ message().title }}"
|
|
2707
|
-
[visible]="display()"
|
|
2708
|
-
(visibleChange)="display.set($event)"
|
|
2709
|
-
[style]="{ width: '50vw' }"
|
|
2710
|
-
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2711
|
-
[baseZIndex]="10000"
|
|
2712
|
-
[modal]="message().modal"
|
|
2713
|
-
showEffect="fade"
|
|
2714
|
-
position="top"
|
|
2715
|
-
>
|
|
2716
|
-
<pre [innerHTML]="syntaxHighlight(message().message)"></pre>
|
|
2717
|
-
</p-dialog>
|
|
2718
|
-
}
|
|
2667
|
+
template: `
|
|
2668
|
+
@if (!isSeverityInfo()) {
|
|
2669
|
+
<p-dialog
|
|
2670
|
+
class="scroll-y scroll-{{ message().height }}"
|
|
2671
|
+
header="{{ message().title }}"
|
|
2672
|
+
[visible]="display()"
|
|
2673
|
+
(visibleChange)="display.set($event)"
|
|
2674
|
+
[style]="{ width: '50vw' }"
|
|
2675
|
+
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2676
|
+
[modal]="message().modal"
|
|
2677
|
+
showEffect="fade"
|
|
2678
|
+
position="top"
|
|
2679
|
+
>
|
|
2680
|
+
<p class="mensaje-dialogo">{{ message().message }}</p>
|
|
2681
|
+
@if (message().masInfo) {
|
|
2682
|
+
<span>
|
|
2683
|
+
<pre>{{ message().masInfo }}</pre>
|
|
2684
|
+
</span>
|
|
2685
|
+
}
|
|
2686
|
+
<footer>
|
|
2687
|
+
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"> </div>
|
|
2688
|
+
</footer>
|
|
2689
|
+
</p-dialog>
|
|
2690
|
+
}
|
|
2691
|
+
@if (isSeverityInfo() && !message().json) {
|
|
2692
|
+
<p-dialog
|
|
2693
|
+
class="scroll-y scroll-{{ message().height }}"
|
|
2694
|
+
header="{{ message().title }}"
|
|
2695
|
+
[style]="{ width: '50vw' }"
|
|
2696
|
+
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2697
|
+
[visible]="display()"
|
|
2698
|
+
(visibleChange)="display.set($event)"
|
|
2699
|
+
[modal]="message().modal"
|
|
2700
|
+
showEffect="fade"
|
|
2701
|
+
position="top"
|
|
2702
|
+
>
|
|
2703
|
+
<p class="mensaje-dialogo" [innerHTML]="message().message"></p>
|
|
2704
|
+
</p-dialog>
|
|
2705
|
+
}
|
|
2706
|
+
@if (message().json) {
|
|
2707
|
+
<p-dialog
|
|
2708
|
+
class="scroll-y scroll-{{ message().height }}"
|
|
2709
|
+
header="{{ message().title }}"
|
|
2710
|
+
[visible]="display()"
|
|
2711
|
+
(visibleChange)="display.set($event)"
|
|
2712
|
+
[style]="{ width: '50vw' }"
|
|
2713
|
+
[breakpoints]="{ '1199px': '65vw', '767px': '80vw', '575px': '95vw' }"
|
|
2714
|
+
[baseZIndex]="10000"
|
|
2715
|
+
[modal]="message().modal"
|
|
2716
|
+
showEffect="fade"
|
|
2717
|
+
position="top"
|
|
2718
|
+
>
|
|
2719
|
+
<pre [innerHTML]="syntaxHighlight(message().message)"></pre>
|
|
2720
|
+
</p-dialog>
|
|
2721
|
+
}
|
|
2719
2722
|
`
|
|
2720
2723
|
//styleUrls: ["bit-dialog.component.css"]
|
|
2721
2724
|
,
|
|
@@ -2812,11 +2815,11 @@ class BitPajigatorComponent {
|
|
|
2812
2815
|
this.onPageChange.emit(this.page());
|
|
2813
2816
|
}
|
|
2814
2817
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitPajigatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2815
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitPajigatorComponent, isStandalone: false, selector: "bit-pajigator", inputs: { paginator: { classPropertyName: "paginator", publicName: "paginator", isSignal: true, isRequired: false, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", isSignal: true, isRequired: false, transformFunction: null }, maxCurrentItems: { classPropertyName: "maxCurrentItems", publicName: "maxCurrentItems", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { page: "pageChange", itemsPerPage: "itemsPerPageChange", onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange" }, ngImport: i0, template: "<div [class]=\"paginator() ? 'pajigator-outer-container' : 'pajigator-outer-container-single-result'\">\
|
|
2818
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitPajigatorComponent, isStandalone: false, selector: "bit-pajigator", inputs: { paginator: { classPropertyName: "paginator", publicName: "paginator", isSignal: true, isRequired: false, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", isSignal: true, isRequired: false, transformFunction: null }, maxCurrentItems: { classPropertyName: "maxCurrentItems", publicName: "maxCurrentItems", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { page: "pageChange", itemsPerPage: "itemsPerPageChange", onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange" }, ngImport: i0, template: "<div [class]=\"paginator() ? 'pajigator-outer-container' : 'pajigator-outer-container-single-result'\">\n <div class=\"pajigator-container\">\n <div class=\"pajigator-results-container\">\n <span class=\"pajigator-results-label\">{{\"bitnglibrary.footer.results\" | transloco}}</span>\n @if (paginator()) { \n @if (maxCurrentItems() >= totalItems()) {\n <span>{{totalItems() | cantidadMoneda:0}}</span>\n }\n @if (maxCurrentItems() < totalItems()) {\n <span>{{maxCurrentItems()}} / {{totalItems()}}</span>\n }\n } @else {\n <span>{{totalItems() | cantidadMoneda:0}}</span>\n }\n </div>\n @if (paginator()) { \n <div class=\"pajigator-page-size\">\n <div class=\"pajigator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\n <!-- appendTo=\"body\"--->\n <p-select appendTo=\"body\"\n [options]=\"rowsPerPageOptions()\"\n [ngModel]=\"itemsPerPage()\"\n (ngModelChange)=\"changeItemsPerpage($event)\" />\n </div>\n <div class=\"pajigator-range-actions\">\n @if (showPageInfo()) {\n <div class=\"pajigator-range-label\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page()}} de {{maxPages()}} </div>\n }\n <p-button (onClick)=\"changePage(-1)\" [disabled]=\"!showLeftNavigationButton()\" severity=\"primary\" label=\"<\" ariaLabel=\"P\u00E0gina anterior\" />\n <p-button (onClick)=\"changePage(1)\" [disabled]=\"!showRightNavigationButton()\" severity=\"primary\" label=\">\" ariaLabel=\"P\u00E0gina seg\u00FCent\" />\n </div>\n } \n </div>\n</div>", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: i3$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }, { kind: "pipe", type: CantidadMonedaPipe, name: "cantidadMoneda" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2816
2819
|
}
|
|
2817
2820
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitPajigatorComponent, decorators: [{
|
|
2818
2821
|
type: Component,
|
|
2819
|
-
args: [{ selector: 'bit-pajigator', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div [class]=\"paginator() ? 'pajigator-outer-container' : 'pajigator-outer-container-single-result'\">\
|
|
2822
|
+
args: [{ selector: 'bit-pajigator', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div [class]=\"paginator() ? 'pajigator-outer-container' : 'pajigator-outer-container-single-result'\">\n <div class=\"pajigator-container\">\n <div class=\"pajigator-results-container\">\n <span class=\"pajigator-results-label\">{{\"bitnglibrary.footer.results\" | transloco}}</span>\n @if (paginator()) { \n @if (maxCurrentItems() >= totalItems()) {\n <span>{{totalItems() | cantidadMoneda:0}}</span>\n }\n @if (maxCurrentItems() < totalItems()) {\n <span>{{maxCurrentItems()}} / {{totalItems()}}</span>\n }\n } @else {\n <span>{{totalItems() | cantidadMoneda:0}}</span>\n }\n </div>\n @if (paginator()) { \n <div class=\"pajigator-page-size\">\n <div class=\"pajigator-page-size-label\">{{ \"bitnglibrary.footer.itemsPerPage\" | transloco }}</div>\n <!-- appendTo=\"body\"--->\n <p-select appendTo=\"body\"\n [options]=\"rowsPerPageOptions()\"\n [ngModel]=\"itemsPerPage()\"\n (ngModelChange)=\"changeItemsPerpage($event)\" />\n </div>\n <div class=\"pajigator-range-actions\">\n @if (showPageInfo()) {\n <div class=\"pajigator-range-label\"> {{ \"bitnglibrary.footer.page\" | transloco }} {{page()}} de {{maxPages()}} </div>\n }\n <p-button (onClick)=\"changePage(-1)\" [disabled]=\"!showLeftNavigationButton()\" severity=\"primary\" label=\"<\" ariaLabel=\"P\u00E0gina anterior\" />\n <p-button (onClick)=\"changePage(1)\" [disabled]=\"!showRightNavigationButton()\" severity=\"primary\" label=\">\" ariaLabel=\"P\u00E0gina seg\u00FCent\" />\n </div>\n } \n </div>\n</div>" }]
|
|
2820
2823
|
}], propDecorators: { paginator: [{ type: i0.Input, args: [{ isSignal: true, alias: "paginator", required: false }] }], page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }, { type: i0.Output, args: ["pageChange"] }], totalItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalItems", required: false }] }], rowsPerPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageOptions", required: false }] }], itemsPerPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsPerPage", required: false }] }, { type: i0.Output, args: ["itemsPerPageChange"] }], maxCurrentItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxCurrentItems", required: false }] }], onPageChange: [{ type: i0.Output, args: ["onPageChange"] }], onPageSizeChange: [{ type: i0.Output, args: ["onPageSizeChange"] }] } });
|
|
2821
2824
|
|
|
2822
2825
|
class BitHelpComponent {
|
|
@@ -2831,22 +2834,23 @@ class BitHelpComponent {
|
|
|
2831
2834
|
}
|
|
2832
2835
|
/** Oculta el modal con los avisos */
|
|
2833
2836
|
hideAyuda() {
|
|
2837
|
+
this.ayudaService.resetAyuda();
|
|
2834
2838
|
this.ayuda.set(null);
|
|
2835
2839
|
}
|
|
2836
2840
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitHelpComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2837
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitHelpComponent, isStandalone: false, selector: "bit-help", ngImport: i0, template: `
|
|
2838
|
-
@if (mostrarAyuda()) {
|
|
2839
|
-
<div class="ventana-ayuda">
|
|
2840
|
-
<div class="ayuda-header">
|
|
2841
|
-
{{ ayuda().header }}
|
|
2842
|
-
<span class="fa fa-close" (click)="hideAyuda()"></span>
|
|
2843
|
-
</div>
|
|
2844
|
-
<div class="ayuda-body">
|
|
2845
|
-
<p class="ayuda-subtitulo" [innerHTML]="ayuda().title"></p>
|
|
2846
|
-
<p [innerHTML]="ayuda().body"></p>
|
|
2847
|
-
</div>
|
|
2848
|
-
</div>
|
|
2849
|
-
}
|
|
2841
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitHelpComponent, isStandalone: false, selector: "bit-help", ngImport: i0, template: `
|
|
2842
|
+
@if (mostrarAyuda()) {
|
|
2843
|
+
<div class="ventana-ayuda">
|
|
2844
|
+
<div class="ayuda-header">
|
|
2845
|
+
{{ ayuda().header }}
|
|
2846
|
+
<span class="fa fa-close" (click)="hideAyuda()"></span>
|
|
2847
|
+
</div>
|
|
2848
|
+
<div class="ayuda-body">
|
|
2849
|
+
<p class="ayuda-subtitulo" [innerHTML]="ayuda().title"></p>
|
|
2850
|
+
<p [innerHTML]="ayuda().body"></p>
|
|
2851
|
+
</div>
|
|
2852
|
+
</div>
|
|
2853
|
+
}
|
|
2850
2854
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2851
2855
|
}
|
|
2852
2856
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitHelpComponent, decorators: [{
|
|
@@ -2854,19 +2858,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
2854
2858
|
args: [{
|
|
2855
2859
|
selector: "bit-help",
|
|
2856
2860
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2857
|
-
template: `
|
|
2858
|
-
@if (mostrarAyuda()) {
|
|
2859
|
-
<div class="ventana-ayuda">
|
|
2860
|
-
<div class="ayuda-header">
|
|
2861
|
-
{{ ayuda().header }}
|
|
2862
|
-
<span class="fa fa-close" (click)="hideAyuda()"></span>
|
|
2863
|
-
</div>
|
|
2864
|
-
<div class="ayuda-body">
|
|
2865
|
-
<p class="ayuda-subtitulo" [innerHTML]="ayuda().title"></p>
|
|
2866
|
-
<p [innerHTML]="ayuda().body"></p>
|
|
2867
|
-
</div>
|
|
2868
|
-
</div>
|
|
2869
|
-
}
|
|
2861
|
+
template: `
|
|
2862
|
+
@if (mostrarAyuda()) {
|
|
2863
|
+
<div class="ventana-ayuda">
|
|
2864
|
+
<div class="ayuda-header">
|
|
2865
|
+
{{ ayuda().header }}
|
|
2866
|
+
<span class="fa fa-close" (click)="hideAyuda()"></span>
|
|
2867
|
+
</div>
|
|
2868
|
+
<div class="ayuda-body">
|
|
2869
|
+
<p class="ayuda-subtitulo" [innerHTML]="ayuda().title"></p>
|
|
2870
|
+
<p [innerHTML]="ayuda().body"></p>
|
|
2871
|
+
</div>
|
|
2872
|
+
</div>
|
|
2873
|
+
}
|
|
2870
2874
|
`
|
|
2871
2875
|
//styleUrls: ["bit-help.component.css"]
|
|
2872
2876
|
,
|
|
@@ -2966,11 +2970,11 @@ class BitFooterMessagesComponent {
|
|
|
2966
2970
|
}, ...(ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []));
|
|
2967
2971
|
}
|
|
2968
2972
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitFooterMessagesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2969
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.13", type: BitFooterMessagesComponent, isStandalone: false, selector: "bit-footer-messages", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, maxCurrentItems: { classPropertyName: "maxCurrentItems", publicName: "maxCurrentItems", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, typeFooter: { classPropertyName: "typeFooter", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div>\
|
|
2973
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.13", type: BitFooterMessagesComponent, isStandalone: false, selector: "bit-footer-messages", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, maxCurrentItems: { classPropertyName: "maxCurrentItems", publicName: "maxCurrentItems", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, typeFooter: { classPropertyName: "typeFooter", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div>\n <div [class]=\"getStyle()\">\n <i class=\"fa fa-info\"></i>\n <span>{{message()}}</span>\n </div>\n\n <bit-help />\n</div>", dependencies: [{ kind: "component", type: BitHelpComponent, selector: "bit-help" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2970
2974
|
}
|
|
2971
2975
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitFooterMessagesComponent, decorators: [{
|
|
2972
2976
|
type: Component,
|
|
2973
|
-
args: [{ selector: 'bit-footer-messages', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div>\
|
|
2977
|
+
args: [{ selector: 'bit-footer-messages', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div>\n <div [class]=\"getStyle()\">\n <i class=\"fa fa-info\"></i>\n <span>{{message()}}</span>\n </div>\n\n <bit-help />\n</div>" }]
|
|
2974
2978
|
}], propDecorators: { status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: false }] }], maxCurrentItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxCurrentItems", required: false }] }], totalItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalItems", required: false }] }], typeFooter: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }] } });
|
|
2975
2979
|
|
|
2976
2980
|
/**
|
|
@@ -3019,11 +3023,11 @@ class BitFooterComponent {
|
|
|
3019
3023
|
this.onNewPageSize.emit(pageSize);
|
|
3020
3024
|
}
|
|
3021
3025
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3022
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitFooterComponent, isStandalone: false, selector: "bit-footer", inputs: { totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, paginator: { classPropertyName: "paginator", publicName: "paginator", isSignal: true, isRequired: false, transformFunction: null }, mostrarAvisos: { classPropertyName: "mostrarAvisos", publicName: "mostrarAvisos", isSignal: true, isRequired: false, transformFunction: null }, fixed: { classPropertyName: "fixed", publicName: "fixed", isSignal: true, isRequired: false, transformFunction: null }, typeFooter: { classPropertyName: "typeFooter", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPageChange: "onPageChange", onNewPageSize: "onNewPageSize" }, ngImport: i0, template: "<footer [class]=\"getStyle()\">\
|
|
3026
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitFooterComponent, isStandalone: false, selector: "bit-footer", inputs: { totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, paginator: { classPropertyName: "paginator", publicName: "paginator", isSignal: true, isRequired: false, transformFunction: null }, mostrarAvisos: { classPropertyName: "mostrarAvisos", publicName: "mostrarAvisos", isSignal: true, isRequired: false, transformFunction: null }, fixed: { classPropertyName: "fixed", publicName: "fixed", isSignal: true, isRequired: false, transformFunction: null }, typeFooter: { classPropertyName: "typeFooter", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPageChange: "onPageChange", onNewPageSize: "onNewPageSize" }, ngImport: i0, template: "<footer [class]=\"getStyle()\">\n\n @if (showScroll()) {\n <div class=\"scroll-outer-container\">\n <div class=\"pajigator-container\">\n <label>{{\"bitnglibrary.footer.results\" | transloco}}</label>\n @if (maxCurrentItems() >= totalItems()) {\n <span>{{totalItems()}}</span>\n }\n @if (maxCurrentItems() < totalItems()) {\n <span>{{maxCurrentItems()}} / {{totalItems()}}</span>\n }\n </div>\n </div>\n }\n\n @if (showPajigator()) {\n <bit-pajigator [paginator]=\"paginator()\"\n [totalItems]=\"totalItems()\"\n [page]=\"page()\"\n [itemsPerPage]=\"itemsPerPage()\"\n [rowsPerPageOptions]=\"[baseItemsPerPage,baseItemsPerPage*2,baseItemsPerPage*4,baseItemsPerPage*10,baseItemsPerPage*50]\"\n [maxCurrentItems]=\"maxCurrentItems()\"\n (onPageChange)=\"pageChange($event)\"\n (onPageSizeChange)=\"pageSizeChange($event)\" />\n }\n\n @if (mostrarAvisos()) {\n <bit-footer-messages [type]=\"typeFooter()\"\n [status]=\"status()\"\n [maxCurrentItems]=\"maxCurrentItems()\"\n [totalItems]=\"totalItems()\" />\n }\n\n</footer>\n", dependencies: [{ kind: "component", type: BitPajigatorComponent, selector: "bit-pajigator", inputs: ["paginator", "page", "totalItems", "rowsPerPageOptions", "itemsPerPage", "maxCurrentItems"], outputs: ["pageChange", "itemsPerPageChange", "onPageChange", "onPageSizeChange"] }, { kind: "component", type: BitFooterMessagesComponent, selector: "bit-footer-messages", inputs: ["status", "maxCurrentItems", "totalItems", "type"] }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3023
3027
|
}
|
|
3024
3028
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitFooterComponent, decorators: [{
|
|
3025
3029
|
type: Component,
|
|
3026
|
-
args: [{ selector: "bit-footer", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<footer [class]=\"getStyle()\">\
|
|
3030
|
+
args: [{ selector: "bit-footer", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<footer [class]=\"getStyle()\">\n\n @if (showScroll()) {\n <div class=\"scroll-outer-container\">\n <div class=\"pajigator-container\">\n <label>{{\"bitnglibrary.footer.results\" | transloco}}</label>\n @if (maxCurrentItems() >= totalItems()) {\n <span>{{totalItems()}}</span>\n }\n @if (maxCurrentItems() < totalItems()) {\n <span>{{maxCurrentItems()}} / {{totalItems()}}</span>\n }\n </div>\n </div>\n }\n\n @if (showPajigator()) {\n <bit-pajigator [paginator]=\"paginator()\"\n [totalItems]=\"totalItems()\"\n [page]=\"page()\"\n [itemsPerPage]=\"itemsPerPage()\"\n [rowsPerPageOptions]=\"[baseItemsPerPage,baseItemsPerPage*2,baseItemsPerPage*4,baseItemsPerPage*10,baseItemsPerPage*50]\"\n [maxCurrentItems]=\"maxCurrentItems()\"\n (onPageChange)=\"pageChange($event)\"\n (onPageSizeChange)=\"pageSizeChange($event)\" />\n }\n\n @if (mostrarAvisos()) {\n <bit-footer-messages [type]=\"typeFooter()\"\n [status]=\"status()\"\n [maxCurrentItems]=\"maxCurrentItems()\"\n [totalItems]=\"totalItems()\" />\n }\n\n</footer>\n" }]
|
|
3027
3031
|
}], propDecorators: { totalItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalItems", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: false }] }], paginator: [{ type: i0.Input, args: [{ isSignal: true, alias: "paginator", required: false }] }], mostrarAvisos: [{ type: i0.Input, args: [{ isSignal: true, alias: "mostrarAvisos", required: false }] }], fixed: [{ type: i0.Input, args: [{ isSignal: true, alias: "fixed", required: false }] }], typeFooter: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], onPageChange: [{ type: i0.Output, args: ["onPageChange"] }], onNewPageSize: [{ type: i0.Output, args: ["onNewPageSize"] }] } });
|
|
3028
3032
|
|
|
3029
3033
|
class BitBotonAyudaComponent {
|
|
@@ -3038,16 +3042,16 @@ class BitBotonAyudaComponent {
|
|
|
3038
3042
|
this.ayudaService.mostrarAyuda(this.ayuda());
|
|
3039
3043
|
}
|
|
3040
3044
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitBotonAyudaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3041
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitBotonAyudaComponent, isStandalone: false, selector: "bit-boton-ayuda", inputs: { ayuda: { classPropertyName: "ayuda", publicName: "ayuda", isSignal: true, isRequired: false, transformFunction: null }, boton: { classPropertyName: "boton", publicName: "boton", isSignal: true, isRequired: false, transformFunction: null }, extraClass: { classPropertyName: "extraClass", publicName: "extraClass", isSignal: true, isRequired: false, transformFunction: null }, buttonSize: { classPropertyName: "buttonSize", publicName: "buttonSize", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3042
|
-
@if (boton()) {
|
|
3043
|
-
<p-button type="button" (onClick)="mostrarAyuda()" [size]="buttonSize()" [ngClass]="'p-button-outlined p-button-secondary ' + extraClass()">
|
|
3044
|
-
{{ "bitnglibrary.help" | transloco }} <span class="fa fa-life-ring"></span>
|
|
3045
|
-
</p-button>
|
|
3046
|
-
}
|
|
3047
|
-
|
|
3048
|
-
@if (!boton()) {
|
|
3049
|
-
<i [ngClass]="'btn-ayuda fa fa-question ' + extraClass()" (click)="mostrarAyuda()"></i>
|
|
3050
|
-
}
|
|
3045
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitBotonAyudaComponent, isStandalone: false, selector: "bit-boton-ayuda", inputs: { ayuda: { classPropertyName: "ayuda", publicName: "ayuda", isSignal: true, isRequired: false, transformFunction: null }, boton: { classPropertyName: "boton", publicName: "boton", isSignal: true, isRequired: false, transformFunction: null }, extraClass: { classPropertyName: "extraClass", publicName: "extraClass", isSignal: true, isRequired: false, transformFunction: null }, buttonSize: { classPropertyName: "buttonSize", publicName: "buttonSize", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3046
|
+
@if (boton()) {
|
|
3047
|
+
<p-button type="button" (onClick)="mostrarAyuda()" [size]="buttonSize()" [ngClass]="'p-button-outlined p-button-secondary ' + extraClass()">
|
|
3048
|
+
{{ "bitnglibrary.help" | transloco }} <span class="fa fa-life-ring"></span>
|
|
3049
|
+
</p-button>
|
|
3050
|
+
}
|
|
3051
|
+
|
|
3052
|
+
@if (!boton()) {
|
|
3053
|
+
<i [ngClass]="'btn-ayuda fa fa-question ' + extraClass()" (click)="mostrarAyuda()"></i>
|
|
3054
|
+
}
|
|
3051
3055
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3052
3056
|
}
|
|
3053
3057
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitBotonAyudaComponent, decorators: [{
|
|
@@ -3055,16 +3059,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
3055
3059
|
args: [{
|
|
3056
3060
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3057
3061
|
selector: "bit-boton-ayuda",
|
|
3058
|
-
template: `
|
|
3059
|
-
@if (boton()) {
|
|
3060
|
-
<p-button type="button" (onClick)="mostrarAyuda()" [size]="buttonSize()" [ngClass]="'p-button-outlined p-button-secondary ' + extraClass()">
|
|
3061
|
-
{{ "bitnglibrary.help" | transloco }} <span class="fa fa-life-ring"></span>
|
|
3062
|
-
</p-button>
|
|
3063
|
-
}
|
|
3064
|
-
|
|
3065
|
-
@if (!boton()) {
|
|
3066
|
-
<i [ngClass]="'btn-ayuda fa fa-question ' + extraClass()" (click)="mostrarAyuda()"></i>
|
|
3067
|
-
}
|
|
3062
|
+
template: `
|
|
3063
|
+
@if (boton()) {
|
|
3064
|
+
<p-button type="button" (onClick)="mostrarAyuda()" [size]="buttonSize()" [ngClass]="'p-button-outlined p-button-secondary ' + extraClass()">
|
|
3065
|
+
{{ "bitnglibrary.help" | transloco }} <span class="fa fa-life-ring"></span>
|
|
3066
|
+
</p-button>
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
@if (!boton()) {
|
|
3070
|
+
<i [ngClass]="'btn-ayuda fa fa-question ' + extraClass()" (click)="mostrarAyuda()"></i>
|
|
3071
|
+
}
|
|
3068
3072
|
`,
|
|
3069
3073
|
standalone: false
|
|
3070
3074
|
}]
|
|
@@ -3201,11 +3205,11 @@ class BitToolbarComponent extends BaseComponent {
|
|
|
3201
3205
|
return toolbarItem.otherAction && toolbarItem.visible && (!this.otherActionsDropdown() || toolbarItem.displayAsButton === true);
|
|
3202
3206
|
}
|
|
3203
3207
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitToolbarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3204
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitToolbarComponent, isStandalone: false, selector: "bit-toolbar", inputs: { toolbar: { classPropertyName: "toolbar", publicName: "toolbar", isSignal: true, isRequired: false, transformFunction: null }, ayuda: { classPropertyName: "ayuda", publicName: "ayuda", isSignal: true, isRequired: false, transformFunction: null }, femenino: { classPropertyName: "femenino", publicName: "femenino", isSignal: true, isRequired: false, transformFunction: null }, buttonSize: { classPropertyName: "buttonSize", publicName: "buttonSize", isSignal: true, isRequired: false, transformFunction: null }, otherActionsDropdown: { classPropertyName: "otherActionsDropdown", publicName: "otherActionsDropdown", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onToolbarButtonPressed: "onToolbarButtonPressed" }, usesInheritance: true, ngImport: i0, template: "<div class=\"contenedor-toolbar\">\
|
|
3208
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitToolbarComponent, isStandalone: false, selector: "bit-toolbar", inputs: { toolbar: { classPropertyName: "toolbar", publicName: "toolbar", isSignal: true, isRequired: false, transformFunction: null }, ayuda: { classPropertyName: "ayuda", publicName: "ayuda", isSignal: true, isRequired: false, transformFunction: null }, femenino: { classPropertyName: "femenino", publicName: "femenino", isSignal: true, isRequired: false, transformFunction: null }, buttonSize: { classPropertyName: "buttonSize", publicName: "buttonSize", isSignal: true, isRequired: false, transformFunction: null }, otherActionsDropdown: { classPropertyName: "otherActionsDropdown", publicName: "otherActionsDropdown", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onToolbarButtonPressed: "onToolbarButtonPressed" }, usesInheritance: true, ngImport: i0, template: "<div class=\"contenedor-toolbar\">\n\n <!-- acciones no estandar definidas din\u00E1micamente o muy particulares que se deben incluir en un desplegable -->\n @if (itemsOtherActionsEnDesplegable().length > 1) {\n <p-splitbutton #sb label=\"{{'bitnglibrary.toolbar.' + otherActionsLabel() | transloco}}\" [model]=\"itemsOtherActionsEnDesplegable()\" (onClick)=\"onSplitButtonLabelClick(sb, $event)\" />\n }\n\n <!-- acciones no estandar definidas din\u00E1micamente o muy particulares que se muestran una tras otra en l\u00EDnea -->\n @for (button of itemsOtherActionsEnBoton(); track button) {\n <p-button type=\"button\" [disabled]=\"!button.enable\" (onClick)=\"otherAction(button)\" [size]=\"buttonSize()\">{{\"bitnglibrary.toolbar.\"+button.label | transloco}} <span [class]=\"button.estilo?button.estilo:'pi pi-angle-right'\"></span></p-button>\n }\n\n <!-- acciones estandar -->\n @if (visible('new')) {\n <p-button type=\"button\" [disabled]=\"!enable('new')\" (onClick)=\"newElement()\" [size]=\"buttonSize()\" styleClass=\"p-button-danger\">{{(femenino() ? \"bitnglibrary.toolbar.new-female\": \"bitnglibrary.toolbar.new\") | transloco}} <span [class]=\"estilo('new', 'pi pi-plus')\"></span></p-button>\n }\n @if (visible('add')) {\n <p-button type=\"button\" [disabled]=\"!enable('add')\" (onClick)=\"add()\" [size]=\"buttonSize()\" styleClass=\"p-button-danger\">{{\"bitnglibrary.toolbar.add\" | transloco}} <span [class]=\"estilo('add', 'pi pi-plus')\"></span></p-button>\n }\n\n @if (visible('export')) {\n <p-button type=\"button\" [disabled]=\"!enable('export')\" (onClick)=\"exportData()\" [size]=\"buttonSize()\" styleClass=\"p-button-secondary\">{{\"bitnglibrary.toolbar.export\" | transloco}} <span [class]=\"estilo('export', 'pi pi-file')\"></span></p-button>\n }\n @if (visible('save')) {\n <p-button type=\"button\" [disabled]=\"!enable('save')\" (onClick)=\"save()\" [size]=\"buttonSize()\" styleClass=\"p-button-success\">{{\"bitnglibrary.toolbar.save\" | transloco}} <span [class]=\"estilo('save', 'pi pi-save')\"></span></p-button>\n }\n @if (visible('delete')) {\n <p-button type=\"button\" [disabled]=\"!enable('delete')\" (onClick)=\"delete()\" [size]=\"buttonSize()\" styleClass=\"p-button-danger\">{{\"bitnglibrary.toolbar.delete\" | transloco}} <span [class]=\"estilo('delete', 'pi pi-trash')\"></span></p-button>\n }\n @if (visible('print')) {\n <p-button type=\"button\" [disabled]=\"!enable('print')\" (onClick)=\"print()\" [size]=\"buttonSize()\" styleClass=\"p-button-secondary\">{{\"bitnglibrary.toolbar.print\" | transloco}} <span [class]=\"estilo('print', 'pi pi-print')\"></span></p-button>\n }\n @if (ayuda()) {\n <bit-boton-ayuda boton=\"true\" [ayuda]=\"ayuda()\" [buttonSize]=\"buttonSize()\" />\n }\n</div>\n", dependencies: [{ kind: "component", type: i3$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i2$2.SplitButton, selector: "p-splitbutton, p-splitButton, p-split-button", inputs: ["model", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "icon", "iconPos", "label", "tooltip", "tooltipOptions", "styleClass", "menuStyle", "menuStyleClass", "dropdownIcon", "appendTo", "dir", "expandAriaLabel", "showTransitionOptions", "hideTransitionOptions", "motionOptions", "buttonProps", "menuButtonProps", "autofocus", "disabled", "tabindex", "menuButtonDisabled", "buttonDisabled"], outputs: ["onClick", "onMenuHide", "onMenuShow", "onDropdownClick"] }, { kind: "component", type: BitBotonAyudaComponent, selector: "bit-boton-ayuda", inputs: ["ayuda", "boton", "extraClass", "buttonSize"] }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3205
3209
|
}
|
|
3206
3210
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitToolbarComponent, decorators: [{
|
|
3207
3211
|
type: Component,
|
|
3208
|
-
args: [{ selector: "bit-toolbar", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"contenedor-toolbar\">\
|
|
3212
|
+
args: [{ selector: "bit-toolbar", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"contenedor-toolbar\">\n\n <!-- acciones no estandar definidas din\u00E1micamente o muy particulares que se deben incluir en un desplegable -->\n @if (itemsOtherActionsEnDesplegable().length > 1) {\n <p-splitbutton #sb label=\"{{'bitnglibrary.toolbar.' + otherActionsLabel() | transloco}}\" [model]=\"itemsOtherActionsEnDesplegable()\" (onClick)=\"onSplitButtonLabelClick(sb, $event)\" />\n }\n\n <!-- acciones no estandar definidas din\u00E1micamente o muy particulares que se muestran una tras otra en l\u00EDnea -->\n @for (button of itemsOtherActionsEnBoton(); track button) {\n <p-button type=\"button\" [disabled]=\"!button.enable\" (onClick)=\"otherAction(button)\" [size]=\"buttonSize()\">{{\"bitnglibrary.toolbar.\"+button.label | transloco}} <span [class]=\"button.estilo?button.estilo:'pi pi-angle-right'\"></span></p-button>\n }\n\n <!-- acciones estandar -->\n @if (visible('new')) {\n <p-button type=\"button\" [disabled]=\"!enable('new')\" (onClick)=\"newElement()\" [size]=\"buttonSize()\" styleClass=\"p-button-danger\">{{(femenino() ? \"bitnglibrary.toolbar.new-female\": \"bitnglibrary.toolbar.new\") | transloco}} <span [class]=\"estilo('new', 'pi pi-plus')\"></span></p-button>\n }\n @if (visible('add')) {\n <p-button type=\"button\" [disabled]=\"!enable('add')\" (onClick)=\"add()\" [size]=\"buttonSize()\" styleClass=\"p-button-danger\">{{\"bitnglibrary.toolbar.add\" | transloco}} <span [class]=\"estilo('add', 'pi pi-plus')\"></span></p-button>\n }\n\n @if (visible('export')) {\n <p-button type=\"button\" [disabled]=\"!enable('export')\" (onClick)=\"exportData()\" [size]=\"buttonSize()\" styleClass=\"p-button-secondary\">{{\"bitnglibrary.toolbar.export\" | transloco}} <span [class]=\"estilo('export', 'pi pi-file')\"></span></p-button>\n }\n @if (visible('save')) {\n <p-button type=\"button\" [disabled]=\"!enable('save')\" (onClick)=\"save()\" [size]=\"buttonSize()\" styleClass=\"p-button-success\">{{\"bitnglibrary.toolbar.save\" | transloco}} <span [class]=\"estilo('save', 'pi pi-save')\"></span></p-button>\n }\n @if (visible('delete')) {\n <p-button type=\"button\" [disabled]=\"!enable('delete')\" (onClick)=\"delete()\" [size]=\"buttonSize()\" styleClass=\"p-button-danger\">{{\"bitnglibrary.toolbar.delete\" | transloco}} <span [class]=\"estilo('delete', 'pi pi-trash')\"></span></p-button>\n }\n @if (visible('print')) {\n <p-button type=\"button\" [disabled]=\"!enable('print')\" (onClick)=\"print()\" [size]=\"buttonSize()\" styleClass=\"p-button-secondary\">{{\"bitnglibrary.toolbar.print\" | transloco}} <span [class]=\"estilo('print', 'pi pi-print')\"></span></p-button>\n }\n @if (ayuda()) {\n <bit-boton-ayuda boton=\"true\" [ayuda]=\"ayuda()\" [buttonSize]=\"buttonSize()\" />\n }\n</div>\n" }]
|
|
3209
3213
|
}], propDecorators: { toolbar: [{ type: i0.Input, args: [{ isSignal: true, alias: "toolbar", required: false }] }], ayuda: [{ type: i0.Input, args: [{ isSignal: true, alias: "ayuda", required: false }] }], femenino: [{ type: i0.Input, args: [{ isSignal: true, alias: "femenino", required: false }] }], buttonSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonSize", required: false }] }], otherActionsDropdown: [{ type: i0.Input, args: [{ isSignal: true, alias: "otherActionsDropdown", required: false }] }], onToolbarButtonPressed: [{ type: i0.Output, args: ["onToolbarButtonPressed"] }] } });
|
|
3210
3214
|
|
|
3211
3215
|
/**
|
|
@@ -3230,11 +3234,11 @@ class BitHeaderComponent {
|
|
|
3230
3234
|
this.onToolbarButtonPressed.emit(button);
|
|
3231
3235
|
}
|
|
3232
3236
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3233
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitHeaderComponent, isStandalone: false, selector: "bit-header", inputs: { toolbar: { classPropertyName: "toolbar", publicName: "toolbar", isSignal: true, isRequired: false, transformFunction: null }, noToolbar: { classPropertyName: "noToolbar", publicName: "noToolbar", isSignal: true, isRequired: false, transformFunction: null }, otherActionsDropdown: { classPropertyName: "otherActionsDropdown", publicName: "otherActionsDropdown", isSignal: true, isRequired: false, transformFunction: null }, breadcrumb: { classPropertyName: "breadcrumb", publicName: "breadcrumb", isSignal: true, isRequired: false, transformFunction: null }, masacciones: { classPropertyName: "masacciones", publicName: "masacciones", isSignal: true, isRequired: false, transformFunction: null }, colsBreadcrumb: { classPropertyName: "colsBreadcrumb", publicName: "colsBreadcrumb", isSignal: true, isRequired: false, transformFunction: null }, femenino: { classPropertyName: "femenino", publicName: "femenino", isSignal: true, isRequired: false, transformFunction: null }, ayuda: { classPropertyName: "ayuda", publicName: "ayuda", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onToolbarButtonPressed: "onToolbarButtonPressed" }, ngImport: i0, template: "<!-- <div class=\"grid mt-3 mb-3\">\
|
|
3237
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitHeaderComponent, isStandalone: false, selector: "bit-header", inputs: { toolbar: { classPropertyName: "toolbar", publicName: "toolbar", isSignal: true, isRequired: false, transformFunction: null }, noToolbar: { classPropertyName: "noToolbar", publicName: "noToolbar", isSignal: true, isRequired: false, transformFunction: null }, otherActionsDropdown: { classPropertyName: "otherActionsDropdown", publicName: "otherActionsDropdown", isSignal: true, isRequired: false, transformFunction: null }, breadcrumb: { classPropertyName: "breadcrumb", publicName: "breadcrumb", isSignal: true, isRequired: false, transformFunction: null }, masacciones: { classPropertyName: "masacciones", publicName: "masacciones", isSignal: true, isRequired: false, transformFunction: null }, colsBreadcrumb: { classPropertyName: "colsBreadcrumb", publicName: "colsBreadcrumb", isSignal: true, isRequired: false, transformFunction: null }, femenino: { classPropertyName: "femenino", publicName: "femenino", isSignal: true, isRequired: false, transformFunction: null }, ayuda: { classPropertyName: "ayuda", publicName: "ayuda", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onToolbarButtonPressed: "onToolbarButtonPressed" }, ngImport: i0, template: "<!-- <div class=\"grid mt-3 mb-3\">\n<div class=\"col-12 lg:col-4 sm:col-4 caja-breadcrumb\"> -->\n <!-- ruta de donde nos encontramos (miga de pan) -->\n <!-- <bit-breadcrumb *ngIf=\"breadcrumb\" [breadcrumb]=\"breadcrumb\"></bit-breadcrumb>\n</div>\n<div *ngIf=\"noToolbar === false\"\n class=\"col-12 lg:col-8 sm:col-8\"> -->\n <!-- botonera de acciones -->\n <!-- <bit-toolbar\n [toolbar]=\"toolbar\"\n [femenino]=\"femenino\"\n [otherActionsDropdown]=\"otherActionsDropdown\"\n [ayuda]=\"ayuda\"\n(onToolbarButtonPressed)=\"onTBPressed($event)\"></bit-toolbar>\n</div>\n</div> -->\n\n<div class=\"grid mt-3 mb-3\">\n <div class=\"col-12 caja-breadcrumb\" [ngClass]=\"[colsBreadcrumb() ? 'lg:col-' + colsBreadcrumb() : 'lg:col-4']\">\n <!-- ruta de donde nos encontramos (miga de pan) -->\n @if (breadcrumb()) {\n <bit-breadcrumb [breadcrumb]=\"breadcrumb()\" />\n }\n </div>\n @if (noToolbar() === false) {\n <div\n class=\"col-12\" [ngClass]=\"[colsBreadcrumb() ? 'lg:col-' + (12- colsBreadcrumb()) : 'lg:col-8']\">\n <!-- botonera de acciones -->\n <bit-toolbar [toolbar]=\"toolbar()\"\n [femenino]=\"femenino()\"\n [otherActionsDropdown]=\"otherActionsDropdown()\"\n [ayuda]=\"ayuda()\"\n (onToolbarButtonPressed)=\"onTBPressed($event)\" />\n </div>\n }\n</div>", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BitBreadCrumbComponent, selector: "bit-breadcrumb", inputs: ["breadcrumb"] }, { kind: "component", type: BitToolbarComponent, selector: "bit-toolbar", inputs: ["toolbar", "ayuda", "femenino", "buttonSize", "otherActionsDropdown"], outputs: ["onToolbarButtonPressed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3234
3238
|
}
|
|
3235
3239
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitHeaderComponent, decorators: [{
|
|
3236
3240
|
type: Component,
|
|
3237
|
-
args: [{ selector: "bit-header", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<!-- <div class=\"grid mt-3 mb-3\">\
|
|
3241
|
+
args: [{ selector: "bit-header", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<!-- <div class=\"grid mt-3 mb-3\">\n<div class=\"col-12 lg:col-4 sm:col-4 caja-breadcrumb\"> -->\n <!-- ruta de donde nos encontramos (miga de pan) -->\n <!-- <bit-breadcrumb *ngIf=\"breadcrumb\" [breadcrumb]=\"breadcrumb\"></bit-breadcrumb>\n</div>\n<div *ngIf=\"noToolbar === false\"\n class=\"col-12 lg:col-8 sm:col-8\"> -->\n <!-- botonera de acciones -->\n <!-- <bit-toolbar\n [toolbar]=\"toolbar\"\n [femenino]=\"femenino\"\n [otherActionsDropdown]=\"otherActionsDropdown\"\n [ayuda]=\"ayuda\"\n(onToolbarButtonPressed)=\"onTBPressed($event)\"></bit-toolbar>\n</div>\n</div> -->\n\n<div class=\"grid mt-3 mb-3\">\n <div class=\"col-12 caja-breadcrumb\" [ngClass]=\"[colsBreadcrumb() ? 'lg:col-' + colsBreadcrumb() : 'lg:col-4']\">\n <!-- ruta de donde nos encontramos (miga de pan) -->\n @if (breadcrumb()) {\n <bit-breadcrumb [breadcrumb]=\"breadcrumb()\" />\n }\n </div>\n @if (noToolbar() === false) {\n <div\n class=\"col-12\" [ngClass]=\"[colsBreadcrumb() ? 'lg:col-' + (12- colsBreadcrumb()) : 'lg:col-8']\">\n <!-- botonera de acciones -->\n <bit-toolbar [toolbar]=\"toolbar()\"\n [femenino]=\"femenino()\"\n [otherActionsDropdown]=\"otherActionsDropdown()\"\n [ayuda]=\"ayuda()\"\n (onToolbarButtonPressed)=\"onTBPressed($event)\" />\n </div>\n }\n</div>" }]
|
|
3238
3242
|
}], propDecorators: { toolbar: [{ type: i0.Input, args: [{ isSignal: true, alias: "toolbar", required: false }] }], noToolbar: [{ type: i0.Input, args: [{ isSignal: true, alias: "noToolbar", required: false }] }], otherActionsDropdown: [{ type: i0.Input, args: [{ isSignal: true, alias: "otherActionsDropdown", required: false }] }], breadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumb", required: false }] }], masacciones: [{ type: i0.Input, args: [{ isSignal: true, alias: "masacciones", required: false }] }], colsBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "colsBreadcrumb", required: false }] }], femenino: [{ type: i0.Input, args: [{ isSignal: true, alias: "femenino", required: false }] }], ayuda: [{ type: i0.Input, args: [{ isSignal: true, alias: "ayuda", required: false }] }], onToolbarButtonPressed: [{ type: i0.Output, args: ["onToolbarButtonPressed"] }] } });
|
|
3239
3243
|
|
|
3240
3244
|
class BitLoadingComponent {
|
|
@@ -3248,16 +3252,16 @@ class BitLoadingComponent {
|
|
|
3248
3252
|
this.generalUtils.loading.set(0);
|
|
3249
3253
|
}
|
|
3250
3254
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3251
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitLoadingComponent, isStandalone: false, selector: "bit-loading", inputs: { imageSource: { classPropertyName: "imageSource", publicName: "source", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3252
|
-
@if (loading()) {
|
|
3253
|
-
<div class="modal">
|
|
3254
|
-
<div class="grid">
|
|
3255
|
-
<div class="col-12 text-center">
|
|
3256
|
-
<i class="pi pi-spin pi-spinner icono-loading"></i>
|
|
3257
|
-
</div>
|
|
3258
|
-
</div>
|
|
3259
|
-
</div>
|
|
3260
|
-
}
|
|
3255
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitLoadingComponent, isStandalone: false, selector: "bit-loading", inputs: { imageSource: { classPropertyName: "imageSource", publicName: "source", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3256
|
+
@if (loading()) {
|
|
3257
|
+
<div class="modal">
|
|
3258
|
+
<div class="grid">
|
|
3259
|
+
<div class="col-12 text-center">
|
|
3260
|
+
<i class="pi pi-spin pi-spinner icono-loading"></i>
|
|
3261
|
+
</div>
|
|
3262
|
+
</div>
|
|
3263
|
+
</div>
|
|
3264
|
+
}
|
|
3261
3265
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3262
3266
|
}
|
|
3263
3267
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitLoadingComponent, decorators: [{
|
|
@@ -3265,16 +3269,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
3265
3269
|
args: [{
|
|
3266
3270
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3267
3271
|
selector: "bit-loading",
|
|
3268
|
-
template: `
|
|
3269
|
-
@if (loading()) {
|
|
3270
|
-
<div class="modal">
|
|
3271
|
-
<div class="grid">
|
|
3272
|
-
<div class="col-12 text-center">
|
|
3273
|
-
<i class="pi pi-spin pi-spinner icono-loading"></i>
|
|
3274
|
-
</div>
|
|
3275
|
-
</div>
|
|
3276
|
-
</div>
|
|
3277
|
-
}
|
|
3272
|
+
template: `
|
|
3273
|
+
@if (loading()) {
|
|
3274
|
+
<div class="modal">
|
|
3275
|
+
<div class="grid">
|
|
3276
|
+
<div class="col-12 text-center">
|
|
3277
|
+
<i class="pi pi-spin pi-spinner icono-loading"></i>
|
|
3278
|
+
</div>
|
|
3279
|
+
</div>
|
|
3280
|
+
</div>
|
|
3281
|
+
}
|
|
3278
3282
|
`,
|
|
3279
3283
|
standalone: false
|
|
3280
3284
|
}]
|
|
@@ -3598,11 +3602,11 @@ class BitNGUploadComponent {
|
|
|
3598
3602
|
this.hasBaseDropZoneOver.set(e);
|
|
3599
3603
|
}
|
|
3600
3604
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitNGUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3601
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitNGUploadComponent, isStandalone: false, selector: "bit-ng-upload", inputs: { uploader: { classPropertyName: "uploader", publicName: "uploader", isSignal: true, isRequired: true, transformFunction: null }, hasDropZone: { classPropertyName: "hasDropZone", publicName: "hasDropZone", isSignal: true, isRequired: false, transformFunction: null }, hasQueue: { classPropertyName: "hasQueue", publicName: "hasQueue", isSignal: true, isRequired: false, transformFunction: null }, hasSingleUpload: { classPropertyName: "hasSingleUpload", publicName: "hasSingleUpload", isSignal: true, isRequired: false, transformFunction: null }, hasMultipleUpload: { classPropertyName: "hasMultipleUpload", publicName: "hasMultipleUpload", isSignal: true, isRequired: false, transformFunction: null }, deleteItemAfterUpload: { classPropertyName: "deleteItemAfterUpload", publicName: "deleteItemAfterUpload", isSignal: true, isRequired: false, transformFunction: null }, canUpload: { classPropertyName: "canUpload", publicName: "canUpload", isSignal: true, isRequired: false, transformFunction: null }, hasProgressBar: { classPropertyName: "hasProgressBar", publicName: "hasProgressBar", isSignal: true, isRequired: false, transformFunction: null }, sizeDropZone: { classPropertyName: "sizeDropZone", publicName: "sizeDropZone", isSignal: true, isRequired: false, transformFunction: null }, sizeQueue: { classPropertyName: "sizeQueue", publicName: "sizeQueue", isSignal: true, isRequired: false, transformFunction: null }, inputAccept: { classPropertyName: "inputAccept", publicName: "inputAccept", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSuccess: "onSuccess", onError: "onError" }, viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"grid\">\r\n <div class=\"col-12\">\r\n @if (hasDropZone()) {\r\n <div\r\n ng2FileDrop\r\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver()}\"\r\n (fileOver)=\"fileOverBase($event)\"\r\n [uploader]=\"uploader()\"\r\n class=\"well my-drop-zone\">\r\n <div class=\"contenedor-upload\">\r\n <i class=\"fa fa-file documento\"></i>\r\n <div>\r\n <span>{{ \"bitnglibrary.upload.dropfiles\" | transloco }}</span>\r\n <div class=\"grid\">\r\n <div class=\"col-12\">\r\n @if (hasMultipleUpload()) {\r\n <label class=\"btn-upload\">\r\n <input autocomplete=\"upload\" type=\"file\" ng2FileSelect [uploader]=\"uploader()\" multiple [accept]=\"inputAccept()\" />\r\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.multiple' | transloco}}\r\n </label>\r\n }\r\n @if (hasSingleUpload()) {\r\n <label class=\"btn-upload\">\r\n <input autocomplete=\"upload\" #fileRef type=\"file\" ng2FileSelect [uploader]=\"uploader()\" [accept]=\"inputAccept()\" />\r\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.simple' | transloco}}\r\n </label>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n<div class=\"grid\">\r\n @if (hasQueue()) {\r\n <div class=\"col-12\">\r\n <p>{{\"bitnglibrary.upload.uploadfiles\" | transloco}}: {{ uploader()?.queue?.length }}</p>\r\n <p-table [value]=\"uploader()?.queue\">\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th width=\"50%\">{{\"bitnglibrary.upload.filename\" | transloco}}</th>\r\n @if (uploader().options.isHTML5) {\r\n <th>{{\"bitnglibrary.upload.filesize\" | transloco}}</th>\r\n }\r\n @if (uploader().options.isHTML5 && hasProgressBar()) {\r\n <th>{{\"bitnglibrary.upload.progress\" | transloco}}</th>\r\n }\r\n @if (canUpload()) {\r\n <th>Estat</th>\r\n }\r\n <th>{{\"bitnglibrary.upload.actions\" | transloco}}</th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-item>\r\n <tr>\r\n <td><strong>{{ item?.file?.name }}</strong></td>\r\n @if (uploader()?.options?.isHTML5) {\r\n <td nowrap>{{ item?.file?.size/1024 | number:'.2' }} KB</td>\r\n }\r\n @if (uploader().options.isHTML5 && hasProgressBar()) {\r\n <td>\r\n <div class=\"progress\" style=\"margin-bottom: 0;\">\r\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': item.progress + '%' }\"></div>\r\n </div>\r\n </td>\r\n }\r\n @if (canUpload()) {\r\n <td class=\"p-text-center\">\r\n @if (item.isSuccess) {\r\n <span><i class=\"fa fa-check\"></i></span>\r\n }\r\n @if (item.isCancel) {\r\n <span><i class=\"fa fa-ban\"></i></span>\r\n }\r\n @if (item.isError) {\r\n <span><i class=\"fa fa-times\"></i></span>\r\n }\r\n </td>\r\n }\r\n <td nowrap>\r\n @if (canUpload()) {\r\n <p-button icon=\"fa fa-upload\" title=\"{{'bitnglibrary.upload.upload' | transloco}}\" styleClass=\"p-button-success\"\r\n (onClick)=\"uploadFile(item)\" [disabled]=\"item.isReady || item.isUploading || item.isSuccess\" />\r\n }\r\n @if (canUpload()) {\r\n <p-button icon=\"fa fa-ban\" title=\"{{'bitnglibrary.upload.cancelupload' | transloco}}\" styleClass=\"p-button-warning\"\r\n (onClick)=\"cancelFile(item)\" [disabled]=\"!item.isUploading\" />\r\n }\r\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removefromqueue' | transloco}}\" styleClass=\"p-button-danger\"\r\n (onClick)=\"removeFile(item)\" />\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n @if (hasProgressBar()) {\r\n <div class=\"cola-progreso\">\r\n <span>{{\"bitnglibrary.upload.progressqueue\" | transloco}}<span>{{(uploader()?.progress?.toString() == 'NaN'? (\"bitnglibrary.upload.finishupload\"|transloco): uploader()?.progress + ' %')}}</span></span>\r\n <div class=\"progress\">\r\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': (uploader()?.progress?.toString() == 'NaN'?'0':uploader()?.progress) + '%' }\"></div>\r\n </div>\r\n </div>\r\n }\r\n <div>\r\n\r\n @if (canUpload()) {\r\n <p-button icon=\"fa fa-upload\" title=\"{{'bitnglibrary.upload.uploadall' | transloco}}\" styleClass=\"p-button-success\"\r\n (onClick)=\"uploadAll()\" [disabled]=\"!(uploader()?.getNotUploadedItems()?.length)\" />\r\n }\r\n @if (canUpload()) {\r\n <p-button icon=\"fa fa-ban\" title=\"{{'bitnglibrary.upload.cancelall' | transloco}}\" styleClass=\"p-button-warning\"\r\n (onClick)=\"cancelQueue()\" [disabled]=\"!(uploader()?.isUploading)\" />\r\n }\r\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removeall' | transloco}}\" styleClass=\"p-button-danger\"\r\n (onClick)=\"removeQueue()\" [disabled]=\"!(uploader()?.queue?.length)\" />\r\n </div>\r\n </div>\r\n }\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i4.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i5.FileDropDirective, selector: "[ng2FileDrop]", inputs: ["uploader"], outputs: ["fileOver", "onFileDrop"] }, { kind: "directive", type: i5.FileSelectDirective, selector: "[ng2FileSelect]", inputs: ["uploader"], outputs: ["onFileSelected"] }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "pipe", type: i2.DecimalPipe, name: "number" }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3605
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitNGUploadComponent, isStandalone: false, selector: "bit-ng-upload", inputs: { uploader: { classPropertyName: "uploader", publicName: "uploader", isSignal: true, isRequired: true, transformFunction: null }, hasDropZone: { classPropertyName: "hasDropZone", publicName: "hasDropZone", isSignal: true, isRequired: false, transformFunction: null }, hasQueue: { classPropertyName: "hasQueue", publicName: "hasQueue", isSignal: true, isRequired: false, transformFunction: null }, hasSingleUpload: { classPropertyName: "hasSingleUpload", publicName: "hasSingleUpload", isSignal: true, isRequired: false, transformFunction: null }, hasMultipleUpload: { classPropertyName: "hasMultipleUpload", publicName: "hasMultipleUpload", isSignal: true, isRequired: false, transformFunction: null }, deleteItemAfterUpload: { classPropertyName: "deleteItemAfterUpload", publicName: "deleteItemAfterUpload", isSignal: true, isRequired: false, transformFunction: null }, canUpload: { classPropertyName: "canUpload", publicName: "canUpload", isSignal: true, isRequired: false, transformFunction: null }, hasProgressBar: { classPropertyName: "hasProgressBar", publicName: "hasProgressBar", isSignal: true, isRequired: false, transformFunction: null }, sizeDropZone: { classPropertyName: "sizeDropZone", publicName: "sizeDropZone", isSignal: true, isRequired: false, transformFunction: null }, sizeQueue: { classPropertyName: "sizeQueue", publicName: "sizeQueue", isSignal: true, isRequired: false, transformFunction: null }, inputAccept: { classPropertyName: "inputAccept", publicName: "inputAccept", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSuccess: "onSuccess", onError: "onError" }, viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"grid\">\n <div class=\"col-12\">\n @if (hasDropZone()) {\n <div\n ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver()}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader()\"\n class=\"well my-drop-zone\">\n <div class=\"contenedor-upload\">\n <i class=\"fa fa-file documento\"></i>\n <div>\n <span>{{ \"bitnglibrary.upload.dropfiles\" | transloco }}</span>\n <div class=\"grid\">\n <div class=\"col-12\">\n @if (hasMultipleUpload()) {\n <label class=\"btn-upload\">\n <input autocomplete=\"upload\" type=\"file\" ng2FileSelect [uploader]=\"uploader()\" multiple [accept]=\"inputAccept()\" />\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.multiple' | transloco}}\n </label>\n }\n @if (hasSingleUpload()) {\n <label class=\"btn-upload\">\n <input autocomplete=\"upload\" #fileRef type=\"file\" ng2FileSelect [uploader]=\"uploader()\" [accept]=\"inputAccept()\" />\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.simple' | transloco}}\n </label>\n }\n </div>\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n</div>\n<div class=\"grid\">\n @if (hasQueue()) {\n <div class=\"col-12\">\n <p>{{\"bitnglibrary.upload.uploadfiles\" | transloco}}: {{ uploader()?.queue?.length }}</p>\n <p-table [value]=\"uploader()?.queue\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th width=\"50%\">{{\"bitnglibrary.upload.filename\" | transloco}}</th>\n @if (uploader().options.isHTML5) {\n <th>{{\"bitnglibrary.upload.filesize\" | transloco}}</th>\n }\n @if (uploader().options.isHTML5 && hasProgressBar()) {\n <th>{{\"bitnglibrary.upload.progress\" | transloco}}</th>\n }\n @if (canUpload()) {\n <th>Estat</th>\n }\n <th>{{\"bitnglibrary.upload.actions\" | transloco}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-item>\n <tr>\n <td><strong>{{ item?.file?.name }}</strong></td>\n @if (uploader()?.options?.isHTML5) {\n <td nowrap>{{ item?.file?.size/1024 | number:'.2' }} KB</td>\n }\n @if (uploader().options.isHTML5 && hasProgressBar()) {\n <td>\n <div class=\"progress\" style=\"margin-bottom: 0;\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': item.progress + '%' }\"></div>\n </div>\n </td>\n }\n @if (canUpload()) {\n <td class=\"p-text-center\">\n @if (item.isSuccess) {\n <span><i class=\"fa fa-check\"></i></span>\n }\n @if (item.isCancel) {\n <span><i class=\"fa fa-ban\"></i></span>\n }\n @if (item.isError) {\n <span><i class=\"fa fa-times\"></i></span>\n }\n </td>\n }\n <td nowrap>\n @if (canUpload()) {\n <p-button icon=\"fa fa-upload\" title=\"{{'bitnglibrary.upload.upload' | transloco}}\" styleClass=\"p-button-success\"\n (onClick)=\"uploadFile(item)\" [disabled]=\"item.isReady || item.isUploading || item.isSuccess\" />\n }\n @if (canUpload()) {\n <p-button icon=\"fa fa-ban\" title=\"{{'bitnglibrary.upload.cancelupload' | transloco}}\" styleClass=\"p-button-warning\"\n (onClick)=\"cancelFile(item)\" [disabled]=\"!item.isUploading\" />\n }\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removefromqueue' | transloco}}\" styleClass=\"p-button-danger\"\n (onClick)=\"removeFile(item)\" />\n </td>\n </tr>\n </ng-template>\n </p-table>\n @if (hasProgressBar()) {\n <div class=\"cola-progreso\">\n <span>{{\"bitnglibrary.upload.progressqueue\" | transloco}}<span>{{(uploader()?.progress?.toString() == 'NaN'? (\"bitnglibrary.upload.finishupload\"|transloco): uploader()?.progress + ' %')}}</span></span>\n <div class=\"progress\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': (uploader()?.progress?.toString() == 'NaN'?'0':uploader()?.progress) + '%' }\"></div>\n </div>\n </div>\n }\n <div>\n\n @if (canUpload()) {\n <p-button icon=\"fa fa-upload\" title=\"{{'bitnglibrary.upload.uploadall' | transloco}}\" styleClass=\"p-button-success\"\n (onClick)=\"uploadAll()\" [disabled]=\"!(uploader()?.getNotUploadedItems()?.length)\" />\n }\n @if (canUpload()) {\n <p-button icon=\"fa fa-ban\" title=\"{{'bitnglibrary.upload.cancelall' | transloco}}\" styleClass=\"p-button-warning\"\n (onClick)=\"cancelQueue()\" [disabled]=\"!(uploader()?.isUploading)\" />\n }\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removeall' | transloco}}\" styleClass=\"p-button-danger\"\n (onClick)=\"removeQueue()\" [disabled]=\"!(uploader()?.queue?.length)\" />\n </div>\n </div>\n }\n</div>\n", dependencies: [{ kind: "directive", type: i1$3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i4.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i5.FileDropDirective, selector: "[ng2FileDrop]", inputs: ["uploader"], outputs: ["fileOver", "onFileDrop"] }, { kind: "directive", type: i5.FileSelectDirective, selector: "[ng2FileSelect]", inputs: ["uploader"], outputs: ["onFileSelected"] }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "pipe", type: i2.DecimalPipe, name: "number" }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3602
3606
|
}
|
|
3603
3607
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitNGUploadComponent, decorators: [{
|
|
3604
3608
|
type: Component,
|
|
3605
|
-
args: [{ selector: "bit-ng-upload", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"grid\">\
|
|
3609
|
+
args: [{ selector: "bit-ng-upload", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"grid\">\n <div class=\"col-12\">\n @if (hasDropZone()) {\n <div\n ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver()}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader()\"\n class=\"well my-drop-zone\">\n <div class=\"contenedor-upload\">\n <i class=\"fa fa-file documento\"></i>\n <div>\n <span>{{ \"bitnglibrary.upload.dropfiles\" | transloco }}</span>\n <div class=\"grid\">\n <div class=\"col-12\">\n @if (hasMultipleUpload()) {\n <label class=\"btn-upload\">\n <input autocomplete=\"upload\" type=\"file\" ng2FileSelect [uploader]=\"uploader()\" multiple [accept]=\"inputAccept()\" />\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.multiple' | transloco}}\n </label>\n }\n @if (hasSingleUpload()) {\n <label class=\"btn-upload\">\n <input autocomplete=\"upload\" #fileRef type=\"file\" ng2FileSelect [uploader]=\"uploader()\" [accept]=\"inputAccept()\" />\n <i class=\"fa fa-upload\"></i>{{'bitnglibrary.upload.simple' | transloco}}\n </label>\n }\n </div>\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n</div>\n<div class=\"grid\">\n @if (hasQueue()) {\n <div class=\"col-12\">\n <p>{{\"bitnglibrary.upload.uploadfiles\" | transloco}}: {{ uploader()?.queue?.length }}</p>\n <p-table [value]=\"uploader()?.queue\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th width=\"50%\">{{\"bitnglibrary.upload.filename\" | transloco}}</th>\n @if (uploader().options.isHTML5) {\n <th>{{\"bitnglibrary.upload.filesize\" | transloco}}</th>\n }\n @if (uploader().options.isHTML5 && hasProgressBar()) {\n <th>{{\"bitnglibrary.upload.progress\" | transloco}}</th>\n }\n @if (canUpload()) {\n <th>Estat</th>\n }\n <th>{{\"bitnglibrary.upload.actions\" | transloco}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-item>\n <tr>\n <td><strong>{{ item?.file?.name }}</strong></td>\n @if (uploader()?.options?.isHTML5) {\n <td nowrap>{{ item?.file?.size/1024 | number:'.2' }} KB</td>\n }\n @if (uploader().options.isHTML5 && hasProgressBar()) {\n <td>\n <div class=\"progress\" style=\"margin-bottom: 0;\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': item.progress + '%' }\"></div>\n </div>\n </td>\n }\n @if (canUpload()) {\n <td class=\"p-text-center\">\n @if (item.isSuccess) {\n <span><i class=\"fa fa-check\"></i></span>\n }\n @if (item.isCancel) {\n <span><i class=\"fa fa-ban\"></i></span>\n }\n @if (item.isError) {\n <span><i class=\"fa fa-times\"></i></span>\n }\n </td>\n }\n <td nowrap>\n @if (canUpload()) {\n <p-button icon=\"fa fa-upload\" title=\"{{'bitnglibrary.upload.upload' | transloco}}\" styleClass=\"p-button-success\"\n (onClick)=\"uploadFile(item)\" [disabled]=\"item.isReady || item.isUploading || item.isSuccess\" />\n }\n @if (canUpload()) {\n <p-button icon=\"fa fa-ban\" title=\"{{'bitnglibrary.upload.cancelupload' | transloco}}\" styleClass=\"p-button-warning\"\n (onClick)=\"cancelFile(item)\" [disabled]=\"!item.isUploading\" />\n }\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removefromqueue' | transloco}}\" styleClass=\"p-button-danger\"\n (onClick)=\"removeFile(item)\" />\n </td>\n </tr>\n </ng-template>\n </p-table>\n @if (hasProgressBar()) {\n <div class=\"cola-progreso\">\n <span>{{\"bitnglibrary.upload.progressqueue\" | transloco}}<span>{{(uploader()?.progress?.toString() == 'NaN'? (\"bitnglibrary.upload.finishupload\"|transloco): uploader()?.progress + ' %')}}</span></span>\n <div class=\"progress\">\n <div class=\"progress-bar\" role=\"progressbar\" [ngStyle]=\"{ 'width': (uploader()?.progress?.toString() == 'NaN'?'0':uploader()?.progress) + '%' }\"></div>\n </div>\n </div>\n }\n <div>\n\n @if (canUpload()) {\n <p-button icon=\"fa fa-upload\" title=\"{{'bitnglibrary.upload.uploadall' | transloco}}\" styleClass=\"p-button-success\"\n (onClick)=\"uploadAll()\" [disabled]=\"!(uploader()?.getNotUploadedItems()?.length)\" />\n }\n @if (canUpload()) {\n <p-button icon=\"fa fa-ban\" title=\"{{'bitnglibrary.upload.cancelall' | transloco}}\" styleClass=\"p-button-warning\"\n (onClick)=\"cancelQueue()\" [disabled]=\"!(uploader()?.isUploading)\" />\n }\n <p-button icon=\"fa fa-trash\" title=\"{{'bitnglibrary.upload.removeall' | transloco}}\" styleClass=\"p-button-danger\"\n (onClick)=\"removeQueue()\" [disabled]=\"!(uploader()?.queue?.length)\" />\n </div>\n </div>\n }\n</div>\n" }]
|
|
3606
3610
|
}], propDecorators: { uploader: [{ type: i0.Input, args: [{ isSignal: true, alias: "uploader", required: true }] }], hasDropZone: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasDropZone", required: false }] }], hasQueue: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasQueue", required: false }] }], hasSingleUpload: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasSingleUpload", required: false }] }], hasMultipleUpload: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasMultipleUpload", required: false }] }], deleteItemAfterUpload: [{ type: i0.Input, args: [{ isSignal: true, alias: "deleteItemAfterUpload", required: false }] }], canUpload: [{ type: i0.Input, args: [{ isSignal: true, alias: "canUpload", required: false }] }], hasProgressBar: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasProgressBar", required: false }] }], sizeDropZone: [{ type: i0.Input, args: [{ isSignal: true, alias: "sizeDropZone", required: false }] }], sizeQueue: [{ type: i0.Input, args: [{ isSignal: true, alias: "sizeQueue", required: false }] }], inputAccept: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputAccept", required: false }] }], onSuccess: [{ type: i0.Output, args: ["onSuccess"] }], onError: [{ type: i0.Output, args: ["onError"] }], fileInput: [{ type: i0.ViewChild, args: ["fileRef", { isSignal: true }] }] } });
|
|
3607
3611
|
|
|
3608
3612
|
/**
|
|
@@ -3616,11 +3620,11 @@ class BitUserControlsComponent {
|
|
|
3616
3620
|
this.json = computed(() => JSON.stringify(this.usuario(), null, 4), ...(ngDevMode ? [{ debugName: "json" }] : /* istanbul ignore next */ []));
|
|
3617
3621
|
}
|
|
3618
3622
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitUserControlsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3619
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitUserControlsComponent, isStandalone: false, selector: "bit-user-controls", inputs: { usuario: { classPropertyName: "usuario", publicName: "usuario", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@if (usuario()) {\
|
|
3623
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitUserControlsComponent, isStandalone: false, selector: "bit-user-controls", inputs: { usuario: { classPropertyName: "usuario", publicName: "usuario", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@if (usuario()) {\n <span class=\"userControls\"><span class=\"fa fa-user\" title=\"{{ json() }}\"></span> {{ usuario().nombreCompleto }} ({{usuario().login}}) </span>\n}", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3620
3624
|
}
|
|
3621
3625
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitUserControlsComponent, decorators: [{
|
|
3622
3626
|
type: Component,
|
|
3623
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: "bit-user-controls", standalone: false, template: "@if (usuario()) {\
|
|
3627
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: "bit-user-controls", standalone: false, template: "@if (usuario()) {\n <span class=\"userControls\"><span class=\"fa fa-user\" title=\"{{ json() }}\"></span> {{ usuario().nombreCompleto }} ({{usuario().login}}) </span>\n}" }]
|
|
3624
3628
|
}], propDecorators: { usuario: [{ type: i0.Input, args: [{ isSignal: true, alias: "usuario", required: true }] }] } });
|
|
3625
3629
|
|
|
3626
3630
|
/**
|
|
@@ -3634,12 +3638,12 @@ class BitColumnBooleanComponent {
|
|
|
3634
3638
|
this.textFalse = input("No", ...(ngDevMode ? [{ debugName: "textFalse" }] : /* istanbul ignore next */ []));
|
|
3635
3639
|
}
|
|
3636
3640
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitColumnBooleanComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3637
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitColumnBooleanComponent, isStandalone: false, selector: "bit-column-boolean", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: false, transformFunction: null }, textTrue: { classPropertyName: "textTrue", publicName: "textTrue", isSignal: true, isRequired: false, transformFunction: null }, textFalse: { classPropertyName: "textFalse", publicName: "textFalse", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3638
|
-
@if (data()) {
|
|
3639
|
-
<span class="ui-cell-data">
|
|
3640
|
-
{{ data()[field()] ? textTrue() : textFalse() }}
|
|
3641
|
-
</span>
|
|
3642
|
-
}
|
|
3641
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitColumnBooleanComponent, isStandalone: false, selector: "bit-column-boolean", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: false, transformFunction: null }, textTrue: { classPropertyName: "textTrue", publicName: "textTrue", isSignal: true, isRequired: false, transformFunction: null }, textFalse: { classPropertyName: "textFalse", publicName: "textFalse", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3642
|
+
@if (data()) {
|
|
3643
|
+
<span class="ui-cell-data">
|
|
3644
|
+
{{ data()[field()] ? textTrue() : textFalse() }}
|
|
3645
|
+
</span>
|
|
3646
|
+
}
|
|
3643
3647
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3644
3648
|
}
|
|
3645
3649
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitColumnBooleanComponent, decorators: [{
|
|
@@ -3647,12 +3651,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
3647
3651
|
args: [{
|
|
3648
3652
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3649
3653
|
selector: "bit-column-boolean",
|
|
3650
|
-
template: `
|
|
3651
|
-
@if (data()) {
|
|
3652
|
-
<span class="ui-cell-data">
|
|
3653
|
-
{{ data()[field()] ? textTrue() : textFalse() }}
|
|
3654
|
-
</span>
|
|
3655
|
-
}
|
|
3654
|
+
template: `
|
|
3655
|
+
@if (data()) {
|
|
3656
|
+
<span class="ui-cell-data">
|
|
3657
|
+
{{ data()[field()] ? textTrue() : textFalse() }}
|
|
3658
|
+
</span>
|
|
3659
|
+
}
|
|
3656
3660
|
`,
|
|
3657
3661
|
standalone: false
|
|
3658
3662
|
}]
|
|
@@ -3680,8 +3684,8 @@ class BitDomainValueComponent {
|
|
|
3680
3684
|
}, ...(ngDevMode ? [{ debugName: "translatedValue" }] : /* istanbul ignore next */ []));
|
|
3681
3685
|
}
|
|
3682
3686
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitDomainValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3683
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.13", type: BitDomainValueComponent, isStandalone: false, selector: "bit-domain-value", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, emptyText: { classPropertyName: "emptyText", publicName: "emptyText", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3684
|
-
<span>{{ translatedValue() }}</span>
|
|
3687
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.13", type: BitDomainValueComponent, isStandalone: false, selector: "bit-domain-value", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, emptyText: { classPropertyName: "emptyText", publicName: "emptyText", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3688
|
+
<span>{{ translatedValue() }}</span>
|
|
3685
3689
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3686
3690
|
}
|
|
3687
3691
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitDomainValueComponent, decorators: [{
|
|
@@ -3689,8 +3693,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
3689
3693
|
args: [{
|
|
3690
3694
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3691
3695
|
selector: "bit-domain-value",
|
|
3692
|
-
template: `
|
|
3693
|
-
<span>{{ translatedValue() }}</span>
|
|
3696
|
+
template: `
|
|
3697
|
+
<span>{{ translatedValue() }}</span>
|
|
3694
3698
|
`,
|
|
3695
3699
|
standalone: false
|
|
3696
3700
|
}]
|
|
@@ -3847,7 +3851,7 @@ class BitTextComponent extends BitCustomComponent {
|
|
|
3847
3851
|
useExisting: forwardRef(() => BitTextComponent),
|
|
3848
3852
|
multi: true
|
|
3849
3853
|
}
|
|
3850
|
-
], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
3854
|
+
], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!tooltipTexto() && !readOnly()) {\n <input\n pInputText\n type=\"text\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n autocomplete=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [placeholder]=\"placeholder()\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (tooltipTexto() && !readOnly()) {\n <input\n pInputText\n type=\"text\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [pTooltip]=\"tooltipTexto()\"\n [tooltipPosition]=\"tooltipPosicion()\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$3.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "directive", type: i3$2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3851
3855
|
}
|
|
3852
3856
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitTextComponent, decorators: [{
|
|
3853
3857
|
type: Component,
|
|
@@ -3857,7 +3861,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
3857
3861
|
useExisting: forwardRef(() => BitTextComponent),
|
|
3858
3862
|
multi: true
|
|
3859
3863
|
}
|
|
3860
|
-
], standalone: false, template: "@if (!hideLabel()) {\
|
|
3864
|
+
], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!tooltipTexto() && !readOnly()) {\n <input\n pInputText\n type=\"text\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n autocomplete=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [placeholder]=\"placeholder()\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (tooltipTexto() && !readOnly()) {\n <input\n pInputText\n type=\"text\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [pTooltip]=\"tooltipTexto()\"\n [tooltipPosition]=\"tooltipPosicion()\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
3861
3865
|
}] });
|
|
3862
3866
|
|
|
3863
3867
|
class BitTextAreaComponent extends BitCustomComponent {
|
|
@@ -3895,7 +3899,7 @@ class BitTextAreaComponent extends BitCustomComponent {
|
|
|
3895
3899
|
provide: NG_VALUE_ACCESSOR,
|
|
3896
3900
|
useExisting: forwardRef(() => BitTextAreaComponent),
|
|
3897
3901
|
multi: true
|
|
3898
|
-
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
3902
|
+
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <pre class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</pre>\n}\n@if (!readOnly()) {\n <textarea\n pInputTextarea\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n autocomplete=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n class=\"{{ estilo() }}\"\n [rows]=\"filas()\"\n (ngModelChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n ></textarea>\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$4.Textarea, selector: "[pTextarea], [pInputTextarea]", inputs: ["pTextareaPT", "pTextareaUnstyled", "autoResize", "pSize", "variant", "fluid", "invalid"], outputs: ["onResize"] }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3899
3903
|
}
|
|
3900
3904
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitTextAreaComponent, decorators: [{
|
|
3901
3905
|
type: Component,
|
|
@@ -3903,7 +3907,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
3903
3907
|
provide: NG_VALUE_ACCESSOR,
|
|
3904
3908
|
useExisting: forwardRef(() => BitTextAreaComponent),
|
|
3905
3909
|
multi: true
|
|
3906
|
-
}], standalone: false, template: "@if (!hideLabel()) {\
|
|
3910
|
+
}], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <pre class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</pre>\n}\n@if (!readOnly()) {\n <textarea\n pInputTextarea\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n autocomplete=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n class=\"{{ estilo() }}\"\n [rows]=\"filas()\"\n (ngModelChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n ></textarea>\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
3907
3911
|
}], propDecorators: { filas: [{ type: i0.Input, args: [{ isSignal: true, alias: "filas", required: false }] }] } });
|
|
3908
3912
|
|
|
3909
3913
|
/** Clase general para componentes personalizados de tipo Fecha como puede ser BitDate, BitTime y BitDateTime */
|
|
@@ -4039,7 +4043,7 @@ class BitDateComponent extends BitCalendarComponent {
|
|
|
4039
4043
|
provide: NG_VALUE_ACCESSOR,
|
|
4040
4044
|
useExisting: forwardRef(() => BitDateComponent),
|
|
4041
4045
|
multi: true
|
|
4042
|
-
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4046
|
+
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-datepicker class=\"FormControl\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n autofocus=\"false\"\n [disabled]=\"isDisabled()\"\n [(ngModel)]=\"value\"\n dateFormat=\"dd/mm/yy\"\n placeholder=\"{{ placeholder() }}\"\n [showOtherMonths]=\"true\"\n [selectOtherMonths]=\"true\"\n [readonlyInput]=\"calendarReadOnlyInput()\"\n [minDate]=\"fechaMinima()\"\n [maxDate]=\"fechaMaxima()\"\n yearRange=\"2000:2050\"\n [firstDayOfWeek]=\"1\"\n showButtonBar={{showButtonBar()}}\n [appendTo]=\"appendTo()\"\n (onSelect)=\"_onSelect(value)\"\n (onClear)=\"_onClear()\"\n (onClearClick)=\"_onClear()\"\n (onFocus)=\"_onFocus()\"\n (onBlur)=\"_onBlur($event)\"\n (onInput)=\"_onInput($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (!readOnly()) {\n <span class=\"glyphicon glyphicon-calendar icono-input\"></span>\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "component", type: i1$4.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4043
4047
|
}
|
|
4044
4048
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitDateComponent, decorators: [{
|
|
4045
4049
|
type: Component,
|
|
@@ -4047,7 +4051,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4047
4051
|
provide: NG_VALUE_ACCESSOR,
|
|
4048
4052
|
useExisting: forwardRef(() => BitDateComponent),
|
|
4049
4053
|
multi: true
|
|
4050
|
-
}], standalone: false, template: "@if (!hideLabel()) {\
|
|
4054
|
+
}], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-datepicker class=\"FormControl\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n autofocus=\"false\"\n [disabled]=\"isDisabled()\"\n [(ngModel)]=\"value\"\n dateFormat=\"dd/mm/yy\"\n placeholder=\"{{ placeholder() }}\"\n [showOtherMonths]=\"true\"\n [selectOtherMonths]=\"true\"\n [readonlyInput]=\"calendarReadOnlyInput()\"\n [minDate]=\"fechaMinima()\"\n [maxDate]=\"fechaMaxima()\"\n yearRange=\"2000:2050\"\n [firstDayOfWeek]=\"1\"\n showButtonBar={{showButtonBar()}}\n [appendTo]=\"appendTo()\"\n (onSelect)=\"_onSelect(value)\"\n (onClear)=\"_onClear()\"\n (onClearClick)=\"_onClear()\"\n (onFocus)=\"_onFocus()\"\n (onBlur)=\"_onBlur($event)\"\n (onInput)=\"_onInput($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (!readOnly()) {\n <span class=\"glyphicon glyphicon-calendar icono-input\"></span>\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
4051
4055
|
}], ctorParameters: () => [], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }] } });
|
|
4052
4056
|
|
|
4053
4057
|
class BitTimeComponent extends BitCalendarComponent {
|
|
@@ -4091,7 +4095,7 @@ class BitTimeComponent extends BitCalendarComponent {
|
|
|
4091
4095
|
provide: NG_VALUE_ACCESSOR,
|
|
4092
4096
|
useExisting: forwardRef(() => BitTimeComponent),
|
|
4093
4097
|
multi: true
|
|
4094
|
-
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4098
|
+
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-datepicker class=\"FormControl\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n autofocus=\"false\"\n [disabled]=\"isDisabled()\"\n [(ngModel)]=\"value\"\n dateFormat=\"HH:mm\"\n [timeOnly]=\"true\"\n placeholder=\"{{ placeholder() }}\"\n [firstDayOfWeek]=\"1\"\n showButtonBar={{showButtonBar()}}\n (onTodayClick)=\"_onTodayClick($event)\"\n [appendTo]=\"appendTo()\"\n (onSelect)=\"_onSelect(value)\"\n (onClear)=\"_onClear()\"\n (onClearClick)=\"_onClear()\"\n (onFocus)=\"_onFocus()\"\n (onBlur)=\"_onBlur($event)\"\n (onInput)=\"_onInput($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "component", type: i1$4.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4095
4099
|
}
|
|
4096
4100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitTimeComponent, decorators: [{
|
|
4097
4101
|
type: Component,
|
|
@@ -4099,7 +4103,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4099
4103
|
provide: NG_VALUE_ACCESSOR,
|
|
4100
4104
|
useExisting: forwardRef(() => BitTimeComponent),
|
|
4101
4105
|
multi: true
|
|
4102
|
-
}], standalone: false, template: "@if (!hideLabel()) {\
|
|
4106
|
+
}], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-datepicker class=\"FormControl\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n autofocus=\"false\"\n [disabled]=\"isDisabled()\"\n [(ngModel)]=\"value\"\n dateFormat=\"HH:mm\"\n [timeOnly]=\"true\"\n placeholder=\"{{ placeholder() }}\"\n [firstDayOfWeek]=\"1\"\n showButtonBar={{showButtonBar()}}\n (onTodayClick)=\"_onTodayClick($event)\"\n [appendTo]=\"appendTo()\"\n (onSelect)=\"_onSelect(value)\"\n (onClear)=\"_onClear()\"\n (onClearClick)=\"_onClear()\"\n (onFocus)=\"_onFocus()\"\n (onBlur)=\"_onBlur($event)\"\n (onInput)=\"_onInput($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
4103
4107
|
}], ctorParameters: () => [], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }] } });
|
|
4104
4108
|
|
|
4105
4109
|
class BitDateTimeComponent extends BitCalendarComponent {
|
|
@@ -4143,7 +4147,7 @@ class BitDateTimeComponent extends BitCalendarComponent {
|
|
|
4143
4147
|
provide: NG_VALUE_ACCESSOR,
|
|
4144
4148
|
useExisting: forwardRef(() => BitDateTimeComponent),
|
|
4145
4149
|
multi: true
|
|
4146
|
-
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4150
|
+
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-datepicker class=\"FormControl\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n autofocus=\"false\"\n [disabled]=\"isDisabled()\"\n [(ngModel)]=\"value\"\n dateFormat=\"dd/mm/yy\"\n placeholder=\"{{ placeholder() }}\" \n [minDate]=\"fechaMinima()\"\n [maxDate]=\"fechaMaxima()\"\n [showOtherMonths]=\"true\"\n [selectOtherMonths]=\"true\"\n yearRange=\"2000:2050\"\n [showTime]=\"true\"\n [firstDayOfWeek]=\"1\"\n showButtonBar={{showButtonBar()}}\n [appendTo]=\"appendTo()\"\n (onSelect)=\"_onSelect(value)\"\n (onClear)=\"_onClear()\"\n (onClearClick)=\"_onClear()\"\n (onFocus)=\"_onFocus()\"\n (onBlur)=\"_onBlur($event)\"\n (onInput)=\"_onInput($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (!readOnly()) {\n <span class=\"glyphicon glyphicon-calendar icono-input\"></span>\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "component", type: i1$4.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4147
4151
|
}
|
|
4148
4152
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitDateTimeComponent, decorators: [{
|
|
4149
4153
|
type: Component,
|
|
@@ -4151,7 +4155,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4151
4155
|
provide: NG_VALUE_ACCESSOR,
|
|
4152
4156
|
useExisting: forwardRef(() => BitDateTimeComponent),
|
|
4153
4157
|
multi: true
|
|
4154
|
-
}], standalone: false, template: "@if (!hideLabel()) {\
|
|
4158
|
+
}], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-datepicker class=\"FormControl\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n autofocus=\"false\"\n [disabled]=\"isDisabled()\"\n [(ngModel)]=\"value\"\n dateFormat=\"dd/mm/yy\"\n placeholder=\"{{ placeholder() }}\" \n [minDate]=\"fechaMinima()\"\n [maxDate]=\"fechaMaxima()\"\n [showOtherMonths]=\"true\"\n [selectOtherMonths]=\"true\"\n yearRange=\"2000:2050\"\n [showTime]=\"true\"\n [firstDayOfWeek]=\"1\"\n showButtonBar={{showButtonBar()}}\n [appendTo]=\"appendTo()\"\n (onSelect)=\"_onSelect(value)\"\n (onClear)=\"_onClear()\"\n (onClearClick)=\"_onClear()\"\n (onFocus)=\"_onFocus()\"\n (onBlur)=\"_onBlur($event)\"\n (onInput)=\"_onInput($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (!readOnly()) {\n <span class=\"glyphicon glyphicon-calendar icono-input\"></span>\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
4155
4159
|
}], ctorParameters: () => [], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }] } });
|
|
4156
4160
|
|
|
4157
4161
|
class BitCheckBoxComponent extends BitCustomComponent {
|
|
@@ -4174,7 +4178,7 @@ class BitCheckBoxComponent extends BitCustomComponent {
|
|
|
4174
4178
|
provide: NG_VALUE_ACCESSOR,
|
|
4175
4179
|
useExisting: forwardRef(() => BitCheckBoxComponent),
|
|
4176
4180
|
multi: true
|
|
4177
|
-
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4181
|
+
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-checkbox class=\"{{ estilo() }}\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n id=\"{{ nombre() }}\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n\n@if (ayuda()) {\n <i (click)=\"showAyuda()\" class=\"btn-ayuda-checkbox fa fa-question\"></i>\n}\n\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "component", type: i1$5.Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4178
4182
|
}
|
|
4179
4183
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitCheckBoxComponent, decorators: [{
|
|
4180
4184
|
type: Component,
|
|
@@ -4182,7 +4186,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4182
4186
|
provide: NG_VALUE_ACCESSOR,
|
|
4183
4187
|
useExisting: forwardRef(() => BitCheckBoxComponent),
|
|
4184
4188
|
multi: true
|
|
4185
|
-
}], standalone: false, template: "@if (!hideLabel()) {\
|
|
4189
|
+
}], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-checkbox class=\"{{ estilo() }}\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n id=\"{{ nombre() }}\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n\n@if (ayuda()) {\n <i (click)=\"showAyuda()\" class=\"btn-ayuda-checkbox fa fa-question\"></i>\n}\n\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
4186
4190
|
}] });
|
|
4187
4191
|
|
|
4188
4192
|
class BitSwitchComponent extends BitCustomComponent {
|
|
@@ -4205,7 +4209,7 @@ class BitSwitchComponent extends BitCustomComponent {
|
|
|
4205
4209
|
provide: NG_VALUE_ACCESSOR,
|
|
4206
4210
|
useExisting: forwardRef(() => BitSwitchComponent),
|
|
4207
4211
|
multi: true
|
|
4208
|
-
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4212
|
+
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-toggleswitch onLabel=\"S\u00ED\"\n offLabel=\"No\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n id=\"{{ nombre() }}\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$5.ToggleSwitch, selector: "p-toggleswitch, p-toggleSwitch, p-toggle-switch", inputs: ["styleClass", "tabindex", "inputId", "readonly", "trueValue", "falseValue", "ariaLabel", "size", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4209
4213
|
}
|
|
4210
4214
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitSwitchComponent, decorators: [{
|
|
4211
4215
|
type: Component,
|
|
@@ -4213,7 +4217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4213
4217
|
provide: NG_VALUE_ACCESSOR,
|
|
4214
4218
|
useExisting: forwardRef(() => BitSwitchComponent),
|
|
4215
4219
|
multi: true
|
|
4216
|
-
}], standalone: false, template: "@if (!hideLabel()) {\
|
|
4220
|
+
}], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-toggleswitch onLabel=\"S\u00ED\"\n offLabel=\"No\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n id=\"{{ nombre() }}\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
4217
4221
|
}] });
|
|
4218
4222
|
|
|
4219
4223
|
class BitAutoCompleteComponent extends BitCustomComponent {
|
|
@@ -4361,7 +4365,7 @@ class BitAutoCompleteComponent extends BitCustomComponent {
|
|
|
4361
4365
|
useExisting: forwardRef(() => BitAutoCompleteComponent),
|
|
4362
4366
|
multi: true
|
|
4363
4367
|
}
|
|
4364
|
-
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true, read: TemplateRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4368
|
+
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true, read: TemplateRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n<label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n</label>\n} @if (readOnly()) {\n<p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n} @if (!readOnly()) {\n<!-- Si usamos un template personalizado, hay que indicar el optionLabel para que sepa cu\u00E1l es el campo a mostrar al seleccionar un elemento -->\n<p-autoComplete\n fluid\n [(ngModel)]=\"value\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [placeholder]=\"placeholder()\"\n [delay]=\"400\"\n [suggestions]=\"suggestions_mapped()\"\n [multiple]=\"multiple()\"\n [inputStyleClass]=\"inputStyleClass()\"\n optionLabel=\"{{ customTemplate() ? this.suggestionField() : '' }}\"\n appendTo=\"body\"\n (completeMethod)=\"search($event)\"\n (onSelect)=\"_onSelect($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId() }}\"\n>\n @if (customTemplate() && itemTemplate()) {\n <ng-template pTemplate=\"item\" let-item>\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\" />\n </ng-template>\n }\n</p-autoComplete>\n} @if (control() != null) {\n<control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "directive", type: i1$3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i2$6.AutoComplete, selector: "p-autoComplete, p-autocomplete, p-auto-complete", inputs: ["minLength", "minQueryLength", "delay", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "addOnTab", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "typeahead", "addOnBlur", "separator", "appendTo", "motionOptions"], outputs: ["completeMethod", "onSelect", "onUnselect", "onAdd", "onFocus", "onBlur", "onDropdownClick", "onClear", "onInputKeydown", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4365
4369
|
}
|
|
4366
4370
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitAutoCompleteComponent, decorators: [{
|
|
4367
4371
|
type: Component,
|
|
@@ -4371,7 +4375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4371
4375
|
useExisting: forwardRef(() => BitAutoCompleteComponent),
|
|
4372
4376
|
multi: true
|
|
4373
4377
|
}
|
|
4374
|
-
], standalone: false, template: "@if (!hideLabel()) {\
|
|
4378
|
+
], standalone: false, template: "@if (!hideLabel()) {\n<label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n</label>\n} @if (readOnly()) {\n<p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n} @if (!readOnly()) {\n<!-- Si usamos un template personalizado, hay que indicar el optionLabel para que sepa cu\u00E1l es el campo a mostrar al seleccionar un elemento -->\n<p-autoComplete\n fluid\n [(ngModel)]=\"value\"\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [placeholder]=\"placeholder()\"\n [delay]=\"400\"\n [suggestions]=\"suggestions_mapped()\"\n [multiple]=\"multiple()\"\n [inputStyleClass]=\"inputStyleClass()\"\n optionLabel=\"{{ customTemplate() ? this.suggestionField() : '' }}\"\n appendTo=\"body\"\n (completeMethod)=\"search($event)\"\n (onSelect)=\"_onSelect($event)\"\n (onClear)=\"_onClear()\"\n (onBlur)=\"_onBlur()\"\n (onFocus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId() }}\"\n>\n @if (customTemplate() && itemTemplate()) {\n <ng-template pTemplate=\"item\" let-item>\n <ng-container *ngTemplateOutlet=\"itemTemplate(); context: { $implicit: item }\" />\n </ng-template>\n }\n</p-autoComplete>\n} @if (control() != null) {\n<control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
4375
4379
|
}], propDecorators: { suggestions: [{ type: i0.Input, args: [{ isSignal: true, alias: "suggestions", required: false }] }], suggestionField: [{ type: i0.Input, args: [{ isSignal: true, alias: "suggestionField", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], inputStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputStyleClass", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], displayValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayValue", required: false }] }], customTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "customTemplate", required: false }] }], completeMethod: [{ type: i0.Output, args: ["completeMethod"] }], onSelect: [{ type: i0.Output, args: ["onSelect"] }], onClear: [{ type: i0.Output, args: ["onClear"] }], itemTemplate: [{ type: i0.ContentChild, args: ["itemTemplate", { ...{ read: TemplateRef }, isSignal: true }] }] } });
|
|
4376
4380
|
|
|
4377
4381
|
/**
|
|
@@ -4490,7 +4494,7 @@ class BitDropDownComponent extends BitDropDownGeneralComponent {
|
|
|
4490
4494
|
useExisting: forwardRef(() => BitDropDownComponent),
|
|
4491
4495
|
multi: true
|
|
4492
4496
|
}
|
|
4493
|
-
], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4497
|
+
], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-select\n id=\"{{ nombre() }}\"\n [(ngModel)]=\"value\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [options]=\"listaOpcionesVisible()\"\n [filter]=\"filter()\"\n [group]=\"group()\"\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-select>\n @if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"id()\" />\n }\n}\n", dependencies: [{ kind: "directive", type: i1$3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4494
4498
|
}
|
|
4495
4499
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitDropDownComponent, decorators: [{
|
|
4496
4500
|
type: Component,
|
|
@@ -4500,7 +4504,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4500
4504
|
useExisting: forwardRef(() => BitDropDownComponent),
|
|
4501
4505
|
multi: true
|
|
4502
4506
|
}
|
|
4503
|
-
], standalone: false, template: "@if (!hideLabel()) {\
|
|
4507
|
+
], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-select\n id=\"{{ nombre() }}\"\n [(ngModel)]=\"value\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [options]=\"listaOpcionesVisible()\"\n [filter]=\"filter()\"\n [group]=\"group()\"\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-select>\n @if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"id()\" />\n }\n}\n" }]
|
|
4504
4508
|
}], ctorParameters: () => [], propDecorators: { filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }] } });
|
|
4505
4509
|
|
|
4506
4510
|
/**
|
|
@@ -4601,7 +4605,7 @@ class BitDropDownMultipleComponent extends BitDropDownGeneralComponent {
|
|
|
4601
4605
|
useExisting: forwardRef(() => BitDropDownMultipleComponent),
|
|
4602
4606
|
multi: true
|
|
4603
4607
|
}
|
|
4604
|
-
], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4608
|
+
], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\"><ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\n }\n </label>\n}\n@if (readOnly() && !showSeparateSelectedLabels()) {\n <p class=\"lectura\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-multiSelect id=\"{{ id() }}\"\n [(ngModel)]=\"value\"\n [placeholder]=\"placeholder()\"\n [filter]=\"filter()\"\n ariaLabel=\"{{ nombre() }}\"\n [options]=\"listaOpciones()\"\n [disabled]=\"isDisabled()\"\n [optionLabel]=\"atributoLabel()\"\n [optionValue]=\"atributoValue()\"\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 @if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"id()\" />\n }\n @if (showSeparateSelectedLabels()) {\n <div>\n <label for=\"{{ nombre() }}\"> </label>\n <div class=\"multiselect-labels\">\n @for (item of value; track item) {\n <div class=\"label label-primary multiselect-labels-lg\">\n <span>{{ labelSelectedItem(item) }}</span>\n @if (!readOnly()) {\n \n <a (click)=\"deleteSelectedItem($event, item)\" title=\"{{ title() }}\"><i class=\"fa fa-times\"></i></a>\n }\n </div>\n }\n </div>\n </div>\n }\n}", styles: ["bit-dropdown-multiple div{margin-right:2px!important}bit-dropdown-multiple .row{margin-left:0}.multiselect-labels .label{font-size:90%}.multiselect-labels .label span{margin-right:2px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$7.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "styleClass", "panelStyle", "panelStyleClass", "inputId", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "dataKey", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "placeholder", "options", "filterValue", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect", "size", "variant", "fluid", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4605
4609
|
}
|
|
4606
4610
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitDropDownMultipleComponent, decorators: [{
|
|
4607
4611
|
type: Component,
|
|
@@ -4611,7 +4615,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4611
4615
|
useExisting: forwardRef(() => BitDropDownMultipleComponent),
|
|
4612
4616
|
multi: true
|
|
4613
4617
|
}
|
|
4614
|
-
], standalone: false, template: "@if (!hideLabel()) {\
|
|
4618
|
+
], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\"><ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i (click)=\"showAyuda()\" class=\"btn-ayuda fa fa-question\"></i>\n }\n </label>\n}\n@if (readOnly() && !showSeparateSelectedLabels()) {\n <p class=\"lectura\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-multiSelect id=\"{{ id() }}\"\n [(ngModel)]=\"value\"\n [placeholder]=\"placeholder()\"\n [filter]=\"filter()\"\n ariaLabel=\"{{ nombre() }}\"\n [options]=\"listaOpciones()\"\n [disabled]=\"isDisabled()\"\n [optionLabel]=\"atributoLabel()\"\n [optionValue]=\"atributoValue()\"\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 @if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"id()\" />\n }\n @if (showSeparateSelectedLabels()) {\n <div>\n <label for=\"{{ nombre() }}\"> </label>\n <div class=\"multiselect-labels\">\n @for (item of value; track item) {\n <div class=\"label label-primary multiselect-labels-lg\">\n <span>{{ labelSelectedItem(item) }}</span>\n @if (!readOnly()) {\n \n <a (click)=\"deleteSelectedItem($event, item)\" title=\"{{ title() }}\"><i class=\"fa fa-times\"></i></a>\n }\n </div>\n }\n </div>\n </div>\n }\n}", styles: ["bit-dropdown-multiple div{margin-right:2px!important}bit-dropdown-multiple .row{margin-left:0}.multiselect-labels .label{font-size:90%}.multiselect-labels .label span{margin-right:2px}\n"] }]
|
|
4615
4619
|
}], ctorParameters: () => [], propDecorators: { maxSelectedLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSelectedLabels", required: false }] }], showSeparateSelectedLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSeparateSelectedLabels", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }] } });
|
|
4616
4620
|
|
|
4617
4621
|
class ConfigurationEditor {
|
|
@@ -4705,7 +4709,7 @@ class BitEditorComponent extends BitCustomComponent {
|
|
|
4705
4709
|
provide: NG_VALUE_ACCESSOR,
|
|
4706
4710
|
useExisting: forwardRef(() => BitEditorComponent),
|
|
4707
4711
|
multi: true
|
|
4708
|
-
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4712
|
+
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\">\n {{ value_lectura && value_lectura != \"\" ? value_lectura : \" \" }}\n </p>\n}\n@if (!readOnly() && tipo() == 'custom') {\n <p-editor\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 @if (configuracion.fontSize) {\n <span class=\"ql-formats\">\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 }\n @if (configuracion.fontFormat) {\n <span class=\"ql-formats\">\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 }\n @if (configuracion.bullet) {\n <span class=\"ql-formats\">\n <button class=\"ql-list\" aria-label=\"Insert Ordered List\" value=\"ordered\" type=\"button\"></button>\n <button class=\"ql-list\" aria-label=\"Insert Bullet List\" value=\"bullet\" type=\"button\"></button>\n </span>\n }\n @if (configuracion.link) {\n <span class=\"ql-formats\">\n <button class=\"ql-link\" aria-label=\"Insert Link\" type=\"button\"></button>\n </span>\n }\n </p-header>\n </p-editor>\n}\n@if (!readOnly() && (!tipo() || tipo() == 'default')) {\n <p-editor 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}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "component", type: i1$3.Header, selector: "p-header" }, { kind: "component", type: i2$8.Editor, selector: "p-editor", inputs: ["style", "styleClass", "placeholder", "formats", "modules", "bounds", "scrollingContainer", "debug", "readonly"], outputs: ["onInit", "onTextChange", "onSelectionChange", "onEditorChange", "onFocus", "onBlur"] }, { kind: "directive", type: i1$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: FocusRegisterDirective, selector: "input,select,textarea,bit-input,bit-select" }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4709
4713
|
}
|
|
4710
4714
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitEditorComponent, decorators: [{
|
|
4711
4715
|
type: Component,
|
|
@@ -4713,7 +4717,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4713
4717
|
provide: NG_VALUE_ACCESSOR,
|
|
4714
4718
|
useExisting: forwardRef(() => BitEditorComponent),
|
|
4715
4719
|
multi: true
|
|
4716
|
-
}], standalone: false, template: "@if (!hideLabel()) {\
|
|
4720
|
+
}], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\">\n {{ value_lectura && value_lectura != \"\" ? value_lectura : \" \" }}\n </p>\n}\n@if (!readOnly() && tipo() == 'custom') {\n <p-editor\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 @if (configuracion.fontSize) {\n <span class=\"ql-formats\">\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 }\n @if (configuracion.fontFormat) {\n <span class=\"ql-formats\">\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 }\n @if (configuracion.bullet) {\n <span class=\"ql-formats\">\n <button class=\"ql-list\" aria-label=\"Insert Ordered List\" value=\"ordered\" type=\"button\"></button>\n <button class=\"ql-list\" aria-label=\"Insert Bullet List\" value=\"bullet\" type=\"button\"></button>\n </span>\n }\n @if (configuracion.link) {\n <span class=\"ql-formats\">\n <button class=\"ql-link\" aria-label=\"Insert Link\" type=\"button\"></button>\n </span>\n }\n </p-header>\n </p-editor>\n}\n@if (!readOnly() && (!tipo() || tipo() == 'default')) {\n <p-editor 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}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
4717
4721
|
}], propDecorators: { tipo: [{ type: i0.Input, args: [{ isSignal: true, alias: "tipo", required: false }] }], configuration: [{ type: i0.Input, args: [{ isSignal: true, alias: "configuration", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], onTextChange: [{ type: i0.Output, args: ["onTextChange"] }] } });
|
|
4718
4722
|
|
|
4719
4723
|
class BitReadonlyComponent {
|
|
@@ -4757,11 +4761,11 @@ class BitReadonlyComponent {
|
|
|
4757
4761
|
}
|
|
4758
4762
|
}
|
|
4759
4763
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitReadonlyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4760
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitReadonlyComponent, isStandalone: false, selector: "bit-readonly", inputs: { ayuda: { classPropertyName: "ayuda", publicName: "ayuda", isSignal: true, isRequired: false, transformFunction: null }, valor: { classPropertyName: "valor", publicName: "valor", isSignal: true, isRequired: false, transformFunction: null }, tipo: { classPropertyName: "tipo", publicName: "tipo", isSignal: true, isRequired: false, transformFunction: null }, hideLabel: { classPropertyName: "hideLabel", publicName: "hideLabel", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4764
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitReadonlyComponent, isStandalone: false, selector: "bit-readonly", inputs: { ayuda: { classPropertyName: "ayuda", publicName: "ayuda", isSignal: true, isRequired: false, transformFunction: null }, valor: { classPropertyName: "valor", publicName: "valor", isSignal: true, isRequired: false, transformFunction: null }, tipo: { classPropertyName: "tipo", publicName: "tipo", isSignal: true, isRequired: false, transformFunction: null }, hideLabel: { classPropertyName: "hideLabel", publicName: "hideLabel", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (!hideLabel()) {\n <label>\n <ng-content /> \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (!isTextarea()) {\n <p class=\"lectura\">{{value_lectura}}</p>\n}\n@if (isTextarea()) {\n <pre class=\"lectura\">{{value_lectura}}</pre>\n}", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4761
4765
|
}
|
|
4762
4766
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitReadonlyComponent, decorators: [{
|
|
4763
4767
|
type: Component,
|
|
4764
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: "bit-readonly", standalone: false, template: "@if (!hideLabel()) {\
|
|
4768
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: "bit-readonly", standalone: false, template: "@if (!hideLabel()) {\n <label>\n <ng-content /> \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (!isTextarea()) {\n <p class=\"lectura\">{{value_lectura}}</p>\n}\n@if (isTextarea()) {\n <pre class=\"lectura\">{{value_lectura}}</pre>\n}" }]
|
|
4765
4769
|
}], propDecorators: { ayuda: [{ type: i0.Input, args: [{ isSignal: true, alias: "ayuda", required: false }] }], valor: [{ type: i0.Input, args: [{ isSignal: true, alias: "valor", required: false }] }], tipo: [{ type: i0.Input, args: [{ isSignal: true, alias: "tipo", required: false }] }], hideLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideLabel", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
|
|
4766
4770
|
|
|
4767
4771
|
class BitNumberComponent extends BitCustomComponent {
|
|
@@ -4799,7 +4803,7 @@ class BitNumberComponent extends BitCustomComponent {
|
|
|
4799
4803
|
provide: NG_VALUE_ACCESSOR,
|
|
4800
4804
|
useExisting: forwardRef(() => BitNumberComponent),
|
|
4801
4805
|
multi: true
|
|
4802
|
-
}], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputReference"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4806
|
+
}], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputReference"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!tooltipTexto() && !readOnly()) {\n <p-inputNumber\n #inputReference\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [placeholder]=\"placeholder()\"\n [mode]=\"modo()\"\n [currency]=\"divisa()\"\n [prefix]=\"prefijo()\"\n [suffix]=\"sufijo()\"\n [min]=\"minimo()\"\n [max]=\"maximo()\"\n [minFractionDigits]=\"numeroDecimales()\"\n [maxFractionDigits]=\"maximoDecimales() == null ? numeroDecimales() : maximoDecimales()\"\n [useGrouping]=\"separadorGrupo()\"\n [showButtons]=\"mostrarBotones()\"\n [step]=\"incremento()\"\n locale=\"es-ES\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (tooltipTexto() && !readOnly()) {\n <p-inputNumber\n #inputReference\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [pTooltip]=\"tooltipTexto()\"\n [tooltipPosition]=\"tooltipPosicion()\"\n [mode]=\"modo()\"\n [currency]=\"divisa()\"\n [prefix]=\"prefijo()\"\n [suffix]=\"sufijo()\"\n [min]=\"minimo()\"\n [max]=\"maximo()\"\n [minFractionDigits]=\"numeroDecimales()\"\n [maxFractionDigits]=\"maximoDecimales() == null ? numeroDecimales() : maximoDecimales()\"\n [useGrouping]=\"separadorGrupo()\"\n [showButtons]=\"mostrarBotones()\"\n [step]=\"incremento()\"\n locale=\"es-ES\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "component", type: i1$7.InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3$2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4803
4807
|
}
|
|
4804
4808
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitNumberComponent, decorators: [{
|
|
4805
4809
|
type: Component,
|
|
@@ -4807,7 +4811,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4807
4811
|
provide: NG_VALUE_ACCESSOR,
|
|
4808
4812
|
useExisting: forwardRef(() => BitNumberComponent),
|
|
4809
4813
|
multi: true
|
|
4810
|
-
}], standalone: false, template: "@if (!hideLabel()) {\
|
|
4814
|
+
}], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!tooltipTexto() && !readOnly()) {\n <p-inputNumber\n #inputReference\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [placeholder]=\"placeholder()\"\n [mode]=\"modo()\"\n [currency]=\"divisa()\"\n [prefix]=\"prefijo()\"\n [suffix]=\"sufijo()\"\n [min]=\"minimo()\"\n [max]=\"maximo()\"\n [minFractionDigits]=\"numeroDecimales()\"\n [maxFractionDigits]=\"maximoDecimales() == null ? numeroDecimales() : maximoDecimales()\"\n [useGrouping]=\"separadorGrupo()\"\n [showButtons]=\"mostrarBotones()\"\n [step]=\"incremento()\"\n locale=\"es-ES\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (tooltipTexto() && !readOnly()) {\n <p-inputNumber\n #inputReference\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [pTooltip]=\"tooltipTexto()\"\n [tooltipPosition]=\"tooltipPosicion()\"\n [mode]=\"modo()\"\n [currency]=\"divisa()\"\n [prefix]=\"prefijo()\"\n [suffix]=\"sufijo()\"\n [min]=\"minimo()\"\n [max]=\"maximo()\"\n [minFractionDigits]=\"numeroDecimales()\"\n [maxFractionDigits]=\"maximoDecimales() == null ? numeroDecimales() : maximoDecimales()\"\n [useGrouping]=\"separadorGrupo()\"\n [showButtons]=\"mostrarBotones()\"\n [step]=\"incremento()\"\n locale=\"es-ES\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
4811
4815
|
}], propDecorators: { modo: [{ type: i0.Input, args: [{ isSignal: true, alias: "modo", required: false }] }], divisa: [{ type: i0.Input, args: [{ isSignal: true, alias: "divisa", required: false }] }], prefijo: [{ type: i0.Input, args: [{ isSignal: true, alias: "prefijo", required: false }] }], sufijo: [{ type: i0.Input, args: [{ isSignal: true, alias: "sufijo", required: false }] }], minimo: [{ type: i0.Input, args: [{ isSignal: true, alias: "minimo", required: false }] }], maximo: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximo", required: false }] }], numeroDecimales: [{ type: i0.Input, args: [{ isSignal: true, alias: "numeroDecimales", required: false }] }], maximoDecimales: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximoDecimales", required: false }] }], separadorGrupo: [{ type: i0.Input, args: [{ isSignal: true, alias: "separadorGrupo", required: false }] }], mostrarBotones: [{ type: i0.Input, args: [{ isSignal: true, alias: "mostrarBotones", required: false }] }], incremento: [{ type: i0.Input, args: [{ isSignal: true, alias: "incremento", required: false }] }], inputElement: [{ type: i0.ViewChild, args: ['inputReference', { isSignal: true }] }] } });
|
|
4812
4816
|
|
|
4813
4817
|
class BitAmountComponent extends BitNumberComponent {
|
|
@@ -4829,7 +4833,7 @@ class BitAmountComponent extends BitNumberComponent {
|
|
|
4829
4833
|
provide: NG_VALUE_ACCESSOR,
|
|
4830
4834
|
useExisting: forwardRef(() => BitAmountComponent),
|
|
4831
4835
|
multi: true
|
|
4832
|
-
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
4836
|
+
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!tooltipTexto() && !readOnly()) {\n <p-inputNumber\n #inputReference\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [placeholder]=\"placeholder()\"\n [mode]=\"modo()\"\n [currency]=\"divisa()\"\n [prefix]=\"prefijo()\"\n [suffix]=\"sufijo()\"\n [min]=\"minimo()\"\n [max]=\"maximo()\"\n [minFractionDigits]=\"numeroDecimales()\"\n [maxFractionDigits]=\"maximoDecimales() == null ? numeroDecimales() : maximoDecimales()\"\n [useGrouping]=\"separadorGrupo()\"\n [showButtons]=\"mostrarBotones()\"\n [step]=\"incremento()\"\n locale=\"es-ES\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (tooltipTexto() && !readOnly()) {\n <p-inputNumber\n #inputReference\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [pTooltip]=\"tooltipTexto()\"\n [tooltipPosition]=\"tooltipPosicion()\"\n [mode]=\"modo()\"\n [currency]=\"divisa()\"\n [prefix]=\"prefijo()\"\n [suffix]=\"sufijo()\"\n [min]=\"minimo()\"\n [max]=\"maximo()\"\n [minFractionDigits]=\"numeroDecimales()\"\n [maxFractionDigits]=\"maximoDecimales() == null ? numeroDecimales() : maximoDecimales()\"\n [useGrouping]=\"separadorGrupo()\"\n [showButtons]=\"mostrarBotones()\"\n [step]=\"incremento()\"\n locale=\"es-ES\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "component", type: i1$7.InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3$2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4833
4837
|
}
|
|
4834
4838
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitAmountComponent, decorators: [{
|
|
4835
4839
|
type: Component,
|
|
@@ -4837,7 +4841,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
4837
4841
|
provide: NG_VALUE_ACCESSOR,
|
|
4838
4842
|
useExisting: forwardRef(() => BitAmountComponent),
|
|
4839
4843
|
multi: true
|
|
4840
|
-
}], standalone: false, template: "@if (!hideLabel()) {\
|
|
4844
|
+
}], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!tooltipTexto() && !readOnly()) {\n <p-inputNumber\n #inputReference\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [placeholder]=\"placeholder()\"\n [mode]=\"modo()\"\n [currency]=\"divisa()\"\n [prefix]=\"prefijo()\"\n [suffix]=\"sufijo()\"\n [min]=\"minimo()\"\n [max]=\"maximo()\"\n [minFractionDigits]=\"numeroDecimales()\"\n [maxFractionDigits]=\"maximoDecimales() == null ? numeroDecimales() : maximoDecimales()\"\n [useGrouping]=\"separadorGrupo()\"\n [showButtons]=\"mostrarBotones()\"\n [step]=\"incremento()\"\n locale=\"es-ES\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (tooltipTexto() && !readOnly()) {\n <p-inputNumber\n #inputReference\n id=\"{{ nombre() }}\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n [ngModel]=\"value\"\n [attr.directive]=\"nombreDirectiva()\"\n [pTooltip]=\"tooltipTexto()\"\n [tooltipPosition]=\"tooltipPosicion()\"\n [mode]=\"modo()\"\n [currency]=\"divisa()\"\n [prefix]=\"prefijo()\"\n [suffix]=\"sufijo()\"\n [min]=\"minimo()\"\n [max]=\"maximo()\"\n [minFractionDigits]=\"numeroDecimales()\"\n [maxFractionDigits]=\"maximoDecimales() == null ? numeroDecimales() : maximoDecimales()\"\n [useGrouping]=\"separadorGrupo()\"\n [showButtons]=\"mostrarBotones()\"\n [step]=\"incremento()\"\n locale=\"es-ES\"\n (ngModelChange)=\"onChangeValue($event)\"\n (blur)=\"_onBlur()\"\n (focus)=\"_onFocus()\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
4841
4845
|
}], propDecorators: { prefijo: [{ type: i0.Input, args: [{ isSignal: true, alias: "prefijo", required: false }] }], sufijo: [{ type: i0.Input, args: [{ isSignal: true, alias: "sufijo", required: false }] }], minimo: [{ type: i0.Input, args: [{ isSignal: true, alias: "minimo", required: false }] }], maximo: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximo", required: false }] }], mostrarBotones: [{ type: i0.Input, args: [{ isSignal: true, alias: "mostrarBotones", required: false }] }], incremento: [{ type: i0.Input, args: [{ isSignal: true, alias: "incremento", required: false }] }], modo: [{ type: i0.Input, args: [{ isSignal: true, alias: "modo", required: false }] }], divisa: [{ type: i0.Input, args: [{ isSignal: true, alias: "divisa", required: false }] }], maximoDecimales: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximoDecimales", required: false }] }], separadorGrupo: [{ type: i0.Input, args: [{ isSignal: true, alias: "separadorGrupo", required: false }] }] } });
|
|
4842
4846
|
|
|
4843
4847
|
/** Esta clase contiene información sobre el menú pulsado por el usuairo. Permite setear dicho valor y recuperarlo mediante un signal */
|
|
@@ -4898,11 +4902,11 @@ class BitSidebarComponent {
|
|
|
4898
4902
|
this.onSelectLanguage.emit(language);
|
|
4899
4903
|
}
|
|
4900
4904
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4901
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitSidebarComponent, isStandalone: false, selector: "bit-sidebar", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, visibilidad: { classPropertyName: "visibilidad", publicName: "visibilidad", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSelectLanguage: "onSelectLanguage", onCloseMenu: "onCloseMenu", onMenuTitle: "onMenuTitle" }, ngImport: i0, template: "<div id=\"mySidebar\" class=\"sidebar\" [style.min-width]=\"visibilidad() ? '300px' : '0px'\">\
|
|
4905
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: BitSidebarComponent, isStandalone: false, selector: "bit-sidebar", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, visibilidad: { classPropertyName: "visibilidad", publicName: "visibilidad", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSelectLanguage: "onSelectLanguage", onCloseMenu: "onCloseMenu", onMenuTitle: "onMenuTitle" }, ngImport: i0, template: "<div id=\"mySidebar\" class=\"sidebar\" [style.min-width]=\"visibilidad() ? '300px' : '0px'\">\n <i class=\"closebtn fa fa-times\" (click)=\"closeMenu()\"></i>\n <ul>\n @for (item of items(); track item) {\n <li class=\"item\" (click)=\"clickMenu(item)\">\n @if (item.items.length > 0) {\n <i class=\"fa\" [ngClass]=\"{'fa-chevron-right':!item.expanded,'fa-chevron-down':item.expanded}\"></i>\n }\n {{ \"menu.\" + item.label | transloco }}\n @if (item.expanded) {\n <ul>\n @for (subitem of item.items; track subitem) {\n <li class=\"subitem\" [routerLink]=\"subitem.routerLink\" (click)=\"clickMenuItem($event, item, subitem)\">\n <i class=\"{{subitem.icon}}\"></i> \n <a>{{ \"menu.\" + subitem.label | transloco }}</a></li>\n }\n </ul>\n }\n </li>\n }\n </ul>\n <!-- <p class=\"idioma-selector\"> \n <bit-language-selector (onSelectLanguage)=\"selectLanguage($event)\"></bit-language-selector>\n </p> -->\n <p class=\"nombre-desarrollado\">{{ \"menu.desarrollado-por\" | transloco }} <a href=\"https://www.caib.es/webgoib/w/agencia-balear-digitalitzacio-ciberseguretat-i-telecomunicacions\" target=\"_blank\">IB Digital</a></p>\n</div>\n", styles: [".idioma-selector{padding:0;width:100%;position:absolute;bottom:44px;text-align:center}.sidebar{height:100%;width:0;position:fixed;z-index:100;top:0;left:0;background-color:#eaeaea;overflow:hidden;padding-top:60px;transition:.3s;cursor:pointer;box-shadow:1px 0 10px #656565}.sidebar>ul{padding-left:20px;overflow-x:hidden;overflow-y:auto;height:86.2%;padding-bottom:30px}.sidebar i,.sidebar a{text-decoration:none}.sidebar i{padding-left:10px;margin-right:5px}.sidebar li{padding:8px 0}.sidebar li.item{font-weight:700;cursor:pointer}li.item ul{padding-left:20px}.sidebar li.subitem{font-weight:400;transition:.5s}.sidebar li.subitem:hover{background:#ffffff80;-webkit-border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-bottomleft:4px;border-top-left-radius:4px;border-bottom-left-radius:4px}.sidebar li.subitem:hover a,.sidebar li.subitem:hover i{color:#0068a0}.sidebar .closebtn{color:#9a9a9a;position:absolute;top:18px;right:25px;font-size:25px}.sidebar .nombre-desarrollado{position:absolute;bottom:-13px;width:100%;background:#fff;padding:20px;text-align:center;cursor:auto}.sidebar .nombre-desarrollado a{font-weight:700;color:#1b8ac6}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$6.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i3.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4902
4906
|
}
|
|
4903
4907
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitSidebarComponent, decorators: [{
|
|
4904
4908
|
type: Component,
|
|
4905
|
-
args: [{ selector: "bit-sidebar", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div id=\"mySidebar\" class=\"sidebar\" [style.min-width]=\"visibilidad() ? '300px' : '0px'\">\
|
|
4909
|
+
args: [{ selector: "bit-sidebar", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div id=\"mySidebar\" class=\"sidebar\" [style.min-width]=\"visibilidad() ? '300px' : '0px'\">\n <i class=\"closebtn fa fa-times\" (click)=\"closeMenu()\"></i>\n <ul>\n @for (item of items(); track item) {\n <li class=\"item\" (click)=\"clickMenu(item)\">\n @if (item.items.length > 0) {\n <i class=\"fa\" [ngClass]=\"{'fa-chevron-right':!item.expanded,'fa-chevron-down':item.expanded}\"></i>\n }\n {{ \"menu.\" + item.label | transloco }}\n @if (item.expanded) {\n <ul>\n @for (subitem of item.items; track subitem) {\n <li class=\"subitem\" [routerLink]=\"subitem.routerLink\" (click)=\"clickMenuItem($event, item, subitem)\">\n <i class=\"{{subitem.icon}}\"></i> \n <a>{{ \"menu.\" + subitem.label | transloco }}</a></li>\n }\n </ul>\n }\n </li>\n }\n </ul>\n <!-- <p class=\"idioma-selector\"> \n <bit-language-selector (onSelectLanguage)=\"selectLanguage($event)\"></bit-language-selector>\n </p> -->\n <p class=\"nombre-desarrollado\">{{ \"menu.desarrollado-por\" | transloco }} <a href=\"https://www.caib.es/webgoib/w/agencia-balear-digitalitzacio-ciberseguretat-i-telecomunicacions\" target=\"_blank\">IB Digital</a></p>\n</div>\n", styles: [".idioma-selector{padding:0;width:100%;position:absolute;bottom:44px;text-align:center}.sidebar{height:100%;width:0;position:fixed;z-index:100;top:0;left:0;background-color:#eaeaea;overflow:hidden;padding-top:60px;transition:.3s;cursor:pointer;box-shadow:1px 0 10px #656565}.sidebar>ul{padding-left:20px;overflow-x:hidden;overflow-y:auto;height:86.2%;padding-bottom:30px}.sidebar i,.sidebar a{text-decoration:none}.sidebar i{padding-left:10px;margin-right:5px}.sidebar li{padding:8px 0}.sidebar li.item{font-weight:700;cursor:pointer}li.item ul{padding-left:20px}.sidebar li.subitem{font-weight:400;transition:.5s}.sidebar li.subitem:hover{background:#ffffff80;-webkit-border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-bottomleft:4px;border-top-left-radius:4px;border-bottom-left-radius:4px}.sidebar li.subitem:hover a,.sidebar li.subitem:hover i{color:#0068a0}.sidebar .closebtn{color:#9a9a9a;position:absolute;top:18px;right:25px;font-size:25px}.sidebar .nombre-desarrollado{position:absolute;bottom:-13px;width:100%;background:#fff;padding:20px;text-align:center;cursor:auto}.sidebar .nombre-desarrollado a{font-weight:700;color:#1b8ac6}\n"] }]
|
|
4906
4910
|
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], visibilidad: [{ type: i0.Input, args: [{ isSignal: true, alias: "visibilidad", required: false }] }], onSelectLanguage: [{ type: i0.Output, args: ["onSelectLanguage"] }], onCloseMenu: [{ type: i0.Output, args: ["onCloseMenu"] }], onMenuTitle: [{ type: i0.Output, args: ["onMenuTitle"] }] } });
|
|
4907
4911
|
|
|
4908
4912
|
class BitThemeSelectorComponent {
|
|
@@ -4929,11 +4933,11 @@ class BitThemeSelectorComponent {
|
|
|
4929
4933
|
this.onChangeTheme.emit(theme);
|
|
4930
4934
|
}
|
|
4931
4935
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitThemeSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4932
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.13", type: BitThemeSelectorComponent, isStandalone: false, selector: "bit-theme-selector", outputs: { onChangeTheme: "onChangeTheme" }, ngImport: i0, template: "<p-selectbutton \
|
|
4936
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.13", type: BitThemeSelectorComponent, isStandalone: false, selector: "bit-theme-selector", outputs: { onChangeTheme: "onChangeTheme" }, ngImport: i0, template: "<p-selectbutton \n [options]=\"themeList$()\" \n [ngModel]=\"currentTheme$()\" \n optionLabel=\"name\" \n optionValue=\"name\" \n (onOptionClick)=\"selectGroupChanged($event)\"/>", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$9.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "styleClass", "ariaLabelledBy", "dataKey", "autofocus", "size", "fluid"], outputs: ["onOptionClick", "onChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4933
4937
|
}
|
|
4934
4938
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitThemeSelectorComponent, decorators: [{
|
|
4935
4939
|
type: Component,
|
|
4936
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: "bit-theme-selector", standalone: false, template: "<p-selectbutton \
|
|
4940
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: "bit-theme-selector", standalone: false, template: "<p-selectbutton \n [options]=\"themeList$()\" \n [ngModel]=\"currentTheme$()\" \n optionLabel=\"name\" \n optionValue=\"name\" \n (onOptionClick)=\"selectGroupChanged($event)\"/>" }]
|
|
4937
4941
|
}], ctorParameters: () => [], propDecorators: { onChangeTheme: [{ type: i0.Output, args: ["onChangeTheme"] }] } });
|
|
4938
4942
|
|
|
4939
4943
|
class BitLanguageSelectorComponent {
|
|
@@ -4954,11 +4958,11 @@ class BitLanguageSelectorComponent {
|
|
|
4954
4958
|
this.onSelectLanguage.emit(language);
|
|
4955
4959
|
}
|
|
4956
4960
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitLanguageSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4957
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.13", type: BitLanguageSelectorComponent, isStandalone: false, selector: "bit-language-selector", outputs: { onSelectLanguage: "onSelectLanguage" }, ngImport: i0, template: "<p-selectbutton \
|
|
4961
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.13", type: BitLanguageSelectorComponent, isStandalone: false, selector: "bit-language-selector", outputs: { onSelectLanguage: "onSelectLanguage" }, ngImport: i0, template: "<p-selectbutton \n [options]=\"languageList$()\" \n [ngModel]=\"currentLanguage$()\" \n optionLabel=\"label\" \n optionValue=\"value\" \n (onOptionClick)=\"selectGroupChanged($event)\"/>", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$9.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "styleClass", "ariaLabelledBy", "dataKey", "autofocus", "size", "fluid"], outputs: ["onOptionClick", "onChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4958
4962
|
}
|
|
4959
4963
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitLanguageSelectorComponent, decorators: [{
|
|
4960
4964
|
type: Component,
|
|
4961
|
-
args: [{ selector: "bit-language-selector", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<p-selectbutton \
|
|
4965
|
+
args: [{ selector: "bit-language-selector", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<p-selectbutton \n [options]=\"languageList$()\" \n [ngModel]=\"currentLanguage$()\" \n optionLabel=\"label\" \n optionValue=\"value\" \n (onOptionClick)=\"selectGroupChanged($event)\"/>" }]
|
|
4962
4966
|
}], propDecorators: { onSelectLanguage: [{ type: i0.Output, args: ["onSelectLanguage"] }] } });
|
|
4963
4967
|
|
|
4964
4968
|
class BitSettingsComponent {
|
|
@@ -4983,11 +4987,11 @@ class BitSettingsComponent {
|
|
|
4983
4987
|
this.onDarkModeChange.emit(this.isDarkMode); // Emit the new state
|
|
4984
4988
|
}
|
|
4985
4989
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4986
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.13", type: BitSettingsComponent, isStandalone: false, selector: "bit-settings", outputs: { onSelectLanguage: "onSelectLanguage", onDarkModeChange: "onDarkModeChange" }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\
|
|
4990
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.13", type: BitSettingsComponent, isStandalone: false, selector: "bit-settings", outputs: { onSelectLanguage: "onSelectLanguage", onDarkModeChange: "onDarkModeChange" }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n <a href=\"#\" (click)=\"op.toggle($event); $event.preventDefault();\" class=\"pi pi-cog icono-header\" pTooltip=\"{{ t('configselection') }}\" tooltipPosition=\"left\" aria-label=\"{{ t('configselection') }}\"></a>\n <p-popover #op ariaLabel=\"{{ t('configselection') }}\">\n <div class=\"config-panel-settings\">\n <span class=\"config-panel-label\">{{ t('themelabel') }}</span>\n <bit-theme-selector />\n <span class=\"config-panel-label\">{{ t('darkmodeselection') }}</span>\n <div class=\"flex gap-2 align-items-center\">\n <span class=\"fa-solid fa-moon\"></span>\n <p-toggleswitch ariaLabel=\"{{ t('darkmodeselection') }}\" [(ngModel)]=\"isDarkMode\" (onChange)=\"toggleDarkMode($event);\" attr.data-testid=\"darkMode\"/>\n </div>\n <span class=\"config-panel-label\">{{ t('languageselection') }}</span>\n <div class=\"flex gap-2 align-items-center\">\n <span class=\"fa-solid fa-globe\"></span>\n <bit-language-selector (onSelectLanguage)=\"selectLanguage($event)\"/>\n </div>\n \n </div> \n </p-popover>\n</ng-container>", styles: [".config-panel-settings{display:flex;flex-direction:column;gap:.5rem}.config-panel-label{font-weight:700;line-height:1}a{text-decoration:none}\n"], dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$5.ToggleSwitch, selector: "p-toggleswitch, p-toggleSwitch, p-toggle-switch", inputs: ["styleClass", "tabindex", "inputId", "readonly", "trueValue", "falseValue", "ariaLabel", "size", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }, { kind: "component", type: i3$3.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions", "motionOptions"], outputs: ["onShow", "onHide"] }, { kind: "directive", type: i3$2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: i3.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: BitLanguageSelectorComponent, selector: "bit-language-selector", outputs: ["onSelectLanguage"] }, { kind: "component", type: BitThemeSelectorComponent, selector: "bit-theme-selector", outputs: ["onChangeTheme"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4987
4991
|
}
|
|
4988
4992
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitSettingsComponent, decorators: [{
|
|
4989
4993
|
type: Component,
|
|
4990
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: "bit-settings", standalone: false, template: "<ng-container *transloco=\"let t\">\
|
|
4994
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: "bit-settings", standalone: false, template: "<ng-container *transloco=\"let t\">\n <a href=\"#\" (click)=\"op.toggle($event); $event.preventDefault();\" class=\"pi pi-cog icono-header\" pTooltip=\"{{ t('configselection') }}\" tooltipPosition=\"left\" aria-label=\"{{ t('configselection') }}\"></a>\n <p-popover #op ariaLabel=\"{{ t('configselection') }}\">\n <div class=\"config-panel-settings\">\n <span class=\"config-panel-label\">{{ t('themelabel') }}</span>\n <bit-theme-selector />\n <span class=\"config-panel-label\">{{ t('darkmodeselection') }}</span>\n <div class=\"flex gap-2 align-items-center\">\n <span class=\"fa-solid fa-moon\"></span>\n <p-toggleswitch ariaLabel=\"{{ t('darkmodeselection') }}\" [(ngModel)]=\"isDarkMode\" (onChange)=\"toggleDarkMode($event);\" attr.data-testid=\"darkMode\"/>\n </div>\n <span class=\"config-panel-label\">{{ t('languageselection') }}</span>\n <div class=\"flex gap-2 align-items-center\">\n <span class=\"fa-solid fa-globe\"></span>\n <bit-language-selector (onSelectLanguage)=\"selectLanguage($event)\"/>\n </div>\n \n </div> \n </p-popover>\n</ng-container>", styles: [".config-panel-settings{display:flex;flex-direction:column;gap:.5rem}.config-panel-label{font-weight:700;line-height:1}a{text-decoration:none}\n"] }]
|
|
4991
4995
|
}], ctorParameters: () => [], propDecorators: { onSelectLanguage: [{ type: i0.Output, args: ["onSelectLanguage"] }], onDarkModeChange: [{ type: i0.Output, args: ["onDarkModeChange"] }] } });
|
|
4992
4996
|
|
|
4993
4997
|
class BytesPipe {
|
|
@@ -5330,7 +5334,7 @@ class BitSwitchSiNoComponent extends BitCustomComponent {
|
|
|
5330
5334
|
provide: NG_VALUE_ACCESSOR,
|
|
5331
5335
|
useExisting: forwardRef(() => BitSwitchSiNoComponent),
|
|
5332
5336
|
multi: true
|
|
5333
|
-
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\
|
|
5337
|
+
}], usesInheritance: true, ngImport: i0, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-toggleswitch onLabel=\"S\u00ED\"\n offLabel=\"No\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n id=\"{{ nombre() }}\"\n [trueValue]=\"valorTrue()\"\n [falseValue]=\"valorFalse()\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n", dependencies: [{ kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2$5.ToggleSwitch, selector: "p-toggleswitch, p-toggleSwitch, p-toggle-switch", inputs: ["styleClass", "tabindex", "inputId", "readonly", "trueValue", "falseValue", "ariaLabel", "size", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5334
5338
|
}
|
|
5335
5339
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitSwitchSiNoComponent, decorators: [{
|
|
5336
5340
|
type: Component,
|
|
@@ -5338,7 +5342,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
5338
5342
|
provide: NG_VALUE_ACCESSOR,
|
|
5339
5343
|
useExisting: forwardRef(() => BitSwitchSiNoComponent),
|
|
5340
5344
|
multi: true
|
|
5341
|
-
}], standalone: false, template: "@if (!hideLabel()) {\
|
|
5345
|
+
}], standalone: false, template: "@if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span>\n } \n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n}\n@if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n}\n@if (!readOnly()) {\n <p-toggleswitch onLabel=\"S\u00ED\"\n offLabel=\"No\"\n binary=\"true\"\n [(ngModel)]=\"value\"\n name=\"{{ nombre() }}\"\n ariaLabel=\"{{ nombre() }}\"\n [disabled]=\"isDisabled()\"\n id=\"{{ nombre() }}\"\n [trueValue]=\"valorTrue()\"\n [falseValue]=\"valorFalse()\"\n (onChange)=\"onChangeValue($event)\"\n attr.data-testid=\"{{ dataTestId()}}\"\n />\n}\n@if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n}\n" }]
|
|
5342
5346
|
}], propDecorators: { valorTrue: [{ type: i0.Input, args: [{ isSignal: true, alias: "valorTrue", required: false }] }], valorFalse: [{ type: i0.Input, args: [{ isSignal: true, alias: "valorFalse", required: false }] }] } });
|
|
5343
5347
|
|
|
5344
5348
|
class BitMultipleCheckboxComponent extends BitCustomComponent {
|
|
@@ -5412,7 +5416,7 @@ class BitMultipleCheckboxComponent extends BitCustomComponent {
|
|
|
5412
5416
|
useExisting: forwardRef(() => BitMultipleCheckboxComponent),
|
|
5413
5417
|
multi: true
|
|
5414
5418
|
}
|
|
5415
|
-
], usesInheritance: true, ngImport: i0, template: "<ng-container *transloco=\"let t\">\
|
|
5419
|
+
], usesInheritance: true, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n\n @if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> \n @if (!readOnly() && this.chekAll()) {\n <i title=\"{{t('bitnglibrary.form.bitmultiplecheckbox.checkall')}}\"\n style=\"color: #ced4da\"\n class=\"font-normal cursor-pointer hover:text-blue-600 cursor-pointer text-sm {{ estiloCheckAll() }}\"\n (click)=\"onCheckAll()\"></i> \n }\n @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span> \n }\n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n }\n\n @if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n } @else {\n\n @for (dominio of data(); track dominio) {\n <div class=\"field-checkbox inline-block\">\n <p-checkbox\n id=\"{{ nombre() + '-' + dominio.value }}\"\n name=\"{{ nombre() + '-' + dominio.value }}\"\n ariaLabel=\"{{ nombre() }}\"\n [value]=\"dominio.value\"\n [(ngModel)]=\"value\"\n [inputId]=\"dominio.value\"\n [disabled]=\"isDisabled()\"\n (onChange)=\"onChangeValue($event)\">\n attr.data-testid=\"{{ dataTestId() + \"-\" + dominio.value }}\"\n </p-checkbox>\n <label class=\"inline-block ml-2 mr-4 font-normal cursor-pointer hover:text-blue-400\"\n [for]=\"dominio.value\">{{ dominio.label }}</label>\n </div>\n }\n @if (ayuda()) {\n <i (click)=\"showAyuda()\" class=\"btn-ayuda-checkbox fa fa-question\"></i>\n }\n\n @if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n }\n }\n\n</ng-container>\n", dependencies: [{ kind: "component", type: i1$5.Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: BitControlMessages, selector: "control-messages", inputs: ["control", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5416
5420
|
}
|
|
5417
5421
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BitMultipleCheckboxComponent, decorators: [{
|
|
5418
5422
|
type: Component,
|
|
@@ -5422,7 +5426,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
|
|
|
5422
5426
|
useExisting: forwardRef(() => BitMultipleCheckboxComponent),
|
|
5423
5427
|
multi: true
|
|
5424
5428
|
}
|
|
5425
|
-
], standalone: false, template: "<ng-container *transloco=\"let t\">\
|
|
5429
|
+
], standalone: false, template: "<ng-container *transloco=\"let t\">\n\n @if (!hideLabel()) {\n <label for=\"{{ nombre() }}\">\n <ng-content /> \n @if (!readOnly() && this.chekAll()) {\n <i title=\"{{t('bitnglibrary.form.bitmultiplecheckbox.checkall')}}\"\n style=\"color: #ced4da\"\n class=\"font-normal cursor-pointer hover:text-blue-600 cursor-pointer text-sm {{ estiloCheckAll() }}\"\n (click)=\"onCheckAll()\"></i> \n }\n @if (obligatorio()) {\n <span class=\"obligatorio fa fa-asterisk\"></span> \n }\n @if (ayuda()) {\n <i class=\"btn-ayuda fa fa-question\" (click)=\"showAyuda()\"></i>\n }\n </label>\n }\n\n @if (readOnly()) {\n <p class=\"lectura\" [id]=\"nombre()\">{{ value_lectura }}</p>\n } @else {\n\n @for (dominio of data(); track dominio) {\n <div class=\"field-checkbox inline-block\">\n <p-checkbox\n id=\"{{ nombre() + '-' + dominio.value }}\"\n name=\"{{ nombre() + '-' + dominio.value }}\"\n ariaLabel=\"{{ nombre() }}\"\n [value]=\"dominio.value\"\n [(ngModel)]=\"value\"\n [inputId]=\"dominio.value\"\n [disabled]=\"isDisabled()\"\n (onChange)=\"onChangeValue($event)\">\n attr.data-testid=\"{{ dataTestId() + \"-\" + dominio.value }}\"\n </p-checkbox>\n <label class=\"inline-block ml-2 mr-4 font-normal cursor-pointer hover:text-blue-400\"\n [for]=\"dominio.value\">{{ dominio.label }}</label>\n </div>\n }\n @if (ayuda()) {\n <i (click)=\"showAyuda()\" class=\"btn-ayuda-checkbox fa fa-question\"></i>\n }\n\n @if (control() != null) {\n <control-messages [control]=\"control()\" [field]=\"nombre()\" />\n }\n }\n\n</ng-container>\n" }]
|
|
5426
5430
|
}], propDecorators: { chekAll: [{ type: i0.Input, args: [{ isSignal: true, alias: "chekAll", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
|
|
5427
5431
|
|
|
5428
5432
|
const modules = [
|