@tanstack/vue-hotkeys-devtools 0.8.0 → 0.9.0

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,15 +1,12 @@
1
1
  import { DevtoolsPanelProps } from "@tanstack/devtools-utils/vue";
2
- import * as _$vue from "vue";
3
-
4
2
  //#region src/VueHotkeysDevtools.d.ts
5
- interface HotkeysDevtoolsVueInit extends DevtoolsPanelProps {}
6
- declare const HotkeysDevtoolsPanel: _$vue.DefineComponent<{
7
- theme?: DevtoolsPanelProps["theme"];
8
- devtoolsProps: DevtoolsPanelProps;
9
- }>, HotkeysDevtoolsPanelNoOp: _$vue.DefineComponent<{
10
- theme?: DevtoolsPanelProps["theme"];
11
- devtoolsProps: DevtoolsPanelProps;
12
- }>;
3
+ export interface HotkeysDevtoolsVueInit extends DevtoolsPanelProps {}
4
+ declare const HotkeysDevtoolsPanel: import("vue").DefineComponent<{
5
+ theme?: DevtoolsPanelProps["theme"];
6
+ devtoolsProps: DevtoolsPanelProps;
7
+ }>, HotkeysDevtoolsPanelNoOp: import("vue").DefineComponent<{
8
+ theme?: DevtoolsPanelProps["theme"];
9
+ devtoolsProps: DevtoolsPanelProps;
10
+ }>;
13
11
  //#endregion
14
- export { HotkeysDevtoolsPanel, HotkeysDevtoolsVueInit };
15
- //# sourceMappingURL=VueHotkeysDevtools.d.ts.map
12
+ export { HotkeysDevtoolsPanel };
@@ -5,5 +5,4 @@ import { HotkeysDevtoolsCore } from "@tanstack/hotkeys-devtools";
5
5
  const [HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp] = createVuePanel(HotkeysDevtoolsCore);
6
6
 
7
7
  //#endregion
8
- export { HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp };
9
- //# sourceMappingURL=VueHotkeysDevtools.js.map
8
+ export { HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp };
package/dist/index.d.ts CHANGED
@@ -1,41 +1,37 @@
1
1
  import { HotkeysDevtoolsVueInit } from "./VueHotkeysDevtools.js";
2
- import * as _$_tanstack_devtools_utils_vue0 from "@tanstack/devtools-utils/vue";
3
- import * as _$vue from "vue";
4
-
5
2
  //#region src/index.d.ts
