@resolveio/client-lib-core 21.0.46 → 21.1.1

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.46",
3
+ "version": "21.1.1",
4
4
  "module": "fesm2022/resolveio-client-lib-core.min.mjs",
5
5
  "typings": "types/resolveio-client-lib-core.d.ts",
6
6
  "exports": {
@@ -15,8 +15,8 @@ import { NgbModal, NgbModalOptions, NgbActiveModal } from '@ng-bootstrap/ng-boot
15
15
  import * as i2$1 from '@angular/common';
16
16
  import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
17
17
  import * as i1 from '@angular/platform-browser/animations';
18
- import * as i9 from '@resolveio/client-lib-ng-select';
19
- import { StickySelectPreference, NgSelectStickyAdapter } from '@resolveio/client-lib-ng-select';
18
+ import * as i9 from '@resolveio/client-lib-rio-select';
19
+ import { StickySelectPreference, RioSelectStickyAdapter } from '@resolveio/client-lib-rio-select';
20
20
  import * as i14 from '@resolveio/client-lib-date-picker';
21
21
  import * as i7 from 'ngx-file-drop';
22
22
  import * as i8 from '@resolveio/client-lib-pdf-viewer';
@@ -137,7 +137,7 @@ interface UserSettingsModel {
137
137
  secondary_hover_color: string;
138
138
  routing_preference: string;
139
139
  opening_route: string;
140
- ng_select_search_mode?: 'fuzzy' | 'exact';
140
+ rio_select_search_mode?: 'fuzzy' | 'exact';
141
141
  }
142
142
  interface UserRoleModel {
143
143
  super_admin: boolean;
@@ -419,6 +419,7 @@ declare class AccountManagerService {
419
419
  user$: Subscription;
420
420
  environment: any;
421
421
  constructor(_router: Router, _socket: SocketManagerService, _token: TokenManagerService, _http: HttpClient, _alert: AlertService, _offline: OfflineManagerService);
422
+ private normalizeUser;
422
423
  initLoginManager(environment: any): void;
423
424
  private initLogin;
424
425
  getAccessToken(refreshToken: any): void;
@@ -584,7 +585,7 @@ interface DialogInputFieldSelectOptions {
584
585
  value: string | number;
585
586
  text: string;
586
587
  }
587
- type DialogInputFieldTypes = 'text' | 'number' | 'select' | 'ng-select' | 'state' | 'email' | 'password' | 'textarea' | 'boolean' | 'date' | 'datetime';
588
+ type DialogInputFieldTypes = 'text' | 'number' | 'select' | 'rio-select' | 'state' | 'email' | 'password' | 'textarea' | 'boolean' | 'date' | 'datetime';
588
589
  interface DialogSelectWithButtonsOptionModel {
589
590
  value: string | number;
590
591
  text: string;
@@ -906,7 +907,7 @@ declare class PipeModule {
906
907
  }
907
908
 
908
909
  declare function rioDatePickerConfigFactory(_account: AccountManagerService, _app: CoreService): {
909
- resolveFirstDayOfWeek: () => "S" | "M";
910
+ resolveFirstDayOfWeek: () => "M" | "S";
910
911
  resolveTimezone: () => any;
911
912
  };
912
913
  declare class CoreServicesModule {
@@ -1306,7 +1307,7 @@ declare class NgDragDropModule {
1306
1307
 
1307
1308
  declare class SharedModule {
1308
1309
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
1309
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1$1.ReactiveFormsModule, typeof i1$1.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$1.CommonModule, typeof SortablejsModule, typeof NgDragDropModule, typeof i14.RioDatePickerModule], [typeof i1$1.ReactiveFormsModule, typeof i1$1.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$1.CommonModule, typeof SortablejsModule, typeof NgDragDropModule, typeof i14.RioDatePickerModule]>;
1310
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1$1.ReactiveFormsModule, typeof i1$1.FormsModule, typeof CollapseTableModule, typeof i3.RouterModule, typeof i4.NgbModule, typeof i4.NgbAccordionModule, typeof FormButtonModule, typeof ResponsiveButtonGroupModule, typeof PipeModule, typeof UserRoleModule, typeof i9.RioSelectModule, typeof SortTableModule, typeof i2$1.CommonModule, typeof SortablejsModule, typeof NgDragDropModule, typeof i14.RioDatePickerModule], [typeof i1$1.ReactiveFormsModule, typeof i1$1.FormsModule, typeof CollapseTableModule, typeof i3.RouterModule, typeof i4.NgbModule, typeof i4.NgbAccordionModule, typeof FormButtonModule, typeof ResponsiveButtonGroupModule, typeof PipeModule, typeof UserRoleModule, typeof i9.RioSelectModule, typeof SortTableModule, typeof i2$1.CommonModule, typeof SortablejsModule, typeof NgDragDropModule, typeof i14.RioDatePickerModule]>;
1310
1311
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
1311
1312
  }
1312
1313
 
@@ -1414,14 +1415,19 @@ declare class DialogSelectDataLabelsContent implements OnInit {
1414
1415
  static ɵcmp: i0.ɵɵComponentDeclaration<DialogSelectDataLabelsContent, "resolveio-dialog.select-data-labels", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "data": { "alias": "data"; "required": false; }; "showArraySubData": { "alias": "showArraySubData"; "required": false; }; }, {}, never, never, false, never>;
1415
1416
  }
1416
1417
 
1417
- declare class DialogLoginContent implements OnInit {
1418
+ declare class DialogLoginContent implements OnInit, AfterViewInit, OnDestroy {
1418
1419
  _activeModal: NgbActiveModal;
1419
1420
  private _fb;
1420
1421
  msAllowed: boolean;
1421
1422
  showLoginText: boolean;
1423
+ usernameInput?: ElementRef<HTMLInputElement>;
1422
1424
  form: FormGroup;
1425
+ private focusTimeout;
1423
1426
  constructor(_activeModal: NgbActiveModal, _fb: FormBuilder);
1424
1427
  ngOnInit(): void;
1428
+ ngAfterViewInit(): void;
1429
+ ngOnDestroy(): void;
1430
+ private queueUsernameFocus;
1425
1431
  toggleForgotPassword(): void;
1426
1432
  close(type: string): void;
1427
1433
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogLoginContent, never>;
@@ -1542,7 +1548,7 @@ declare class LoggerComponent extends BaseComponent implements OnInit, OnDestroy
1542
1548
  ngOnDestroy(): void;
1543
1549
  getLogData(): void;
1544
1550
  selectType(type: string): void;
1545
- icon(type: any): "success" | "info" | "secondary" | "danger" | "primary";
1551
+ icon(type: any): "success" | "info" | "danger" | "primary" | "secondary";
1546
1552
  removeAllLogs(): void;
1547
1553
  toDate(value: any, isEnd?: boolean): Date;
1548
1554
  createPickerValue(date: Date, secondOverride?: any): {
@@ -1639,7 +1645,7 @@ declare class UsersSettingsComponent extends BaseComponent implements OnInit, On
1639
1645
  stickySelections: {
1640
1646
  [key: string]: any;
1641
1647
  };
1642
- constructor(_aps: AuthPermissionService, _us: UserSettingsService, _services: ProviderService, _ds: DialogService, _stickyAdapter?: NgSelectStickyAdapter);
1648
+ constructor(_aps: AuthPermissionService, _us: UserSettingsService, _services: ProviderService, _ds: DialogService, _stickyAdapter?: RioSelectStickyAdapter);
1643
1649
  ngOnInit(): void;
1644
1650
  ngOnDestroy(): void;
1645
1651
  changePrimaryColor(): void;
@@ -1800,7 +1806,7 @@ interface CanComponentDeactivate {
1800
1806
  canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
1801
1807
  }
1802
1808
  declare class CanDeactivateGuard {
1803
- canDeactivate(component: CanComponentDeactivate): boolean | Promise<boolean> | Observable<boolean>;
1809
+ canDeactivate(component: CanComponentDeactivate): boolean | Observable<boolean> | Promise<boolean>;
1804
1810
  static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
1805
1811
  static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
1806
1812
  }
@@ -2052,7 +2058,7 @@ declare class DateShortcutComponent extends BaseComponent implements OnInit {
2052
2058
 
2053
2059
  declare class DateShortcutModule {
2054
2060
  static ɵfac: i0.ɵɵFactoryDeclaration<DateShortcutModule, never>;
2055
- static ɵmod: i0.ɵɵNgModuleDeclaration<DateShortcutModule, [typeof DateShortcutComponent], [typeof i1$1.FormsModule, typeof i2$1.CommonModule, typeof i9.NgSelectModule], [typeof DateShortcutComponent]>;
2061
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DateShortcutModule, [typeof DateShortcutComponent], [typeof i1$1.FormsModule, typeof i2$1.CommonModule, typeof i9.RioSelectModule], [typeof DateShortcutComponent]>;
2056
2062
  static ɵinj: i0.ɵɵInjectorDeclaration<DateShortcutModule>;
2057
2063
  }
2058
2064