@tesouro/embedded-components-react 0.3.19 → 0.3.22
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/index.css +9 -0
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/monite-sdk.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +28 -97
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +81 -176
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +50 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +250 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +106 -107
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +209 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +3 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +114 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +36 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +10 -283
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +199 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +14 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +314 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +85 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +113 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +5 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +81 -145
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +8 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +89 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +16 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +19 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +8 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +36 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +44 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +72 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +99 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +35 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +171 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +134 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +125 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +63 -232
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +248 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +5 -456
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +455 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +13 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +51 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +39 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +143 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +114 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +33 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +18 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +149 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +136 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +31 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +116 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +10 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +50 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +34 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +86 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +1 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +0 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +129 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +105 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +48 -779
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +780 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +84 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +105 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +6 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +14 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +163 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +204 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +82 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +146 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +95 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +46 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +13 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +186 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +41 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +11 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +4 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +219 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +32 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +168 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +192 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +97 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +63 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +46 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +91 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +39 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +63 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +66 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +104 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +72 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index609.js +14 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index610.js +91 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index611.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index612.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index613.js +71 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index614.js +0 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +66 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index616.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index617.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index619.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index620.js +29 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index621.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index622.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index623.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +16 -11
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +0 -2
|
@@ -49,27 +49,31 @@ import "./index55.js";
|
|
|
49
49
|
import "./index56.js";
|
|
50
50
|
import { BillDuplicateNotice as s } from "./index57.js";
|
|
51
51
|
import "./index58.js";
|
|
52
|
-
import
|
|
53
|
-
import {
|
|
52
|
+
import "./index59.js";
|
|
53
|
+
import { BillsFilterField as c } from "./index60.js";
|
|
54
54
|
import "./index61.js";
|
|
55
|
-
import
|
|
55
|
+
import "./index62.js";
|
|
56
|
+
import { BillColumn as l } from "./index63.js";
|
|
57
|
+
import { BillsScreen as u } from "./index64.js";
|
|
56
58
|
import "./index65.js";
|
|
57
|
-
import "./
|
|
58
|
-
import { DuplicateBillsDialog as d } from "./index67.js";
|
|
59
|
-
import "./index68.js";
|
|
59
|
+
import { BillUploadStatusTray as d } from "./index67.js";
|
|
60
60
|
import "./index69.js";
|
|
61
|
-
import
|
|
62
|
-
import "./index71.js";
|
|
61
|
+
import "./index70.js";
|
|
62
|
+
import { DuplicateBillsDialog as f } from "./index71.js";
|
|
63
63
|
import "./index72.js";
|
|
64
64
|
import "./index73.js";
|
|
65
|
-
import "./index74.js";
|
|
66
|
-
import
|
|
67
|
-
import
|
|
65
|
+
import { ExtractionNotice as p } from "./index74.js";
|
|
66
|
+
import "./index75.js";
|
|
67
|
+
import "./index76.js";
|
|
68
68
|
import "./index77.js";
|
|
69
|
-
import
|
|
70
|
-
import {
|
|
69
|
+
import "./index78.js";
|
|
70
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as m } from "./index79.js";
|
|
71
|
+
import { ReviewTransactionDialog as h } from "./index80.js";
|
|
71
72
|
import "./index81.js";
|
|
72
|
-
import "./index82.js";
|
|
73
|
-
import {
|
|
74
|
-
import "./
|
|
75
|
-
|
|
73
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as g } from "./index82.js";
|
|
74
|
+
import { SchedulePaymentDialog as _ } from "./index84.js";
|
|
75
|
+
import "./index85.js";
|
|
76
|
+
import "./index86.js";
|
|
77
|
+
import { SourceDocumentPanel as v } from "./index87.js";
|
|
78
|
+
import "./index88.js";
|
|
79
|
+
export { e as AddBillDialog, a as BILL_DETAILS_SHEET_LABELS_EN, t as BILL_STATUS_BADGE_LABELS_EN, l as BillColumn, n as BillCreateScreen, i as BillDecisionDialog, o as BillDetailsSheet, s as BillDuplicateNotice, r as BillPayWidgetUi, d as BillUploadStatusTray, c as BillsFilterField, u as BillsScreen, f as DuplicateBillsDialog, p as ExtractionNotice, m as REVIEW_TRANSACTION_DIALOG_LABELS_EN, h as ReviewTransactionDialog, g as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, _ as SchedulePaymentDialog, v as SourceDocumentPanel };
|
|
@@ -45,12 +45,14 @@ var a = {
|
|
|
45
45
|
}, c = {
|
|
46
46
|
createButton: "Add bill",
|
|
47
47
|
columnVendor: "Vendor",
|
|
48
|
+
columnIssueDate: "Issue date",
|
|
48
49
|
columnDueDate: "Due date",
|
|
49
50
|
columnScheduledDate: "Scheduled date",
|
|
50
51
|
columnPaidDate: "Paid date",
|
|
51
52
|
columnAmountDue: "Amount due",
|
|
52
53
|
columnAmountScheduled: "Amount scheduled",
|
|
53
54
|
columnAmountPaid: "Amount paid",
|
|
55
|
+
columnTotalAmount: "Total amount",
|
|
54
56
|
columnStatus: "Status",
|
|
55
57
|
columnAddedOn: "Added on",
|
|
56
58
|
columnActions: "Actions",
|
|
@@ -1,14 +1,39 @@
|
|
|
1
|
+
import { AMOUNT_FILTER_LABELS_EN as e, DATE_RANGE_PICKER_LABELS_EN as t, FILTER_MENU_BUTTON_LABELS_EN as n, FILTER_TAG_LABELS_EN as r } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
1
2
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
var i = {
|
|
4
|
+
fields: {
|
|
5
|
+
vendor: "Vendor",
|
|
6
|
+
issueDate: "Issue date",
|
|
7
|
+
dueDate: "Due date",
|
|
8
|
+
status: "Status",
|
|
9
|
+
totalAmount: "Total amount",
|
|
10
|
+
addedOn: "Added on",
|
|
11
|
+
attachment: "Attachment"
|
|
12
|
+
},
|
|
13
|
+
fieldMenuLabel: "Filter bills by",
|
|
14
|
+
amountMin: "No less than",
|
|
15
|
+
amountMax: "No more than",
|
|
16
|
+
vendorSearchPlaceholder: "Search vendors",
|
|
17
|
+
vendorSearchLabel: "Search vendors",
|
|
18
|
+
vendorEmpty: "No vendors match",
|
|
19
|
+
vendorLoading: "Loading vendors",
|
|
20
|
+
vendorError: "Couldn't load vendors",
|
|
21
|
+
attachmentAny: "Any",
|
|
22
|
+
attachmentHas: "Has attachment",
|
|
23
|
+
attachmentNone: "No attachment",
|
|
24
|
+
attachmentLabel: "Filter by attachment",
|
|
25
|
+
clearAll: "Clear all",
|
|
26
|
+
filterMenuButton: n,
|
|
27
|
+
filterTag: r,
|
|
28
|
+
amountFilter: {
|
|
29
|
+
modeAny: e.modeAny,
|
|
30
|
+
modeExact: e.modeExact,
|
|
31
|
+
modeRange: e.modeRange,
|
|
32
|
+
flowAny: e.flowAny,
|
|
33
|
+
flowIn: e.flowIn,
|
|
34
|
+
flowOut: e.flowOut
|
|
35
|
+
},
|
|
36
|
+
dateRangePicker: { presetPlaceholder: t.presetPlaceholder }
|
|
12
37
|
};
|
|
13
38
|
//#endregion
|
|
14
|
-
export {
|
|
39
|
+
export { i as BILLS_FILTER_BAR_LABELS_EN };
|
|
@@ -1,285 +1,12 @@
|
|
|
1
|
-
import { Alert as e, AlertTitle as t, Button as n, DataTable as r, DataTableSortableHeader as i, Input as a, Tabs as ee, TabsContent as te, TabsList as ne, TabsTrigger as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { EmptyState as s } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
|
|
3
|
-
import { ErrorState as c } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
4
|
-
import "../../../shared/ui/dist/index.js";
|
|
5
|
-
import { AddBillPanel as l } from "./index7.js";
|
|
6
|
-
import "./index8.js";
|
|
7
|
-
import { BillStatusBadge as re } from "./index20.js";
|
|
8
|
-
import "./index21.js";
|
|
9
|
-
import { MissingValue as u } from "./index50.js";
|
|
10
|
-
import "./index51.js";
|
|
11
|
-
import { BILLS_SCREEN_LABELS_EN as d, BILLS_SCREEN_UPLOAD_ACCEPT as f } from "./index52.js";
|
|
12
|
-
import { BillDuplicateBadge as ie } from "./index54.js";
|
|
13
|
-
import "./index55.js";
|
|
14
|
-
import { BillColumn as p } from "./index59.js";
|
|
15
|
-
import { useMemo as m } from "react";
|
|
16
|
-
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
17
|
-
import { ChevronRightIcon as _, CopyX as v, PlusIcon as y, SearchIcon as b } from "lucide-react";
|
|
18
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
p.PaidDate,
|
|
29
|
-
p.Status,
|
|
30
|
-
p.AmountDue,
|
|
31
|
-
p.AmountScheduled,
|
|
32
|
-
p.AmountPaid,
|
|
33
|
-
p.AddedOn
|
|
34
|
-
], x = [
|
|
35
|
-
p.Vendor,
|
|
36
|
-
p.DueDate,
|
|
37
|
-
p.Status,
|
|
38
|
-
p.AmountDue,
|
|
39
|
-
p.AddedOn
|
|
40
|
-
];
|
|
41
|
-
function S({ rows: S, isLoading: C, isError: w, sorting: se, onSortingChange: ce, pageSize: le, onPageSizeChange: ue, pageSizeOptions: T = ae, pageInfo: de, hasNextPage: E, hasPrevPage: D, onNextPage: O, onPrevPage: k, filterTabs: A, selectedFilterTabId: j, onFilterTabChange: M, searchValue: N, onSearchChange: P, visibleColumns: F = x, cellTestIds: I, isSearchActive: L, showAddPanelWhenEmpty: R, emptyState: z, onCreateClick: B, onRetry: V, onFilesSelected: H, maxFiles: U, onEnterManually: W, uploadStatus: G, uploadErrorMessage: K, emailAddress: q, onCopyEmail: J, labels: Y, duplicateWarning: X, onReviewDuplicates: Z }) {
|
|
42
|
-
let Q = m(() => ({
|
|
43
|
-
...d,
|
|
44
|
-
...Y,
|
|
45
|
-
statusBadge: {
|
|
46
|
-
...d.statusBadge,
|
|
47
|
-
...Y?.statusBadge
|
|
48
|
-
},
|
|
49
|
-
addBill: {
|
|
50
|
-
...d.addBill,
|
|
51
|
-
...Y?.addBill,
|
|
52
|
-
dropzone: {
|
|
53
|
-
...d.addBill.dropzone,
|
|
54
|
-
...Y?.addBill?.dropzone
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
sortableHeader: {
|
|
58
|
-
...d.sortableHeader,
|
|
59
|
-
...Y?.sortableHeader
|
|
60
|
-
},
|
|
61
|
-
missingValue: {
|
|
62
|
-
...d.missingValue,
|
|
63
|
-
...Y?.missingValue
|
|
64
|
-
}
|
|
65
|
-
}), [Y]), $ = m(() => {
|
|
66
|
-
let e = (e) => function({ column: t }) {
|
|
67
|
-
return /* @__PURE__ */ h(i, {
|
|
68
|
-
column: t,
|
|
69
|
-
title: e,
|
|
70
|
-
labels: Q.sortableHeader
|
|
71
|
-
});
|
|
72
|
-
}, t = (e, t) => function({ row: n }) {
|
|
73
|
-
return /* @__PURE__ */ h("span", {
|
|
74
|
-
"data-testid": I?.[t],
|
|
75
|
-
children: n.original[e] || /* @__PURE__ */ h(u, { labels: Q.missingValue })
|
|
76
|
-
});
|
|
77
|
-
}, n = (e, t) => function({ row: n }) {
|
|
78
|
-
return /* @__PURE__ */ h("div", {
|
|
79
|
-
className: "ttw:text-right",
|
|
80
|
-
"data-testid": I?.[t],
|
|
81
|
-
children: n.original[e] || /* @__PURE__ */ h(u, { labels: Q.missingValue })
|
|
82
|
-
});
|
|
83
|
-
}, r = (e) => function() {
|
|
84
|
-
return /* @__PURE__ */ h("div", {
|
|
85
|
-
className: "ttw:text-right",
|
|
86
|
-
children: e
|
|
87
|
-
});
|
|
88
|
-
};
|
|
89
|
-
return {
|
|
90
|
-
[p.Vendor]: {
|
|
91
|
-
accessorKey: "vendorLabel",
|
|
92
|
-
enableSorting: !0,
|
|
93
|
-
header: e(Q.columnVendor),
|
|
94
|
-
cell: t("vendorLabel", p.Vendor)
|
|
95
|
-
},
|
|
96
|
-
[p.DueDate]: {
|
|
97
|
-
accessorKey: "dueDateLabel",
|
|
98
|
-
enableSorting: !0,
|
|
99
|
-
header: e(Q.columnDueDate),
|
|
100
|
-
cell: t("dueDateLabel", p.DueDate)
|
|
101
|
-
},
|
|
102
|
-
[p.ScheduledDate]: {
|
|
103
|
-
accessorKey: "scheduledDateLabel",
|
|
104
|
-
enableSorting: !0,
|
|
105
|
-
header: e(Q.columnScheduledDate),
|
|
106
|
-
cell: t("scheduledDateLabel", p.ScheduledDate)
|
|
107
|
-
},
|
|
108
|
-
[p.PaidDate]: {
|
|
109
|
-
accessorKey: "paidDateLabel",
|
|
110
|
-
enableSorting: !1,
|
|
111
|
-
header: Q.columnPaidDate,
|
|
112
|
-
cell: t("paidDateLabel", p.PaidDate)
|
|
113
|
-
},
|
|
114
|
-
[p.Status]: {
|
|
115
|
-
accessorKey: "status",
|
|
116
|
-
enableSorting: !1,
|
|
117
|
-
header: Q.columnStatus,
|
|
118
|
-
cell: ({ row: e }) => /* @__PURE__ */ g("div", {
|
|
119
|
-
className: "ttw:flex ttw:items-center ttw:gap-1",
|
|
120
|
-
"data-testid": I?.[p.Status],
|
|
121
|
-
children: [/* @__PURE__ */ h(re, {
|
|
122
|
-
status: e.original.status,
|
|
123
|
-
tone: e.original.statusTone,
|
|
124
|
-
labels: Q.statusBadge
|
|
125
|
-
}), e.original.duplicateBadge ? /* @__PURE__ */ h(ie, { ...e.original.duplicateBadge }) : null]
|
|
126
|
-
})
|
|
127
|
-
},
|
|
128
|
-
[p.AmountDue]: {
|
|
129
|
-
accessorKey: "amountDueLabel",
|
|
130
|
-
enableSorting: !1,
|
|
131
|
-
header: r(Q.columnAmountDue),
|
|
132
|
-
cell: n("amountDueLabel", p.AmountDue)
|
|
133
|
-
},
|
|
134
|
-
[p.AmountScheduled]: {
|
|
135
|
-
accessorKey: "amountScheduledLabel",
|
|
136
|
-
enableSorting: !1,
|
|
137
|
-
header: r(Q.columnAmountScheduled),
|
|
138
|
-
cell: n("amountScheduledLabel", p.AmountScheduled)
|
|
139
|
-
},
|
|
140
|
-
[p.AmountPaid]: {
|
|
141
|
-
accessorKey: "amountPaidLabel",
|
|
142
|
-
enableSorting: !1,
|
|
143
|
-
header: r(Q.columnAmountPaid),
|
|
144
|
-
cell: n("amountPaidLabel", p.AmountPaid)
|
|
145
|
-
},
|
|
146
|
-
[p.AddedOn]: {
|
|
147
|
-
accessorKey: "addedOnLabel",
|
|
148
|
-
enableSorting: !0,
|
|
149
|
-
header: e(Q.columnAddedOn),
|
|
150
|
-
cell: t("addedOnLabel", p.AddedOn)
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
}, [Q, I]), fe = m(() => [...oe.filter((e) => F.includes(e)).map((e) => $[e]), {
|
|
154
|
-
id: "actions",
|
|
155
|
-
enableSorting: !1,
|
|
156
|
-
header: () => /* @__PURE__ */ h("span", {
|
|
157
|
-
className: "ttw:sr-only",
|
|
158
|
-
children: Q.columnActions
|
|
159
|
-
}),
|
|
160
|
-
cell: ({ row: e }) => /* @__PURE__ */ h("div", {
|
|
161
|
-
className: "ttw:flex ttw:justify-end",
|
|
162
|
-
children: /* @__PURE__ */ h(n, {
|
|
163
|
-
variant: "ghost",
|
|
164
|
-
size: "icon",
|
|
165
|
-
"aria-label": Q.openRow(e.original.vendorLabel || Q.missingValue.missing),
|
|
166
|
-
onClick: (t) => {
|
|
167
|
-
t.stopPropagation(), e.original.onOpen();
|
|
168
|
-
},
|
|
169
|
-
children: /* @__PURE__ */ h(_, { className: "ttw:size-4" })
|
|
170
|
-
})
|
|
171
|
-
})
|
|
172
|
-
}], [
|
|
173
|
-
$,
|
|
174
|
-
Q,
|
|
175
|
-
F
|
|
176
|
-
]), pe = !!(B && H) && !C && !w && !L && S.length === 0 && R === !0, me = /* @__PURE__ */ h("div", {
|
|
177
|
-
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2 ttw:px-4",
|
|
178
|
-
children: /* @__PURE__ */ g("div", {
|
|
179
|
-
className: "ttw:relative ttw:w-80",
|
|
180
|
-
children: [/* @__PURE__ */ h(b, { className: "ttw:pointer-events-none ttw:absolute ttw:left-3 ttw:top-1/2 ttw:size-4 ttw:-translate-y-1/2 ttw:text-muted-foreground" }), /* @__PURE__ */ h(a, {
|
|
181
|
-
className: "ttw:pl-9",
|
|
182
|
-
type: "search",
|
|
183
|
-
"aria-label": Q.searchLabel,
|
|
184
|
-
placeholder: Q.searchPlaceholder,
|
|
185
|
-
value: N,
|
|
186
|
-
onChange: (e) => P(e.target.value)
|
|
187
|
-
})]
|
|
188
|
-
})
|
|
189
|
-
});
|
|
190
|
-
return /* @__PURE__ */ g("div", {
|
|
191
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
192
|
-
children: [X ? /* @__PURE__ */ g(e, {
|
|
193
|
-
className: "ttw:[&>svg]:size-6 ttw:flex ttw:items-center ttw:bg-amber-50 ttw:text-amber-700 ttw:border-amber-300",
|
|
194
|
-
children: [
|
|
195
|
-
/* @__PURE__ */ h(v, {}),
|
|
196
|
-
/* @__PURE__ */ h(t, {
|
|
197
|
-
className: "ttw:flex-1",
|
|
198
|
-
children: X
|
|
199
|
-
}),
|
|
200
|
-
Z ? /* @__PURE__ */ h(n, {
|
|
201
|
-
type: "button",
|
|
202
|
-
variant: "outline",
|
|
203
|
-
className: "ttw:text-foreground",
|
|
204
|
-
onClick: Z,
|
|
205
|
-
children: Q.duplicateBillsReviewButton
|
|
206
|
-
}) : null
|
|
207
|
-
]
|
|
208
|
-
}) : null, /* @__PURE__ */ g(ee, {
|
|
209
|
-
value: j,
|
|
210
|
-
onValueChange: M,
|
|
211
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
212
|
-
children: [/* @__PURE__ */ g("div", {
|
|
213
|
-
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3",
|
|
214
|
-
children: [/* @__PURE__ */ h(ne, {
|
|
215
|
-
"aria-label": Q.filterTabsLabel,
|
|
216
|
-
children: A.map((e) => /* @__PURE__ */ g(o, {
|
|
217
|
-
value: e.id,
|
|
218
|
-
className: "ttw:min-w-28",
|
|
219
|
-
children: [e.icon, e.label]
|
|
220
|
-
}, e.id))
|
|
221
|
-
}), B ? /* @__PURE__ */ g(n, {
|
|
222
|
-
onClick: B,
|
|
223
|
-
children: [/* @__PURE__ */ h(y, { className: "ttw:size-4" }), Q.createButton]
|
|
224
|
-
}) : null]
|
|
225
|
-
}), (() => {
|
|
226
|
-
let e = w ? /* @__PURE__ */ h(c, {
|
|
227
|
-
title: Q.errorTitle,
|
|
228
|
-
description: Q.errorDescription,
|
|
229
|
-
retryLabel: V ? Q.errorRetry : void 0,
|
|
230
|
-
onRetry: V
|
|
231
|
-
}) : pe && B && H ? /* @__PURE__ */ h("div", {
|
|
232
|
-
className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card",
|
|
233
|
-
children: q && J ? /* @__PURE__ */ h(l, {
|
|
234
|
-
emailAddress: q,
|
|
235
|
-
onCopyEmail: J,
|
|
236
|
-
onFilesSelected: H,
|
|
237
|
-
accept: f,
|
|
238
|
-
maxFiles: U,
|
|
239
|
-
uploadStatus: G,
|
|
240
|
-
uploadErrorMessage: K,
|
|
241
|
-
onEnterManually: W ?? B,
|
|
242
|
-
labels: Q.addBill
|
|
243
|
-
}) : /* @__PURE__ */ h(l, {
|
|
244
|
-
onFilesSelected: H,
|
|
245
|
-
accept: f,
|
|
246
|
-
maxFiles: U,
|
|
247
|
-
uploadStatus: G,
|
|
248
|
-
uploadErrorMessage: K,
|
|
249
|
-
onEnterManually: W ?? B,
|
|
250
|
-
labels: Q.addBill
|
|
251
|
-
})
|
|
252
|
-
}) : /* @__PURE__ */ h(r, {
|
|
253
|
-
columns: fe,
|
|
254
|
-
data: S,
|
|
255
|
-
isLoading: C,
|
|
256
|
-
sorting: se,
|
|
257
|
-
onSortingChange: ce,
|
|
258
|
-
pageSize: le,
|
|
259
|
-
onPageSizeChange: ue,
|
|
260
|
-
pageSizeOptions: T,
|
|
261
|
-
pageInfo: de,
|
|
262
|
-
hasNextPage: E,
|
|
263
|
-
hasPrevPage: D,
|
|
264
|
-
onNextPage: O,
|
|
265
|
-
onPrevPage: k,
|
|
266
|
-
onRowClick: (e) => e.onOpen(),
|
|
267
|
-
filterComponent: me,
|
|
268
|
-
children: L ? /* @__PURE__ */ h(s, {
|
|
269
|
-
title: Q.filteredEmptyTitle,
|
|
270
|
-
description: Q.filteredEmptyDescription
|
|
271
|
-
}) : z ? /* @__PURE__ */ h(s, {
|
|
272
|
-
title: z.title,
|
|
273
|
-
description: z.description
|
|
274
|
-
}) : void 0
|
|
275
|
-
});
|
|
276
|
-
return A.map((t) => /* @__PURE__ */ h(te, {
|
|
277
|
-
value: t.id,
|
|
278
|
-
children: t.id === j ? e : null
|
|
279
|
-
}, t.id));
|
|
280
|
-
})()]
|
|
281
|
-
})]
|
|
282
|
-
});
|
|
283
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
Vendor: "vendor",
|
|
4
|
+
IssueDate: "issueDate",
|
|
5
|
+
DueDate: "dueDate",
|
|
6
|
+
Status: "status",
|
|
7
|
+
TotalAmount: "totalAmount",
|
|
8
|
+
AddedOn: "addedOn",
|
|
9
|
+
Attachment: "attachment"
|
|
10
|
+
};
|
|
284
11
|
//#endregion
|
|
285
|
-
export {
|
|
12
|
+
export { e as BillsFilterField };
|
|
@@ -1,10 +1,201 @@
|
|
|
1
|
+
import { AmountFilter as e, DateRangePicker as t, FilterBar as n, FilterMenuButton as r, FilterTag as ee, Input as te, MultiSelectFilter as i, Popover as a, PopoverContent as o, PopoverTrigger as s, RadioGroup as c, RadioGroupItem as l, useFilterPanel as u } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { BILLS_FILTER_BAR_LABELS_EN as d } from "./index59.js";
|
|
3
|
+
import { BillsFilterField as f } from "./index60.js";
|
|
4
|
+
import { useMemo as ne } from "react";
|
|
5
|
+
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
6
|
+
import { ListFilterIcon as h } from "lucide-react";
|
|
1
7
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
8
|
+
var g = {
|
|
9
|
+
date: "ttw:w-auto",
|
|
10
|
+
status: "ttw:w-56",
|
|
11
|
+
amount: "ttw:w-64",
|
|
12
|
+
vendor: "ttw:w-64",
|
|
13
|
+
attachment: "ttw:w-56"
|
|
14
|
+
}, _ = {
|
|
15
|
+
[f.Vendor]: "vendor",
|
|
16
|
+
[f.IssueDate]: "date",
|
|
17
|
+
[f.DueDate]: "date",
|
|
18
|
+
[f.Status]: "status",
|
|
19
|
+
[f.TotalAmount]: "amount",
|
|
20
|
+
[f.AddedOn]: "date",
|
|
21
|
+
[f.Attachment]: "attachment"
|
|
22
|
+
}, v = [
|
|
23
|
+
f.IssueDate,
|
|
24
|
+
f.DueDate,
|
|
25
|
+
f.AddedOn
|
|
26
|
+
];
|
|
27
|
+
function y({ fields: f, activeFilterCount: y, chips: b, onRemoveChip: x, onClearAll: S, dateField: C, onDateFieldChange: w, datePresets: T, selectedDatePreset: E, dateFrom: D, dateTo: O, onDateRangeChange: k, onDatePresetChange: A, statusOptions: j, selectedStatuses: M, onStatusChange: N, amountMode: P, onAmountModeChange: F, amountMin: I, amountMax: L, onAmountMinChange: re, onAmountMaxChange: R, vendorOptions: z, selectedVendors: B, onVendorChange: V, vendorSearchValue: H, onVendorSearchChange: U, isVendorLoading: W, isVendorError: G, hasAttachment: K, onHasAttachmentChange: q, searchSlot: J, testIds: Y, labels: X, className: ie }) {
|
|
28
|
+
let Z = ne(() => ({
|
|
29
|
+
...d,
|
|
30
|
+
...X,
|
|
31
|
+
fields: {
|
|
32
|
+
...d.fields,
|
|
33
|
+
...X?.fields
|
|
34
|
+
},
|
|
35
|
+
filterMenuButton: {
|
|
36
|
+
...d.filterMenuButton,
|
|
37
|
+
...X?.filterMenuButton
|
|
38
|
+
},
|
|
39
|
+
filterTag: {
|
|
40
|
+
...d.filterTag,
|
|
41
|
+
...X?.filterTag
|
|
42
|
+
},
|
|
43
|
+
amountFilter: {
|
|
44
|
+
...d.amountFilter,
|
|
45
|
+
...X?.amountFilter
|
|
46
|
+
},
|
|
47
|
+
dateRangePicker: {
|
|
48
|
+
...d.dateRangePicker,
|
|
49
|
+
...X?.dateRangePicker
|
|
50
|
+
}
|
|
51
|
+
}), [X]), Q = u(), $ = Q.activePanelId, ae = Q.isMenuOpen || !!$, oe = ($ && g[$]) ?? "ttw:w-52", se = (e) => {
|
|
52
|
+
$ && e.preventDefault(), Q.toggleMenu();
|
|
53
|
+
}, ce = (e) => {
|
|
54
|
+
e || (Q.closeMenu(), Q.closePanel());
|
|
55
|
+
}, le = (e) => {
|
|
56
|
+
v.includes(e) && w(e), Q.openPanel(_[e]);
|
|
57
|
+
}, ue = K === void 0 ? "any" : K ? "has" : "none", de = (e) => {
|
|
58
|
+
q(e === "any" ? void 0 : e === "has");
|
|
59
|
+
};
|
|
60
|
+
return /* @__PURE__ */ p(n, {
|
|
61
|
+
className: ie,
|
|
62
|
+
searchSlot: J,
|
|
63
|
+
menuSlot: /* @__PURE__ */ m(a, {
|
|
64
|
+
open: ae,
|
|
65
|
+
onOpenChange: ce,
|
|
66
|
+
children: [/* @__PURE__ */ p(s, {
|
|
67
|
+
asChild: !0,
|
|
68
|
+
children: /* @__PURE__ */ p(r, {
|
|
69
|
+
size: "md",
|
|
70
|
+
activeCount: y,
|
|
71
|
+
onClick: se,
|
|
72
|
+
labels: Z.filterMenuButton,
|
|
73
|
+
"data-testid": Y?.menuButton
|
|
74
|
+
})
|
|
75
|
+
}), /* @__PURE__ */ m(o, {
|
|
76
|
+
align: "start",
|
|
77
|
+
className: `ttw:p-0 ${oe}`,
|
|
78
|
+
children: [
|
|
79
|
+
Q.isMenuOpen ? /* @__PURE__ */ p("div", {
|
|
80
|
+
className: "ttw:p-1",
|
|
81
|
+
role: "menu",
|
|
82
|
+
"aria-label": Z.fieldMenuLabel,
|
|
83
|
+
children: f.map((e) => /* @__PURE__ */ m("button", {
|
|
84
|
+
type: "button",
|
|
85
|
+
role: "menuitem",
|
|
86
|
+
className: "ttw:flex ttw:w-full ttw:cursor-pointer ttw:items-center ttw:gap-2 ttw:rounded-md ttw:px-2 ttw:py-1.5 ttw:text-xs ttw:font-medium ttw:transition-colors ttw:hover:bg-accent",
|
|
87
|
+
onClick: () => le(e),
|
|
88
|
+
children: [/* @__PURE__ */ p(h, {
|
|
89
|
+
className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground",
|
|
90
|
+
"aria-hidden": !0
|
|
91
|
+
}), Z.fields[e]]
|
|
92
|
+
}, e))
|
|
93
|
+
}) : null,
|
|
94
|
+
$ === "date" ? /* @__PURE__ */ p(t, {
|
|
95
|
+
from: D,
|
|
96
|
+
to: O,
|
|
97
|
+
onRangeChange: k,
|
|
98
|
+
selectedPreset: E,
|
|
99
|
+
onPresetChange: A,
|
|
100
|
+
presets: [...T],
|
|
101
|
+
labels: {
|
|
102
|
+
...Z.dateRangePicker,
|
|
103
|
+
fieldLabel: Z.fields[C]
|
|
104
|
+
}
|
|
105
|
+
}) : null,
|
|
106
|
+
$ === "status" ? /* @__PURE__ */ p(i, {
|
|
107
|
+
options: [...j],
|
|
108
|
+
selectedValues: [...M],
|
|
109
|
+
onSelectionChange: N
|
|
110
|
+
}) : null,
|
|
111
|
+
$ === "amount" ? /* @__PURE__ */ p(e, {
|
|
112
|
+
mode: P,
|
|
113
|
+
onModeChange: F,
|
|
114
|
+
min: I,
|
|
115
|
+
max: L,
|
|
116
|
+
onMinChange: re,
|
|
117
|
+
onMaxChange: R,
|
|
118
|
+
showFlowDirection: !1,
|
|
119
|
+
labels: {
|
|
120
|
+
...Z.amountFilter,
|
|
121
|
+
min: Z.amountMin,
|
|
122
|
+
max: Z.amountMax
|
|
123
|
+
}
|
|
124
|
+
}) : null,
|
|
125
|
+
$ === "vendor" ? /* @__PURE__ */ m("div", {
|
|
126
|
+
className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:p-3",
|
|
127
|
+
children: [/* @__PURE__ */ p(te, {
|
|
128
|
+
type: "search",
|
|
129
|
+
className: "ttw:h-8 ttw:text-xs",
|
|
130
|
+
"aria-label": Z.vendorSearchLabel,
|
|
131
|
+
placeholder: Z.vendorSearchPlaceholder,
|
|
132
|
+
value: H,
|
|
133
|
+
onChange: (e) => U(e.target.value)
|
|
134
|
+
}), W ? /* @__PURE__ */ p("p", {
|
|
135
|
+
className: "ttw:px-1 ttw:text-xs ttw:text-muted-foreground",
|
|
136
|
+
children: Z.vendorLoading
|
|
137
|
+
}) : G ? /* @__PURE__ */ p("p", {
|
|
138
|
+
className: "ttw:px-1 ttw:text-xs ttw:text-destructive",
|
|
139
|
+
children: Z.vendorError
|
|
140
|
+
}) : z.length === 0 ? /* @__PURE__ */ p("p", {
|
|
141
|
+
className: "ttw:px-1 ttw:text-xs ttw:text-muted-foreground",
|
|
142
|
+
children: Z.vendorEmpty
|
|
143
|
+
}) : /* @__PURE__ */ p(i, {
|
|
144
|
+
options: [...z],
|
|
145
|
+
selectedValues: [...B],
|
|
146
|
+
onSelectionChange: V
|
|
147
|
+
})]
|
|
148
|
+
}) : null,
|
|
149
|
+
$ === "attachment" ? /* @__PURE__ */ p("div", {
|
|
150
|
+
className: "ttw:p-3",
|
|
151
|
+
children: /* @__PURE__ */ p(c, {
|
|
152
|
+
value: ue,
|
|
153
|
+
onValueChange: de,
|
|
154
|
+
"aria-label": Z.attachmentLabel,
|
|
155
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
156
|
+
children: [
|
|
157
|
+
{
|
|
158
|
+
value: "any",
|
|
159
|
+
label: Z.attachmentAny
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
value: "has",
|
|
163
|
+
label: Z.attachmentHas
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
value: "none",
|
|
167
|
+
label: Z.attachmentNone
|
|
168
|
+
}
|
|
169
|
+
].map(({ value: e, label: t }) => /* @__PURE__ */ m("label", {
|
|
170
|
+
className: "ttw:flex ttw:cursor-pointer ttw:items-center ttw:gap-2",
|
|
171
|
+
children: [/* @__PURE__ */ p(l, { value: e }), /* @__PURE__ */ p("span", {
|
|
172
|
+
className: "ttw:text-xs ttw:font-medium",
|
|
173
|
+
children: t
|
|
174
|
+
})]
|
|
175
|
+
}, e))
|
|
176
|
+
})
|
|
177
|
+
}) : null
|
|
178
|
+
]
|
|
179
|
+
})]
|
|
180
|
+
}),
|
|
181
|
+
activeChipsSlot: /* @__PURE__ */ m("span", {
|
|
182
|
+
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2",
|
|
183
|
+
"data-testid": Y?.chips,
|
|
184
|
+
children: [b.map((e) => /* @__PURE__ */ p(ee, {
|
|
185
|
+
label: e.label,
|
|
186
|
+
labels: Z.filterTag,
|
|
187
|
+
onDismiss: () => x(e.key)
|
|
188
|
+
}, e.key)), b.length > 0 ? /* @__PURE__ */ p("button", {
|
|
189
|
+
type: "button",
|
|
190
|
+
className: "ttw:cursor-pointer ttw:whitespace-nowrap ttw:text-xs ttw:text-muted-foreground ttw:transition-colors ttw:hover:text-foreground",
|
|
191
|
+
onClick: S,
|
|
192
|
+
children: Z.clearAll
|
|
193
|
+
}) : null]
|
|
194
|
+
})
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
function b(e) {
|
|
198
|
+
return /* @__PURE__ */ p(y, { ...e }, e.fields.join("|"));
|
|
199
|
+
}
|
|
9
200
|
//#endregion
|
|
10
|
-
export {
|
|
201
|
+
export { b as BillsFilterBar, b as default };
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
ready: "ttw:text-emerald-600",
|
|
5
|
-
failed: "ttw:text-destructive"
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { e as UPLOAD_ITEM_ICON_TONE };
|
|
1
|
+
import "./index59.js";
|
|
2
|
+
import "./index60.js";
|
|
3
|
+
import "./index61.js";
|