@pumpkin-tech/pumpkin-tech-ng 0.2.14 → 0.2.16
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { HostBinding, Input, Directive, Injectable, NgModule, EventEmitter, ElementRef, forwardRef, Output, ContentChild, ViewChild, ChangeDetectionStrategy, Component, HostListener, Inject, InjectionToken, Optional, Pipe, ContentChildren, inject } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/cdk/layout';
|
|
4
|
-
import * as i2$
|
|
4
|
+
import * as i2$4 from 'rxjs';
|
|
5
5
|
import { Subject, BehaviorSubject, takeUntil as takeUntil$1, delay, tap, map, filter, of } from 'rxjs';
|
|
6
6
|
import { takeUntil, filter as filter$1, switchMap } from 'rxjs/operators';
|
|
7
7
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
@@ -25,9 +25,9 @@ import * as i3 from '@angular/material/form-field';
|
|
|
25
25
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
26
26
|
import * as i4 from '@angular/material/input';
|
|
27
27
|
import { MatInputModule } from '@angular/material/input';
|
|
28
|
-
import * as
|
|
28
|
+
import * as i3$5 from '@angular/material/table';
|
|
29
29
|
import { MatTableModule } from '@angular/material/table';
|
|
30
|
-
import * as
|
|
30
|
+
import * as i4$3 from '@angular/material/paginator';
|
|
31
31
|
import { MatPaginatorIntl, MatPaginatorModule } from '@angular/material/paginator';
|
|
32
32
|
import { MatSortModule } from '@angular/material/sort';
|
|
33
33
|
import * as i3$1 from '@angular/material/icon';
|
|
@@ -58,7 +58,8 @@ import { MAT_MOMENT_DATE_ADAPTER_OPTIONS, MomentDateAdapter } from '@angular/mat
|
|
|
58
58
|
import 'moment/locale/pt-br';
|
|
59
59
|
import * as i2$2 from '@angular/router';
|
|
60
60
|
import { RouterModule, NavigationEnd } from '@angular/router';
|
|
61
|
-
import
|
|
61
|
+
import * as i8 from '@angular/cdk/drag-drop';
|
|
62
|
+
import { CdkDrag, CdkDragHandle, moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
|
|
62
63
|
import * as i2$3 from '@angular/platform-browser';
|
|
63
64
|
import * as i6 from 'ngx-material-timepicker';
|
|
64
65
|
import { NgxMaterialTimepickerModule } from 'ngx-material-timepicker';
|
|
@@ -1000,7 +1001,7 @@ class TextareaComponent extends BaseField {
|
|
|
1000
1001
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
1001
1002
|
</mat-form-field>
|
|
1002
1003
|
</div>
|
|
1003
|
-
`, isInline: true, styles: [".ptech-textarea-container{width:100%;display:flex;flex-direction:column}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field textarea.mat-mdc-input-element,:host ::ng-deep .ptech-form-field textarea.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}textarea[matInput].stretch{width:100%;box-sizing:border-box}.ptech-form-field.shrink-width{width:auto;max-width:100%;display:inline-block}textarea[matInput].resizable-h{width:100%;min-width:100%;max-width:100%;box-sizing:border-box}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1004
|
+
`, isInline: true, styles: [".ptech-textarea-container{width:100%;display:flex;flex-direction:column}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .ptech-form-field textarea.mat-mdc-input-element,:host ::ng-deep .ptech-form-field textarea.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}textarea[matInput].stretch{width:100%;box-sizing:border-box}.ptech-form-field.shrink-width{width:auto;max-width:100%;display:inline-block}textarea[matInput].resizable-h{width:100%;min-width:100%;max-width:100%;box-sizing:border-box}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1004
1005
|
}
|
|
1005
1006
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextareaComponent, decorators: [{
|
|
1006
1007
|
type: Component,
|
|
@@ -1045,7 +1046,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1045
1046
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
1046
1047
|
</mat-form-field>
|
|
1047
1048
|
</div>
|
|
1048
|
-
`, styles: [".ptech-textarea-container{width:100%;display:flex;flex-direction:column}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field textarea.mat-mdc-input-element,:host ::ng-deep .ptech-form-field textarea.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}textarea[matInput].stretch{width:100%;box-sizing:border-box}.ptech-form-field.shrink-width{width:auto;max-width:100%;display:inline-block}textarea[matInput].resizable-h{width:100%;min-width:100%;max-width:100%;box-sizing:border-box}\n"] }]
|
|
1049
|
+
`, styles: [".ptech-textarea-container{width:100%;display:flex;flex-direction:column}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .ptech-form-field textarea.mat-mdc-input-element,:host ::ng-deep .ptech-form-field textarea.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}textarea[matInput].stretch{width:100%;box-sizing:border-box}.ptech-form-field.shrink-width{width:auto;max-width:100%;display:inline-block}textarea[matInput].resizable-h{width:100%;min-width:100%;max-width:100%;box-sizing:border-box}\n"] }]
|
|
1049
1050
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { taRef: [{
|
|
1050
1051
|
type: ViewChild,
|
|
1051
1052
|
args: ['ta', { static: false }]
|
|
@@ -5668,7 +5669,7 @@ class InputDateComponent extends BaseField {
|
|
|
5668
5669
|
</mat-form-field>
|
|
5669
5670
|
</div>
|
|
5670
5671
|
</div>
|
|
5671
|
-
`, isInline: true, styles: [".time{margin-left:15px}.field{width:100%}:host ::ng-deep .field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .field input.mat-mdc-input-element,:host ::ng-deep .field input.mdc-text-field__input,:host ::ng-deep .field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .field .mdc-floating-label,:host ::ng-deep .field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .field mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host ::ng-deep .field .mat-datepicker-toggle,:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button.mat-mdc-button-base{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button svg,:host ::ng-deep .field .mat-mdc-icon-button svg path{fill:var(--ptech-field-text, var(--app-text, inherit))!important}::ng-deep .ptech-date-panel{--mat-datepicker-calendar-container-background-color: var(--app-surface, #fff);--mat-datepicker-calendar-date-text-color: var(--app-text, inherit);--mat-datepicker-calendar-body-label-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-text-color: var(--app-text, inherit);--mat-datepicker-calendar-period-button-text-color: var(--app-text, inherit);--mat-datepicker-calendar-navigation-button-icon-color: var(--app-text, inherit);--mat-datepicker-calendar-date-disabled-state-text-color: var(--app-muted, #9ca3af);--mat-datepicker-calendar-container-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-container-background-color: var(--app-surface, #fff)}::ng-deep .ptech-date-panel,::ng-deep .ptech-date-panel.mat-datepicker-content,::ng-deep .ptech-date-panel.mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content-container,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content-container,::ng-deep .ptech-date-panel .mat-calendar,::ng-deep .ptech-date-panel .mat-calendar-content,::ng-deep .ptech-date-panel .mat-calendar-table{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-cell-content,::ng-deep .ptech-date-panel .mat-calendar-body-label,::ng-deep .ptech-date-panel .mat-calendar-table-header th,::ng-deep .ptech-date-panel .mat-calendar-period-button,::ng-deep .ptech-date-panel .mat-calendar-previous-button,::ng-deep .ptech-date-panel .mat-calendar-next-button{color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-arrow{border-top-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-header,::ng-deep .ptech-date-panel .mat-calendar-controls,::ng-deep .ptech-date-panel .mat-mdc-calendar-controls,::ng-deep .ptech-date-panel .mat-calendar-table-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header,::ng-deep .ptech-date-panel .mat-calendar-table-header-divider:after,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header-divider:after{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border-color:var(--app-border-color, rgba(0,0,0,.12))!important}:host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i3$4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i3$4.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i3$4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
5672
|
+
`, isInline: true, styles: [".time{margin-left:15px}.field{width:100%}:host ::ng-deep .field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .field input.mat-mdc-input-element,:host ::ng-deep .field input.mdc-text-field__input,:host ::ng-deep .field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .field .mdc-floating-label,:host ::ng-deep .field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .field mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host ::ng-deep .field .mat-datepicker-toggle,:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button.mat-mdc-button-base{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button svg,:host ::ng-deep .field .mat-mdc-icon-button svg path{fill:var(--ptech-field-text, var(--app-text, inherit))!important}::ng-deep .ptech-date-panel{--mat-datepicker-calendar-container-background-color: var(--app-surface, #fff);--mat-datepicker-calendar-date-text-color: var(--app-text, inherit);--mat-datepicker-calendar-body-label-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-text-color: var(--app-text, inherit);--mat-datepicker-calendar-period-button-text-color: var(--app-text, inherit);--mat-datepicker-calendar-navigation-button-icon-color: var(--app-text, inherit);--mat-datepicker-calendar-date-disabled-state-text-color: var(--app-muted, #9ca3af);--mat-datepicker-calendar-container-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-container-background-color: var(--app-surface, #fff)}::ng-deep .ptech-date-panel,::ng-deep .ptech-date-panel.mat-datepicker-content,::ng-deep .ptech-date-panel.mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content-container,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content-container,::ng-deep .ptech-date-panel .mat-calendar,::ng-deep .ptech-date-panel .mat-calendar-content,::ng-deep .ptech-date-panel .mat-calendar-table{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-cell-content,::ng-deep .ptech-date-panel .mat-calendar-body-label,::ng-deep .ptech-date-panel .mat-calendar-table-header th,::ng-deep .ptech-date-panel .mat-calendar-period-button,::ng-deep .ptech-date-panel .mat-calendar-previous-button,::ng-deep .ptech-date-panel .mat-calendar-next-button{color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-arrow{border-top-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-header,::ng-deep .ptech-date-panel .mat-calendar-controls,::ng-deep .ptech-date-panel .mat-mdc-calendar-controls,::ng-deep .ptech-date-panel .mat-calendar-table-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header,::ng-deep .ptech-date-panel .mat-calendar-table-header-divider:after,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header-divider:after{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border-color:var(--app-border-color, rgba(0,0,0,.12))!important}:host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i3$4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i3$4.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i3$4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
5672
5673
|
}
|
|
5673
5674
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputDateComponent, decorators: [{
|
|
5674
5675
|
type: Component,
|
|
@@ -5730,7 +5731,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5730
5731
|
provide: NG_VALUE_ACCESSOR,
|
|
5731
5732
|
useExisting: forwardRef(() => InputDateComponent),
|
|
5732
5733
|
multi: true
|
|
5733
|
-
}], styles: [".time{margin-left:15px}.field{width:100%}:host ::ng-deep .field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .field input.mat-mdc-input-element,:host ::ng-deep .field input.mdc-text-field__input,:host ::ng-deep .field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .field .mdc-floating-label,:host ::ng-deep .field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .field mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host ::ng-deep .field .mat-datepicker-toggle,:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button.mat-mdc-button-base{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button svg,:host ::ng-deep .field .mat-mdc-icon-button svg path{fill:var(--ptech-field-text, var(--app-text, inherit))!important}::ng-deep .ptech-date-panel{--mat-datepicker-calendar-container-background-color: var(--app-surface, #fff);--mat-datepicker-calendar-date-text-color: var(--app-text, inherit);--mat-datepicker-calendar-body-label-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-text-color: var(--app-text, inherit);--mat-datepicker-calendar-period-button-text-color: var(--app-text, inherit);--mat-datepicker-calendar-navigation-button-icon-color: var(--app-text, inherit);--mat-datepicker-calendar-date-disabled-state-text-color: var(--app-muted, #9ca3af);--mat-datepicker-calendar-container-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-container-background-color: var(--app-surface, #fff)}::ng-deep .ptech-date-panel,::ng-deep .ptech-date-panel.mat-datepicker-content,::ng-deep .ptech-date-panel.mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content-container,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content-container,::ng-deep .ptech-date-panel .mat-calendar,::ng-deep .ptech-date-panel .mat-calendar-content,::ng-deep .ptech-date-panel .mat-calendar-table{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-cell-content,::ng-deep .ptech-date-panel .mat-calendar-body-label,::ng-deep .ptech-date-panel .mat-calendar-table-header th,::ng-deep .ptech-date-panel .mat-calendar-period-button,::ng-deep .ptech-date-panel .mat-calendar-previous-button,::ng-deep .ptech-date-panel .mat-calendar-next-button{color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-arrow{border-top-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-header,::ng-deep .ptech-date-panel .mat-calendar-controls,::ng-deep .ptech-date-panel .mat-mdc-calendar-controls,::ng-deep .ptech-date-panel .mat-calendar-table-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header,::ng-deep .ptech-date-panel .mat-calendar-table-header-divider:after,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header-divider:after{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border-color:var(--app-border-color, rgba(0,0,0,.12))!important}:host{display:block}\n"] }]
|
|
5734
|
+
}], styles: [".time{margin-left:15px}.field{width:100%}:host ::ng-deep .field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .field input.mat-mdc-input-element,:host ::ng-deep .field input.mdc-text-field__input,:host ::ng-deep .field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .field .mdc-floating-label,:host ::ng-deep .field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .field mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host ::ng-deep .field .mat-datepicker-toggle,:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button.mat-mdc-button-base{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button svg,:host ::ng-deep .field .mat-mdc-icon-button svg path{fill:var(--ptech-field-text, var(--app-text, inherit))!important}::ng-deep .ptech-date-panel{--mat-datepicker-calendar-container-background-color: var(--app-surface, #fff);--mat-datepicker-calendar-date-text-color: var(--app-text, inherit);--mat-datepicker-calendar-body-label-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-text-color: var(--app-text, inherit);--mat-datepicker-calendar-period-button-text-color: var(--app-text, inherit);--mat-datepicker-calendar-navigation-button-icon-color: var(--app-text, inherit);--mat-datepicker-calendar-date-disabled-state-text-color: var(--app-muted, #9ca3af);--mat-datepicker-calendar-container-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-container-background-color: var(--app-surface, #fff)}::ng-deep .ptech-date-panel,::ng-deep .ptech-date-panel.mat-datepicker-content,::ng-deep .ptech-date-panel.mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content-container,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content-container,::ng-deep .ptech-date-panel .mat-calendar,::ng-deep .ptech-date-panel .mat-calendar-content,::ng-deep .ptech-date-panel .mat-calendar-table{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-cell-content,::ng-deep .ptech-date-panel .mat-calendar-body-label,::ng-deep .ptech-date-panel .mat-calendar-table-header th,::ng-deep .ptech-date-panel .mat-calendar-period-button,::ng-deep .ptech-date-panel .mat-calendar-previous-button,::ng-deep .ptech-date-panel .mat-calendar-next-button{color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-arrow{border-top-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-header,::ng-deep .ptech-date-panel .mat-calendar-controls,::ng-deep .ptech-date-panel .mat-mdc-calendar-controls,::ng-deep .ptech-date-panel .mat-calendar-table-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header,::ng-deep .ptech-date-panel .mat-calendar-table-header-divider:after,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header-divider:after{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border-color:var(--app-border-color, rgba(0,0,0,.12))!important}:host{display:block}\n"] }]
|
|
5734
5735
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { inputDateElement: [{
|
|
5735
5736
|
type: ViewChild,
|
|
5736
5737
|
args: ['inputDateElement', { static: true }]
|
|
@@ -5884,7 +5885,7 @@ class InputTimeComponent extends BaseField {
|
|
|
5884
5885
|
|
|
5885
5886
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
5886
5887
|
</mat-form-field>
|
|
5887
|
-
`, isInline: true, styles: [":host{display:block;width:100%}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field input.mat-mdc-input-element,:host ::ng-deep .ptech-form-field input.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field .mat-mdc-icon-button.mat-mdc-button-base,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button .mat-icon,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg path{color:var(--ptech-field-text, var(--app-text, inherit))!important;fill:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: NgxMaterialTimepickerModule }, { kind: "component", type: i6.NgxMaterialTimepickerComponent, selector: "ngx-material-timepicker", inputs: ["cancelBtnTmpl", "editableHintTmpl", "confirmBtnTmpl", "ESC", "enableKeyboardInput", "preventOverlayClick", "disableAnimation", "appendToInput", "hoursOnly", "defaultTime", "timepickerClass", "theme", "min", "max", "ngxMaterialTimepickerTheme", "format", "minutesGap"], outputs: ["timeSet", "opened", "closed", "hourSelected", "timeChanged"] }, { kind: "component", type: i6.NgxMaterialTimepickerToggleComponent, selector: "ngx-material-timepicker-toggle", inputs: ["for", "disabled"] }, { kind: "directive", type: i6.TimepickerDirective, selector: "[ngxTimepicker]", inputs: ["format", "min", "max", "ngxTimepicker", "value", "disabled", "disableClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5888
|
+
`, isInline: true, styles: [":host{display:block;width:100%}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .ptech-form-field input.mat-mdc-input-element,:host ::ng-deep .ptech-form-field input.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field .mat-mdc-icon-button.mat-mdc-button-base,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button .mat-icon,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg path{color:var(--ptech-field-text, var(--app-text, inherit))!important;fill:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: NgxMaterialTimepickerModule }, { kind: "component", type: i6.NgxMaterialTimepickerComponent, selector: "ngx-material-timepicker", inputs: ["cancelBtnTmpl", "editableHintTmpl", "confirmBtnTmpl", "ESC", "enableKeyboardInput", "preventOverlayClick", "disableAnimation", "appendToInput", "hoursOnly", "defaultTime", "timepickerClass", "theme", "min", "max", "ngxMaterialTimepickerTheme", "format", "minutesGap"], outputs: ["timeSet", "opened", "closed", "hourSelected", "timeChanged"] }, { kind: "component", type: i6.NgxMaterialTimepickerToggleComponent, selector: "ngx-material-timepicker-toggle", inputs: ["for", "disabled"] }, { kind: "directive", type: i6.TimepickerDirective, selector: "[ngxTimepicker]", inputs: ["format", "min", "max", "ngxTimepicker", "value", "disabled", "disableClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5888
5889
|
}
|
|
5889
5890
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputTimeComponent, decorators: [{
|
|
5890
5891
|
type: Component,
|
|
@@ -5932,7 +5933,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5932
5933
|
|
|
5933
5934
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
5934
5935
|
</mat-form-field>
|
|
5935
|
-
`, styles: [":host{display:block;width:100%}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field input.mat-mdc-input-element,:host ::ng-deep .ptech-form-field input.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field .mat-mdc-icon-button.mat-mdc-button-base,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button .mat-icon,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg path{color:var(--ptech-field-text, var(--app-text, inherit))!important;fill:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}\n"] }]
|
|
5936
|
+
`, styles: [":host{display:block;width:100%}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .ptech-form-field input.mat-mdc-input-element,:host ::ng-deep .ptech-form-field input.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field .mat-mdc-icon-button.mat-mdc-button-base,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button .mat-icon,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg path{color:var(--ptech-field-text, var(--app-text, inherit))!important;fill:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}\n"] }]
|
|
5936
5937
|
}], propDecorators: { format: [{
|
|
5937
5938
|
type: Input
|
|
5938
5939
|
}], seconds: [{
|
|
@@ -6084,14 +6085,21 @@ class TableComponent {
|
|
|
6084
6085
|
// seleção de linhas
|
|
6085
6086
|
selectRow = false;
|
|
6086
6087
|
selectMultipleRow = false;
|
|
6088
|
+
selectionMode = null;
|
|
6089
|
+
usePtechSelectionControls = false;
|
|
6087
6090
|
getRowId = (row) => row?._id ?? row?.id; // fallback
|
|
6088
6091
|
/** imagem de fallback para <img> quebrada ou ausente */
|
|
6089
6092
|
imageFallback = 'assets/images/placeholder-poster.svg';
|
|
6090
6093
|
/** ativa visualização em cards no mobile */
|
|
6091
6094
|
responsiveCards = false;
|
|
6095
|
+
reorderable = false;
|
|
6092
6096
|
selectedRows = new EventEmitter();
|
|
6097
|
+
selectedRow = new EventEmitter();
|
|
6093
6098
|
selectedIds = new EventEmitter();
|
|
6099
|
+
selectionChange = new EventEmitter();
|
|
6094
6100
|
page = new EventEmitter();
|
|
6101
|
+
reorder = new EventEmitter();
|
|
6102
|
+
toggleChange = new EventEmitter();
|
|
6095
6103
|
displayedColumns = [];
|
|
6096
6104
|
selection = new SelectionModel(this.selectMultipleRow, []);
|
|
6097
6105
|
selectedIdSet = new Set();
|
|
@@ -6116,6 +6124,11 @@ class TableComponent {
|
|
|
6116
6124
|
return this.cellTemplateMap.get(key) ?? null;
|
|
6117
6125
|
}
|
|
6118
6126
|
ngOnChanges(changes) {
|
|
6127
|
+
// API nova (selectionMode) sem quebrar a antiga (selectRow/selectMultipleRow)
|
|
6128
|
+
if (this.selectionMode) {
|
|
6129
|
+
this.selectRow = this.selectionMode !== 'none';
|
|
6130
|
+
this.selectMultipleRow = this.selectionMode === 'multiple';
|
|
6131
|
+
}
|
|
6119
6132
|
// colunas
|
|
6120
6133
|
const cols = [...this.columns.map(c => c.key)];
|
|
6121
6134
|
if (this.selectRow)
|
|
@@ -6193,7 +6206,15 @@ class TableComponent {
|
|
|
6193
6206
|
selectedRows.push(row);
|
|
6194
6207
|
}
|
|
6195
6208
|
this.selectedRows.emit(selectedRows);
|
|
6209
|
+
const single = this.selectMultipleRow ? null : (selectedRows[0] || null);
|
|
6210
|
+
this.selectedRow.emit(single);
|
|
6196
6211
|
this.selectedIds.emit(selectedIds);
|
|
6212
|
+
this.selectionChange.emit({
|
|
6213
|
+
mode: this.selectMultipleRow ? 'multiple' : 'single',
|
|
6214
|
+
row: single,
|
|
6215
|
+
rows: selectedRows,
|
|
6216
|
+
ids: selectedIds,
|
|
6217
|
+
});
|
|
6197
6218
|
}
|
|
6198
6219
|
/** Verifica se uma linha está selecionada */
|
|
6199
6220
|
isSelected(row) {
|
|
@@ -6202,6 +6223,19 @@ class TableComponent {
|
|
|
6202
6223
|
onPage(ev) {
|
|
6203
6224
|
this.page.emit({ pageIndex: ev.pageIndex, pageSize: ev.pageSize });
|
|
6204
6225
|
}
|
|
6226
|
+
onDrop(event) {
|
|
6227
|
+
if (!this.reorderable || !Array.isArray(this.data))
|
|
6228
|
+
return;
|
|
6229
|
+
if (event.previousIndex === event.currentIndex)
|
|
6230
|
+
return;
|
|
6231
|
+
moveItemInArray(this.data, event.previousIndex, event.currentIndex);
|
|
6232
|
+
this.reorder.emit({
|
|
6233
|
+
previousIndex: event.previousIndex,
|
|
6234
|
+
currentIndex: event.currentIndex,
|
|
6235
|
+
item: this.data[event.currentIndex],
|
|
6236
|
+
data: [...this.data],
|
|
6237
|
+
});
|
|
6238
|
+
}
|
|
6205
6239
|
renderCell(row, col) {
|
|
6206
6240
|
if (col?.cell)
|
|
6207
6241
|
return col.cell(row);
|
|
@@ -6269,8 +6303,28 @@ class TableComponent {
|
|
|
6269
6303
|
resolveActionColor(action) {
|
|
6270
6304
|
return action?.color || 'var(--ptech-table-action-icon, var(--ptech-table-cell-text, var(--app-text, inherit)))';
|
|
6271
6305
|
}
|
|
6306
|
+
resolveToggleValue(row, col) {
|
|
6307
|
+
return !!col?.toggleValue?.(row);
|
|
6308
|
+
}
|
|
6309
|
+
resolveToggleLabel(row, col) {
|
|
6310
|
+
if (typeof col?.toggleLabel === 'function')
|
|
6311
|
+
return col.toggleLabel(row);
|
|
6312
|
+
return col?.toggleLabel || '';
|
|
6313
|
+
}
|
|
6314
|
+
resolveToggleDisabled(row, col) {
|
|
6315
|
+
if (typeof col?.toggleDisabled === 'function')
|
|
6316
|
+
return !!col.toggleDisabled(row);
|
|
6317
|
+
return !!col?.toggleDisabled;
|
|
6318
|
+
}
|
|
6319
|
+
onToggleColumnChange(row, col, value) {
|
|
6320
|
+
this.toggleChange.emit({
|
|
6321
|
+
row,
|
|
6322
|
+
column: col,
|
|
6323
|
+
value: !!value,
|
|
6324
|
+
});
|
|
6325
|
+
}
|
|
6272
6326
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6273
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TableComponent, isStandalone: true, selector: "ptech-table", inputs: { title: "title", loading: "loading", data: "data", total: "total", pageIndex: "pageIndex", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", columns: "columns", actions: "actions", selectRow: "selectRow", selectMultipleRow: "selectMultipleRow", getRowId: "getRowId", imageFallback: "imageFallback", responsiveCards: "responsiveCards" }, outputs: { selectedRows: "selectedRows", selectedIds: "selectedIds", page: "page" }, queries: [{ propertyName: "cellTemplates", predicate: TableCellDirective }], usesOnChanges: true, ngImport: i0, template: `
|
|
6327
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TableComponent, isStandalone: true, selector: "ptech-table", inputs: { title: "title", loading: "loading", data: "data", total: "total", pageIndex: "pageIndex", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", columns: "columns", actions: "actions", selectRow: "selectRow", selectMultipleRow: "selectMultipleRow", selectionMode: "selectionMode", usePtechSelectionControls: "usePtechSelectionControls", getRowId: "getRowId", imageFallback: "imageFallback", responsiveCards: "responsiveCards", reorderable: "reorderable" }, outputs: { selectedRows: "selectedRows", selectedRow: "selectedRow", selectedIds: "selectedIds", selectionChange: "selectionChange", page: "page", reorder: "reorder", toggleChange: "toggleChange" }, queries: [{ propertyName: "cellTemplates", predicate: TableCellDirective }], usesOnChanges: true, ngImport: i0, template: `
|
|
6274
6328
|
<div class="table-container mat-elevation-z8">
|
|
6275
6329
|
<div class="header-row" *ngIf="title">
|
|
6276
6330
|
<h3>{{ title }}</h3>
|
|
@@ -6290,32 +6344,58 @@ class TableComponent {
|
|
|
6290
6344
|
<ng-container *ngIf="!loading; else loadingTpl">
|
|
6291
6345
|
<!-- TABELA (desktop / tablet ou mobile sem cards) -->
|
|
6292
6346
|
<div class="table-scroll" [class.hide-on-mobile]="responsiveCards">
|
|
6293
|
-
<table
|
|
6347
|
+
<table
|
|
6348
|
+
mat-table
|
|
6349
|
+
[dataSource]="data"
|
|
6350
|
+
cdkDropList
|
|
6351
|
+
[cdkDropListData]="data"
|
|
6352
|
+
[cdkDropListDisabled]="!reorderable"
|
|
6353
|
+
(cdkDropListDropped)="onDrop($event)"
|
|
6354
|
+
>
|
|
6294
6355
|
<!-- SELEÇÃO (checkbox ou radio) -->
|
|
6295
6356
|
<ng-container *ngIf="selectRow" matColumnDef="select">
|
|
6296
6357
|
<th mat-header-cell *matHeaderCellDef style="text-align: center">
|
|
6297
|
-
<
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6358
|
+
<ng-container *ngIf="selectMultipleRow">
|
|
6359
|
+
<ptech-check-box
|
|
6360
|
+
*ngIf="usePtechSelectionControls; else selectAllMaterialTpl"
|
|
6361
|
+
[value]="isAllSelected()"
|
|
6362
|
+
[indeterminate]="selection.hasValue() && !isAllSelected()"
|
|
6363
|
+
ariaLabel="Selecionar todas"
|
|
6364
|
+
(change)="toggleAllRows()"
|
|
6365
|
+
></ptech-check-box>
|
|
6366
|
+
<ng-template #selectAllMaterialTpl>
|
|
6367
|
+
<mat-checkbox
|
|
6368
|
+
(change)="toggleAllRows()"
|
|
6369
|
+
[checked]="isAllSelected()"
|
|
6370
|
+
[indeterminate]="selection.hasValue() && !isAllSelected()"
|
|
6371
|
+
aria-label="Selecionar todas"
|
|
6372
|
+
></mat-checkbox>
|
|
6373
|
+
</ng-template>
|
|
6374
|
+
</ng-container>
|
|
6304
6375
|
</th>
|
|
6305
6376
|
<td mat-cell *matCellDef="let row" style="text-align: center">
|
|
6306
|
-
<
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
<
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6377
|
+
<ng-container *ngIf="usePtechSelectionControls; else selectMaterialTpl">
|
|
6378
|
+
<ptech-check-box
|
|
6379
|
+
[value]="isSelected(row)"
|
|
6380
|
+
ariaLabel="Selecionar linha"
|
|
6381
|
+
(change)="toggleRow(row)"
|
|
6382
|
+
></ptech-check-box>
|
|
6383
|
+
</ng-container>
|
|
6384
|
+
<ng-template #selectMaterialTpl>
|
|
6385
|
+
<mat-checkbox
|
|
6386
|
+
*ngIf="selectMultipleRow"
|
|
6387
|
+
[checked]="isSelected(row)"
|
|
6388
|
+
(change)="toggleRow(row)"
|
|
6389
|
+
aria-label="Selecionar linha"
|
|
6390
|
+
></mat-checkbox>
|
|
6391
|
+
|
|
6392
|
+
<mat-radio-button
|
|
6393
|
+
*ngIf="!selectMultipleRow"
|
|
6394
|
+
[checked]="isSelected(row)"
|
|
6395
|
+
(change)="toggleRow(row)"
|
|
6396
|
+
aria-label="Selecionar linha"
|
|
6397
|
+
></mat-radio-button>
|
|
6398
|
+
</ng-template>
|
|
6319
6399
|
</td>
|
|
6320
6400
|
</ng-container>
|
|
6321
6401
|
|
|
@@ -6377,6 +6457,16 @@ class TableComponent {
|
|
|
6377
6457
|
</ptech-badge-stack>
|
|
6378
6458
|
</ng-container>
|
|
6379
6459
|
|
|
6460
|
+
<!-- TOGGLE -->
|
|
6461
|
+
<ng-container *ngSwitchCase="'toggle'">
|
|
6462
|
+
<ptech-slide-toggle
|
|
6463
|
+
[label]="resolveToggleLabel(row, c)"
|
|
6464
|
+
[ngModel]="resolveToggleValue(row, c)"
|
|
6465
|
+
[disabled]="resolveToggleDisabled(row, c)"
|
|
6466
|
+
(ngModelChange)="onToggleColumnChange(row, c, $event)"
|
|
6467
|
+
></ptech-slide-toggle>
|
|
6468
|
+
</ng-container>
|
|
6469
|
+
|
|
6380
6470
|
<!-- DEFAULT (text/number) -->
|
|
6381
6471
|
<ng-container *ngSwitchDefault>
|
|
6382
6472
|
<span [style.color]="resolveColor(row, c)">
|
|
@@ -6413,6 +6503,8 @@ class TableComponent {
|
|
|
6413
6503
|
mat-row
|
|
6414
6504
|
*matRowDef="let row; columns: displayedColumns"
|
|
6415
6505
|
[class.selected]="isSelected(row)"
|
|
6506
|
+
cdkDrag
|
|
6507
|
+
[cdkDragDisabled]="!reorderable"
|
|
6416
6508
|
></tr>
|
|
6417
6509
|
</table>
|
|
6418
6510
|
</div>
|
|
@@ -6429,19 +6521,28 @@ class TableComponent {
|
|
|
6429
6521
|
>
|
|
6430
6522
|
<!-- seleção no card -->
|
|
6431
6523
|
<div *ngIf="selectRow" class="card-select">
|
|
6432
|
-
<
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
<
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6524
|
+
<ng-container *ngIf="usePtechSelectionControls; else cardSelectMaterialTpl">
|
|
6525
|
+
<ptech-check-box
|
|
6526
|
+
[value]="isSelected(row)"
|
|
6527
|
+
ariaLabel="Selecionar card"
|
|
6528
|
+
(change)="toggleRow(row)"
|
|
6529
|
+
></ptech-check-box>
|
|
6530
|
+
</ng-container>
|
|
6531
|
+
<ng-template #cardSelectMaterialTpl>
|
|
6532
|
+
<mat-checkbox
|
|
6533
|
+
*ngIf="selectMultipleRow"
|
|
6534
|
+
[checked]="isSelected(row)"
|
|
6535
|
+
(change)="toggleRow(row)"
|
|
6536
|
+
aria-label="Selecionar card"
|
|
6537
|
+
></mat-checkbox>
|
|
6538
|
+
|
|
6539
|
+
<mat-radio-button
|
|
6540
|
+
*ngIf="!selectMultipleRow"
|
|
6541
|
+
[checked]="isSelected(row)"
|
|
6542
|
+
(change)="toggleRow(row)"
|
|
6543
|
+
aria-label="Selecionar card"
|
|
6544
|
+
></mat-radio-button>
|
|
6545
|
+
</ng-template>
|
|
6445
6546
|
</div>
|
|
6446
6547
|
|
|
6447
6548
|
<div *ngFor="let c of columns" class="card-row">
|
|
@@ -6496,6 +6597,19 @@ class TableComponent {
|
|
|
6496
6597
|
</div>
|
|
6497
6598
|
</ng-container>
|
|
6498
6599
|
|
|
6600
|
+
<!-- TOGGLE -->
|
|
6601
|
+
<ng-container *ngSwitchCase="'toggle'">
|
|
6602
|
+
<div>
|
|
6603
|
+
<strong>{{ c.header }}:</strong>
|
|
6604
|
+
</div>
|
|
6605
|
+
<ptech-slide-toggle
|
|
6606
|
+
[label]="resolveToggleLabel(row, c)"
|
|
6607
|
+
[ngModel]="resolveToggleValue(row, c)"
|
|
6608
|
+
[disabled]="resolveToggleDisabled(row, c)"
|
|
6609
|
+
(ngModelChange)="onToggleColumnChange(row, c, $event)"
|
|
6610
|
+
></ptech-slide-toggle>
|
|
6611
|
+
</ng-container>
|
|
6612
|
+
|
|
6499
6613
|
<!-- DEFAULT -->
|
|
6500
6614
|
<ng-container *ngSwitchDefault>
|
|
6501
6615
|
<div>
|
|
@@ -6548,11 +6662,11 @@ class TableComponent {
|
|
|
6548
6662
|
<mat-progress-bar mode="indeterminate"></mat-progress-bar>
|
|
6549
6663
|
</ng-template>
|
|
6550
6664
|
</div>
|
|
6551
|
-
`, isInline: true, styles: [":host{display:block;width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden}.table-container{width:100%;max-width:100%;box-sizing:border-box;margin:0 0 20px;padding:0 16px}.table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-scroll table{width:max-content;min-width:100%;border-collapse:collapse;table-layout:auto;background:var(--ptech-table-bg, var(--app-surface, #fff))}:host ::ng-deep .table-scroll .mat-mdc-header-row,:host ::ng-deep .table-scroll .mdc-data-table__header-row{background:var(--ptech-table-header-bg, var(--app-surface-2, #f7f7f7))}:host ::ng-deep .table-scroll .mat-mdc-header-cell{color:var(--ptech-table-header-text, var(--app-text, inherit));border-bottom-color:var(--ptech-table-divider, var(--app-border-color, rgba(0,0,0,.12)))}:host ::ng-deep .table-scroll .mat-mdc-cell{color:var(--ptech-table-cell-text, var(--app-text, inherit));border-bottom-color:var(--ptech-table-divider, var(--app-border-color, rgba(0,0,0,.12)))}:host ::ng-deep .table-scroll .mat-mdc-row,:host ::ng-deep .table-scroll .mdc-data-table__row{background:var(--ptech-table-bg, var(--app-surface, #fff))}:host ::ng-deep .mat-mdc-paginator{background:var(--ptech-table-bg, var(--app-surface, #fff));color:var(--ptech-table-cell-text, var(--app-text, inherit))}:host ::ng-deep .mat-mdc-paginator .mat-mdc-paginator-page-size-label,:host ::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-label,:host ::ng-deep .mat-mdc-paginator .mat-mdc-select-value-text,:host ::ng-deep .mat-mdc-paginator .mat-mdc-select-arrow,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button{color:var(--ptech-table-cell-text, var(--app-text, inherit))}:host ::ng-deep .mat-mdc-paginator .mat-mdc-paginator-icon,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button svg,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button svg path{fill:var(--ptech-table-cell-text, var(--app-text, inherit))!important}:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled],:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled{color:var(--app-muted, #9ca3af)!important}:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-paginator-icon,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled] svg,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled svg,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled] svg path,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled svg path{fill:var(--app-muted, #9ca3af)!important}::ng-deep .ptech-table-paginator-panel{background-color:var(--app-surface, #fff)!important}::ng-deep .ptech-table-paginator-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .ptech-table-paginator-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-table-paginator-panel .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled){background-color:var(--app-chip-bg, rgba(0,0,0,.06))!important}:host ::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--ptech-table-cell-text, var(--app-text, inherit))!important}:host ::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--ptech-table-cell-text, var(--app-text, inherit))!important}:host ::ng-deep .mat-mdc-checkbox .mdc-checkbox__background{border-color:var(--ptech-checkbox-border, var(--ptech-table-cell-text, var(--app-text, inherit)))!important;background-color:transparent!important}:host ::ng-deep .mat-mdc-checkbox .mdc-checkbox__checkmark{color:var(--ptech-checkbox-checkmark, #ffffff)!important}:host ::ng-deep .mat-mdc-checkbox.mat-mdc-checkbox-checked .mdc-checkbox__background,:host ::ng-deep .mat-mdc-checkbox.mat-mdc-checkbox-indeterminate .mdc-checkbox__background{border-color:var(--ptech-checkbox-checked-bg, var(--app-link-accent, #42a5f5))!important;background-color:var(--ptech-checkbox-checked-bg, var(--app-link-accent, #42a5f5))!important}.td-thumb{box-shadow:var(--ptech-table-shadow-sm, 0 1px 2px rgba(0, 0, 0, .15));background:var(--ptech-table-thumb-bg, #f4f6fa)}tr.selected{background-color:var(--ptech-table-row-selected, rgba(33, 150, 243, .08))}.mat-column-select{width:56px;text-align:center}.mat-column-__actions{text-align:center;width:120px}.hide-on-mobile{display:block}.hide-on-desktop{display:none}.table-filters{box-shadow:var(--ptech-table-shadow-md, 0px 4px 6px rgba(0, 0, 0, .2));margin:0 0 10px!important;background-color:var(--ptech-table-filters-bg, var(--app-surface-2, #f7f7f7));padding:16px;border-radius:8px;flex-wrap:wrap;gap:16px;align-items:center}.table-filters-actions{margin:0 0 8px}.table-filters:empty{display:none}.muted{background-color:var(--app-surface, #fff)!important}@media (max-width: 768px){.table-filters{padding:16px;margin-bottom:8px}.table-container{padding:0 8px;margin:0 0 12px}.hide-on-mobile{display:none}.hide-on-desktop{display:block}.cards-container{display:flex;flex-direction:column;gap:12px;margin:0 0 8px}.card{padding:8px 12px;border-radius:8px;background:var(--ptech-table-card-bg, var(--app-surface, #ffffff));border:1px solid var(--ptech-table-card-border, rgba(0, 0, 0, .06));box-shadow:var(--ptech-table-shadow-card, 0 1px 3px rgba(0, 0, 0, .12));font-family:inherit}.card.selected{border-color:var(--ptech-table-card-selected-border, #1976d2);background-color:var(--ptech-table-card-selected-bg, var(--app-row-selected-bg, #f3f7ff));box-shadow:0 0 0 1px #1976d226}.card-select{display:flex;justify-content:flex-end;margin-bottom:4px}.card-row{display:flex;flex-wrap:wrap;align-items:baseline;padding:4px 0;border-bottom:1px solid var(--ptech-table-card-divider, rgba(0, 0, 0, .04));line-height:1.5}.card-row div{width:100%;display:block;word-break:break-word;overflow-wrap:anywhere;white-space:normal}.card-row span,.card-row strong{word-break:break-word;overflow-wrap:anywhere}.card-row:last-child{border-bottom:none}.card-row strong{font-weight:500;font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--ptech-table-card-label, var(--app-muted, rgba(0, 0, 0, .6)));margin-right:6px;white-space:nowrap}.card-row{font-size:14px;color:var(--ptech-table-card-text, var(--app-text, rgba(0, 0, 0, .87)))}.card-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2$4.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2$4.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2$4.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2$4.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i2$4.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2$4.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i2$4.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2$4.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i2$4.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2$4.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i3$5.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: i1$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i3$3.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: BadgeComponent, selector: "ptech-badge", inputs: ["label", "icon", "tooltip", "ariaLabel", "clickable", "disabled", "pill", "uppercase", "size", "variant", "color", "col"], outputs: ["badgeClick", "badgeKey"] }, { kind: "component", type: BadgeStackComponent, selector: "ptech-badge-stack", inputs: ["direction", "gap", "wrap", "align", "justify", "ariaLabel", "col"] }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "pipe", type: i1$1.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6665
|
+
`, isInline: true, styles: [":host{display:block;width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden}.table-container{width:100%;max-width:100%;box-sizing:border-box;margin:0 0 20px;padding:0 16px}.table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-scroll table{width:max-content;min-width:100%;border-collapse:collapse;table-layout:auto;background:var(--ptech-table-bg, var(--app-surface, #fff))}:host ::ng-deep .table-scroll .mat-mdc-header-row,:host ::ng-deep .table-scroll .mdc-data-table__header-row{background:var(--ptech-table-header-bg, var(--app-surface-2, #f7f7f7))}:host ::ng-deep .table-scroll .mat-mdc-header-cell{color:var(--ptech-table-header-text, var(--app-text, inherit));border-bottom-color:var(--ptech-table-divider, var(--app-border-color, rgba(0,0,0,.12)))}:host ::ng-deep .table-scroll .mat-mdc-cell{color:var(--ptech-table-cell-text, var(--app-text, inherit));border-bottom-color:var(--ptech-table-divider, var(--app-border-color, rgba(0,0,0,.12)))}:host ::ng-deep .table-scroll .mat-mdc-row,:host ::ng-deep .table-scroll .mdc-data-table__row{background:var(--ptech-table-bg, var(--app-surface, #fff))}:host ::ng-deep .mat-mdc-paginator{background:var(--ptech-table-bg, var(--app-surface, #fff));color:var(--ptech-table-cell-text, var(--app-text, inherit))}:host ::ng-deep .mat-mdc-paginator .mat-mdc-paginator-page-size-label,:host ::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-label,:host ::ng-deep .mat-mdc-paginator .mat-mdc-select-value-text,:host ::ng-deep .mat-mdc-paginator .mat-mdc-select-arrow,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button{color:var(--ptech-table-cell-text, var(--app-text, inherit))}:host ::ng-deep .mat-mdc-paginator .mat-mdc-paginator-icon,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button svg,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button svg path{fill:var(--ptech-table-cell-text, var(--app-text, inherit))!important}:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled],:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled{color:var(--app-muted, #9ca3af)!important}:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-paginator-icon,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled] svg,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled svg,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button[disabled] svg path,:host ::ng-deep .mat-mdc-paginator .mat-mdc-icon-button.mat-mdc-button-disabled svg path{fill:var(--app-muted, #9ca3af)!important}::ng-deep .ptech-table-paginator-panel{background-color:var(--app-surface, #fff)!important}::ng-deep .ptech-table-paginator-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .ptech-table-paginator-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-table-paginator-panel .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled){background-color:var(--app-chip-bg, rgba(0,0,0,.06))!important}:host ::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--ptech-table-cell-text, var(--app-text, inherit))!important}:host ::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--ptech-table-cell-text, var(--app-text, inherit))!important}:host ::ng-deep .mat-mdc-checkbox .mdc-checkbox__background{border-color:var(--ptech-checkbox-border, var(--ptech-table-cell-text, var(--app-text, inherit)))!important;background-color:transparent!important}:host ::ng-deep .mat-mdc-checkbox .mdc-checkbox__checkmark{color:var(--ptech-checkbox-checkmark, #ffffff)!important}:host ::ng-deep .mat-mdc-checkbox.mat-mdc-checkbox-checked .mdc-checkbox__background,:host ::ng-deep .mat-mdc-checkbox.mat-mdc-checkbox-indeterminate .mdc-checkbox__background{border-color:var(--ptech-checkbox-checked-bg, var(--app-link-accent, #42a5f5))!important;background-color:var(--ptech-checkbox-checked-bg, var(--app-link-accent, #42a5f5))!important}.td-thumb{box-shadow:var(--ptech-table-shadow-sm, 0 1px 2px rgba(0, 0, 0, .15));background:var(--ptech-table-thumb-bg, #f4f6fa)}tr.selected{background-color:var(--ptech-table-row-selected, rgba(33, 150, 243, .08))}.mat-column-select{width:56px;text-align:center}.mat-column-__actions{text-align:center;width:120px}.hide-on-mobile{display:block}.hide-on-desktop{display:none}.table-filters{box-shadow:var(--ptech-table-shadow-md, 0px 4px 6px rgba(0, 0, 0, .2));margin:0 0 10px!important;background-color:var(--ptech-table-filters-bg, var(--app-surface-2, #f7f7f7));padding:16px;border-radius:8px;flex-wrap:wrap;gap:16px;align-items:center}.table-filters-actions{margin:0 0 8px}.table-filters:empty{display:none}.muted{background-color:var(--app-surface, #fff)!important}@media (max-width: 768px){.table-filters{padding:16px;margin-bottom:8px}.table-container{padding:0 8px;margin:0 0 12px}.hide-on-mobile{display:none}.hide-on-desktop{display:block}.cards-container{display:flex;flex-direction:column;gap:12px;margin:0 0 8px}.card{padding:8px 12px;border-radius:8px;background:var(--ptech-table-card-bg, var(--app-surface, #ffffff));border:1px solid var(--ptech-table-card-border, rgba(0, 0, 0, .06));box-shadow:var(--ptech-table-shadow-card, 0 1px 3px rgba(0, 0, 0, .12));font-family:inherit}.card.selected{border-color:var(--ptech-table-card-selected-border, #1976d2);background-color:var(--ptech-table-card-selected-bg, var(--app-row-selected-bg, #f3f7ff));box-shadow:0 0 0 1px #1976d226}.card-select{display:flex;justify-content:flex-end;margin-bottom:4px}.card-row{display:flex;flex-wrap:wrap;align-items:baseline;padding:4px 0;border-bottom:1px solid var(--ptech-table-card-divider, rgba(0, 0, 0, .04));line-height:1.5}.card-row div{width:100%;display:block;word-break:break-word;overflow-wrap:anywhere;white-space:normal}.card-row span,.card-row strong{word-break:break-word;overflow-wrap:anywhere}.card-row:last-child{border-bottom:none}.card-row strong{font-weight:500;font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--ptech-table-card-label, var(--app-muted, rgba(0, 0, 0, .6)));margin-right:6px;white-space:nowrap}.card-row{font-size:14px;color:var(--ptech-table-card-text, var(--app-text, rgba(0, 0, 0, .87)))}.card-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$5.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3$5.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3$5.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3$5.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i3$5.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3$5.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3$5.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3$5.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$5.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3$5.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i4$3.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: i1$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i3$3.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i8.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i8.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: BadgeComponent, selector: "ptech-badge", inputs: ["label", "icon", "tooltip", "ariaLabel", "clickable", "disabled", "pill", "uppercase", "size", "variant", "color", "col"], outputs: ["badgeClick", "badgeKey"] }, { kind: "component", type: BadgeStackComponent, selector: "ptech-badge-stack", inputs: ["direction", "gap", "wrap", "align", "justify", "ariaLabel", "col"] }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "component", type: CheckBoxComponent, selector: "ptech-check-box", inputs: ["color", "indeterminate", "value"], outputs: ["change", "indeterminateChange"] }, { kind: "component", type: SlideToggleComponent, selector: "ptech-slide-toggle", inputs: ["appearance", "color", "labelPosition", "disableRipple"], outputs: ["change"] }, { kind: "pipe", type: i1$1.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6552
6666
|
}
|
|
6553
6667
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TableComponent, decorators: [{
|
|
6554
6668
|
type: Component,
|
|
6555
|
-
args: [{ selector: 'ptech-table', imports: [CoreMaterialModule, BadgeComponent, BadgeStackComponent, ButtonComponent, TableCellDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
6669
|
+
args: [{ selector: 'ptech-table', imports: [CoreMaterialModule, DragDropModule, FormsModule, BadgeComponent, BadgeStackComponent, ButtonComponent, TableCellDirective, CheckBoxComponent, SlideToggleComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
6556
6670
|
<div class="table-container mat-elevation-z8">
|
|
6557
6671
|
<div class="header-row" *ngIf="title">
|
|
6558
6672
|
<h3>{{ title }}</h3>
|
|
@@ -6572,32 +6686,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6572
6686
|
<ng-container *ngIf="!loading; else loadingTpl">
|
|
6573
6687
|
<!-- TABELA (desktop / tablet ou mobile sem cards) -->
|
|
6574
6688
|
<div class="table-scroll" [class.hide-on-mobile]="responsiveCards">
|
|
6575
|
-
<table
|
|
6689
|
+
<table
|
|
6690
|
+
mat-table
|
|
6691
|
+
[dataSource]="data"
|
|
6692
|
+
cdkDropList
|
|
6693
|
+
[cdkDropListData]="data"
|
|
6694
|
+
[cdkDropListDisabled]="!reorderable"
|
|
6695
|
+
(cdkDropListDropped)="onDrop($event)"
|
|
6696
|
+
>
|
|
6576
6697
|
<!-- SELEÇÃO (checkbox ou radio) -->
|
|
6577
6698
|
<ng-container *ngIf="selectRow" matColumnDef="select">
|
|
6578
6699
|
<th mat-header-cell *matHeaderCellDef style="text-align: center">
|
|
6579
|
-
<
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6700
|
+
<ng-container *ngIf="selectMultipleRow">
|
|
6701
|
+
<ptech-check-box
|
|
6702
|
+
*ngIf="usePtechSelectionControls; else selectAllMaterialTpl"
|
|
6703
|
+
[value]="isAllSelected()"
|
|
6704
|
+
[indeterminate]="selection.hasValue() && !isAllSelected()"
|
|
6705
|
+
ariaLabel="Selecionar todas"
|
|
6706
|
+
(change)="toggleAllRows()"
|
|
6707
|
+
></ptech-check-box>
|
|
6708
|
+
<ng-template #selectAllMaterialTpl>
|
|
6709
|
+
<mat-checkbox
|
|
6710
|
+
(change)="toggleAllRows()"
|
|
6711
|
+
[checked]="isAllSelected()"
|
|
6712
|
+
[indeterminate]="selection.hasValue() && !isAllSelected()"
|
|
6713
|
+
aria-label="Selecionar todas"
|
|
6714
|
+
></mat-checkbox>
|
|
6715
|
+
</ng-template>
|
|
6716
|
+
</ng-container>
|
|
6586
6717
|
</th>
|
|
6587
6718
|
<td mat-cell *matCellDef="let row" style="text-align: center">
|
|
6588
|
-
<
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
<
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6719
|
+
<ng-container *ngIf="usePtechSelectionControls; else selectMaterialTpl">
|
|
6720
|
+
<ptech-check-box
|
|
6721
|
+
[value]="isSelected(row)"
|
|
6722
|
+
ariaLabel="Selecionar linha"
|
|
6723
|
+
(change)="toggleRow(row)"
|
|
6724
|
+
></ptech-check-box>
|
|
6725
|
+
</ng-container>
|
|
6726
|
+
<ng-template #selectMaterialTpl>
|
|
6727
|
+
<mat-checkbox
|
|
6728
|
+
*ngIf="selectMultipleRow"
|
|
6729
|
+
[checked]="isSelected(row)"
|
|
6730
|
+
(change)="toggleRow(row)"
|
|
6731
|
+
aria-label="Selecionar linha"
|
|
6732
|
+
></mat-checkbox>
|
|
6733
|
+
|
|
6734
|
+
<mat-radio-button
|
|
6735
|
+
*ngIf="!selectMultipleRow"
|
|
6736
|
+
[checked]="isSelected(row)"
|
|
6737
|
+
(change)="toggleRow(row)"
|
|
6738
|
+
aria-label="Selecionar linha"
|
|
6739
|
+
></mat-radio-button>
|
|
6740
|
+
</ng-template>
|
|
6601
6741
|
</td>
|
|
6602
6742
|
</ng-container>
|
|
6603
6743
|
|
|
@@ -6659,6 +6799,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6659
6799
|
</ptech-badge-stack>
|
|
6660
6800
|
</ng-container>
|
|
6661
6801
|
|
|
6802
|
+
<!-- TOGGLE -->
|
|
6803
|
+
<ng-container *ngSwitchCase="'toggle'">
|
|
6804
|
+
<ptech-slide-toggle
|
|
6805
|
+
[label]="resolveToggleLabel(row, c)"
|
|
6806
|
+
[ngModel]="resolveToggleValue(row, c)"
|
|
6807
|
+
[disabled]="resolveToggleDisabled(row, c)"
|
|
6808
|
+
(ngModelChange)="onToggleColumnChange(row, c, $event)"
|
|
6809
|
+
></ptech-slide-toggle>
|
|
6810
|
+
</ng-container>
|
|
6811
|
+
|
|
6662
6812
|
<!-- DEFAULT (text/number) -->
|
|
6663
6813
|
<ng-container *ngSwitchDefault>
|
|
6664
6814
|
<span [style.color]="resolveColor(row, c)">
|
|
@@ -6695,6 +6845,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6695
6845
|
mat-row
|
|
6696
6846
|
*matRowDef="let row; columns: displayedColumns"
|
|
6697
6847
|
[class.selected]="isSelected(row)"
|
|
6848
|
+
cdkDrag
|
|
6849
|
+
[cdkDragDisabled]="!reorderable"
|
|
6698
6850
|
></tr>
|
|
6699
6851
|
</table>
|
|
6700
6852
|
</div>
|
|
@@ -6711,19 +6863,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6711
6863
|
>
|
|
6712
6864
|
<!-- seleção no card -->
|
|
6713
6865
|
<div *ngIf="selectRow" class="card-select">
|
|
6714
|
-
<
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
<
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6866
|
+
<ng-container *ngIf="usePtechSelectionControls; else cardSelectMaterialTpl">
|
|
6867
|
+
<ptech-check-box
|
|
6868
|
+
[value]="isSelected(row)"
|
|
6869
|
+
ariaLabel="Selecionar card"
|
|
6870
|
+
(change)="toggleRow(row)"
|
|
6871
|
+
></ptech-check-box>
|
|
6872
|
+
</ng-container>
|
|
6873
|
+
<ng-template #cardSelectMaterialTpl>
|
|
6874
|
+
<mat-checkbox
|
|
6875
|
+
*ngIf="selectMultipleRow"
|
|
6876
|
+
[checked]="isSelected(row)"
|
|
6877
|
+
(change)="toggleRow(row)"
|
|
6878
|
+
aria-label="Selecionar card"
|
|
6879
|
+
></mat-checkbox>
|
|
6880
|
+
|
|
6881
|
+
<mat-radio-button
|
|
6882
|
+
*ngIf="!selectMultipleRow"
|
|
6883
|
+
[checked]="isSelected(row)"
|
|
6884
|
+
(change)="toggleRow(row)"
|
|
6885
|
+
aria-label="Selecionar card"
|
|
6886
|
+
></mat-radio-button>
|
|
6887
|
+
</ng-template>
|
|
6727
6888
|
</div>
|
|
6728
6889
|
|
|
6729
6890
|
<div *ngFor="let c of columns" class="card-row">
|
|
@@ -6778,6 +6939,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6778
6939
|
</div>
|
|
6779
6940
|
</ng-container>
|
|
6780
6941
|
|
|
6942
|
+
<!-- TOGGLE -->
|
|
6943
|
+
<ng-container *ngSwitchCase="'toggle'">
|
|
6944
|
+
<div>
|
|
6945
|
+
<strong>{{ c.header }}:</strong>
|
|
6946
|
+
</div>
|
|
6947
|
+
<ptech-slide-toggle
|
|
6948
|
+
[label]="resolveToggleLabel(row, c)"
|
|
6949
|
+
[ngModel]="resolveToggleValue(row, c)"
|
|
6950
|
+
[disabled]="resolveToggleDisabled(row, c)"
|
|
6951
|
+
(ngModelChange)="onToggleColumnChange(row, c, $event)"
|
|
6952
|
+
></ptech-slide-toggle>
|
|
6953
|
+
</ng-container>
|
|
6954
|
+
|
|
6781
6955
|
<!-- DEFAULT -->
|
|
6782
6956
|
<ng-container *ngSwitchDefault>
|
|
6783
6957
|
<div>
|
|
@@ -6853,18 +7027,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6853
7027
|
type: Input
|
|
6854
7028
|
}], selectMultipleRow: [{
|
|
6855
7029
|
type: Input
|
|
7030
|
+
}], selectionMode: [{
|
|
7031
|
+
type: Input
|
|
7032
|
+
}], usePtechSelectionControls: [{
|
|
7033
|
+
type: Input
|
|
6856
7034
|
}], getRowId: [{
|
|
6857
7035
|
type: Input
|
|
6858
7036
|
}], imageFallback: [{
|
|
6859
7037
|
type: Input
|
|
6860
7038
|
}], responsiveCards: [{
|
|
6861
7039
|
type: Input
|
|
7040
|
+
}], reorderable: [{
|
|
7041
|
+
type: Input
|
|
6862
7042
|
}], selectedRows: [{
|
|
6863
7043
|
type: Output
|
|
7044
|
+
}], selectedRow: [{
|
|
7045
|
+
type: Output
|
|
6864
7046
|
}], selectedIds: [{
|
|
6865
7047
|
type: Output
|
|
7048
|
+
}], selectionChange: [{
|
|
7049
|
+
type: Output
|
|
6866
7050
|
}], page: [{
|
|
6867
7051
|
type: Output
|
|
7052
|
+
}], reorder: [{
|
|
7053
|
+
type: Output
|
|
7054
|
+
}], toggleChange: [{
|
|
7055
|
+
type: Output
|
|
6868
7056
|
}], cellTemplates: [{
|
|
6869
7057
|
type: ContentChildren,
|
|
6870
7058
|
args: [TableCellDirective]
|
|
@@ -8356,7 +8544,7 @@ class BreadcrumbService {
|
|
|
8356
8544
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: BreadcrumbService, decorators: [{
|
|
8357
8545
|
type: Injectable,
|
|
8358
8546
|
args: [{ providedIn: 'root' }]
|
|
8359
|
-
}], ctorParameters: () => [{ type: i2$2.Router }, { type: i2$
|
|
8547
|
+
}], ctorParameters: () => [{ type: i2$2.Router }, { type: i2$4.Observable, decorators: [{
|
|
8360
8548
|
type: Optional
|
|
8361
8549
|
}, {
|
|
8362
8550
|
type: Inject,
|