@powerhousedao/contributor-billing 0.0.33 → 0.0.34
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/document-models/invoice/gen/actions.d.ts +3 -1
- package/dist/document-models/invoice/gen/actions.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/actions.js +1 -0
- package/dist/document-models/invoice/gen/creators.d.ts +1 -0
- package/dist/document-models/invoice/gen/creators.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/creators.js +1 -0
- package/dist/document-models/invoice/gen/document-model.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/document-model.js +167 -50
- package/dist/document-models/invoice/gen/general/actions.d.ts +4 -6
- package/dist/document-models/invoice/gen/general/actions.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/general/creators.d.ts +4 -6
- package/dist/document-models/invoice/gen/general/creators.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/general/creators.js +2 -4
- package/dist/document-models/invoice/gen/general/object.d.ts +3 -5
- package/dist/document-models/invoice/gen/general/object.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/general/object.js +6 -12
- package/dist/document-models/invoice/gen/general/operations.d.ts +3 -5
- package/dist/document-models/invoice/gen/general/operations.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/object.d.ts +3 -1
- package/dist/document-models/invoice/gen/object.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/object.js +8 -1
- package/dist/document-models/invoice/gen/reducer.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/reducer.js +56 -15
- package/dist/document-models/invoice/gen/schema/types.d.ts +89 -23
- package/dist/document-models/invoice/gen/schema/types.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/schema/zod.d.ts +21 -7
- package/dist/document-models/invoice/gen/schema/zod.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/schema/zod.js +124 -28
- package/dist/document-models/invoice/gen/transitions/actions.d.ts +16 -0
- package/dist/document-models/invoice/gen/transitions/actions.d.ts.map +1 -0
- package/dist/document-models/invoice/gen/transitions/actions.js +1 -0
- package/dist/document-models/invoice/gen/transitions/creators.d.ts +15 -0
- package/dist/document-models/invoice/gen/transitions/creators.d.ts.map +1 -0
- package/dist/document-models/invoice/gen/transitions/creators.js +14 -0
- package/dist/document-models/invoice/gen/transitions/error.d.ts +2 -0
- package/dist/document-models/invoice/gen/transitions/error.d.ts.map +1 -0
- package/dist/document-models/invoice/gen/transitions/error.js +1 -0
- package/dist/document-models/invoice/gen/transitions/object.d.ts +18 -0
- package/dist/document-models/invoice/gen/transitions/object.d.ts.map +1 -0
- package/dist/document-models/invoice/gen/transitions/object.js +40 -0
- package/dist/document-models/invoice/gen/transitions/operations.d.ts +18 -0
- package/dist/document-models/invoice/gen/transitions/operations.d.ts.map +1 -0
- package/dist/document-models/invoice/gen/transitions/operations.js +1 -0
- package/dist/document-models/invoice/gen/utils.d.ts.map +1 -1
- package/dist/document-models/invoice/gen/utils.js +10 -6
- package/dist/document-models/invoice/index.d.ts +14 -4
- package/dist/document-models/invoice/index.d.ts.map +1 -1
- package/dist/document-models/invoice/src/reducers/general.d.ts.map +1 -1
- package/dist/document-models/invoice/src/reducers/general.js +26 -42
- package/dist/document-models/invoice/src/reducers/transitions.d.ts +8 -0
- package/dist/document-models/invoice/src/reducers/transitions.d.ts.map +1 -0
- package/dist/document-models/invoice/src/reducers/transitions.js +162 -0
- package/dist/document-models/invoice/src/tests/general.test.js +10 -31
- package/dist/document-models/invoice/src/tests/transitions.test.d.ts +6 -0
- package/dist/document-models/invoice/src/tests/transitions.test.d.ts.map +1 -0
- package/dist/document-models/invoice/src/tests/transitions.test.js +506 -0
- package/dist/document-models/invoice/utils/statusTransitions.d.ts +13 -0
- package/dist/document-models/invoice/utils/statusTransitions.d.ts.map +1 -0
- package/dist/document-models/invoice/utils/statusTransitions.js +13 -0
- package/dist/editors/billing-statement/lineItemTags/tagMapping.js +64 -64
- package/dist/editors/contributor-billing/components/DriveExplorer.js +1 -1
- package/dist/editors/contributor-billing/components/InvoiceTable/HeaderControls.d.ts +3 -2
- package/dist/editors/contributor-billing/components/InvoiceTable/HeaderControls.d.ts.map +1 -1
- package/dist/editors/contributor-billing/components/InvoiceTable/HeaderControls.js +26 -3
- package/dist/editors/contributor-billing/components/InvoiceTable/InvoiceTable.d.ts.map +1 -1
- package/dist/editors/contributor-billing/components/InvoiceTable/InvoiceTable.js +11 -3
- package/dist/editors/invoice/components/confirmationModal.d.ts +14 -0
- package/dist/editors/invoice/components/confirmationModal.d.ts.map +1 -0
- package/dist/editors/invoice/components/confirmationModal.js +7 -0
- package/dist/editors/invoice/components/selectField.d.ts.map +1 -1
- package/dist/editors/invoice/components/selectField.js +109 -112
- package/dist/editors/invoice/components/statusModalComponents.d.ts +52 -0
- package/dist/editors/invoice/components/statusModalComponents.d.ts.map +1 -0
- package/dist/editors/invoice/components/statusModalComponents.js +78 -0
- package/dist/editors/invoice/editor.d.ts +1 -1
- package/dist/editors/invoice/editor.d.ts.map +1 -1
- package/dist/editors/invoice/editor.js +153 -158
- package/dist/editors/invoice/ingestUBL.d.ts.map +1 -1
- package/dist/editors/invoice/ingestUBL.js +0 -3
- package/dist/editors/invoice/invoiceToGnosis.d.ts.map +1 -1
- package/dist/editors/invoice/invoiceToGnosis.js +4 -3
- package/dist/editors/invoice/lineItemTags/tagMapping.d.ts.map +1 -1
- package/dist/editors/invoice/lineItemTags/tagMapping.js +65 -64
- package/dist/editors/invoice/validation/validationHandler.d.ts +4 -0
- package/dist/editors/invoice/validation/validationHandler.d.ts.map +1 -0
- package/dist/editors/invoice/validation/validationHandler.js +117 -0
- package/dist/scripts/contributor-billing/createXeroCsv.d.ts +8 -0
- package/dist/scripts/contributor-billing/createXeroCsv.d.ts.map +1 -0
- package/dist/scripts/contributor-billing/createXeroCsv.js +206 -0
- package/dist/style.css +181 -18
- package/dist/subgraphs/invoice/resolvers.d.ts.map +1 -1
- package/dist/subgraphs/invoice/resolvers.js +92 -22
- package/dist/subgraphs/invoice/schema.d.ts.map +1 -1
- package/dist/subgraphs/invoice/schema.js +181 -57
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
106
106
|
--animate-spin: spin 1s linear infinite;
|
|
107
107
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
108
|
+
--blur-sm: 8px;
|
|
108
109
|
--default-transition-duration: 150ms;
|
|
109
110
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
110
111
|
--default-font-family: var(--font-sans);
|
|
@@ -284,6 +285,9 @@
|
|
|
284
285
|
.right-2 {
|
|
285
286
|
right: calc(var(--spacing) * 2);
|
|
286
287
|
}
|
|
288
|
+
.left-1\/2 {
|
|
289
|
+
left: calc(1/2 * 100%);
|
|
290
|
+
}
|
|
287
291
|
.z-10 {
|
|
288
292
|
z-index: 10;
|
|
289
293
|
}
|
|
@@ -314,6 +318,9 @@
|
|
|
314
318
|
max-width: 96rem;
|
|
315
319
|
}
|
|
316
320
|
}
|
|
321
|
+
.my-6 {
|
|
322
|
+
margin-block: calc(var(--spacing) * 6);
|
|
323
|
+
}
|
|
317
324
|
.mt-1 {
|
|
318
325
|
margin-top: calc(var(--spacing) * 1);
|
|
319
326
|
}
|
|
@@ -411,6 +418,12 @@
|
|
|
411
418
|
.h-full {
|
|
412
419
|
height: 100%;
|
|
413
420
|
}
|
|
421
|
+
.min-h-\[48px\] {
|
|
422
|
+
min-height: 48px;
|
|
423
|
+
}
|
|
424
|
+
.min-h-\[64px\] {
|
|
425
|
+
min-height: 64px;
|
|
426
|
+
}
|
|
414
427
|
.w-4 {
|
|
415
428
|
width: calc(var(--spacing) * 4);
|
|
416
429
|
}
|
|
@@ -444,9 +457,24 @@
|
|
|
444
457
|
.w-\[200px\] {
|
|
445
458
|
width: 200px;
|
|
446
459
|
}
|
|
460
|
+
.w-\[250px\] {
|
|
461
|
+
width: 250px;
|
|
462
|
+
}
|
|
447
463
|
.w-full {
|
|
448
464
|
width: 100%;
|
|
449
465
|
}
|
|
466
|
+
.max-w-full {
|
|
467
|
+
max-width: 100%;
|
|
468
|
+
}
|
|
469
|
+
.max-w-md {
|
|
470
|
+
max-width: var(--container-md);
|
|
471
|
+
}
|
|
472
|
+
.min-w-\[142px\] {
|
|
473
|
+
min-width: 142px;
|
|
474
|
+
}
|
|
475
|
+
.min-w-\[300px\] {
|
|
476
|
+
min-width: 300px;
|
|
477
|
+
}
|
|
450
478
|
.min-w-\[900px\] {
|
|
451
479
|
min-width: 900px;
|
|
452
480
|
}
|
|
@@ -467,6 +495,10 @@
|
|
|
467
495
|
--tw-border-spacing-y: calc(var(--spacing) * 0);
|
|
468
496
|
border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
|
|
469
497
|
}
|
|
498
|
+
.-translate-x-1\/2 {
|
|
499
|
+
--tw-translate-x: calc(calc(1/2 * 100%) * -1);
|
|
500
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
501
|
+
}
|
|
470
502
|
.-translate-y-1\/2 {
|
|
471
503
|
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
472
504
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -474,12 +506,12 @@
|
|
|
474
506
|
.transform {
|
|
475
507
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
476
508
|
}
|
|
509
|
+
.cursor-not-allowed {
|
|
510
|
+
cursor: not-allowed;
|
|
511
|
+
}
|
|
477
512
|
.cursor-pointer {
|
|
478
513
|
cursor: pointer;
|
|
479
514
|
}
|
|
480
|
-
.resize {
|
|
481
|
-
resize: both;
|
|
482
|
-
}
|
|
483
515
|
.grid-cols-2 {
|
|
484
516
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
485
517
|
}
|
|
@@ -510,6 +542,9 @@
|
|
|
510
542
|
.gap-2 {
|
|
511
543
|
gap: calc(var(--spacing) * 2);
|
|
512
544
|
}
|
|
545
|
+
.gap-3 {
|
|
546
|
+
gap: calc(var(--spacing) * 3);
|
|
547
|
+
}
|
|
513
548
|
.gap-4 {
|
|
514
549
|
gap: calc(var(--spacing) * 4);
|
|
515
550
|
}
|
|
@@ -570,6 +605,9 @@
|
|
|
570
605
|
.rounded {
|
|
571
606
|
border-radius: 0.25rem;
|
|
572
607
|
}
|
|
608
|
+
.rounded-3xl {
|
|
609
|
+
border-radius: var(--radius-3xl);
|
|
610
|
+
}
|
|
573
611
|
.rounded-full {
|
|
574
612
|
border-radius: calc(infinity * 1px);
|
|
575
613
|
}
|
|
@@ -582,6 +620,9 @@
|
|
|
582
620
|
.rounded-sm {
|
|
583
621
|
border-radius: var(--radius-sm);
|
|
584
622
|
}
|
|
623
|
+
.rounded-xl {
|
|
624
|
+
border-radius: var(--radius-xl);
|
|
625
|
+
}
|
|
585
626
|
.border {
|
|
586
627
|
border-style: var(--tw-border-style);
|
|
587
628
|
border-width: 1px;
|
|
@@ -621,12 +662,21 @@
|
|
|
621
662
|
.border-gray-500 {
|
|
622
663
|
border-color: var(--color-gray-500);
|
|
623
664
|
}
|
|
665
|
+
.border-slate-100 {
|
|
666
|
+
border-color: var(--color-slate-100);
|
|
667
|
+
}
|
|
624
668
|
.border-transparent {
|
|
625
669
|
border-color: transparent;
|
|
626
670
|
}
|
|
627
671
|
.bg-black {
|
|
628
672
|
background-color: var(--color-black);
|
|
629
673
|
}
|
|
674
|
+
.bg-black\/10 {
|
|
675
|
+
background-color: color-mix(in srgb, #000 10%, transparent);
|
|
676
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
677
|
+
background-color: color-mix(in oklab, var(--color-black) 10%, transparent);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
630
680
|
.bg-blue-50 {
|
|
631
681
|
background-color: var(--color-blue-50);
|
|
632
682
|
}
|
|
@@ -651,6 +701,9 @@
|
|
|
651
701
|
.bg-gray-500 {
|
|
652
702
|
background-color: var(--color-gray-500);
|
|
653
703
|
}
|
|
704
|
+
.bg-gray-800 {
|
|
705
|
+
background-color: var(--color-gray-800);
|
|
706
|
+
}
|
|
654
707
|
.bg-green-100 {
|
|
655
708
|
background-color: var(--color-green-100);
|
|
656
709
|
}
|
|
@@ -663,6 +716,9 @@
|
|
|
663
716
|
.bg-red-600 {
|
|
664
717
|
background-color: var(--color-red-600);
|
|
665
718
|
}
|
|
719
|
+
.bg-slate-50 {
|
|
720
|
+
background-color: var(--color-slate-50);
|
|
721
|
+
}
|
|
666
722
|
.bg-white {
|
|
667
723
|
background-color: var(--color-white);
|
|
668
724
|
}
|
|
@@ -708,6 +764,9 @@
|
|
|
708
764
|
.py-2 {
|
|
709
765
|
padding-block: calc(var(--spacing) * 2);
|
|
710
766
|
}
|
|
767
|
+
.py-3 {
|
|
768
|
+
padding-block: calc(var(--spacing) * 3);
|
|
769
|
+
}
|
|
711
770
|
.pt-2 {
|
|
712
771
|
padding-top: calc(var(--spacing) * 2);
|
|
713
772
|
}
|
|
@@ -720,6 +779,9 @@
|
|
|
720
779
|
.pr-8 {
|
|
721
780
|
padding-right: calc(var(--spacing) * 8);
|
|
722
781
|
}
|
|
782
|
+
.pb-2 {
|
|
783
|
+
padding-bottom: calc(var(--spacing) * 2);
|
|
784
|
+
}
|
|
723
785
|
.text-center {
|
|
724
786
|
text-align: center;
|
|
725
787
|
}
|
|
@@ -740,6 +802,10 @@
|
|
|
740
802
|
font-size: var(--text-3xl);
|
|
741
803
|
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
|
742
804
|
}
|
|
805
|
+
.text-base {
|
|
806
|
+
font-size: var(--text-base);
|
|
807
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
808
|
+
}
|
|
743
809
|
.text-lg {
|
|
744
810
|
font-size: var(--text-lg);
|
|
745
811
|
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
@@ -783,6 +849,9 @@
|
|
|
783
849
|
.text-blue-600 {
|
|
784
850
|
color: var(--color-blue-600);
|
|
785
851
|
}
|
|
852
|
+
.text-gray-50 {
|
|
853
|
+
color: var(--color-gray-50);
|
|
854
|
+
}
|
|
786
855
|
.text-gray-400 {
|
|
787
856
|
color: var(--color-gray-400);
|
|
788
857
|
}
|
|
@@ -795,6 +864,9 @@
|
|
|
795
864
|
.text-gray-700 {
|
|
796
865
|
color: var(--color-gray-700);
|
|
797
866
|
}
|
|
867
|
+
.text-gray-800 {
|
|
868
|
+
color: var(--color-gray-800);
|
|
869
|
+
}
|
|
798
870
|
.text-gray-900 {
|
|
799
871
|
color: var(--color-gray-900);
|
|
800
872
|
}
|
|
@@ -807,6 +879,9 @@
|
|
|
807
879
|
.text-red-500 {
|
|
808
880
|
color: var(--color-red-500);
|
|
809
881
|
}
|
|
882
|
+
.text-slate-800 {
|
|
883
|
+
color: var(--color-slate-800);
|
|
884
|
+
}
|
|
810
885
|
.text-white {
|
|
811
886
|
color: var(--color-white);
|
|
812
887
|
}
|
|
@@ -826,6 +901,9 @@
|
|
|
826
901
|
.underline {
|
|
827
902
|
text-decoration-line: underline;
|
|
828
903
|
}
|
|
904
|
+
.opacity-50 {
|
|
905
|
+
opacity: 50%;
|
|
906
|
+
}
|
|
829
907
|
.shadow-lg {
|
|
830
908
|
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
831
909
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -838,6 +916,10 @@
|
|
|
838
916
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
839
917
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
840
918
|
}
|
|
919
|
+
.shadow-xl {
|
|
920
|
+
--tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
921
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
922
|
+
}
|
|
841
923
|
.ring-1 {
|
|
842
924
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
843
925
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -845,11 +927,21 @@
|
|
|
845
927
|
.ring-black {
|
|
846
928
|
--tw-ring-color: var(--color-black);
|
|
847
929
|
}
|
|
930
|
+
.backdrop-blur-sm {
|
|
931
|
+
--tw-backdrop-blur: blur(var(--blur-sm));
|
|
932
|
+
-webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
933
|
+
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
934
|
+
}
|
|
848
935
|
.transition {
|
|
849
936
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
|
|
850
937
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
851
938
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
852
939
|
}
|
|
940
|
+
.transition-all {
|
|
941
|
+
transition-property: all;
|
|
942
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
943
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
944
|
+
}
|
|
853
945
|
.transition-colors {
|
|
854
946
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
855
947
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
@@ -860,6 +952,20 @@
|
|
|
860
952
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
861
953
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
862
954
|
}
|
|
955
|
+
.outline-none {
|
|
956
|
+
--tw-outline-style: none;
|
|
957
|
+
outline-style: none;
|
|
958
|
+
}
|
|
959
|
+
.hover\:scale-105 {
|
|
960
|
+
&:hover {
|
|
961
|
+
@media (hover: hover) {
|
|
962
|
+
--tw-scale-x: 105%;
|
|
963
|
+
--tw-scale-y: 105%;
|
|
964
|
+
--tw-scale-z: 105%;
|
|
965
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
}
|
|
863
969
|
.hover\:bg-blue-200 {
|
|
864
970
|
&:hover {
|
|
865
971
|
@media (hover: hover) {
|
|
@@ -902,6 +1008,13 @@
|
|
|
902
1008
|
}
|
|
903
1009
|
}
|
|
904
1010
|
}
|
|
1011
|
+
.hover\:bg-gray-300 {
|
|
1012
|
+
&:hover {
|
|
1013
|
+
@media (hover: hover) {
|
|
1014
|
+
background-color: var(--color-gray-300);
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
905
1018
|
.hover\:bg-gray-600 {
|
|
906
1019
|
&:hover {
|
|
907
1020
|
@media (hover: hover) {
|
|
@@ -977,6 +1090,11 @@
|
|
|
977
1090
|
outline-style: none;
|
|
978
1091
|
}
|
|
979
1092
|
}
|
|
1093
|
+
.active\:opacity-75 {
|
|
1094
|
+
&:active {
|
|
1095
|
+
opacity: 75%;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
980
1098
|
.disabled\:bg-gray-50 {
|
|
981
1099
|
&:disabled {
|
|
982
1100
|
background-color: var(--color-gray-50);
|
|
@@ -5274,21 +5392,6 @@ input[type="number"] {
|
|
|
5274
5392
|
scrollbar-width: initial;
|
|
5275
5393
|
}
|
|
5276
5394
|
}
|
|
5277
|
-
@property --tw-scale-x {
|
|
5278
|
-
syntax: "*";
|
|
5279
|
-
inherits: false;
|
|
5280
|
-
initial-value: 1;
|
|
5281
|
-
}
|
|
5282
|
-
@property --tw-scale-y {
|
|
5283
|
-
syntax: "*";
|
|
5284
|
-
inherits: false;
|
|
5285
|
-
initial-value: 1;
|
|
5286
|
-
}
|
|
5287
|
-
@property --tw-scale-z {
|
|
5288
|
-
syntax: "*";
|
|
5289
|
-
inherits: false;
|
|
5290
|
-
initial-value: 1;
|
|
5291
|
-
}
|
|
5292
5395
|
@property --tw-divide-y-reverse {
|
|
5293
5396
|
syntax: "*";
|
|
5294
5397
|
inherits: false;
|
|
@@ -16527,6 +16630,57 @@ input[type="number"] {
|
|
|
16527
16630
|
inherits: false;
|
|
16528
16631
|
initial-value: 0 0 #0000;
|
|
16529
16632
|
}
|
|
16633
|
+
@property --tw-backdrop-blur {
|
|
16634
|
+
syntax: "*";
|
|
16635
|
+
inherits: false;
|
|
16636
|
+
}
|
|
16637
|
+
@property --tw-backdrop-brightness {
|
|
16638
|
+
syntax: "*";
|
|
16639
|
+
inherits: false;
|
|
16640
|
+
}
|
|
16641
|
+
@property --tw-backdrop-contrast {
|
|
16642
|
+
syntax: "*";
|
|
16643
|
+
inherits: false;
|
|
16644
|
+
}
|
|
16645
|
+
@property --tw-backdrop-grayscale {
|
|
16646
|
+
syntax: "*";
|
|
16647
|
+
inherits: false;
|
|
16648
|
+
}
|
|
16649
|
+
@property --tw-backdrop-hue-rotate {
|
|
16650
|
+
syntax: "*";
|
|
16651
|
+
inherits: false;
|
|
16652
|
+
}
|
|
16653
|
+
@property --tw-backdrop-invert {
|
|
16654
|
+
syntax: "*";
|
|
16655
|
+
inherits: false;
|
|
16656
|
+
}
|
|
16657
|
+
@property --tw-backdrop-opacity {
|
|
16658
|
+
syntax: "*";
|
|
16659
|
+
inherits: false;
|
|
16660
|
+
}
|
|
16661
|
+
@property --tw-backdrop-saturate {
|
|
16662
|
+
syntax: "*";
|
|
16663
|
+
inherits: false;
|
|
16664
|
+
}
|
|
16665
|
+
@property --tw-backdrop-sepia {
|
|
16666
|
+
syntax: "*";
|
|
16667
|
+
inherits: false;
|
|
16668
|
+
}
|
|
16669
|
+
@property --tw-scale-x {
|
|
16670
|
+
syntax: "*";
|
|
16671
|
+
inherits: false;
|
|
16672
|
+
initial-value: 1;
|
|
16673
|
+
}
|
|
16674
|
+
@property --tw-scale-y {
|
|
16675
|
+
syntax: "*";
|
|
16676
|
+
inherits: false;
|
|
16677
|
+
initial-value: 1;
|
|
16678
|
+
}
|
|
16679
|
+
@property --tw-scale-z {
|
|
16680
|
+
syntax: "*";
|
|
16681
|
+
inherits: false;
|
|
16682
|
+
initial-value: 1;
|
|
16683
|
+
}
|
|
16530
16684
|
@keyframes spin {
|
|
16531
16685
|
to {
|
|
16532
16686
|
transform: rotate(360deg);
|
|
@@ -16573,6 +16727,15 @@ input[type="number"] {
|
|
|
16573
16727
|
--tw-ring-offset-width: 0px;
|
|
16574
16728
|
--tw-ring-offset-color: #fff;
|
|
16575
16729
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
16730
|
+
--tw-backdrop-blur: initial;
|
|
16731
|
+
--tw-backdrop-brightness: initial;
|
|
16732
|
+
--tw-backdrop-contrast: initial;
|
|
16733
|
+
--tw-backdrop-grayscale: initial;
|
|
16734
|
+
--tw-backdrop-hue-rotate: initial;
|
|
16735
|
+
--tw-backdrop-invert: initial;
|
|
16736
|
+
--tw-backdrop-opacity: initial;
|
|
16737
|
+
--tw-backdrop-saturate: initial;
|
|
16738
|
+
--tw-backdrop-sepia: initial;
|
|
16576
16739
|
--tw-scale-x: 1;
|
|
16577
16740
|
--tw-scale-y: 1;
|
|
16578
16741
|
--tw-scale-z: 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/invoice/resolvers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAQ3D,eAAO,MAAM,YAAY,GAAI,UAAU,QAAQ,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/invoice/resolvers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAQ3D,eAAO,MAAM,YAAY,GAAI,UAAU,QAAQ,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAmdnE,CAAC"}
|
|
@@ -14,8 +14,8 @@ export const getResolvers = (subgraph) => {
|
|
|
14
14
|
const docId = args.docId || "";
|
|
15
15
|
const doc = await reactor.getDocument(driveId, docId);
|
|
16
16
|
return {
|
|
17
|
-
...doc,
|
|
18
17
|
driveId: driveId,
|
|
18
|
+
...doc,
|
|
19
19
|
state: doc.state.global,
|
|
20
20
|
stateJSON: doc.state.global,
|
|
21
21
|
revision: doc.revision.global,
|
|
@@ -27,8 +27,8 @@ export const getResolvers = (subgraph) => {
|
|
|
27
27
|
const docs = await Promise.all(docsIds.map(async (docId) => {
|
|
28
28
|
const doc = await reactor.getDocument(driveId, docId);
|
|
29
29
|
return {
|
|
30
|
-
...doc,
|
|
31
30
|
driveId: driveId,
|
|
31
|
+
...doc,
|
|
32
32
|
state: doc.state.global,
|
|
33
33
|
stateJSON: doc.state.global,
|
|
34
34
|
revision: doc.revision.global,
|
|
@@ -76,39 +76,25 @@ export const getResolvers = (subgraph) => {
|
|
|
76
76
|
await reactor.addAction(driveId, docId, actions.editStatus({ ...args.input }));
|
|
77
77
|
return doc.revision.global + 1;
|
|
78
78
|
},
|
|
79
|
-
|
|
80
|
-
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
81
|
-
const docId = args.docId || "";
|
|
82
|
-
const doc = await reactor.getDocument(driveId, docId);
|
|
83
|
-
await reactor.addAction(driveId, docId, actions.addRef({ ...args.input }));
|
|
84
|
-
return doc.revision.global + 1;
|
|
85
|
-
},
|
|
86
|
-
Invoice_editRef: async (_, args) => {
|
|
87
|
-
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
88
|
-
const docId = args.docId || "";
|
|
89
|
-
const doc = await reactor.getDocument(driveId, docId);
|
|
90
|
-
await reactor.addAction(driveId, docId, actions.editRef({ ...args.input }));
|
|
91
|
-
return doc.revision.global + 1;
|
|
92
|
-
},
|
|
93
|
-
Invoice_deleteRef: async (_, args) => {
|
|
79
|
+
Invoice_editPaymentData: async (_, args) => {
|
|
94
80
|
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
95
81
|
const docId = args.docId || "";
|
|
96
82
|
const doc = await reactor.getDocument(driveId, docId);
|
|
97
|
-
await reactor.addAction(driveId, docId, actions.
|
|
83
|
+
await reactor.addAction(driveId, docId, actions.editPaymentData({ ...args.input }));
|
|
98
84
|
return doc.revision.global + 1;
|
|
99
85
|
},
|
|
100
|
-
|
|
86
|
+
Invoice_setExportedData: async (_, args) => {
|
|
101
87
|
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
102
88
|
const docId = args.docId || "";
|
|
103
89
|
const doc = await reactor.getDocument(driveId, docId);
|
|
104
|
-
await reactor.addAction(driveId, docId, actions.
|
|
90
|
+
await reactor.addAction(driveId, docId, actions.setExportedData({ ...args.input }));
|
|
105
91
|
return doc.revision.global + 1;
|
|
106
92
|
},
|
|
107
|
-
|
|
93
|
+
Invoice_addPayment: async (_, args) => {
|
|
108
94
|
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
109
95
|
const docId = args.docId || "";
|
|
110
96
|
const doc = await reactor.getDocument(driveId, docId);
|
|
111
|
-
await reactor.addAction(driveId, docId, actions.
|
|
97
|
+
await reactor.addAction(driveId, docId, actions.addPayment({ ...args.input }));
|
|
112
98
|
return doc.revision.global + 1;
|
|
113
99
|
},
|
|
114
100
|
Invoice_editIssuer: async (_, args) => {
|
|
@@ -188,6 +174,90 @@ export const getResolvers = (subgraph) => {
|
|
|
188
174
|
await reactor.addAction(driveId, docId, actions.setInvoiceTag({ ...args.input }));
|
|
189
175
|
return doc.revision.global + 1;
|
|
190
176
|
},
|
|
177
|
+
Invoice_cancel: async (_, args) => {
|
|
178
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
179
|
+
const docId = args.docId || "";
|
|
180
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
181
|
+
await reactor.addAction(driveId, docId, actions.cancel({ ...args.input }));
|
|
182
|
+
return doc.revision.global + 1;
|
|
183
|
+
},
|
|
184
|
+
Invoice_issue: async (_, args) => {
|
|
185
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
186
|
+
const docId = args.docId || "";
|
|
187
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
188
|
+
await reactor.addAction(driveId, docId, actions.issue({ ...args.input }));
|
|
189
|
+
return doc.revision.global + 1;
|
|
190
|
+
},
|
|
191
|
+
Invoice_reset: async (_, args) => {
|
|
192
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
193
|
+
const docId = args.docId || "";
|
|
194
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
195
|
+
await reactor.addAction(driveId, docId, actions.reset({ ...args.input }));
|
|
196
|
+
return doc.revision.global + 1;
|
|
197
|
+
},
|
|
198
|
+
Invoice_reject: async (_, args) => {
|
|
199
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
200
|
+
const docId = args.docId || "";
|
|
201
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
202
|
+
await reactor.addAction(driveId, docId, actions.reject({ ...args.input }));
|
|
203
|
+
return doc.revision.global + 1;
|
|
204
|
+
},
|
|
205
|
+
Invoice_accept: async (_, args) => {
|
|
206
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
207
|
+
const docId = args.docId || "";
|
|
208
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
209
|
+
await reactor.addAction(driveId, docId, actions.accept({ ...args.input }));
|
|
210
|
+
return doc.revision.global + 1;
|
|
211
|
+
},
|
|
212
|
+
Invoice_reinstate: async (_, args) => {
|
|
213
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
214
|
+
const docId = args.docId || "";
|
|
215
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
216
|
+
await reactor.addAction(driveId, docId, actions.reinstate({ ...args.input }));
|
|
217
|
+
return doc.revision.global + 1;
|
|
218
|
+
},
|
|
219
|
+
Invoice_schedulePayment: async (_, args) => {
|
|
220
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
221
|
+
const docId = args.docId || "";
|
|
222
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
223
|
+
await reactor.addAction(driveId, docId, actions.schedulePayment({ ...args.input }));
|
|
224
|
+
return doc.revision.global + 1;
|
|
225
|
+
},
|
|
226
|
+
Invoice_reapprovePayment: async (_, args) => {
|
|
227
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
228
|
+
const docId = args.docId || "";
|
|
229
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
230
|
+
await reactor.addAction(driveId, docId, actions.reapprovePayment({ ...args.input }));
|
|
231
|
+
return doc.revision.global + 1;
|
|
232
|
+
},
|
|
233
|
+
Invoice_registerPaymentTx: async (_, args) => {
|
|
234
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
235
|
+
const docId = args.docId || "";
|
|
236
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
237
|
+
await reactor.addAction(driveId, docId, actions.registerPaymentTx({ ...args.input }));
|
|
238
|
+
return doc.revision.global + 1;
|
|
239
|
+
},
|
|
240
|
+
Invoice_reportPaymentIssue: async (_, args) => {
|
|
241
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
242
|
+
const docId = args.docId || "";
|
|
243
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
244
|
+
await reactor.addAction(driveId, docId, actions.reportPaymentIssue({ ...args.input }));
|
|
245
|
+
return doc.revision.global + 1;
|
|
246
|
+
},
|
|
247
|
+
Invoice_confirmPayment: async (_, args) => {
|
|
248
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
249
|
+
const docId = args.docId || "";
|
|
250
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
251
|
+
await reactor.addAction(driveId, docId, actions.confirmPayment({ ...args.input }));
|
|
252
|
+
return doc.revision.global + 1;
|
|
253
|
+
},
|
|
254
|
+
Invoice_closePayment: async (_, args) => {
|
|
255
|
+
const driveId = args.driveId || DEFAULT_DRIVE_ID;
|
|
256
|
+
const docId = args.docId || "";
|
|
257
|
+
const doc = await reactor.getDocument(driveId, docId);
|
|
258
|
+
await reactor.addAction(driveId, docId, actions.closePayment({ ...args.input }));
|
|
259
|
+
return doc.revision.global + 1;
|
|
260
|
+
},
|
|
191
261
|
Invoice_processGnosisPayment,
|
|
192
262
|
Invoice_createRequestFinancePayment,
|
|
193
263
|
Invoice_uploadInvoicePdfChunk,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/invoice/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/invoice/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,YA8lBpB,CAAC"}
|