@arsedizioni/ars-utils 21.2.141 → 21.2.142

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.141",
3
+ "version": "21.2.142",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -7,7 +7,7 @@ import * as rxjs from 'rxjs';
7
7
  import { BreakpointObserver } from '@angular/cdk/layout';
8
8
  import { BroadcastService, DateInterval, ScreenService, SelectableModel, NameValueItem, INode, ThemeType } from '@arsedizioni/ars-utils/core';
9
9
  import { Clipboard } from '@angular/cdk/clipboard';
10
- import { ApplicationDialogService, CalendarEmptyHeader, ButtonSelectorComponent, ChipsSelectorComponent } from '@arsedizioni/ars-utils/ui.application';
10
+ import { SendToPopulateData, ApplicationDialogService, CalendarEmptyHeader, ButtonSelectorComponent, ChipsSelectorComponent } from '@arsedizioni/ars-utils/ui.application';
11
11
  import { MatCalendar, MatCalendarCellClassFunction } from '@angular/material/datepicker';
12
12
  import { ScrollDispatcher } from '@angular/cdk/scrolling';
13
13
  import { MatExpansionPanel } from '@angular/material/expansion';
@@ -17,6 +17,7 @@ import { MatSelectionList } from '@angular/material/list';
17
17
  import { MatDialogRef } from '@angular/material/dialog';
18
18
 
