@resolveio/client-lib-core 21.0.4 → 21.0.6

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": "@resolveio/client-lib-core",
3
- "version": "21.0.4",
3
+ "version": "21.0.6",
4
4
  "module": "fesm2022/resolveio-client-lib-core.min.mjs",
5
5
  "typings": "types/resolveio-client-lib-core.d.ts",
6
6
  "exports": {
@@ -1,7 +1,7 @@
1
1
  import * as rxjs from 'rxjs';
2
2
  import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
3
3
  import * as i0 from '@angular/core';
4
- import { OnDestroy, OnInit, ElementRef, ChangeDetectorRef, AfterViewInit, QueryList, EventEmitter, PipeTransform, OnChanges, ModuleWithProviders } from '@angular/core';
4
+ import { OnDestroy, OnInit, ElementRef, ChangeDetectorRef, AfterViewInit, QueryList, EventEmitter, PipeTransform, OnChanges, ModuleWithProviders, Renderer2, NgZone } from '@angular/core';
5
5
  import { DeviceDetectorService } from 'ngx-device-detector';
6
6
  import * as i1 from '@angular/forms';
7
7
  import { FormControl, FormGroup, AbstractControl, FormBuilder } from '@angular/forms';
@@ -1229,7 +1229,7 @@ declare class UserRoleModule {
1229
1229
  }
1230
1230
 
1231
1231
  type SortDirectionType = 1 | 0 | -1;
1232
- interface Sortable {
1232
+ interface Sortable$1 {
1233
1233
  /** The id of the column being sorted. */
1234
1234
  id: string;
1235
1235
  /** Starting sort direction. */
@@ -1245,7 +1245,7 @@ interface Sort {
1245
1245
  }
1246
1246
  declare class SortTableDirective {
1247
1247
  private element;
1248
- sortables: Map<string, Sortable>;
1248
+ sortables: Map<string, Sortable$1>;
1249
1249
  /** Used to notify any child components listening to state changes. */
1250
1250
  readonly _stateChanges: Subject<void>;
1251
1251
  /** The id of the most recently sorted Sortable. */
@@ -1262,9 +1262,9 @@ declare class SortTableDirective {
1262
1262
  private _data;
1263
1263
  readonly sortChange: EventEmitter<Sort>;
1264
1264
  constructor(element: ElementRef);
1265
- register(sortable: Sortable): void;
1266
- deregister(sortable: Sortable): void;
1267
- sort(sortable: Sortable): void;
1265
+ register(sortable: Sortable$1): void;
1266
+ deregister(sortable: Sortable$1): void;
1267
+ sort(sortable: Sortable$1): void;
1268
1268
  getData(): Observable<any[]>;
1269
1269
  setData(data: any): void;
1270
1270
  ngOnInit(): void;
@@ -1274,7 +1274,7 @@ declare class SortTableDirective {
1274
1274
  static ɵdir: i0.ɵɵDirectiveDeclaration<SortTableDirective, "[sortable]", never, { "active": { "alias": "sortActive"; "required": false; }; "start": { "alias": "sortStart"; "required": false; }; "disabled": { "alias": "sortDisabled"; "required": false; }; "tableFixed": { "alias": "tableFixed"; "required": false; }; "headerFixed": { "alias": "headerFixed"; "required": false; }; "secondaryColor": { "alias": "secondaryColor"; "required": false; }; "tertiaryColor": { "alias": "tertiaryColor"; "required": false; }; }, { "sortChange": "sortChange"; }, never, never, false, never>;
1275
1275
  }
1276
1276
 
1277
- declare class SortTableHeaderComponent implements Sortable, OnDestroy, OnInit {
1277
+ declare class SortTableHeaderComponent implements Sortable$1, OnDestroy, OnInit {
1278
1278
  _sort: SortTableDirective;
1279
1279
  _arrowDirection: SortDirectionType;
1280
1280
  id: string;
@@ -1314,9 +1314,69 @@ declare class SortTableModule {
1314
1314
  static ɵinj: i0.ɵɵInjectorDeclaration<SortTableModule>;
1315
1315
  }
1316
1316
 
1317
+ interface SortableEvent {
1318
+ oldIndex?: number;
1319
+ newIndex?: number;
1320
+ item?: HTMLElement;
1321
+ from?: HTMLElement;
1322
+ to?: HTMLElement;
1323
+ }
1324
+ interface Options {
1325
+ animation?: number;
1326
+ draggable?: string;
1327
+ handle?: string;
1328
+ onEnd?: (event: SortableEvent) => void;
1329
+ onUpdate?: (event: SortableEvent) => void;
1330
+ [key: string]: any;
1331
+ }
1332
+ declare class Sortable {
1333
+ private container;
1334
+ private options;
1335
+ private dragItem?;
1336
+ private startIndex?;
1337
+ private listeners;
1338
+ constructor(container: HTMLElement, options?: Options);
1339
+ static create(container: HTMLElement, options?: Options): Sortable;
1340
+ destroy(): void;
1341
+ private bindListeners;
1342
+ private handleDragStart;
1343
+ private handleDragOver;
1344
+ private handleDrop;
1345
+ private handleDragEnd;
1346
+ private finish;
1347
+ private ensureDraggable;
1348
+ private getItems;
1349
+ private getSortableElement;
1350
+ private isSortableItem;
1351
+ private hasValidHandle;
1352
+ private getElementIndex;
1353
+ }
1354
+
1355
+ declare class SortablejsDirective implements OnInit, OnDestroy {
1356
+ private _el;
1357
+ private defaultOptions?;
1358
+ items: any[];
1359
+ options: Options;
1360
+ private sortableInstance;
1361
+ constructor(_el: ElementRef, defaultOptions?: Options);
1362
+ ngOnInit(): void;
1363
+ ngOnDestroy(): void;
1364
+ private updateOrder;
1365
+ private isFormArray;
1366
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortablejsDirective, [null, { optional: true; }]>;
1367
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SortablejsDirective, "[sortablejs]", never, { "items": { "alias": "sortablejs"; "required": false; }; "options": { "alias": "sortablejsOptions"; "required": false; }; }, {}, never, never, false, never>;
1368
+ }
1369
+
1370
+ declare class SortablejsModule {
1371
+ static forRoot(defaultOptions?: Options): ModuleWithProviders<SortablejsModule>;
1372
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortablejsModule, never>;
1373
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SortablejsModule, [typeof SortablejsDirective], never, [typeof SortablejsDirective]>;
1374
+ static ɵinj: i0.ɵɵInjectorDeclaration<SortablejsModule>;
1375
+ }
1376
+
1317
1377
  declare class SharedModule {
1318
1378
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
1319
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.ReactiveFormsModule, typeof i1.FormsModule, typeof CollapseTableModule, typeof i3.RouterModule, typeof i4.NgbModule, typeof i4.NgbAccordionModule, typeof FormButtonModule, typeof ResponsiveButtonGroupModule, typeof PipeModule, typeof UserRoleModule, typeof i9.NgSelectModule, typeof SortTableModule, typeof i2.CommonModule], [typeof i1.ReactiveFormsModule, typeof i1.FormsModule, typeof CollapseTableModule, typeof i3.RouterModule, typeof i4.NgbModule, typeof i4.NgbAccordionModule, typeof FormButtonModule, typeof ResponsiveButtonGroupModule, typeof PipeModule, typeof UserRoleModule, typeof i9.NgSelectModule, typeof SortTableModule, typeof i2.CommonModule]>;
1379
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.ReactiveFormsModule, typeof i1.FormsModule, typeof CollapseTableModule, typeof i3.RouterModule, typeof i4.NgbModule, typeof i4.NgbAccordionModule, typeof FormButtonModule, typeof ResponsiveButtonGroupModule, typeof PipeModule, typeof UserRoleModule, typeof i9.NgSelectModule, typeof SortTableModule, typeof i2.CommonModule, typeof SortablejsModule], [typeof i1.ReactiveFormsModule, typeof i1.FormsModule, typeof CollapseTableModule, typeof i3.RouterModule, typeof i4.NgbModule, typeof i4.NgbAccordionModule, typeof FormButtonModule, typeof ResponsiveButtonGroupModule, typeof PipeModule, typeof UserRoleModule, typeof i9.NgSelectModule, typeof SortTableModule, typeof i2.CommonModule, typeof SortablejsModule]>;
1320
1380
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
1321
1381
  }
1322
1382
 
@@ -1737,6 +1797,104 @@ declare class WindowRefService {
1737
1797
  static ɵprov: i0.ɵɵInjectableDeclaration<WindowRefService>;
1738
1798
  }
1739
1799
 
1800
+ declare class NgDragDropService {
1801
+ dragData: any;
1802
+ scope: string | Array<string> | null;
1803
+ onDragStart: Subject<void>;
1804
+ onDragEnd: Subject<void>;
1805
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgDragDropService, never>;
1806
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgDragDropService>;
1807
+ }
1808
+
1809
+ declare class Draggable implements OnInit, OnDestroy {
1810
+ private el;
1811
+ private renderer;
1812
+ private ng2DragDropService;
1813
+ private zone;
1814
+ dragData: any;
1815
+ dragHandle: string;
1816
+ dragEffect: string;
1817
+ dragScope: string | Array<string>;
1818
+ dragHandleClass: string;
1819
+ dragClass: string;
1820
+ dragTransitClass: string;
1821
+ onDragStart: EventEmitter<any>;
1822
+ onDrag: EventEmitter<any>;
1823
+ onDragEnd: EventEmitter<any>;
1824
+ mouseDownElement: any;
1825
+ private _dragEnabled;
1826
+ private _dragImage?;
1827
+ private dragImageElement?;
1828
+ private unbindDragListener?;
1829
+ constructor(el: ElementRef, renderer: Renderer2, ng2DragDropService: NgDragDropService, zone: NgZone);
1830
+ get dragEnabled(): boolean;
1831
+ set dragEnabled(value: boolean);
1832
+ get dragImage(): string;
1833
+ set dragImage(value: string);
1834
+ ngOnInit(): void;
1835
+ ngOnDestroy(): void;
1836
+ dragStart(e: DragEvent): void;
1837
+ drag(e: DragEvent): void;
1838
+ dragEnd(e: DragEvent): void;
1839
+ mousedown(e: any): void;
1840
+ private allowDrag;
1841
+ private applyDragHandleClass;
1842
+ private getDragHandleElement;
1843
+ private unbindDragListeners;
1844
+ static ɵfac: i0.ɵɵFactoryDeclaration<Draggable, never>;
1845
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Draggable, "[draggable]", never, { "dragData": { "alias": "dragData"; "required": false; }; "dragHandle": { "alias": "dragHandle"; "required": false; }; "dragEffect": { "alias": "dragEffect"; "required": false; }; "dragScope": { "alias": "dragScope"; "required": false; }; "dragHandleClass": { "alias": "dragHandleClass"; "required": false; }; "dragClass": { "alias": "dragClass"; "required": false; }; "dragTransitClass": { "alias": "dragTransitClass"; "required": false; }; "dragEnabled": { "alias": "dragEnabled"; "required": false; }; "dragImage": { "alias": "dragImage"; "required": false; }; }, { "onDragStart": "onDragStart"; "onDrag": "onDrag"; "onDragEnd": "onDragEnd"; }, never, never, false, never>;
1846
+ }
1847
+
1848
+ declare class DropEvent {
1849
+ nativeEvent: DragEvent;
1850
+ dragData: any;
1851
+ constructor(nativeEvent: DragEvent, dragData: any);
1852
+ }
1853
+
1854
+ declare class Droppable implements OnInit, OnDestroy {
1855
+ private el;
1856
+ private renderer;
1857
+ private ng2DragDropService;
1858
+ private zone;
1859
+ onDragEnter: EventEmitter<DragEvent>;
1860
+ onDragOver: EventEmitter<DragEvent>;
1861
+ onDragLeave: EventEmitter<DragEvent>;
1862
+ onDrop: EventEmitter<DropEvent>;
1863
+ dragOverClass: string;
1864
+ dragHintClass: string;
1865
+ dropScope: string | Array<string> | ((dragData: any) => boolean | Observable<boolean>);
1866
+ private _dropEnabled;
1867
+ private _isDragActive;
1868
+ private _isServiceActive;
1869
+ private dragStartSubscription?;
1870
+ private dragEndSubscription?;
1871
+ private unbindDragEnterListener?;
1872
+ private unbindDragOverListener?;
1873
+ private unbindDragLeaveListener?;
1874
+ constructor(el: ElementRef, renderer: Renderer2, ng2DragDropService: NgDragDropService, zone: NgZone);
1875
+ get dropEnabled(): boolean;
1876
+ set dropEnabled(value: boolean);
1877
+ ngOnInit(): void;
1878
+ ngOnDestroy(): void;
1879
+ drop(e: DragEvent): void;
1880
+ dragEnter(e: DragEvent): void;
1881
+ dragOver(e: DragEvent, result: boolean): void;
1882
+ dragLeave(e: DragEvent): void;
1883
+ private allowDrop;
1884
+ private subscribeService;
1885
+ private unsubscribeService;
1886
+ private unbindDragListeners;
1887
+ static ɵfac: i0.ɵɵFactoryDeclaration<Droppable, never>;
1888
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Droppable, "[droppable]", never, { "dragOverClass": { "alias": "dragOverClass"; "required": false; }; "dragHintClass": { "alias": "dragHintClass"; "required": false; }; "dropScope": { "alias": "dropScope"; "required": false; }; "dropEnabled": { "alias": "dropEnabled"; "required": false; }; }, { "onDragEnter": "onDragEnter"; "onDragOver": "onDragOver"; "onDragLeave": "onDragLeave"; "onDrop": "onDrop"; }, never, never, false, never>;
1889
+ }
1890
+
1891
+ declare class NgDragDropModule {
1892
+ static forRoot(): ModuleWithProviders<NgDragDropModule>;
1893
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgDragDropModule, never>;
1894
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgDragDropModule, [typeof Draggable, typeof Droppable], never, [typeof Draggable, typeof Droppable]>;
1895
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgDragDropModule>;
1896
+ }
1897
+
1740
1898
  declare class DateShortcutComponent extends BaseComponent implements OnInit {
1741
1899
  private _services;
1742
1900
  private _cd;
@@ -1913,5 +2071,5 @@ declare const ReportBuilderModulePermission: ModulePermissionModel;
1913
2071
 
1914
2072
  declare const SuperAdminModulePermission: ModulePermissionModel;
1915
2073
 
1916
- export { AccountManagerService, AlertService, Auth365Component, AuthGuard, AuthPermissionService, AuthService, AwsService, BaseComponent, CanDeactivateGuard, CollapseTableComponent, CollapseTableModule, CoreComponent, CoreModule, CoreService, DatatableComponent, DatatableModule, DateShortcutComponent, DateShortcutModule, DialogService, DomSanitizorPipe, EnrollComponent, FileModule, FileUploadComponent, FilterEqualPipe, FilterNotEqualPipe, FocusDirective, ForgotPasswordComponent, FormButtonComponent, FormButtonModule, HomeComponent, JsonParsePipe, LoggerComponent, MinusCurrencyPipe, NavbarMainComponent, NavbarModuleComponent, OfflineManagerService, PhonePipe, PipeModule, ProviderService, ReportBuilderModulePermission, ResizeService, ResponsiveButtonGroupComponent, ResponsiveButtonGroupModule, ReversePipe, SchedulerComponent, SchedulerModule, ScrollDirective, SharedModule, SocketManagerService, SocketService, SortTableDirective, SortTableHeaderComponent, SortTableModule, SortTableNgForComponent, StorageDB, SuperAdminModulePermission, SupportTicketComponent, SupportTicketDetailComponent, SupportTicketEditComponent, SupportTicketListComponent, SupportTicketModule, SupportTicketNewComponent, SupportTicketRouting, SupportTicketService, TitleCaseAndUnderscorePipe, TokenManagerService, UserRoleComponent, UserRoleModule, ValidationService, WindowRefService, applyMongoUpdate, b64toBlobURL, blobToFile, dateReviver, deepCopy, deepDiffDetails, exportCsv, generateCronStringFromDate, isUpperCase, mergeDeep, pad, round, s2ab, toDataURL, toTitleCase, type };
1917
- export type { ActiveClientSubscriptionModel, AppStatusModel, CanComponentDeactivate, CollectionDocument, CronJobModel, CsvExportOptions, DatatableColumn, DatatableModel, DialogInputFieldModel, DialogInputFieldSelectOptions, DialogSelectWithButtonsOptionModel, FileModel, LogMethodLatencyModel, ModulePermissionApprovalModel, ModulePermissionModel, ModulePermissionViewModel, NavbarMainTabLinkModel, NavbarMainTabModel, NavbarMainTabType, NavbarModel, NavbarTabModel, OtherObject, PaginationOptions, ScrollEvent, SelectDataLabelModel, Sort, SortDirection, SortDirectionType, SortMongo, Sortable, SubscriptionModel, SubscriptionPubModel, SupportTicketClientUserModel, SupportTicketMessageModel, SupportTicketModel, SupportTicketNoteModel, SupportTicketPriority, SupportTicketStatus, SupportTicketSubstatus, SupportTicketTaskModel, SupportTicketType, SupportTicketUserAssignedModel, SupportTicketWatchersModel, UserGroupModel, UserGroupNotificationModel, UserGroupPermissionModel, UserGroupViewModel, UserModel, UserRoleApprovalModel, UserRoleGroupModel, UserRoleModel, UserSettingsModel, alertType };
2074
+ export { AccountManagerService, AlertService, Auth365Component, AuthGuard, AuthPermissionService, AuthService, AwsService, BaseComponent, CanDeactivateGuard, CollapseTableComponent, CollapseTableModule, CoreComponent, CoreModule, CoreService, DatatableComponent, DatatableModule, DateShortcutComponent, DateShortcutModule, DialogService, DomSanitizorPipe, Draggable, DropEvent, Droppable, EnrollComponent, FileModule, FileUploadComponent, FilterEqualPipe, FilterNotEqualPipe, FocusDirective, ForgotPasswordComponent, FormButtonComponent, FormButtonModule, HomeComponent, JsonParsePipe, LoggerComponent, MinusCurrencyPipe, NavbarMainComponent, NavbarModuleComponent, NgDragDropModule, NgDragDropService, OfflineManagerService, PhonePipe, PipeModule, ProviderService, ReportBuilderModulePermission, ResizeService, ResponsiveButtonGroupComponent, ResponsiveButtonGroupModule, ReversePipe, SchedulerComponent, SchedulerModule, ScrollDirective, SharedModule, SocketManagerService, SocketService, SortTableDirective, SortTableHeaderComponent, SortTableModule, SortTableNgForComponent, Sortable as SortableJs, SortablejsDirective, SortablejsModule, StorageDB, SuperAdminModulePermission, SupportTicketComponent, SupportTicketDetailComponent, SupportTicketEditComponent, SupportTicketListComponent, SupportTicketModule, SupportTicketNewComponent, SupportTicketRouting, SupportTicketService, TitleCaseAndUnderscorePipe, TokenManagerService, UserRoleComponent, UserRoleModule, ValidationService, WindowRefService, applyMongoUpdate, b64toBlobURL, blobToFile, dateReviver, deepCopy, deepDiffDetails, exportCsv, generateCronStringFromDate, isUpperCase, mergeDeep, pad, round, s2ab, toDataURL, toTitleCase, type };
2075
+ export type { ActiveClientSubscriptionModel, AppStatusModel, CanComponentDeactivate, CollectionDocument, CronJobModel, CsvExportOptions, DatatableColumn, DatatableModel, DialogInputFieldModel, DialogInputFieldSelectOptions, DialogSelectWithButtonsOptionModel, FileModel, LogMethodLatencyModel, ModulePermissionApprovalModel, ModulePermissionModel, ModulePermissionViewModel, NavbarMainTabLinkModel, NavbarMainTabModel, NavbarMainTabType, NavbarModel, NavbarTabModel, OtherObject, PaginationOptions, ScrollEvent, SelectDataLabelModel, Sort, SortDirection, SortDirectionType, SortMongo, Sortable$1 as Sortable, SortableEvent as SortablejsEvent, Options as SortablejsOptions, SubscriptionModel, SubscriptionPubModel, SupportTicketClientUserModel, SupportTicketMessageModel, SupportTicketModel, SupportTicketNoteModel, SupportTicketPriority, SupportTicketStatus, SupportTicketSubstatus, SupportTicketTaskModel, SupportTicketType, SupportTicketUserAssignedModel, SupportTicketWatchersModel, UserGroupModel, UserGroupNotificationModel, UserGroupPermissionModel, UserGroupViewModel, UserModel, UserRoleApprovalModel, UserRoleGroupModel, UserRoleModel, UserSettingsModel, alertType };