@geotab/zenith 1.19.0-beta.1 → 1.19.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geotab/zenith",
|
|
3
|
-
"version": "1.19.0
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"description": "Zenith components library on React",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
},
|
|
94
94
|
"publishConfig": {
|
|
95
95
|
"access": "public"
|
|
96
|
-
|
|
96
|
+
}
|
|
97
97
|
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ITypedHash } from "./groupsFilterInterfaces";
|
|
2
|
-
export declare const groupsArr: ({
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
children: {
|
|
6
|
-
id: string;
|
|
7
|
-
}[];
|
|
8
|
-
color: {
|
|
9
|
-
a: number;
|
|
10
|
-
b: number;
|
|
11
|
-
g: number;
|
|
12
|
-
r: number;
|
|
13
|
-
};
|
|
14
|
-
} | {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
children: undefined;
|
|
18
|
-
color: {
|
|
19
|
-
a: number;
|
|
20
|
-
b: number;
|
|
21
|
-
g: number;
|
|
22
|
-
r: number;
|
|
23
|
-
};
|
|
24
|
-
})[];
|
|
25
|
-
export declare const groupsArrAdvanced: ({
|
|
26
|
-
id: string;
|
|
27
|
-
name: string;
|
|
28
|
-
children: {
|
|
29
|
-
id: string;
|
|
30
|
-
name: string;
|
|
31
|
-
}[];
|
|
32
|
-
} | {
|
|
33
|
-
id: string;
|
|
34
|
-
name: string;
|
|
35
|
-
children?: undefined;
|
|
36
|
-
})[];
|
|
37
|
-
export declare const groupsMap: ITypedHash<unknown>;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.groupsMap = exports.groupsArrAdvanced = exports.groupsArr = void 0;
|
|
4
|
-
exports.groupsArr = [
|
|
5
|
-
{ id: "GroupCompanyId", name: "Company", children: [{ id: "ChildA" }, { id: "ChildB" }], color: { a: 255, b: 0, g: 165, r: 255 } },
|
|
6
|
-
{ id: "ChildA", name: "A element", children: [{ id: "ChildC" }, { id: "ChildE" }], color: { a: 255, b: 255, g: 165, r: 0 } },
|
|
7
|
-
{ id: "ChildB", name: "B element", children: [], color: { a: 255, b: 165, g: 255, r: 0 } },
|
|
8
|
-
{ id: "ChildC", name: "C element", children: [{ id: "ChildD" }], color: { a: 255, b: 165, g: 100, r: 200 } },
|
|
9
|
-
{ id: "ChildD", name: "D element", children: undefined, color: { a: 255, b: 110, g: 100, r: 240 } },
|
|
10
|
-
{ id: "ChildE", name: "E element", children: undefined, color: { a: 135, b: 200, g: 100, r: 40 } }
|
|
11
|
-
];
|
|
12
|
-
exports.groupsArrAdvanced = [
|
|
13
|
-
{ id: "GroupCompanyId", name: "Company", children: [{ id: "ChildA", name: "A element" }, { id: "ChildB", name: "B element" }] },
|
|
14
|
-
{ id: "ChildA", name: "A element", children: [{ id: "ChildC", name: "C element" }, { id: "ChildE", name: "E element" }] },
|
|
15
|
-
{ id: "ChildB", name: "B element" },
|
|
16
|
-
{ id: "ChildC", name: "C element", children: [{ id: "ChildD", name: "D element" }] },
|
|
17
|
-
{ id: "ChildD", name: "D element" },
|
|
18
|
-
{ id: "ChildE", name: "E element" }
|
|
19
|
-
];
|
|
20
|
-
exports.groupsMap = {
|
|
21
|
-
GroupCompanyId: {
|
|
22
|
-
id: "GroupCompanyId",
|
|
23
|
-
name: "Company",
|
|
24
|
-
color: { a: 255, b: 0, g: 165, r: 255 },
|
|
25
|
-
children: [{ id: "ChildA", name: "A element", color: { a: 255, b: 255, g: 165, r: 0 }, children: [{ id: "ChildC", name: "C element", color: { a: 255, b: 165, g: 100, r: 200 },
|
|
26
|
-
children: [{ id: "ChildD", name: "D element", color: { a: 255, b: 110, g: 100, r: 240 }, children: undefined,
|
|
27
|
-
parent: { id: "ChildC", name: "C element", color: { a: 255, b: 165, g: 100, r: 200 }, children: [{ id: "ChildD" }] } }],
|
|
28
|
-
parent: { id: "ChildA", name: "A element", color: { a: 255, b: 255, g: 165, r: 0 }, children: [{ id: "ChildC" }, { id: "ChildE" }] } },
|
|
29
|
-
{ id: "ChildE", name: "E element", color: { a: 135, b: 200, g: 100, r: 40 }, children: undefined, parent: { id: "ChildA", name: "A element", color: { a: 255, b: 255, g: 165, r: 0 }, children: [{ id: "ChildC" }, { id: "ChildE" }] } }], parent: { id: "GroupCompanyId", name: "Company", color: { a: 255, b: 0, g: 165, r: 255 }, children: [{ id: "ChildA" }, { id: "ChildB" }] }
|
|
30
|
-
}, { id: "ChildB", name: "B element", color: { a: 255, b: 165, g: 255, r: 0 },
|
|
31
|
-
children: [], parent: { id: "GroupCompanyId", name: "Company", color: { a: 255, b: 0, g: 165, r: 255 }, children: [{ id: "ChildA" }, { id: "ChildB" }] } }],
|
|
32
|
-
parent: { id: "root", name: "", parent: undefined,
|
|
33
|
-
children: [{ id: "GroupCompanyId", name: "Company", color: { a: 255, b: 0, g: 165, r: 255 }, parent: undefined, children: [
|
|
34
|
-
{ id: "ChildA", name: "A element", color: { a: 255, b: 255, g: 165, r: 0 }, children: [{ id: "ChildC", name: "C element", color: { a: 255, b: 165, g: 100, r: 200 }, children: [{ id: "ChildD", name: "D element", color: { a: 255, b: 110, g: 100, r: 240 }, children: undefined, parent: { id: "ChildC", name: "C element", color: { a: 255, b: 165, g: 100, r: 200 }, children: [{ id: "ChildD" }] } }],
|
|
35
|
-
parent: { id: "ChildA", name: "A element", color: { a: 255, b: 255, g: 165, r: 0 }, children: [{ id: "ChildC" }, { id: "ChildE" }] } },
|
|
36
|
-
{ id: "ChildE", name: "E element", color: { a: 135, b: 200, g: 100, r: 40 }, children: undefined,
|
|
37
|
-
parent: { id: "ChildA", name: "A element", color: { a: 255, b: 255, g: 165, r: 0 }, children: [{ id: "ChildC" }, { id: "ChildE" }] } }], parent: { id: "GroupCompanyId", name: "Company", color: { a: 255, b: 0, g: 165, r: 255 }, children: [{ id: "ChildA" }, { id: "ChildB" }] } },
|
|
38
|
-
{ id: "ChildB", name: "B element", color: { a: 255, b: 165, g: 255, r: 0 }, children: [], parent: { id: "GroupCompanyId", name: "Company", color: { a: 255, b: 0, g: 165, r: 255 }, children: [{ id: "ChildA" }, { id: "ChildB" }] } }
|
|
39
|
-
] }]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
ChildA: {
|
|
43
|
-
id: "ChildA",
|
|
44
|
-
name: "A element",
|
|
45
|
-
color: { a: 255, b: 255, g: 165, r: 0 },
|
|
46
|
-
children: [{ id: "ChildC", name: "C element", color: { a: 255, b: 165, g: 100, r: 200 },
|
|
47
|
-
children: [{ id: "ChildD", name: "D element", color: { a: 255, b: 110, g: 100, r: 240 }, children: undefined,
|
|
48
|
-
parent: { id: "ChildC", name: "C element", color: { a: 255, b: 165, g: 100, r: 200 }, children: [{ id: "ChildD" }] }
|
|
49
|
-
}],
|
|
50
|
-
parent: { id: "ChildA", name: "A element", color: { a: 255, b: 255, g: 165, r: 0 }, children: [{ id: "ChildC" }, { id: "ChildE" }] } }, { id: "ChildE", name: "E element",
|
|
51
|
-
color: { a: 135, b: 200, g: 100, r: 40 }, children: undefined,
|
|
52
|
-
parent: { id: "ChildA", name: "A element", color: { a: 255, b: 255, g: 165, r: 0 }, children: [{ id: "ChildC" }, { id: "ChildE" }] } }],
|
|
53
|
-
parent: { id: "GroupCompanyId", name: "Company", color: { a: 255, b: 0, g: 165, r: 255 }, children: [{ id: "ChildA" }, { id: "ChildB" }] }
|
|
54
|
-
},
|
|
55
|
-
ChildB: { id: "ChildB", name: "B element",
|
|
56
|
-
color: { a: 255, b: 165, g: 255, r: 0 },
|
|
57
|
-
children: [],
|
|
58
|
-
parent: { id: "GroupCompanyId", name: "Company", color: { a: 255, b: 0, g: 165, r: 255 }, children: [{ id: "ChildA" }, { id: "ChildB" }] }
|
|
59
|
-
},
|
|
60
|
-
ChildC: { id: "ChildC", name: "C element",
|
|
61
|
-
color: { a: 255, b: 165, g: 100, r: 200 },
|
|
62
|
-
children: [{ id: "ChildD", name: "D element", color: { a: 255, b: 110, g: 100, r: 240 }, children: undefined,
|
|
63
|
-
parent: { id: "ChildC", name: "C element", color: { a: 255, b: 165, g: 100, r: 200 }, children: [{ id: "ChildD" }] } }],
|
|
64
|
-
parent: { id: "ChildA", name: "A element", color: { a: 255, b: 255, g: 165, r: 0 }, children: [{ id: "ChildC" }, { id: "ChildE" }] }
|
|
65
|
-
},
|
|
66
|
-
ChildD: { id: "ChildD", name: "D element",
|
|
67
|
-
color: { a: 255, b: 110, g: 100, r: 240 },
|
|
68
|
-
children: undefined,
|
|
69
|
-
parent: { id: "ChildC", name: "C element", color: { a: 255, b: 165, g: 100, r: 200 }, children: [{ id: "ChildD" }] }
|
|
70
|
-
},
|
|
71
|
-
ChildE: { id: "ChildE", name: "E element",
|
|
72
|
-
color: { a: 135, b: 200, g: 100, r: 40 },
|
|
73
|
-
children: undefined,
|
|
74
|
-
parent: { id: "ChildA", name: "A element", color: { a: 255, b: 255, g: 165, r: 0 }, children: [{ id: "ChildC" }, { id: "ChildE" }] }
|
|
75
|
-
}
|
|
76
|
-
};
|