@arsedizioni/ars-utils 22.0.47 → 22.0.48
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
|
@@ -983,30 +983,39 @@ declare function buildFlexStyles(value: string, direction: string, hasWrap: bool
|
|
|
983
983
|
* @returns The value to pass to `buildFlexStyles`.
|
|
984
984
|
*/
|
|
985
985
|
declare function resolveFlexInput(raw: string, hasStarSibling: boolean): string;
|
|
986
|
+
/**
|
|
987
|
+
* Coerces an fxFlex binding value to the string form the builder expects.
|
|
988
|
+
* Accepts numbers (e.g. `[fxFlex]="32"` or `[fxFlex]="cond ? 24 : 32"`) and
|
|
989
|
+
* normalises them to a string; keeps `''` (bare attribute) as-is; maps
|
|
990
|
+
* null/undefined to "not set".
|
|
991
|
+
* @param v - The bound value: a string, a number, null, or undefined.
|
|
992
|
+
* @returns The trimmed string value, or undefined when not set.
|
|
993
|
+
*/
|
|
994
|
+
declare function coerceFlex(v: string | number | null | undefined): string | undefined;
|
|
986
995
|
declare class FxFlexDirective extends ResponsiveBaseDirective {
|
|
987
996
|
/** Direct ancestor FxLayout (any level); matched to the direct parent in the effect. */
|
|
988
997
|
private readonly parentLayout;
|
|
989
|
-
readonly fxFlex: _angular_core.
|
|
990
|
-
readonly xs: _angular_core.
|
|
991
|
-
readonly sm: _angular_core.
|
|
992
|
-
readonly md: _angular_core.
|
|
993
|
-
readonly lg: _angular_core.
|
|
994
|
-
readonly xl: _angular_core.
|
|
995
|
-
readonly ltSm: _angular_core.
|
|
996
|
-
readonly ltMd: _angular_core.
|
|
997
|
-
readonly ltLg: _angular_core.
|
|
998
|
-
readonly ltXl: _angular_core.
|
|
999
|
-
readonly gtXs: _angular_core.
|
|
1000
|
-
readonly gtSm: _angular_core.
|
|
1001
|
-
readonly gtMd: _angular_core.
|
|
1002
|
-
readonly gtLg: _angular_core.
|
|
1003
|
-
readonly smUp: _angular_core.
|
|
1004
|
-
readonly mdUp: _angular_core.
|
|
1005
|
-
readonly lgUp: _angular_core.
|
|
1006
|
-
readonly xlUp: _angular_core.
|
|
1007
|
-
readonly smDown: _angular_core.
|
|
1008
|
-
readonly mdDown: _angular_core.
|
|
1009
|
-
readonly lgDown: _angular_core.
|
|
998
|
+
readonly fxFlex: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
999
|
+
readonly xs: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1000
|
+
readonly sm: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1001
|
+
readonly md: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1002
|
+
readonly lg: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1003
|
+
readonly xl: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1004
|
+
readonly ltSm: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1005
|
+
readonly ltMd: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1006
|
+
readonly ltLg: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1007
|
+
readonly ltXl: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1008
|
+
readonly gtXs: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1009
|
+
readonly gtSm: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1010
|
+
readonly gtMd: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1011
|
+
readonly gtLg: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1012
|
+
readonly smUp: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1013
|
+
readonly mdUp: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1014
|
+
readonly lgUp: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1015
|
+
readonly xlUp: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1016
|
+
readonly smDown: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1017
|
+
readonly mdDown: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1018
|
+
readonly lgDown: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
1010
1019
|
private readonly _rawFlex;
|
|
1011
1020
|
/** CSS properties applied on the last effect run (for stale cleanup). */
|
|
1012
1021
|
private _applied;
|
|
@@ -1437,5 +1446,5 @@ declare class FlexLayoutModule {
|
|
|
1437
1446
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FlexLayoutModule>;
|
|
1438
1447
|
}
|
|
1439
1448
|
|
|
1440
|
-
export { ALIAS_FAMILIES, ALIAS_INDEX, BS5_BREAKPOINTS, BusyDialogComponent, BusyTimer, CANONICAL_ALIASES, ConfirmDialogComponent, CredentialsDialogComponent, DeleteDialogComponent, DeleteDialogConfirmMode, DialogService, FlexLayoutModule, FxClassDirective, FxFlexAlignDirective, FxFlexDirective, FxFlexFillDirective, FxFlexOffsetDirective, FxFlexOrderDirective, FxGridAreaDirective, FxGridColumnDirective, FxGridDirective, FxLayoutAlignDirective, FxLayoutDirective, FxLayoutGapDirective, FxLayoutWrapDirective, FxShowHideDirective, FxStyleDirective, IfBpDirective, InfoDialogComponent, LAYOUT_BREAKPOINTS, LAYOUT_VALUES, MediaObserver, NON_CANONICAL_PRIORITY, OtpInputComponent, PaginatorIntl, PasswordStrengthComponent, RecoverPasswordDialogComponent, ResetPasswordDialogComponent, ResponsiveBaseDirective, ToastComponent, UIService, applyVisibility, buildAlignStyles, buildFlexStyles, buildLayoutCSS, normalizeStyle, resolve, resolveAll, resolveFlexInput, resolveNonCanonical, resolveParentFlow, toBool, toClassSet, validateBasis, validateLayoutValue, validateWrapValue };
|
|
1449
|
+
export { ALIAS_FAMILIES, ALIAS_INDEX, BS5_BREAKPOINTS, BusyDialogComponent, BusyTimer, CANONICAL_ALIASES, ConfirmDialogComponent, CredentialsDialogComponent, DeleteDialogComponent, DeleteDialogConfirmMode, DialogService, FlexLayoutModule, FxClassDirective, FxFlexAlignDirective, FxFlexDirective, FxFlexFillDirective, FxFlexOffsetDirective, FxFlexOrderDirective, FxGridAreaDirective, FxGridColumnDirective, FxGridDirective, FxLayoutAlignDirective, FxLayoutDirective, FxLayoutGapDirective, FxLayoutWrapDirective, FxShowHideDirective, FxStyleDirective, IfBpDirective, InfoDialogComponent, LAYOUT_BREAKPOINTS, LAYOUT_VALUES, MediaObserver, NON_CANONICAL_PRIORITY, OtpInputComponent, PaginatorIntl, PasswordStrengthComponent, RecoverPasswordDialogComponent, ResetPasswordDialogComponent, ResponsiveBaseDirective, ToastComponent, UIService, applyVisibility, buildAlignStyles, buildFlexStyles, buildLayoutCSS, coerceFlex, normalizeStyle, resolve, resolveAll, resolveFlexInput, resolveNonCanonical, resolveParentFlow, toBool, toClassSet, validateBasis, validateLayoutValue, validateWrapValue };
|
|
1441
1450
|
export type { BpValues, BreakpointAlias, CanonicalKey, ConfirmDialogData, ConfirmDialogOption, CredentialsDialogData, CredentialsDialogResult, DeleteDialogData, DialogOption, DialogResult, IDialogService, InfoDialogData, NcValues, NonCanonicalKey, RecoverPasswordDialogData, RecoverPasswordDialogResult, ResetPasswordDialogData, ResetPasswordDialogMode, ResetPasswordDialogResult, ToastData };
|