@monkey2582/thinconsole 1.3.4 → 1.3.5
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/en.thinConsole.min.js +1 -1
- package/package.json +1 -1
- package/thinConsole.d.ts +13 -1
- package/thinConsole.min.js +1 -1
package/package.json
CHANGED
package/thinConsole.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for thinConsole v1.3.
|
|
1
|
+
// Type definitions for thinConsole v1.3.5
|
|
2
2
|
// Project: thinConsole - A lightweight mobile web debugging console
|
|
3
3
|
// UMD module: supports CommonJS, AMD, and global (browser window.thinConsole)
|
|
4
4
|
|
|
@@ -68,6 +68,18 @@ declare class thinConsole {
|
|
|
68
68
|
*/
|
|
69
69
|
_fmtCount(n: number, plusK?: boolean): thinConsole.FilterCountResult;
|
|
70
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Unified filter count updater for both built-in (console) and plugin tabs.
|
|
73
|
+
* @param container Filter button container (filterButtons or plugin view container)
|
|
74
|
+
* @param counts Count lookup object (type -> number | FilterCountResult)
|
|
75
|
+
* @param isPlugin If true, use plugin rendering (icon + orig); else console (cached HTML)
|
|
76
|
+
*/
|
|
77
|
+
_updateFilterCounts(
|
|
78
|
+
container: HTMLElement | NodeListOf<Element> | null,
|
|
79
|
+
counts: Record<string, number | thinConsole.FilterCountResult> | null,
|
|
80
|
+
isPlugin: boolean
|
|
81
|
+
): void;
|
|
82
|
+
|
|
71
83
|
// ---- Static properties ----
|
|
72
84
|
static readonly version: string;
|
|
73
85
|
static tC: thinConsole | null;
|