@arsedizioni/ars-utils 22.0.52 → 22.0.54
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
|
@@ -974,48 +974,37 @@ declare function validateBasis(basis: string, grow?: string, shrink?: string): s
|
|
|
974
974
|
*/
|
|
975
975
|
declare function buildFlexStyles(value: string, direction: string, hasWrap: boolean): Record<string, string | null>;
|
|
976
976
|
/**
|
|
977
|
-
* Resolves the non-ngx fxFlex
|
|
978
|
-
*
|
|
979
|
-
*
|
|
980
|
-
* • anything else → returned unchanged
|
|
977
|
+
* Resolves the non-ngx `fxFlex="*"` extension to `grow` (`flex: 1 1 100%`, max-* 100%).
|
|
978
|
+
* Every other value — including a bare `fxFlex` ('') — is returned unchanged, so a bare
|
|
979
|
+
* fxFlex keeps the ngx-layout default (`1 1 0%` in row, `1 1 0.000000001px` in column).
|
|
981
980
|
* @param raw - The resolved fxFlex value for the active breakpoint.
|
|
982
|
-
* @param hasStarSibling - Whether a sibling element declares `fxFlex="*"`.
|
|
983
981
|
* @returns The value to pass to `buildFlexStyles`.
|
|
984
982
|
*/
|
|
985
|
-
declare function resolveFlexInput(raw: 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;
|
|
983
|
+
declare function resolveFlexInput(raw: string): string;
|
|
995
984
|
declare class FxFlexDirective extends ResponsiveBaseDirective {
|
|
996
985
|
/** Direct ancestor FxLayout (any level); matched to the direct parent in the effect. */
|
|
997
986
|
private readonly parentLayout;
|
|
998
|
-
readonly fxFlex: _angular_core.
|
|
999
|
-
readonly xs: _angular_core.
|
|
1000
|
-
readonly sm: _angular_core.
|
|
1001
|
-
readonly md: _angular_core.
|
|
1002
|
-
readonly lg: _angular_core.
|
|
1003
|
-
readonly xl: _angular_core.
|
|
1004
|
-
readonly ltSm: _angular_core.
|
|
1005
|
-
readonly ltMd: _angular_core.
|
|
1006
|
-
readonly ltLg: _angular_core.
|
|
1007
|
-
readonly ltXl: _angular_core.
|
|
1008
|
-
readonly gtXs: _angular_core.
|
|
1009
|
-
readonly gtSm: _angular_core.
|
|
1010
|
-
readonly gtMd: _angular_core.
|
|
1011
|
-
readonly gtLg: _angular_core.
|
|
1012
|
-
readonly smUp: _angular_core.
|
|
1013
|
-
readonly mdUp: _angular_core.
|
|
1014
|
-
readonly lgUp: _angular_core.
|
|
1015
|
-
readonly xlUp: _angular_core.
|
|
1016
|
-
readonly smDown: _angular_core.
|
|
1017
|
-
readonly mdDown: _angular_core.
|
|
1018
|
-
readonly lgDown: _angular_core.
|
|
987
|
+
readonly fxFlex: _angular_core.InputSignal<string>;
|
|
988
|
+
readonly xs: _angular_core.InputSignal<string>;
|
|
989
|
+
readonly sm: _angular_core.InputSignal<string>;
|
|
990
|
+
readonly md: _angular_core.InputSignal<string>;
|
|
991
|
+
readonly lg: _angular_core.InputSignal<string>;
|
|
992
|
+
readonly xl: _angular_core.InputSignal<string>;
|
|
993
|
+
readonly ltSm: _angular_core.InputSignal<string>;
|
|
994
|
+
readonly ltMd: _angular_core.InputSignal<string>;
|
|
995
|
+
readonly ltLg: _angular_core.InputSignal<string>;
|
|
996
|
+
readonly ltXl: _angular_core.InputSignal<string>;
|
|
997
|
+
readonly gtXs: _angular_core.InputSignal<string>;
|
|
998
|
+
readonly gtSm: _angular_core.InputSignal<string>;
|
|
999
|
+
readonly gtMd: _angular_core.InputSignal<string>;
|
|
1000
|
+
readonly gtLg: _angular_core.InputSignal<string>;
|
|
1001
|
+
readonly smUp: _angular_core.InputSignal<string>;
|
|
1002
|
+
readonly mdUp: _angular_core.InputSignal<string>;
|
|
1003
|
+
readonly lgUp: _angular_core.InputSignal<string>;
|
|
1004
|
+
readonly xlUp: _angular_core.InputSignal<string>;
|
|
1005
|
+
readonly smDown: _angular_core.InputSignal<string>;
|
|
1006
|
+
readonly mdDown: _angular_core.InputSignal<string>;
|
|
1007
|
+
readonly lgDown: _angular_core.InputSignal<string>;
|
|
1019
1008
|
private readonly _rawFlex;
|
|
1020
1009
|
/** CSS properties applied on the last effect run (for stale cleanup). */
|
|
1021
1010
|
private _applied;
|
|
@@ -1460,5 +1449,5 @@ declare class FlexLayoutModule {
|
|
|
1460
1449
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FlexLayoutModule>;
|
|
1461
1450
|
}
|
|
1462
1451
|
|
|
1463
|
-
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,
|
|
1452
|
+
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, normalizeGap, normalizeStyle, resolve, resolveAll, resolveFlexInput, resolveNonCanonical, resolveParentFlow, toBool, toClassSet, validateBasis, validateLayoutValue, validateWrapValue };
|
|
1464
1453
|
export type { BpValues, BreakpointAlias, CanonicalKey, ConfirmDialogData, ConfirmDialogOption, CredentialsDialogData, CredentialsDialogResult, DeleteDialogData, DialogOption, DialogResult, IDialogService, InfoDialogData, NcValues, NonCanonicalKey, RecoverPasswordDialogData, RecoverPasswordDialogResult, ResetPasswordDialogData, ResetPasswordDialogMode, ResetPasswordDialogResult, ToastData };
|