@arsedizioni/ars-utils 22.5.50 → 22.5.52

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": "22.5.50",
3
+ "version": "22.5.52",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -167,7 +167,7 @@ declare class ClipperChannelSettings {
167
167
  interface ClipperUserChannelInfo {
168
168
  channel: ClipperChannel;
169
169
  channelName?: string;
170
- expiringDate: string;
170
+ expiringDate: Date;
171
171
  isTrial?: boolean;
172
172
  isDisabled: boolean;
173
173
  isSuspended: boolean;
@@ -180,9 +180,9 @@ interface ClipperUserChannelInfo {
180
180
  interface ClipperUserInfo {
181
181
  userId: number;
182
182
  customerId?: number;
183
- companyName: string;
184
- displayName: string;
185
- firstName: string;
183
+ companyName?: string;
184
+ displayName?: string;
185
+ firstName?: string;
186
186
  email: string;
187
187
  oauth?: boolean;
188
188
  sessionId?: string;
@@ -194,8 +194,8 @@ interface ClipperUserInfo {
194
194
  hasAI: boolean;
195
195
  hasAIAssistant: boolean;
196
196
  hasAIEditor: boolean;
197
- channels: ClipperUserChannelInfo[];
198
- firstChannelTrial: ClipperUserChannelInfo;
197
+ channels?: ClipperUserChannelInfo[];
198
+ firstChannelTrial?: ClipperUserChannelInfo;
199
199
  trialInfo?: ClipperUserTrialInfo;
200
200
  }
201
201
  interface ClipperLoginResult extends LoginResult<ClipperUserInfo> {
@@ -485,8 +485,8 @@ declare class ClipperSearchFacetsSnapshot {
485
485
  }
486
486
  interface ClipperSearchCalendarSnapshotMonth {
487
487
  days: number[];
488
- monthShortName: string;
489
- monthName: string;
488
+ monthShortName?: string;
489
+ monthName?: string;
490
490
  month: number;
491
491
  year: number;
492
492
  total: number;
@@ -522,7 +522,7 @@ declare enum ClipperFacet {
522
522
  Reason = 95
523
523
  }
524
524
  interface ClipperOTPInfo {
525
- code: string;
525
+ code?: string;
526
526
  canPreview?: boolean;
527
527
  canEmbed?: boolean;
528
528
  }
@@ -580,7 +580,7 @@ interface ClipperDeleteWorkingDocumentsParams {
580
580
  deleteAll: boolean;
581
581
  }
582
582
  interface ClipperUserTrialInfo {
583
- channelName: string;
583
+ channelName?: string;
584
584
  expiringDate: Date;
585
585
  remainingDocuments: number;
586
586
  }
@@ -589,7 +589,7 @@ interface ClipperDocumentUpdateStateParams {
589
589
  isRead: boolean;
590
590
  }
591
591
  interface ClipperDashboardModelItem {
592
- id: ClipperModel;
592
+ id?: ClipperModel;
593
593
  newItems: number;
594
594
  unreadItems: number;
595
595
  }
@@ -598,7 +598,7 @@ interface ClipperDashboardItem {
598
598
  models: ClipperDashboardModelItem[];
599
599
  newItems: number;
600
600
  unreadItems: number;
601
- lastUpdated?: string;
601
+ lastUpdated?: Date;
602
602
  }
603
603
  declare class ClipperDashboard {
604
604
  items: i0.WritableSignal<ClipperDashboardItem[]>;
@@ -1173,7 +1173,7 @@ declare class ClipperDocumentMenuComponent {
1173
1173
  private readonly renderer2;
1174
1174
  private readonly clipperService;
1175
1175
  readonly useSelections: _angular_core.InputSignal<boolean>;
1176
- readonly selectionSource: _angular_core.InputSignal<"none" | "bag" | "selection">;
1176
+ readonly selectionSource: _angular_core.InputSignal<"bag" | "selection" | "none">;
1177
1177
  /**
1178
1178
  * Computed signal that returns the current effective document selection.
1179
1179
  * Re-evaluates when any input signal or the underlying selection model changes.
@@ -177,7 +177,7 @@ declare class DateInterval {
177
177
  clear(): void;
178
178
  }
179
179
  interface LoginResult<T> extends ApiResult<boolean> {
180
- context: T;
180
+ context?: T;
181
181
  oauth?: number;
182
182
  requiresMfa?: boolean;
183
183
  }
@@ -163,7 +163,7 @@ declare class ChipsSelectorComponent implements OnDestroy, ControlValueAccessor
163
163
  /** When `true`, at least one item must remain selected. */
164
164
  readonly mustSelect: _angular_core.InputSignal<boolean>;
165
165
  /** Layout mode: `'collapsed'` forces dropdown mode, `'dynamic'` collapses based on `collapseAt`. */
166
- readonly mode: _angular_core.InputSignal<"dynamic" | "collapsed">;
166
+ readonly mode: _angular_core.InputSignal<"collapsed" | "dynamic">;
167
167
  /** When `true`, chips are stacked vertically instead of wrapping horizontally. */
168
168
  readonly stacked: _angular_core.InputSignal<boolean>;
169
169
  /** Chips below this index receive extra padding to align with other UI elements. */
@@ -469,7 +469,7 @@ declare class NavigationBarComponent {
469
469
  * `compact` wraps the icon only (56x32 pill), `wide` wraps icon and label
470
470
  * together, exactly as described by the M3 Expressive specs.
471
471
  */
472
- protected readonly indicatorMode: _angular_core.Signal<"wide" | "compact">;
472
+ protected readonly indicatorMode: _angular_core.Signal<"compact" | "wide">;
473
473
  /** Tooltip placement derived from the variant and from the anchoring edge. */
474
474
  protected readonly tooltipPosition: _angular_core.Signal<TooltipPosition>;
475
475
  /** Inline width override for the rail / drawer, or `undefined` to keep the spec default. */