@zyui/components 0.0.139 → 0.0.141

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.
@@ -6,6 +6,7 @@ import { NodeItem, NodesGroups, WrappedNode } from './type';
6
6
  * @returns 元素的selector路径,如果无法获取则返回null
7
7
  */
8
8
  export declare function getElementnodePath(element: HTMLElement): string | null;
9
+ export declare const invalidateNodePathCache: (container: HTMLElement | null) => void;
9
10
  export declare function getElementById(id: string, container: HTMLElement | null): HTMLElement | null;
10
11
  /**
11
12
  * 通过nodePath获取元素
@@ -6,6 +6,7 @@ import { NodeItem, NodesGroups, WrappedNode } from './type';
6
6
  * @returns 元素的selector路径,如果无法获取则返回null
7
7
  */
8
8
  export declare function getElementnodePath(element: HTMLElement): string | null;
9
+ export declare const invalidateNodePathCache: (container: HTMLElement | null) => void;
9
10
  export declare function getElementById(id: string, container: HTMLElement | null): HTMLElement | null;
10
11
  /**
11
12
  * 通过nodePath获取元素
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyui/components",
3
- "version": "0.0.139",
3
+ "version": "0.0.141",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",