@resolveio/client-lib-core 21.0.17 → 21.0.18

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.18",
4
4
  "module": "fesm2022/resolveio-client-lib-core.min.mjs",
5
5
  "typings": "types/resolveio-client-lib-core.d.ts",
6
6
  "exports": {
@@ -1332,6 +1332,8 @@ interface Options {
1332
1332
  handle?: string;
1333
1333
  onEnd?: (event: SortableEvent) => void;
1334
1334
  onUpdate?: (event: SortableEvent) => void;
1335
+ direction?: 'vertical' | 'horizontal';
1336
+ swapThreshold?: number;
1335
1337
  [key: string]: any;
1336
1338
  }
1337
1339
  declare class Sortable {
@@ -1340,6 +1342,8 @@ declare class Sortable {
1340
1342
  private dragItem?;
1341
1343
  private startIndex?;
1342
1344
  private listeners;
1345
+ private direction;
1346
+ private swapThreshold;
1343
1347
  constructor(container: HTMLElement, options?: Options);
1344
1348
  static create(container: HTMLElement, options?: Options): Sortable;
1345
1349
  destroy(): void;
@@ -1355,6 +1359,8 @@ declare class Sortable {
1355
1359
  private isSortableItem;
1356
1360
  private hasValidHandle;
1357
1361
  private getElementIndex;
1362
+ private resolveDirection;
1363
+ private resolveSwapThreshold;
1358
1364
  }
1359
1365
 
1360
1366
  declare class SortablejsDirective implements OnInit, OnDestroy {