@resolveio/client-lib-core 21.0.17 → 21.0.19

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.17",
3
+ "version": "21.0.19",
4
4
  "module": "fesm2022/resolveio-client-lib-core.min.mjs",
5
5
  "typings": "types/resolveio-client-lib-core.d.ts",
6
6
  "exports": {
@@ -278,8 +278,8 @@ declare class OfflineManagerService {
278
278
  find(collectionName: string, query: Object, options?: {}, total?: boolean): any;
279
279
  findOne(collectionName: string, query: Object): any;
280
280
  insertDocument(collectionName: string, data: Object, expiresDate?: Date): string;
281
- updateDocument(collectionName: string, data: Object): 1 | 0;
282
- updateDocumentProps(collectionName: string, doc_id: string, updateParams: any[], doc__v: number): 1 | 0;
281
+ updateDocument(collectionName: string, data: Object): 0 | 1;
282
+ updateDocumentProps(collectionName: string, doc_id: string, updateParams: any[], doc__v: number): 0 | 1;
283
283
  removeDocument(collectionName: string, id: string): void;
284
284
  dropCollection(collectionName: any): void;
285
285
  static ɵfac: i0.ɵɵFactoryDeclaration<OfflineManagerService, never>;
@@ -826,7 +826,8 @@ declare class NavbarModuleComponent extends BaseComponent implements OnInit, OnD
826
826
  ngOnInit(): void;
827
827
  ngOnDestroy(): void;
828
828
  selectTabFromRouter(): void;
829
- tabClass(tab: NavbarTabModel): "" | "active";
829
+ tabClass(tab: NavbarTabModel): "active" | "";
830
+ handleNavLinkClick(event: MouseEvent): void;
830
831
  navigateTo(tab: NavbarTabModel): void;
831
832
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarModuleComponent, never>;
832
833
  static ɵcmp: i0.ɵɵComponentDeclaration<NavbarModuleComponent, "navbar-module", never, { "sideNavHeight": { "alias": "sideNavHeight"; "required": false; }; "sideNavWidth": { "alias": "sideNavWidth"; "required": false; }; }, {}, never, never, false, never>;
@@ -1332,6 +1333,8 @@ interface Options {
1332
1333
  handle?: string;
1333
1334
  onEnd?: (event: SortableEvent) => void;
1334
1335
  onUpdate?: (event: SortableEvent) => void;
1336
+ direction?: 'vertical' | 'horizontal';
1337
+ swapThreshold?: number;
1335
1338
  [key: string]: any;
1336
1339
  }
1337
1340
  declare class Sortable {
@@ -1340,6 +1343,8 @@ declare class Sortable {
1340
1343
  private dragItem?;
1341
1344
  private startIndex?;
1342
1345
  private listeners;
1346
+ private direction;
1347
+ private swapThreshold;
1343
1348
  constructor(container: HTMLElement, options?: Options);
1344
1349
  static create(container: HTMLElement, options?: Options): Sortable;
1345
1350
  destroy(): void;
@@ -1355,6 +1360,8 @@ declare class Sortable {
1355
1360
  private isSortableItem;
1356
1361
  private hasValidHandle;
1357
1362
  private getElementIndex;
1363
+ private resolveDirection;
1364
+ private resolveSwapThreshold;
1358
1365
  }
1359
1366
 
1360
1367
  declare class SortablejsDirective implements OnInit, OnDestroy {
@@ -1676,7 +1683,7 @@ interface CanComponentDeactivate {
1676
1683
  canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
1677
1684
  }
1678
1685
  declare class CanDeactivateGuard {
1679
- canDeactivate(component: CanComponentDeactivate): boolean | Observable<boolean> | Promise<boolean>;
1686
+ canDeactivate(component: CanComponentDeactivate): boolean | Promise<boolean> | Observable<boolean>;
1680
1687
  static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
1681
1688
  static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
1682
1689
  }