@tesouro/embedded-components-react 0.5.138 → 0.5.139
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 +0 -6
- package/dist/lib/monite-sdk.js +50 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +1 -1
- 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 +51 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +575 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +1 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +157 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +1 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +24 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +10 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +10 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +16 -597
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +126 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +11 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +5 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +62 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +120 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +21 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +6 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +7 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +72 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +26 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +61 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +19 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +20 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +183 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +59 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +31 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +11 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +43 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +5 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +9 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +20 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +12 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +13 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +15 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +37 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +14 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +5 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +62 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +196 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +41 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +5 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +3 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +407 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +18 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +95 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +17 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +180 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +98 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +49 -419
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +18 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +158 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +7 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +55 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +51 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +80 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +21 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +307 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +1 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +158 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +34 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +3 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +181 -340
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +134 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +209 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +14 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +229 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +34 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +135 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +163 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +26 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +8 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +36 -207
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +154 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +67 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +217 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +42 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +83 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +184 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +169 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +15 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +19 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +383 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +88 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +198 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +30 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +84 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +136 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +35 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +58 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +54 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +135 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +552 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +145 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +142 -382
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +36 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +59 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +67 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +147 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +57 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +82 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +14 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +16 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +21 -552
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +89 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +41 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +27 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +16 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +12 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +5 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +13 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +102 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +35 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +43 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +71 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +99 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +186 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +139 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +130 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +77 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +245 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +6 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +398 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +22 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +18 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +44 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +45 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +14 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +39 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +140 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +112 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +39 -246
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +33 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +24 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +22 -399
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +71 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +179 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +138 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +28 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +93 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +44 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +15 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +36 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +76 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +33 -177
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +82 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +50 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +1 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +1 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +133 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +109 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +49 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +787 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +88 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +101 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +23 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +11 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +23 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +165 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +208 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +87 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +17 -789
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +154 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +98 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +46 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +47 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +63 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +164 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +175 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +1 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +34 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +72 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +18 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +9 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +13 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +219 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +179 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +203 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +98 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +66 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +51 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +91 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +40 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +69 -174
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +80 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +12 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +21 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +16 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +4 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +22 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +64 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +36 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +31 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +2 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +93 -28
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index10.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index2.js +13 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index3.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index4.js +31 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index5.js +22 -13
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index6.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index7.js +19 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index8.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index9.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index10.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index11.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index4.js +16 -58
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index5.js +95 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index7.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index8.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index9.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index2.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/{shared/tag-selection/ui/dist/index3.js → settings-widget/tags/ui/dist/index5.js} +2 -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/packages/shared-ui-shadcn/dist/index.js +539 -533
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +0 -97
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index2.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index3.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index4.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index5.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index6.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/data-access/dist/index7.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/index.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/TagSelectorField.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/helpers.js +0 -38
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/labels.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/permissions.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/feature/dist/lib/useTagCreateForm.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/ui/dist/index.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/ui/dist/index2.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/shared/tag-selection/ui/dist/index4.js +0 -4
|
@@ -1,162 +1,242 @@
|
|
|
1
1
|
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
2
2
|
import "../../shared/data-access/dist/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { dateStringToLocalDate as t } from "./index16.js";
|
|
4
|
+
import { useMoniteContext as n } from "./index46.js";
|
|
5
|
+
import { useCurrencies as r } from "./index62.js";
|
|
6
|
+
import { usePayablePaymentIntentsAndRecords as i } from "./index140.js";
|
|
7
|
+
import { MoniteScopedProviders as a } from "./index241.js";
|
|
8
|
+
import { useUserPermissions as o } from "./index118.js";
|
|
9
|
+
import { PayableStatusChip as s } from "./index230.js";
|
|
10
|
+
import { CounterpartNameCellById as ee } from "./index247.js";
|
|
11
|
+
import { GetNoRowsOverlay as c } from "./index250.js";
|
|
12
|
+
import { AccessRestriction as l } from "./index251.js";
|
|
10
13
|
import "./index253.js";
|
|
11
|
-
import {
|
|
12
|
-
import "./
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import "./
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import "./
|
|
20
|
-
import {
|
|
21
|
-
import "./index413.js";
|
|
22
|
-
import { PayableDetailsInfo as ie } from "./index422.js";
|
|
23
|
-
import "./index423.js";
|
|
24
|
-
import { PayableDetailsNoAttachedFile as ae } from "./index424.js";
|
|
25
|
-
import "./index425.js";
|
|
26
|
-
import { FileViewer as oe } from "./index426.js";
|
|
27
|
-
import "./index427.js";
|
|
14
|
+
import { DataTable as u, SortableHeader as d } from "./index255.js";
|
|
15
|
+
import { hasSelectedText as te } from "./index256.js";
|
|
16
|
+
import "./index333.js";
|
|
17
|
+
import { isPayableInOCRProcessing as f } from "./index391.js";
|
|
18
|
+
import "./index395.js";
|
|
19
|
+
import { SummaryCardsFilters as p } from "./index421.js";
|
|
20
|
+
import { PayablesFilterBar as m } from "./index422.js";
|
|
21
|
+
import { usePayablesFilter as h } from "./index424.js";
|
|
22
|
+
import { DEFAULT_SORTING as g, SORT_FIELD_BY_COLUMN_ID as _ } from "./index425.js";
|
|
23
|
+
import { DueDateCell as v } from "./index427.js";
|
|
28
24
|
import "./index428.js";
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import { useLingui as
|
|
25
|
+
import { useEffect as y, useMemo as b, useState as x } from "react";
|
|
26
|
+
import { Loader2 as S } from "lucide-react";
|
|
27
|
+
import { Fragment as C, jsx as w, jsxs as T } from "@emotion/react/jsx-runtime";
|
|
28
|
+
import { useLingui as ne } from "@lingui/react";
|
|
33
29
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js
|
|
34
|
-
var
|
|
35
|
-
let {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}),
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
30
|
+
var E = (e) => /* @__PURE__ */ w(a, { children: /* @__PURE__ */ w(D, { ...e }) }), D = ({ initialCounterpartId: a, onRowClick: E, onPay: D, openFileInput: O, setIsCreateInvoiceDialogOpen: k, openEditDialog: A, onSubmitted: j, onApproved: M, onCanceled: N }) => {
|
|
31
|
+
let { i18n: P } = ne(), { api: F, locale: I, queryClient: L, componentSettings: R } = n(), [z, B] = x(null), [V, H] = x(R.payables.pageSizeOptions?.[0] ?? 10), [U, W] = x(g), G = h({ initialCounterpartId: a }), [K, q] = x("");
|
|
32
|
+
y(() => {
|
|
33
|
+
let e = setTimeout(() => q(G.state.search), 300);
|
|
34
|
+
return () => clearTimeout(e);
|
|
35
|
+
}, [G.state.search]);
|
|
36
|
+
let { formatCurrencyToDisplay: J } = r(), Y = o().has(e.PayableReadOrg), X = U[0], Z = F.finops.getPayables.getQueryKey({ query: {
|
|
37
|
+
sort: X ? _[X.id] : void 0,
|
|
38
|
+
order: X?.desc ? "desc" : "asc",
|
|
39
|
+
limit: V,
|
|
40
|
+
pagination_token: z || void 0,
|
|
41
|
+
...G.queryParams,
|
|
42
|
+
search_text: K || G.queryParams.search_text || void 0
|
|
43
|
+
} }), { data: Q, isLoading: re, isError: ie, refetch: $ } = F.finops.getPayables.useQuery(Z, {
|
|
44
|
+
enabled: !!Y,
|
|
45
|
+
refetchInterval: F.finops.getPayables.getQueryData(Z, L)?.data.filter(f).length ? 2e3 : 3e4
|
|
46
|
+
}), ae = b(() => Q?.data?.filter((e) => e.status === "waiting_to_be_paid" || e.status === "partially_paid").map((e) => e.id), [Q?.data]), { payablesPaymentIntentsRecord: oe, refetch: se } = i(ae || []), ce = (e) => {
|
|
47
|
+
let t = typeof e == "function" ? e(U) : e;
|
|
48
|
+
W(t[0] && _[t[0].id] ? t : g), B(null);
|
|
49
|
+
}, le = b(() => [
|
|
50
|
+
{
|
|
51
|
+
accessorKey: "due_date",
|
|
52
|
+
header: ({ column: e }) => /* @__PURE__ */ w(d, {
|
|
53
|
+
column: e,
|
|
54
|
+
title: P._("Due date"),
|
|
55
|
+
ariaLabel: P._("Sort by due date")
|
|
56
|
+
}),
|
|
57
|
+
cell: ({ row: e }) => /* @__PURE__ */ w(v, { data: e.original })
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
accessorKey: "status",
|
|
61
|
+
header: ({ column: e }) => /* @__PURE__ */ w(d, {
|
|
62
|
+
column: e,
|
|
63
|
+
title: P._("Status"),
|
|
64
|
+
ariaLabel: P._("Sort by status")
|
|
65
|
+
}),
|
|
66
|
+
cell: ({ row: e }) => /* @__PURE__ */ w(s, {
|
|
67
|
+
status: e.original.status,
|
|
68
|
+
dueDate: e.original.due_date
|
|
69
|
+
})
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
accessorKey: "document_id",
|
|
73
|
+
header: ({ column: e }) => /* @__PURE__ */ w(d, {
|
|
74
|
+
column: e,
|
|
75
|
+
title: P._("Number"),
|
|
76
|
+
ariaLabel: P._("Sort by number")
|
|
77
|
+
}),
|
|
78
|
+
cell: ({ row: e }) => {
|
|
79
|
+
let t = e.original;
|
|
80
|
+
return f(t) ? /* @__PURE__ */ T("div", {
|
|
81
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
82
|
+
children: [/* @__PURE__ */ w(S, { className: "ttw:animate-spin ttw:size-5 ttw:shrink-0" }), /* @__PURE__ */ w("span", { children: t.document_id ? t.document_id : /* @__PURE__ */ T(C, { children: [
|
|
83
|
+
P._("Processing file"),
|
|
84
|
+
" '",
|
|
85
|
+
t.file?.name,
|
|
86
|
+
"'"
|
|
87
|
+
] }) })]
|
|
88
|
+
}) : /* @__PURE__ */ w("span", { children: t.document_id });
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
accessorKey: "counterpart_id",
|
|
93
|
+
header: P._("Vendor"),
|
|
94
|
+
cell: ({ row: e }) => {
|
|
95
|
+
let t = e.original;
|
|
96
|
+
return t.counterpart?.name ? /* @__PURE__ */ w("span", { children: t.counterpart.name }) : t.counterpart_id ? /* @__PURE__ */ w(ee, { counterpartId: t.counterpart_id }) : t.counterpart_raw_data?.name ? /* @__PURE__ */ w("span", { children: t.counterpart_raw_data.name }) : /* @__PURE__ */ w("span", {
|
|
97
|
+
style: { opacity: .4 },
|
|
98
|
+
children: "-"
|
|
99
|
+
});
|
|
100
|
+
}
|
|
64
101
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
102
|
+
{
|
|
103
|
+
accessorKey: "issued_at",
|
|
104
|
+
header: ({ column: e }) => /* @__PURE__ */ w(d, {
|
|
105
|
+
column: e,
|
|
106
|
+
title: P._("Issued on"),
|
|
107
|
+
ariaLabel: P._("Sort by issue date")
|
|
70
108
|
}),
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
payableDetailsFormId: $,
|
|
86
|
-
onClose: T,
|
|
87
|
-
modalComponent: xe,
|
|
88
|
-
showPayButton: B
|
|
89
|
-
}, String(R)),
|
|
90
|
-
/* @__PURE__ */ d(u, {
|
|
91
|
-
open: W === "approve",
|
|
92
|
-
type: "approve",
|
|
93
|
-
onClose: K,
|
|
94
|
-
onConfirm: Se
|
|
109
|
+
cell: ({ row: e }) => {
|
|
110
|
+
let n = e.original.issued_at;
|
|
111
|
+
return n ? P.date(t(n), I.dateFormat) : "—";
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
accessorKey: "amount",
|
|
116
|
+
header: ({ column: e }) => /* @__PURE__ */ w("div", {
|
|
117
|
+
className: "ttw:flex ttw:justify-end",
|
|
118
|
+
children: /* @__PURE__ */ w(d, {
|
|
119
|
+
column: e,
|
|
120
|
+
title: P._("Total"),
|
|
121
|
+
ariaLabel: P._("Sort by total")
|
|
122
|
+
})
|
|
95
123
|
}),
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
124
|
+
cell: ({ row: e }) => {
|
|
125
|
+
let t = e.original.total_amount;
|
|
126
|
+
return /* @__PURE__ */ w("div", {
|
|
127
|
+
className: "ttw:text-right",
|
|
128
|
+
children: t ? J(t, e.original.currency ?? "USD") : ""
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
], [
|
|
133
|
+
P,
|
|
134
|
+
I.dateFormat,
|
|
135
|
+
J,
|
|
136
|
+
oe,
|
|
137
|
+
se,
|
|
138
|
+
D,
|
|
139
|
+
j,
|
|
140
|
+
M,
|
|
141
|
+
N,
|
|
142
|
+
$,
|
|
143
|
+
A
|
|
144
|
+
]);
|
|
145
|
+
if (y(() => {
|
|
146
|
+
B(null);
|
|
147
|
+
}, [G.queryParams]), !Y) return /* @__PURE__ */ w(l, {});
|
|
148
|
+
let ue = G.activeFilterCount > 0, de = !!K;
|
|
149
|
+
return /* @__PURE__ */ T("div", {
|
|
150
|
+
className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125",
|
|
151
|
+
children: [/* @__PURE__ */ w(p, {
|
|
152
|
+
selectedStatus: G.state.status.length === 0 ? "all" : G.state.status[0],
|
|
153
|
+
onChangeFilter: (e, t) => G.setState((e) => ({
|
|
154
|
+
...e,
|
|
155
|
+
status: t ? [t] : []
|
|
156
|
+
}))
|
|
157
|
+
}), /* @__PURE__ */ w(u, {
|
|
158
|
+
columns: le,
|
|
159
|
+
data: Q?.data ?? [],
|
|
160
|
+
sorting: U,
|
|
161
|
+
onSortingChange: ce,
|
|
162
|
+
pageSize: V,
|
|
163
|
+
onPageSizeChange: (e) => {
|
|
164
|
+
H(e), B(null);
|
|
165
|
+
},
|
|
166
|
+
nextPaginationToken: Q?.next_pagination_token ?? void 0,
|
|
167
|
+
prevPaginationToken: Q?.prev_pagination_token ?? void 0,
|
|
168
|
+
onPaginationTokenChange: (e) => B(e ?? null),
|
|
169
|
+
onRowClick: (e) => {
|
|
170
|
+
!te() && e.ocr_status !== "processing" && E?.(e.id);
|
|
171
|
+
},
|
|
172
|
+
filterComponent: /* @__PURE__ */ w(m, {
|
|
173
|
+
searchValue: G.state.search,
|
|
174
|
+
onSearchChange: (e) => G.setState((t) => ({
|
|
175
|
+
...t,
|
|
176
|
+
search: e
|
|
177
|
+
})),
|
|
178
|
+
activeFilterCount: G.activeFilterCount,
|
|
179
|
+
activeChips: G.activeChips,
|
|
180
|
+
onDismissChip: G.clearFilter,
|
|
181
|
+
onClearAll: G.clearAll,
|
|
182
|
+
activeDateField: G.state.activeDateField,
|
|
183
|
+
onActiveDateFieldChange: G.setActiveDateField,
|
|
184
|
+
allPresets: G.datePresets,
|
|
185
|
+
selectedDatePreset: G.state.datePreset,
|
|
186
|
+
dateFrom: G.state.dateFrom,
|
|
187
|
+
dateTo: G.state.dateTo,
|
|
188
|
+
onDateRangeChange: ({ from: e, to: t }) => G.setDateRange(e, t),
|
|
189
|
+
onDatePresetChange: G.setDatePreset,
|
|
190
|
+
statusOptions: G.statusOptions,
|
|
191
|
+
selectedStatus: G.state.status,
|
|
192
|
+
onStatusChange: (e) => G.setState((t) => ({
|
|
193
|
+
...t,
|
|
194
|
+
status: e
|
|
195
|
+
})),
|
|
196
|
+
amountMode: G.state.amountMode,
|
|
197
|
+
onAmountModeChange: (e) => G.setState((t) => ({
|
|
198
|
+
...t,
|
|
199
|
+
amountMode: e
|
|
200
|
+
})),
|
|
201
|
+
amountMin: G.state.amountMin,
|
|
202
|
+
amountMax: G.state.amountMax,
|
|
203
|
+
onAmountMinChange: (e) => G.setState((t) => ({
|
|
204
|
+
...t,
|
|
205
|
+
amountMin: e
|
|
206
|
+
})),
|
|
207
|
+
onAmountMaxChange: (e) => G.setState((t) => ({
|
|
208
|
+
...t,
|
|
209
|
+
amountMax: e
|
|
210
|
+
})),
|
|
211
|
+
vendorName: G.state.vendorName,
|
|
212
|
+
onVendorNameChange: (e) => G.setState((t) => ({
|
|
213
|
+
...t,
|
|
214
|
+
vendorName: e
|
|
215
|
+
})),
|
|
216
|
+
hasFile: G.state.hasFile,
|
|
217
|
+
onHasFileChange: (e) => G.setState((t) => ({
|
|
218
|
+
...t,
|
|
219
|
+
hasFile: e
|
|
220
|
+
}))
|
|
101
221
|
}),
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
222
|
+
children: /* @__PURE__ */ w(c, {
|
|
223
|
+
noDataTitle: P._("No bills yet"),
|
|
224
|
+
noDataDescription1: P._("You don't have any bills yet"),
|
|
225
|
+
filterTitle: P._("No bills found"),
|
|
226
|
+
isLoading: re,
|
|
227
|
+
isFiltering: ue,
|
|
228
|
+
isSearching: de,
|
|
229
|
+
isError: ie,
|
|
230
|
+
dataLength: Q?.data.length || 0,
|
|
231
|
+
onCreate: (e) => {
|
|
232
|
+
e === "New Invoice" ? k?.(!0) : e === "Upload File" && O?.();
|
|
106
233
|
},
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
height: "100%",
|
|
111
|
-
children: [/* @__PURE__ */ f(_, {
|
|
112
|
-
item: !0,
|
|
113
|
-
container: !0,
|
|
114
|
-
xs: 6,
|
|
115
|
-
height: "100%",
|
|
116
|
-
children: [
|
|
117
|
-
P?.file && /* @__PURE__ */ d(oe, {
|
|
118
|
-
name: P.file.name,
|
|
119
|
-
mimetype: P.file.mimetype,
|
|
120
|
-
url: P.file.url
|
|
121
|
-
}),
|
|
122
|
-
Q && P?.id && !P?.file && /* @__PURE__ */ d(ne, { payableId: P.id }),
|
|
123
|
-
!Q && P?.id && !P?.file && /* @__PURE__ */ d(ae, {})
|
|
124
|
-
]
|
|
125
|
-
}), /* @__PURE__ */ f(_, {
|
|
126
|
-
item: !0,
|
|
127
|
-
container: !0,
|
|
128
|
-
xs: 6,
|
|
129
|
-
flexDirection: "column",
|
|
130
|
-
height: "100%",
|
|
131
|
-
overflow: "auto",
|
|
132
|
-
children: [P && (P.status === "new" || P.status === "draft") && (P.ocr_status === "error" || P.ocr_status === "canceled") && /* @__PURE__ */ d(h, {
|
|
133
|
-
mb: 2,
|
|
134
|
-
children: /* @__PURE__ */ d(p, {
|
|
135
|
-
severity: "error",
|
|
136
|
-
children: J._("Due to an error, the OCR failed to read the data from the document. Please input the data manually.")
|
|
137
|
-
})
|
|
138
|
-
}), R ? /* @__PURE__ */ d(ee, {
|
|
139
|
-
savePayable: U,
|
|
140
|
-
createPayable: H,
|
|
141
|
-
payable: P,
|
|
142
|
-
initialCounterpartId: w,
|
|
143
|
-
optionalFields: y,
|
|
144
|
-
lineItems: L,
|
|
145
|
-
payableDetailsFormId: $,
|
|
146
|
-
enableGLCodes: b,
|
|
147
|
-
hideAddDiscountButton: x ?? Y?.payables?.hideAddDiscountButton,
|
|
148
|
-
hideAddBankAccountButton: S ?? Y?.payables?.hideAddBankAccountButton
|
|
149
|
-
}) : P && /* @__PURE__ */ d(ie, {
|
|
150
|
-
updateTags: (e) => i && be(i, e || []),
|
|
151
|
-
payable: P,
|
|
152
|
-
optionalFields: y,
|
|
153
|
-
enableGLCodes: b
|
|
154
|
-
})]
|
|
155
|
-
})]
|
|
156
|
-
})
|
|
234
|
+
refetch: $,
|
|
235
|
+
entityName: P._("Payable"),
|
|
236
|
+
type: "no-data=payables"
|
|
157
237
|
})
|
|
158
|
-
]
|
|
159
|
-
})
|
|
238
|
+
})]
|
|
239
|
+
});
|
|
160
240
|
};
|
|
161
241
|
//#endregion
|
|
162
|
-
export {
|
|
242
|
+
export { E as PayablesTable };
|
|
@@ -1,37 +1,36 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cn as e } from "./index48.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import * as n from "@radix-ui/react-popover";
|
|
2
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
e
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
i
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
handleMouseMove: m,
|
|
33
|
-
isDragging: a
|
|
34
|
-
};
|
|
35
|
-
};
|
|
6
|
+
function r({ ...e }) {
|
|
7
|
+
return /* @__PURE__ */ t(n.Root, {
|
|
8
|
+
"data-slot": "popover",
|
|
9
|
+
...e
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function i({ ref: e, ...r }) {
|
|
13
|
+
return /* @__PURE__ */ t(n.Trigger, {
|
|
14
|
+
"data-slot": "popover-trigger",
|
|
15
|
+
ref: e,
|
|
16
|
+
...r
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
i.displayName = n.Trigger.displayName;
|
|
20
|
+
function a({ className: r, align: i = "center", sideOffset: a = 4, ...o }) {
|
|
21
|
+
return /* @__PURE__ */ t(n.Portal, { children: /* @__PURE__ */ t(n.Content, {
|
|
22
|
+
"data-slot": "popover-content",
|
|
23
|
+
align: i,
|
|
24
|
+
sideOffset: a,
|
|
25
|
+
className: e("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:w-72 ttw:origin-(--radix-popover-content-transform-origin) ttw:rounded-md ttw:border ttw:p-4 ttw:shadow-md ttw:outline-hidden", r),
|
|
26
|
+
...o
|
|
27
|
+
}) });
|
|
28
|
+
}
|
|
29
|
+
function o({ ...e }) {
|
|
30
|
+
return /* @__PURE__ */ t(n.Anchor, {
|
|
31
|
+
"data-slot": "popover-anchor",
|
|
32
|
+
...e
|
|
33
|
+
});
|
|
34
|
+
}
|
|
36
35
|
//#endregion
|
|
37
|
-
export { i as
|
|
36
|
+
export { r as Popover, o as PopoverAnchor, a as PopoverContent, i as PopoverTrigger };
|
|
@@ -1,36 +1,142 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { cn as e } from "./index48.js";
|
|
2
|
+
import { Button as t } from "./index55.js";
|
|
3
|
+
import { useFileInput as n } from "./index214.js";
|
|
4
|
+
import "./index222.js";
|
|
5
|
+
import { Popover as r, PopoverContent as i, PopoverTrigger as a } from "./index431.js";
|
|
6
|
+
import { useState as o } from "react";
|
|
7
|
+
import { ChevronDownIcon as s, ChevronUpIcon as c, CloudUpload as l, Copy as u, Plus as d } from "lucide-react";
|
|
8
|
+
import { jsx as f, jsxs as p } from "@emotion/react/jsx-runtime";
|
|
9
|
+
import { toast as m } from "react-hot-toast";
|
|
10
|
+
import { useLingui as h } from "@lingui/react";
|
|
4
11
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js
|
|
5
|
-
var
|
|
6
|
-
let { i18n:
|
|
7
|
-
return /* @__PURE__ */
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
})
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
var g = ({ isCreateAllowed: g, onCreateInvoice: _, handleFileUpload: v }) => {
|
|
13
|
+
let { i18n: y } = h(), [b, x] = o(!1), { FileInput: S, openFileInput: C, checkFileError: w } = n(), [T, E] = o(!1);
|
|
14
|
+
return /* @__PURE__ */ f("div", {
|
|
15
|
+
className: "Monite-Payables",
|
|
16
|
+
children: /* @__PURE__ */ p(r, {
|
|
17
|
+
open: b,
|
|
18
|
+
onOpenChange: x,
|
|
19
|
+
children: [/* @__PURE__ */ f(a, {
|
|
20
|
+
asChild: !0,
|
|
21
|
+
children: /* @__PURE__ */ p(t, {
|
|
22
|
+
size: "lg",
|
|
23
|
+
disabled: !g,
|
|
24
|
+
children: [y._("Add new bill"), f(b ? c : s, {})]
|
|
25
|
+
})
|
|
26
|
+
}), /* @__PURE__ */ p(i, {
|
|
27
|
+
align: "end",
|
|
28
|
+
className: "ttw:w-auto ttw:min-w-110 ttw:border-none ttw:p-6",
|
|
29
|
+
children: [/* @__PURE__ */ p("div", {
|
|
30
|
+
className: "ttw:w-110 ttw:flex ttw:flex-col ttw:gap-4",
|
|
31
|
+
onClick: (e) => {
|
|
32
|
+
e.preventDefault(), e.stopPropagation();
|
|
33
|
+
},
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("h3", {
|
|
36
|
+
className: "ttw:text-xl ttw:font-semibold ttw:text-zinc-950",
|
|
37
|
+
children: y._("Upload bills")
|
|
38
|
+
}), /* @__PURE__ */ f("p", {
|
|
39
|
+
className: "ttw:text-sm ttw:font-normal ttw:text-zinc-500",
|
|
40
|
+
children: y._("Upload your bills and we'll automatically pull the details so you can review and approve.")
|
|
41
|
+
})] }),
|
|
42
|
+
/* @__PURE__ */ f("div", {
|
|
43
|
+
className: e("ttw:box-border ttw:cursor-pointer ttw:w-full ttw:h-36.5 ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:border ttw:rounded-lg ttw:border-dashed ttw:border-zinc-200 ttw:bg-zinc-50", T && "ttw:bg-transparent"),
|
|
44
|
+
onDragOver: (e) => {
|
|
45
|
+
e.preventDefault(), E(!0);
|
|
46
|
+
},
|
|
47
|
+
onDragLeave: (e) => {
|
|
48
|
+
e.preventDefault(), E(!1);
|
|
49
|
+
},
|
|
50
|
+
onDrop: (e) => {
|
|
51
|
+
e.preventDefault(), E(!1);
|
|
52
|
+
let t = Array.from(e.dataTransfer.files);
|
|
53
|
+
if (t.length > 10) {
|
|
54
|
+
m.error(y._("You can only upload up to {fileCount} files at a time", { fileCount: 10 })), x(!1);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
t.forEach((e) => {
|
|
58
|
+
let t = w(e);
|
|
59
|
+
if (t) {
|
|
60
|
+
m.error(t);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
v(e);
|
|
64
|
+
}), x(!1);
|
|
65
|
+
},
|
|
66
|
+
onClick: C,
|
|
67
|
+
children: /* @__PURE__ */ p("div", {
|
|
68
|
+
className: "ttw:mx-auto ttw:flex ttw:flex-col ttw:items-center ttw:gap-2",
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ f("div", {
|
|
71
|
+
className: "ttw:w-11 ttw:h-11 ttw:rounded-full ttw:bg-primary ttw:flex ttw:items-center ttw:justify-center",
|
|
72
|
+
children: /* @__PURE__ */ f(l, { className: "ttw:text-white ttw:size-5" })
|
|
73
|
+
}),
|
|
74
|
+
/* @__PURE__ */ p("p", {
|
|
75
|
+
className: "ttw:text-sm ttw:font-medium ttw:text-zinc-950",
|
|
76
|
+
children: [
|
|
77
|
+
y._("Drop your files here, or"),
|
|
78
|
+
" ",
|
|
79
|
+
/* @__PURE__ */ f("span", {
|
|
80
|
+
className: "ttw:text-primary ttw:underline",
|
|
81
|
+
children: y._("click to browse")
|
|
82
|
+
})
|
|
83
|
+
]
|
|
84
|
+
}),
|
|
85
|
+
/* @__PURE__ */ f("p", {
|
|
86
|
+
className: "ttw:text-xs ttw:font-normal ttw:text-zinc-500",
|
|
87
|
+
children: y._("PDF, PNG or JPG (max. 20MB)")
|
|
88
|
+
})
|
|
89
|
+
]
|
|
90
|
+
})
|
|
91
|
+
}),
|
|
92
|
+
/* @__PURE__ */ p("div", {
|
|
93
|
+
className: "ttw:flex ttw:flex-col",
|
|
94
|
+
children: [/* @__PURE__ */ f("h3", {
|
|
95
|
+
className: "ttw:text-primary ttw:text-sm ttw:font-semibold",
|
|
96
|
+
children: y._("Send via email")
|
|
97
|
+
}), /* @__PURE__ */ f("p", {
|
|
98
|
+
className: "ttw:text-zinc-500 ttw:font-normal ttw:text-sm",
|
|
99
|
+
children: y._("Email your bills here and they'll appear in your bill pay inbox, ready to review and pay.")
|
|
100
|
+
})]
|
|
101
|
+
}),
|
|
102
|
+
/* @__PURE__ */ p("div", {
|
|
103
|
+
className: "ttw:px-3 ttw:h-14 ttw:border ttw:border-zinc-200 ttw:rounded-lg ttw:flex ttw:items-center ttw:justify-between ttw:gap-6",
|
|
104
|
+
children: [/* @__PURE__ */ f("span", { children: y._("bills@business-banking.com") }), /* @__PURE__ */ p(t, {
|
|
105
|
+
type: "button",
|
|
106
|
+
variant: "ghost",
|
|
107
|
+
size: "sm",
|
|
108
|
+
className: "ttw:text-primary ttw:hover:bg-primary-foreground ttw:hover:text-primary",
|
|
109
|
+
onClick: () => {
|
|
110
|
+
navigator.clipboard.writeText("bills@business-banking.com"), m.success(y._("Email address copied to clipboard"));
|
|
111
|
+
},
|
|
112
|
+
children: [/* @__PURE__ */ f(u, {}), y._("Copy")]
|
|
113
|
+
})]
|
|
114
|
+
}),
|
|
115
|
+
/* @__PURE__ */ p("div", {
|
|
116
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
117
|
+
children: [/* @__PURE__ */ f("h3", {
|
|
118
|
+
className: "ttw:text-sm ttw:font-semibold ttw:text-primary",
|
|
119
|
+
children: y._("Or add bill manually")
|
|
120
|
+
}), /* @__PURE__ */ p(t, {
|
|
121
|
+
onClick: () => {
|
|
122
|
+
x(!1), _();
|
|
123
|
+
},
|
|
124
|
+
className: "ttw:w-fit ttw:bg-primary-foreground ttw:hover:bg-primary-foreground ttw:text-primary",
|
|
125
|
+
children: [/* @__PURE__ */ f(d, {}), y._("Add new bill")]
|
|
126
|
+
})]
|
|
127
|
+
})
|
|
128
|
+
]
|
|
129
|
+
}), /* @__PURE__ */ f(S, {
|
|
130
|
+
"aria-label": y._("Upload payable files"),
|
|
131
|
+
multiple: !0,
|
|
132
|
+
onChange: (e) => {
|
|
133
|
+
let t = e.target.files;
|
|
134
|
+
t && v(t), x(!1);
|
|
135
|
+
}
|
|
27
136
|
})]
|
|
28
|
-
}), /* @__PURE__ */ e("span", {
|
|
29
|
-
className: "ttw:text-2xl ttw:font-medium ttw:text-zinc-950 ttw:leading-8 ttw:tabular-nums ttw:overflow-hidden ttw:whitespace-nowrap ttw:text-ellipsis",
|
|
30
|
-
children: l(a)
|
|
31
137
|
})]
|
|
32
138
|
})
|
|
33
139
|
});
|
|
34
140
|
};
|
|
35
141
|
//#endregion
|
|
36
|
-
export {
|
|
142
|
+
export { g as CreatePayableMenu };
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
var e = (e) => JSON.stringify(Object.entries(e).sort(([e], [t]) => e.localeCompare(t))), t = (t) => {
|
|
3
|
-
if (t) return JSON.stringify(t.map(e).sort((e, t) => e.localeCompare(t)));
|
|
4
|
-
};
|
|
5
|
-
//#endregion
|
|
6
|
-
export { t as getPayablesAnalyticsSnapshot };
|
|
1
|
+
import "./index432.js";
|