6
- declare const HotkeysDevtoolsPanel: _$vue.DefineComponent<{
7
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
8
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
3
+ export declare const HotkeysDevtoolsPanel: import("vue").DefineComponent<{
4
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
5
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
9
6
  }>;
10
- declare const hotkeysDevtoolsPlugin: ((props: {
11
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
12
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
7
+ export declare const hotkeysDevtoolsPlugin: ((props: {
8
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
9
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
13
10
  }) => {
14
11
  name: string;
15
- component: _$vue.DefineComponent<{
16
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
17
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
12
+ component: import("vue").DefineComponent<{
13
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
14
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
18
15
  }, {}, unknown>;
19
16
  props: {
20
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
21
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
17
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
18
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
22
19
  };
23
20
  }) | ((props: {
24
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
25
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
21
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
22
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
26
23
  }) => {
27
24
  name: string;
28
25
  component: {
29
26
  new (): {
30
- $props: _$vue.VNodeProps;
27
+ $props: import("vue").VNodeProps;
31
28
  };
32
29
  __isFragment: true;
33
30
  };
34
31
  props: {
35
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
36
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
32
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
33
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
37
34
  };
38
35
  });
39
36
  //#endregion
40
- export { HotkeysDevtoolsPanel, type HotkeysDevtoolsVueInit, hotkeysDevtoolsPlugin };
41
- //# sourceMappingURL=index.d.ts.map
37
+ export type { HotkeysDevtoolsVueInit };
package/dist/index.js CHANGED
@@ -6,5 +6,4 @@ const HotkeysDevtoolsPanel = process.env.NODE_ENV !== "development" ? HotkeysDev
6
6
  const hotkeysDevtoolsPlugin = process.env.NODE_ENV !== "development" ? hotkeysDevtoolsNoOpPlugin : hotkeysDevtoolsPlugin$1;
7
7
 
8
8
  //#endregion
9
- export { HotkeysDevtoolsPanel, hotkeysDevtoolsPlugin };
10
- //# sourceMappingURL=index.js.map
9
+ export { HotkeysDevtoolsPanel, hotkeysDevtoolsPlugin };
package/dist/plugin.d.ts CHANGED
@@ -1,36 +1,32 @@
1
- import * as _$_tanstack_devtools_utils_vue0 from "@tanstack/devtools-utils/vue";
2
- import * as _$vue from "vue";
3
-
4
1
  //#region src/plugin.d.ts
5
2
  declare const hotkeysDevtoolsPlugin: (props: {
6
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
7
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
8
- }) => {
9
- name: string;
10
- component: _$vue.DefineComponent<{
11
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
12
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
13
- }, {}, unknown>;
14
- props: {
15
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
16
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
17
- };
18
- }, hotkeysDevtoolsNoOpPlugin: (props: {
19
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
20
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
21
- }) => {
22
- name: string;
23
- component: {
24
- new (): {
25
- $props: _$vue.VNodeProps;
26
- };
27
- __isFragment: true;
28
- };
29
- props: {
30
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
31
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
3
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
4
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
5
+ }) => {
6
+ name: string;
7
+ component: import("vue").DefineComponent<{
8
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
9
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
10
+ }, {}, unknown>;
11
+ props: {
12
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
13
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
14
+ };
15
+ }, hotkeysDevtoolsNoOpPlugin: (props: {
16
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
17
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
18
+ }) => {
19
+ name: string;
20
+ component: {
21
+ new (): {
22
+ $props: import("vue").VNodeProps;
32
23
  };
24
+ __isFragment: true;
25
+ };
26
+ props: {
27
+ theme?: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps["theme"];
28
+ devtoolsProps: import("@tanstack/devtools-utils/vue").DevtoolsPanelProps;
33
29
  };
30
+ };
34
31
  //#endregion
35
- export { hotkeysDevtoolsPlugin };
36
- //# sourceMappingURL=plugin.d.ts.map
32
+ export { hotkeysDevtoolsPlugin };
package/dist/plugin.js CHANGED
@@ -5,5 +5,4 @@ import { createVuePlugin } from "@tanstack/devtools-utils/vue";
5
5
  const [hotkeysDevtoolsPlugin, hotkeysDevtoolsNoOpPlugin] = createVuePlugin("TanStack Hotkeys", HotkeysDevtoolsPanel);
6
6
 
7
7
  //#endregion
8
- export { hotkeysDevtoolsNoOpPlugin, hotkeysDevtoolsPlugin };
9
- //# sourceMappingURL=plugin.js.map
8
+ export { hotkeysDevtoolsNoOpPlugin, hotkeysDevtoolsPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/vue-hotkeys-devtools",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Vue devtools for TanStack Hotkeys",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -24,39 +24,30 @@
24
24
  "keyboard"
25
25
  ],
26
26
  "type": "module",
27
- "types": "./dist/index.d.cts",
27
+ "types": "./dist/index.d.ts",
28
28
  "exports": {
29
- ".": {
30
- "import": "./dist/index.js",
31
- "require": "./dist/index.cjs"
32
- },
33
- "./production": {
34
- "import": "./dist/production.js",
35
- "require": "./dist/production.cjs"
36
- },
29
+ ".": "./dist/index.js",
30
+ "./production": "./dist/production.js",
37
31
  "./package.json": "./package.json"
38
32
  },
39
33
  "sideEffects": false,
40
34
  "engines": {
41
- "node": ">=18"
35
+ "node": ">=20"
42
36
  },
43
37
  "files": [
44
- "dist/",
45
- "src"
38
+ "dist"
46
39
  ],
47
40
  "peerDependencies": {
48
41
  "vue": ">=3.0.0"
49
42
  },
50
43
  "dependencies": {
51
- "@tanstack/devtools-utils": "^0.4.0",
52
- "@tanstack/hotkeys-devtools": "1.0.0"
44
+ "@tanstack/devtools-utils": "^0.7.0",
45
+ "@tanstack/hotkeys-devtools": "1.1.0"
53
46
  },
54
47
  "devDependencies": {
55
- "@vitejs/plugin-vue": "^6.0.6",
56
- "vue": "^3.5.33"
48
+ "@vitejs/plugin-vue": "^6.0.9",
49
+ "vue": "^3.5.43"
57
50
  },
58
- "main": "./dist/index.cjs",
59
- "module": "./dist/index.js",
60
51
  "scripts": {
61
52
  "clean": "premove ./build ./dist",
62
53
  "lint": "eslint ./src",
@@ -65,6 +56,7 @@
65
56
  "test:lib": "vitest --passWithNoTests",
66
57
  "test:lib:dev": "pnpm test:lib --watch",
67
58
  "test:types": "tsc",
68
- "build": "tsdown"
59
+ "build": "tsdown",
60
+ "test:build": "publint --strict && node ../../scripts/verify-package.ts"
69
61
  }
70
62
  }
@@ -1,10 +0,0 @@
1
- let _tanstack_devtools_utils_vue = require("@tanstack/devtools-utils/vue");
2
- let _tanstack_hotkeys_devtools = require("@tanstack/hotkeys-devtools");
3
-
4
- //#region src/VueHotkeysDevtools.tsx
5
- const [HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp] = (0, _tanstack_devtools_utils_vue.createVuePanel)(_tanstack_hotkeys_devtools.HotkeysDevtoolsCore);
6
-
7
- //#endregion
8
- exports.HotkeysDevtoolsPanel = HotkeysDevtoolsPanel;
9
- exports.HotkeysDevtoolsPanelNoOp = HotkeysDevtoolsPanelNoOp;
10
- //# sourceMappingURL=VueHotkeysDevtools.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VueHotkeysDevtools.cjs","names":["HotkeysDevtoolsCore"],"sources":["../src/VueHotkeysDevtools.tsx"],"sourcesContent":["import { createVuePanel } from '@tanstack/devtools-utils/vue'\nimport { HotkeysDevtoolsCore } from '@tanstack/hotkeys-devtools'\nimport type { DevtoolsPanelProps } from '@tanstack/devtools-utils/vue'\n\nexport interface HotkeysDevtoolsVueInit extends DevtoolsPanelProps {}\n\ntype DevtoolsPanelConstructor = new (props: DevtoolsPanelProps) => {\n mount: (el: HTMLElement, props?: DevtoolsPanelProps) => void\n unmount: () => void\n}\n\nconst [HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp] = createVuePanel(\n HotkeysDevtoolsCore as unknown as DevtoolsPanelConstructor,\n)\n\nexport { HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp }\n"],"mappings":";;;;AAWA,MAAM,CAAC,sBAAsB,6EAC3BA,+CACD"}
@@ -1,15 +0,0 @@
1
- import { DevtoolsPanelProps } from "@tanstack/devtools-utils/vue";
2
- import * as _$vue from "vue";
3
-
4
- //#region src/VueHotkeysDevtools.d.ts
5
- interface HotkeysDevtoolsVueInit extends DevtoolsPanelProps {}
6
- declare const HotkeysDevtoolsPanel: _$vue.DefineComponent<{
7
- theme?: DevtoolsPanelProps["theme"];
8
- devtoolsProps: DevtoolsPanelProps;
9
- }>, HotkeysDevtoolsPanelNoOp: _$vue.DefineComponent<{
10
- theme?: DevtoolsPanelProps["theme"];
11
- devtoolsProps: DevtoolsPanelProps;
12
- }>;
13
- //#endregion
14
- export { HotkeysDevtoolsPanel, HotkeysDevtoolsVueInit };
15
- //# sourceMappingURL=VueHotkeysDevtools.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VueHotkeysDevtools.js","names":[],"sources":["../src/VueHotkeysDevtools.tsx"],"sourcesContent":["import { createVuePanel } from '@tanstack/devtools-utils/vue'\nimport { HotkeysDevtoolsCore } from '@tanstack/hotkeys-devtools'\nimport type { DevtoolsPanelProps } from '@tanstack/devtools-utils/vue'\n\nexport interface HotkeysDevtoolsVueInit extends DevtoolsPanelProps {}\n\ntype DevtoolsPanelConstructor = new (props: DevtoolsPanelProps) => {\n mount: (el: HTMLElement, props?: DevtoolsPanelProps) => void\n unmount: () => void\n}\n\nconst [HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp] = createVuePanel(\n HotkeysDevtoolsCore as unknown as DevtoolsPanelConstructor,\n)\n\nexport { HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp }\n"],"mappings":";;;;AAWA,MAAM,CAAC,sBAAsB,4BAA4B,eACvD,oBACD"}
package/dist/index.cjs DELETED
@@ -1,12 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_VueHotkeysDevtools = require('./VueHotkeysDevtools.cjs');
3
- const require_plugin = require('./plugin.cjs');
4
-
5
- //#region src/index.ts
6
- const HotkeysDevtoolsPanel = process.env.NODE_ENV !== "development" ? require_VueHotkeysDevtools.HotkeysDevtoolsPanelNoOp : require_VueHotkeysDevtools.HotkeysDevtoolsPanel;
7
- const hotkeysDevtoolsPlugin = process.env.NODE_ENV !== "development" ? require_plugin.hotkeysDevtoolsNoOpPlugin : require_plugin.hotkeysDevtoolsPlugin;
8
-
9
- //#endregion
10
- exports.HotkeysDevtoolsPanel = HotkeysDevtoolsPanel;
11
- exports.hotkeysDevtoolsPlugin = hotkeysDevtoolsPlugin;
12
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import * as Devtools from './VueHotkeysDevtools'\nimport * as plugin from './plugin'\n\nexport const HotkeysDevtoolsPanel =\n process.env.NODE_ENV !== 'development'\n ? Devtools.HotkeysDevtoolsPanelNoOp\n : Devtools.HotkeysDevtoolsPanel\n\nexport const hotkeysDevtoolsPlugin =\n process.env.NODE_ENV !== 'development'\n ? plugin.hotkeysDevtoolsNoOpPlugin\n : plugin.hotkeysDevtoolsPlugin\n\nexport type { HotkeysDevtoolsVueInit } from './VueHotkeysDevtools'\n"],"mappings":";;;;;AAGA,MAAa,uBACX,QAAQ,IAAI,aAAa;AAI3B,MAAa,wBACX,QAAQ,IAAI,aAAa"}
package/dist/index.d.cts DELETED
@@ -1,41 +0,0 @@
1
- import { HotkeysDevtoolsVueInit } from "./VueHotkeysDevtools.cjs";
2
- import * as _$_tanstack_devtools_utils_vue0 from "@tanstack/devtools-utils/vue";
3
- import * as _$vue from "vue";
4
-
5
- //#region src/index.d.ts
6
- declare const HotkeysDevtoolsPanel: _$vue.DefineComponent<{
7
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
8
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
9
- }>;
10
- declare const hotkeysDevtoolsPlugin: ((props: {
11
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
12
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
13
- }) => {
14
- name: string;
15
- component: _$vue.DefineComponent<{
16
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
17
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
18
- }, {}, unknown>;
19
- props: {
20
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
21
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
22
- };
23
- }) | ((props: {
24
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
25
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
26
- }) => {
27
- name: string;
28
- component: {
29
- new (): {
30
- $props: _$vue.VNodeProps;
31
- };
32
- __isFragment: true;
33
- };
34
- props: {
35
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
36
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
37
- };
38
- });
39
- //#endregion
40
- export { HotkeysDevtoolsPanel, type HotkeysDevtoolsVueInit, hotkeysDevtoolsPlugin };
41
- //# sourceMappingURL=index.d.cts.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["Devtools.HotkeysDevtoolsPanelNoOp","Devtools.HotkeysDevtoolsPanel","plugin.hotkeysDevtoolsNoOpPlugin","plugin.hotkeysDevtoolsPlugin"],"sources":["../src/index.ts"],"sourcesContent":["import * as Devtools from './VueHotkeysDevtools'\nimport * as plugin from './plugin'\n\nexport const HotkeysDevtoolsPanel =\n process.env.NODE_ENV !== 'development'\n ? Devtools.HotkeysDevtoolsPanelNoOp\n : Devtools.HotkeysDevtoolsPanel\n\nexport const hotkeysDevtoolsPlugin =\n process.env.NODE_ENV !== 'development'\n ? plugin.hotkeysDevtoolsNoOpPlugin\n : plugin.hotkeysDevtoolsPlugin\n\nexport type { HotkeysDevtoolsVueInit } from './VueHotkeysDevtools'\n"],"mappings":";;;;AAGA,MAAa,uBACX,QAAQ,IAAI,aAAa,gBACrBA,2BACAC;AAEN,MAAa,wBACX,QAAQ,IAAI,aAAa,gBACrBC,4BACAC"}
package/dist/plugin.cjs DELETED
@@ -1,10 +0,0 @@
1
- const require_VueHotkeysDevtools = require('./VueHotkeysDevtools.cjs');
2
- let _tanstack_devtools_utils_vue = require("@tanstack/devtools-utils/vue");
3
-
4
- //#region src/plugin.ts
5
- const [hotkeysDevtoolsPlugin, hotkeysDevtoolsNoOpPlugin] = (0, _tanstack_devtools_utils_vue.createVuePlugin)("TanStack Hotkeys", require_VueHotkeysDevtools.HotkeysDevtoolsPanel);
6
-
7
- //#endregion
8
- exports.hotkeysDevtoolsNoOpPlugin = hotkeysDevtoolsNoOpPlugin;
9
- exports.hotkeysDevtoolsPlugin = hotkeysDevtoolsPlugin;
10
- //# sourceMappingURL=plugin.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.cjs","names":["HotkeysDevtoolsPanel"],"sources":["../src/plugin.ts"],"sourcesContent":["import { createVuePlugin } from '@tanstack/devtools-utils/vue'\nimport { HotkeysDevtoolsPanel } from './VueHotkeysDevtools'\n\nconst [hotkeysDevtoolsPlugin, hotkeysDevtoolsNoOpPlugin] = createVuePlugin(\n 'TanStack Hotkeys',\n HotkeysDevtoolsPanel,\n)\n\nexport { hotkeysDevtoolsPlugin, hotkeysDevtoolsNoOpPlugin }\n"],"mappings":";;;;AAGA,MAAM,CAAC,uBAAuB,+EAC5B,oBACAA,gDACD"}
package/dist/plugin.d.cts DELETED
@@ -1,36 +0,0 @@
1
- import * as _$_tanstack_devtools_utils_vue0 from "@tanstack/devtools-utils/vue";
2
- import * as _$vue from "vue";
3
-
4
- //#region src/plugin.d.ts
5
- declare const hotkeysDevtoolsPlugin: (props: {
6
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
7
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
8
- }) => {
9
- name: string;
10
- component: _$vue.DefineComponent<{
11
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
12
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
13
- }, {}, unknown>;
14
- props: {
15
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
16
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
17
- };
18
- }, hotkeysDevtoolsNoOpPlugin: (props: {
19
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
20
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
21
- }) => {
22
- name: string;
23
- component: {
24
- new (): {
25
- $props: _$vue.VNodeProps;
26
- };
27
- __isFragment: true;
28
- };
29
- props: {
30
- theme?: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps["theme"];
31
- devtoolsProps: _$_tanstack_devtools_utils_vue0.DevtoolsPanelProps;
32
- };
33
- };
34
- //#endregion
35
- export { hotkeysDevtoolsPlugin };
36
- //# sourceMappingURL=plugin.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.js","names":[],"sources":["../src/plugin.ts"],"sourcesContent":["import { createVuePlugin } from '@tanstack/devtools-utils/vue'\nimport { HotkeysDevtoolsPanel } from './VueHotkeysDevtools'\n\nconst [hotkeysDevtoolsPlugin, hotkeysDevtoolsNoOpPlugin] = createVuePlugin(\n 'TanStack Hotkeys',\n HotkeysDevtoolsPanel,\n)\n\nexport { hotkeysDevtoolsPlugin, hotkeysDevtoolsNoOpPlugin }\n"],"mappings":";;;;AAGA,MAAM,CAAC,uBAAuB,6BAA6B,gBACzD,oBACA,qBACD"}
@@ -1,6 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_VueHotkeysDevtools = require('./VueHotkeysDevtools.cjs');
3
- const require_plugin = require('./plugin.cjs');
4
-
5
- exports.HotkeysDevtoolsPanel = require_VueHotkeysDevtools.HotkeysDevtoolsPanel;
6
- exports.hotkeysDevtoolsPlugin = require_plugin.hotkeysDevtoolsPlugin;
@@ -1,3 +0,0 @@
1
- import { HotkeysDevtoolsPanel, HotkeysDevtoolsVueInit } from "./VueHotkeysDevtools.cjs";
2
- import { hotkeysDevtoolsPlugin } from "./plugin.cjs";
3
- export { HotkeysDevtoolsPanel, type HotkeysDevtoolsVueInit, hotkeysDevtoolsPlugin };
@@ -1,16 +0,0 @@
1
- import { createVuePanel } from '@tanstack/devtools-utils/vue'
2
- import { HotkeysDevtoolsCore } from '@tanstack/hotkeys-devtools'
3
- import type { DevtoolsPanelProps } from '@tanstack/devtools-utils/vue'
4
-
5
- export interface HotkeysDevtoolsVueInit extends DevtoolsPanelProps {}
6
-
7
- type DevtoolsPanelConstructor = new (props: DevtoolsPanelProps) => {
8
- mount: (el: HTMLElement, props?: DevtoolsPanelProps) => void
9
- unmount: () => void
10
- }
11
-
12
- const [HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp] = createVuePanel(
13
- HotkeysDevtoolsCore as unknown as DevtoolsPanelConstructor,
14
- )
15
-
16
- export { HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp }
package/src/index.ts DELETED
@@ -1,14 +0,0 @@
1
- import * as Devtools from './VueHotkeysDevtools'
2
- import * as plugin from './plugin'
3
-
4
- export const HotkeysDevtoolsPanel =
5
- process.env.NODE_ENV !== 'development'
6
- ? Devtools.HotkeysDevtoolsPanelNoOp
7
- : Devtools.HotkeysDevtoolsPanel
8
-
9
- export const hotkeysDevtoolsPlugin =
10
- process.env.NODE_ENV !== 'development'
11
- ? plugin.hotkeysDevtoolsNoOpPlugin
12
- : plugin.hotkeysDevtoolsPlugin
13
-
14
- export type { HotkeysDevtoolsVueInit } from './VueHotkeysDevtools'
package/src/plugin.ts DELETED
@@ -1,9 +0,0 @@
1
- import { createVuePlugin } from '@tanstack/devtools-utils/vue'
2
- import { HotkeysDevtoolsPanel } from './VueHotkeysDevtools'
3
-
4
- const [hotkeysDevtoolsPlugin, hotkeysDevtoolsNoOpPlugin] = createVuePlugin(
5
- 'TanStack Hotkeys',
6
- HotkeysDevtoolsPanel,
7
- )
8
-
9
- export { hotkeysDevtoolsPlugin, hotkeysDevtoolsNoOpPlugin }
package/src/production.ts DELETED
@@ -1,5 +0,0 @@
1
- export { HotkeysDevtoolsPanel } from './VueHotkeysDevtools'
2
-
3
- export type { HotkeysDevtoolsVueInit } from './VueHotkeysDevtools'
4
-
5
- export { hotkeysDevtoolsPlugin } from './plugin'
package/src/vue.d.ts DELETED
@@ -1,6 +0,0 @@
1
- declare module '*.vue' {
2
- import type { DefineComponent } from 'vue'
3
-
4
- const component: DefineComponent<{}, {}, any>
5
- export default component
6
- }