tenjin-ui-kit 0.2.136 → 0.2.137

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.
Files changed (103) hide show
  1. package/package.json +1 -1
  2. package/dist/common/hooks/apiHooks.js +0 -223
  3. package/dist/common/hooks/newApiHook.js +0 -270
  4. package/dist/common/utils/security/index.js +0 -11
  5. package/dist/common/utils/security/securityConfig.js +0 -8
  6. package/dist/components/Canvas.js +0 -254
  7. package/dist/components/DragBox/index.js +0 -45
  8. package/dist/components/InputWithChip/index.js +0 -149
  9. package/dist/components/RightContext/index.css +0 -20
  10. package/dist/components/RightContext/index.js +0 -86
  11. package/dist/components/WorkFlow.js +0 -47
  12. package/dist/components/WorkFlowBuilder.js +0 -130
  13. package/dist/components/alert/Style.js +0 -23
  14. package/dist/components/alert/index.js +0 -69
  15. package/dist/components/attachment/index.js +0 -138
  16. package/dist/components/authenticationProvider/AuthError.js +0 -24
  17. package/dist/components/authenticationProvider/AuthLoader.js +0 -21
  18. package/dist/components/authenticationProvider/index.js +0 -128
  19. package/dist/components/avatar/index.js +0 -95
  20. package/dist/components/avatar/styles.js +0 -94
  21. package/dist/components/breadCrumbs/index.js +0 -162
  22. package/dist/components/breadCrumbs/style.js +0 -11
  23. package/dist/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/index.js +0 -19
  24. package/dist/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/style.js +0 -15
  25. package/dist/components/browsingTestCaseLayout/DetailsViewLayout/DetailsViewHeader/index.js +0 -36
  26. package/dist/components/browsingTestCaseLayout/TreeViewLayout/TreeViewContent/Index.js +0 -26
  27. package/dist/components/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/Index.js +0 -48
  28. package/dist/components/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/style.js +0 -26
  29. package/dist/components/browsingTestCaseLayout/index.js +0 -187
  30. package/dist/components/browsingTestCaseLayout/style.css +0 -82
  31. package/dist/components/button/index.js +0 -131
  32. package/dist/components/checkBox/index.js +0 -30
  33. package/dist/components/divider/index.js +0 -39
  34. package/dist/components/editableField/index.js +0 -125
  35. package/dist/components/error/index.js +0 -56
  36. package/dist/components/errorBoundary/Error.jpg +0 -0
  37. package/dist/components/errorBoundary/index.js +0 -160
  38. package/dist/components/fileUploader/index.js +0 -124
  39. package/dist/components/fileUploader/style.js +0 -60
  40. package/dist/components/iconButton/index.js +0 -35
  41. package/dist/components/iconButton/style.js +0 -1
  42. package/dist/components/input/index.js +0 -124
  43. package/dist/components/layout/index.js +0 -98
  44. package/dist/components/layout/main/index.js +0 -27
  45. package/dist/components/layout/main/style.js +0 -22
  46. package/dist/components/layout/pageContent/index.js +0 -30
  47. package/dist/components/layout/sidebar/FlatMenu.js +0 -64
  48. package/dist/components/layout/sidebar/GroupedIconMenu.js +0 -227
  49. package/dist/components/layout/sidebar/GroupedMenu.js +0 -68
  50. package/dist/components/layout/sidebar/ProjectMenu.js +0 -230
  51. package/dist/components/layout/sidebar/index.js +0 -84
  52. package/dist/components/layout/sidebar/style.js +0 -154
  53. package/dist/components/layout/topBar/ProjectTopbar.js +0 -234
  54. package/dist/components/layout/topBar/UserAvatar.js +0 -102
  55. package/dist/components/layout/topBar/index.js +0 -132
  56. package/dist/components/loader/index.js +0 -28
  57. package/dist/components/menu/index.js +0 -80
  58. package/dist/components/modal/Modal.js +0 -56
  59. package/dist/components/modal/index.js +0 -88
  60. package/dist/components/modal/style.js +0 -60
  61. package/dist/components/optionMenu/index.js +0 -112
  62. package/dist/components/pagination/index.js +0 -129
  63. package/dist/components/pagination/style.js +0 -36
  64. package/dist/components/paper/index.js +0 -44
  65. package/dist/components/paper/style.js +0 -34
  66. package/dist/components/reactSelect/index.js +0 -212
  67. package/dist/components/reactSelect/style.js +0 -163
  68. package/dist/components/richTextEditor/index.js +0 -34
  69. package/dist/components/richTextEditor/style.js +0 -1
  70. package/dist/components/select/SimpleSelect.js +0 -123
  71. package/dist/components/select/index.js +0 -211
  72. package/dist/components/simpleSelect/index.js +0 -122
  73. package/dist/components/switch/index.js +0 -73
  74. package/dist/components/switch/style.js +0 -42
  75. package/dist/components/switch/switch.js +0 -110
  76. package/dist/components/table/ReactTable.js +0 -116
  77. package/dist/components/table/SimpleTable.js +0 -57
  78. package/dist/components/table/index.js +0 -257
  79. package/dist/components/text/index.js +0 -64
  80. package/dist/components/timeStamp/index.js +0 -40
  81. package/dist/components/timeStamp/style.js +0 -23
  82. package/dist/components/topBar/index.js +0 -176
  83. package/dist/components/tree/index.js +0 -314
  84. package/dist/components/tree/style.js +0 -32
  85. package/dist/components/valuePicker/ValueSelector.js +0 -275
  86. package/dist/components/valuePicker/index.js +0 -133
  87. package/dist/components/wrapperLayout/layout/index.js +0 -30
  88. package/dist/components/wrapperLayout/layout/style.js +0 -1
  89. package/dist/components/wrapperLayout/main/index.js +0 -22
  90. package/dist/components/wrapperLayout/main/pageContainer/index.js +0 -28
  91. package/dist/components/wrapperLayout/main/sideBar/index.js +0 -262
  92. package/dist/components/wrapperLayout/main/sideBar/style.js +0 -196
  93. package/dist/components/wrapperLayout/topBar/UserAvatar.js +0 -17
  94. package/dist/components/wrapperLayout/topBar/avatar.js +0 -57
  95. package/dist/components/wrapperLayout/topBar/index.js +0 -182
  96. package/dist/components/wrapperLayout/topBar/menuIcon.js +0 -14
  97. package/dist/components/wrapperLayout/topBar/style.js +0 -77
  98. package/dist/http/index.js +0 -225
  99. package/dist/index.js +0 -320
  100. package/dist/templates/listPage/index.js +0 -301
  101. package/dist/themes/default.js +0 -253
  102. package/dist/themes/defaultSmall.js +0 -86
  103. package/dist/themes/responsiveTheme.js +0 -250
