structra-ui 0.1.96 → 0.1.97
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.
package/package.json
CHANGED
package/types/structra-ui.d.ts
CHANGED
|
@@ -209,6 +209,8 @@ declare abstract class BaseFieldDirective<T> implements ControlValueAccessor {
|
|
|
209
209
|
private onChange;
|
|
210
210
|
private onTouched;
|
|
211
211
|
get controlId(): string;
|
|
212
|
+
/** Útil para inspeção no DOM sem colidir com `id` do input interno. */
|
|
213
|
+
get hostDataControlId(): string;
|
|
212
214
|
protected get autoIdPrefix(): string;
|
|
213
215
|
/** Valor do atributo HTML `autocomplete` derivado de {@link autocomplete}. */
|
|
214
216
|
get autocompleteAttr(): 'on' | 'off';
|
|
@@ -466,6 +468,9 @@ declare class TextFieldComponent extends NgControlFieldDirective<string | null>
|
|
|
466
468
|
}
|
|
467
469
|
|
|
468
470
|
declare class PasswordFieldComponent extends NgControlFieldDirective<string | null> implements OnInit {
|
|
471
|
+
/** Password já nasce com ícone de chave no prefixo; pode ser sobrescrito via `prefixIcon`. */
|
|
472
|
+
showPrefixIcon: boolean;
|
|
473
|
+
prefixIcon: string;
|
|
469
474
|
get hostInvalidClass(): boolean;
|
|
470
475
|
/** Por defeito `false`: o botão de limpar compete com o toggle de visibilidade. */
|
|
471
476
|
clearable: boolean;
|
|
@@ -491,7 +496,8 @@ declare class PasswordFieldComponent extends NgControlFieldDirective<string | nu
|
|
|
491
496
|
onClear(): void;
|
|
492
497
|
togglePasswordVisible(ev: Event): void;
|
|
493
498
|
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordFieldComponent, never>;
|
|
494
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordFieldComponent, "app-password-field", never, { "clearable": { "alias": "clearable"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; }, {}, never, ["[appFieldPrefix]"], true, never>;
|
|
499
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordFieldComponent, "app-password-field", never, { "showPrefixIcon": { "alias": "showPrefixIcon"; "required": false; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; }, {}, never, ["[appFieldPrefix]"], true, never>;
|
|
500
|
+
static ngAcceptInputType_showPrefixIcon: unknown;
|
|
495
501
|
static ngAcceptInputType_clearable: unknown;
|
|
496
502
|
static ngAcceptInputType_maxLength: unknown;
|
|
497
503
|
}
|
|
@@ -1323,6 +1329,7 @@ declare class FileUploadFieldComponent implements OnChanges, OnDestroy {
|
|
|
1323
1329
|
private fileInputRef?;
|
|
1324
1330
|
private readonly autoId;
|
|
1325
1331
|
get fieldId(): string;
|
|
1332
|
+
get hostDataControlId(): string;
|
|
1326
1333
|
isDragging: boolean;
|
|
1327
1334
|
hasHover: boolean;
|
|
1328
1335
|
private internalError;
|