@arsedizioni/ars-utils 22.0.82 → 22.0.83
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/fesm2022/arsedizioni-ars-utils-core.mjs +20 -12
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +1 -1
- package/types/arsedizioni-ars-utils-core.d.ts +9 -5
- package/types/arsedizioni-ars-utils-ui.application.d.ts +2 -2
- package/types/arsedizioni-ars-utils-ui.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1049,7 +1049,7 @@ declare class ClipperDocumentMenuComponent {
|
|
|
1049
1049
|
private readonly renderer2;
|
|
1050
1050
|
private readonly clipperService;
|
|
1051
1051
|
readonly useSelections: _angular_core.InputSignal<boolean>;
|
|
1052
|
-
readonly selectionSource: _angular_core.InputSignal<"
|
|
1052
|
+
readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
|
|
1053
1053
|
/**
|
|
1054
1054
|
* Computed signal that returns the current effective document selection.
|
|
1055
1055
|
* Re-evaluates when any input signal or the underlying selection model changes.
|
|
@@ -1191,11 +1191,15 @@ declare class SystemUtils {
|
|
|
1191
1191
|
*/
|
|
1192
1192
|
static formatDate(value?: Date | string, fmt?: DateFormat | string, locale?: Locale): string;
|
|
1193
1193
|
/**
|
|
1194
|
-
*
|
|
1195
|
-
*
|
|
1196
|
-
*
|
|
1197
|
-
|
|
1198
|
-
|
|
1194
|
+
* Converts a Date, timestamp or ISO string into a Europe/Rome Date whose JSON serialisation
|
|
1195
|
+
* emits a naive local datetime string ("yyyy-MM-dd'T'HH:mm:ss"), with no timezone designator,
|
|
1196
|
+
* so the wall-clock value round-trips to the server unchanged. Use this instead of `new Date(...)`
|
|
1197
|
+
* when reviving dates received from the API, to stay consistent with the DateFnsAdapter (values
|
|
1198
|
+
* entered through the datepicker already behave this way).
|
|
1199
|
+
* @param value : the source Date, Unix timestamp (ms) or ISO string
|
|
1200
|
+
* @returns : a Europe/Rome Date serialising as naive local time, or undefined for empty/invalid input
|
|
1201
|
+
*/
|
|
1202
|
+
static toLocalDate(value?: Date | number | string): Date | undefined;
|
|
1199
1203
|
/**
|
|
1200
1204
|
* Update a DateInterval object according to a string
|
|
1201
1205
|
* @param value : string value
|
|
@@ -1005,7 +1005,7 @@ declare class ChipsSelectorComponent implements OnDestroy, ControlValueAccessor
|
|
|
1005
1005
|
/** Minimum width in pixels when collapsed. Use `-1` for automatic. */
|
|
1006
1006
|
readonly collapsedWidth: _angular_core.InputSignal<number>;
|
|
1007
1007
|
/** Display mode used when the selector is in collapsed state. */
|
|
1008
|
-
readonly collapsedDisplayMode: _angular_core.InputSignal<"
|
|
1008
|
+
readonly collapsedDisplayMode: _angular_core.InputSignal<"dropdown" | "button">;
|
|
1009
1009
|
/** Pixel threshold below which the selector collapses. Use `-1` to disable. */
|
|
1010
1010
|
readonly collapseAt: _angular_core.InputSignal<number>;
|
|
1011
1011
|
/** When `true`, `collapseAt` is compared against the container width rather than the window width. */
|
|
@@ -1018,7 +1018,7 @@ declare class ChipsSelectorComponent implements OnDestroy, ControlValueAccessor
|
|
|
1018
1018
|
/** When `true`, at least one item must remain selected. */
|
|
1019
1019
|
readonly mustSelect: _angular_core.InputSignal<boolean>;
|
|
1020
1020
|
/** Layout mode: `'collapsed'` forces dropdown mode, `'dynamic'` collapses based on `collapseAt`. */
|
|
1021
|
-
readonly mode: _angular_core.InputSignal<"
|
|
1021
|
+
readonly mode: _angular_core.InputSignal<"collapsed" | "dynamic">;
|
|
1022
1022
|
/** When `true`, chips are stacked vertically instead of wrapping horizontally. */
|
|
1023
1023
|
readonly stacked: _angular_core.InputSignal<boolean>;
|
|
1024
1024
|
/** Chips below this index receive extra padding to align with other UI elements. */
|
|
@@ -410,7 +410,7 @@ declare class BusyDialogComponent {
|
|
|
410
410
|
/** Current progress value (0–100). Used when `progressMode` is `'determinate'`. */
|
|
411
411
|
readonly progress: _angular_core.WritableSignal<number>;
|
|
412
412
|
/** Progress mode passed to the Material progress components. */
|
|
413
|
-
readonly progressMode: _angular_core.WritableSignal<"
|
|
413
|
+
readonly progressMode: _angular_core.WritableSignal<"determinate" | "indeterminate">;
|
|
414
414
|
/** Message displayed above the progress indicator. */
|
|
415
415
|
readonly message: _angular_core.WritableSignal<string>;
|
|
416
416
|
/**
|