@@ -1,253 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _material = require("@mui/material");
8
- var getFontSize = function getFontSize() {
9
- var devicePixelRatio = window.devicePixelRatio;
10
- if (devicePixelRatio >= 1 && devicePixelRatio < 1.25) {
11
- return 16;
12
- } else if (devicePixelRatio >= 1.25 && devicePixelRatio < 1.5) {
13
- return 14;
14
- } else if (devicePixelRatio >= 1.5) {
15
- return 12;
16
- } else {
17
- return 40;
18
- }
19
- };
20
- var getSpacing = function getSpacing() {
21
- if (devicePixelRatio >= 1 && devicePixelRatio < 1.25) {
22
- return 8;
23
- } else if (devicePixelRatio >= 1.25 && devicePixelRatio < 1.5) {
24
- return 6;
25
- } else if (devicePixelRatio >= 1.5) {
26
- return 4;
27
- } else {
28
- return 8;
29
- }
30
- };
31
- var _default = (0, _material.createTheme)({
32
- spacing: getSpacing(),
33
- components: {
34
- MuiButton: {
35
- defaultProps: {
36
- variant: "contained",
37
- disableRipple: true,
38
- size: "small"
39
- },
40
- styleOverrides: {
41
- root: {
42
- textTransform: "initial"
43
- }
44
- }
45
- },
46
- MuiAppBar: {
47
- styleOverrides: {
48
- root: {
49
- height: "60px !important"
50
- }
51
- }
52
- },
53
- MuiDivider: {
54
- styleOverrides: {
55
- root: {
56
- height: "93% !important"
57
- }
58
- }
59
- },
60
- MuiOutlinedInput: {
61
- defaultProps: {
62
- size: "small"
63
- }
64
- }
65
- // MuiInputBase: {
66
- // styleOverrides: {
67
- // input: {
68
- // backgroundColor: '#ACACAC',
69
- // },
70
- // },
71
- // },
72
- },
73
-
74
- MuiAutocomplete: {
75
- styleOverrides: {
76
- root: {
77
- padding: "0.5rem 0.75rem",
78
- border: "1px solid black !important",
79
- borderRadius: "0.25rem",
80
- backgroundColor: "white",
81
- "& .MuiAutocomplete-input": {
82
- padding: "0.5rem 0.75rem",
83
- fontSize: "1rem",
84
- border: "1px solid black !important"
85
- }
86
- }
87
- },
88
- MuiInputLabel: {
89
- styleOverrides: {
90
- asterisk: {
91
- color: "#db3131",
92
- "&$error": {
93
- color: "#db3131"
94
- }
95
- }
96
- }
97
- }
98
- },
99
- overrides: {
100
- MuiCssBaseline: {
101
- "@global": {
102
- html: {
103
- "scroll-behavior": "smooth",
104
- height: "100vh"
105
- },
106
- body: {
107
- position: "relative",
108
- margin: 0,
109
- height: "100vh",
110
- color: "#000000",
111
- backgroundColor: "#f4f7fc"
112
- },
113
- "*::-webkit-scrollbar": {
114
- width: "6px"
115
- },
116
- a: {
117
- textDecoration: "none",
118
- color: "#44409A"
119
- },
120
- "*::-webkit-scrollbar-thumb": {
121
- backgroundColor: "#e4e4e4",
122
- borderRadius: "3px",
123
- opacity: 0.5
124
- },
125
- "*::-webkit-scrollbar-track": {
126
- background: "transparent"
127
- }
128
- }
129
- }
130
- },
131
- palette: {
132
- //primary: {
133
- // main: "#44409A",
134
- // light: "#5B58A9",
135
- // dark: "#443F99",
136
- // white: "#FFFFFF",
137
- // tenjinLight: "#F4F7FC",
138
- // tenjinMLight: "#F7F8FF",
139
- // tenjinDarkWhite: "#F8F9FD",
140
- // tenjinBlack: "#000000",
141
- // tenjinMBlack: "#060606",
142
- // tenjinLightBlack: "#363636",
143
- // tenjinLBlack: "#343438",
144
- // tenjinDark: "#323232",
145
- // tenjinGray: "#757575",
146
- // tenjinFGray: "#636A74",
147
- // tenjinMGray: "#707070",
148
- // tenjinLightGray: "#EDF2F8",
149
- // tenjinLBlue: "#D7E0EB",
150
- // tenjinYellow: "#F6DA6E",
151
- // tenjinLightGreen: "#4CE1B6",
152
- // tenjinDarkGreen: "#2e846c",
153
- // tenjinLightBlue: "#70BBFD",
154
- // tenjinLMBlue: "#7688E8",
155
- // tenjinDarkBlue: "#006AFD",
156
- // tenjinPlaceholder: "#9CABBF",
157
- // green: "#2C7413",
158
- // warning: "#EB9A31",
159
- // blue: "#433F9B",
160
- // gray: "#7d7d7d",
161
- // red: "#be1515",
162
- // paperBorder: "#D6D9E0",
163
- // defaultShadow: "#667CBC1A",
164
- //},
165
- // secondary: {
166
- // main: "#BF1E1E",
167
- // },
168
-
169
- primary: {
170
- main: "#44409A"
171
- },
172
- primary_light: {
173
- main: "#5B58A9"
174
- },
175
- primary_dark: {
176
- main: "#000050"
177
- },
178
- primary_link: {
179
- main: "#44409a"
180
- },
181
- secondary: {
182
- main: "#BF1E1E"
183
- },
184
- secondary_light: {
185
- main: "#CC3F3F"
186
- },
187
- secondary_dark: {
188
- main: "#951010"
189
- },
190
- success: {
191
- main: "#2C7413"
192
- },
193
- success_light: {
194
- main: "#5EA342"
195
- },
196
- success_dark: {
197
- main: "#004700"
198
- },
199
- info: {
200
- main: "#70BBFD"
201
- },
202
- info_light: {
203
- main: "#A6EDFF"
204
- },
205
- info_dark: {
206
- main: "#358BCA"
207
- },
208
- error: {
209
- main: "#BE1515"
210
- },
211
- error_light: {
212
- main: "#F8533F"
213
- },
214
- error_dark: {
215
- main: "#860000"
216
- },
217
- warning: {
218
- main: "#EB9A31"
219
- },
220
- warning_light: {
221
- main: "#FFCB62"
222
- },
223
- warning_dark: {
224
- main: "#B46C00"
225
- },
226
- grey: {
227
- main: "#7D7D7D"
228
- },
229
- grey_light: {
230
- main: "#ACACAC"
231
- },
232
- grey_dark: {
233
- main: "#515151"
234
- },
235
- secondary_grey: {
236
- main: "#D7E2F0"
237
- },
238
- white: {
239
- main: "#ffffff"
240
- },
241
- default: {
242
- main: "#7D7D7D"
243
- },
244
- text: {
245
- main: "#000000"
246
- }
247
- },
248
- typography: {
249
- fontFamily: ["-apple-system", "BlinkMacSystemFont", '"Segoe UI"', "Roboto", '"Helvetica Neue"', "Arial", "sans-serif", '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"'].join(",")
250
- // fontSize: getFontSize(),
251
- }
252
- });
253
- exports.default = _default;
@@ -1,86 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _material = require("@mui/material");
8
- var _default = (0, _material.createTheme)({
9
- // spacing: 4,
10
-
11
- overrides: {
12
- MuiCssBaseline: {
13
- '@global': {
14
- html: {
15
- 'scroll-behavior': 'smooth',
16
- height: '100vh'
17
- },
18
- body: {
19
- position: 'relative',
20
- margin: 0,
21
- height: '100vh',
22
- color: '#000000',
23
- backgroundColor: '#f4f7fc'
24
- },
25
- '*::-webkit-scrollbar': {
26
- width: '6px'
27
- },
28
- a: {
29
- textDecoration: 'none',
30
- color: '#44409A'
31
- },
32
- '*::-webkit-scrollbar-thumb': {
33
- backgroundColor: '#e4e4e4',
34
- borderRadius: '3px',
35
- opacity: 0.5
36
- },
37
- '*::-webkit-scrollbar-track': {
38
- background: 'transparent'
39
- }
40
- }
41
- }
42
- },
43
- palette: {
44
- primary: {
45
- main: '#44409A',
46
- light: '#5B58A9',
47
- dark: '#443F99',
48
- white: '#FFFFFF',
49
- tenjinLight: '#F4F7FC',
50
- tenjinMLight: '#F7F8FF',
51
- tenjinDarkWhite: '#F8F9FD',
52
- tenjinBlack: '#000000',
53
- tenjinMBlack: '#060606',
54
- tenjinLightBlack: '#363636',
55
- tenjinLBlack: '#343438',
56
- tenjinDark: '#323232',
57
- tenjinGray: '#757575',
58
- tenjinFGray: '#636A74',
59
- tenjinMGray: '#707070',
60
- tenjinLightGray: '#EDF2F8',
61
- tenjinLBlue: '#D7E0EB',
62
- tenjinYellow: '#F6DA6E',
63
- tenjinLightGreen: '#4CE1B6',
64
- tenjinDarkGreen: '#2e846c',
65
- tenjinLightBlue: '#70BBFD',
66
- tenjinLMBlue: '#7688E8',
67
- tenjinDarkBlue: '#006AFD',
68
- tenjinPlaceholder: '#9CABBF',
69
- green: '#2C7413',
70
- warning: '#EB9A31',
71
- blue: '#433F9B',
72
- gray: '#7d7d7d',
73
- red: '#be1515',
74
- paperBorder: '#D6D9E0',
75
- defaultShadow: '#667CBC1A'
76
- },
77
- secondary: {
78
- main: '#BF1E1E'
79
- }
80
- },
81
- typography: {
82
- fontFamily: ['-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"'].join(','),
83
- fontSize: 10
84
- }
85
- });
86
- exports.default = _default;
@@ -1,250 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _material = require("@mui/material");
8
- var getFontSize = function getFontSize() {
9
- var devicePixelRatio = window.devicePixelRatio;
10
- if (devicePixelRatio >= 1 && devicePixelRatio < 1.25) {
11
- return 14;
12
- } else if (devicePixelRatio >= 1.25 && devicePixelRatio < 1.5) {
13
- return 12;
14
- } else if (devicePixelRatio >= 1.5) {
15
- return 10;
16
- } else {
17
- return 40;
18
- }
19
- };
20
- var getSpacing = function getSpacing() {
21
- var devicePixelRatio = window.devicePixelRatio;
22
- if (devicePixelRatio >= 1 && devicePixelRatio < 1.25) {
23
- return 8;
24
- } else if (devicePixelRatio >= 1.25 && devicePixelRatio < 1.5) {
25
- return 8;
26
- } else if (devicePixelRatio >= 1.5) {
27
- return 4;
28
- } else {
29
- return 8;
30
- }
31
- };
32
- var _default = (0, _material.createTheme)({
33
- spacing: getSpacing(),
34
- components: {
35
- MuiButton: {
36
- defaultProps: {
37
- variant: "contained",
38
- disableRipple: true,
39
- size: "small"
40
- },
41
- styleOverrides: {
42
- root: {
43
- textTransform: "initial"
44
- }
45
- }
46
- },
47
- MuiAppBar: {
48
- styleOverrides: {
49
- root: {
50
- height: "60px !important"
51
- }
52
- }
53
- },
54
- MuiDivider: {
55
- styleOverrides: {
56
- root: {
57
- height: "93% !important"
58
- }
59
- }
60
- },
61
- MuiOutlinedInput: {
62
- defaultProps: {
63
- size: "small"
64
- }
65
- }
66
- // MuiInputBase: {
67
- // styleOverrides: {
68
- // input: {
69
- // backgroundColor: '#ACACAC',
70
- // },
71
- // },
72
- // },
73
- },
74
-
75
- MuiAutocomplete: {
76
- styleOverrides: {
77
- root: {
78
- padding: "0.5rem 0.75rem",
79
- border: "1px solid black !important",
80
- borderRadius: "0.25rem",
81
- backgroundColor: "white",
82
- "& .MuiAutocomplete-input": {
83
- padding: "0.5rem 0.75rem",
84
- fontSize: "1rem",
85
- border: "1px solid black !important"
86
- }
87
- }
88
- },
89
- MuiInputLabel: {
90
- styleOverrides: {
91
- asterisk: {
92
- color: "#db3131",
93
- "&$error": {
94
- color: "#db3131"
95
- }
96
- }
97
- }
98
- }
99
- },
100
- overrides: {
101
- MuiCssBaseline: {
102
- "@global": {
103
- html: {
104
- "scroll-behavior": "smooth",
105
- height: "100vh"
106
- },
107
- body: {
108
- position: "relative",
109
- margin: 0,
110
- height: "100vh",
111
- color: "#000000",
112
- backgroundColor: "#f4f7fc"
113
- },
114
- "*::-webkit-scrollbar": {
115
- width: "6px"
116
- },
117
- a: {
118
- textDecoration: "none",
119
- color: "#44409A"
120
- },
121
- "*::-webkit-scrollbar-thumb": {
122
- backgroundColor: "#e4e4e4",
123
- borderRadius: "3px",
124
- opacity: 0.5
125
- },
126
- "*::-webkit-scrollbar-track": {
127
- background: "transparent"
128
- }
129
- }
130
- }
131
- },
132
- palette: {
133
- //primary: {
134
- // main: "#44409A",
135
- // light: "#5B58A9",
136
- // dark: "#443F99",
137
- // white: "#FFFFFF",
138
- // tenjinLight: "#F4F7FC",
139
- // tenjinMLight: "#F7F8FF",
140
- // tenjinDarkWhite: "#F8F9FD",
141
- // tenjinBlack: "#000000",
142
- // tenjinMBlack: "#060606",
143
- // tenjinLightBlack: "#363636",
144
- // tenjinLBlack: "#343438",
145
- // tenjinDark: "#323232",
146
- // tenjinGray: "#757575",
147
- // tenjinFGray: "#636A74",
148
- // tenjinMGray: "#707070",
149
- // tenjinLightGray: "#EDF2F8",
150
- // tenjinLBlue: "#D7E0EB",
151
- // tenjinYellow: "#F6DA6E",
152
- // tenjinLightGreen: "#4CE1B6",
153
- // tenjinDarkGreen: "#2e846c",
154
- // tenjinLightBlue: "#70BBFD",
155
- // tenjinLMBlue: "#7688E8",
156
- // tenjinDarkBlue: "#006AFD",
157
- // tenjinPlaceholder: "#9CABBF",
158
- // green: "#2C7413",
159
- // warning: "#EB9A31",
160
- // blue: "#433F9B",
161
- // gray: "#7d7d7d",
162
- // red: "#be1515",
163
- // paperBorder: "#D6D9E0",
164
- // defaultShadow: "#667CBC1A",
165
- //},
166
- // secondary: {
167
- // main: "#BF1E1E",
168
- // },
169
- primary: {
170
- main: "#44409A"
171
- },
172
- primary_light: {
173
- main: "#5B58A9"
174
- },
175
- primary_dark: {
176
- main: "#000050"
177
- },
178
- secondary: {
179
- main: "#BF1E1E"
180
- },
181
- secondary_light: {
182
- main: "#CC3F3F"
183
- },
184
- secondary_dark: {
185
- main: "#951010"
186
- },
187
- success: {
188
- main: "#2C7413"
189
- },
190
- success_light: {
191
- main: "#5EA342"
192
- },
193
- success_dark: {
194
- main: "#004700"
195
- },
196
- info: {
197
- main: "#70BBFD"
198
- },
199
- info_light: {
200
- main: "#A6EDFF"
201
- },
202
- info_dark: {
203
- main: "#358BCA"
204
- },
205
- error: {
206
- main: "#BE1515"
207
- },
208
- error_light: {
209
- main: "#F8533F"
210
- },
211
- error_dark: {
212
- main: "#860000"
213
- },
214
- warning: {
215
- main: "#EB9A31"
216
- },
217
- warning_light: {
218
- main: "#FFCB62"
219
- },
220
- warning_dark: {
221
- main: "#B46C00"
222
- },
223
- grey: {
224
- main: "#7D7D7D"
225
- },
226
- grey_light: {
227
- main: "#ACACAC"
228
- },
229
- grey_dark: {
230
- main: "#515151"
231
- },
232
- secondary_grey: {
233
- main: "#D7E2F0"
234
- },
235
- white: {
236
- main: "#ffffff"
237
- },
238
- default: {
239
- main: "#7D7D7D"
240
- },
241
- text: {
242
- main: "#000000"
243
- }
244
- },
245
- typography: {
246
- fontFamily: ["-apple-system", "BlinkMacSystemFont", '"Segoe UI"', "Roboto", '"Helvetica Neue"', "Arial", "sans-serif", '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"'].join(","),
247
- fontSize: getFontSize()
248
- }
249
- });
250
- exports.default = _default;