tenjin-ui-kit 0.3.71 → 0.3.72-dev-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/common/hooks/apiHooks.js +182 -114
- package/common/hooks/newApiHook.js +225 -143
- package/common/utils/security/index.js +2 -2
- package/common/utils/security/securityConfig.js +2 -1
- package/components/Canvas.js +88 -164
- package/components/DragBox/index.js +26 -21
- package/components/InputWithChip/index.js +57 -164
- package/components/RightContext/index.js +28 -19
- package/components/WorkFlow.js +23 -18
- package/components/WorkFlowBuilder.js +48 -33
- package/components/alert/Style.js +14 -11
- package/components/alert/index.js +12 -10
- package/components/attachment/index.js +28 -21
- package/components/authenticationProvider/AuthError.js +4 -3
- package/components/authenticationProvider/AuthLoader.js +4 -3
- package/components/authenticationProvider/index.js +116 -60
- package/components/avatar/index.js +14 -13
- package/components/avatar/styles.js +77 -74
- package/components/breadCrumbs/index.js +53 -42
- package/components/breadCrumbs/style.js +4 -1
- package/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/index.js +6 -5
- package/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/style.js +8 -5
- package/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewHeader/index.js +5 -4
- package/components/browsingTestCaseLayout/TreeViewLayout/TreeViewContent/Index.js +5 -4
- package/components/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/Index.js +6 -5
- package/components/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/style.js +19 -16
- package/components/browsingTestCaseLayout/index.js +30 -25
- package/components/button/index.js +43 -36
- package/components/chatBotModal/index.js +45 -36
- package/components/checkBox/index.js +9 -8
- package/components/combobox/index.js +72 -51
- package/components/divider/index.js +18 -14
- package/components/editableField/index.js +28 -19
- package/components/error/index.js +12 -6
- package/components/errorBoundary/index.js +94 -74
- package/components/fileUploader/index.js +35 -30
- package/components/fileUploader/style.js +49 -46
- package/components/filter/ValueSelector.js +210 -137
- package/components/filter/index.js +39 -29
- package/components/iconButton/index.js +4 -3
- package/components/input/index.js +38 -31
- package/components/layout/index.js +31 -27
- package/components/layout/main/index.js +13 -10
- package/components/layout/main/style.js +14 -11
- package/components/layout/pageContent/index.js +7 -6
- package/components/layout/sidebar/FlatMenu.js +43 -43
- package/components/layout/sidebar/GroupedIconMenu.js +108 -95
- package/components/layout/sidebar/GroupedMenu.js +48 -38
- package/components/layout/sidebar/ProjectMenu.js +116 -109
- package/components/layout/sidebar/index.js +18 -15
- package/components/layout/sidebar/style.js +143 -138
- package/components/layout/topBar/ProjectTopbar.js +191 -90
- package/components/layout/topBar/UserAvatar.js +60 -51
- package/components/layout/topBar/index.js +33 -22
- package/components/loader/index.js +12 -9
- package/components/menu/index.js +35 -26
- package/components/modal/Modal.js +6 -5
- package/components/modal/index.js +13 -10
- package/components/modal/style.js +56 -53
- package/components/optionMenu/index.js +41 -34
- package/components/pagination/index.js +39 -24
- package/components/pagination/style.js +28 -25
- package/components/paginationUpdated/index.js +19 -16
- package/components/paper/index.js +16 -15
- package/components/paper/style.js +27 -24
- package/components/reactSelect/index.js +63 -46
- package/components/reactSelect/style.js +150 -117
- package/components/richTextEditor/index.js +44 -25
- package/components/select/GroupedSelect.js +61 -45
- package/components/select/SimpleSelect.js +82 -52
- package/components/select/index.js +54 -38
- package/components/simpleSelect/index.js +15 -12
- package/components/sort/index.js +22 -19
- package/components/switch/index.js +11 -10
- package/components/switch/style.js +32 -29
- package/components/switch/switch.js +23 -17
- package/components/table/ReactTable.js +71 -54
- package/components/table/SimpleTable.js +78 -59
- package/components/table/index.js +186 -311
- package/components/text/index.js +17 -15
- package/components/timeStamp/index.js +9 -4
- package/components/timeStamp/style.js +15 -12
- package/components/topBar/index.js +92 -85
- package/components/tree/index.js +47 -29
- package/components/tree/style.js +23 -20
- package/components/valuePicker/ValueSelector.js +138 -70
- package/components/valuePicker/index.js +26 -19
- package/components/wrapperLayout/layout/index.js +5 -4
- package/components/wrapperLayout/main/index.js +5 -4
- package/components/wrapperLayout/main/pageContainer/index.js +5 -4
- package/components/wrapperLayout/main/sideBar/index.js +110 -120
- package/components/wrapperLayout/main/sideBar/style.js +183 -177
- package/components/wrapperLayout/topBar/UserAvatar.js +5 -4
- package/components/wrapperLayout/topBar/avatar.js +12 -10
- package/components/wrapperLayout/topBar/index.js +97 -111
- package/components/wrapperLayout/topBar/menuIcon.js +5 -4
- package/components/wrapperLayout/topBar/style.js +64 -61
- package/http/index.js +184 -91
- package/index.js +55 -53
- package/package.json +4 -4
- package/templates/listPage/index.js +57 -36
- package/themes/default.js +7 -5
- package/themes/defaultSmall.js +3 -2
- package/themes/responsiveTheme.js +8 -6
|
@@ -8,142 +8,147 @@ var _iconsMaterial = require("@mui/icons-material");
|
|
|
8
8
|
var _styles = require("@mui/styles");
|
|
9
9
|
var _system = require("@mui/system");
|
|
10
10
|
var _responsiveTheme = _interopRequireDefault(require("../../../themes/responsiveTheme"));
|
|
11
|
-
function _interopRequireDefault(
|
|
12
|
-
var _default =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
var _default = (0, _styles.makeStyles)(function () {
|
|
13
|
+
return {
|
|
14
|
+
subHeader: {
|
|
15
|
+
textTransform: "uppercase",
|
|
16
|
+
fontSize: _responsiveTheme.default.typography.fontSize - 2,
|
|
17
|
+
color: "rgba(0,0,0,0.5)",
|
|
18
|
+
fontWeight: 500
|
|
19
|
+
},
|
|
20
|
+
link: {
|
|
21
|
+
textDecoration: "none"
|
|
22
|
+
},
|
|
23
|
+
listItemText: {
|
|
24
|
+
color: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
25
|
+
fontWeight: "500 !important"
|
|
26
|
+
},
|
|
27
|
+
expanded: {
|
|
28
|
+
width: "200px"
|
|
29
|
+
},
|
|
30
|
+
collapsed: {
|
|
31
|
+
width: "72px"
|
|
32
|
+
},
|
|
33
|
+
collapsedFlatMenuItem: {
|
|
34
|
+
paddingLeft: "0",
|
|
35
|
+
paddingRight: "0",
|
|
36
|
+
display: "flex !important",
|
|
37
|
+
alignItems: "center !important",
|
|
38
|
+
justifyContent: "center !important",
|
|
39
|
+
"& .MuiListItemIcon-root": {
|
|
40
|
+
minWidth: "10px"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
collapsedFlatMenuItemText: {
|
|
44
|
+
display: "none !important"
|
|
45
|
+
},
|
|
46
|
+
flatMenuItem: {
|
|
47
|
+
height: "48px",
|
|
48
|
+
borderRadius: "7px !important"
|
|
49
|
+
},
|
|
50
|
+
selectedFlatMenuItem: {
|
|
51
|
+
backgroundColor: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
52
|
+
color: "#fff !important"
|
|
53
|
+
},
|
|
54
|
+
selectedGroupMenuItem: {
|
|
55
|
+
backgroundColor: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
56
|
+
color: "#fff !important",
|
|
57
|
+
borderRadius: "5px !important"
|
|
58
|
+
},
|
|
59
|
+
selectedFlatMenuIcon: {
|
|
60
|
+
color: "#fff !important"
|
|
61
|
+
},
|
|
62
|
+
selectedFlatMenuItemText: {
|
|
63
|
+
color: "#fff !important"
|
|
64
|
+
},
|
|
65
|
+
projectMenuMainWrapper: {
|
|
66
|
+
paddingTop: "0.5rem",
|
|
67
|
+
// padding: "7px",
|
|
68
|
+
display: "inline-block",
|
|
69
|
+
width: "100%"
|
|
70
|
+
},
|
|
71
|
+
projectMenuHeader: {
|
|
72
|
+
color: "#44409A",
|
|
73
|
+
fontFamily: "sans-serif",
|
|
74
|
+
fontSize: "18px !important",
|
|
75
|
+
lineHeight: "24px",
|
|
76
|
+
display: "flex",
|
|
77
|
+
justifyContent: "center",
|
|
78
|
+
VerticalAlignCenter: true
|
|
79
|
+
},
|
|
80
|
+
selectedProjectMenuItem: {
|
|
81
|
+
backgroundColor: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
82
|
+
color: "#fff !important",
|
|
83
|
+
borderRadius: "5px !important",
|
|
84
|
+
fontWeight: 600
|
|
85
|
+
// fontSize: "16px !important",
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
projectListText: {
|
|
89
|
+
color: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
90
|
+
marginLeft: "24px",
|
|
91
|
+
fontSize: "14px !important",
|
|
92
|
+
fontWeight: 600
|
|
93
|
+
},
|
|
94
|
+
projectListIcon: {
|
|
95
|
+
color: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
96
|
+
display: "flex",
|
|
97
|
+
alignItems: "center",
|
|
98
|
+
width: "1rem",
|
|
99
|
+
height: "1rem"
|
|
100
|
+
},
|
|
101
|
+
selectedProjectMenuItemText: {
|
|
102
|
+
color: "#fff !important"
|
|
103
|
+
// fontSize: "14px !important",
|
|
104
|
+
// fontWeight: 600,
|
|
105
|
+
},
|
|
106
|
+
|
|
107
|
+
selectedProjectMenuItemIcon: {
|
|
108
|
+
color: "#fff !important",
|
|
109
|
+
display: "flex",
|
|
110
|
+
alignItems: "center",
|
|
111
|
+
width: "1rem",
|
|
112
|
+
height: "1rem"
|
|
113
|
+
},
|
|
114
|
+
subHeaderIcon: {
|
|
115
|
+
color: "#44409A",
|
|
116
|
+
display: "flex",
|
|
117
|
+
alignItems: "center",
|
|
118
|
+
width: "0.8rem",
|
|
119
|
+
height: "0.8rem"
|
|
120
|
+
},
|
|
121
|
+
sidebar: {
|
|
122
|
+
display: "inline-block",
|
|
123
|
+
position: "relative"
|
|
124
|
+
},
|
|
125
|
+
buttonIcon: {
|
|
126
|
+
position: "relative",
|
|
127
|
+
padding: "16px",
|
|
128
|
+
fontSize: "16px"
|
|
129
|
+
},
|
|
130
|
+
menuItem: {
|
|
131
|
+
zIndex: 1300,
|
|
132
|
+
display: "none",
|
|
133
|
+
position: "absolute",
|
|
134
|
+
backgroundColor: "#f1f1f1",
|
|
135
|
+
minWidth: "160px",
|
|
136
|
+
boxShadow: "0px 8px 16px 0px rgba(0,0,0,0.2)",
|
|
137
|
+
left: "10%",
|
|
138
|
+
top: "auto"
|
|
139
|
+
},
|
|
140
|
+
menuItemOpen: {
|
|
141
|
+
zIndex: 1300,
|
|
142
|
+
display: "block",
|
|
143
|
+
position: "absolute",
|
|
144
|
+
backgroundColor: "#f1f1f1",
|
|
145
|
+
minWidth: "160px",
|
|
146
|
+
boxShadow: "0px 8px 16px 0px rgba(0,0,0,0.2)",
|
|
147
|
+
left: "92px",
|
|
148
|
+
top: "auto",
|
|
149
|
+
bottom: "auto",
|
|
150
|
+
marginTop: "-3.5rem"
|
|
40
151
|
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
flatMenuItem: {
|
|
46
|
-
height: "48px",
|
|
47
|
-
borderRadius: "7px !important"
|
|
48
|
-
},
|
|
49
|
-
selectedFlatMenuItem: {
|
|
50
|
-
backgroundColor: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
51
|
-
color: "#fff !important"
|
|
52
|
-
},
|
|
53
|
-
selectedGroupMenuItem: {
|
|
54
|
-
backgroundColor: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
55
|
-
color: "#fff !important",
|
|
56
|
-
borderRadius: "5px !important"
|
|
57
|
-
},
|
|
58
|
-
selectedFlatMenuIcon: {
|
|
59
|
-
color: "#fff !important"
|
|
60
|
-
},
|
|
61
|
-
selectedFlatMenuItemText: {
|
|
62
|
-
color: "#fff !important"
|
|
63
|
-
},
|
|
64
|
-
projectMenuMainWrapper: {
|
|
65
|
-
paddingTop: "0.5rem",
|
|
66
|
-
// padding: "7px",
|
|
67
|
-
display: "inline-block",
|
|
68
|
-
width: "100%"
|
|
69
|
-
},
|
|
70
|
-
projectMenuHeader: {
|
|
71
|
-
color: "#44409A",
|
|
72
|
-
fontFamily: "sans-serif",
|
|
73
|
-
fontSize: "18px !important",
|
|
74
|
-
lineHeight: "24px",
|
|
75
|
-
display: "flex",
|
|
76
|
-
justifyContent: "center",
|
|
77
|
-
VerticalAlignCenter: true
|
|
78
|
-
},
|
|
79
|
-
selectedProjectMenuItem: {
|
|
80
|
-
backgroundColor: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
81
|
-
color: "#fff !important",
|
|
82
|
-
borderRadius: "5px !important",
|
|
83
|
-
fontWeight: 600
|
|
84
|
-
// fontSize: "16px !important",
|
|
85
|
-
},
|
|
86
|
-
projectListText: {
|
|
87
|
-
color: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
88
|
-
marginLeft: "24px",
|
|
89
|
-
fontSize: "14px !important",
|
|
90
|
-
fontWeight: 600
|
|
91
|
-
},
|
|
92
|
-
projectListIcon: {
|
|
93
|
-
color: "".concat(_responsiveTheme.default.palette.primary.main, " !important"),
|
|
94
|
-
display: "flex",
|
|
95
|
-
alignItems: "center",
|
|
96
|
-
width: "1rem",
|
|
97
|
-
height: "1rem"
|
|
98
|
-
},
|
|
99
|
-
selectedProjectMenuItemText: {
|
|
100
|
-
color: "#fff !important"
|
|
101
|
-
// fontSize: "14px !important",
|
|
102
|
-
// fontWeight: 600,
|
|
103
|
-
},
|
|
104
|
-
selectedProjectMenuItemIcon: {
|
|
105
|
-
color: "#fff !important",
|
|
106
|
-
display: "flex",
|
|
107
|
-
alignItems: "center",
|
|
108
|
-
width: "1rem",
|
|
109
|
-
height: "1rem"
|
|
110
|
-
},
|
|
111
|
-
subHeaderIcon: {
|
|
112
|
-
color: "#44409A",
|
|
113
|
-
display: "flex",
|
|
114
|
-
alignItems: "center",
|
|
115
|
-
width: "0.8rem",
|
|
116
|
-
height: "0.8rem"
|
|
117
|
-
},
|
|
118
|
-
sidebar: {
|
|
119
|
-
display: "inline-block",
|
|
120
|
-
position: "relative"
|
|
121
|
-
},
|
|
122
|
-
buttonIcon: {
|
|
123
|
-
position: "relative",
|
|
124
|
-
padding: "16px",
|
|
125
|
-
fontSize: "16px"
|
|
126
|
-
},
|
|
127
|
-
menuItem: {
|
|
128
|
-
zIndex: 1300,
|
|
129
|
-
display: "none",
|
|
130
|
-
position: "absolute",
|
|
131
|
-
backgroundColor: "#f1f1f1",
|
|
132
|
-
minWidth: "160px",
|
|
133
|
-
boxShadow: "0px 8px 16px 0px rgba(0,0,0,0.2)",
|
|
134
|
-
left: "10%",
|
|
135
|
-
top: "auto"
|
|
136
|
-
},
|
|
137
|
-
menuItemOpen: {
|
|
138
|
-
zIndex: 1300,
|
|
139
|
-
display: "block",
|
|
140
|
-
position: "absolute",
|
|
141
|
-
backgroundColor: "#f1f1f1",
|
|
142
|
-
minWidth: "160px",
|
|
143
|
-
boxShadow: "0px 8px 16px 0px rgba(0,0,0,0.2)",
|
|
144
|
-
left: "92px",
|
|
145
|
-
top: "auto",
|
|
146
|
-
bottom: "auto",
|
|
147
|
-
marginTop: "-3.5rem"
|
|
148
|
-
}
|
|
149
|
-
}));
|
|
152
|
+
};
|
|
153
|
+
});
|
|
154
|
+
exports.default = _default;
|