@arsedizioni/ars-utils 21.2.324 → 21.2.326

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arsedizioni/ars-utils",
3
- "version": "21.2.324",
3
+ "version": "21.2.326",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -155,8 +155,8 @@ interface ClipperSettingsInfo {
155
155
  lastUpdated?: Date;
156
156
  enableNotifications: boolean;
157
157
  channels?: ClipperChannelSettings[];
158
- bulletinTaxonomy?: string;
159
- bulletinOrigin?: number;
158
+ bulletinTaxonomy?: string[];
159
+ bulletinOrigins?: number[];
160
160
  enableBulletinFilter: boolean;
161
161
  }
162
162
  declare class ClipperUpdateChannelsStateParams {
@@ -1025,7 +1025,7 @@ declare class ClipperDocumentMenuComponent {
1025
1025
  /** Internal counter incremented on each external selection-model change to drive signal re-evaluation. */
1026
1026
  private readonly selectionChangeTick;
1027
1027
  readonly useSelections: _angular_core.InputSignal<boolean>;
1028
- readonly selectionSource: _angular_core.InputSignal<"bag" | "selection" | "none">;
1028
+ readonly selectionSource: _angular_core.InputSignal<"selection" | "none" | "bag">;
1029
1029
  /**
1030
1030
  * Computed signal that returns the current effective document selection.
1031
1031
  * Re-evaluates when any input signal or the underlying selection model changes.
@@ -275,6 +275,12 @@ declare class SystemUtils {
275
275
  * @returns : the joined string
276
276
  */
277
277
  static join(items?: string[], sep?: string, max?: number): string | undefined;
278
+ /**
279
+ * Normalize a string by converting it to lowercase and removing extra spaces, with special handling for acronyms and camelCase.
280
+ * @param s : the string to normalize
281
+ * @returns : The normalized string, or `undefined` if the input is falsy.
282
+ */
283
+ static normalize(s?: string): string | undefined;
278
284
  /**
279
285
  * Wraps bare URLs in the given string with `<a>` anchor tags.
280
286
  * @param s - The plain-text or HTML string to process.
@@ -1007,7 +1007,7 @@ declare class ChipsSelectorComponent implements OnDestroy, ControlValueAccessor
1007
1007
  /** Minimum width in pixels when collapsed. Use `-1` for automatic. */
1008
1008
  readonly collapsedWidth: _angular_core.InputSignal<number>;
1009
1009
  /** Display mode used when the selector is in collapsed state. */
1010
- readonly collapsedDisplayMode: _angular_core.InputSignal<"button" | "dropdown">;
1010
+ readonly collapsedDisplayMode: _angular_core.InputSignal<"dropdown" | "button">;
1011
1011
  /** Pixel threshold below which the selector collapses. Use `-1` to disable. */
1012
1012
  readonly collapseAt: _angular_core.InputSignal<number>;
1013
1013
  /** When `true`, `collapseAt` is compared against the container width rather than the window width. */