@pumpkin-tech/pumpkin-tech-ng 0.2.13 → 0.2.15
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.
|
@@ -134,22 +134,16 @@ class PtechGridDirective {
|
|
|
134
134
|
this.columns = `repeat(${cols}, minmax(0, 1fr))`;
|
|
135
135
|
}
|
|
136
136
|
resolveColsForBp() {
|
|
137
|
-
const
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
137
|
+
const map = {
|
|
138
|
+
xs: this.asNum(this.ptechColsXs),
|
|
139
|
+
sm: this.asNum(this.ptechColsSm),
|
|
140
|
+
md: this.asNum(this.ptechColsMd),
|
|
141
|
+
lg: this.asNum(this.ptechColsLg),
|
|
142
|
+
xl: this.asNum(this.ptechColsXl),
|
|
143
|
+
};
|
|
142
144
|
const bp = this.activeBp;
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
switch (bp) {
|
|
146
|
-
case 'xl': return xl ?? lg ?? md ?? sm ?? xs ?? this._cols ?? 12;
|
|
147
|
-
case 'lg': return lg ?? md ?? sm ?? xs ?? this._cols ?? 12;
|
|
148
|
-
case 'md': return md ?? sm ?? xs ?? this._cols ?? 12;
|
|
149
|
-
case 'sm': return sm ?? xs ?? this._cols ?? 12;
|
|
150
|
-
case 'xs': return xs ?? this._cols ?? 12;
|
|
151
|
-
default: return this._cols ?? 12;
|
|
152
|
-
}
|
|
145
|
+
const span = bp ? map[bp] : undefined;
|
|
146
|
+
return span ?? this._cols ?? 12;
|
|
153
147
|
}
|
|
154
148
|
asNum(v, fallback) {
|
|
155
149
|
if (v === null || v === undefined || v === '')
|
|
@@ -307,28 +301,16 @@ class PtechColDirective {
|
|
|
307
301
|
this.gridColumn = `auto / span ${span}`;
|
|
308
302
|
}
|
|
309
303
|
resolveColForBp() {
|
|
310
|
-
const
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
304
|
+
const map = {
|
|
305
|
+
xs: this.asNum(this.ptechColXs),
|
|
306
|
+
sm: this.asNum(this.ptechColSm),
|
|
307
|
+
md: this.asNum(this.ptechColMd),
|
|
308
|
+
lg: this.asNum(this.ptechColLg),
|
|
309
|
+
xl: this.asNum(this.ptechColXl),
|
|
310
|
+
};
|
|
315
311
|
const bp = this.activeBp;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
// Cascata mobile-first:
|
|
319
|
-
// xl -> lg -> md -> sm -> xs -> base
|
|
320
|
-
// lg -> md -> sm -> xs -> base
|
|
321
|
-
// md -> sm -> xs -> base
|
|
322
|
-
// sm -> xs -> base
|
|
323
|
-
// xs -> base
|
|
324
|
-
switch (bp) {
|
|
325
|
-
case 'xl': return xl ?? lg ?? md ?? sm ?? xs ?? this._col ?? 12;
|
|
326
|
-
case 'lg': return lg ?? md ?? sm ?? xs ?? this._col ?? 12;
|
|
327
|
-
case 'md': return md ?? sm ?? xs ?? this._col ?? 12;
|
|
328
|
-
case 'sm': return sm ?? xs ?? this._col ?? 12;
|
|
329
|
-
case 'xs': return xs ?? this._col ?? 12;
|
|
330
|
-
default: return this._col ?? 12;
|
|
331
|
-
}
|
|
312
|
+
const span = bp ? map[bp] : undefined;
|
|
313
|
+
return span ?? this._col ?? 12;
|
|
332
314
|
}
|
|
333
315
|
asNum(v, fallback) {
|
|
334
316
|
if (v === null || v === undefined || v === '')
|
|
@@ -1018,7 +1000,7 @@ class TextareaComponent extends BaseField {
|
|
|
1018
1000
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
1019
1001
|
</mat-form-field>
|
|
1020
1002
|
</div>
|
|
1021
|
-
`, isInline: true, styles: [".ptech-textarea-container{width:100%;display:flex;flex-direction:column}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field textarea.mat-mdc-input-element,:host ::ng-deep .ptech-form-field textarea.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}textarea[matInput].stretch{width:100%;box-sizing:border-box}.ptech-form-field.shrink-width{width:auto;max-width:100%;display:inline-block}textarea[matInput].resizable-h{width:100%;min-width:100%;max-width:100%;box-sizing:border-box}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1003
|
+
`, isInline: true, styles: [".ptech-textarea-container{width:100%;display:flex;flex-direction:column}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .ptech-form-field textarea.mat-mdc-input-element,:host ::ng-deep .ptech-form-field textarea.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}textarea[matInput].stretch{width:100%;box-sizing:border-box}.ptech-form-field.shrink-width{width:auto;max-width:100%;display:inline-block}textarea[matInput].resizable-h{width:100%;min-width:100%;max-width:100%;box-sizing:border-box}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1022
1004
|
}
|
|
1023
1005
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextareaComponent, decorators: [{
|
|
1024
1006
|
type: Component,
|
|
@@ -1063,7 +1045,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
1063
1045
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
1064
1046
|
</mat-form-field>
|
|
1065
1047
|
</div>
|
|
1066
|
-
`, styles: [".ptech-textarea-container{width:100%;display:flex;flex-direction:column}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field textarea.mat-mdc-input-element,:host ::ng-deep .ptech-form-field textarea.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}textarea[matInput].stretch{width:100%;box-sizing:border-box}.ptech-form-field.shrink-width{width:auto;max-width:100%;display:inline-block}textarea[matInput].resizable-h{width:100%;min-width:100%;max-width:100%;box-sizing:border-box}\n"] }]
|
|
1048
|
+
`, styles: [".ptech-textarea-container{width:100%;display:flex;flex-direction:column}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .ptech-form-field textarea.mat-mdc-input-element,:host ::ng-deep .ptech-form-field textarea.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}textarea[matInput].stretch{width:100%;box-sizing:border-box}.ptech-form-field.shrink-width{width:auto;max-width:100%;display:inline-block}textarea[matInput].resizable-h{width:100%;min-width:100%;max-width:100%;box-sizing:border-box}\n"] }]
|
|
1067
1049
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { taRef: [{
|
|
1068
1050
|
type: ViewChild,
|
|
1069
1051
|
args: ['ta', { static: false }]
|
|
@@ -5686,7 +5668,7 @@ class InputDateComponent extends BaseField {
|
|
|
5686
5668
|
</mat-form-field>
|
|
5687
5669
|
</div>
|
|
5688
5670
|
</div>
|
|
5689
|
-
`, isInline: true, styles: [".time{margin-left:15px}.field{width:100%}:host ::ng-deep .field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .field input.mat-mdc-input-element,:host ::ng-deep .field input.mdc-text-field__input,:host ::ng-deep .field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .field .mdc-floating-label,:host ::ng-deep .field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .field mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host ::ng-deep .field .mat-datepicker-toggle,:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button.mat-mdc-button-base{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button svg,:host ::ng-deep .field .mat-mdc-icon-button svg path{fill:var(--ptech-field-text, var(--app-text, inherit))!important}::ng-deep .ptech-date-panel{--mat-datepicker-calendar-container-background-color: var(--app-surface, #fff);--mat-datepicker-calendar-date-text-color: var(--app-text, inherit);--mat-datepicker-calendar-body-label-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-text-color: var(--app-text, inherit);--mat-datepicker-calendar-period-button-text-color: var(--app-text, inherit);--mat-datepicker-calendar-navigation-button-icon-color: var(--app-text, inherit);--mat-datepicker-calendar-date-disabled-state-text-color: var(--app-muted, #9ca3af);--mat-datepicker-calendar-container-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-container-background-color: var(--app-surface, #fff)}::ng-deep .ptech-date-panel,::ng-deep .ptech-date-panel.mat-datepicker-content,::ng-deep .ptech-date-panel.mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content-container,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content-container,::ng-deep .ptech-date-panel .mat-calendar,::ng-deep .ptech-date-panel .mat-calendar-content,::ng-deep .ptech-date-panel .mat-calendar-table{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-cell-content,::ng-deep .ptech-date-panel .mat-calendar-body-label,::ng-deep .ptech-date-panel .mat-calendar-table-header th,::ng-deep .ptech-date-panel .mat-calendar-period-button,::ng-deep .ptech-date-panel .mat-calendar-previous-button,::ng-deep .ptech-date-panel .mat-calendar-next-button{color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-arrow{border-top-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-header,::ng-deep .ptech-date-panel .mat-calendar-controls,::ng-deep .ptech-date-panel .mat-mdc-calendar-controls,::ng-deep .ptech-date-panel .mat-calendar-table-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header,::ng-deep .ptech-date-panel .mat-calendar-table-header-divider:after,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header-divider:after{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border-color:var(--app-border-color, rgba(0,0,0,.12))!important}:host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i3$4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i3$4.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i3$4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
5671
|
+
`, isInline: true, styles: [".time{margin-left:15px}.field{width:100%}:host ::ng-deep .field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .field input.mat-mdc-input-element,:host ::ng-deep .field input.mdc-text-field__input,:host ::ng-deep .field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .field .mdc-floating-label,:host ::ng-deep .field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .field mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host ::ng-deep .field .mat-datepicker-toggle,:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button.mat-mdc-button-base{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button svg,:host ::ng-deep .field .mat-mdc-icon-button svg path{fill:var(--ptech-field-text, var(--app-text, inherit))!important}::ng-deep .ptech-date-panel{--mat-datepicker-calendar-container-background-color: var(--app-surface, #fff);--mat-datepicker-calendar-date-text-color: var(--app-text, inherit);--mat-datepicker-calendar-body-label-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-text-color: var(--app-text, inherit);--mat-datepicker-calendar-period-button-text-color: var(--app-text, inherit);--mat-datepicker-calendar-navigation-button-icon-color: var(--app-text, inherit);--mat-datepicker-calendar-date-disabled-state-text-color: var(--app-muted, #9ca3af);--mat-datepicker-calendar-container-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-container-background-color: var(--app-surface, #fff)}::ng-deep .ptech-date-panel,::ng-deep .ptech-date-panel.mat-datepicker-content,::ng-deep .ptech-date-panel.mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content-container,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content-container,::ng-deep .ptech-date-panel .mat-calendar,::ng-deep .ptech-date-panel .mat-calendar-content,::ng-deep .ptech-date-panel .mat-calendar-table{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-cell-content,::ng-deep .ptech-date-panel .mat-calendar-body-label,::ng-deep .ptech-date-panel .mat-calendar-table-header th,::ng-deep .ptech-date-panel .mat-calendar-period-button,::ng-deep .ptech-date-panel .mat-calendar-previous-button,::ng-deep .ptech-date-panel .mat-calendar-next-button{color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-arrow{border-top-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-header,::ng-deep .ptech-date-panel .mat-calendar-controls,::ng-deep .ptech-date-panel .mat-mdc-calendar-controls,::ng-deep .ptech-date-panel .mat-calendar-table-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header,::ng-deep .ptech-date-panel .mat-calendar-table-header-divider:after,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header-divider:after{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border-color:var(--app-border-color, rgba(0,0,0,.12))!important}:host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i3$4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i3$4.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i3$4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
5690
5672
|
}
|
|
5691
5673
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputDateComponent, decorators: [{
|
|
5692
5674
|
type: Component,
|
|
@@ -5748,7 +5730,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5748
5730
|
provide: NG_VALUE_ACCESSOR,
|
|
5749
5731
|
useExisting: forwardRef(() => InputDateComponent),
|
|
5750
5732
|
multi: true
|
|
5751
|
-
}], styles: [".time{margin-left:15px}.field{width:100%}:host ::ng-deep .field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .field input.mat-mdc-input-element,:host ::ng-deep .field input.mdc-text-field__input,:host ::ng-deep .field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .field .mdc-floating-label,:host ::ng-deep .field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .field mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host ::ng-deep .field .mat-datepicker-toggle,:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button.mat-mdc-button-base{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button svg,:host ::ng-deep .field .mat-mdc-icon-button svg path{fill:var(--ptech-field-text, var(--app-text, inherit))!important}::ng-deep .ptech-date-panel{--mat-datepicker-calendar-container-background-color: var(--app-surface, #fff);--mat-datepicker-calendar-date-text-color: var(--app-text, inherit);--mat-datepicker-calendar-body-label-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-text-color: var(--app-text, inherit);--mat-datepicker-calendar-period-button-text-color: var(--app-text, inherit);--mat-datepicker-calendar-navigation-button-icon-color: var(--app-text, inherit);--mat-datepicker-calendar-date-disabled-state-text-color: var(--app-muted, #9ca3af);--mat-datepicker-calendar-container-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-container-background-color: var(--app-surface, #fff)}::ng-deep .ptech-date-panel,::ng-deep .ptech-date-panel.mat-datepicker-content,::ng-deep .ptech-date-panel.mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content-container,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content-container,::ng-deep .ptech-date-panel .mat-calendar,::ng-deep .ptech-date-panel .mat-calendar-content,::ng-deep .ptech-date-panel .mat-calendar-table{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-cell-content,::ng-deep .ptech-date-panel .mat-calendar-body-label,::ng-deep .ptech-date-panel .mat-calendar-table-header th,::ng-deep .ptech-date-panel .mat-calendar-period-button,::ng-deep .ptech-date-panel .mat-calendar-previous-button,::ng-deep .ptech-date-panel .mat-calendar-next-button{color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-arrow{border-top-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-header,::ng-deep .ptech-date-panel .mat-calendar-controls,::ng-deep .ptech-date-panel .mat-mdc-calendar-controls,::ng-deep .ptech-date-panel .mat-calendar-table-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header,::ng-deep .ptech-date-panel .mat-calendar-table-header-divider:after,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header-divider:after{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border-color:var(--app-border-color, rgba(0,0,0,.12))!important}:host{display:block}\n"] }]
|
|
5733
|
+
}], styles: [".time{margin-left:15px}.field{width:100%}:host ::ng-deep .field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .field input.mat-mdc-input-element,:host ::ng-deep .field input.mdc-text-field__input,:host ::ng-deep .field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .field .mdc-floating-label,:host ::ng-deep .field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .field mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}:host ::ng-deep .field .mat-datepicker-toggle,:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button.mat-mdc-button-base{color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .field .mat-datepicker-toggle-default-icon,:host ::ng-deep .field .mat-mdc-icon-button svg,:host ::ng-deep .field .mat-mdc-icon-button svg path{fill:var(--ptech-field-text, var(--app-text, inherit))!important}::ng-deep .ptech-date-panel{--mat-datepicker-calendar-container-background-color: var(--app-surface, #fff);--mat-datepicker-calendar-date-text-color: var(--app-text, inherit);--mat-datepicker-calendar-body-label-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-text-color: var(--app-text, inherit);--mat-datepicker-calendar-period-button-text-color: var(--app-text, inherit);--mat-datepicker-calendar-navigation-button-icon-color: var(--app-text, inherit);--mat-datepicker-calendar-date-disabled-state-text-color: var(--app-muted, #9ca3af);--mat-datepicker-calendar-container-text-color: var(--app-text, inherit);--mat-datepicker-calendar-header-container-background-color: var(--app-surface, #fff)}::ng-deep .ptech-date-panel,::ng-deep .ptech-date-panel.mat-datepicker-content,::ng-deep .ptech-date-panel.mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content,::ng-deep .ptech-date-panel .mat-datepicker-content-container,::ng-deep .ptech-date-panel .mat-mdc-datepicker-content-container,::ng-deep .ptech-date-panel .mat-calendar,::ng-deep .ptech-date-panel .mat-calendar-content,::ng-deep .ptech-date-panel .mat-calendar-table{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-cell-content,::ng-deep .ptech-date-panel .mat-calendar-body-label,::ng-deep .ptech-date-panel .mat-calendar-table-header th,::ng-deep .ptech-date-panel .mat-calendar-period-button,::ng-deep .ptech-date-panel .mat-calendar-previous-button,::ng-deep .ptech-date-panel .mat-calendar-next-button{color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-arrow{border-top-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:var(--app-text, inherit)!important}::ng-deep .ptech-date-panel .mat-calendar-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-header,::ng-deep .ptech-date-panel .mat-calendar-controls,::ng-deep .ptech-date-panel .mat-mdc-calendar-controls,::ng-deep .ptech-date-panel .mat-calendar-table-header,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header,::ng-deep .ptech-date-panel .mat-calendar-table-header-divider:after,::ng-deep .ptech-date-panel .mat-mdc-calendar-table-header-divider:after{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border-color:var(--app-border-color, rgba(0,0,0,.12))!important}:host{display:block}\n"] }]
|
|
5752
5734
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { inputDateElement: [{
|
|
5753
5735
|
type: ViewChild,
|
|
5754
5736
|
args: ['inputDateElement', { static: true }]
|
|
@@ -5902,7 +5884,7 @@ class InputTimeComponent extends BaseField {
|
|
|
5902
5884
|
|
|
5903
5885
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
5904
5886
|
</mat-form-field>
|
|
5905
|
-
`, isInline: true, styles: [":host{display:block;width:100%}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field input.mat-mdc-input-element,:host ::ng-deep .ptech-form-field input.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field .mat-mdc-icon-button.mat-mdc-button-base,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button .mat-icon,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg path{color:var(--ptech-field-text, var(--app-text, inherit))!important;fill:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: NgxMaterialTimepickerModule }, { kind: "component", type: i6.NgxMaterialTimepickerComponent, selector: "ngx-material-timepicker", inputs: ["cancelBtnTmpl", "editableHintTmpl", "confirmBtnTmpl", "ESC", "enableKeyboardInput", "preventOverlayClick", "disableAnimation", "appendToInput", "hoursOnly", "defaultTime", "timepickerClass", "theme", "min", "max", "ngxMaterialTimepickerTheme", "format", "minutesGap"], outputs: ["timeSet", "opened", "closed", "hourSelected", "timeChanged"] }, { kind: "component", type: i6.NgxMaterialTimepickerToggleComponent, selector: "ngx-material-timepicker-toggle", inputs: ["for", "disabled"] }, { kind: "directive", type: i6.TimepickerDirective, selector: "[ngxTimepicker]", inputs: ["format", "min", "max", "ngxTimepicker", "value", "disabled", "disableClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5887
|
+
`, isInline: true, styles: [":host{display:block;width:100%}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .ptech-form-field input.mat-mdc-input-element,:host ::ng-deep .ptech-form-field input.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field .mat-mdc-icon-button.mat-mdc-button-base,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button .mat-icon,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg path{color:var(--ptech-field-text, var(--app-text, inherit))!important;fill:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}\n"], dependencies: [{ kind: "ngmodule", type: CoreMaterialModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: NgxMaterialTimepickerModule }, { kind: "component", type: i6.NgxMaterialTimepickerComponent, selector: "ngx-material-timepicker", inputs: ["cancelBtnTmpl", "editableHintTmpl", "confirmBtnTmpl", "ESC", "enableKeyboardInput", "preventOverlayClick", "disableAnimation", "appendToInput", "hoursOnly", "defaultTime", "timepickerClass", "theme", "min", "max", "ngxMaterialTimepickerTheme", "format", "minutesGap"], outputs: ["timeSet", "opened", "closed", "hourSelected", "timeChanged"] }, { kind: "component", type: i6.NgxMaterialTimepickerToggleComponent, selector: "ngx-material-timepicker-toggle", inputs: ["for", "disabled"] }, { kind: "directive", type: i6.TimepickerDirective, selector: "[ngxTimepicker]", inputs: ["format", "min", "max", "ngxTimepicker", "value", "disabled", "disableClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5906
5888
|
}
|
|
5907
5889
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InputTimeComponent, decorators: [{
|
|
5908
5890
|
type: Component,
|
|
@@ -5950,7 +5932,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5950
5932
|
|
|
5951
5933
|
<ng-content select="mat-hint, [mat-hint], mat-error, [mat-error]"></ng-content>
|
|
5952
5934
|
</mat-form-field>
|
|
5953
|
-
`, styles: [":host{display:block;width:100%}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field input.mat-mdc-input-element,:host ::ng-deep .ptech-form-field input.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field .mat-mdc-icon-button.mat-mdc-button-base,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button .mat-icon,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg path{color:var(--ptech-field-text, var(--app-text, inherit))!important;fill:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}\n"] }]
|
|
5935
|
+
`, styles: [":host{display:block;width:100%}.ptech-form-field{width:100%}:host ::ng-deep .ptech-form-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-form-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-form-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .ptech-form-field input.mat-mdc-input-element,:host ::ng-deep .ptech-form-field input.mdc-text-field__input,:host ::ng-deep .ptech-form-field .mat-mdc-input-element{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important;-webkit-text-fill-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field .mat-mdc-icon-button.mat-mdc-button-base,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button .mat-icon,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg,:host ::ng-deep .ptech-form-field .mat-mdc-icon-button svg path{color:var(--ptech-field-text, var(--app-text, inherit))!important;fill:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-form-field input::placeholder,:host ::ng-deep .ptech-form-field textarea::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit));opacity:.78}:host ::ng-deep .ptech-form-field .mdc-floating-label,:host ::ng-deep .ptech-form-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}mat-label span{color:var(--ptech-required-color, var(--app-status-error, #f44336))!important}\n"] }]
|
|
5954
5936
|
}], propDecorators: { format: [{
|
|
5955
5937
|
type: Input
|
|
5956
5938
|
}], seconds: [{
|