@toolmain/components 1.2.13 → 1.2.14

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/dist/index.d.ts CHANGED
@@ -1699,7 +1699,7 @@ export declare function useKeyboard(): {
1699
1699
  dispose: () => void;
1700
1700
  };
1701
1701
 
1702
- export declare function (): MoveType;
1702
+ export declare function useMove(): MoveType;
1703
1703
 
1704
1704
  export declare const useScale: (data: {
1705
1705
  config: Ref<ScaleConfig>;
@@ -1712,6 +1712,8 @@ export declare const useScale: (data: {
1712
1712
  dispose: () => void;
1713
1713
  };
1714
1714
 
1715
+ export declare function useTarget(): Target;
1716
+
1715
1717
  export declare const useVarState: () => ComponentVarState;
1716
1718
 
1717
1719
  declare enum ValueType {
package/dist/index.js CHANGED
@@ -153,7 +153,7 @@ function Es() {
153
153
  bottom: 0
154
154
  };
155
155
  }
156
- const Eu = () => {
156
+ function Eu() {
157
157
  let s, e = Es(), t = Ss(), n = !1, r = !1;
158
158
  const o = fn(), i = {
159
159
  emit: (w, ..._) => {
@@ -221,7 +221,7 @@ const Eu = () => {
221
221
  disable: f,
222
222
  enable: v
223
223
  };
224
- };
224
+ }
225
225
  function Tu() {
226
226
  const s = fn();
227
227
  let e = !1;
@@ -20171,5 +20171,6 @@ export {
20171
20171
  Iu as useKeyboard,
20172
20172
  Tu as useMove,
20173
20173
  Ou as useScale,
20174
+ Eu as useTarget,
20174
20175
  rb as useVarState
20175
20176
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolmain/components",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "Convient components base on vue3",
5
5
  "license": "MIT",
6
6
  "type": "module",