@tesouro/embedded-components-react 0.5.138 → 0.5.141
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/data-access/dist/lib/rest/zod.gen.js +855 -831
- 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,55 +1,85 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { PayableStatusChip as e } from "./index230.js";
|
|
2
|
+
import { User as t } from "./index268.js";
|
|
3
|
+
import "./index269.js";
|
|
4
|
+
import { useResolvedApprovalStepsWithPolicy as n } from "./index406.js";
|
|
5
|
+
import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { Box as a, CircularProgress as o, Paper as s, Stack as c, Table as l, TableBody as u, TableCell as d, TableRow as f, Typography as p } from "@mui/material";
|
|
7
|
+
import { useLingui as m } from "@lingui/react";
|
|
5
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js
|
|
6
|
-
var
|
|
7
|
-
let
|
|
8
|
-
|
|
9
|
-
}, _ = () => {
|
|
10
|
-
m(null);
|
|
11
|
-
};
|
|
12
|
-
return /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n(i, {
|
|
13
|
-
id: l,
|
|
14
|
-
onClick: g,
|
|
9
|
+
var h = ({ approvalPolicy: h, payableId: g, showUsersAsEmail: _ = !0 }) => {
|
|
10
|
+
let { i18n: v } = m(), { steps: y, isLoading: b } = n(g, h);
|
|
11
|
+
return b ? /* @__PURE__ */ r(a, {
|
|
15
12
|
sx: {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
width: 40,
|
|
20
|
-
height: 40
|
|
13
|
+
display: "flex",
|
|
14
|
+
justifyContent: "center",
|
|
15
|
+
p: 3
|
|
21
16
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
children: /* @__PURE__ */
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
17
|
+
children: /* @__PURE__ */ r(o, { size: 20 })
|
|
18
|
+
}) : y.length ? /* @__PURE__ */ i(a, {
|
|
19
|
+
sx: { mt: 4 },
|
|
20
|
+
children: [/* @__PURE__ */ r(p, {
|
|
21
|
+
variant: "h6",
|
|
22
|
+
gutterBottom: !0,
|
|
23
|
+
sx: { fontWeight: 600 },
|
|
24
|
+
children: v._("Approval flow")
|
|
25
|
+
}), /* @__PURE__ */ r(s, {
|
|
26
|
+
variant: "outlined",
|
|
27
|
+
sx: { mt: 2 },
|
|
28
|
+
children: /* @__PURE__ */ r(l, {
|
|
29
|
+
sx: {
|
|
30
|
+
tableLayout: "fixed",
|
|
31
|
+
width: "100%"
|
|
32
|
+
},
|
|
33
|
+
children: /* @__PURE__ */ r(u, { children: y.map((n, a) => /* @__PURE__ */ i(f, { children: [
|
|
34
|
+
/* @__PURE__ */ r(d, {
|
|
35
|
+
sx: {
|
|
36
|
+
verticalAlign: "middle",
|
|
37
|
+
py: 2,
|
|
38
|
+
width: "160px"
|
|
39
|
+
},
|
|
40
|
+
children: /* @__PURE__ */ r(p, {
|
|
41
|
+
variant: "body2",
|
|
42
|
+
color: "text.primary",
|
|
43
|
+
sx: { fontWeight: "normal" },
|
|
44
|
+
children: n.type
|
|
45
|
+
})
|
|
46
|
+
}),
|
|
47
|
+
/* @__PURE__ */ r(d, {
|
|
48
|
+
sx: {
|
|
49
|
+
py: 2,
|
|
50
|
+
verticalAlign: "middle",
|
|
51
|
+
minWidth: "52px"
|
|
52
|
+
},
|
|
53
|
+
children: n.userNames.length > 0 ? /* @__PURE__ */ r(c, {
|
|
54
|
+
direction: "column",
|
|
55
|
+
spacing: .5,
|
|
56
|
+
sx: { overflow: "hidden" },
|
|
57
|
+
children: n.resolvedUsers.map((e) => e ? /* @__PURE__ */ r(t, {
|
|
58
|
+
user: e,
|
|
59
|
+
variant: "cell",
|
|
60
|
+
showUsersAsEmail: _,
|
|
61
|
+
showAvatar: !1
|
|
62
|
+
}, e.id) : null)
|
|
63
|
+
}) : /* @__PURE__ */ r(p, {
|
|
64
|
+
variant: "body2",
|
|
65
|
+
color: "text.secondary",
|
|
66
|
+
sx: { fontWeight: "medium" },
|
|
67
|
+
children: v._("No users assigned")
|
|
68
|
+
})
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ r(d, {
|
|
71
|
+
sx: {
|
|
72
|
+
py: 2,
|
|
73
|
+
textAlign: "right",
|
|
74
|
+
verticalAlign: "middle",
|
|
75
|
+
width: "140px"
|
|
76
|
+
},
|
|
77
|
+
children: /* @__PURE__ */ r(e, { status: n.payableStatus })
|
|
78
|
+
})
|
|
79
|
+
] }, a)) })
|
|
80
|
+
})
|
|
81
|
+
})]
|
|
82
|
+
}) : null;
|
|
53
83
|
};
|
|
54
84
|
//#endregion
|
|
55
|
-
export {
|
|
85
|
+
export { h as PayableApprovalFlowSection };
|
|
@@ -1,46 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import "./index239.js";
|
|
5
|
-
import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
6
|
-
import { DialogTitle as i, Stack as a, Toolbar as o, styled as s } from "@mui/material";
|
|
7
|
-
import { useLingui as c } from "@lingui/react";
|
|
8
|
-
import l from "@mui/icons-material/Close";
|
|
1
|
+
import { useMemo as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { Card as r, Table as i, TableBody as a, TableCell as o, TableRow as s, styled as c } from "@mui/material";
|
|
9
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
ml: 2,
|
|
28
|
-
children: [/* @__PURE__ */ n(f, { children: i }), o]
|
|
29
|
-
}),
|
|
30
|
-
s && /* @__PURE__ */ n(a, {
|
|
31
|
-
direction: "row",
|
|
32
|
-
spacing: 2,
|
|
33
|
-
ml: "auto",
|
|
34
|
-
children: s
|
|
35
|
-
})
|
|
36
|
-
]
|
|
37
|
-
});
|
|
38
|
-
}, d = s(o)(() => ({
|
|
39
|
-
padding: "24px 32px",
|
|
40
|
-
flexShrink: 0
|
|
41
|
-
})), f = s(i)(({ theme: e }) => ({ "&.MuiDialogTitle-root.MuiTypography-root": {
|
|
42
|
-
...e.typography.h3,
|
|
43
|
-
padding: "0"
|
|
44
|
-
} }));
|
|
5
|
+
var l = c(o)(({ theme: e, isRequired: t }) => ({
|
|
6
|
+
color: t ? e.palette.error.main : e.palette.text.secondary,
|
|
7
|
+
minWidth: 120,
|
|
8
|
+
width: "35%"
|
|
9
|
+
})), u = (r) => {
|
|
10
|
+
let i = e(() => !r.value && r.withEmptyStateFiller ? "—" : r.value, [r.value, r.withEmptyStateFiller]);
|
|
11
|
+
return i ? /* @__PURE__ */ n(s, { children: [/* @__PURE__ */ t(l, {
|
|
12
|
+
component: "th",
|
|
13
|
+
scope: "row",
|
|
14
|
+
children: r.label
|
|
15
|
+
}), /* @__PURE__ */ t(o, { children: i })] }) : null;
|
|
16
|
+
}, d = ({ items: e, children: o, ...s }) => /* @__PURE__ */ n(r, {
|
|
17
|
+
variant: "outlined",
|
|
18
|
+
sx: { overflow: "visible" },
|
|
19
|
+
...s,
|
|
20
|
+
children: [/* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(a, { children: e.map((e, n) => /* @__PURE__ */ t(u, { ...e }, n)) }) }), o]
|
|
21
|
+
});
|
|
45
22
|
//#endregion
|
|
46
|
-
export { u as
|
|
23
|
+
export { d as MoniteCard, u as MoniteCardItem, l as StyledLabelTableCell };
|
|
@@ -1 +1,307 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { dateStringToLocalDate as e } from "./index16.js";
|
|
2
|
+
import { ScopedCssBaselineContainerClassName as t } from "./index30.js";
|
|
3
|
+
import { useMoniteContext as n } from "./index46.js";
|
|
4
|
+
import { getCounterpartName as r } from "./index52.js";
|
|
5
|
+
import { useCurrencies as i } from "./index62.js";
|
|
6
|
+
import { useCounterpartContactList as a } from "./index134.js";
|
|
7
|
+
import { useEntityUserById as o } from "./index135.js";
|
|
8
|
+
import { useApprovalPolicyById as s } from "./index136.js";
|
|
9
|
+
import "./index144.js";
|
|
10
|
+
import { useOptionalFields as ee } from "./index210.js";
|
|
11
|
+
import { CenteredContentBox as c } from "./index236.js";
|
|
12
|
+
import "./index237.js";
|
|
13
|
+
import { MoniteScopedProviders as l } from "./index241.js";
|
|
14
|
+
import { classNames as u } from "./index337.js";
|
|
15
|
+
import { useGetPayableCounterpart as d } from "./index352.js";
|
|
16
|
+
import { usePayableDetailsThemeProps as te } from "./index353.js";
|
|
17
|
+
import { useLedgerAccounts as f } from "./index356.js";
|
|
18
|
+
import "./index371.js";
|
|
19
|
+
import { isFieldRequired as p } from "./index373.js";
|
|
20
|
+
import { isPayableInOCRProcessing as ne } from "./index391.js";
|
|
21
|
+
import { usePayableDetailsInfo as re } from "./index403.js";
|
|
22
|
+
import { UserDisplayCell as ie } from "./index404.js";
|
|
23
|
+
import { PayableApprovalFlowSection as ae } from "./index407.js";
|
|
24
|
+
import { StyledLabelTableCell as m } from "./index408.js";
|
|
25
|
+
import { useMemo as h } from "react";
|
|
26
|
+
import { Sparkles as g } from "lucide-react";
|
|
27
|
+
import { Fragment as _, jsx as v, jsxs as y } from "@emotion/react/jsx-runtime";
|
|
28
|
+
import { Box as b, Chip as oe, CircularProgress as x, Grid as S, Paper as C, Stack as w, Table as T, TableBody as E, TableCell as D, TableHead as O, TableRow as k, Tooltip as A, Typography as j } from "@mui/material";
|
|
29
|
+
import { useLingui as M } from "@lingui/react";
|
|
30
|
+
import { styled as N } from "@mui/material/styles";
|
|
31
|
+
import se from "@mui/icons-material/CachedOutlined";
|
|
32
|
+
import P from "@mui/icons-material/WarningAmberRounded";
|
|
33
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js
|
|
34
|
+
var F = N(b)(() => ({
|
|
35
|
+
pb: 6,
|
|
36
|
+
display: "flex",
|
|
37
|
+
flex: "1 1 auto",
|
|
38
|
+
overflow: "auto",
|
|
39
|
+
width: "100%",
|
|
40
|
+
height: 0
|
|
41
|
+
})), I = (e) => /* @__PURE__ */ v(l, { children: /* @__PURE__ */ v(L, { ...e }) }), L = ({ payable: r, enableGLCodes: l, ...g }) => {
|
|
42
|
+
let { i18n: x } = M(), { locale: A } = n(), { formatCurrencyToDisplay: N } = i(), { ocrRequiredFields: P, optionalFields: I } = te(g), { showInvoiceDate: L } = ee(I, { showInvoiceDate: !0 }), { counterpart: z, counterpartRawName: B, isCounterpartLoading: V, isCounterpartAIMatched: H, isCounterpartMatchingToOCRFound: U } = d({ payable: r }), { counterpartBankAccountQuery: W, lineItemsQuery: G } = re({
|
|
43
|
+
currentCounterpartId: z?.id,
|
|
44
|
+
payableId: r.id
|
|
45
|
+
}), { data: K } = f(l), ce = (e) => {
|
|
46
|
+
if (!e || !K?.data) return;
|
|
47
|
+
let t = K.data.find((t) => t.id === e);
|
|
48
|
+
if (!t) return;
|
|
49
|
+
let n = t.nominal_code && t.type ? `${t.nominal_code} — ${t.type}` : t.nominal_code ?? t.type ?? "";
|
|
50
|
+
return n ? `${x._("GL code")}: ${n}` : void 0;
|
|
51
|
+
}, { data: le } = G, ue = le?.data, { data: q } = a(z?.id), { data: J } = o(r.was_created_by_user_id), { data: Y, isLoading: X } = s(r.approval_policy_id), de = !!Y?.id, Z = h(() => q?.find((e) => e.is_default), [q]), Q = h(() => W.data?.data.find((e) => e.id === r.counterpart_bank_account_id), [W, r]), $ = "Monite-PayableDetailsInfo";
|
|
52
|
+
return ne(r) ? /* @__PURE__ */ v(F, {
|
|
53
|
+
className: u(t, $, $ + "--ocr-processing"),
|
|
54
|
+
children: /* @__PURE__ */ v(c, { children: /* @__PURE__ */ y(b, {
|
|
55
|
+
textAlign: "center",
|
|
56
|
+
children: [
|
|
57
|
+
/* @__PURE__ */ v(se, {
|
|
58
|
+
color: "primary",
|
|
59
|
+
fontSize: "large"
|
|
60
|
+
}),
|
|
61
|
+
/* @__PURE__ */ v(j, {
|
|
62
|
+
variant: "h3",
|
|
63
|
+
mb: 2,
|
|
64
|
+
children: x._("File is being processed...")
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ v(j, {
|
|
67
|
+
variant: "body1",
|
|
68
|
+
children: x._("Hold on, we’re processing the file you’ve uploaded.")
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ v(j, {
|
|
71
|
+
variant: "body1",
|
|
72
|
+
children: x._("Usually it takes no more than 1–2 minutes.")
|
|
73
|
+
})
|
|
74
|
+
]
|
|
75
|
+
}) })
|
|
76
|
+
}) : /* @__PURE__ */ v(F, {
|
|
77
|
+
className: u(t, $),
|
|
78
|
+
children: /* @__PURE__ */ y(S, {
|
|
79
|
+
container: !0,
|
|
80
|
+
spacing: 3,
|
|
81
|
+
children: [
|
|
82
|
+
/* @__PURE__ */ y(S, {
|
|
83
|
+
item: !0,
|
|
84
|
+
xs: 12,
|
|
85
|
+
className: $ + "-Details",
|
|
86
|
+
children: [/* @__PURE__ */ v(j, {
|
|
87
|
+
variant: "subtitle2",
|
|
88
|
+
mb: 2,
|
|
89
|
+
children: x._("Details")
|
|
90
|
+
}), /* @__PURE__ */ v(C, {
|
|
91
|
+
variant: "outlined",
|
|
92
|
+
children: /* @__PURE__ */ v(T, { children: /* @__PURE__ */ y(E, { children: [
|
|
93
|
+
/* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
94
|
+
isRequired: p("invoiceNumber", P, r?.document_id) && r?.ocr_status === null,
|
|
95
|
+
children: x._("Number")
|
|
96
|
+
}), /* @__PURE__ */ v(D, { children: r.document_id ?? "—" })] }),
|
|
97
|
+
/* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
98
|
+
isRequired: p("counterpartName", P) && r?.ocr_status === null,
|
|
99
|
+
children: x._("Vendor")
|
|
100
|
+
}), /* @__PURE__ */ v(D, { children: /* @__PURE__ */ v(R, {
|
|
101
|
+
counterpart: z,
|
|
102
|
+
counterpartRawName: B,
|
|
103
|
+
isCounterpartAIMatched: H,
|
|
104
|
+
isCounterpartMatchingToOCRFound: U,
|
|
105
|
+
isCounterpartLoading: V
|
|
106
|
+
}) })] }),
|
|
107
|
+
Z && /* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
108
|
+
isRequired: p("contactPerson", P) && r?.ocr_status === null,
|
|
109
|
+
children: x._("Contact person")
|
|
110
|
+
}), /* @__PURE__ */ v(D, { children: `${Z.first_name} ${Z.last_name}` })] }),
|
|
111
|
+
Q && /* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
112
|
+
isRequired: p("counterpartBankAccount", P, Q?.name) && r?.ocr_status === null,
|
|
113
|
+
children: x._("Bank account")
|
|
114
|
+
}), /* @__PURE__ */ v(D, { children: Q.name })] }),
|
|
115
|
+
L && /* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
116
|
+
isRequired: p("issueDate", P) && r?.ocr_status === null,
|
|
117
|
+
children: x._("Issue date")
|
|
118
|
+
}), /* @__PURE__ */ v(D, { children: r.issued_at ? x.date(e(r.issued_at), A.dateFormat) : "—" })] }),
|
|
119
|
+
/* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
120
|
+
isRequired: p("dueDate", P, r.due_date) && r?.ocr_status === null,
|
|
121
|
+
children: x._("Due date")
|
|
122
|
+
}), /* @__PURE__ */ v(D, { children: r.due_date ? x.date(e(r.due_date), A.dateFormat) : "—" })] }),
|
|
123
|
+
/* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
124
|
+
isRequired: p("amount", P) && r?.ocr_status === null,
|
|
125
|
+
children: x._("Total")
|
|
126
|
+
}), /* @__PURE__ */ v(D, { children: /* @__PURE__ */ v(b, {
|
|
127
|
+
sx: {
|
|
128
|
+
display: "flex",
|
|
129
|
+
justifyContent: "space-between"
|
|
130
|
+
},
|
|
131
|
+
children: /* @__PURE__ */ v(b, { children: r.total_amount && r.currency ? N(r.total_amount, r.currency) : r.currency ? N(0, r.currency) : "—" })
|
|
132
|
+
}) })] }),
|
|
133
|
+
/* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
134
|
+
isRequired: p("appliedPolicy", P) && r?.ocr_status === null,
|
|
135
|
+
children: x._("Applied policy")
|
|
136
|
+
}), /* @__PURE__ */ v(D, { children: !X && Y?.name ? /* @__PURE__ */ y(b, {
|
|
137
|
+
sx: {
|
|
138
|
+
display: "flex",
|
|
139
|
+
alignItems: "center",
|
|
140
|
+
gap: 1
|
|
141
|
+
},
|
|
142
|
+
children: [/* @__PURE__ */ v("span", { children: Y.name }), (r.status === "waiting_to_be_paid" || r.status === "paid" || r.status === "partially_paid") && /* @__PURE__ */ v(oe, {
|
|
143
|
+
label: x._("Approved"),
|
|
144
|
+
color: "success",
|
|
145
|
+
size: "small"
|
|
146
|
+
})]
|
|
147
|
+
}) : !X && x._("no policy") })] })
|
|
148
|
+
] }) })
|
|
149
|
+
})]
|
|
150
|
+
}),
|
|
151
|
+
de && Y && /* @__PURE__ */ v(S, {
|
|
152
|
+
item: !0,
|
|
153
|
+
xs: 12,
|
|
154
|
+
children: /* @__PURE__ */ v(ae, {
|
|
155
|
+
approvalPolicy: Y,
|
|
156
|
+
payableId: r.id,
|
|
157
|
+
currentStatus: r.status
|
|
158
|
+
})
|
|
159
|
+
}),
|
|
160
|
+
/* @__PURE__ */ y(S, {
|
|
161
|
+
item: !0,
|
|
162
|
+
xs: 12,
|
|
163
|
+
className: $ + "-Items",
|
|
164
|
+
children: [/* @__PURE__ */ v(j, {
|
|
165
|
+
variant: "subtitle2",
|
|
166
|
+
mb: 2,
|
|
167
|
+
children: x._("Items")
|
|
168
|
+
}), /* @__PURE__ */ v(C, {
|
|
169
|
+
variant: "outlined",
|
|
170
|
+
children: /* @__PURE__ */ y(T, { children: [/* @__PURE__ */ v(O, { children: /* @__PURE__ */ y(k, { children: [
|
|
171
|
+
/* @__PURE__ */ v(D, { children: x._("Name") }),
|
|
172
|
+
/* @__PURE__ */ v(D, { children: x._("Quantity") }),
|
|
173
|
+
/* @__PURE__ */ v(D, { children: x._("Price") }),
|
|
174
|
+
/* @__PURE__ */ v(D, {
|
|
175
|
+
align: "right",
|
|
176
|
+
children: x._("Total, tax")
|
|
177
|
+
})
|
|
178
|
+
] }) }), /* @__PURE__ */ v(E, { children: ue?.map((e) => /* @__PURE__ */ y(k, { children: [
|
|
179
|
+
/* @__PURE__ */ v(D, { children: /* @__PURE__ */ y(w, { children: [/* @__PURE__ */ v(b, { children: e.name }), l && e.ledger_account_id && /* @__PURE__ */ v(j, {
|
|
180
|
+
variant: "body2",
|
|
181
|
+
color: "secondary.main",
|
|
182
|
+
children: ce(e.ledger_account_id)
|
|
183
|
+
})] }) }),
|
|
184
|
+
/* @__PURE__ */ v(D, { children: e.quantity }),
|
|
185
|
+
/* @__PURE__ */ v(D, { children: e.unit_price ? N(e.unit_price, r.currency ?? "USD") : "—" }),
|
|
186
|
+
/* @__PURE__ */ v(D, {
|
|
187
|
+
align: "right",
|
|
188
|
+
children: e.subtotal && r.currency ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(b, { children: N(e.subtotal ?? 0, r.currency) }), /* @__PURE__ */ y(b, {
|
|
189
|
+
sx: { color: "secondary.main" },
|
|
190
|
+
children: [
|
|
191
|
+
x._("excl. Tax"),
|
|
192
|
+
" ",
|
|
193
|
+
`${e.tax ? (e.tax / 100).toFixed(0) : 0}%`
|
|
194
|
+
]
|
|
195
|
+
})] }) : r.currency ? N(0, r.currency) : "—"
|
|
196
|
+
})
|
|
197
|
+
] }, e.id)) })] })
|
|
198
|
+
})]
|
|
199
|
+
}),
|
|
200
|
+
/* @__PURE__ */ v(S, {
|
|
201
|
+
item: !0,
|
|
202
|
+
xs: 12,
|
|
203
|
+
className: $ + "-Totals",
|
|
204
|
+
children: /* @__PURE__ */ v(C, {
|
|
205
|
+
variant: "outlined",
|
|
206
|
+
children: /* @__PURE__ */ v(T, { children: /* @__PURE__ */ y(E, { children: [
|
|
207
|
+
/* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(D, { children: x._("Subtotal") }), /* @__PURE__ */ v(D, {
|
|
208
|
+
align: "right",
|
|
209
|
+
children: r.subtotal && r.currency ? N(r.subtotal, r.currency) : r.currency ? N(0, r.currency) : "—"
|
|
210
|
+
})] }),
|
|
211
|
+
!!r.discount && r.currency && /* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(D, { children: x._("Discount") }), /* @__PURE__ */ v(D, {
|
|
212
|
+
align: "right",
|
|
213
|
+
children: N(r.discount ?? 0, r.currency)
|
|
214
|
+
})] }),
|
|
215
|
+
/* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(D, { children: x._("Tax Total") }), /* @__PURE__ */ v(D, {
|
|
216
|
+
align: "right",
|
|
217
|
+
children: r.tax_amount && r.currency ? N(r.tax_amount, r.currency) : r.currency ? N(0, r.currency) : "—"
|
|
218
|
+
})] }),
|
|
219
|
+
/* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(D, { children: /* @__PURE__ */ v(j, {
|
|
220
|
+
variant: "subtitle1",
|
|
221
|
+
children: x._("Total")
|
|
222
|
+
}) }), /* @__PURE__ */ v(D, {
|
|
223
|
+
align: "right",
|
|
224
|
+
children: /* @__PURE__ */ v(j, {
|
|
225
|
+
variant: "subtitle1",
|
|
226
|
+
children: r.total_amount && r.currency ? N(r.total_amount, r.currency) : r.currency ? N(0, r.currency) : "—"
|
|
227
|
+
})
|
|
228
|
+
})] })
|
|
229
|
+
] }) })
|
|
230
|
+
})
|
|
231
|
+
}),
|
|
232
|
+
/* @__PURE__ */ y(S, {
|
|
233
|
+
item: !0,
|
|
234
|
+
xs: 12,
|
|
235
|
+
className: $ + "-History",
|
|
236
|
+
children: [/* @__PURE__ */ v(j, {
|
|
237
|
+
variant: "subtitle2",
|
|
238
|
+
mb: 2,
|
|
239
|
+
children: x._("History")
|
|
240
|
+
}), /* @__PURE__ */ v(C, {
|
|
241
|
+
variant: "outlined",
|
|
242
|
+
children: /* @__PURE__ */ v(T, { children: /* @__PURE__ */ y(E, { children: [
|
|
243
|
+
J && /* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
244
|
+
isRequired: p("addedByUser", P) && r?.ocr_status === null,
|
|
245
|
+
children: x._("Added by")
|
|
246
|
+
}), /* @__PURE__ */ v(D, { children: /* @__PURE__ */ v(ie, {
|
|
247
|
+
user: {
|
|
248
|
+
id: J.id,
|
|
249
|
+
first_name: J.first_name,
|
|
250
|
+
last_name: J.last_name,
|
|
251
|
+
userpic_file_id: J.userpic_file_id
|
|
252
|
+
},
|
|
253
|
+
showAvatar: !0,
|
|
254
|
+
avatarSize: 24,
|
|
255
|
+
typographyVariant: "body2"
|
|
256
|
+
}) })] }),
|
|
257
|
+
/* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
258
|
+
isRequired: p("addedOn", P) && r?.ocr_status === null,
|
|
259
|
+
children: x._("Added on")
|
|
260
|
+
}), /* @__PURE__ */ v(D, { children: r.created_at ? x.date(r.created_at, {
|
|
261
|
+
dateStyle: "short",
|
|
262
|
+
timeStyle: "short"
|
|
263
|
+
}) : "—" })] }),
|
|
264
|
+
/* @__PURE__ */ y(k, { children: [/* @__PURE__ */ v(m, {
|
|
265
|
+
isRequired: p("updatedOn", P) && r?.ocr_status === null,
|
|
266
|
+
children: x._("Last updated on")
|
|
267
|
+
}), /* @__PURE__ */ v(D, { children: r.updated_at ? x.date(r.updated_at, {
|
|
268
|
+
dateStyle: "short",
|
|
269
|
+
timeStyle: "short"
|
|
270
|
+
}) : "—" })] })
|
|
271
|
+
] }) })
|
|
272
|
+
})]
|
|
273
|
+
})
|
|
274
|
+
]
|
|
275
|
+
})
|
|
276
|
+
});
|
|
277
|
+
}, R = ({ counterpart: e, counterpartRawName: t, isCounterpartAIMatched: n, isCounterpartMatchingToOCRFound: i, isCounterpartLoading: a }) => {
|
|
278
|
+
let { i18n: o } = M();
|
|
279
|
+
if (a) return /* @__PURE__ */ v(x, {
|
|
280
|
+
size: 14,
|
|
281
|
+
color: "secondary"
|
|
282
|
+
});
|
|
283
|
+
let s = r(e);
|
|
284
|
+
return s && !i ? /* @__PURE__ */ y(w, {
|
|
285
|
+
component: "span",
|
|
286
|
+
gap: 1,
|
|
287
|
+
direction: "row",
|
|
288
|
+
children: [s, n && /* @__PURE__ */ v(A, {
|
|
289
|
+
title: o._("Vendor auto-matched by AI. The vendor name on the bill doesn’t exactly match the saved vendor, so AI selected the closest option."),
|
|
290
|
+
children: /* @__PURE__ */ v(g, { className: "ttw:text-blue-600" })
|
|
291
|
+
})]
|
|
292
|
+
}) : t ? /* @__PURE__ */ y(w, {
|
|
293
|
+
component: "span",
|
|
294
|
+
gap: 1,
|
|
295
|
+
direction: "row",
|
|
296
|
+
children: [t, /* @__PURE__ */ v(A, {
|
|
297
|
+
title: i ? o._("The vendor details in the bill don’t fully match the saved vendor.") : o._("The specified vendor has not been saved yet."),
|
|
298
|
+
children: /* @__PURE__ */ v(P, {
|
|
299
|
+
color: "warning",
|
|
300
|
+
fontSize: "small",
|
|
301
|
+
sx: { alignSelf: "center" }
|
|
302
|
+
})
|
|
303
|
+
})]
|
|
304
|
+
}) : /* @__PURE__ */ v(_, { children: "—" });
|
|
305
|
+
};
|
|
306
|
+
//#endregion
|
|
307
|
+
export { I as PayableDetailsInfo };
|
|
@@ -1,21 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./index59.js";
|
|
3
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import { useLingui as n } from "@lingui/react";
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js
|
|
6
|
-
var r = ({ isOpen: r, handleCloseModal: i, handleConfirmation: a }) => {
|
|
7
|
-
let { i18n: o } = n();
|
|
8
|
-
return /* @__PURE__ */ t(e, {
|
|
9
|
-
open: r,
|
|
10
|
-
title: o._("Cancel bill?"),
|
|
11
|
-
message: o._("The bill will receive the “Canceled” status and will require no payment. You can’t undo this action."),
|
|
12
|
-
confirmLabel: o._("Cancel bill"),
|
|
13
|
-
cancelLabel: o._("Close"),
|
|
14
|
-
onClose: i,
|
|
15
|
-
onConfirm: () => {
|
|
16
|
-
i(), a();
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { r as PayableDetailsCancelModal };
|
|
1
|
+
import "./index409.js";
|
|
@@ -1 +1,32 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Box as n, Typography as r } from "@mui/material";
|
|
3
|
+
import { useLingui as i } from "@lingui/react";
|
|
4
|
+
import a from "@mui/icons-material/AttachFile";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js
|
|
6
|
+
var o = () => {
|
|
7
|
+
let { i18n: o } = i();
|
|
8
|
+
return /* @__PURE__ */ e(n, {
|
|
9
|
+
className: "Monite-PayableDetailsNoAttachedFile",
|
|
10
|
+
sx: {
|
|
11
|
+
width: "100%",
|
|
12
|
+
height: "100%",
|
|
13
|
+
display: "flex",
|
|
14
|
+
flexDirection: "column",
|
|
15
|
+
justifyContent: "center",
|
|
16
|
+
textAlign: "center"
|
|
17
|
+
},
|
|
18
|
+
children: /* @__PURE__ */ t(n, {
|
|
19
|
+
sx: { margin: "auto" },
|
|
20
|
+
children: [/* @__PURE__ */ e(a, {
|
|
21
|
+
color: "primary",
|
|
22
|
+
fontSize: "large",
|
|
23
|
+
sx: { marginBottom: 2 }
|
|
24
|
+
}), /* @__PURE__ */ e(r, {
|
|
25
|
+
color: "secondary",
|
|
26
|
+
children: o._("This invoice doesn’t have a file attached.")
|
|
27
|
+
})]
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { o as PayableDetailsNoAttachedFile };
|