@yourself.create/ngx-form-designer 0.0.10 → 0.0.11

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.
@@ -32607,7 +32607,7 @@ class TextFieldWidgetComponent {
32607
32607
  return styles;
32608
32608
  }
32609
32609
  return mergeAndNormalize(styles, {
32610
- paddingLeft: `calc(25px + ${Math.max(this.displayPrefix.length, 1)}ch) !important`
32610
+ '--fd-prefix-padding-left': `calc(25px + ${Math.max(this.displayPrefix.length, 1)}ch)`
32611
32611
  });
32612
32612
  }
32613
32613
  hasWrapperFrame() {
@@ -32927,6 +32927,7 @@ class TextFieldWidgetComponent {
32927
32927
  [attr.aria-describedby]="getAriaDescribedBy()"
32928
32928
  [attr.aria-label]="getAccessibleLabel()"
32929
32929
  [class]="getControlClass()"
32930
+ [class.fd-prefixed-input]="hasDisplayPrefix()"
32930
32931
  [ngStyle]="getSingleLineControlStyles()"
32931
32932
  data-fd="field-control"
32932
32933
  [attr.min]="config.html5?.min"
@@ -32956,6 +32957,7 @@ class TextFieldWidgetComponent {
32956
32957
  [attr.aria-describedby]="getAriaDescribedBy()"
32957
32958
  [attr.aria-label]="getAccessibleLabel()"
32958
32959
  [class]="getControlClass()"
32960
+ [class.fd-prefixed-input]="hasDisplayPrefix()"
32959
32961
  [ngStyle]="getSingleLineControlStyles()"
32960
32962
  data-fd="field-control"
32961
32963
  [attr.min]="config.html5?.min"
@@ -32972,15 +32974,11 @@ class TextFieldWidgetComponent {
32972
32974
  <p [id]="helpTextId" [class]="fieldHelpClass" data-fd="field-help">{{ config.helpText }}</p>
32973
32975
  }
32974
32976
  </div>
32975
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { 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.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: ColorPickerDirective, selector: "[colorPicker]", inputs: ["colorPicker", "cpWidth", "cpHeight", "cpToggle", "cpDisabled", "cpIgnoredElements", "cpFallbackColor", "cpColorMode", "cpCmykEnabled", "cpOutputFormat", "cpAlphaChannel", "cpDisableInput", "cpDialogDisplay", "cpSaveClickOutside", "cpCloseClickOutside", "cpUseRootViewContainer", "cpPosition", "cpPositionOffset", "cpPositionRelativeToArrow", "cpOKButton", "cpOKButtonText", "cpOKButtonClass", "cpCancelButton", "cpCancelButtonText", "cpCancelButtonClass", "cpEyeDropper", "cpPresetLabel", "cpPresetColors", "cpPresetColorsClass", "cpMaxPresetColorsLength", "cpPresetEmptyMessage", "cpPresetEmptyMessageClass", "cpAddColorButton", "cpAddColorButtonText", "cpAddColorButtonClass", "cpRemoveColorButtonClass", "cpArrowPosition", "cpExtraTemplate"], outputs: ["cpInputChange", "cpToggleChange", "cpSliderChange", "cpSliderDragEnd", "cpSliderDragStart", "colorPickerOpen", "colorPickerClose", "colorPickerCancel", "colorPickerSelect", "colorPickerChange", "cpCmykColorChange", "cpPresetColorsChange"], exportAs: ["ngxColorPicker"] }] });
32977
+ `, isInline: true, styles: [".fd-prefixed-input{padding-left:var(--fd-prefix-padding-left)!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { 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.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: ColorPickerDirective, selector: "[colorPicker]", inputs: ["colorPicker", "cpWidth", "cpHeight", "cpToggle", "cpDisabled", "cpIgnoredElements", "cpFallbackColor", "cpColorMode", "cpCmykEnabled", "cpOutputFormat", "cpAlphaChannel", "cpDisableInput", "cpDialogDisplay", "cpSaveClickOutside", "cpCloseClickOutside", "cpUseRootViewContainer", "cpPosition", "cpPositionOffset", "cpPositionRelativeToArrow", "cpOKButton", "cpOKButtonText", "cpOKButtonClass", "cpCancelButton", "cpCancelButtonText", "cpCancelButtonClass", "cpEyeDropper", "cpPresetLabel", "cpPresetColors", "cpPresetColorsClass", "cpMaxPresetColorsLength", "cpPresetEmptyMessage", "cpPresetEmptyMessageClass", "cpAddColorButton", "cpAddColorButtonText", "cpAddColorButtonClass", "cpRemoveColorButtonClass", "cpArrowPosition", "cpExtraTemplate"], outputs: ["cpInputChange", "cpToggleChange", "cpSliderChange", "cpSliderDragEnd", "cpSliderDragStart", "colorPickerOpen", "colorPickerClose", "colorPickerCancel", "colorPickerSelect", "colorPickerChange", "cpCmykColorChange", "cpPresetColorsChange"], exportAs: ["ngxColorPicker"] }] });
32976
32978
  }
32977
32979
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TextFieldWidgetComponent, decorators: [{
32978
32980
  type: Component,
32979
- args: [{
32980
- selector: 'app-text-field-widget',
32981
- standalone: true,
32982
- imports: [CommonModule, ReactiveFormsModule, ColorPickerDirective],
32983
- template: `
32981
+ args: [{ selector: 'app-text-field-widget', standalone: true, imports: [CommonModule, ReactiveFormsModule, ColorPickerDirective], template: `
32984
32982
  <div [class]="fieldContainerClass"
32985
32983
  [class.hidden]="!visible"
32986
32984
  [ngStyle]="getWrapperStyles()"
@@ -33070,6 +33068,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
33070
33068
  [attr.aria-describedby]="getAriaDescribedBy()"
33071
33069
  [attr.aria-label]="getAccessibleLabel()"
33072
33070
  [class]="getControlClass()"
33071
+ [class.fd-prefixed-input]="hasDisplayPrefix()"
33073
33072
  [ngStyle]="getSingleLineControlStyles()"
33074
33073
  data-fd="field-control"
33075
33074
  [attr.min]="config.html5?.min"
@@ -33099,6 +33098,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
33099
33098
  [attr.aria-describedby]="getAriaDescribedBy()"
33100
33099
  [attr.aria-label]="getAccessibleLabel()"
33101
33100
  [class]="getControlClass()"
33101
+ [class.fd-prefixed-input]="hasDisplayPrefix()"
33102
33102
  [ngStyle]="getSingleLineControlStyles()"
33103
33103
  data-fd="field-control"
33104
33104
  [attr.min]="config.html5?.min"
@@ -33115,8 +33115,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
33115
33115
  <p [id]="helpTextId" [class]="fieldHelpClass" data-fd="field-help">{{ config.helpText }}</p>
33116
33116
  }
33117
33117
  </div>
33118
- `
33119
- }]
33118
+ `, styles: [".fd-prefixed-input{padding-left:var(--fd-prefix-padding-left)!important}\n"] }]
33120
33119
  }], propDecorators: { config: [{
33121
33120
  type: Input
33122
33121
  }], engine: [{