@fixefy/fixefy-ui-utils 0.2.14 → 0.2.16

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.
@@ -34,5 +34,4 @@ export declare const getVariablesKeys: ({ variables, operationType }: {
34
34
  operationType: string;
35
35
  }) => {} | undefined;
36
36
  export declare const insertNewVariable: ({ operationName, schema, key, value, _variables, action }: any) => void;
37
- export declare const isArgMandatory: (arg: any) => boolean;
38
37
  export declare const parseInputDataToDataObject: ({ key, value, parent, method, list, state }: any) => any;
@@ -36,9 +36,6 @@ _export(exports, {
36
36
  insertNewVariable: function() {
37
37
  return insertNewVariable;
38
38
  },
39
- isArgMandatory: function() {
40
- return isArgMandatory;
41
- },
42
39
  operationTypes: function() {
43
40
  return operationTypes;
44
41
  },
@@ -47,7 +44,6 @@ _export(exports, {
47
44
  }
48
45
  });
49
46
  const _pluralize = /*#__PURE__*/ _interop_require_default(require("pluralize"));
50
- const _language = require("graphql/language");
51
47
  function _define_property(obj, key, value) {
52
48
  if (key in obj) {
53
49
  Object.defineProperty(obj, key, {
@@ -209,11 +205,6 @@ const insertNewVariable = ({ operationName, schema, key, value, _variables, acti
209
205
  }
210
206
  });
211
207
  };
212
- const isArgMandatory = (arg)=>{
213
- const kind = getTypeKind(arg);
214
- const rv = kind === _language.Kind.NON_NULL_TYPE;
215
- return rv;
216
- };
217
208
  const parseInputDataToDataObject = ({ key, value, parent, method, list, state })=>{
218
209
  let rv = state;
219
210
  const type = typeof value;
@@ -190,8 +190,10 @@ declare module '@mui/material/styles' {
190
190
  active: StatusColorOption;
191
191
  approve: StatusColorOption;
192
192
  approved: StatusColorOption;
193
+ billed: StatusColorOption;
193
194
  challenge: StatusColorOption;
194
195
  challenged: StatusColorOption;
196
+ closed: StatusColorOption;
195
197
  declined: StatusColorOption;
196
198
  discrepancy: StatusColorOption;
197
199
  duplicate: StatusColorOption;
@@ -203,6 +205,7 @@ declare module '@mui/material/styles' {
203
205
  no_pricing: StatusColorOption;
204
206
  pending: StatusColorOption;
205
207
  resolved: StatusColorOption;
208
+ submitted_for_billing: StatusColorOption;
206
209
  }
207
210
  interface TagPaletteColorOptions {
208
211
  approved: StatusColorOption;
@@ -218,14 +221,17 @@ declare module '@mui/material/styles' {
218
221
  }
219
222
  interface InvoiceStatesPaletteColorOptions {
220
223
  approved: StatusColorOption;
224
+ billed: StatusColorOption;
221
225
  created: StatusColorOption;
222
226
  declined: StatusColorOption;
223
227
  in_dispute: StatusColorOption;
224
228
  in_progress: StatusColorOption;
225
229
  paid: StatusColorOption;
226
230
  closed: StatusColorOption;
231
+ submitted_for_billing: StatusColorOption;
227
232
  }
228
233
  interface RecosStatesPaletteColorOptions {
234
+ billed: StatusColorOption;
229
235
  created: StatusColorOption;
230
236
  in_progress: StatusColorOption;
231
237
  approved: StatusColorOption;
@@ -234,6 +240,7 @@ declare module '@mui/material/styles' {
234
240
  closed: StatusColorOption;
235
241
  pending: StatusColorOption;
236
242
  resolved: StatusColorOption;
243
+ submitted_for_billing: StatusColorOption;
237
244
  }
238
245
  interface SnackbarPaletteColorOptions {
239
246
  info: SnackbarColorOption;
@@ -271,6 +271,10 @@ const theme = (0, _styles.createTheme)({
271
271
  border: '#F7C08F',
272
272
  background: '#FEFAF6'
273
273
  },
274
+ closed: {
275
+ border: '#8B9092',
276
+ background: '#8B9092'
277
+ },
274
278
  declined: {
275
279
  border: '#F48085',
276
280
  background: '#FEF5F5'
@@ -314,6 +318,14 @@ const theme = (0, _styles.createTheme)({
314
318
  resolved: {
315
319
  border: '#BB6BD9',
316
320
  background: '#FAF6FE'
321
+ },
322
+ submitted_for_billing: {
323
+ border: '#88C00D',
324
+ background: '#F1FBFE'
325
+ },
326
+ billed: {
327
+ border: '#C4A603',
328
+ background: '#FEFDF3'
317
329
  }
318
330
  },
319
331
  tag: {
@@ -391,6 +403,16 @@ const theme = (0, _styles.createTheme)({
391
403
  closed: {
392
404
  border: '#8B9092',
393
405
  background: '#8B9092'
406
+ },
407
+ submitted_for_billing: {
408
+ border: '#88C00D',
409
+ background: '#88C00D',
410
+ light: '#F1FBFE'
411
+ },
412
+ billed: {
413
+ border: '#C4A603',
414
+ background: '#C4A603',
415
+ light: '#FEFDF3'
394
416
  }
395
417
  },
396
418
  reconcilationState: {
@@ -431,6 +453,16 @@ const theme = (0, _styles.createTheme)({
431
453
  border: '#BB6BD9',
432
454
  background: '#BB6BD9',
433
455
  light: '#FBF6FD'
456
+ },
457
+ submitted_for_billing: {
458
+ border: '#88C00D',
459
+ background: '#88C00D',
460
+ light: '#F1FBFE'
461
+ },
462
+ billed: {
463
+ border: '#C4A603',
464
+ background: '#C4A603',
465
+ light: '#FEFDF3'
434
466
  }
435
467
  },
436
468
  trends: {
package/package.json CHANGED
@@ -56,5 +56,5 @@
56
56
  "require": "./dist/index.js"
57
57
  }
58
58
  },
59
- "version": "0.2.14"
59
+ "version": "0.2.16"
60
60
  }