@lazycatcloud/lzc-toolkit 0.0.211 → 0.0.213

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.
@@ -1,4 +1,4 @@
1
- import { type Ref } from "vue";
1
+ import { type Ref, type ComputedRef } from "vue";
2
2
  interface DragOptions {
3
3
  key?: string;
4
4
  customAttributeValue?: (val: string) => any;
@@ -13,6 +13,7 @@ interface DragOptions {
13
13
  select?: (_: any[]) => void;
14
14
  unselect?: (_: any[]) => void;
15
15
  unselectAll?: () => void;
16
+ selected?: ComputedRef<any[]>;
16
17
  };
17
18
  }
18
19
  declare type ContainsRefType = Ref<HTMLElement | null | undefined>;
@@ -24,10 +25,10 @@ export declare function useDragSelect({ key, customAttributeValue, attribute, se
24
25
  onScroll: () => void;
25
26
  isSingleClick: () => boolean;
26
27
  cancelSelectAllBySingleClick: () => void;
27
- selectFn: import("vue").ComputedRef<import("@vueuse/shared").PromisifyFn<() => void>>;
28
+ selectFn: ComputedRef<import("@vueuse/shared").PromisifyFn<() => void>>;
28
29
  getAttributeValue: (val: string) => any;
29
30
  incrementalSelect: Ref<boolean>;
30
- selectRange: import("vue").ComputedRef<{
31
+ selectRange: ComputedRef<{
31
32
  left: number;
32
33
  top: number;
33
34
  width: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazycatcloud/lzc-toolkit",
3
- "version": "0.0.211",
3
+ "version": "0.0.213",
4
4
  "description": "lazycat ui toolkits",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",