19
19
  declare class ClipperDocumentManager {
20
+ readonly populateContacts: _angular_core.OutputEmitterRef<SendToPopulateData>;
20
21
  protected clipboard: Clipboard;
21
22
  clipperService: ClipperService;
22
23
  protected broadcastService: BroadcastService;
@@ -173,7 +174,7 @@ declare class ClipperDocumentManager {
173
174
  */
174
175
  RS_usageReport(document?: ClipperDocumentInfo): void;
175
176
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClipperDocumentManager, never>;
176
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClipperDocumentManager, "ng-component", never, {}, {}, never, never, true, never>;
177
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClipperDocumentManager, "ng-component", never, {}, { "populateContacts": "populateContacts"; }, never, never, true, never>;
177
178
  }
178
179
 
179
180
  declare class ClipperSearchCalendarComponent {
@@ -30,6 +30,38 @@ declare class ResizeTableColumnDirective implements OnInit {
30
30
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ResizeTableColumnDirective, "[resizeColumn]", never, { "resizable": { "alias": "resizeColumn"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
31
31
  }
32
32
 
33
+ interface SendToDialogData {
34
+ count: number;
35
+ canPopulate?: boolean;
36
+ title?: string;
37
+ info?: string;
38
+ appearance?: MatFormFieldAppearance;
39
+ options?: any;
40
+ }
41
+ declare class SendToDialogComponent implements OnInit {
42
+ readonly done: _angular_core.OutputEmitterRef<SendToDialogResult>;
43
+ readonly populate: _angular_core.OutputEmitterRef<SendToPopulateData>;
44
+ private changeDetector;
45
+ protected dialogData: SendToDialogData;
46
+ protected item: SendToDialogResult;
47
+ ngOnInit(): void;
48
+ /**
49
+ * Submit
50
+ */
51
+ protected ok(): void;
52
+ /**
53
+ * Populate recipients
54
+ */
55
+ protected populateRecipients(): void;
56
+ /**
57
+ * Update recipients
58
+ * @param recipients the new recipients value
59
+ */
60
+ updateRecipients(recipients: string): void;
61
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SendToDialogComponent, never>;
62
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SendToDialogComponent, "ng-component", never, {}, { "done": "done"; "populate": "populate"; }, never, never, true, never>;
63
+ }
64
+
33
65
  interface SelectDialogResult {
34
66
  selectedItems: SelectableItem[];
35
67
  }
@@ -164,6 +196,10 @@ declare class SelectableNode extends ItemNode implements Searchable {
164
196
  searchBag: SearchBag;
165
197
  constructor(item: ItemNode, level: number);
166
198
  }
199
+ interface SendToPopulateData {
200
+ item: SendToDialogResult;
201
+ source: SendToDialogComponent;
202
+ }
167
203
  interface SendToDialogResult {
168
204
  recipients: string;
169
205
  subject: string;
@@ -267,38 +303,6 @@ declare class CurrentFilterItem<T> {
267
303
  clear(): void;
268
304
  }
269
305
 
270
- interface SendToDialogData {
271
- count: number;
272
- canPopulate?: boolean;
273
- title?: string;
274
- info?: string;
275
- appearance?: MatFormFieldAppearance;
276
- options?: any;
277
- }
278
- declare class SendToDialogComponent implements OnInit {
279
- readonly done: _angular_core.OutputEmitterRef<SendToDialogResult>;
280
- readonly populate: _angular_core.OutputEmitterRef<SendToDialogResult>;
281
- private changeDetector;
282
- protected dialogData: SendToDialogData;
283
- protected item: SendToDialogResult;
284
- ngOnInit(): void;
285
- /**
286
- * Submit
287
- */
288
- protected ok(): void;
289
- /**
290
- * Populate recipients
291
- */
292
- protected populateRecipients(): void;
293
- /**
294
- * Update recipients
295
- * @param recipients the new recipients value
296
- */
297
- updateRecipients(recipients: string): void;
298
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<SendToDialogComponent, never>;
299
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SendToDialogComponent, "ng-component", never, {}, { "done": "done"; "populate": "populate"; }, never, never, true, never>;
300
- }
301
-
302
306
  declare class TreeDataSource implements OnDestroy {
303
307
  dataChange: BehaviorSubject<ItemNode[]>;
304
308
  get data(): ItemNode[];
@@ -1144,4 +1148,4 @@ declare class ButtonToggleComponent {
1144
1148
  }
1145
1149
 
1146
1150
  export { ApplicationDialogService, ArsUIApplicationModule, ButtonSelectorComponent, ButtonToggleComponent, CalendarEmptyHeader, ChipsSelectorComponent, CurrentFilter, CurrentFilterChanged, CurrentFilterItem, FileInputComponent, FilePreviewComponent, FilterBarComponent, Filters, ItemNode, PromptDateDialogComponent, PromptDialogComponent, PromptDialogType, PromptOtpDialogComponent, PromptTimeDialogComponent, ResizeTableColumnDirective, SelectDialogComponent, SelectFileDialogComponent, SelectPictureDialogComponent, SelectTreeDialogComponent, SelectableItem, SelectableNode, SendToDialogComponent, TreeDataSource };
1147
- export type { ButtonToggleInfo, FilePreviewDialogData, FilterGroup, FilterItem, ISelectableItem, PromptDateDialogResult, PromptDialogData, PromptDialogResult, PromptOtpDialogResult, PromptTimeDialogData, SelectDialogAppend, SelectDialogData, SelectDialogDelete, SelectDialogEdit, SelectDialogFilter, SelectDialogLookup, SelectDialogResult, SelectFile, SelectFileDialogData, SelectFileOption, SelectPictureFileDialogData, SelectTreeDialogAppend, SelectTreeDialogData, SelectTreeDialogResult, SelectableFilter, SendToDialogData, SendToDialogResult };
1151
+ export type { ButtonToggleInfo, FilePreviewDialogData, FilterGroup, FilterItem, ISelectableItem, PromptDateDialogResult, PromptDialogData, PromptDialogResult, PromptOtpDialogResult, PromptTimeDialogData, SelectDialogAppend, SelectDialogData, SelectDialogDelete, SelectDialogEdit, SelectDialogFilter, SelectDialogLookup, SelectDialogResult, SelectFile, SelectFileDialogData, SelectFileOption, SelectPictureFileDialogData, SelectTreeDialogAppend, SelectTreeDialogData, SelectTreeDialogResult, SelectableFilter, SendToDialogData, SendToDialogResult, SendToPopulateData };