@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,144 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import "./index182.js";
|
|
9
|
-
import { safeZodResolver as u } from "./index395.js";
|
|
10
|
-
import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
|
|
11
|
-
import { useLingui as p } from "@lingui/react";
|
|
12
|
-
import { Controller as m, useForm as h } from "react-hook-form";
|
|
1
|
+
import { cn as e } from "./index48.js";
|
|
2
|
+
import { useGetMeasureUnits as t } from "./index449.js";
|
|
3
|
+
import { InvoicePreviewMonite as n } from "./index497.js";
|
|
4
|
+
import { useAdaptiveScale as r } from "./index501.js";
|
|
5
|
+
import { AspectRatio as i } from "./index502.js";
|
|
6
|
+
import { useRef as a } from "react";
|
|
7
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
13
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js
|
|
14
|
-
var
|
|
15
|
-
let
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
children: y._("Routing number")
|
|
45
|
-
}),
|
|
46
|
-
/* @__PURE__ */ d(t, {
|
|
47
|
-
...e,
|
|
48
|
-
id: "routing_number",
|
|
49
|
-
placeholder: y._("e.g. 123456789"),
|
|
50
|
-
value: e.value ?? "",
|
|
51
|
-
disabled: x,
|
|
52
|
-
"aria-invalid": !!n
|
|
53
|
-
}),
|
|
54
|
-
/* @__PURE__ */ d(a, { errors: n ? [n] : [] })
|
|
55
|
-
] }) })
|
|
56
|
-
}), /* @__PURE__ */ d(m, {
|
|
57
|
-
name: "account_number",
|
|
58
|
-
control: S,
|
|
59
|
-
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ d(r, { children: /* @__PURE__ */ f(i, { children: [
|
|
60
|
-
/* @__PURE__ */ d(o, {
|
|
61
|
-
htmlFor: "account_number",
|
|
62
|
-
children: y._("Account number")
|
|
63
|
-
}),
|
|
64
|
-
/* @__PURE__ */ d(t, {
|
|
65
|
-
...e,
|
|
66
|
-
id: "account_number",
|
|
67
|
-
placeholder: y._("e.g. 123456789"),
|
|
68
|
-
value: e.value ?? "",
|
|
69
|
-
disabled: x,
|
|
70
|
-
"aria-invalid": !!n
|
|
71
|
-
}),
|
|
72
|
-
/* @__PURE__ */ d(a, { errors: n ? [n] : [] })
|
|
73
|
-
] }) })
|
|
74
|
-
})]
|
|
75
|
-
}),
|
|
76
|
-
/* @__PURE__ */ f("div", {
|
|
77
|
-
className: "ttw:flex ttw:gap-4",
|
|
78
|
-
children: [/* @__PURE__ */ d(m, {
|
|
79
|
-
name: "account_holder_name",
|
|
80
|
-
control: S,
|
|
81
|
-
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ d(r, { children: /* @__PURE__ */ f(i, { children: [
|
|
82
|
-
/* @__PURE__ */ d(o, {
|
|
83
|
-
htmlFor: "account_holder_name",
|
|
84
|
-
children: y._("Account holder name")
|
|
85
|
-
}),
|
|
86
|
-
/* @__PURE__ */ d(t, {
|
|
87
|
-
...e,
|
|
88
|
-
id: "account_holder_name",
|
|
89
|
-
placeholder: y._("e.g. James Smith"),
|
|
90
|
-
value: e.value ?? "",
|
|
91
|
-
disabled: x,
|
|
92
|
-
"aria-invalid": !!n
|
|
93
|
-
}),
|
|
94
|
-
/* @__PURE__ */ d(a, { errors: n ? [n] : [] })
|
|
95
|
-
] }) })
|
|
96
|
-
}), /* @__PURE__ */ d(m, {
|
|
97
|
-
name: "display_name",
|
|
98
|
-
control: S,
|
|
99
|
-
render: ({ field: e, fieldState: { error: s } }) => /* @__PURE__ */ d(r, { children: /* @__PURE__ */ f(i, { children: [
|
|
100
|
-
/* @__PURE__ */ f(o, {
|
|
101
|
-
htmlFor: "display_name",
|
|
102
|
-
className: "ttw:gap-1",
|
|
103
|
-
children: [y._("Account nickname"), /* @__PURE__ */ d(n, {
|
|
104
|
-
variant: "body2",
|
|
105
|
-
color: "muted",
|
|
106
|
-
className: "ttw:leading-snug",
|
|
107
|
-
children: y._("(optional)")
|
|
108
|
-
})]
|
|
109
|
-
}),
|
|
110
|
-
/* @__PURE__ */ d(t, {
|
|
111
|
-
...e,
|
|
112
|
-
id: "display_name",
|
|
113
|
-
placeholder: y._("e.g. Empire Bank Checking"),
|
|
114
|
-
value: e.value ?? "",
|
|
115
|
-
disabled: x,
|
|
116
|
-
"aria-invalid": !!s
|
|
117
|
-
}),
|
|
118
|
-
/* @__PURE__ */ d(a, { errors: s ? [s] : [] })
|
|
119
|
-
] }) })
|
|
120
|
-
})]
|
|
121
|
-
}),
|
|
122
|
-
/* @__PURE__ */ f("div", {
|
|
123
|
-
className: "ttw:flex ttw:gap-4",
|
|
124
|
-
children: [g !== 0 && /* @__PURE__ */ d(e, {
|
|
125
|
-
type: "button",
|
|
126
|
-
variant: "outline",
|
|
127
|
-
className: "ttw:border-border",
|
|
128
|
-
disabled: x,
|
|
129
|
-
onClick: v,
|
|
130
|
-
children: y._("Cancel")
|
|
131
|
-
}), /* @__PURE__ */ d(e, {
|
|
132
|
-
type: "button",
|
|
133
|
-
disabled: x,
|
|
134
|
-
onClick: C((e) => {
|
|
135
|
-
b({ body: l(e) });
|
|
136
|
-
}),
|
|
137
|
-
children: y._("Save account")
|
|
138
|
-
})]
|
|
9
|
+
var s = ({ address: s, counterpart: c, currency: l, invoiceData: u, entityData: d, paymentTerms: f }) => {
|
|
10
|
+
let p = a(null), m = a(null), { data: h } = t(), g = r(p, m, {
|
|
11
|
+
containerPadding: 96,
|
|
12
|
+
minScale: 1,
|
|
13
|
+
initialDelay: 100,
|
|
14
|
+
useAdaptiveDimensions: !0
|
|
15
|
+
}), _ = {
|
|
16
|
+
address: s,
|
|
17
|
+
counterpart: c,
|
|
18
|
+
currency: l,
|
|
19
|
+
invoiceData: u,
|
|
20
|
+
entityData: d,
|
|
21
|
+
paymentTerms: f,
|
|
22
|
+
measureUnits: h?.data || []
|
|
23
|
+
};
|
|
24
|
+
return /* @__PURE__ */ o("div", {
|
|
25
|
+
ref: p,
|
|
26
|
+
className: e("ttw:flex ttw:overflow-auto ttw:relative", "ttw:w-full ttw:h-full ttw:min-h-0", "ttw:p-12", "ttw:bg-gradient-to-br ttw:from-slate-50 ttw:to-slate-200", "ttw:[transform:translateZ(0)]"),
|
|
27
|
+
style: {
|
|
28
|
+
justifyContent: "safe center",
|
|
29
|
+
alignItems: "safe center"
|
|
30
|
+
},
|
|
31
|
+
children: /* @__PURE__ */ o(i, {
|
|
32
|
+
ratio: 8.5 / 11,
|
|
33
|
+
className: e("ttw:max-w-[8.5in]", "ttw:min-w-[816px] ttw:min-h-[1056px]", "ttw:transition-transform ttw:duration-200 ttw:ease-in-out", "motion-reduce:ttw:transition-none", "ttw:origin-center", "ttw:shrink-0", "ttw:[contain:\"layout style\"]"),
|
|
34
|
+
style: { transform: `scale(${g})` },
|
|
35
|
+
children: /* @__PURE__ */ o("div", {
|
|
36
|
+
ref: m,
|
|
37
|
+
className: e("ttw:w-full ttw:h-full", "ttw:bg-white ttw:shrink-0", "ttw:shadow-md", "ttw:overflow-hidden"),
|
|
38
|
+
children: /* @__PURE__ */ o(n, { ..._ })
|
|
139
39
|
})
|
|
140
|
-
|
|
40
|
+
})
|
|
141
41
|
});
|
|
142
42
|
};
|
|
143
43
|
//#endregion
|
|
144
|
-
export {
|
|
44
|
+
export { s as InvoicePreview };
|
|
@@ -1,133 +1,149 @@
|
|
|
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 {
|
|
10
|
-
import "./
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
3
|
+
import { useMoniteContext as t } from "./index46.js";
|
|
4
|
+
import { useCounterpartById as n } from "./index47.js";
|
|
5
|
+
import { Button as r } from "./index55.js";
|
|
6
|
+
import { useCounterpartAddresses as i } from "./index132.js";
|
|
7
|
+
import { useMyEntity as a } from "./index139.js";
|
|
8
|
+
import "./index144.js";
|
|
9
|
+
import { Dialog as o, DialogContent as s, DialogDescription as c, DialogFooter as l, DialogHeader as u, DialogTitle as d } from "./index57.js";
|
|
10
|
+
import { ConfirmationModal as f } from "./index58.js";
|
|
11
|
+
import "./index59.js";
|
|
12
|
+
import { useUserPermissions as p } from "./index118.js";
|
|
13
|
+
import { buildInvoicePreviewData as ee } from "./index175.js";
|
|
14
|
+
import "./index182.js";
|
|
15
|
+
import { LoadingPage as te } from "./index264.js";
|
|
16
|
+
import "./index265.js";
|
|
17
|
+
import { CustomerSection as ne } from "./index452.js";
|
|
18
|
+
import { BillingSection as re } from "./index465.js";
|
|
19
|
+
import { ItemsSection as ie } from "./index490.js";
|
|
20
|
+
import { BankAccountSection as m } from "./index492.js";
|
|
21
|
+
import { NotesSection as h } from "./index493.js";
|
|
22
|
+
import { AttachmentSection as g } from "./index494.js";
|
|
23
|
+
import { InvoicePreview as _ } from "./index503.js";
|
|
24
|
+
import { useMemo as v, useState as y } from "react";
|
|
25
|
+
import { X as b } from "lucide-react";
|
|
26
|
+
import { Fragment as x, jsx as S, jsxs as C } from "@emotion/react/jsx-runtime";
|
|
27
|
+
import { useLingui as w } from "@lingui/react";
|
|
28
|
+
import { FormProvider as T } from "react-hook-form";
|
|
19
29
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js
|
|
20
|
-
var
|
|
21
|
-
let { i18n:
|
|
22
|
-
return
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
variant: "caption",
|
|
53
|
-
color: "muted",
|
|
54
|
-
children: P._("Display your bank account number and routing number")
|
|
30
|
+
var E = ({ open: E, onRequestClose: D, methods: O, title: k, description: A, currency: j, embeddedBankName: M, showPurchaseOrder: N = !0, lockRecurrenceSchedule: P = !1, formName: F, onSubmit: I, formScrollRef: L, registerLineItemCleanupFn: R, onAttachmentsUploadingChange: z, disabled: B, closeDisabled: ae, footer: V, discardModal: H }) => {
|
|
31
|
+
let { i18n: U } = w(), { api: W, componentSettings: G } = t(), K = p().has(e.CounterpartWriteOrg), q = !!G?.receivables?.enableEntityBankAccount, { data: J, isLoading: oe } = W.finops.getPaymentTerms.useQuery(), { isLoading: se, data: ce } = a(), { watch: Y } = O, [le, ue] = y(!1), X = Y("counterpart_id"), Z = Y("default_billing_address_id"), { data: Q } = n(X), { data: $ } = i(X), de = v(() => $?.data?.find((e) => e.id === Z), [Z, $?.data]), fe = Y("line_items"), pe = Y("payment_terms_id"), me = Y("payment_terms_custom_date"), he = Y("memo"), ge = Y("footer"), _e = Y("tax_mode"), ve = Y("purchase_order"), ye = Y("tax_rate"), be = Y("discount"), xe = Y("bank_account_id"), Se = Y("bank_account_type");
|
|
32
|
+
return se ? /* @__PURE__ */ S(te, {}) : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S(o, {
|
|
33
|
+
open: E,
|
|
34
|
+
onOpenChange: (e) => {
|
|
35
|
+
e || D();
|
|
36
|
+
},
|
|
37
|
+
modal: !1,
|
|
38
|
+
children: /* @__PURE__ */ C(s, {
|
|
39
|
+
showCloseButton: !1,
|
|
40
|
+
fullScreen: !0,
|
|
41
|
+
className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:p-0 ttw:gap-0",
|
|
42
|
+
onInteractOutside: (e) => e.preventDefault(),
|
|
43
|
+
children: [/* @__PURE__ */ C(u, {
|
|
44
|
+
className: "ttw:w-full ttw:max-w-screen ttw:flex-row ttw:justify-between ttw:border-b ttw:border-border ttw:items-center ttw:px-6 ttw:pt-6 ttw:pb-7",
|
|
45
|
+
children: [/* @__PURE__ */ C("div", {
|
|
46
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
47
|
+
children: [/* @__PURE__ */ S(d, {
|
|
48
|
+
className: "ttw:text-3xl",
|
|
49
|
+
children: k
|
|
50
|
+
}), /* @__PURE__ */ S(c, {
|
|
51
|
+
className: A ? "" : "ttw:sr-only",
|
|
52
|
+
children: A ?? U._("Invoice details")
|
|
53
|
+
})]
|
|
54
|
+
}), /* @__PURE__ */ S(r, {
|
|
55
|
+
variant: "ghost",
|
|
56
|
+
type: "button",
|
|
57
|
+
className: "ttw:p-2 ttw:has-[>svg]:px-2",
|
|
58
|
+
onClick: D,
|
|
59
|
+
disabled: ae,
|
|
60
|
+
"aria-label": U._("Close"),
|
|
61
|
+
children: /* @__PURE__ */ S(b, { className: "ttw:size-6.5" })
|
|
55
62
|
})]
|
|
56
|
-
}),
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
children: /* @__PURE__ */
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
})
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
value: e.id,
|
|
98
|
-
children: /* @__PURE__ */ O("span", {
|
|
99
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2",
|
|
100
|
-
children: [/* @__PURE__ */ D("span", {
|
|
101
|
-
className: "ttw:truncate",
|
|
102
|
-
children: p(e, P)
|
|
103
|
-
}), t && /* @__PURE__ */ D("span", {
|
|
104
|
-
className: "ttw:shrink-0 ttw:text-muted-foreground",
|
|
105
|
-
children: t
|
|
106
|
-
})]
|
|
63
|
+
}), /* @__PURE__ */ C("div", {
|
|
64
|
+
className: "ttw:flex ttw:flex-1 ttw:min-h-0",
|
|
65
|
+
children: [/* @__PURE__ */ C("div", {
|
|
66
|
+
ref: L,
|
|
67
|
+
className: "ttw:w-1/2 ttw:h-full ttw:min-h-0 ttw:overflow-auto ttw:px-8 ttw:pt-6",
|
|
68
|
+
children: [/* @__PURE__ */ S(T, {
|
|
69
|
+
...O,
|
|
70
|
+
children: /* @__PURE__ */ S("form", {
|
|
71
|
+
id: F,
|
|
72
|
+
noValidate: !0,
|
|
73
|
+
className: "ttw:pb-10",
|
|
74
|
+
onSubmit: I,
|
|
75
|
+
children: /* @__PURE__ */ C("div", {
|
|
76
|
+
className: "ttw:flex ttw:flex-col ttw:gap-8",
|
|
77
|
+
children: [
|
|
78
|
+
/* @__PURE__ */ S(ne, {
|
|
79
|
+
disabled: B,
|
|
80
|
+
canCreateCounterpart: K,
|
|
81
|
+
isEditCustomerOpen: le,
|
|
82
|
+
handleOpenEditCustomer: ue,
|
|
83
|
+
counterpart: Q
|
|
84
|
+
}),
|
|
85
|
+
/* @__PURE__ */ S(re, {
|
|
86
|
+
paymentTerms: J,
|
|
87
|
+
isPaymentTermsLoading: oe,
|
|
88
|
+
disabled: B,
|
|
89
|
+
showPurchaseOrder: N,
|
|
90
|
+
lockRecurrenceSchedule: P
|
|
91
|
+
}),
|
|
92
|
+
/* @__PURE__ */ S(ie, {
|
|
93
|
+
registerLineItemCleanupFn: R,
|
|
94
|
+
defaultCurrency: j
|
|
95
|
+
}),
|
|
96
|
+
q && /* @__PURE__ */ S(m, {
|
|
97
|
+
disabled: B,
|
|
98
|
+
embeddedBankName: M
|
|
99
|
+
}),
|
|
100
|
+
/* @__PURE__ */ S(h, { disabled: B }),
|
|
101
|
+
/* @__PURE__ */ S(g, {
|
|
102
|
+
disabled: B,
|
|
103
|
+
onUploadingChange: z
|
|
107
104
|
})
|
|
108
|
-
|
|
109
|
-
})
|
|
110
|
-
value: "add_new",
|
|
111
|
-
className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary",
|
|
112
|
-
children: [/* @__PURE__ */ D(w, { className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary" }), P._("Add a new account")]
|
|
113
|
-
})] })] })]
|
|
105
|
+
]
|
|
106
|
+
})
|
|
114
107
|
})
|
|
115
|
-
}), /* @__PURE__ */
|
|
116
|
-
|
|
108
|
+
}), /* @__PURE__ */ S(l, {
|
|
109
|
+
className: "ttw:sticky ttw:bottom-0 ttw:z-10 ttw:flex ttw:items-center ttw:justify-end ttw:gap-4 ttw:bg-background ttw:pt-3 ttw:px-6 ttw:pb-6",
|
|
110
|
+
children: V
|
|
111
|
+
})]
|
|
112
|
+
}), /* @__PURE__ */ S("div", {
|
|
113
|
+
className: "ttw:w-1/2 ttw:h-full ttw:min-h-0 ttw:overflow-auto",
|
|
114
|
+
style: { background: "linear-gradient(180deg, #F6F6F6 0%, #E4E4FF 100%)" },
|
|
115
|
+
children: /* @__PURE__ */ S(_, {
|
|
116
|
+
invoiceData: ee({
|
|
117
|
+
lineItems: fe,
|
|
118
|
+
paymentTermsId: pe,
|
|
119
|
+
paymentTermsCustomDate: me,
|
|
120
|
+
memo: he,
|
|
121
|
+
footer: ge,
|
|
122
|
+
bankAccountId: xe,
|
|
123
|
+
bankAccountType: Se,
|
|
124
|
+
taxMode: _e,
|
|
125
|
+
purchaseOrder: ve,
|
|
126
|
+
taxRate: ye,
|
|
127
|
+
discount: be
|
|
128
|
+
}),
|
|
129
|
+
counterpart: Q,
|
|
130
|
+
currency: j,
|
|
131
|
+
entityData: ce,
|
|
132
|
+
address: de,
|
|
133
|
+
paymentTerms: J
|
|
134
|
+
})
|
|
135
|
+
})]
|
|
117
136
|
})]
|
|
118
|
-
})
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
children: [/* @__PURE__ */ D(y, { children: P._("There are no bank accounts on file for this account") }), /* @__PURE__ */ D(v, { children: P._("A bank account is required in order to issue invoices. Contact your company admin to set one up.") })]
|
|
129
|
-
}) })]
|
|
130
|
-
});
|
|
137
|
+
})
|
|
138
|
+
}), /* @__PURE__ */ S(f, {
|
|
139
|
+
open: H.open,
|
|
140
|
+
title: U._("You have unsaved changes"),
|
|
141
|
+
message: U._("Any unsaved changes will be lost. Are you sure you want to quit without saving?"),
|
|
142
|
+
confirmLabel: U._("Quit without saving"),
|
|
143
|
+
cancelLabel: U._("Cancel"),
|
|
144
|
+
onClose: () => H.onOpenChange(!1),
|
|
145
|
+
onConfirm: H.onConfirm
|
|
146
|
+
})] });
|
|
131
147
|
};
|
|
132
148
|
//#endregion
|
|
133
|
-
export {
|
|
149
|
+
export { E as ReceivableFormLayout };
|