@vis3/kit 1.2.4-alpha.3 → 1.3.1
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/components/CodeViewer/context.d.ts +13 -0
- package/dist/components/CodeViewer/json-key-plugin.d.ts +6 -8
- package/dist/components/Renderer/Card.d.ts +2 -2
- package/dist/components/Renderer/Json/index.d.ts +3 -1
- package/dist/index.mjs +9415 -9386
- package/dist/index.umd.js +141 -132
- package/dist/utils.d.ts +4 -0
- package/package.json +1 -1
package/dist/utils.d.ts
CHANGED
|
@@ -23,6 +23,10 @@ export declare function gid(): string;
|
|
|
23
23
|
* get(obj, 'a.b["c.d"].e'); // 带点的属性名访问
|
|
24
24
|
*/
|
|
25
25
|
export declare function get<T = any>(obj: any, path: string | (string | number)[], defaultValue?: T): T;
|
|
26
|
+
/**
|
|
27
|
+
* 解析lodash风格的路径字符串为路径数组
|
|
28
|
+
*/
|
|
29
|
+
export declare function parsePath(path: string): (string | number)[];
|
|
26
30
|
export declare function parseCsv(content: string): {
|
|
27
31
|
headers: string[];
|
|
28
32
|
data: Record<string, string | number>[];
|