mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
3.0 KiB
67 lines
3.0 KiB
import * as i0 from '@angular/core';
|
|
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
|
|
class _MatInternalFormField {
|
|
labelPosition = 'after';
|
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
minVersion: "12.0.0",
|
|
version: "21.0.3",
|
|
ngImport: i0,
|
|
type: _MatInternalFormField,
|
|
deps: [],
|
|
target: i0.ɵɵFactoryTarget.Component
|
|
});
|
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
minVersion: "14.0.0",
|
|
version: "21.0.3",
|
|
type: _MatInternalFormField,
|
|
isStandalone: true,
|
|
selector: "div[mat-internal-form-field]",
|
|
inputs: {
|
|
labelPosition: "labelPosition"
|
|
},
|
|
host: {
|
|
properties: {
|
|
"class.mdc-form-field--align-end": "labelPosition === \"before\""
|
|
},
|
|
classAttribute: "mdc-form-field mat-internal-form-field"
|
|
},
|
|
ngImport: i0,
|
|
template: '<ng-content></ng-content>',
|
|
isInline: true,
|
|
styles: [".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}\n"],
|
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
encapsulation: i0.ViewEncapsulation.None
|
|
});
|
|
}
|
|
i0.ɵɵngDeclareClassMetadata({
|
|
minVersion: "12.0.0",
|
|
version: "21.0.3",
|
|
ngImport: i0,
|
|
type: _MatInternalFormField,
|
|
decorators: [{
|
|
type: Component,
|
|
args: [{
|
|
selector: 'div[mat-internal-form-field]',
|
|
template: '<ng-content></ng-content>',
|
|
encapsulation: ViewEncapsulation.None,
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
host: {
|
|
'class': 'mdc-form-field mat-internal-form-field',
|
|
'[class.mdc-form-field--align-end]': 'labelPosition === "before"'
|
|
},
|
|
styles: [".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}\n"]
|
|
}]
|
|
}],
|
|
propDecorators: {
|
|
labelPosition: [{
|
|
type: Input,
|
|
args: [{
|
|
required: true
|
|
}]
|
|
}]
|
|
}
|
|
});
|
|
|
|
export { _MatInternalFormField };
|
|
//# sourceMappingURL=_internal-form-field-chunk.mjs.map
|
|
|