@fixefy/fixefy-ui-utils 0.2.57 → 0.2.58
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/commander/index.js +3 -2
- package/dist/graphql/index.js +3 -1
- package/dist/headers/index.js +3 -2
- package/dist/json/index.js +12 -12
- package/dist/makeStyles/index.d.ts +3 -6
- package/dist/makeStyles/index.js +7 -2
- package/dist/page_context/index.d.ts +0 -6
- package/dist/page_context/index.js +538 -535
- package/dist/validate/index.d.ts +6 -5
- package/dist/validate/index.js +42 -34
- package/package.json +20 -20
|
@@ -9,7 +9,8 @@ Object.defineProperty(exports, "default", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
const _styles = require("@mui/material/styles");
|
|
12
|
-
const
|
|
12
|
+
const _createGenerateClassName = /*#__PURE__*/ _interop_require_default(require("@mui/styles/createGenerateClassName"));
|
|
13
|
+
const _jssPreset = /*#__PURE__*/ _interop_require_default(require("@mui/styles/jssPreset"));
|
|
13
14
|
const _jss = require("jss");
|
|
14
15
|
function _define_property(obj, key, value) {
|
|
15
16
|
if (key in obj) {
|
|
@@ -24,6 +25,11 @@ function _define_property(obj, key, value) {
|
|
|
24
25
|
}
|
|
25
26
|
return obj;
|
|
26
27
|
}
|
|
28
|
+
function _interop_require_default(obj) {
|
|
29
|
+
return obj && obj.__esModule ? obj : {
|
|
30
|
+
default: obj
|
|
31
|
+
};
|
|
32
|
+
}
|
|
27
33
|
function _object_spread(target) {
|
|
28
34
|
for(var i = 1; i < arguments.length; i++){
|
|
29
35
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
@@ -63,547 +69,548 @@ function _object_spread_props(target, source) {
|
|
|
63
69
|
}
|
|
64
70
|
return target;
|
|
65
71
|
}
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
72
|
+
const palette = {
|
|
73
|
+
background: {
|
|
74
|
+
paper: '#fff'
|
|
75
|
+
},
|
|
76
|
+
common: {
|
|
77
|
+
black: '#323232',
|
|
78
|
+
white: '#FFFFFF'
|
|
79
|
+
},
|
|
80
|
+
colors: {
|
|
81
|
+
red: '#EB5757',
|
|
82
|
+
lightRed: '#FEF6F6',
|
|
83
|
+
orange: '#F2994A',
|
|
84
|
+
lightOrange: '#FEF7F1',
|
|
85
|
+
orangeHover: '#EC7A30',
|
|
86
|
+
orangeFocused: '#E65C15',
|
|
87
|
+
gold: '#C4A603',
|
|
88
|
+
lightGold: '#FAF7E6',
|
|
89
|
+
yellow: '#F2D74C',
|
|
90
|
+
lightYellow: '#FEFCEE',
|
|
91
|
+
yellowHover: '#ECC631',
|
|
92
|
+
yellowFocused: '#E6B517',
|
|
93
|
+
green1: '#88C00D',
|
|
94
|
+
lightGreen1: '#F6FAEC',
|
|
95
|
+
green2: '#27AE60',
|
|
96
|
+
lightGreen2: '#EEF9F2',
|
|
97
|
+
green2Hover: '#169242',
|
|
98
|
+
green2Focused: '#067724',
|
|
99
|
+
green3: '#6FCF97',
|
|
100
|
+
blue: '#2D9CDB',
|
|
101
|
+
lightBlue: '#F3F9FD',
|
|
102
|
+
blueHover: '#2D9CDB',
|
|
103
|
+
blueFocused: '#085FBC',
|
|
104
|
+
blue1: '#56CCF2',
|
|
105
|
+
lightBlue1: '#F1FBFE',
|
|
106
|
+
blue1Hover: '#39B8EC',
|
|
107
|
+
blue1Focused: '#1DA3E6',
|
|
108
|
+
purple: '#BB6BD9',
|
|
109
|
+
lightPurple: '#FBF6FD',
|
|
110
|
+
silver: '#C5C5C5',
|
|
111
|
+
silverPlatinum: '#E3E4E4',
|
|
112
|
+
silverSand: '#C6C7C8',
|
|
113
|
+
jetBlack: '#303030',
|
|
114
|
+
gainsboro: '#D0D0D0',
|
|
115
|
+
black: '#000000',
|
|
116
|
+
gray_54: '#8A8A8A',
|
|
117
|
+
azure: '#FAFCFC',
|
|
118
|
+
aliceBlue: '#F6F9FA',
|
|
119
|
+
lightGray: '#FCFCFB',
|
|
120
|
+
charcoal: '#2B2B2B'
|
|
121
|
+
},
|
|
122
|
+
user_image_colors: {
|
|
123
|
+
red: '#EB5757',
|
|
124
|
+
orange: '#F2994A',
|
|
125
|
+
orangeHover: '#EC7A30',
|
|
126
|
+
orangeFocused: '#E65C15',
|
|
127
|
+
gold: '#C4A603',
|
|
128
|
+
yellow: '#F2D74C',
|
|
129
|
+
yellowHover: '#ECC631',
|
|
130
|
+
yellowFocused: '#E6B517',
|
|
131
|
+
green1: '#88C00D',
|
|
132
|
+
green2: '#27AE60',
|
|
133
|
+
green2Hover: '#169242',
|
|
134
|
+
green2Focused: '#067724',
|
|
135
|
+
green3: '#6FCF97',
|
|
136
|
+
blue: '#2D9CDB',
|
|
137
|
+
blueHover: '#2D9CDB',
|
|
138
|
+
blueFocused: '#085FBC',
|
|
139
|
+
blue1: '#56CCF2',
|
|
140
|
+
blue1Hover: '#39B8EC',
|
|
141
|
+
blue1Focused: '#1DA3E6',
|
|
142
|
+
purple: '#BB6BD9',
|
|
143
|
+
silver: '#C5C5C5',
|
|
144
|
+
gray_54: '#8A8A8A'
|
|
145
|
+
},
|
|
146
|
+
greyscale: {
|
|
147
|
+
dark: '#636363',
|
|
148
|
+
main: '#ababab',
|
|
149
|
+
light: '#e2e2e2',
|
|
150
|
+
contrastText: '#f7f7f7',
|
|
151
|
+
'500': '#5C6467',
|
|
152
|
+
'400': '#8B9092',
|
|
153
|
+
'300': '#C5C8C9',
|
|
154
|
+
'200': '#F0F0F0',
|
|
155
|
+
'100': '#F7F7F7'
|
|
156
|
+
},
|
|
157
|
+
redscale: {
|
|
158
|
+
main: '#EB5757',
|
|
159
|
+
'500': '#EE6868',
|
|
160
|
+
'400': '#F08989',
|
|
161
|
+
'300': '#F4AAAA',
|
|
162
|
+
'200': '#F8CCCC',
|
|
163
|
+
'100': '#FEF6F6'
|
|
164
|
+
},
|
|
165
|
+
orangescale: {
|
|
166
|
+
'700': '#E65C15',
|
|
167
|
+
'600': '#EC7A30',
|
|
168
|
+
main: '#F2994A',
|
|
169
|
+
'100': '#FEF7F1'
|
|
170
|
+
},
|
|
171
|
+
goldscale: {
|
|
172
|
+
main: '#C4A603',
|
|
173
|
+
'100': '#FAF7E6'
|
|
174
|
+
},
|
|
175
|
+
yellowscale: {
|
|
176
|
+
'700': '#E6B517',
|
|
177
|
+
'600': '#ECC631',
|
|
178
|
+
main: '#F2D74C',
|
|
179
|
+
'100': '#FEFCEE'
|
|
180
|
+
},
|
|
181
|
+
purplescale: {
|
|
182
|
+
main: '#BB6BD9',
|
|
183
|
+
'100': '#FBF6FD'
|
|
184
|
+
},
|
|
185
|
+
green1scale: {
|
|
186
|
+
main: '#88C00D',
|
|
187
|
+
'100': '#F6FAEC'
|
|
188
|
+
},
|
|
189
|
+
green2scale: {
|
|
190
|
+
'700': '#067724',
|
|
191
|
+
'600': '#169242',
|
|
192
|
+
main: '#27AE60',
|
|
193
|
+
'100': '#EEF9F2'
|
|
194
|
+
},
|
|
195
|
+
green3scale: {
|
|
196
|
+
main: '#6FCF97'
|
|
197
|
+
},
|
|
198
|
+
blue1scale: {
|
|
199
|
+
'700': '#1DA3E6',
|
|
200
|
+
'600': '#39B8EC',
|
|
201
|
+
main: '#56CCF2',
|
|
202
|
+
'100': '#F1FBFE'
|
|
203
|
+
},
|
|
204
|
+
blue2scale: {
|
|
205
|
+
'700': '#085FBC',
|
|
206
|
+
'600': '#1A7ECC',
|
|
207
|
+
main: '#2D9CDB',
|
|
208
|
+
'100': '#F3F9FD'
|
|
209
|
+
},
|
|
210
|
+
error: {
|
|
211
|
+
main: '#f44336'
|
|
212
|
+
},
|
|
213
|
+
pending: {
|
|
214
|
+
main: '#e7cc0e',
|
|
215
|
+
dark: '#B09000'
|
|
216
|
+
},
|
|
217
|
+
primary: {
|
|
218
|
+
main: '#365c65',
|
|
219
|
+
'100': '#C6DDE2',
|
|
220
|
+
'300': '#87ACB6',
|
|
221
|
+
'400': '#749da8',
|
|
222
|
+
'500': '#568793',
|
|
223
|
+
'700': '#3C636C',
|
|
224
|
+
'800': '#2F4F57'
|
|
225
|
+
},
|
|
226
|
+
priority: {
|
|
227
|
+
critical: '#EB5757',
|
|
228
|
+
high: '#F2994A',
|
|
229
|
+
low: '#2D9CDB',
|
|
230
|
+
medium: '#88C00D',
|
|
231
|
+
marginal: '#56CCF2'
|
|
232
|
+
},
|
|
233
|
+
chipPriority: {
|
|
234
|
+
critical: {
|
|
235
|
+
label: '#EB5757',
|
|
236
|
+
background: '#FEF6F6',
|
|
237
|
+
border: '#EB5757'
|
|
238
|
+
},
|
|
239
|
+
high: {
|
|
240
|
+
label: '#F2994A',
|
|
241
|
+
background: '#FEF7F1',
|
|
242
|
+
border: '#F2994A'
|
|
243
|
+
},
|
|
244
|
+
low: {
|
|
245
|
+
label: '#2D9CDB',
|
|
246
|
+
background: '#F1FBFE',
|
|
247
|
+
border: '#2D9CDB'
|
|
248
|
+
},
|
|
249
|
+
medium: {
|
|
250
|
+
label: '#88C00D',
|
|
251
|
+
background: '#F6FAEC',
|
|
252
|
+
border: '#88C00D'
|
|
253
|
+
},
|
|
254
|
+
marginal: {
|
|
255
|
+
label: '#56CCF2',
|
|
256
|
+
background: '#F1FBFE',
|
|
257
|
+
border: '#56CCF2'
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
typography: {
|
|
261
|
+
title: '#172326',
|
|
262
|
+
delete: '#EB5757'
|
|
263
|
+
},
|
|
264
|
+
values: {
|
|
265
|
+
original_value: '#87ACB6',
|
|
266
|
+
fair_value: '#2F4F57',
|
|
267
|
+
expected_refund: '#56CCF2',
|
|
268
|
+
actual_refund: '#EC6AC8'
|
|
269
|
+
},
|
|
270
|
+
statistics: {
|
|
271
|
+
value: '#568793',
|
|
272
|
+
label: '#8B9092'
|
|
273
|
+
},
|
|
274
|
+
success: {
|
|
275
|
+
main: '#88c00d'
|
|
276
|
+
},
|
|
277
|
+
uploader: {
|
|
278
|
+
processing: {
|
|
279
|
+
border: '',
|
|
280
|
+
bg: ''
|
|
281
|
+
},
|
|
282
|
+
pause: {
|
|
283
|
+
border: '',
|
|
284
|
+
bg: ''
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
score: {
|
|
288
|
+
excellent: '#27AE60',
|
|
289
|
+
high: '#88C00D',
|
|
290
|
+
medium: '#F2C94C',
|
|
291
|
+
low: '#F2994A',
|
|
292
|
+
bad: '#ED323B'
|
|
293
|
+
},
|
|
294
|
+
status: {
|
|
295
|
+
active: {
|
|
296
|
+
border: '#96B5BC',
|
|
297
|
+
background: '#F7F9FA'
|
|
204
298
|
},
|
|
205
|
-
|
|
206
|
-
|
|
299
|
+
approve: {
|
|
300
|
+
border: '#88C00D',
|
|
301
|
+
background: '#F9FCF3'
|
|
302
|
+
},
|
|
303
|
+
approved: {
|
|
304
|
+
border: '#27AE60',
|
|
305
|
+
background: '#EEF9F2'
|
|
306
|
+
},
|
|
307
|
+
challenge: {
|
|
308
|
+
border: '#F7C08F',
|
|
309
|
+
background: '#FEFAF6'
|
|
310
|
+
},
|
|
311
|
+
challenged: {
|
|
312
|
+
border: '#F7C08F',
|
|
313
|
+
background: '#FEFAF6'
|
|
314
|
+
},
|
|
315
|
+
closed: {
|
|
316
|
+
border: '#8B9092',
|
|
317
|
+
background: '#FAFAFA'
|
|
318
|
+
},
|
|
319
|
+
credited: {
|
|
320
|
+
border: '#BB6BD9',
|
|
321
|
+
background: '#FAF6FE'
|
|
322
|
+
},
|
|
323
|
+
credit_invoices: {
|
|
324
|
+
border: '#6D60E8',
|
|
325
|
+
background: '#F0EFFD'
|
|
326
|
+
},
|
|
327
|
+
declined: {
|
|
328
|
+
border: '#F48085',
|
|
329
|
+
background: '#FEF5F5'
|
|
330
|
+
},
|
|
331
|
+
discrepancy: {
|
|
332
|
+
border: '#CEBA61',
|
|
333
|
+
background: '#FBFAF2'
|
|
334
|
+
},
|
|
335
|
+
duplicate: {
|
|
336
|
+
border: '#CEBA61',
|
|
337
|
+
background: '#FBFAF2'
|
|
338
|
+
},
|
|
339
|
+
duplicated: {
|
|
340
|
+
border: '#CEBA61',
|
|
341
|
+
background: '#FBFAF2'
|
|
342
|
+
},
|
|
343
|
+
gold: {
|
|
344
|
+
border: '#C4A603',
|
|
345
|
+
background: '#FEFDF3'
|
|
346
|
+
},
|
|
347
|
+
in_dispute: {
|
|
348
|
+
border: '#F2994A',
|
|
349
|
+
background: '#FEF7F1'
|
|
350
|
+
},
|
|
351
|
+
in_progress: {
|
|
352
|
+
border: '#56CCF2',
|
|
353
|
+
background: '#F1FBFE'
|
|
354
|
+
},
|
|
355
|
+
in_review: {
|
|
356
|
+
border: '#BB6BD9',
|
|
357
|
+
background: '#FAF6FE'
|
|
358
|
+
},
|
|
359
|
+
no_pricing: {
|
|
360
|
+
border: '#BBBBBB',
|
|
361
|
+
background: '#FAFAFA'
|
|
207
362
|
},
|
|
208
363
|
pending: {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
primary: {
|
|
213
|
-
main: '#365c65',
|
|
214
|
-
'100': '#C6DDE2',
|
|
215
|
-
'300': '#87ACB6',
|
|
216
|
-
'400': '#749da8',
|
|
217
|
-
'500': '#568793',
|
|
218
|
-
'700': '#3C636C',
|
|
219
|
-
'800': '#2F4F57'
|
|
220
|
-
},
|
|
221
|
-
priority: {
|
|
222
|
-
critical: '#EB5757',
|
|
223
|
-
high: '#F2994A',
|
|
224
|
-
low: '#2D9CDB',
|
|
225
|
-
medium: '#88C00D',
|
|
226
|
-
marginal: '#56CCF2'
|
|
227
|
-
},
|
|
228
|
-
chipPriority: {
|
|
229
|
-
critical: {
|
|
230
|
-
label: '#EB5757',
|
|
231
|
-
background: '#FEF6F6',
|
|
232
|
-
border: '#EB5757'
|
|
233
|
-
},
|
|
234
|
-
high: {
|
|
235
|
-
label: '#F2994A',
|
|
236
|
-
background: '#FEF7F1',
|
|
237
|
-
border: '#F2994A'
|
|
238
|
-
},
|
|
239
|
-
low: {
|
|
240
|
-
label: '#2D9CDB',
|
|
241
|
-
background: '#F1FBFE',
|
|
242
|
-
border: '#2D9CDB'
|
|
243
|
-
},
|
|
244
|
-
medium: {
|
|
245
|
-
label: '#88C00D',
|
|
246
|
-
background: '#F6FAEC',
|
|
247
|
-
border: '#88C00D'
|
|
248
|
-
},
|
|
249
|
-
marginal: {
|
|
250
|
-
label: '#56CCF2',
|
|
251
|
-
background: '#F1FBFE',
|
|
252
|
-
border: '#56CCF2'
|
|
253
|
-
}
|
|
364
|
+
border: '#ECC631',
|
|
365
|
+
background: '#FEFDF3'
|
|
254
366
|
},
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
367
|
+
pending_refund: {
|
|
368
|
+
border: '#2D9CDB',
|
|
369
|
+
background: '#F1FBFE',
|
|
370
|
+
light: '#F1FBFE'
|
|
258
371
|
},
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
expected_refund: '#56CCF2',
|
|
263
|
-
actual_refund: '#EC6AC8'
|
|
372
|
+
resolved: {
|
|
373
|
+
border: '#BB6BD9',
|
|
374
|
+
background: '#FAF6FE'
|
|
264
375
|
},
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
376
|
+
submitted_for_billing: {
|
|
377
|
+
border: '#88C00D',
|
|
378
|
+
background: '#F1FBFE'
|
|
268
379
|
},
|
|
269
|
-
|
|
270
|
-
|
|
380
|
+
billed: {
|
|
381
|
+
border: '#C4A603',
|
|
382
|
+
background: '#FEFDF3'
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
tag: {
|
|
386
|
+
approved: {
|
|
387
|
+
border: '#27AE60',
|
|
388
|
+
background: '#27AE60'
|
|
271
389
|
},
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
bg: ''
|
|
276
|
-
},
|
|
277
|
-
pause: {
|
|
278
|
-
border: '',
|
|
279
|
-
bg: ''
|
|
280
|
-
}
|
|
390
|
+
pending: {
|
|
391
|
+
border: '#ECC631',
|
|
392
|
+
background: '#ECC631'
|
|
281
393
|
},
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
medium: '#F2C94C',
|
|
286
|
-
low: '#F2994A',
|
|
287
|
-
bad: '#ED323B'
|
|
288
|
-
},
|
|
289
|
-
status: {
|
|
290
|
-
active: {
|
|
291
|
-
border: '#96B5BC',
|
|
292
|
-
background: '#F7F9FA'
|
|
293
|
-
},
|
|
294
|
-
approve: {
|
|
295
|
-
border: '#88C00D',
|
|
296
|
-
background: '#F9FCF3'
|
|
297
|
-
},
|
|
298
|
-
approved: {
|
|
299
|
-
border: '#27AE60',
|
|
300
|
-
background: '#EEF9F2'
|
|
301
|
-
},
|
|
302
|
-
challenge: {
|
|
303
|
-
border: '#F7C08F',
|
|
304
|
-
background: '#FEFAF6'
|
|
305
|
-
},
|
|
306
|
-
challenged: {
|
|
307
|
-
border: '#F7C08F',
|
|
308
|
-
background: '#FEFAF6'
|
|
309
|
-
},
|
|
310
|
-
closed: {
|
|
311
|
-
border: '#8B9092',
|
|
312
|
-
background: '#FAFAFA'
|
|
313
|
-
},
|
|
314
|
-
credited: {
|
|
315
|
-
border: '#BB6BD9',
|
|
316
|
-
background: '#FAF6FE'
|
|
317
|
-
},
|
|
318
|
-
credit_invoices: {
|
|
319
|
-
border: '#6D60E8',
|
|
320
|
-
background: '#F0EFFD'
|
|
321
|
-
},
|
|
322
|
-
declined: {
|
|
323
|
-
border: '#F48085',
|
|
324
|
-
background: '#FEF5F5'
|
|
325
|
-
},
|
|
326
|
-
discrepancy: {
|
|
327
|
-
border: '#CEBA61',
|
|
328
|
-
background: '#FBFAF2'
|
|
329
|
-
},
|
|
330
|
-
duplicate: {
|
|
331
|
-
border: '#CEBA61',
|
|
332
|
-
background: '#FBFAF2'
|
|
333
|
-
},
|
|
334
|
-
duplicated: {
|
|
335
|
-
border: '#CEBA61',
|
|
336
|
-
background: '#FBFAF2'
|
|
337
|
-
},
|
|
338
|
-
gold: {
|
|
339
|
-
border: '#C4A603',
|
|
340
|
-
background: '#FEFDF3'
|
|
341
|
-
},
|
|
342
|
-
in_dispute: {
|
|
343
|
-
border: '#F2994A',
|
|
344
|
-
background: '#FEF7F1'
|
|
345
|
-
},
|
|
346
|
-
in_progress: {
|
|
347
|
-
border: '#56CCF2',
|
|
348
|
-
background: '#F1FBFE'
|
|
349
|
-
},
|
|
350
|
-
in_review: {
|
|
351
|
-
border: '#BB6BD9',
|
|
352
|
-
background: '#FAF6FE'
|
|
353
|
-
},
|
|
354
|
-
no_pricing: {
|
|
355
|
-
border: '#BBBBBB',
|
|
356
|
-
background: '#FAFAFA'
|
|
357
|
-
},
|
|
358
|
-
pending: {
|
|
359
|
-
border: '#ECC631',
|
|
360
|
-
background: '#FEFDF3'
|
|
361
|
-
},
|
|
362
|
-
pending_refund: {
|
|
363
|
-
border: '#2D9CDB',
|
|
364
|
-
background: '#F1FBFE',
|
|
365
|
-
light: '#F1FBFE'
|
|
366
|
-
},
|
|
367
|
-
resolved: {
|
|
368
|
-
border: '#BB6BD9',
|
|
369
|
-
background: '#FAF6FE'
|
|
370
|
-
},
|
|
371
|
-
submitted_for_billing: {
|
|
372
|
-
border: '#88C00D',
|
|
373
|
-
background: '#F1FBFE'
|
|
374
|
-
},
|
|
375
|
-
billed: {
|
|
376
|
-
border: '#C4A603',
|
|
377
|
-
background: '#FEFDF3'
|
|
378
|
-
}
|
|
394
|
+
credited: {
|
|
395
|
+
border: '#BB6BD9',
|
|
396
|
+
background: '#BB6BD9'
|
|
379
397
|
},
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
background: '#27AE60'
|
|
384
|
-
},
|
|
385
|
-
pending: {
|
|
386
|
-
border: '#ECC631',
|
|
387
|
-
background: '#ECC631'
|
|
388
|
-
},
|
|
389
|
-
credited: {
|
|
390
|
-
border: '#BB6BD9',
|
|
391
|
-
background: '#BB6BD9'
|
|
392
|
-
},
|
|
393
|
-
credit_invoices: {
|
|
394
|
-
border: '#6D60E8',
|
|
395
|
-
background: '#6D60E8'
|
|
396
|
-
},
|
|
397
|
-
created: {
|
|
398
|
-
border: '#87ACB6',
|
|
399
|
-
background: '#87ACB6'
|
|
400
|
-
},
|
|
401
|
-
declined: {
|
|
402
|
-
border: '#EB5757',
|
|
403
|
-
background: '#EB5757'
|
|
404
|
-
},
|
|
405
|
-
in_dispute: {
|
|
406
|
-
border: '#EC6AC8',
|
|
407
|
-
background: '#EC6AC8'
|
|
408
|
-
},
|
|
409
|
-
in_progress: {
|
|
410
|
-
border: '#56CCF2',
|
|
411
|
-
background: '#56CCF2'
|
|
412
|
-
},
|
|
413
|
-
paid: {
|
|
414
|
-
border: '#BB6BD9',
|
|
415
|
-
background: '#BB6BD9'
|
|
416
|
-
},
|
|
417
|
-
paid_and_refunded: {
|
|
418
|
-
border: '#BB6BD9',
|
|
419
|
-
background: '#BB6BD9'
|
|
420
|
-
},
|
|
421
|
-
pending_refund: {
|
|
422
|
-
border: '#2D9CDB',
|
|
423
|
-
background: '#2D9CDB',
|
|
424
|
-
light: '#F1FBFE'
|
|
425
|
-
},
|
|
426
|
-
closed: {
|
|
427
|
-
border: '#8B9092',
|
|
428
|
-
background: '#8B9092'
|
|
429
|
-
},
|
|
430
|
-
refunded: {
|
|
431
|
-
border: '#BB6BD9',
|
|
432
|
-
background: '#BB6BD9'
|
|
433
|
-
},
|
|
434
|
-
resolved: {
|
|
435
|
-
border: '#BB6BD9',
|
|
436
|
-
background: '#BB6BD9'
|
|
437
|
-
},
|
|
438
|
-
low: {
|
|
439
|
-
border: '#56CCF2',
|
|
440
|
-
background: '#88C00D'
|
|
441
|
-
}
|
|
398
|
+
credit_invoices: {
|
|
399
|
+
border: '#6D60E8',
|
|
400
|
+
background: '#6D60E8'
|
|
442
401
|
},
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
background: '#27AE60',
|
|
447
|
-
light: '#D4EFDF'
|
|
448
|
-
},
|
|
449
|
-
created: {
|
|
450
|
-
border: '#87ACB6',
|
|
451
|
-
background: '#87ACB6',
|
|
452
|
-
light: '#FBF6FD'
|
|
453
|
-
},
|
|
454
|
-
credited: {
|
|
455
|
-
border: '#EC6AC8',
|
|
456
|
-
background: '#EC6AC8',
|
|
457
|
-
light: '#FBF6FD'
|
|
458
|
-
},
|
|
459
|
-
credit_invoices: {
|
|
460
|
-
border: '#6D60E8',
|
|
461
|
-
background: '#6D60E8',
|
|
462
|
-
light: '#F0EFFD'
|
|
463
|
-
},
|
|
464
|
-
in_dispute: {
|
|
465
|
-
border: '#EB5757',
|
|
466
|
-
background: '#EB5757',
|
|
467
|
-
light: '#FCEBDB'
|
|
468
|
-
},
|
|
469
|
-
in_progress: {
|
|
470
|
-
border: '#39B8EC',
|
|
471
|
-
background: '#39B8EC',
|
|
472
|
-
light: '#F1FBFE'
|
|
473
|
-
},
|
|
474
|
-
paid: {
|
|
475
|
-
border: '#BB6BD9',
|
|
476
|
-
background: '#BB6BD9',
|
|
477
|
-
light: '#FBF6FD'
|
|
478
|
-
},
|
|
479
|
-
paid_and_refunded: {
|
|
480
|
-
border: '#BB6BD9',
|
|
481
|
-
background: '#BB6BD9',
|
|
482
|
-
light: '#FBF6FD'
|
|
483
|
-
},
|
|
484
|
-
pending: {
|
|
485
|
-
border: '#ECC631',
|
|
486
|
-
background: '#ECC631',
|
|
487
|
-
light: '#FEFCEE'
|
|
488
|
-
},
|
|
489
|
-
pending_refund: {
|
|
490
|
-
border: '#88C00D',
|
|
491
|
-
background: '#88C00D',
|
|
492
|
-
light: '#F1FBFE'
|
|
493
|
-
},
|
|
494
|
-
closed: {
|
|
495
|
-
border: '#8B9092',
|
|
496
|
-
background: '#8B9092',
|
|
497
|
-
light: '#FBF6FD'
|
|
498
|
-
},
|
|
499
|
-
submitted_for_billing: {
|
|
500
|
-
border: '#88C00D',
|
|
501
|
-
background: '#88C00D',
|
|
502
|
-
light: '#F1FBFE'
|
|
503
|
-
},
|
|
504
|
-
billed: {
|
|
505
|
-
border: '#C4A603',
|
|
506
|
-
background: '#C4A603',
|
|
507
|
-
light: '#FEFDF3'
|
|
508
|
-
}
|
|
402
|
+
created: {
|
|
403
|
+
border: '#87ACB6',
|
|
404
|
+
background: '#87ACB6'
|
|
509
405
|
},
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
background: '#87ACB6'
|
|
514
|
-
},
|
|
515
|
-
in_progress: {
|
|
516
|
-
border: '#EB5757',
|
|
517
|
-
background: '#EB5757',
|
|
518
|
-
light: '#FEF6F6'
|
|
519
|
-
},
|
|
520
|
-
pending: {
|
|
521
|
-
border: '#ECC631',
|
|
522
|
-
background: '#ECC631',
|
|
523
|
-
light: '#FEFCEE'
|
|
524
|
-
},
|
|
525
|
-
approved: {
|
|
526
|
-
border: '#88C00D',
|
|
527
|
-
background: '#88C00D',
|
|
528
|
-
light: '#D4EFDF'
|
|
529
|
-
},
|
|
530
|
-
declined: {
|
|
531
|
-
border: '#C4A603',
|
|
532
|
-
background: '#C4A603',
|
|
533
|
-
light: '#FEF6F6'
|
|
534
|
-
},
|
|
535
|
-
refunded: {
|
|
536
|
-
border: '#27AE60',
|
|
537
|
-
background: '#27AE60',
|
|
538
|
-
light: '#FBF6FD'
|
|
539
|
-
},
|
|
540
|
-
closed: {
|
|
541
|
-
border: '#8B9092',
|
|
542
|
-
background: '#8B9092'
|
|
543
|
-
},
|
|
544
|
-
resolved: {
|
|
545
|
-
border: '#EC6AC8',
|
|
546
|
-
background: '#EC6AC8',
|
|
547
|
-
light: '#FBF6FD'
|
|
548
|
-
},
|
|
549
|
-
submitted_for_billing: {
|
|
550
|
-
border: '#88C00D',
|
|
551
|
-
background: '#88C00D',
|
|
552
|
-
light: '#F1FBFE'
|
|
553
|
-
},
|
|
554
|
-
billed: {
|
|
555
|
-
border: '#C4A603',
|
|
556
|
-
background: '#C4A603',
|
|
557
|
-
light: '#FEFDF3'
|
|
558
|
-
}
|
|
406
|
+
declined: {
|
|
407
|
+
border: '#EB5757',
|
|
408
|
+
background: '#EB5757'
|
|
559
409
|
},
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
invoiceAnalysis: {
|
|
568
|
-
underCharges: '#C6DDE2',
|
|
569
|
-
overCharges: '#F2994A',
|
|
570
|
-
matching: '#568793',
|
|
571
|
-
invalid: '#EB5757'
|
|
572
|
-
},
|
|
573
|
-
snackbar: {
|
|
574
|
-
info: {
|
|
575
|
-
icon: '#56CCF2',
|
|
576
|
-
border: '#56CCF2'
|
|
577
|
-
},
|
|
578
|
-
success: {
|
|
579
|
-
icon: '#27AE60',
|
|
580
|
-
border: '#27AE60'
|
|
581
|
-
},
|
|
582
|
-
error: {
|
|
583
|
-
icon: '#ED323B',
|
|
584
|
-
border: '#ED323B'
|
|
585
|
-
},
|
|
586
|
-
warn: {
|
|
587
|
-
icon: '#F7DD8D',
|
|
588
|
-
border: '#F2C94C'
|
|
589
|
-
},
|
|
590
|
-
critical: {
|
|
591
|
-
icon: '#ED323B',
|
|
592
|
-
border: '#ED323B'
|
|
593
|
-
},
|
|
594
|
-
silent: {
|
|
595
|
-
icon: '#56CCF2',
|
|
596
|
-
border: '#56CCF2'
|
|
597
|
-
},
|
|
598
|
-
alert: {
|
|
599
|
-
icon: '#56CCF2',
|
|
600
|
-
border: '#56CCF2'
|
|
601
|
-
}
|
|
410
|
+
in_dispute: {
|
|
411
|
+
border: '#EC6AC8',
|
|
412
|
+
background: '#EC6AC8'
|
|
413
|
+
},
|
|
414
|
+
in_progress: {
|
|
415
|
+
border: '#56CCF2',
|
|
416
|
+
background: '#56CCF2'
|
|
602
417
|
},
|
|
603
|
-
|
|
604
|
-
|
|
418
|
+
paid: {
|
|
419
|
+
border: '#BB6BD9',
|
|
420
|
+
background: '#BB6BD9'
|
|
421
|
+
},
|
|
422
|
+
paid_and_refunded: {
|
|
423
|
+
border: '#BB6BD9',
|
|
424
|
+
background: '#BB6BD9'
|
|
425
|
+
},
|
|
426
|
+
pending_refund: {
|
|
427
|
+
border: '#2D9CDB',
|
|
428
|
+
background: '#2D9CDB',
|
|
429
|
+
light: '#F1FBFE'
|
|
430
|
+
},
|
|
431
|
+
closed: {
|
|
432
|
+
border: '#8B9092',
|
|
433
|
+
background: '#8B9092'
|
|
434
|
+
},
|
|
435
|
+
refunded: {
|
|
436
|
+
border: '#BB6BD9',
|
|
437
|
+
background: '#BB6BD9'
|
|
438
|
+
},
|
|
439
|
+
resolved: {
|
|
440
|
+
border: '#BB6BD9',
|
|
441
|
+
background: '#BB6BD9'
|
|
442
|
+
},
|
|
443
|
+
low: {
|
|
444
|
+
border: '#56CCF2',
|
|
445
|
+
background: '#88C00D'
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
invoiceState: {
|
|
449
|
+
approved: {
|
|
450
|
+
border: '#27AE60',
|
|
451
|
+
background: '#27AE60',
|
|
452
|
+
light: '#D4EFDF'
|
|
453
|
+
},
|
|
454
|
+
created: {
|
|
455
|
+
border: '#87ACB6',
|
|
456
|
+
background: '#87ACB6',
|
|
457
|
+
light: '#FBF6FD'
|
|
458
|
+
},
|
|
459
|
+
credited: {
|
|
460
|
+
border: '#EC6AC8',
|
|
461
|
+
background: '#EC6AC8',
|
|
462
|
+
light: '#FBF6FD'
|
|
463
|
+
},
|
|
464
|
+
credit_invoices: {
|
|
465
|
+
border: '#6D60E8',
|
|
466
|
+
background: '#6D60E8',
|
|
467
|
+
light: '#F0EFFD'
|
|
468
|
+
},
|
|
469
|
+
in_dispute: {
|
|
470
|
+
border: '#EB5757',
|
|
471
|
+
background: '#EB5757',
|
|
472
|
+
light: '#FCEBDB'
|
|
473
|
+
},
|
|
474
|
+
in_progress: {
|
|
475
|
+
border: '#39B8EC',
|
|
476
|
+
background: '#39B8EC',
|
|
477
|
+
light: '#F1FBFE'
|
|
478
|
+
},
|
|
479
|
+
paid: {
|
|
480
|
+
border: '#BB6BD9',
|
|
481
|
+
background: '#BB6BD9',
|
|
482
|
+
light: '#FBF6FD'
|
|
483
|
+
},
|
|
484
|
+
paid_and_refunded: {
|
|
485
|
+
border: '#BB6BD9',
|
|
486
|
+
background: '#BB6BD9',
|
|
487
|
+
light: '#FBF6FD'
|
|
488
|
+
},
|
|
489
|
+
pending: {
|
|
490
|
+
border: '#ECC631',
|
|
491
|
+
background: '#ECC631',
|
|
492
|
+
light: '#FEFCEE'
|
|
493
|
+
},
|
|
494
|
+
pending_refund: {
|
|
495
|
+
border: '#88C00D',
|
|
496
|
+
background: '#88C00D',
|
|
497
|
+
light: '#F1FBFE'
|
|
498
|
+
},
|
|
499
|
+
closed: {
|
|
500
|
+
border: '#8B9092',
|
|
501
|
+
background: '#8B9092',
|
|
502
|
+
light: '#FBF6FD'
|
|
503
|
+
},
|
|
504
|
+
submitted_for_billing: {
|
|
505
|
+
border: '#88C00D',
|
|
506
|
+
background: '#88C00D',
|
|
507
|
+
light: '#F1FBFE'
|
|
508
|
+
},
|
|
509
|
+
billed: {
|
|
510
|
+
border: '#C4A603',
|
|
511
|
+
background: '#C4A603',
|
|
512
|
+
light: '#FEFDF3'
|
|
605
513
|
}
|
|
606
514
|
},
|
|
515
|
+
recoState: {
|
|
516
|
+
created: {
|
|
517
|
+
border: '#87ACB6',
|
|
518
|
+
background: '#87ACB6'
|
|
519
|
+
},
|
|
520
|
+
in_progress: {
|
|
521
|
+
border: '#EB5757',
|
|
522
|
+
background: '#EB5757',
|
|
523
|
+
light: '#FEF6F6'
|
|
524
|
+
},
|
|
525
|
+
pending: {
|
|
526
|
+
border: '#ECC631',
|
|
527
|
+
background: '#ECC631',
|
|
528
|
+
light: '#FEFCEE'
|
|
529
|
+
},
|
|
530
|
+
approved: {
|
|
531
|
+
border: '#88C00D',
|
|
532
|
+
background: '#88C00D',
|
|
533
|
+
light: '#D4EFDF'
|
|
534
|
+
},
|
|
535
|
+
declined: {
|
|
536
|
+
border: '#C4A603',
|
|
537
|
+
background: '#C4A603',
|
|
538
|
+
light: '#FEF6F6'
|
|
539
|
+
},
|
|
540
|
+
refunded: {
|
|
541
|
+
border: '#27AE60',
|
|
542
|
+
background: '#27AE60',
|
|
543
|
+
light: '#FBF6FD'
|
|
544
|
+
},
|
|
545
|
+
closed: {
|
|
546
|
+
border: '#8B9092',
|
|
547
|
+
background: '#8B9092'
|
|
548
|
+
},
|
|
549
|
+
resolved: {
|
|
550
|
+
border: '#EC6AC8',
|
|
551
|
+
background: '#EC6AC8',
|
|
552
|
+
light: '#FBF6FD'
|
|
553
|
+
},
|
|
554
|
+
submitted_for_billing: {
|
|
555
|
+
border: '#88C00D',
|
|
556
|
+
background: '#88C00D',
|
|
557
|
+
light: '#F1FBFE'
|
|
558
|
+
},
|
|
559
|
+
billed: {
|
|
560
|
+
border: '#C4A603',
|
|
561
|
+
background: '#C4A603',
|
|
562
|
+
light: '#FEFDF3'
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
trends: {
|
|
566
|
+
positive: '#88C00D',
|
|
567
|
+
negative: '#F2994A',
|
|
568
|
+
critical: '#ED323B',
|
|
569
|
+
percent: '#56CCF2',
|
|
570
|
+
sum: '#BB6BD9'
|
|
571
|
+
},
|
|
572
|
+
invoiceAnalysis: {
|
|
573
|
+
underCharges: '#C6DDE2',
|
|
574
|
+
overCharges: '#F2994A',
|
|
575
|
+
matching: '#568793',
|
|
576
|
+
invalid: '#EB5757'
|
|
577
|
+
},
|
|
578
|
+
snackbar: {
|
|
579
|
+
info: {
|
|
580
|
+
icon: '#56CCF2',
|
|
581
|
+
border: '#56CCF2'
|
|
582
|
+
},
|
|
583
|
+
success: {
|
|
584
|
+
icon: '#27AE60',
|
|
585
|
+
border: '#27AE60'
|
|
586
|
+
},
|
|
587
|
+
error: {
|
|
588
|
+
icon: '#ED323B',
|
|
589
|
+
border: '#ED323B'
|
|
590
|
+
},
|
|
591
|
+
warn: {
|
|
592
|
+
icon: '#F7DD8D',
|
|
593
|
+
border: '#F2C94C'
|
|
594
|
+
},
|
|
595
|
+
critical: {
|
|
596
|
+
icon: '#ED323B',
|
|
597
|
+
border: '#ED323B'
|
|
598
|
+
},
|
|
599
|
+
silent: {
|
|
600
|
+
icon: '#56CCF2',
|
|
601
|
+
border: '#56CCF2'
|
|
602
|
+
},
|
|
603
|
+
alert: {
|
|
604
|
+
icon: '#56CCF2',
|
|
605
|
+
border: '#56CCF2'
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
notificationStatus: {
|
|
609
|
+
unread: '#F7F9FA'
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
const theme = (0, _styles.createTheme)({
|
|
613
|
+
palette: _object_spread({}, palette),
|
|
607
614
|
components: {
|
|
608
615
|
MuiButton: {
|
|
609
616
|
defaultProps: {
|
|
@@ -755,7 +762,6 @@ const theme = (0, _styles.createTheme)({
|
|
|
755
762
|
},
|
|
756
763
|
MuiInputBase: {
|
|
757
764
|
styleOverrides: {
|
|
758
|
-
//@ts-ignore
|
|
759
765
|
root: ({ theme })=>({
|
|
760
766
|
background: theme.palette.common.white,
|
|
761
767
|
padding: theme.spacing(1, 2),
|
|
@@ -920,8 +926,7 @@ const theme = (0, _styles.createTheme)({
|
|
|
920
926
|
}
|
|
921
927
|
});
|
|
922
928
|
const lightTheme = (0, _styles.createTheme)(_object_spread_props(_object_spread({}, theme), {
|
|
923
|
-
|
|
924
|
-
palette: _object_spread_props(_object_spread({}, theme.palette), {
|
|
929
|
+
palette: _object_spread_props(_object_spread({}, palette), {
|
|
925
930
|
mode: 'light',
|
|
926
931
|
text: {
|
|
927
932
|
primary: 'rgba(0, 0, 0, 0.87)',
|
|
@@ -936,8 +941,7 @@ const lightTheme = (0, _styles.createTheme)(_object_spread_props(_object_spread(
|
|
|
936
941
|
})
|
|
937
942
|
}));
|
|
938
943
|
const darkTheme = (0, _styles.createTheme)(_object_spread_props(_object_spread({}, theme), {
|
|
939
|
-
|
|
940
|
-
palette: _object_spread_props(_object_spread({}, theme.palette), {
|
|
944
|
+
palette: _object_spread_props(_object_spread({}, palette), {
|
|
941
945
|
mode: 'dark',
|
|
942
946
|
text: {
|
|
943
947
|
primary: '#fff',
|
|
@@ -961,18 +965,17 @@ function createPageContext(darkMode = false) {
|
|
|
961
965
|
// This is needed in order to deduplicate the injection of CSS in the page.
|
|
962
966
|
sheetsManager: new Map(),
|
|
963
967
|
// This is needed in order to inject the critical CSS.
|
|
964
|
-
jss: (0, _jss.create)(_object_spread({}, (0,
|
|
968
|
+
jss: (0, _jss.create)(_object_spread({}, (0, _jssPreset.default)())),
|
|
965
969
|
sheetsRegistry: new _jss.SheetsRegistry(),
|
|
966
970
|
// The standard class name generator.
|
|
967
|
-
generateClassName: (0,
|
|
971
|
+
generateClassName: (0, _createGenerateClassName.default)()
|
|
968
972
|
};
|
|
969
973
|
}
|
|
970
974
|
let pageContext;
|
|
971
975
|
function getPageContext(darkMode) {
|
|
972
976
|
// Make sure to create a new context for every server-side request so that data
|
|
973
977
|
// isn't shared between connections (which would be bad).
|
|
974
|
-
|
|
975
|
-
if (!process.browser) {
|
|
978
|
+
if (typeof window === 'undefined') {
|
|
976
979
|
return createPageContext(darkMode);
|
|
977
980
|
}
|
|
978
981
|
// Reuse context on the client-side.
|