@pumpkin-tech/pumpkin-tech-ng 0.2.25 → 0.2.26
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.
|
@@ -13,9 +13,9 @@ import * as i3$2 from '@angular/material/toolbar';
|
|
|
13
13
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
14
14
|
import * as i4$1 from '@angular/material/sidenav';
|
|
15
15
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
16
|
-
import * as i5$
|
|
16
|
+
import * as i5$3 from '@angular/material/card';
|
|
17
17
|
import { MatCardModule } from '@angular/material/card';
|
|
18
|
-
import * as i5$
|
|
18
|
+
import * as i5$2 from '@angular/material/list';
|
|
19
19
|
import { MatListModule } from '@angular/material/list';
|
|
20
20
|
import * as i2$1 from '@angular/material/button';
|
|
21
21
|
import { MatButtonModule } from '@angular/material/button';
|
|
@@ -45,13 +45,13 @@ import * as i1$3 from '@angular/material/slide-toggle';
|
|
|
45
45
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
46
46
|
import * as i3$3 from '@angular/material/radio';
|
|
47
47
|
import { MatRadioModule } from '@angular/material/radio';
|
|
48
|
-
import * as i5 from '@angular/material/select';
|
|
48
|
+
import * as i5$1 from '@angular/material/select';
|
|
49
49
|
import { MatSelectModule } from '@angular/material/select';
|
|
50
50
|
import * as i1$4 from '@angular/material/dialog';
|
|
51
51
|
import { MatDialogModule, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
52
52
|
import * as i9 from '@angular/material/checkbox';
|
|
53
53
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
54
|
-
import * as
|
|
54
|
+
import * as i5 from '@angular/material/progress-spinner';
|
|
55
55
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
56
56
|
import { MAT_DATE_LOCALE, DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
|
|
57
57
|
import { MAT_MOMENT_DATE_ADAPTER_OPTIONS, MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
@@ -61,7 +61,7 @@ import { RouterModule, NavigationEnd } from '@angular/router';
|
|
|
61
61
|
import * as i8 from '@angular/cdk/drag-drop';
|
|
62
62
|
import { CdkDrag, CdkDragHandle, moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
|
|
63
63
|
import * as i2$3 from '@angular/platform-browser';
|
|
64
|
-
import * as
|
|
64
|
+
import * as i6 from 'ngx-material-timepicker';
|
|
65
65
|
import { NgxMaterialTimepickerModule } from 'ngx-material-timepicker';
|
|
66
66
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
67
67
|
import { faker } from '@faker-js/faker';
|
|
@@ -767,7 +767,7 @@ class InputComponent extends BaseField {
|
|
|
767
767
|
<ng-content select="mat-error, [mat-error]"></ng-content>
|
|
768
768
|
</mat-form-field>
|
|
769
769
|
</div>
|
|
770
|
-
`, isInline: true, styles: [".ptech-input-container{display:flex;flex-direction:row;width:100%}.ptech-input-container.full-width .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 .mat-mdc-input-element,:host ::ng-deep .ptech-form-field .mdc-text-field__input{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-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,:host ::ng-deep .ptech-form-field .mat-mdc-input-element::placeholder,:host ::ng-deep .ptech-form-field .mdc-text-field__input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important;opacity:1!important}: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))}: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}.ptech-form-field{width:100%}:host{display:block}:host ::ng-deep .ptech-form-field.force-icon-right{position:relative}:host ::ng-deep .ptech-form-field.force-icon-right button[mat-icon-button][matSuffix]{position:absolute;right:10px;top:50%;transform:translateY(-50%)}:host ::ng-deep .ptech-form-field.force-icon-left{position:relative}:host ::ng-deep .ptech-form-field.force-icon-left button[mat-icon-button][matPrefix]{position:absolute;left:8px;top:50%;transform:translateY(-50%)}:host ::ng-deep button.mat-mdc-icon-button{top:3px;width:auto;min-width:40px;height:40px;padding:0}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: 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: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { 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$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type:
|
|
770
|
+
`, isInline: true, styles: [".ptech-input-container{display:flex;flex-direction:row;width:100%}.ptech-input-container.full-width .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 .mat-mdc-input-element,:host ::ng-deep .ptech-form-field .mdc-text-field__input{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-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,:host ::ng-deep .ptech-form-field .mat-mdc-input-element::placeholder,:host ::ng-deep .ptech-form-field .mdc-text-field__input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important;opacity:1!important}: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))}: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}.ptech-form-field{width:100%}:host{display:block}:host ::ng-deep .ptech-form-field.force-icon-right{position:relative}:host ::ng-deep .ptech-form-field.force-icon-right button[mat-icon-button][matSuffix]{position:absolute;right:10px;top:50%;transform:translateY(-50%)}:host ::ng-deep .ptech-form-field.force-icon-left{position:relative}:host ::ng-deep .ptech-form-field.force-icon-left button[mat-icon-button][matPrefix]{position:absolute;left:8px;top:50%;transform:translateY(-50%)}:host ::ng-deep button.mat-mdc-icon-button{top:3px;width:auto;min-width:40px;height:40px;padding:0}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: 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: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { 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$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { 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 });
|
|
771
771
|
}
|
|
772
772
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputComponent, decorators: [{
|
|
773
773
|
type: Component,
|
|
@@ -1001,7 +1001,7 @@ class TextareaComponent extends BaseField {
|
|
|
1001
1001
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
1002
1002
|
</mat-form-field>
|
|
1003
1003
|
</div>
|
|
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:
|
|
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 });
|
|
1005
1005
|
}
|
|
1006
1006
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextareaComponent, decorators: [{
|
|
1007
1007
|
type: Component,
|
|
@@ -1457,7 +1457,7 @@ class ButtonComponent extends BaseField {
|
|
|
1457
1457
|
</a>
|
|
1458
1458
|
|
|
1459
1459
|
</ng-container>
|
|
1460
|
-
`, isInline: true, styles: [".pill-style{border-radius:20px}.ptech-btn{min-height:var(--btn-h, 36px);padding:var(--btn-pad, 0 14px);display:inline-flex;align-items:center;justify-content:center;gap:6px}.btn-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.btn-icon{font-size:var(--icon-fs, 20px);line-height:1;display:inline-flex;align-items:center;justify-content:center}.btn-label{font-size:var(--btn-fs, 15px);margin-left:2px;line-height:1;display:inline-flex;align-items:center;transform:translateY(-3.5px)}.btn-spinner{display:inline-flex;align-items:center;justify-content:center;margin-right:5px;margin-top:5px}.btn-spinner ::ng-deep .mat-mdc-progress-spinner{margin:0;vertical-align:middle}.ptech-btn.ptech-btn-icon.mat-mdc-icon-button{width:auto!important;display:inline-flex;align-items:center;justify-content:center}button,a[mat-button]{cursor:pointer;transition:box-shadow .3s,transform .2s}button:hover{box-shadow:0 4px 8px #0003;transform:translateY(-2px)}button:active{box-shadow:0 2px 4px #0003;transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.5;transform:none;box-shadow:none}.ptech-btn.ptech-btn-icon:disabled{opacity:1}.ptech-btn.ptech-btn-icon:disabled .btn-icon{color:var(--app-muted, #9ca3af)!important}.ptech-btn-icon .btn-icon{font-size:var(--icon-fs, 20px)}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatMiniFabButton, selector: "button[mat-mini-fab], a[mat-mini-fab], button[matMiniFab], a[matMiniFab]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type:
|
|
1460
|
+
`, isInline: true, styles: [".pill-style{border-radius:20px}.ptech-btn{min-height:var(--btn-h, 36px);padding:var(--btn-pad, 0 14px);display:inline-flex;align-items:center;justify-content:center;gap:6px}.btn-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.btn-icon{font-size:var(--icon-fs, 20px);line-height:1;display:inline-flex;align-items:center;justify-content:center}.btn-label{font-size:var(--btn-fs, 15px);margin-left:2px;line-height:1;display:inline-flex;align-items:center;transform:translateY(-3.5px)}.btn-spinner{display:inline-flex;align-items:center;justify-content:center;margin-right:5px;margin-top:5px}.btn-spinner ::ng-deep .mat-mdc-progress-spinner{margin:0;vertical-align:middle}.ptech-btn.ptech-btn-icon.mat-mdc-icon-button{width:auto!important;display:inline-flex;align-items:center;justify-content:center}button,a[mat-button]{cursor:pointer;transition:box-shadow .3s,transform .2s}button:hover{box-shadow:0 4px 8px #0003;transform:translateY(-2px)}button:active{box-shadow:0 2px 4px #0003;transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.5;transform:none;box-shadow:none}.ptech-btn.ptech-btn-icon:disabled{opacity:1}.ptech-btn.ptech-btn-icon:disabled .btn-icon{color:var(--app-muted, #9ca3af)!important}.ptech-btn-icon .btn-icon{font-size:var(--icon-fs, 20px)}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatMiniFabButton, selector: "button[mat-mini-fab], a[mat-mini-fab], button[matMiniFab], a[matMiniFab]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { 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 });
|
|
1461
1461
|
}
|
|
1462
1462
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
1463
1463
|
type: Component,
|
|
@@ -2448,7 +2448,7 @@ class SelectQuantityItemsComponent extends BaseField {
|
|
|
2448
2448
|
</mat-select>
|
|
2449
2449
|
</mat-form-field>
|
|
2450
2450
|
</div>
|
|
2451
|
-
`, isInline: true, styles: [".ptech-qty-select-wrap{display:flex;flex-direction:column;width:100%}.ptech-form-field{width:100%}:host{display:block}: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));--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 .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 .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 .mat-mdc-select-placeholder,:host ::ng-deep .ptech-form-field .mat-mdc-select-value-text,:host ::ng-deep .ptech-form-field .mat-mdc-select-value,:host ::ng-deep .ptech-form-field .mat-mdc-select-min-line{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field .mat-mdc-select-arrow,:host ::ng-deep .ptech-form-field .mat-mdc-select-arrow svg,:host ::ng-deep .ptech-form-field .mat-mdc-select-arrow svg path{color:var(--ptech-field-arrow, var(--app-text, inherit))!important;fill:var(--ptech-field-arrow, var(--app-text, inherit))!important;border-top-color:var(--ptech-field-arrow, var(--app-text, inherit))!important}::ng-deep .ptech-select-quantity-panel{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;opacity:1!important;visibility:visible!important;max-height:min(320px,60vh)!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))!important;box-shadow:0 12px 30px #00000059!important}::ng-deep .ptech-select-quantity-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .cdk-overlay-container .cdk-overlay-pane .ptech-select-quantity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:10002!important}::ng-deep .ptech-select-quantity-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-select-quantity-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}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.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2451
|
+
`, isInline: true, styles: [".ptech-qty-select-wrap{display:flex;flex-direction:column;width:100%}.ptech-form-field{width:100%}:host{display:block}: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));--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 .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 .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 .mat-mdc-select-placeholder,:host ::ng-deep .ptech-form-field .mat-mdc-select-value-text,:host ::ng-deep .ptech-form-field .mat-mdc-select-value,:host ::ng-deep .ptech-form-field .mat-mdc-select-min-line{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field .mat-mdc-select-arrow,:host ::ng-deep .ptech-form-field .mat-mdc-select-arrow svg,:host ::ng-deep .ptech-form-field .mat-mdc-select-arrow svg path{color:var(--ptech-field-arrow, var(--app-text, inherit))!important;fill:var(--ptech-field-arrow, var(--app-text, inherit))!important;border-top-color:var(--ptech-field-arrow, var(--app-text, inherit))!important}::ng-deep .ptech-select-quantity-panel{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;opacity:1!important;visibility:visible!important;max-height:min(320px,60vh)!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))!important;box-shadow:0 12px 30px #00000059!important}::ng-deep .ptech-select-quantity-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .cdk-overlay-container .cdk-overlay-pane .ptech-select-quantity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:10002!important}::ng-deep .ptech-select-quantity-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-select-quantity-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}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.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: "component", type: i5$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2452
2452
|
}
|
|
2453
2453
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectQuantityItemsComponent, decorators: [{
|
|
2454
2454
|
type: Component,
|
|
@@ -2767,7 +2767,7 @@ class SelectEntityComponent extends BaseField {
|
|
|
2767
2767
|
<mat-spinner matPrefix *ngIf="loading" mode="indeterminate" diameter="17"></mat-spinner>
|
|
2768
2768
|
</mat-form-field>
|
|
2769
2769
|
</div>
|
|
2770
|
-
`, isInline: true, styles: [".select-entity-container{display:flex;flex-direction:column}.select-entity-field{width:100%}:host ::ng-deep .select-entity-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit));--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 .select-entity-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .select-entity-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .select-entity-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 .select-entity-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .select-entity-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .select-entity-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 .select-entity-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .select-entity-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .select-entity-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 .select-entity-field .mdc-floating-label,:host ::ng-deep .select-entity-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .select-entity-field .mat-mdc-select-placeholder,:host ::ng-deep .select-entity-field .mat-mdc-select-value-text,:host ::ng-deep .select-entity-field .mat-mdc-select-value,:host ::ng-deep .select-entity-field .mat-mdc-select-min-line{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important}:host ::ng-deep .select-entity-field .mat-mdc-select-arrow,:host ::ng-deep .select-entity-field .mat-mdc-select-arrow svg,:host ::ng-deep .select-entity-field .mat-mdc-select-arrow svg path{color:var(--ptech-field-arrow, var(--app-text, inherit))!important;fill:var(--ptech-field-arrow, var(--app-text, inherit))!important;border-top-color:var(--ptech-field-arrow, var(--app-text, inherit))!important}::ng-deep .mat-mdc-select-value{padding-left:10px!important}::ng-deep .ptech-select-entity-panel{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;opacity:1!important;visibility:visible!important;max-height:min(320px,60vh)!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))!important;box-shadow:0 12px 30px #00000059!important}::ng-deep .ptech-select-entity-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .cdk-overlay-container .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:10002!important}::ng-deep .ptech-select-entity-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-select-entity-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}::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox{border-color:var(--ptech-checkbox-border, var(--app-text, inherit))!important;color:var(--ptech-checkbox-border, var(--app-text, inherit))!important}::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--ptech-checkbox-checked-bg, var(--mat-theme-primary, #3f51b5))!important;border-color:var(--ptech-checkbox-checked-bg, var(--mat-theme-primary, #3f51b5))!important}::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked:after,::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate:after{color:var(--ptech-checkbox-checkmark, #ffffff)!important;border-color:var(--ptech-checkbox-checkmark, #ffffff)!important}::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked,::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate{color:var(--ptech-checkbox-checked-bg, var(--mat-theme-primary, #3f51b5))!important}.search-container{display:flex;align-items:center;padding:8px 12px 0;gap:8px}.search-container input[matInput]{width:100%}mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host{display:block}\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: 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: 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.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i5.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type:
|
|
2770
|
+
`, isInline: true, styles: [".select-entity-container{display:flex;flex-direction:column}.select-entity-field{width:100%}:host ::ng-deep .select-entity-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit));--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 .select-entity-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .select-entity-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .select-entity-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 .select-entity-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .select-entity-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .select-entity-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 .select-entity-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .select-entity-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .select-entity-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 .select-entity-field .mdc-floating-label,:host ::ng-deep .select-entity-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .select-entity-field .mat-mdc-select-placeholder,:host ::ng-deep .select-entity-field .mat-mdc-select-value-text,:host ::ng-deep .select-entity-field .mat-mdc-select-value,:host ::ng-deep .select-entity-field .mat-mdc-select-min-line{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important}:host ::ng-deep .select-entity-field .mat-mdc-select-arrow,:host ::ng-deep .select-entity-field .mat-mdc-select-arrow svg,:host ::ng-deep .select-entity-field .mat-mdc-select-arrow svg path{color:var(--ptech-field-arrow, var(--app-text, inherit))!important;fill:var(--ptech-field-arrow, var(--app-text, inherit))!important;border-top-color:var(--ptech-field-arrow, var(--app-text, inherit))!important}::ng-deep .mat-mdc-select-value{padding-left:10px!important}::ng-deep .ptech-select-entity-panel{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;opacity:1!important;visibility:visible!important;max-height:min(320px,60vh)!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))!important;box-shadow:0 12px 30px #00000059!important}::ng-deep .ptech-select-entity-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .cdk-overlay-container .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:10002!important}::ng-deep .ptech-select-entity-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-select-entity-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}::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox{border-color:var(--ptech-checkbox-border, var(--app-text, inherit))!important;color:var(--ptech-checkbox-border, var(--app-text, inherit))!important}::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--ptech-checkbox-checked-bg, var(--mat-theme-primary, #3f51b5))!important;border-color:var(--ptech-checkbox-checked-bg, var(--mat-theme-primary, #3f51b5))!important}::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked:after,::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate:after{color:var(--ptech-checkbox-checkmark, #ffffff)!important;border-color:var(--ptech-checkbox-checkmark, #ffffff)!important}::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked,::ng-deep .ptech-select-entity-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate{color:var(--ptech-checkbox-checked-bg, var(--mat-theme-primary, #3f51b5))!important}.search-container{display:flex;align-items:center;padding:8px 12px 0;gap:8px}.search-container input[matInput]{width:100%}mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host{display:block}\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: 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: 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$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i5$1.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2771
2771
|
}
|
|
2772
2772
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectEntityComponent, decorators: [{
|
|
2773
2773
|
type: Component,
|
|
@@ -3160,7 +3160,7 @@ class NavComponent {
|
|
|
3160
3160
|
</mat-sidenav>
|
|
3161
3161
|
|
|
3162
3162
|
</mat-sidenav-container>
|
|
3163
|
-
`, isInline: true, styles: [".sidenav-container,:host ::ng-deep .sidenav-container.mat-drawer-container{height:100%}.sidenav-container{background-color:transparent!important}:host ::ng-deep .sidenav-container.mat-drawer-container{background-color:transparent!important}:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{display:flex;flex-direction:column;height:100%;min-height:0;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;overflow:hidden}:host ::ng-deep ptech-header,:host ::ng-deep .ptech-header{z-index:6000}.mat-icon{height:22px!important;width:22px!important}mat-sidenav.sidenav{display:flex;flex-direction:column;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;box-shadow:var(--ptech-nav-shadow, 0px 4px 6px rgba(0, 0, 0, .3));padding:0;overflow:hidden}.nav-content{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.nav-list{flex:1 1 auto!important;min-height:0!important;overflow-y:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0!important;margin:0!important}.nav-list.nav-list--scroll{overflow-y:auto!important}.nav-list::-webkit-scrollbar{width:10px;height:10px}.nav-list::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.nav-list::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.nav-list::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.nav-list{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}:host ::ng-deep .mat-list-item,:host ::ng-deep .mat-mdc-list-item{display:flex!important;align-items:center!important;border-radius:unset!important}:host ::ng-deep .mat-list-item mat-icon[matListIcon],:host ::ng-deep .mdc-list-item__graphic{margin:0!important;padding:0!important;vertical-align:middle!important;line-height:1!important}:host ::ng-deep .mat-list-item .mat-line,:host ::ng-deep .mdc-list-item__primary-text{color:var(--ptech-nav-text, #fff)!important;letter-spacing:unset!important}.list-item-header{display:flex;align-items:center;height:66px!important;padding:0 16px;background-color:var(--ptech-nav-bg-alt, #35404a)!important;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1.1rem;font-weight:600;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-header mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-right:12px}.list-item-header:hover{background-color:var(--ptech-nav-hover-1, rgba(255, 255, 255, .1))}.list-item-level1{display:flex;align-items:center;justify-content:space-between;height:48px;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level1 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px;margin-bottom:-5px}.list-item-level1 span[matLine]{flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}.arrow-right-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-left:46px}.list-item-level1:hover{background-color:var(--ptech-nav-hover-2, rgba(255, 255, 255, .08))}.list-item-level2{display:flex;align-items:center;height:44px;padding:0 24px;color:var(--ptech-nav-text, #cfd8dc);font-size:.95rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level2 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px}.list-item-level2:hover{background-color:var(--ptech-nav-hover-3, rgba(255, 255, 255, .06))}.mat-divider{margin-top:0!important;margin-bottom:0!important}.nav-footer{display:flex;flex-direction:column;flex-shrink:0;margin-top:auto;padding:12px 16px;background-color:var(--ptech-nav-bg-alt, #35404a)}.footer-item{display:flex;align-items:center;margin-bottom:6px}.footer-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:18px;margin-right:8px}.footer-text{color:var(--ptech-nav-text, #cfd8dc);font-size:.85rem}.footer-item:last-child{margin-bottom:0!important}:host ::ng-deep mat-sidenav.sidenav .nav-list{flex:1 1 auto!important}:host ::ng-deep mat-sidenav.sidenav .nav-footer{margin-top:auto!important;flex-shrink:0!important}@media screen and (max-width: 599px){mat-sidenav.sidenav{width:200px}.list-item-header{height:50px;font-size:1rem;padding:0 12px}.list-item-header mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1{height:44px;font-size:.9rem;padding:0 12px}.list-item-level1 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1 span[matLine]{font-size:.9rem}.arrow-right-icon{margin-left:auto}.list-item-level2{height:40px;font-size:.85rem;padding:0 20px}.list-item-level2 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level2 span[matLine]{font-size:.9rem}.footer-item{margin-bottom:4px}.footer-icon{font-size:16px;margin-right:6px}.footer-text{font-size:.8rem}}:host ::ng-deep mat-sidenav.sidenav.mat-drawer,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-side,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-over{border-right:0!important;border-inline-end:0!important;border-left:0!important;border-top:0!important;border-bottom:0!important}@media screen and (min-width: 600px){mat-sidenav.sidenav,:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{border-bottom-right-radius:0!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i4$1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i4$1.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i5$
|
|
3163
|
+
`, isInline: true, styles: [".sidenav-container,:host ::ng-deep .sidenav-container.mat-drawer-container{height:100%}.sidenav-container{background-color:transparent!important}:host ::ng-deep .sidenav-container.mat-drawer-container{background-color:transparent!important}:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{display:flex;flex-direction:column;height:100%;min-height:0;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;overflow:hidden}:host ::ng-deep ptech-header,:host ::ng-deep .ptech-header{z-index:6000}.mat-icon{height:22px!important;width:22px!important}mat-sidenav.sidenav{display:flex;flex-direction:column;background-color:var(--ptech-nav-bg, #3d454e);border-top-right-radius:12px;border-bottom-right-radius:12px;box-shadow:var(--ptech-nav-shadow, 0px 4px 6px rgba(0, 0, 0, .3));padding:0;overflow:hidden}.nav-content{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.nav-list{flex:1 1 auto!important;min-height:0!important;overflow-y:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0!important;margin:0!important}.nav-list.nav-list--scroll{overflow-y:auto!important}.nav-list::-webkit-scrollbar{width:10px;height:10px}.nav-list::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.nav-list::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.nav-list::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.nav-list{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}:host ::ng-deep .mat-list-item,:host ::ng-deep .mat-mdc-list-item{display:flex!important;align-items:center!important;border-radius:unset!important}:host ::ng-deep .mat-list-item mat-icon[matListIcon],:host ::ng-deep .mdc-list-item__graphic{margin:0!important;padding:0!important;vertical-align:middle!important;line-height:1!important}:host ::ng-deep .mat-list-item .mat-line,:host ::ng-deep .mdc-list-item__primary-text{color:var(--ptech-nav-text, #fff)!important;letter-spacing:unset!important}.list-item-header{display:flex;align-items:center;height:66px!important;padding:0 16px;background-color:var(--ptech-nav-bg-alt, #35404a)!important;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1.1rem;font-weight:600;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-header mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-right:12px}.list-item-header:hover{background-color:var(--ptech-nav-hover-1, rgba(255, 255, 255, .1))}.list-item-level1{display:flex;align-items:center;justify-content:space-between;height:48px;color:var(--ptech-nav-text, #cfd8dc)!important;font-size:1rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level1 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px;margin-bottom:-5px}.list-item-level1 span[matLine]{flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}.arrow-right-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:25px;margin-left:46px}.list-item-level1:hover{background-color:var(--ptech-nav-hover-2, rgba(255, 255, 255, .08))}.list-item-level2{display:flex;align-items:center;height:44px;padding:0 24px;color:var(--ptech-nav-text, #cfd8dc);font-size:.95rem;text-decoration:none;cursor:pointer;border-bottom:1px solid var(--ptech-nav-divider, #c9cbcf)}.list-item-level2 mat-icon[matListIcon]{color:var(--ptech-nav-icon, #90a4ae);font-size:22px;margin-right:12px}.list-item-level2:hover{background-color:var(--ptech-nav-hover-3, rgba(255, 255, 255, .06))}.mat-divider{margin-top:0!important;margin-bottom:0!important}.nav-footer{display:flex;flex-direction:column;flex-shrink:0;margin-top:auto;padding:12px 16px;background-color:var(--ptech-nav-bg-alt, #35404a)}.footer-item{display:flex;align-items:center;margin-bottom:6px}.footer-icon{color:var(--ptech-nav-icon, #90a4ae);font-size:18px;margin-right:8px}.footer-text{color:var(--ptech-nav-text, #cfd8dc);font-size:.85rem}.footer-item:last-child{margin-bottom:0!important}:host ::ng-deep mat-sidenav.sidenav .nav-list{flex:1 1 auto!important}:host ::ng-deep mat-sidenav.sidenav .nav-footer{margin-top:auto!important;flex-shrink:0!important}@media screen and (max-width: 599px){mat-sidenav.sidenav{width:200px}.list-item-header{height:50px;font-size:1rem;padding:0 12px}.list-item-header mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1{height:44px;font-size:.9rem;padding:0 12px}.list-item-level1 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level1 span[matLine]{font-size:.9rem}.arrow-right-icon{margin-left:auto}.list-item-level2{height:40px;font-size:.85rem;padding:0 20px}.list-item-level2 mat-icon[matListIcon]{vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;margin-bottom:5px}.list-item-level2 span[matLine]{font-size:.9rem}.footer-item{margin-bottom:4px}.footer-icon{font-size:16px;margin-right:6px}.footer-text{font-size:.8rem}}:host ::ng-deep mat-sidenav.sidenav.mat-drawer,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-side,:host ::ng-deep mat-sidenav.sidenav.mat-drawer-over{border-right:0!important;border-inline-end:0!important;border-left:0!important;border-top:0!important;border-bottom:0!important}@media screen and (min-width: 600px){mat-sidenav.sidenav,:host ::ng-deep mat-sidenav.sidenav .mat-drawer-inner-container{border-bottom-right-radius:0!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i4$1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i4$1.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i5$2.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i5$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "component", type: i5$2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3164
3164
|
}
|
|
3165
3165
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NavComponent, decorators: [{
|
|
3166
3166
|
type: Component,
|
|
@@ -3740,7 +3740,7 @@ class SelectEnumComponent extends BaseField {
|
|
|
3740
3740
|
</mat-spinner>
|
|
3741
3741
|
</mat-form-field>
|
|
3742
3742
|
</div>
|
|
3743
|
-
`, isInline: true, styles: [".select-enum-container{display:flex;flex-direction:column}.select-enum-field{width:100%}:host ::ng-deep .select-enum-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit));--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 .select-enum-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .select-enum-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .select-enum-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 .select-enum-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .select-enum-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .select-enum-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 .select-enum-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .select-enum-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .select-enum-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 .select-enum-field .mdc-floating-label,:host ::ng-deep .select-enum-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .select-enum-field .mat-mdc-select-placeholder,:host ::ng-deep .select-enum-field .mat-mdc-select-value-text,:host ::ng-deep .select-enum-field .mat-mdc-select-value,:host ::ng-deep .select-enum-field .mat-mdc-select-min-line{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important}:host ::ng-deep .select-enum-field .mat-mdc-select-arrow,:host ::ng-deep .select-enum-field .mat-mdc-select-arrow svg,:host ::ng-deep .select-enum-field .mat-mdc-select-arrow svg path{color:var(--ptech-field-arrow, var(--app-text, inherit))!important;fill:var(--ptech-field-arrow, var(--app-text, inherit))!important;border-top-color:var(--ptech-field-arrow, var(--app-text, inherit))!important}::ng-deep .ptech-select-enum-panel{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;opacity:1!important;visibility:visible!important;max-height:min(320px,60vh)!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))!important;box-shadow:0 12px 30px #00000059!important}::ng-deep .ptech-select-enum-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .cdk-overlay-container .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:10002!important}::ng-deep .ptech-select-enum-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-select-enum-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}::ng-deep .ptech-select-enum-panel .mat-mdc-option .mat-pseudo-checkbox{border-color:var(--ptech-checkbox-border, var(--app-text, inherit))!important;color:var(--ptech-checkbox-border, var(--app-text, inherit))!important}::ng-deep .ptech-select-enum-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,::ng-deep .ptech-select-enum-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--ptech-checkbox-checked-bg, var(--mat-theme-primary, #3f51b5))!important;border-color:var(--ptech-checkbox-checked-bg, var(--mat-theme-primary, #3f51b5))!important}::ng-deep .ptech-select-enum-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked:after,::ng-deep .ptech-select-enum-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate:after{color:var(--ptech-checkbox-checkmark, #ffffff)!important;border-color:var(--ptech-checkbox-checkmark, #ffffff)!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.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type:
|
|
3743
|
+
`, isInline: true, styles: [".select-enum-container{display:flex;flex-direction:column}.select-enum-field{width:100%}:host ::ng-deep .select-enum-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit));--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 .select-enum-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .select-enum-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .select-enum-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 .select-enum-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .select-enum-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .select-enum-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 .select-enum-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .select-enum-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .select-enum-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 .select-enum-field .mdc-floating-label,:host ::ng-deep .select-enum-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .select-enum-field .mat-mdc-select-placeholder,:host ::ng-deep .select-enum-field .mat-mdc-select-value-text,:host ::ng-deep .select-enum-field .mat-mdc-select-value,:host ::ng-deep .select-enum-field .mat-mdc-select-min-line{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important}:host ::ng-deep .select-enum-field .mat-mdc-select-arrow,:host ::ng-deep .select-enum-field .mat-mdc-select-arrow svg,:host ::ng-deep .select-enum-field .mat-mdc-select-arrow svg path{color:var(--ptech-field-arrow, var(--app-text, inherit))!important;fill:var(--ptech-field-arrow, var(--app-text, inherit))!important;border-top-color:var(--ptech-field-arrow, var(--app-text, inherit))!important}::ng-deep .ptech-select-enum-panel{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;opacity:1!important;visibility:visible!important;max-height:min(320px,60vh)!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))!important;box-shadow:0 12px 30px #00000059!important}::ng-deep .ptech-select-enum-panel .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .cdk-overlay-container .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:10002!important}::ng-deep .ptech-select-enum-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-select-enum-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}::ng-deep .ptech-select-enum-panel .mat-mdc-option .mat-pseudo-checkbox{border-color:var(--ptech-checkbox-border, var(--app-text, inherit))!important;color:var(--ptech-checkbox-border, var(--app-text, inherit))!important}::ng-deep .ptech-select-enum-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,::ng-deep .ptech-select-enum-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--ptech-checkbox-checked-bg, var(--mat-theme-primary, #3f51b5))!important;border-color:var(--ptech-checkbox-checked-bg, var(--mat-theme-primary, #3f51b5))!important}::ng-deep .ptech-select-enum-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked:after,::ng-deep .ptech-select-enum-panel .mat-mdc-option .mat-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate:after{color:var(--ptech-checkbox-checkmark, #ffffff)!important;border-color:var(--ptech-checkbox-checkmark, #ffffff)!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.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: "component", type: i5$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3744
3744
|
}
|
|
3745
3745
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectEnumComponent, decorators: [{
|
|
3746
3746
|
type: Component,
|
|
@@ -4464,7 +4464,7 @@ class InputCurrencyComponent extends BaseField {
|
|
|
4464
4464
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
4465
4465
|
</mat-form-field>
|
|
4466
4466
|
</div>
|
|
4467
|
-
`, isInline: true, styles: [".ptech-currency-container{display:flex;flex-direction:column;width:100%}.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));--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 .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 .mat-mdc-input-element,:host ::ng-deep .ptech-form-field .mdc-text-field__input{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-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,:host ::ng-deep .ptech-form-field .mat-mdc-input-element::placeholder,:host ::ng-deep .ptech-form-field .mdc-text-field__input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important;opacity:1!important}: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: "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: 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:
|
|
4467
|
+
`, isInline: true, styles: [".ptech-currency-container{display:flex;flex-direction:column;width:100%}.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));--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 .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 .mat-mdc-input-element,:host ::ng-deep .ptech-form-field .mdc-text-field__input{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-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,:host ::ng-deep .ptech-form-field .mat-mdc-input-element::placeholder,:host ::ng-deep .ptech-form-field .mdc-text-field__input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important;opacity:1!important}: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: "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: 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4468
4468
|
}
|
|
4469
4469
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputCurrencyComponent, decorators: [{
|
|
4470
4470
|
type: Component,
|
|
@@ -4659,7 +4659,7 @@ class ActionDialogComponent {
|
|
|
4659
4659
|
></ptech-button>
|
|
4660
4660
|
</mat-dialog-actions>
|
|
4661
4661
|
</div>
|
|
4662
|
-
`, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(640px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:12px 16px!important;border-radius:6px;font-size:13px;line-height:18px;margin-bottom:24px;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card pre{margin:0;white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:break-word!important}.action-btn{margin:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "ngmodule", type: FormsModule }, { 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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { 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: 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$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { 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: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "component", type: SelectEntityComponent, selector: "ptech-select-entity", inputs: ["multiple", "property", "propertyEnum", "propertyFn", "idProp", "searchPlaceholder", "multipleTriggerMax", "entities"], outputs: ["selectClick", "selectionChange", "loadingChange"] }, { kind: "component", type: QuantityItemsComponent, selector: "ptech-quantity-items", inputs: ["min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: SelectQuantityItemsComponent, selector: "ptech-select-quantity-items", inputs: ["appearance", "min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: InputCurrencyComponent, selector: "ptech-input-currency", inputs: ["options"], outputs: ["valueChange"] }, { kind: "directive", type: 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: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
|
|
4662
|
+
`, isInline: true, styles: [":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n", ".ptech-dialog-shell{min-width:min(640px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:12px 16px!important;border-radius:6px;font-size:13px;line-height:18px;margin-bottom:24px;white-space:normal!important;word-break:break-word!important;overflow-wrap:break-word!important}mat-card pre{margin:0;white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:break-word!important}.action-btn{margin:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "ngmodule", type: FormsModule }, { 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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { 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: 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$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { 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: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "component", type: SelectEntityComponent, selector: "ptech-select-entity", inputs: ["multiple", "property", "propertyEnum", "propertyFn", "idProp", "searchPlaceholder", "multipleTriggerMax", "entities"], outputs: ["selectClick", "selectionChange", "loadingChange"] }, { kind: "component", type: QuantityItemsComponent, selector: "ptech-quantity-items", inputs: ["min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: SelectQuantityItemsComponent, selector: "ptech-select-quantity-items", inputs: ["appearance", "min", "max", "step", "quantity"], outputs: ["quantityChange"] }, { kind: "component", type: InputCurrencyComponent, selector: "ptech-input-currency", inputs: ["options"], outputs: ["valueChange"] }, { kind: "directive", type: 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: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }] });
|
|
4663
4663
|
}
|
|
4664
4664
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionDialogComponent, decorators: [{
|
|
4665
4665
|
type: Component,
|
|
@@ -5044,7 +5044,7 @@ class ActionResultDialogComponent {
|
|
|
5044
5044
|
window.open(this.whatsappUrl, '_blank');
|
|
5045
5045
|
}
|
|
5046
5046
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionResultDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1$4.MatDialogRef }, { token: i2$3.DomSanitizer }, { token: MESSAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Component });
|
|
5047
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ActionResultDialogComponent, isStandalone: true, selector: "ptech-action-result-dialog", ngImport: i0, template: "<div class=\"ptech-dialog-shell\" cdkDrag cdkDragRootElement=\".cdk-overlay-pane\">\n <div class=\"ptech-dialog-header\">\n <div class=\"ptech-dialog-drag\" cdkDragHandle aria-hidden=\"true\">\n <mat-icon>drag_indicator</mat-icon>\n </div>\n\n <div class=\"ptech-dialog-heading\">\n <h2 mat-dialog-title>{{ data.title }}</h2>\n <p class=\"ptech-dialog-subtitle\" *ngIf=\"data.subtitle\">{{ data.subtitle }}</p>\n </div>\n\n <button\n mat-icon-button\n type=\"button\"\n class=\"ptech-dialog-close\"\n aria-label=\"Fechar\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n\n <div class=\"ptech-dialog-divider\"></div>\n\n <mat-dialog-content class=\"ptech-dialog-content dialog-content-custom\">\n <div *ngIf=\"data.content\" [innerHTML]=\"sanitizedContent\"></div>\n\n <div *ngIf=\"data.details\" class=\"details\">\n <mat-card>\n <pre>{{ data.details | json }}</pre>\n </mat-card>\n </div>\n </mat-dialog-content>\n\n <mat-dialog-actions *ngIf=\"data.rawContent\" align=\"end\" class=\"ptech-dialog-actions\">\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"WhatsApp\"\n icon=\"share\"\n type=\"raised\"\n color=\"var(--app-status-success, #00c853)\"\n (click)=\"openWhatsApp()\"\n ></ptech-button>\n\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"Copiar\"\n icon=\"file_copy\"\n type=\"raised\"\n color=\"primary\"\n (click)=\"copyToClipboard()\"\n ></ptech-button>\n\n </mat-dialog-actions>\n</div>\n", styles: [".ptech-dialog-shell{min-width:min(700px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{display:flex;flex-direction:column;gap:20px}.dialog-content-custom div[innerHTML]{color:var(--ptech-dialog-text, var(--app-text, inherit));font-size:14px;line-height:20px}.details{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:14px 18px!important;border-radius:8px;font-size:14px;line-height:20px;font-family:monospace;white-space:pre-wrap;word-break:break-word;box-shadow:none;width:100%}.details mat-card{background:var(--ptech-dialog-bg, transparent);box-shadow:none;padding:0;margin:0}.details pre{margin:0;color:var(--ptech-dialog-text, var(--app-text, #fff))}ptech-button.action-btn{margin:0}\n", ":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$
|
|
5047
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ActionResultDialogComponent, isStandalone: true, selector: "ptech-action-result-dialog", ngImport: i0, template: "<div class=\"ptech-dialog-shell\" cdkDrag cdkDragRootElement=\".cdk-overlay-pane\">\n <div class=\"ptech-dialog-header\">\n <div class=\"ptech-dialog-drag\" cdkDragHandle aria-hidden=\"true\">\n <mat-icon>drag_indicator</mat-icon>\n </div>\n\n <div class=\"ptech-dialog-heading\">\n <h2 mat-dialog-title>{{ data.title }}</h2>\n <p class=\"ptech-dialog-subtitle\" *ngIf=\"data.subtitle\">{{ data.subtitle }}</p>\n </div>\n\n <button\n mat-icon-button\n type=\"button\"\n class=\"ptech-dialog-close\"\n aria-label=\"Fechar\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n </div>\n\n <div class=\"ptech-dialog-divider\"></div>\n\n <mat-dialog-content class=\"ptech-dialog-content dialog-content-custom\">\n <div *ngIf=\"data.content\" [innerHTML]=\"sanitizedContent\"></div>\n\n <div *ngIf=\"data.details\" class=\"details\">\n <mat-card>\n <pre>{{ data.details | json }}</pre>\n </mat-card>\n </div>\n </mat-dialog-content>\n\n <mat-dialog-actions *ngIf=\"data.rawContent\" align=\"end\" class=\"ptech-dialog-actions\">\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"WhatsApp\"\n icon=\"share\"\n type=\"raised\"\n color=\"var(--app-status-success, #00c853)\"\n (click)=\"openWhatsApp()\"\n ></ptech-button>\n\n <ptech-button\n *ngIf=\"data.rawContent\"\n class=\"action-btn\"\n label=\"Copiar\"\n icon=\"file_copy\"\n type=\"raised\"\n color=\"primary\"\n (click)=\"copyToClipboard()\"\n ></ptech-button>\n\n </mat-dialog-actions>\n</div>\n", styles: [".ptech-dialog-shell{min-width:min(700px,92vw)}.ptech-dialog-heading h2[mat-dialog-title]{font-size:1.4rem}.dialog-content-custom{display:flex;flex-direction:column;gap:20px}.dialog-content-custom div[innerHTML]{color:var(--ptech-dialog-text, var(--app-text, inherit));font-size:14px;line-height:20px}.details{background:var(--ptech-dialog-raw-bg, var(--app-raw-bg, #2b2e34))!important;color:var(--ptech-dialog-raw-text, var(--app-raw-text, #fff))!important;padding:14px 18px!important;border-radius:8px;font-size:14px;line-height:20px;font-family:monospace;white-space:pre-wrap;word-break:break-word;box-shadow:none;width:100%}.details mat-card{background:var(--ptech-dialog-bg, transparent);box-shadow:none;padding:0;margin:0}.details pre{margin:0;color:var(--ptech-dialog-text, var(--app-text, #fff))}ptech-button.action-btn{margin:0}\n", ":host{display:block;color:var(--ptech-dialog-text, var(--app-text, inherit))}.ptech-dialog-shell{display:flex;flex-direction:column;max-width:92vw;width:100%;max-height:88vh;min-height:0;background:var(--ptech-dialog-bg, var(--app-surface, #fff));color:var(--ptech-dialog-text, var(--app-text, inherit));border-radius:16px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));overflow:hidden}.ptech-dialog-header{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;gap:12px;padding:14px 16px;background:var(--ptech-dialog-header-bg, var(--app-surface-2, #f7f7f7));flex:0 0 auto}.ptech-dialog-drag{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent)}.ptech-dialog-heading h1[mat-dialog-title],.ptech-dialog-heading h2[mat-dialog-title]{margin:0;line-height:1.2;font-weight:700;color:var(--ptech-dialog-text, var(--app-text, inherit));text-align:center}.ptech-dialog-heading{text-align:center;justify-self:center;width:100%}.ptech-dialog-subtitle{margin:2px 0 0;color:var(--ptech-dialog-muted, var(--app-muted, #94a3b8));font-size:1rem;font-weight:500}.ptech-dialog-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));color:var(--ptech-dialog-text, var(--app-text, inherit));background:color-mix(in srgb,var(--app-surface, #fff) 92%,transparent);display:inline-flex;align-items:center;justify-content:center;padding:0!important}.ptech-dialog-close .mat-icon{margin:0;width:26px;height:26px;font-size:26px;line-height:26px}.ptech-dialog-divider{border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)))}.ptech-dialog-content{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:16px;box-sizing:border-box;color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content p,.ptech-dialog-content span,.ptech-dialog-content div,.ptech-dialog-content li,.ptech-dialog-content strong,.ptech-dialog-content em,.ptech-dialog-content small{color:var(--ptech-dialog-content-text, var(--ptech-dialog-text, var(--app-text, inherit)))}.ptech-dialog-content::-webkit-scrollbar{width:10px;height:10px}.ptech-dialog-content::-webkit-scrollbar-track{background:var(--ptech-scroll-track, var(--app-scroll-track, color-mix(in srgb, var(--app-surface-2, #f7f7f7) 70%, transparent)));border-radius:12px}.ptech-dialog-content::-webkit-scrollbar-thumb{background:var(--ptech-scroll-thumb, var(--app-scroll-thumb, color-mix(in srgb, var(--app-link-accent, #3b82f6) 70%, #6b7280 30%)));border-radius:12px;border:2px solid transparent;background-clip:padding-box}.ptech-dialog-content::-webkit-scrollbar-thumb:hover{background:var(--ptech-scroll-thumb-hover, var(--app-scroll-thumb-hover, var(--ptech-scroll-thumb, #60a5fa)))}.ptech-dialog-content{scrollbar-width:thin;scrollbar-color:var(--ptech-scroll-thumb, var(--app-scroll-thumb, #60a5fa)) var(--ptech-scroll-track, var(--app-scroll-track, #1f2937))}.ptech-dialog-actions{margin:0;padding:14px 16px 16px;border-top:1px solid var(--ptech-dialog-border, var(--app-border-color, rgba(0, 0, 0, .12)));background:var(--ptech-dialog-footer-bg, var(--app-surface-2, #f7f7f7));display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}::ng-deep .ptech-dialog-panel .mat-mdc-dialog-surface{background:transparent!important;box-shadow:none!important;color:inherit;overflow:visible;border-radius:16px;padding:0;max-height:none!important}.ptech-dialog-content.mat-mdc-dialog-content{max-height:none!important;margin:0}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{display:flex!important;align-items:center!important;justify-content:center!important;max-width:96vw!important;max-height:96dvh!important;margin:0 auto!important;z-index:var(--ptech-overlay-z-index, 10000)!important}::ng-deep .cdk-overlay-pane:not(.ptech-dialog-panel){z-index:calc(var(--ptech-overlay-z-index, 10000) + 1)!important}::ng-deep .cdk-overlay-pane .mat-mdc-select-panel,::ng-deep .cdk-overlay-pane .ptech-select-enum-panel,::ng-deep .cdk-overlay-pane .ptech-select-entity-panel,::ng-deep .cdk-overlay-pane .ptech-select-quantity-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important}::ng-deep .cdk-overlay-pane .mat-mdc-tooltip-panel{z-index:var(--ptech-tooltip-z-index, 11000)!important}@media (max-width: 700px){.ptech-dialog-shell{max-width:94vw!important;max-height:calc(100dvh - 18px)!important;margin:0 auto!important}::ng-deep .cdk-overlay-pane.ptech-dialog-panel{max-width:96vw!important;max-height:calc(100dvh - 8px)!important;padding:0!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i5$3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: ButtonComponent, selector: "ptech-button", inputs: ["type", "size", "tooltip", "icon", "iconColor", "iconWidth", "iconHeight", "textColor", "link", "target", "shape", "color"], outputs: ["buttonClick"] }, { kind: "directive", type: 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: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "pipe", type: i1$1.JsonPipe, name: "json" }] });
|
|
5048
5048
|
}
|
|
5049
5049
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActionResultDialogComponent, decorators: [{
|
|
5050
5050
|
type: Component,
|
|
@@ -5299,7 +5299,7 @@ class ProfileMenuComponent {
|
|
|
5299
5299
|
|
|
5300
5300
|
<ng-content select="[extra-items]"></ng-content>
|
|
5301
5301
|
</mat-menu>
|
|
5302
|
-
`, isInline: true, styles: [".profile-menu{display:flex;align-items:center;cursor:pointer;position:relative}.profile-menu mat-icon{margin-right:8px;color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)))}.profile-menu span{color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)));font-weight:700;margin-right:4px}.profile-menu mat-icon:last-child{margin-right:0}.profile-trigger-flag{margin-right:8px;justify-content:center}.mat-divider{margin:0!important}.hide-on-mobile{display:inline}.show-on-mobile{display:none}@media (max-width: 599px){.hide-on-mobile{display:none}.show-on-mobile{display:flex}}.user-item span{font-weight:700}::ng-deep .ptech-profile-menu-panel,::ng-deep .ptech-profile-menu-panel.mat-mdc-menu-panel{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-content{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mdc-list-item__primary-text,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item span{color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item:hover,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-program-focused,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-focused{background-color:var(--ptech-menu-hover, var(--app-chip-bg, rgba(0,0,0,.06)))!important}::ng-deep .ptech-profile-menu-panel .mat-divider,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item+.mat-divider{border-top-color:var(--ptech-menu-divider, var(--app-border-color, rgba(0,0,0,.12)))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled],::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] span{color:var(--ptech-menu-disabled, var(--app-muted, #9ca3af))!important;opacity:1!important}::ng-deep .ptech-profile-menu-panel .profile-menu-flag{width:var(--mat-menu-item-leading-spacing, 24px);min-width:var(--mat-menu-item-leading-spacing, 24px);margin-right:var(--mat-menu-item-spacing, 16px);justify-content:center}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i5$
|
|
5302
|
+
`, isInline: true, styles: [".profile-menu{display:flex;align-items:center;cursor:pointer;position:relative}.profile-menu mat-icon{margin-right:8px;color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)))}.profile-menu span{color:var(--ptech-profile-trigger-text, var(--ptech-header-icon-color, var(--app-text-on-accent, #fff)));font-weight:700;margin-right:4px}.profile-menu mat-icon:last-child{margin-right:0}.profile-trigger-flag{margin-right:8px;justify-content:center}.mat-divider{margin:0!important}.hide-on-mobile{display:inline}.show-on-mobile{display:none}@media (max-width: 599px){.hide-on-mobile{display:none}.show-on-mobile{display:flex}}.user-item span{font-weight:700}::ng-deep .ptech-profile-menu-panel,::ng-deep .ptech-profile-menu-panel.mat-mdc-menu-panel{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-content{background-color:var(--ptech-menu-bg, var(--app-surface, #fff))!important;color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item .mdc-list-item__primary-text,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item span{color:var(--ptech-menu-text, var(--app-text, inherit))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item:hover,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-program-focused,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item.cdk-focused{background-color:var(--ptech-menu-hover, var(--app-chip-bg, rgba(0,0,0,.06)))!important}::ng-deep .ptech-profile-menu-panel .mat-divider,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item+.mat-divider{border-top-color:var(--ptech-menu-divider, var(--app-border-color, rgba(0,0,0,.12)))!important}::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled],::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] .mat-icon,::ng-deep .ptech-profile-menu-panel .mat-mdc-menu-item[disabled] span{color:var(--ptech-menu-disabled, var(--app-muted, #9ca3af))!important;opacity:1!important}::ng-deep .ptech-profile-menu-panel .profile-menu-flag{width:var(--mat-menu-item-leading-spacing, 24px);min-width:var(--mat-menu-item-leading-spacing, 24px);margin-right:var(--mat-menu-item-spacing, 16px);justify-content:center}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "ngmodule", type: CoreMaterialModule }, { kind: "component", type: i5$2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i4$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: FlagComponent, selector: "ptech-flag", inputs: ["code", "size", "squared", "tooltip", "label", "ariaLabel", "clickable", "col"], outputs: ["flagClick"] }, { kind: "pipe", type: GetFirstStringBeforeSpacePipe, name: "getFirstStringBeforeSpace" }] });
|
|
5303
5303
|
}
|
|
5304
5304
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ProfileMenuComponent, decorators: [{
|
|
5305
5305
|
type: Component,
|
|
@@ -5584,7 +5584,7 @@ class InputDateRangeComponent extends BaseField {
|
|
|
5584
5584
|
diameter="17">
|
|
5585
5585
|
</mat-spinner>
|
|
5586
5586
|
</mat-form-field>
|
|
5587
|
-
`, isInline: true, styles: [".ptech-input-date-range{display:flex;flex-direction:column;width:100%}.ptech-input-date-range .mat-form-field{width:100%;--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-input-date-range .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-input-date-range .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-input-date-range .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-input-date-range .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-input-date-range .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-input-date-range .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-input-date-range .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-input-date-range .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-input-date-range .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-input-date-range .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-input-date-range .mat-mdc-input-element,:host ::ng-deep .ptech-input-date-range .mdc-text-field__input{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-input-date-range input::placeholder,:host ::ng-deep .ptech-input-date-range .mat-mdc-input-element::placeholder,:host ::ng-deep .ptech-input-date-range .mdc-text-field__input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important;opacity:1!important}:host ::ng-deep .ptech-input-date-range .mdc-floating-label,:host ::ng-deep .ptech-input-date-range .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-input-date-range mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host ::ng-deep .ptech-input-date-range .mat-date-range-input-separator{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-input-date-range .mat-datepicker-toggle,:host ::ng-deep .ptech-input-date-range .mat-datepicker-toggle-default-icon,:host ::ng-deep .ptech-input-date-range .mat-mdc-icon-button.mat-mdc-button-base{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-input-date-range .mat-datepicker-toggle-default-icon,:host ::ng-deep .ptech-input-date-range .mat-mdc-icon-button svg,:host ::ng-deep .ptech-input-date-range .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}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i3$4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i3$4.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i3$4.MatStartDate, selector: "input[matStartDate]", outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i3$4.MatEndDate, selector: "input[matEndDate]", outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i3$4.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "component", type:
|
|
5587
|
+
`, isInline: true, styles: [".ptech-input-date-range{display:flex;flex-direction:column;width:100%}.ptech-input-date-range .mat-form-field{width:100%;--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-input-date-range .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-input-date-range .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-input-date-range .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-input-date-range .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-input-date-range .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-input-date-range .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-input-date-range .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-input-date-range .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-input-date-range .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-input-date-range .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-input-date-range .mat-mdc-input-element,:host ::ng-deep .ptech-input-date-range .mdc-text-field__input{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-input-date-range input::placeholder,:host ::ng-deep .ptech-input-date-range .mat-mdc-input-element::placeholder,:host ::ng-deep .ptech-input-date-range .mdc-text-field__input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important;opacity:1!important}:host ::ng-deep .ptech-input-date-range .mdc-floating-label,:host ::ng-deep .ptech-input-date-range .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-input-date-range mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host ::ng-deep .ptech-input-date-range .mat-date-range-input-separator{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-input-date-range .mat-datepicker-toggle,:host ::ng-deep .ptech-input-date-range .mat-datepicker-toggle-default-icon,:host ::ng-deep .ptech-input-date-range .mat-mdc-icon-button.mat-mdc-button-base{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-input-date-range .mat-datepicker-toggle-default-icon,:host ::ng-deep .ptech-input-date-range .mat-mdc-icon-button svg,:host ::ng-deep .ptech-input-date-range .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}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i3$4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i3$4.MatDateRangeInput, selector: "mat-date-range-input", inputs: ["rangePicker", "required", "dateFilter", "min", "max", "disabled", "separator", "comparisonStart", "comparisonEnd"], exportAs: ["matDateRangeInput"] }, { kind: "directive", type: i3$4.MatStartDate, selector: "input[matStartDate]", outputs: ["dateChange", "dateInput"] }, { kind: "directive", type: i3$4.MatEndDate, selector: "input[matEndDate]", outputs: ["dateChange", "dateInput"] }, { kind: "component", type: i3$4.MatDateRangePicker, selector: "mat-date-range-picker", exportAs: ["matDateRangePicker"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5588
5588
|
}
|
|
5589
5589
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputDateRangeComponent, decorators: [{
|
|
5590
5590
|
type: Component,
|
|
@@ -5860,6 +5860,7 @@ class InputDateComponent extends BaseField {
|
|
|
5860
5860
|
<mat-form-field *ngIf="withTime" [appearance]="appearance" class="field time">
|
|
5861
5861
|
<mat-label>{{ timeLabel }}</mat-label>
|
|
5862
5862
|
<input
|
|
5863
|
+
#timeInputElement
|
|
5863
5864
|
matInput
|
|
5864
5865
|
type="time"
|
|
5865
5866
|
[step]="seconds ? 1 : 60"
|
|
@@ -5868,10 +5869,16 @@ class InputDateComponent extends BaseField {
|
|
|
5868
5869
|
(change)="onTimeInput($any($event.target).value)"
|
|
5869
5870
|
(blur)="onTouched()"
|
|
5870
5871
|
/>
|
|
5872
|
+
<mat-icon
|
|
5873
|
+
matSuffix
|
|
5874
|
+
class="ptech-time-icon"
|
|
5875
|
+
(click)="timeInputElement.focus()">
|
|
5876
|
+
schedule
|
|
5877
|
+
</mat-icon>
|
|
5871
5878
|
</mat-form-field>
|
|
5872
5879
|
</div>
|
|
5873
5880
|
</div>
|
|
5874
|
-
`, isInline: true, styles: [":host{display:block;width:100%}.input-date-container{width:100%;min-width:0}.row{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0}.field{flex:1 1 auto;width:100%;min-width:0}.time{flex:0 0
|
|
5881
|
+
`, isInline: true, styles: [":host{display:block;width:100%}.input-date-container{width:100%;min-width:0}.row{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0}.field{flex:1 1 auto;width:100%;min-width:0}.time{flex:0 0 156px;width:156px;margin-left:0}: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}.ptech-time-icon{color:var(--ptech-field-text, var(--app-text, inherit))!important;cursor:default}:host ::ng-deep .time .mat-mdc-form-field-icon-suffix{align-items:center;padding:0 12px 0 4px}::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}@media (max-width: 599.98px){.row{flex-wrap:wrap}.time{flex:1 1 100%;width:100%}}\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$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { 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"] }] });
|
|
5875
5882
|
}
|
|
5876
5883
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputDateComponent, decorators: [{
|
|
5877
5884
|
type: Component,
|
|
@@ -5918,6 +5925,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5918
5925
|
<mat-form-field *ngIf="withTime" [appearance]="appearance" class="field time">
|
|
5919
5926
|
<mat-label>{{ timeLabel }}</mat-label>
|
|
5920
5927
|
<input
|
|
5928
|
+
#timeInputElement
|
|
5921
5929
|
matInput
|
|
5922
5930
|
type="time"
|
|
5923
5931
|
[step]="seconds ? 1 : 60"
|
|
@@ -5926,6 +5934,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5926
5934
|
(change)="onTimeInput($any($event.target).value)"
|
|
5927
5935
|
(blur)="onTouched()"
|
|
5928
5936
|
/>
|
|
5937
|
+
<mat-icon
|
|
5938
|
+
matSuffix
|
|
5939
|
+
class="ptech-time-icon"
|
|
5940
|
+
(click)="timeInputElement.focus()">
|
|
5941
|
+
schedule
|
|
5942
|
+
</mat-icon>
|
|
5929
5943
|
</mat-form-field>
|
|
5930
5944
|
</div>
|
|
5931
5945
|
</div>
|
|
@@ -5933,7 +5947,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5933
5947
|
provide: NG_VALUE_ACCESSOR,
|
|
5934
5948
|
useExisting: forwardRef(() => InputDateComponent),
|
|
5935
5949
|
multi: true
|
|
5936
|
-
}], styles: [":host{display:block;width:100%}.input-date-container{width:100%;min-width:0}.row{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0}.field{flex:1 1 auto;width:100%;min-width:0}.time{flex:0 0
|
|
5950
|
+
}], styles: [":host{display:block;width:100%}.input-date-container{width:100%;min-width:0}.row{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0}.field{flex:1 1 auto;width:100%;min-width:0}.time{flex:0 0 156px;width:156px;margin-left:0}: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}.ptech-time-icon{color:var(--ptech-field-text, var(--app-text, inherit))!important;cursor:default}:host ::ng-deep .time .mat-mdc-form-field-icon-suffix{align-items:center;padding:0 12px 0 4px}::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}@media (max-width: 599.98px){.row{flex-wrap:wrap}.time{flex:1 1 100%;width:100%}}\n"] }]
|
|
5937
5951
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { inputDateElement: [{
|
|
5938
5952
|
type: ViewChild,
|
|
5939
5953
|
args: ['inputDateElement', { static: true }]
|
|
@@ -6017,6 +6031,9 @@ class InputTimeComponent extends BaseField {
|
|
|
6017
6031
|
get defaultTime() {
|
|
6018
6032
|
return this.seconds ? '00:00:00' : '00:00';
|
|
6019
6033
|
}
|
|
6034
|
+
get pickerDefaultTime() {
|
|
6035
|
+
return '00:00';
|
|
6036
|
+
}
|
|
6020
6037
|
/** two-way opcional via (valueChange) */
|
|
6021
6038
|
valueChange = new EventEmitter();
|
|
6022
6039
|
_val = null;
|
|
@@ -6025,12 +6042,23 @@ class InputTimeComponent extends BaseField {
|
|
|
6025
6042
|
onTouch = () => { };
|
|
6026
6043
|
get value() { return this._val; }
|
|
6027
6044
|
set value(v) {
|
|
6028
|
-
|
|
6029
|
-
|
|
6045
|
+
const normalized = this.normalizeIncomingValue(v);
|
|
6046
|
+
if (normalized !== this._val) {
|
|
6047
|
+
this._val = normalized;
|
|
6030
6048
|
this.onChange(v);
|
|
6031
|
-
this.valueChange.emit(
|
|
6049
|
+
this.valueChange.emit(normalized ?? '');
|
|
6050
|
+
this.cdr.markForCheck();
|
|
6032
6051
|
}
|
|
6033
6052
|
}
|
|
6053
|
+
get displayValue() {
|
|
6054
|
+
return this._val || '';
|
|
6055
|
+
}
|
|
6056
|
+
get pickerValue() {
|
|
6057
|
+
if (!this._val)
|
|
6058
|
+
return '';
|
|
6059
|
+
const { hh, mm } = this.parseTime(this._val);
|
|
6060
|
+
return `${hh}:${mm}`;
|
|
6061
|
+
}
|
|
6034
6062
|
writeValue(val) {
|
|
6035
6063
|
this._val = this.normalizeIncomingValue(val);
|
|
6036
6064
|
this.cdr.markForCheck();
|
|
@@ -6047,6 +6075,11 @@ class InputTimeComponent extends BaseField {
|
|
|
6047
6075
|
const out = this.seconds ? `${hh}:${mm}:${ss}` : `${hh}:${mm}`;
|
|
6048
6076
|
this.value = out;
|
|
6049
6077
|
}
|
|
6078
|
+
openPicker(picker) {
|
|
6079
|
+
if (this.disabled || this.loading || this.disableClick)
|
|
6080
|
+
return;
|
|
6081
|
+
picker.open();
|
|
6082
|
+
}
|
|
6050
6083
|
// Aceita 'HH:mm', 'HH:mm:ss', 'h:mm A', 'h:mm:ss A'
|
|
6051
6084
|
parseTime(inp) {
|
|
6052
6085
|
const s = (inp || '').trim().toUpperCase();
|
|
@@ -6108,24 +6141,23 @@ class InputTimeComponent extends BaseField {
|
|
|
6108
6141
|
|
|
6109
6142
|
<input
|
|
6110
6143
|
matInput
|
|
6111
|
-
[ngxTimepicker]="picker"
|
|
6112
|
-
[format]="format"
|
|
6113
6144
|
[disabled]="disabled || loading"
|
|
6114
|
-
[disableClick]="disableClick"
|
|
6115
6145
|
[placeholder]="placeholder"
|
|
6116
6146
|
[required]="required"
|
|
6117
6147
|
[attr.aria-label]="ariaLabel || null"
|
|
6118
6148
|
readonly
|
|
6119
6149
|
autocomplete="off"
|
|
6120
6150
|
[maxLength]="seconds ? 8 : 5"
|
|
6121
|
-
[
|
|
6151
|
+
[value]="displayValue"
|
|
6152
|
+
(click)="openPicker(picker)"
|
|
6122
6153
|
(blur)="onTouch()"
|
|
6123
6154
|
/>
|
|
6124
6155
|
|
|
6125
6156
|
<ngx-material-timepicker
|
|
6126
6157
|
#picker
|
|
6127
6158
|
[theme]="resolvedTimepickerTheme"
|
|
6128
|
-
[
|
|
6159
|
+
[format]="format"
|
|
6160
|
+
[defaultTime]="pickerValue || pickerDefaultTime"
|
|
6129
6161
|
(timeSet)="onTimeSet($event)">
|
|
6130
6162
|
</ngx-material-timepicker>
|
|
6131
6163
|
|
|
@@ -6146,7 +6178,7 @@ class InputTimeComponent extends BaseField {
|
|
|
6146
6178
|
|
|
6147
6179
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
6148
6180
|
</mat-form-field>
|
|
6149
|
-
`, 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-form-field-icon-suffix{align-items:center;color:var(--ptech-field-icon, var(--ptech-field-text, var(--app-text, inherit)))!important;padding:0 8px 0 4px}:host ::ng-deep .ptech-form-field .mat-mdc-form-field-infix{min-width:0}:host ::ng-deep .ptech-time-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;margin:0;color:var(--ptech-field-icon, var(--ptech-field-text, var(--app-text, inherit)))!important}:host ::ng-deep .ptech-time-toggle .ngx-material-timepicker-toggle{width:40px;height:40px;min-width:40px;padding:0;color:inherit!important}:host ::ng-deep .ptech-time-toggle .ngx-material-timepicker-toggle:hover,:host ::ng-deep .ptech-time-toggle .ngx-material-timepicker-toggle:focus{background-color:color-mix(in srgb,var(--app-text, #111827) 10%,transparent)}:host ::ng-deep .ptech-time-toggle mat-icon{width:24px;height:24px;font-size:24px;line-height:24px;color: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 .ngx-material-timepicker-toggle 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}::ng-deep ngx-material-timepicker-container .timepicker{border:1px solid var(--app-border-color, rgba(0,0,0,.12));background-color:var(--app-surface, #fff);color:var(--app-text, inherit)}::ng-deep ngx-material-timepicker-container .timepicker__header{background-color:var(--app-link-accent, #3f51b5)!important;color:var(--app-text-on-accent, #fff)!important}::ng-deep ngx-material-timepicker-container .timepicker__body,::ng-deep ngx-material-timepicker-container .timepicker__actions{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important}::ng-deep ngx-material-timepicker-container .clock-face{background-color:var(--app-surface-2, #f0f0f0)!important}::ng-deep ngx-material-timepicker-container .clock-face__number,::ng-deep ngx-material-timepicker-container .clock-face__number>span{color:var(--app-text, inherit)!important}::ng-deep ngx-material-timepicker-container .timepicker-button{color:var(--app-link-accent, #3f51b5)!important}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "
|
|
6181
|
+
`, 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-form-field-icon-suffix{align-items:center;color:var(--ptech-field-icon, var(--ptech-field-text, var(--app-text, inherit)))!important;padding:0 8px 0 4px}:host ::ng-deep .ptech-form-field .mat-mdc-form-field-infix{min-width:0}:host ::ng-deep .ptech-time-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;margin:0;color:var(--ptech-field-icon, var(--ptech-field-text, var(--app-text, inherit)))!important}:host ::ng-deep .ptech-time-toggle .ngx-material-timepicker-toggle{width:40px;height:40px;min-width:40px;padding:0;color:inherit!important}:host ::ng-deep .ptech-time-toggle .ngx-material-timepicker-toggle:hover,:host ::ng-deep .ptech-time-toggle .ngx-material-timepicker-toggle:focus{background-color:color-mix(in srgb,var(--app-text, #111827) 10%,transparent)}:host ::ng-deep .ptech-time-toggle mat-icon{width:24px;height:24px;font-size:24px;line-height:24px;color: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 .ngx-material-timepicker-toggle 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}::ng-deep ngx-material-timepicker-container .timepicker{border:1px solid var(--app-border-color, rgba(0,0,0,.12));background-color:var(--app-surface, #fff);color:var(--app-text, inherit)}::ng-deep ngx-material-timepicker-container .timepicker__header{background-color:var(--app-link-accent, #3f51b5)!important;color:var(--app-text-on-accent, #fff)!important}::ng-deep ngx-material-timepicker-container .timepicker__body,::ng-deep ngx-material-timepicker-container .timepicker__actions{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important}::ng-deep ngx-material-timepicker-container .clock-face{background-color:var(--app-surface-2, #f0f0f0)!important}::ng-deep ngx-material-timepicker-container .clock-face__number,::ng-deep ngx-material-timepicker-container .clock-face__number>span{color:var(--app-text, inherit)!important}::ng-deep ngx-material-timepicker-container .timepicker-button{color:var(--app-link-accent, #3f51b5)!important}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { 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.NgxMaterialTimepickerToggleIconDirective, selector: "[ngxMaterialTimepickerToggleIcon]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6150
6182
|
}
|
|
6151
6183
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputTimeComponent, decorators: [{
|
|
6152
6184
|
type: Component,
|
|
@@ -6163,24 +6195,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6163
6195
|
|
|
6164
6196
|
<input
|
|
6165
6197
|
matInput
|
|
6166
|
-
[ngxTimepicker]="picker"
|
|
6167
|
-
[format]="format"
|
|
6168
6198
|
[disabled]="disabled || loading"
|
|
6169
|
-
[disableClick]="disableClick"
|
|
6170
6199
|
[placeholder]="placeholder"
|
|
6171
6200
|
[required]="required"
|
|
6172
6201
|
[attr.aria-label]="ariaLabel || null"
|
|
6173
6202
|
readonly
|
|
6174
6203
|
autocomplete="off"
|
|
6175
6204
|
[maxLength]="seconds ? 8 : 5"
|
|
6176
|
-
[
|
|
6205
|
+
[value]="displayValue"
|
|
6206
|
+
(click)="openPicker(picker)"
|
|
6177
6207
|
(blur)="onTouch()"
|
|
6178
6208
|
/>
|
|
6179
6209
|
|
|
6180
6210
|
<ngx-material-timepicker
|
|
6181
6211
|
#picker
|
|
6182
6212
|
[theme]="resolvedTimepickerTheme"
|
|
6183
|
-
[
|
|
6213
|
+
[format]="format"
|
|
6214
|
+
[defaultTime]="pickerValue || pickerDefaultTime"
|
|
6184
6215
|
(timeSet)="onTimeSet($event)">
|
|
6185
6216
|
</ngx-material-timepicker>
|
|
6186
6217
|
|