@tanstack/angular-hotkeys-devtools 0.5.0 → 0.5.2
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,9 +1,3 @@
|
|
|
1
1
|
import { HotkeysDevtoolsPanelProps } from "@tanstack/hotkeys-devtools/production";
|
|
2
|
-
declare namespace AngularHotkeysDevtools_d_exports {
|
|
3
|
-
export { HotkeysDevtoolsAngularInit, HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp };
|
|
4
|
-
}
|
|
5
2
|
export interface HotkeysDevtoolsAngularInit extends Partial<HotkeysDevtoolsPanelProps> {}
|
|
6
|
-
declare const
|
|
7
|
-
export declare const HotkeysDevtoolsPanel: () => (inputs: () => HotkeysDevtoolsAngularInit, host: HTMLElement) => () => void;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { AngularHotkeysDevtools_d_exports, HotkeysDevtoolsPanelNoOp };
|
|
3
|
+
export declare const HotkeysDevtoolsPanel: () => (inputs: () => HotkeysDevtoolsAngularInit, host: HTMLElement) => () => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createAngularPanel } from "@tanstack/devtools-utils/angular";
|
|
2
2
|
import { HotkeysDevtoolsCore } from "@tanstack/hotkeys-devtools/production";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/AngularHotkeysDevtools.ts
|
|
5
5
|
const [createPanel, HotkeysDevtoolsPanelNoOp] = createAngularPanel(HotkeysDevtoolsCore);
|
|
6
6
|
const HotkeysDevtoolsPanel = () => {
|
|
7
7
|
const render = createPanel();
|
|
@@ -15,5 +15,4 @@ const HotkeysDevtoolsPanel = () => {
|
|
|
15
15
|
}, host);
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
//#endregion
|
|
19
18
|
export { HotkeysDevtoolsPanel, HotkeysDevtoolsPanelNoOp };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { HotkeysDevtoolsAngularPlugin, hotkeysDevtoolsNoOpPlugin, hotkeysDevtoolsPlugin as hotkeysDevtoolsPlugin$1
|
|
3
|
-
//#region src/index.d.ts
|
|
1
|
+
import { HotkeysDevtoolsAngularInit } from "./AngularHotkeysDevtools.js";
|
|
2
|
+
import { HotkeysDevtoolsAngularPlugin, hotkeysDevtoolsNoOpPlugin, hotkeysDevtoolsPlugin as hotkeysDevtoolsPlugin$1 } from "./plugin.js";
|
|
4
3
|
export declare const HotkeysDevtoolsPanel: (() => null) | (() => (inputs: () => HotkeysDevtoolsAngularInit, host: HTMLElement) => () => void);
|
|
5
4
|
export declare const hotkeysDevtoolsPlugin: typeof hotkeysDevtoolsNoOpPlugin | typeof hotkeysDevtoolsPlugin$1;
|
|
6
|
-
//#endregion
|
|
7
5
|
export type { HotkeysDevtoolsAngularInit, HotkeysDevtoolsAngularPlugin };
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { HotkeysDevtoolsPanel as HotkeysDevtoolsPanel$1, HotkeysDevtoolsPanelNoOp } from "./AngularHotkeysDevtools.js";
|
|
2
2
|
import { hotkeysDevtoolsNoOpPlugin, hotkeysDevtoolsPlugin as hotkeysDevtoolsPlugin$1 } from "./plugin.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/index.ts
|
|
5
5
|
const HotkeysDevtoolsPanel = process.env.NODE_ENV !== "development" ? HotkeysDevtoolsPanelNoOp : HotkeysDevtoolsPanel$1;
|
|
6
6
|
const hotkeysDevtoolsPlugin = process.env.NODE_ENV !== "development" ? hotkeysDevtoolsNoOpPlugin : hotkeysDevtoolsPlugin$1;
|
|
7
7
|
|
|
8
|
-
//#endregion
|
|
9
8
|
export { HotkeysDevtoolsPanel, hotkeysDevtoolsPlugin };
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { HotkeysDevtoolsAngularInit, HotkeysDevtoolsPanel } from "./AngularHotkeysDevtools.js";
|
|
2
|
-
declare namespace plugin_d_exports {
|
|
3
|
-
export { HotkeysDevtoolsAngularNoOpPlugin, HotkeysDevtoolsAngularPlugin, hotkeysDevtoolsNoOpPlugin, hotkeysDevtoolsPlugin };
|
|
4
|
-
}
|
|
5
2
|
type HotkeysDevtoolsAngularInputs = HotkeysDevtoolsAngularInit | (() => HotkeysDevtoolsAngularInit);
|
|
6
3
|
/** A plugin for `provideTanStackDevtools` from `@tanstack/angular-devtools`. */
|
|
7
4
|
export interface HotkeysDevtoolsAngularPlugin {
|
|
@@ -16,5 +13,4 @@ export interface HotkeysDevtoolsAngularNoOpPlugin {
|
|
|
16
13
|
}
|
|
17
14
|
export declare function hotkeysDevtoolsPlugin(inputs?: HotkeysDevtoolsAngularInputs): HotkeysDevtoolsAngularPlugin;
|
|
18
15
|
export declare function hotkeysDevtoolsNoOpPlugin(): HotkeysDevtoolsAngularNoOpPlugin;
|
|
19
|
-
|
|
20
|
-
export { plugin_d_exports };
|
|
16
|
+
export {};
|
package/dist/plugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HotkeysDevtoolsPanel } from "./AngularHotkeysDevtools.js";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/plugin.ts
|
|
4
4
|
const name = "TanStack Hotkeys";
|
|
5
5
|
function hotkeysDevtoolsPlugin(inputs) {
|
|
6
6
|
return {
|
|
@@ -16,5 +16,4 @@ function hotkeysDevtoolsNoOpPlugin() {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
//#endregion
|
|
20
19
|
export { hotkeysDevtoolsNoOpPlugin, hotkeysDevtoolsPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/angular-hotkeys-devtools",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Angular devtools for TanStack Hotkeys",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@tanstack/devtools-utils": "^0.7.2",
|
|
50
|
-
"@tanstack/hotkeys-devtools": "1.
|
|
50
|
+
"@tanstack/hotkeys-devtools": "1.9.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@angular/core": "^22.2.
|
|
53
|
+
"@angular/core": "^22.2.5"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"clean": "premove ./build ./dist",
|
|
57
|
-
"lint": "
|
|
58
|
-
"lint:fix": "
|
|
59
|
-
"test:
|
|
57
|
+
"lint": "oxlint ./src",
|
|
58
|
+
"lint:fix": "oxlint ./src --fix",
|
|
59
|
+
"test:oxlint": "oxlint ./src",
|
|
60
60
|
"test:lib": "vitest --passWithNoTests",
|
|
61
61
|
"test:lib:dev": "pnpm test:lib --watch",
|
|
62
62
|
"test:types": "tsc",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __exportAll = (all, no_symbols) => {
|
|
4
|
-
let target = {};
|
|
5
|
-
for (var name in all) {
|
|
6
|
-
__defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: true
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
if (!no_symbols) {
|
|
12
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
13
|
-
}
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
export { __exportAll };
|