@pumpkin-tech/pumpkin-tech-ng 0.2.44 → 0.2.46
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.
|
@@ -800,7 +800,7 @@ class InputComponent extends BaseField {
|
|
|
800
800
|
<ng-content select="mat-error, [mat-error]"></ng-content>
|
|
801
801
|
</mat-form-field>
|
|
802
802
|
</div>
|
|
803
|
-
`, 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 });
|
|
803
|
+
`, 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{--mat-form-field-container-height: var(--ptech-field-height, 56px);--mat-form-field-container-vertical-padding: var(--ptech-field-vertical-padding, 16px);--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 });
|
|
804
804
|
}
|
|
805
805
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputComponent, decorators: [{
|
|
806
806
|
type: Component,
|
|
@@ -915,7 +915,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
915
915
|
provide: NG_VALUE_ACCESSOR,
|
|
916
916
|
useExisting: forwardRef(() => InputComponent),
|
|
917
917
|
multi: true
|
|
918
|
-
}], changeDetection: ChangeDetectionStrategy.OnPush, 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"] }]
|
|
918
|
+
}], changeDetection: ChangeDetectionStrategy.OnPush, 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{--mat-form-field-container-height: var(--ptech-field-height, 56px);--mat-form-field-container-vertical-padding: var(--ptech-field-vertical-padding, 16px);--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"] }]
|
|
919
919
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { _elementRef: [{
|
|
920
920
|
type: ViewChild,
|
|
921
921
|
args: ['inputElem', { static: false, read: ElementRef }]
|
|
@@ -6165,7 +6165,7 @@ class InputDateComponent extends BaseField {
|
|
|
6165
6165
|
</mat-form-field>
|
|
6166
6166
|
</div>
|
|
6167
6167
|
</div>
|
|
6168
|
-
`, 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}:host ::ng-deep .time .mat-mdc-form-field-icon-suffix{align-items:center;color:var(--ptech-field-text, var(--app-text, inherit))!important;padding:0 8px 0 4px}: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-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 mat-icon{width:24px;height:24px;font-size:24px;line-height:24px;color:inherit!important}::ng-deep ngx-material-timepicker-container,::ng-deep ngx-material-timepicker-container .timepicker-overlay{z-index:var(--ptech-timepicker-z-index, 13000)!important}::ng-deep ngx-material-timepicker-container .timepicker-backdrop-overlay{z-index:calc(var(--ptech-timepicker-z-index, 13000) - 1)!important}::ng-deep ngx-material-timepicker-container .timepicker{z-index:var(--ptech-timepicker-z-index, 13000)!important;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}::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$5.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i3$5.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i3$5.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"] }, { kind: "ngmodule", type: NgxMaterialTimepickerModule }, { kind: "component", type: i8.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: i8.NgxMaterialTimepickerToggleComponent, selector: "ngx-material-timepicker-toggle", inputs: ["for", "disabled"] }, { kind: "directive", type: i8.NgxMaterialTimepickerToggleIconDirective, selector: "[ngxMaterialTimepickerToggleIcon]" }] });
|
|
6168
|
+
`, 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{--mat-form-field-container-height: var(--ptech-field-height, 56px);--mat-form-field-container-vertical-padding: var(--ptech-field-vertical-padding, 16px);--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}:host ::ng-deep .time .mat-mdc-form-field-icon-suffix{align-items:center;color:var(--ptech-field-text, var(--app-text, inherit))!important;padding:0 8px 0 4px}: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-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 mat-icon{width:24px;height:24px;font-size:24px;line-height:24px;color:inherit!important}::ng-deep ngx-material-timepicker-container,::ng-deep ngx-material-timepicker-container .timepicker-overlay{z-index:var(--ptech-timepicker-z-index, 13000)!important}::ng-deep ngx-material-timepicker-container .timepicker-backdrop-overlay{z-index:calc(var(--ptech-timepicker-z-index, 13000) - 1)!important}::ng-deep ngx-material-timepicker-container .timepicker{z-index:var(--ptech-timepicker-z-index, 13000)!important;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}::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$5.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i3$5.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i3$5.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"] }, { kind: "ngmodule", type: NgxMaterialTimepickerModule }, { kind: "component", type: i8.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: i8.NgxMaterialTimepickerToggleComponent, selector: "ngx-material-timepicker-toggle", inputs: ["for", "disabled"] }, { kind: "directive", type: i8.NgxMaterialTimepickerToggleIconDirective, selector: "[ngxMaterialTimepickerToggleIcon]" }] });
|
|
6169
6169
|
}
|
|
6170
6170
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputDateComponent, decorators: [{
|
|
6171
6171
|
type: Component,
|
|
@@ -6246,7 +6246,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
6246
6246
|
provide: NG_VALUE_ACCESSOR,
|
|
6247
6247
|
useExisting: forwardRef(() => InputDateComponent),
|
|
6248
6248
|
multi: true
|
|
6249
|
-
}], 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}:host ::ng-deep .time .mat-mdc-form-field-icon-suffix{align-items:center;color:var(--ptech-field-text, var(--app-text, inherit))!important;padding:0 8px 0 4px}: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-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 mat-icon{width:24px;height:24px;font-size:24px;line-height:24px;color:inherit!important}::ng-deep ngx-material-timepicker-container,::ng-deep ngx-material-timepicker-container .timepicker-overlay{z-index:var(--ptech-timepicker-z-index, 13000)!important}::ng-deep ngx-material-timepicker-container .timepicker-backdrop-overlay{z-index:calc(var(--ptech-timepicker-z-index, 13000) - 1)!important}::ng-deep ngx-material-timepicker-container .timepicker{z-index:var(--ptech-timepicker-z-index, 13000)!important;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}::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"] }]
|
|
6249
|
+
}], 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{--mat-form-field-container-height: var(--ptech-field-height, 56px);--mat-form-field-container-vertical-padding: var(--ptech-field-vertical-padding, 16px);--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}:host ::ng-deep .time .mat-mdc-form-field-icon-suffix{align-items:center;color:var(--ptech-field-text, var(--app-text, inherit))!important;padding:0 8px 0 4px}: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-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 mat-icon{width:24px;height:24px;font-size:24px;line-height:24px;color:inherit!important}::ng-deep ngx-material-timepicker-container,::ng-deep ngx-material-timepicker-container .timepicker-overlay{z-index:var(--ptech-timepicker-z-index, 13000)!important}::ng-deep ngx-material-timepicker-container .timepicker-backdrop-overlay{z-index:calc(var(--ptech-timepicker-z-index, 13000) - 1)!important}::ng-deep ngx-material-timepicker-container .timepicker{z-index:var(--ptech-timepicker-z-index, 13000)!important;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}::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"] }]
|
|
6250
6250
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { inputDateElement: [{
|
|
6251
6251
|
type: ViewChild,
|
|
6252
6252
|
args: ['inputDateElement', { static: true }]
|
|
@@ -8200,7 +8200,7 @@ class CardComponent {
|
|
|
8200
8200
|
<ng-content select="[ptechCardFooter]"></ng-content>
|
|
8201
8201
|
</mat-card-actions>
|
|
8202
8202
|
</mat-card>
|
|
8203
|
-
`, isInline: true, styles: [":host{display:block}.ptech-card{position:relative;margin:0 0 16px}.ptech-card--marginless{margin-left:0;margin-right:0}.ptech-card--flat{box-shadow:none!important}.ptech-card--outlined{box-shadow:none!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))}.ptech-card--selected{border:1px solid var(--app-primary, #3f51b5)}.ptech-card--clickable{cursor:pointer}.ptech-card__header{align-items:center}.ptech-card__avatar{display:inline-flex;align-items:center;justify-content:center}.ptech-card__spacer{flex:1 1 auto}.ptech-card__content{position:relative}.ptech-card__footer{display:flex;justify-content:flex-end;gap:8px}\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$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i2$2.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i2$2.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i2$2.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i2$2.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i2$2.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: i2$2.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i2$2.MatCardTitleGroup, selector: "mat-card-title-group" }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: LoadingOverlayComponent, selector: "ptech-loading-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8203
|
+
`, isInline: true, styles: [":host{display:block}.ptech-card{position:relative;margin:0 0 16px;background:var(--ptech-card-bg, var(--app-surface, #fff))!important;color:var(--ptech-card-text, var(--app-text, inherit))!important;border:1px solid var(--ptech-card-border, var(--app-border-color, transparent))}.ptech-card--marginless{margin-left:0;margin-right:0}.ptech-card--flat{box-shadow:none!important}.ptech-card--outlined{box-shadow:none!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))}.ptech-card--selected{border:1px solid var(--app-primary, #3f51b5)}.ptech-card--clickable{cursor:pointer}.ptech-card__header{align-items:center}.ptech-card__header,.ptech-card__content,.ptech-card__footer,mat-card-title,mat-card-subtitle{color:var(--ptech-card-text, var(--app-text, inherit))!important}mat-card-subtitle{color:var(--ptech-card-muted, var(--app-muted, rgba(0,0,0,.54)))!important}.ptech-card__avatar{display:inline-flex;align-items:center;justify-content:center}.ptech-card__spacer{flex:1 1 auto}.ptech-card__content{position:relative}.ptech-card__footer{display:flex;justify-content:flex-end;gap:8px}\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$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i2$2.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i2$2.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i2$2.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i2$2.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i2$2.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: i2$2.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i2$2.MatCardTitleGroup, selector: "mat-card-title-group" }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: LoadingOverlayComponent, selector: "ptech-loading-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8204
8204
|
}
|
|
8205
8205
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CardComponent, decorators: [{
|
|
8206
8206
|
type: Component,
|
|
@@ -8239,7 +8239,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
8239
8239
|
<ng-content select="[ptechCardFooter]"></ng-content>
|
|
8240
8240
|
</mat-card-actions>
|
|
8241
8241
|
</mat-card>
|
|
8242
|
-
`, styles: [":host{display:block}.ptech-card{position:relative;margin:0 0 16px}.ptech-card--marginless{margin-left:0;margin-right:0}.ptech-card--flat{box-shadow:none!important}.ptech-card--outlined{box-shadow:none!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))}.ptech-card--selected{border:1px solid var(--app-primary, #3f51b5)}.ptech-card--clickable{cursor:pointer}.ptech-card__header{align-items:center}.ptech-card__avatar{display:inline-flex;align-items:center;justify-content:center}.ptech-card__spacer{flex:1 1 auto}.ptech-card__content{position:relative}.ptech-card__footer{display:flex;justify-content:flex-end;gap:8px}\n"] }]
|
|
8242
|
+
`, styles: [":host{display:block}.ptech-card{position:relative;margin:0 0 16px;background:var(--ptech-card-bg, var(--app-surface, #fff))!important;color:var(--ptech-card-text, var(--app-text, inherit))!important;border:1px solid var(--ptech-card-border, var(--app-border-color, transparent))}.ptech-card--marginless{margin-left:0;margin-right:0}.ptech-card--flat{box-shadow:none!important}.ptech-card--outlined{box-shadow:none!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))}.ptech-card--selected{border:1px solid var(--app-primary, #3f51b5)}.ptech-card--clickable{cursor:pointer}.ptech-card__header{align-items:center}.ptech-card__header,.ptech-card__content,.ptech-card__footer,mat-card-title,mat-card-subtitle{color:var(--ptech-card-text, var(--app-text, inherit))!important}mat-card-subtitle{color:var(--ptech-card-muted, var(--app-muted, rgba(0,0,0,.54)))!important}.ptech-card__avatar{display:inline-flex;align-items:center;justify-content:center}.ptech-card__spacer{flex:1 1 auto}.ptech-card__content{position:relative}.ptech-card__footer{display:flex;justify-content:flex-end;gap:8px}\n"] }]
|
|
8243
8243
|
}], propDecorators: { title: [{
|
|
8244
8244
|
type: Input
|
|
8245
8245
|
}], subtitle: [{
|
|
@@ -9330,13 +9330,13 @@ class PtechTabsComponent {
|
|
|
9330
9330
|
</a>
|
|
9331
9331
|
</nav>
|
|
9332
9332
|
|
|
9333
|
-
<mat-tab-nav-panel #tabPanel>
|
|
9333
|
+
<mat-tab-nav-panel #tabPanel class="ptech-tabs-panel">
|
|
9334
9334
|
<ng-content></ng-content>
|
|
9335
9335
|
<ng-container *ngFor="let tab of dynamicTabs; trackBy: trackByTab">
|
|
9336
9336
|
<ptech-tab [active]="tab.active" [template]="tab.template" [data]="tab.data"></ptech-tab>
|
|
9337
9337
|
</ng-container>
|
|
9338
9338
|
</mat-tab-nav-panel>
|
|
9339
|
-
`, isInline: true, styles: [":host{display:block}.ptech-tabs-nav.scrollable{overflow-x:auto;overflow-y:hidden}a[mat-tab-link]{display:inline-flex;align-items:center;gap:6px;min-width:max-content}.badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--app-chip-bg, rgba(0,0,0,.08));font-size:12px}\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: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4$4.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["fitInkBarToContent", "mat-stretch-tabs", "animationDuration", "backgroundColor", "disableRipple", "color", "tabPanel"], exportAs: ["matTabNavBar", "matTabNav"] }, { kind: "component", type: i4$4.MatTabNavPanel, selector: "mat-tab-nav-panel", inputs: ["id"], exportAs: ["matTabNavPanel"] }, { kind: "component", type: i4$4.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["active", "disabled", "disableRipple", "tabIndex", "id"], exportAs: ["matTabLink"] }, { kind: "component", type: PtechTabComponent, selector: "ptech-tab", inputs: ["index", "label", "icon", "badge", "counter", "active", "closeable", "disabled", "template", "data", "routerLink"], outputs: ["selectionChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9339
|
+
`, isInline: true, styles: [":host{display:block}.ptech-tabs-nav.scrollable{overflow-x:auto;overflow-y:hidden}.ptech-tabs-panel{display:block;padding-top:var(--ptech-tabs-content-gap, 24px)}a[mat-tab-link]{display:inline-flex;align-items:center;gap:6px;min-width:max-content}.badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--app-chip-bg, rgba(0,0,0,.08));font-size:12px}\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: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4$4.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["fitInkBarToContent", "mat-stretch-tabs", "animationDuration", "backgroundColor", "disableRipple", "color", "tabPanel"], exportAs: ["matTabNavBar", "matTabNav"] }, { kind: "component", type: i4$4.MatTabNavPanel, selector: "mat-tab-nav-panel", inputs: ["id"], exportAs: ["matTabNavPanel"] }, { kind: "component", type: i4$4.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["active", "disabled", "disableRipple", "tabIndex", "id"], exportAs: ["matTabLink"] }, { kind: "component", type: PtechTabComponent, selector: "ptech-tab", inputs: ["index", "label", "icon", "badge", "counter", "active", "closeable", "disabled", "template", "data", "routerLink"], outputs: ["selectionChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9340
9340
|
}
|
|
9341
9341
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PtechTabsComponent, decorators: [{
|
|
9342
9342
|
type: Component,
|
|
@@ -9367,13 +9367,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9367
9367
|
</a>
|
|
9368
9368
|
</nav>
|
|
9369
9369
|
|
|
9370
|
-
<mat-tab-nav-panel #tabPanel>
|
|
9370
|
+
<mat-tab-nav-panel #tabPanel class="ptech-tabs-panel">
|
|
9371
9371
|
<ng-content></ng-content>
|
|
9372
9372
|
<ng-container *ngFor="let tab of dynamicTabs; trackBy: trackByTab">
|
|
9373
9373
|
<ptech-tab [active]="tab.active" [template]="tab.template" [data]="tab.data"></ptech-tab>
|
|
9374
9374
|
</ng-container>
|
|
9375
9375
|
</mat-tab-nav-panel>
|
|
9376
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}.ptech-tabs-nav.scrollable{overflow-x:auto;overflow-y:hidden}a[mat-tab-link]{display:inline-flex;align-items:center;gap:6px;min-width:max-content}.badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--app-chip-bg, rgba(0,0,0,.08));font-size:12px}\n"] }]
|
|
9376
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}.ptech-tabs-nav.scrollable{overflow-x:auto;overflow-y:hidden}.ptech-tabs-panel{display:block;padding-top:var(--ptech-tabs-content-gap, 24px)}a[mat-tab-link]{display:inline-flex;align-items:center;gap:6px;min-width:max-content}.badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--app-chip-bg, rgba(0,0,0,.08));font-size:12px}\n"] }]
|
|
9377
9377
|
}], propDecorators: { tabs: [{
|
|
9378
9378
|
type: ContentChildren,
|
|
9379
9379
|
args: [PtechTabComponent]
|
|
@@ -9509,6 +9509,249 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9509
9509
|
type: Input
|
|
9510
9510
|
}] } });
|
|
9511
9511
|
|
|
9512
|
+
const SWIPE_THRESHOLD_PX = 40;
|
|
9513
|
+
class PtechCarouselComponent {
|
|
9514
|
+
cdr;
|
|
9515
|
+
items = [];
|
|
9516
|
+
autoPlay = true;
|
|
9517
|
+
interval = 5000;
|
|
9518
|
+
loop = true;
|
|
9519
|
+
pauseOnHover = true;
|
|
9520
|
+
showIndicators = true;
|
|
9521
|
+
showNavigation = true;
|
|
9522
|
+
ariaLabel = 'Carrossel';
|
|
9523
|
+
itemClick = new EventEmitter();
|
|
9524
|
+
activeIndexChange = new EventEmitter();
|
|
9525
|
+
activeIndex = 0;
|
|
9526
|
+
timerId;
|
|
9527
|
+
isPaused = false;
|
|
9528
|
+
touchStartX = null;
|
|
9529
|
+
constructor(cdr) {
|
|
9530
|
+
this.cdr = cdr;
|
|
9531
|
+
}
|
|
9532
|
+
ngOnChanges(changes) {
|
|
9533
|
+
if (this.activeIndex >= this.items.length) {
|
|
9534
|
+
this.activeIndex = 0;
|
|
9535
|
+
}
|
|
9536
|
+
this.restartAutoPlay();
|
|
9537
|
+
}
|
|
9538
|
+
ngOnDestroy() {
|
|
9539
|
+
this.stopAutoPlay();
|
|
9540
|
+
}
|
|
9541
|
+
onMouseEnter() {
|
|
9542
|
+
if (this.pauseOnHover)
|
|
9543
|
+
this.isPaused = true;
|
|
9544
|
+
}
|
|
9545
|
+
onMouseLeave() {
|
|
9546
|
+
if (this.pauseOnHover)
|
|
9547
|
+
this.isPaused = false;
|
|
9548
|
+
}
|
|
9549
|
+
onKeydown(event) {
|
|
9550
|
+
if (event.key === 'ArrowLeft') {
|
|
9551
|
+
this.prev();
|
|
9552
|
+
event.preventDefault();
|
|
9553
|
+
}
|
|
9554
|
+
else if (event.key === 'ArrowRight') {
|
|
9555
|
+
this.next();
|
|
9556
|
+
event.preventDefault();
|
|
9557
|
+
}
|
|
9558
|
+
}
|
|
9559
|
+
next() {
|
|
9560
|
+
if (!this.items.length)
|
|
9561
|
+
return;
|
|
9562
|
+
if (this.activeIndex < this.items.length - 1) {
|
|
9563
|
+
this.setActiveIndex(this.activeIndex + 1);
|
|
9564
|
+
}
|
|
9565
|
+
else if (this.loop) {
|
|
9566
|
+
this.setActiveIndex(0);
|
|
9567
|
+
}
|
|
9568
|
+
}
|
|
9569
|
+
prev() {
|
|
9570
|
+
if (!this.items.length)
|
|
9571
|
+
return;
|
|
9572
|
+
if (this.activeIndex > 0) {
|
|
9573
|
+
this.setActiveIndex(this.activeIndex - 1);
|
|
9574
|
+
}
|
|
9575
|
+
else if (this.loop) {
|
|
9576
|
+
this.setActiveIndex(this.items.length - 1);
|
|
9577
|
+
}
|
|
9578
|
+
}
|
|
9579
|
+
goTo(index) {
|
|
9580
|
+
this.setActiveIndex(index);
|
|
9581
|
+
}
|
|
9582
|
+
onTouchStart(event) {
|
|
9583
|
+
this.touchStartX = event.touches[0]?.clientX ?? null;
|
|
9584
|
+
}
|
|
9585
|
+
onTouchEnd(event) {
|
|
9586
|
+
if (this.touchStartX === null)
|
|
9587
|
+
return;
|
|
9588
|
+
const endX = event.changedTouches[0]?.clientX ?? this.touchStartX;
|
|
9589
|
+
const deltaX = endX - this.touchStartX;
|
|
9590
|
+
if (deltaX > SWIPE_THRESHOLD_PX) {
|
|
9591
|
+
this.prev();
|
|
9592
|
+
}
|
|
9593
|
+
else if (deltaX < -SWIPE_THRESHOLD_PX) {
|
|
9594
|
+
this.next();
|
|
9595
|
+
}
|
|
9596
|
+
this.touchStartX = null;
|
|
9597
|
+
}
|
|
9598
|
+
onItemAction(item) {
|
|
9599
|
+
this.itemClick.emit(item);
|
|
9600
|
+
}
|
|
9601
|
+
trackByItem = (_, item) => item.id ?? item.image ?? item.title;
|
|
9602
|
+
setActiveIndex(index) {
|
|
9603
|
+
this.activeIndex = index;
|
|
9604
|
+
this.activeIndexChange.emit(index);
|
|
9605
|
+
}
|
|
9606
|
+
restartAutoPlay() {
|
|
9607
|
+
this.stopAutoPlay();
|
|
9608
|
+
if (this.autoPlay && this.items.length > 1) {
|
|
9609
|
+
this.timerId = setInterval(() => {
|
|
9610
|
+
if (!this.isPaused) {
|
|
9611
|
+
this.next();
|
|
9612
|
+
this.cdr.markForCheck();
|
|
9613
|
+
}
|
|
9614
|
+
}, this.interval);
|
|
9615
|
+
}
|
|
9616
|
+
}
|
|
9617
|
+
stopAutoPlay() {
|
|
9618
|
+
if (this.timerId) {
|
|
9619
|
+
clearInterval(this.timerId);
|
|
9620
|
+
this.timerId = undefined;
|
|
9621
|
+
}
|
|
9622
|
+
}
|
|
9623
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PtechCarouselComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9624
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: PtechCarouselComponent, isStandalone: true, selector: "ptech-carousel", inputs: { items: "items", autoPlay: "autoPlay", interval: "interval", loop: "loop", pauseOnHover: "pauseOnHover", showIndicators: "showIndicators", showNavigation: "showNavigation", ariaLabel: "ariaLabel" }, outputs: { itemClick: "itemClick", activeIndexChange: "activeIndexChange" }, usesOnChanges: true, ngImport: i0, template: `
|
|
9625
|
+
<div class="ptech-carousel"
|
|
9626
|
+
role="region"
|
|
9627
|
+
[attr.aria-roledescription]="'carousel'"
|
|
9628
|
+
[attr.aria-label]="ariaLabel"
|
|
9629
|
+
tabindex="0"
|
|
9630
|
+
(mouseenter)="onMouseEnter()"
|
|
9631
|
+
(mouseleave)="onMouseLeave()"
|
|
9632
|
+
(touchstart)="onTouchStart($event)"
|
|
9633
|
+
(touchend)="onTouchEnd($event)"
|
|
9634
|
+
(keydown)="onKeydown($event)">
|
|
9635
|
+
|
|
9636
|
+
<div class="ptech-carousel__viewport">
|
|
9637
|
+
<div class="ptech-carousel__track" [style.transform]="'translateX(' + (-activeIndex * 100) + '%)'">
|
|
9638
|
+
<div class="ptech-carousel__slide"
|
|
9639
|
+
*ngFor="let item of items; let i = index; trackBy: trackByItem"
|
|
9640
|
+
[attr.aria-hidden]="i !== activeIndex"
|
|
9641
|
+
[attr.aria-roledescription]="'slide'"
|
|
9642
|
+
[attr.aria-label]="(i + 1) + ' / ' + items.length">
|
|
9643
|
+
<img *ngIf="item.image" [src]="item.image" [alt]="item.alt || item.title || ''" class="ptech-carousel__image" />
|
|
9644
|
+
<div class="ptech-carousel__fallback" *ngIf="!item.image">
|
|
9645
|
+
<ptech-icon icon="image"></ptech-icon>
|
|
9646
|
+
</div>
|
|
9647
|
+
<div class="ptech-carousel__caption" *ngIf="item.title || item.description || item.actionLabel">
|
|
9648
|
+
<h3 *ngIf="item.title">{{ item.title }}</h3>
|
|
9649
|
+
<p *ngIf="item.description">{{ item.description }}</p>
|
|
9650
|
+
<button type="button"
|
|
9651
|
+
*ngIf="item.actionLabel"
|
|
9652
|
+
class="ptech-carousel__action"
|
|
9653
|
+
(click)="onItemAction(item)">{{ item.actionLabel }}</button>
|
|
9654
|
+
</div>
|
|
9655
|
+
</div>
|
|
9656
|
+
</div>
|
|
9657
|
+
</div>
|
|
9658
|
+
|
|
9659
|
+
<button type="button" class="ptech-carousel__nav ptech-carousel__nav--prev" (click)="prev()" aria-label="Slide anterior" *ngIf="showNavigation && items.length > 1">
|
|
9660
|
+
<mat-icon>chevron_left</mat-icon>
|
|
9661
|
+
</button>
|
|
9662
|
+
<button type="button" class="ptech-carousel__nav ptech-carousel__nav--next" (click)="next()" aria-label="Próximo slide" *ngIf="showNavigation && items.length > 1">
|
|
9663
|
+
<mat-icon>chevron_right</mat-icon>
|
|
9664
|
+
</button>
|
|
9665
|
+
|
|
9666
|
+
<div class="ptech-carousel__indicators" *ngIf="showIndicators && items.length > 1">
|
|
9667
|
+
<button type="button"
|
|
9668
|
+
*ngFor="let item of items; let i = index; trackBy: trackByItem"
|
|
9669
|
+
class="ptech-carousel__dot"
|
|
9670
|
+
[class.ptech-carousel__dot--active]="i === activeIndex"
|
|
9671
|
+
(click)="goTo(i)"
|
|
9672
|
+
[attr.aria-label]="'Ir para o slide ' + (i + 1)"
|
|
9673
|
+
[attr.aria-current]="i === activeIndex"></button>
|
|
9674
|
+
</div>
|
|
9675
|
+
</div>
|
|
9676
|
+
`, isInline: true, styles: [":host{display:block;min-width:0}.ptech-carousel{position:relative;width:100%;min-width:0;border-radius:var(--ptech-carousel-radius, var(--app-radius-lg, 12px));overflow:hidden;background:var(--ptech-carousel-bg, var(--app-surface, #ffffff));box-shadow:var(--ptech-carousel-shadow, var(--app-shadow-sm, 0 8px 24px rgba(15, 23, 42, .08)));touch-action:pan-y;outline:none}.ptech-carousel:focus-visible{box-shadow:0 0 0 3px var(--app-primary, #3f51b5)}.ptech-carousel__viewport{overflow:hidden;width:100%;min-width:0;contain:layout paint}.ptech-carousel__track{display:flex;min-width:0;transition:transform .4s ease}@media (prefers-reduced-motion: reduce){.ptech-carousel__track{transition:none}}.ptech-carousel__slide{flex:0 0 100%;min-width:100%;position:relative}.ptech-carousel__image{width:100%;height:100%;max-height:360px;object-fit:cover;display:block}.ptech-carousel__fallback{width:100%;height:240px;display:grid;place-items:center;background:var(--app-chip-bg, rgba(0,0,0,.06));color:var(--app-text-muted, rgba(0,0,0,.4))}.ptech-carousel__fallback ptech-icon{font-size:48px}.ptech-carousel__caption{position:absolute;left:0;right:0;bottom:0;padding:var(--app-space-6, 24px);background:linear-gradient(0deg,#061326d1,#06132600);color:#fff}.ptech-carousel__caption h3{margin:0 0 8px;font-size:22px;font-weight:700}.ptech-carousel__caption p{margin:0 0 12px;font-size:15px;opacity:.9;max-width:520px}.ptech-carousel__action{display:inline-block;border:0;cursor:pointer;padding:8px 18px;border-radius:var(--app-radius-md, 8px);background:var(--app-primary, #3f51b5);color:#fff;font-weight:600;font-size:14px}.ptech-carousel__nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:#ffffffe6;color:#111827;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 12px #0f172a2e;z-index:2}.ptech-carousel__nav--prev{left:12px}.ptech-carousel__nav--next{right:12px}.ptech-carousel__indicators{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:8px;z-index:2}.ptech-carousel__dot{width:8px;height:8px;border-radius:50%;border:0;background:#ffffff8c;cursor:pointer;padding:0}.ptech-carousel__dot--active{background:#fff;width:22px;border-radius:4px}@media (max-width: 600px){.ptech-carousel__image,.ptech-carousel__fallback{max-height:220px}.ptech-carousel__caption{padding:var(--app-space-4, 16px)}.ptech-carousel__caption h3{font-size:18px}.ptech-carousel__caption p{font-size:13px}.ptech-carousel__nav{width:34px;height:34px}}\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$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: IconComponent, selector: "ptech-icon", inputs: ["icon", "color", "size", "ariaHidden", "ariaLabel", "col"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9677
|
+
}
|
|
9678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PtechCarouselComponent, decorators: [{
|
|
9679
|
+
type: Component,
|
|
9680
|
+
args: [{ selector: 'ptech-carousel', imports: [CoreMaterialModule, IconComponent], template: `
|
|
9681
|
+
<div class="ptech-carousel"
|
|
9682
|
+
role="region"
|
|
9683
|
+
[attr.aria-roledescription]="'carousel'"
|
|
9684
|
+
[attr.aria-label]="ariaLabel"
|
|
9685
|
+
tabindex="0"
|
|
9686
|
+
(mouseenter)="onMouseEnter()"
|
|
9687
|
+
(mouseleave)="onMouseLeave()"
|
|
9688
|
+
(touchstart)="onTouchStart($event)"
|
|
9689
|
+
(touchend)="onTouchEnd($event)"
|
|
9690
|
+
(keydown)="onKeydown($event)">
|
|
9691
|
+
|
|
9692
|
+
<div class="ptech-carousel__viewport">
|
|
9693
|
+
<div class="ptech-carousel__track" [style.transform]="'translateX(' + (-activeIndex * 100) + '%)'">
|
|
9694
|
+
<div class="ptech-carousel__slide"
|
|
9695
|
+
*ngFor="let item of items; let i = index; trackBy: trackByItem"
|
|
9696
|
+
[attr.aria-hidden]="i !== activeIndex"
|
|
9697
|
+
[attr.aria-roledescription]="'slide'"
|
|
9698
|
+
[attr.aria-label]="(i + 1) + ' / ' + items.length">
|
|
9699
|
+
<img *ngIf="item.image" [src]="item.image" [alt]="item.alt || item.title || ''" class="ptech-carousel__image" />
|
|
9700
|
+
<div class="ptech-carousel__fallback" *ngIf="!item.image">
|
|
9701
|
+
<ptech-icon icon="image"></ptech-icon>
|
|
9702
|
+
</div>
|
|
9703
|
+
<div class="ptech-carousel__caption" *ngIf="item.title || item.description || item.actionLabel">
|
|
9704
|
+
<h3 *ngIf="item.title">{{ item.title }}</h3>
|
|
9705
|
+
<p *ngIf="item.description">{{ item.description }}</p>
|
|
9706
|
+
<button type="button"
|
|
9707
|
+
*ngIf="item.actionLabel"
|
|
9708
|
+
class="ptech-carousel__action"
|
|
9709
|
+
(click)="onItemAction(item)">{{ item.actionLabel }}</button>
|
|
9710
|
+
</div>
|
|
9711
|
+
</div>
|
|
9712
|
+
</div>
|
|
9713
|
+
</div>
|
|
9714
|
+
|
|
9715
|
+
<button type="button" class="ptech-carousel__nav ptech-carousel__nav--prev" (click)="prev()" aria-label="Slide anterior" *ngIf="showNavigation && items.length > 1">
|
|
9716
|
+
<mat-icon>chevron_left</mat-icon>
|
|
9717
|
+
</button>
|
|
9718
|
+
<button type="button" class="ptech-carousel__nav ptech-carousel__nav--next" (click)="next()" aria-label="Próximo slide" *ngIf="showNavigation && items.length > 1">
|
|
9719
|
+
<mat-icon>chevron_right</mat-icon>
|
|
9720
|
+
</button>
|
|
9721
|
+
|
|
9722
|
+
<div class="ptech-carousel__indicators" *ngIf="showIndicators && items.length > 1">
|
|
9723
|
+
<button type="button"
|
|
9724
|
+
*ngFor="let item of items; let i = index; trackBy: trackByItem"
|
|
9725
|
+
class="ptech-carousel__dot"
|
|
9726
|
+
[class.ptech-carousel__dot--active]="i === activeIndex"
|
|
9727
|
+
(click)="goTo(i)"
|
|
9728
|
+
[attr.aria-label]="'Ir para o slide ' + (i + 1)"
|
|
9729
|
+
[attr.aria-current]="i === activeIndex"></button>
|
|
9730
|
+
</div>
|
|
9731
|
+
</div>
|
|
9732
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;min-width:0}.ptech-carousel{position:relative;width:100%;min-width:0;border-radius:var(--ptech-carousel-radius, var(--app-radius-lg, 12px));overflow:hidden;background:var(--ptech-carousel-bg, var(--app-surface, #ffffff));box-shadow:var(--ptech-carousel-shadow, var(--app-shadow-sm, 0 8px 24px rgba(15, 23, 42, .08)));touch-action:pan-y;outline:none}.ptech-carousel:focus-visible{box-shadow:0 0 0 3px var(--app-primary, #3f51b5)}.ptech-carousel__viewport{overflow:hidden;width:100%;min-width:0;contain:layout paint}.ptech-carousel__track{display:flex;min-width:0;transition:transform .4s ease}@media (prefers-reduced-motion: reduce){.ptech-carousel__track{transition:none}}.ptech-carousel__slide{flex:0 0 100%;min-width:100%;position:relative}.ptech-carousel__image{width:100%;height:100%;max-height:360px;object-fit:cover;display:block}.ptech-carousel__fallback{width:100%;height:240px;display:grid;place-items:center;background:var(--app-chip-bg, rgba(0,0,0,.06));color:var(--app-text-muted, rgba(0,0,0,.4))}.ptech-carousel__fallback ptech-icon{font-size:48px}.ptech-carousel__caption{position:absolute;left:0;right:0;bottom:0;padding:var(--app-space-6, 24px);background:linear-gradient(0deg,#061326d1,#06132600);color:#fff}.ptech-carousel__caption h3{margin:0 0 8px;font-size:22px;font-weight:700}.ptech-carousel__caption p{margin:0 0 12px;font-size:15px;opacity:.9;max-width:520px}.ptech-carousel__action{display:inline-block;border:0;cursor:pointer;padding:8px 18px;border-radius:var(--app-radius-md, 8px);background:var(--app-primary, #3f51b5);color:#fff;font-weight:600;font-size:14px}.ptech-carousel__nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:#ffffffe6;color:#111827;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 12px #0f172a2e;z-index:2}.ptech-carousel__nav--prev{left:12px}.ptech-carousel__nav--next{right:12px}.ptech-carousel__indicators{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:8px;z-index:2}.ptech-carousel__dot{width:8px;height:8px;border-radius:50%;border:0;background:#ffffff8c;cursor:pointer;padding:0}.ptech-carousel__dot--active{background:#fff;width:22px;border-radius:4px}@media (max-width: 600px){.ptech-carousel__image,.ptech-carousel__fallback{max-height:220px}.ptech-carousel__caption{padding:var(--app-space-4, 16px)}.ptech-carousel__caption h3{font-size:18px}.ptech-carousel__caption p{font-size:13px}.ptech-carousel__nav{width:34px;height:34px}}\n"] }]
|
|
9733
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { items: [{
|
|
9734
|
+
type: Input
|
|
9735
|
+
}], autoPlay: [{
|
|
9736
|
+
type: Input
|
|
9737
|
+
}], interval: [{
|
|
9738
|
+
type: Input
|
|
9739
|
+
}], loop: [{
|
|
9740
|
+
type: Input
|
|
9741
|
+
}], pauseOnHover: [{
|
|
9742
|
+
type: Input
|
|
9743
|
+
}], showIndicators: [{
|
|
9744
|
+
type: Input
|
|
9745
|
+
}], showNavigation: [{
|
|
9746
|
+
type: Input
|
|
9747
|
+
}], ariaLabel: [{
|
|
9748
|
+
type: Input
|
|
9749
|
+
}], itemClick: [{
|
|
9750
|
+
type: Output
|
|
9751
|
+
}], activeIndexChange: [{
|
|
9752
|
+
type: Output
|
|
9753
|
+
}] } });
|
|
9754
|
+
|
|
9512
9755
|
class SnackbarMessageService {
|
|
9513
9756
|
snackBar;
|
|
9514
9757
|
constructor(snackBar) {
|
|
@@ -9613,7 +9856,8 @@ class PumpkinTechModule {
|
|
|
9613
9856
|
PtechTabsComponent,
|
|
9614
9857
|
PtechTabComponent,
|
|
9615
9858
|
PtechPopoverComponent,
|
|
9616
|
-
PtechWidgetMenuComponent
|
|
9859
|
+
PtechWidgetMenuComponent,
|
|
9860
|
+
PtechCarouselComponent], exports: [
|
|
9617
9861
|
// reexporta tudo junto
|
|
9618
9862
|
InputComponent,
|
|
9619
9863
|
TextareaComponent,
|
|
@@ -9660,6 +9904,7 @@ class PumpkinTechModule {
|
|
|
9660
9904
|
PtechTabComponent,
|
|
9661
9905
|
PtechPopoverComponent,
|
|
9662
9906
|
PtechWidgetMenuComponent,
|
|
9907
|
+
PtechCarouselComponent,
|
|
9663
9908
|
CoreMaterialModule] });
|
|
9664
9909
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PumpkinTechModule, providers: [
|
|
9665
9910
|
{
|
|
@@ -9711,7 +9956,8 @@ class PumpkinTechModule {
|
|
|
9711
9956
|
PtechTabsComponent,
|
|
9712
9957
|
PtechTabComponent,
|
|
9713
9958
|
PtechPopoverComponent,
|
|
9714
|
-
PtechWidgetMenuComponent,
|
|
9959
|
+
PtechWidgetMenuComponent,
|
|
9960
|
+
PtechCarouselComponent, CoreMaterialModule] });
|
|
9715
9961
|
}
|
|
9716
9962
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PumpkinTechModule, decorators: [{
|
|
9717
9963
|
type: NgModule,
|
|
@@ -9764,7 +10010,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9764
10010
|
PtechTabsComponent,
|
|
9765
10011
|
PtechTabComponent,
|
|
9766
10012
|
PtechPopoverComponent,
|
|
9767
|
-
PtechWidgetMenuComponent
|
|
10013
|
+
PtechWidgetMenuComponent,
|
|
10014
|
+
PtechCarouselComponent
|
|
9768
10015
|
],
|
|
9769
10016
|
exports: [
|
|
9770
10017
|
// reexporta tudo junto
|
|
@@ -9813,6 +10060,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9813
10060
|
PtechTabComponent,
|
|
9814
10061
|
PtechPopoverComponent,
|
|
9815
10062
|
PtechWidgetMenuComponent,
|
|
10063
|
+
PtechCarouselComponent,
|
|
9816
10064
|
CoreMaterialModule,
|
|
9817
10065
|
],
|
|
9818
10066
|
providers: [
|
|
@@ -11257,5 +11505,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
11257
11505
|
* Generated bundle index. Do not edit.
|
|
11258
11506
|
*/
|
|
11259
11507
|
|
|
11260
|
-
export { ActionDialogComponent, ActionResultDialogComponent, ActionRowComponent, AlertComponent, ArrayUtil, BREADCRUMB_PREFIX$, BadgeComponent, BadgeStackComponent, BreadcrumbComponent, BreadcrumbService, ButtonComponent, CardComponent, CheckBoxComponent, ClickCatcherDirective, ConfirmationDialogComponent, CoreMaterialModule, CurrencyBrlPipe, CurrencyPreferenceService, CurrencyUtil, DateAgoPipe, DateMaskDirective, DateUtil, DefaultConsoleMessageService, DefaultMessageService, DialogService, DialogShellComponent, DirectivesModule, DocumentUtil, DynamicTabDirective, ExpansionPanelComponent, FakeDataService, FlagComponent, FooterComponent, ForDirective, GetFirstStringBeforeSpacePipe, HeaderComponent, IconComponent, InfoDetailComponent, InfoDetailDialogComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputTimeComponent, IsLongerThanPipe, LineBreakAfterPeriodPipe, LineBreakAfterPipe, ListPaginationComponent, LoadingOverlayComponent, LoadingService, LowerCaseDirective, MESSAGE_SERVICE, MY_DATE_FORMATS, MemoryFormatPipe, ModuleChangeService, NavComponent, NavService, NumberUtil, ObjectUtil, PhoneBrazilPipe, PhoneMaskBrazilDirective, PhoneMaskSpainDirective, PhoneSpainPipe, PipesModule, ProfileMenuComponent, ProgressBarComponent, ProgressBarMultipleComponent, PtechAutocompleteComponent, PtechColDirective, PtechDualListboxComponent, PtechGridDirective, PtechInputFileComponent, PtechPopoverComponent, PtechTabComponent, PtechTableColumnBuilder, PtechTabsComponent, PtechWidgetMenuComponent, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
|
|
11508
|
+
export { ActionDialogComponent, ActionResultDialogComponent, ActionRowComponent, AlertComponent, ArrayUtil, BREADCRUMB_PREFIX$, BadgeComponent, BadgeStackComponent, BreadcrumbComponent, BreadcrumbService, ButtonComponent, CardComponent, CheckBoxComponent, ClickCatcherDirective, ConfirmationDialogComponent, CoreMaterialModule, CurrencyBrlPipe, CurrencyPreferenceService, CurrencyUtil, DateAgoPipe, DateMaskDirective, DateUtil, DefaultConsoleMessageService, DefaultMessageService, DialogService, DialogShellComponent, DirectivesModule, DocumentUtil, DynamicTabDirective, ExpansionPanelComponent, FakeDataService, FlagComponent, FooterComponent, ForDirective, GetFirstStringBeforeSpacePipe, HeaderComponent, IconComponent, InfoDetailComponent, InfoDetailDialogComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputTimeComponent, IsLongerThanPipe, LineBreakAfterPeriodPipe, LineBreakAfterPipe, ListPaginationComponent, LoadingOverlayComponent, LoadingService, LowerCaseDirective, MESSAGE_SERVICE, MY_DATE_FORMATS, MemoryFormatPipe, ModuleChangeService, NavComponent, NavService, NumberUtil, ObjectUtil, PhoneBrazilPipe, PhoneMaskBrazilDirective, PhoneMaskSpainDirective, PhoneSpainPipe, PipesModule, ProfileMenuComponent, ProgressBarComponent, ProgressBarMultipleComponent, PtechAutocompleteComponent, PtechCarouselComponent, PtechColDirective, PtechDualListboxComponent, PtechGridDirective, PtechInputFileComponent, PtechPopoverComponent, PtechTabComponent, PtechTableColumnBuilder, PtechTabsComponent, PtechWidgetMenuComponent, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
|
|
11261
11509
|
//# sourceMappingURL=pumpkin-tech-pumpkin-tech-ng.mjs.map
|