@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,555 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { Field as a, FieldContent as o, FieldError as s } from "./index87.js";
|
|
7
|
-
import { RECURRENCE_CREATION_MODES as ee, RECURRENCE_EMAIL_FIELD_NAMES as te } from "./index92.js";
|
|
8
|
-
import { Select as c, SelectContent as l, SelectItem as u, SelectSeparator as d, SelectTrigger as f, SelectValue as p } from "./index107.js";
|
|
9
|
-
import { isRecurrenceEmailComplete as ne } from "./index168.js";
|
|
10
|
-
import { RECEIPT_DUE_PAYMENT_TERM as re } from "./index176.js";
|
|
11
|
-
import { DatePicker as m } from "./index469.js";
|
|
12
|
-
import { useRecurrenceSectionLabels as h } from "./index470.js";
|
|
13
|
-
import { RecurrenceEmailModal as g } from "./index471.js";
|
|
14
|
-
import { useState as ie } from "react";
|
|
15
|
-
import { Fragment as _, jsx as v, jsxs as y } from "@emotion/react/jsx-runtime";
|
|
16
|
-
import { useLingui as ae } from "@lingui/react";
|
|
17
|
-
import { Controller as b, useFormContext as oe } from "react-hook-form";
|
|
1
|
+
import { getAPIErrorMessage as e } from "./index27.js";
|
|
2
|
+
import { useMoniteContext as t } from "./index46.js";
|
|
3
|
+
import { messageWithTruncatedName as n } from "./index471.js";
|
|
4
|
+
import { toast as r } from "react-hot-toast";
|
|
5
|
+
import { useLingui as i } from "@lingui/react";
|
|
18
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}, T = Array.from({ length: 31 }, (e, t) => t + 1), E = [
|
|
34
|
-
"recurrence_start_date",
|
|
35
|
-
"recurrence_end_date",
|
|
36
|
-
"recurrence_issue_mode",
|
|
37
|
-
"recurrence_days_of_week",
|
|
38
|
-
"recurrence_end_mode",
|
|
39
|
-
"recurrence_max_occurrences"
|
|
40
|
-
], D = {
|
|
41
|
-
su: 0,
|
|
42
|
-
mo: 1,
|
|
43
|
-
tu: 2,
|
|
44
|
-
we: 3,
|
|
45
|
-
th: 4,
|
|
46
|
-
fr: 5,
|
|
47
|
-
sa: 6
|
|
48
|
-
}, O = () => {
|
|
49
|
-
let e = /* @__PURE__ */ new Date();
|
|
50
|
-
return e.setHours(0, 0, 0, 0), e;
|
|
51
|
-
}, se = () => {
|
|
52
|
-
let e = O();
|
|
53
|
-
return e.setDate(e.getDate() + 1), e;
|
|
54
|
-
}, ce = (e) => {
|
|
55
|
-
let t = O(), n = (D[e] - t.getDay() + 7) % 7 || 7, r = new Date(t);
|
|
56
|
-
return r.setDate(t.getDate() + n), r;
|
|
57
|
-
}, k = ({ lockSchedule: O = !1, labels: k, emailModalLabels: ue }) => {
|
|
58
|
-
let { i18n: A } = ae(), j = h(k), { control: M, watch: N, clearErrors: P, getValues: F, setValue: I, formState: { errors: L } } = oe(), R = N("frequency"), z = N("payment_terms_id"), B = N("recurrence_issue_mode"), V = N("recurrence_end_mode"), H = N("recurrence_days_of_week"), de = N("recurrence_max_occurrences"), U = Number(de) === 1, W = N("recurrence_start_date"), G = W ? new Date(W) : void 0, K = N("recurrence_end_date"), q = K ? new Date(K) : void 0, [fe, J] = ie(!1), Y = N("recurrence_automation_level") ?? "issue", X = Y === "issue_and_send", Z = N("recurrence_recipients_to"), pe = Z?.length ? Z.join(", ") : j.noRecipients, Q = te.map((e) => L[e]).find(Boolean), $ = (e) => {
|
|
59
|
-
if (e < se()) return !0;
|
|
60
|
-
if (R === "week") return H ? e.getDay() !== D[H] : !1;
|
|
61
|
-
if (R !== "month" || !B) return !1;
|
|
62
|
-
let t = e.getDate(), n = new Date(e.getFullYear(), e.getMonth() + 1, 0).getDate();
|
|
63
|
-
if (B === "first_day") return t !== 1;
|
|
64
|
-
if (B === "last_day") return t !== n;
|
|
65
|
-
let r = Number(B);
|
|
66
|
-
return !Number.isNaN(r) && t !== Math.min(r, n);
|
|
67
|
-
}, me = (e) => {
|
|
68
|
-
if ($(e)) return !0;
|
|
69
|
-
if (!G) return !1;
|
|
70
|
-
let t = new Date(G);
|
|
71
|
-
return t.setHours(0, 0, 0, 0), e < t;
|
|
72
|
-
}, he = (e) => {
|
|
73
|
-
if ($(e)) return !0;
|
|
74
|
-
if (!q) return !1;
|
|
75
|
-
let t = new Date(q);
|
|
76
|
-
return t.setHours(0, 0, 0, 0), e > t;
|
|
77
|
-
};
|
|
78
|
-
return /* @__PURE__ */ y("section", {
|
|
79
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5",
|
|
80
|
-
children: [
|
|
81
|
-
/* @__PURE__ */ y("div", {
|
|
82
|
-
className: "ttw:flex ttw:items-center ttw:gap-2.5",
|
|
83
|
-
children: [
|
|
84
|
-
/* @__PURE__ */ v(r, {
|
|
85
|
-
variant: "body2",
|
|
86
|
-
color: "muted",
|
|
87
|
-
className: "ttw:text-nowrap",
|
|
88
|
-
children: A._("Repeat this invoice")
|
|
89
|
-
}),
|
|
90
|
-
/* @__PURE__ */ v(b, {
|
|
91
|
-
name: "frequency",
|
|
92
|
-
control: M,
|
|
93
|
-
render: ({ field: e }) => /* @__PURE__ */ v(a, {
|
|
94
|
-
className: "ttw:w-fit",
|
|
95
|
-
children: /* @__PURE__ */ v(o, {
|
|
96
|
-
className: "ttw:grow-0",
|
|
97
|
-
children: /* @__PURE__ */ y(c, {
|
|
98
|
-
value: e.value,
|
|
99
|
-
disabled: O,
|
|
100
|
-
onValueChange: (t) => {
|
|
101
|
-
P(E), E.forEach((e) => {
|
|
102
|
-
I(e, void 0, { shouldDirty: !1 });
|
|
103
|
-
}), S.includes(t) ? (I("payment_terms_id", re, { shouldDirty: !0 }), I("payment_terms_custom_date", null, { shouldDirty: !1 }), I("payment_reminder_id", "", { shouldDirty: !0 })) : t !== "once" && z === "custom" && (I("payment_terms_id", "", { shouldDirty: !0 }), I("payment_terms_custom_date", null, { shouldDirty: !1 })), e.onChange(t);
|
|
104
|
-
},
|
|
105
|
-
children: [/* @__PURE__ */ v(f, {
|
|
106
|
-
id: "frequency",
|
|
107
|
-
className: "ttw:w-31",
|
|
108
|
-
children: /* @__PURE__ */ v(p, {})
|
|
109
|
-
}), /* @__PURE__ */ y(l, { children: [
|
|
110
|
-
/* @__PURE__ */ v(u, {
|
|
111
|
-
value: "once",
|
|
112
|
-
children: A._("Once")
|
|
113
|
-
}),
|
|
114
|
-
/* @__PURE__ */ v(u, {
|
|
115
|
-
value: "day",
|
|
116
|
-
children: A._("Daily")
|
|
117
|
-
}),
|
|
118
|
-
/* @__PURE__ */ v(u, {
|
|
119
|
-
value: "week",
|
|
120
|
-
children: A._("Weekly")
|
|
121
|
-
}),
|
|
122
|
-
/* @__PURE__ */ v(u, {
|
|
123
|
-
value: "month",
|
|
124
|
-
children: A._("Monthly")
|
|
125
|
-
}),
|
|
126
|
-
/* @__PURE__ */ v(u, {
|
|
127
|
-
value: "quarter",
|
|
128
|
-
children: A._("Quarterly")
|
|
129
|
-
}),
|
|
130
|
-
/* @__PURE__ */ v(u, {
|
|
131
|
-
value: "year",
|
|
132
|
-
children: A._("Annually")
|
|
133
|
-
})
|
|
134
|
-
] })]
|
|
135
|
-
})
|
|
136
|
-
})
|
|
137
|
-
})
|
|
138
|
-
}),
|
|
139
|
-
(() => {
|
|
140
|
-
switch (R) {
|
|
141
|
-
case "once":
|
|
142
|
-
case "day":
|
|
143
|
-
case "quarter":
|
|
144
|
-
case "year":
|
|
145
|
-
default: return null;
|
|
146
|
-
case "month": return /* @__PURE__ */ y(_, { children: [
|
|
147
|
-
/* @__PURE__ */ v(r, {
|
|
148
|
-
variant: "body2",
|
|
149
|
-
color: "muted",
|
|
150
|
-
className: "ttw:text-nowrap",
|
|
151
|
-
children: A._("on the")
|
|
152
|
-
}),
|
|
153
|
-
/* @__PURE__ */ v(b, {
|
|
154
|
-
name: "recurrence_issue_mode",
|
|
155
|
-
control: M,
|
|
156
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ v(a, {
|
|
157
|
-
className: "ttw:w-fit",
|
|
158
|
-
children: /* @__PURE__ */ v(o, {
|
|
159
|
-
className: "ttw:grow-0",
|
|
160
|
-
children: /* @__PURE__ */ y(c, {
|
|
161
|
-
value: e.value,
|
|
162
|
-
disabled: O,
|
|
163
|
-
onValueChange: (t) => {
|
|
164
|
-
e.onChange(t), P("recurrence_issue_mode"), O || I("recurrence_start_date", void 0, { shouldDirty: !1 });
|
|
165
|
-
},
|
|
166
|
-
children: [/* @__PURE__ */ v(f, {
|
|
167
|
-
id: "recurrence_issue_mode",
|
|
168
|
-
className: "ttw:min-w-21 ttw:w-fit",
|
|
169
|
-
"aria-invalid": !!t,
|
|
170
|
-
children: /* @__PURE__ */ v(p, {})
|
|
171
|
-
}), /* @__PURE__ */ y(l, { children: [
|
|
172
|
-
/* @__PURE__ */ v(u, {
|
|
173
|
-
value: "first_day",
|
|
174
|
-
children: A._("First day")
|
|
175
|
-
}),
|
|
176
|
-
/* @__PURE__ */ v(u, {
|
|
177
|
-
value: "last_day",
|
|
178
|
-
children: A._("Last day")
|
|
179
|
-
}),
|
|
180
|
-
/* @__PURE__ */ v(d, {}),
|
|
181
|
-
T.map((e) => /* @__PURE__ */ v(u, {
|
|
182
|
-
value: String(e),
|
|
183
|
-
children: w(e)
|
|
184
|
-
}, e))
|
|
185
|
-
] })]
|
|
186
|
-
})
|
|
187
|
-
})
|
|
188
|
-
})
|
|
189
|
-
}),
|
|
190
|
-
/* @__PURE__ */ v(r, {
|
|
191
|
-
variant: "body2",
|
|
192
|
-
color: "muted",
|
|
193
|
-
className: "ttw:text-nowrap",
|
|
194
|
-
children: A._("day of every month")
|
|
195
|
-
})
|
|
196
|
-
] });
|
|
197
|
-
case "week": return /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(r, {
|
|
198
|
-
variant: "body2",
|
|
199
|
-
color: "muted",
|
|
200
|
-
children: A._("on")
|
|
201
|
-
}), /* @__PURE__ */ v(b, {
|
|
202
|
-
name: "recurrence_days_of_week",
|
|
203
|
-
control: M,
|
|
204
|
-
render: ({ field: t, fieldState: { error: n } }) => {
|
|
205
|
-
let r = t.value, i = (e) => {
|
|
206
|
-
O || r === e || (t.onChange(e), I("recurrence_start_date", ce(e), { shouldDirty: !0 }), P("recurrence_start_date"));
|
|
207
|
-
};
|
|
208
|
-
return /* @__PURE__ */ v(a, {
|
|
209
|
-
className: "ttw:w-fit",
|
|
210
|
-
children: /* @__PURE__ */ v(o, {
|
|
211
|
-
className: "ttw:grow-0",
|
|
212
|
-
children: /* @__PURE__ */ y("div", {
|
|
213
|
-
"aria-invalid": !!n,
|
|
214
|
-
"aria-disabled": O || void 0,
|
|
215
|
-
className: e("ttw:flex ttw:border ttw:border-border ttw:rounded-md ttw:h-8 ttw:w-56 ttw:aria-invalid:border-destructive", O && "ttw:opacity-50 ttw:pointer-events-none"),
|
|
216
|
-
children: [
|
|
217
|
-
/* @__PURE__ */ v("button", {
|
|
218
|
-
type: "button",
|
|
219
|
-
disabled: O,
|
|
220
|
-
"aria-pressed": r === "mo",
|
|
221
|
-
"data-active": r === "mo",
|
|
222
|
-
onClick: () => i("mo"),
|
|
223
|
-
className: "ttw:hover:cursor-pointer ttw:transition-colors ttw:hover:bg-muted ttw:data-[active=true]:bg-muted ttw:text-sm ttw:font-medium ttw:border-r ttw:border-border ttw:flex ttw:flex-1 ttw:items-center ttw:justify-center",
|
|
224
|
-
children: A._("Mo")
|
|
225
|
-
}),
|
|
226
|
-
/* @__PURE__ */ v("button", {
|
|
227
|
-
type: "button",
|
|
228
|
-
disabled: O,
|
|
229
|
-
"aria-pressed": r === "tu",
|
|
230
|
-
"data-active": r === "tu",
|
|
231
|
-
onClick: () => i("tu"),
|
|
232
|
-
className: "ttw:hover:cursor-pointer ttw:transition-colors ttw:hover:bg-muted ttw:data-[active=true]:bg-muted ttw:text-sm ttw:font-medium ttw:border-r ttw:border-border ttw:flex ttw:flex-1 ttw:items-center ttw:justify-center",
|
|
233
|
-
children: A._("Tu")
|
|
234
|
-
}),
|
|
235
|
-
/* @__PURE__ */ v("button", {
|
|
236
|
-
type: "button",
|
|
237
|
-
disabled: O,
|
|
238
|
-
"aria-pressed": r === "we",
|
|
239
|
-
"data-active": r === "we",
|
|
240
|
-
onClick: () => i("we"),
|
|
241
|
-
className: "ttw:hover:cursor-pointer ttw:transition-colors ttw:hover:bg-muted ttw:data-[active=true]:bg-muted ttw:text-sm ttw:font-medium ttw:border-r ttw:border-border ttw:flex ttw:flex-1 ttw:items-center ttw:justify-center",
|
|
242
|
-
children: A._("We")
|
|
243
|
-
}),
|
|
244
|
-
/* @__PURE__ */ v("button", {
|
|
245
|
-
type: "button",
|
|
246
|
-
disabled: O,
|
|
247
|
-
"aria-pressed": r === "th",
|
|
248
|
-
"data-active": r === "th",
|
|
249
|
-
onClick: () => i("th"),
|
|
250
|
-
className: "ttw:hover:cursor-pointer ttw:transition-colors ttw:hover:bg-muted ttw:data-[active=true]:bg-muted ttw:text-sm ttw:font-medium ttw:border-r ttw:border-border ttw:flex ttw:flex-1 ttw:items-center ttw:justify-center",
|
|
251
|
-
children: A._("Th")
|
|
252
|
-
}),
|
|
253
|
-
/* @__PURE__ */ v("button", {
|
|
254
|
-
type: "button",
|
|
255
|
-
disabled: O,
|
|
256
|
-
"aria-pressed": r === "fr",
|
|
257
|
-
"data-active": r === "fr",
|
|
258
|
-
onClick: () => i("fr"),
|
|
259
|
-
className: "ttw:hover:cursor-pointer ttw:transition-colors ttw:hover:bg-muted ttw:data-[active=true]:bg-muted ttw:text-sm ttw:font-medium ttw:border-r ttw:border-border ttw:flex ttw:flex-1 ttw:items-center ttw:justify-center",
|
|
260
|
-
children: A._("Fr")
|
|
261
|
-
}),
|
|
262
|
-
/* @__PURE__ */ v("button", {
|
|
263
|
-
type: "button",
|
|
264
|
-
disabled: O,
|
|
265
|
-
"aria-pressed": r === "sa",
|
|
266
|
-
"data-active": r === "sa",
|
|
267
|
-
onClick: () => i("sa"),
|
|
268
|
-
className: "ttw:hover:cursor-pointer ttw:transition-colors ttw:hover:bg-muted ttw:data-[active=true]:bg-muted ttw:text-sm ttw:font-medium ttw:border-r ttw:border-border ttw:flex ttw:flex-1 ttw:items-center ttw:justify-center",
|
|
269
|
-
children: A._("Sa")
|
|
270
|
-
}),
|
|
271
|
-
/* @__PURE__ */ v("button", {
|
|
272
|
-
type: "button",
|
|
273
|
-
disabled: O,
|
|
274
|
-
"aria-pressed": r === "su",
|
|
275
|
-
"data-active": r === "su",
|
|
276
|
-
onClick: () => i("su"),
|
|
277
|
-
className: "ttw:hover:cursor-pointer ttw:transition-colors ttw:hover:bg-muted ttw:data-[active=true]:bg-muted ttw:text-sm ttw:font-medium ttw:flex ttw:flex-1 ttw:items-center ttw:justify-center",
|
|
278
|
-
children: A._("Su")
|
|
279
|
-
})
|
|
280
|
-
]
|
|
281
|
-
})
|
|
282
|
-
})
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
})] });
|
|
286
|
-
}
|
|
287
|
-
})()
|
|
288
|
-
]
|
|
289
|
-
}),
|
|
290
|
-
R !== "once" && /* @__PURE__ */ y("div", {
|
|
291
|
-
className: "ttw:flex ttw:items-center ttw:gap-2.5",
|
|
292
|
-
children: [
|
|
293
|
-
/* @__PURE__ */ v(r, {
|
|
294
|
-
variant: "body2",
|
|
295
|
-
color: "muted",
|
|
296
|
-
className: "ttw:text-nowrap",
|
|
297
|
-
children: A._("Start on")
|
|
298
|
-
}),
|
|
299
|
-
/* @__PURE__ */ v(b, {
|
|
300
|
-
control: M,
|
|
301
|
-
name: "recurrence_start_date",
|
|
302
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ v(a, {
|
|
303
|
-
className: "ttw:grow-0 ttw:w-44",
|
|
304
|
-
children: /* @__PURE__ */ v(o, { children: /* @__PURE__ */ v(m, {
|
|
305
|
-
...e,
|
|
306
|
-
selected: e.value ? new Date(e.value) : void 0,
|
|
307
|
-
onSelect: e.onChange,
|
|
308
|
-
showOutsideDays: !1,
|
|
309
|
-
shouldDisableButton: O || R === "week" && !H,
|
|
310
|
-
disabled: he,
|
|
311
|
-
"aria-invalid": !!t,
|
|
312
|
-
startMonth: /* @__PURE__ */ new Date(),
|
|
313
|
-
endMonth: q ? new Date(q.getFullYear(), q.getMonth(), 1) : new Date(2050, 11)
|
|
314
|
-
}) })
|
|
315
|
-
})
|
|
316
|
-
}),
|
|
317
|
-
(() => {
|
|
318
|
-
switch (R) {
|
|
319
|
-
case "once":
|
|
320
|
-
default: return null;
|
|
321
|
-
case "day": return /* @__PURE__ */ y(_, { children: [
|
|
322
|
-
/* @__PURE__ */ v(r, {
|
|
323
|
-
variant: "body2",
|
|
324
|
-
color: "muted",
|
|
325
|
-
className: "ttw:text-nowrap",
|
|
326
|
-
children: A._("and end")
|
|
327
|
-
}),
|
|
328
|
-
/* @__PURE__ */ v(b, {
|
|
329
|
-
name: "recurrence_end_mode",
|
|
330
|
-
control: M,
|
|
331
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ v(a, {
|
|
332
|
-
className: "ttw:w-fit",
|
|
333
|
-
children: /* @__PURE__ */ v(o, {
|
|
334
|
-
className: "ttw:grow-0",
|
|
335
|
-
children: /* @__PURE__ */ y(c, {
|
|
336
|
-
value: e.value,
|
|
337
|
-
onValueChange: (t) => {
|
|
338
|
-
e.onChange(t), I(t === "after" ? "recurrence_end_date" : "recurrence_max_occurrences", void 0, { shouldDirty: !1 });
|
|
339
|
-
},
|
|
340
|
-
children: [/* @__PURE__ */ v(f, {
|
|
341
|
-
id: "recurrence_end_mode",
|
|
342
|
-
className: "ttw:w-21",
|
|
343
|
-
"aria-invalid": !!t,
|
|
344
|
-
children: /* @__PURE__ */ v(p, {})
|
|
345
|
-
}), /* @__PURE__ */ y(l, { children: [/* @__PURE__ */ v(u, {
|
|
346
|
-
value: "after",
|
|
347
|
-
children: A._("After")
|
|
348
|
-
}), /* @__PURE__ */ v(u, {
|
|
349
|
-
value: "on",
|
|
350
|
-
children: A._("On")
|
|
351
|
-
})] })]
|
|
352
|
-
})
|
|
353
|
-
})
|
|
354
|
-
})
|
|
355
|
-
}),
|
|
356
|
-
V === "on" ? /* @__PURE__ */ v(b, {
|
|
357
|
-
control: M,
|
|
358
|
-
name: "recurrence_end_date",
|
|
359
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ v(a, {
|
|
360
|
-
className: "ttw:grow-0 ttw:w-44",
|
|
361
|
-
children: /* @__PURE__ */ v(o, { children: /* @__PURE__ */ v(m, {
|
|
362
|
-
...e,
|
|
363
|
-
selected: e.value ? new Date(e.value) : void 0,
|
|
364
|
-
onSelect: e.onChange,
|
|
365
|
-
showOutsideDays: !1,
|
|
366
|
-
disabled: me,
|
|
367
|
-
"aria-invalid": !!t,
|
|
368
|
-
startMonth: G ? new Date(G.getFullYear(), G.getMonth(), 1) : /* @__PURE__ */ new Date(),
|
|
369
|
-
endMonth: new Date(2050, 11)
|
|
370
|
-
}) })
|
|
371
|
-
})
|
|
372
|
-
}) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(b, {
|
|
373
|
-
name: "recurrence_max_occurrences",
|
|
374
|
-
control: M,
|
|
375
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ v(a, {
|
|
376
|
-
className: "ttw:w-fit",
|
|
377
|
-
children: /* @__PURE__ */ v(o, {
|
|
378
|
-
className: "ttw:grow-0",
|
|
379
|
-
children: /* @__PURE__ */ v(n, {
|
|
380
|
-
...e,
|
|
381
|
-
className: "ttw:w-16",
|
|
382
|
-
value: e.value ?? "",
|
|
383
|
-
type: "number",
|
|
384
|
-
min: 0,
|
|
385
|
-
max: 1e3,
|
|
386
|
-
onKeyDown: C,
|
|
387
|
-
"aria-invalid": !!t
|
|
388
|
-
})
|
|
389
|
-
})
|
|
390
|
-
})
|
|
391
|
-
}), /* @__PURE__ */ v(r, {
|
|
392
|
-
variant: "body2",
|
|
393
|
-
color: "muted",
|
|
394
|
-
className: "ttw:text-nowrap",
|
|
395
|
-
children: U ? A._("day") : A._("days")
|
|
396
|
-
})] })
|
|
397
|
-
] });
|
|
398
|
-
case "month":
|
|
399
|
-
case "quarter":
|
|
400
|
-
case "year":
|
|
401
|
-
case "week": return /* @__PURE__ */ y(_, { children: [
|
|
402
|
-
/* @__PURE__ */ v(r, {
|
|
403
|
-
variant: "body2",
|
|
404
|
-
color: "muted",
|
|
405
|
-
className: "ttw:text-nowrap",
|
|
406
|
-
children: A._("and end after")
|
|
407
|
-
}),
|
|
408
|
-
/* @__PURE__ */ v(b, {
|
|
409
|
-
name: "recurrence_max_occurrences",
|
|
410
|
-
control: M,
|
|
411
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ v(a, {
|
|
412
|
-
className: "ttw:w-fit",
|
|
413
|
-
children: /* @__PURE__ */ v(o, {
|
|
414
|
-
className: "ttw:grow-0",
|
|
415
|
-
children: /* @__PURE__ */ v(n, {
|
|
416
|
-
...e,
|
|
417
|
-
className: "ttw:w-16",
|
|
418
|
-
value: e.value ?? "",
|
|
419
|
-
type: "number",
|
|
420
|
-
min: 0,
|
|
421
|
-
max: 1e3,
|
|
422
|
-
onKeyDown: C,
|
|
423
|
-
"aria-invalid": !!t
|
|
424
|
-
})
|
|
425
|
-
})
|
|
426
|
-
})
|
|
427
|
-
}),
|
|
428
|
-
/* @__PURE__ */ y(r, {
|
|
429
|
-
variant: "body2",
|
|
430
|
-
color: "muted",
|
|
431
|
-
className: "ttw:text-nowrap",
|
|
432
|
-
children: [
|
|
433
|
-
R === "month" && (U ? A._("month") : A._("months")),
|
|
434
|
-
R === "quarter" && (U ? A._("quarter") : A._("quarters")),
|
|
435
|
-
R === "week" && (U ? A._("week") : A._("weeks")),
|
|
436
|
-
R === "year" && (U ? A._("year") : A._("years"))
|
|
437
|
-
]
|
|
438
|
-
})
|
|
439
|
-
] });
|
|
440
|
-
}
|
|
441
|
-
})()
|
|
442
|
-
]
|
|
443
|
-
}),
|
|
444
|
-
L.recurrence_max_occurrences && /* @__PURE__ */ v(s, { errors: [L.recurrence_max_occurrences] }),
|
|
445
|
-
/* @__PURE__ */ v(g, {
|
|
446
|
-
open: fe,
|
|
447
|
-
onOpenChange: J,
|
|
448
|
-
labels: ue
|
|
449
|
-
}),
|
|
450
|
-
[
|
|
451
|
-
"month",
|
|
452
|
-
"quarter",
|
|
453
|
-
"year"
|
|
454
|
-
].includes(R) && /* @__PURE__ */ v(r, {
|
|
455
|
-
variant: "caption",
|
|
456
|
-
color: "muted",
|
|
457
|
-
children: A._("If the issue day doesn't exist in a given month, e.g., the 31st, then the invoice will be sent on the last day of that month.")
|
|
458
|
-
}),
|
|
459
|
-
R !== "once" && /* @__PURE__ */ y("div", {
|
|
460
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:pt-1.5",
|
|
461
|
-
children: [
|
|
462
|
-
/* @__PURE__ */ v(i, {
|
|
463
|
-
htmlFor: "recurrence_automation_level",
|
|
464
|
-
children: /* @__PURE__ */ y(r, {
|
|
465
|
-
variant: "body2",
|
|
466
|
-
component: "span",
|
|
467
|
-
className: "ttw:block",
|
|
468
|
-
children: [
|
|
469
|
-
j.creationModeQuestion,
|
|
470
|
-
" ",
|
|
471
|
-
/* @__PURE__ */ v(r, {
|
|
472
|
-
variant: "body2",
|
|
473
|
-
component: "span",
|
|
474
|
-
color: "muted",
|
|
475
|
-
children: j.creationModeHint
|
|
476
|
-
})
|
|
477
|
-
]
|
|
478
|
-
})
|
|
479
|
-
}),
|
|
480
|
-
/* @__PURE__ */ v(b, {
|
|
481
|
-
name: "recurrence_automation_level",
|
|
482
|
-
control: M,
|
|
483
|
-
render: ({ field: e }) => /* @__PURE__ */ y(c, {
|
|
484
|
-
value: Y,
|
|
485
|
-
onValueChange: (t) => {
|
|
486
|
-
e.onChange(t);
|
|
487
|
-
let [n, r, i, a, o] = F([
|
|
488
|
-
"recurrence_subject_text",
|
|
489
|
-
"recurrence_body_text",
|
|
490
|
-
"recurrence_recipients_to",
|
|
491
|
-
"recurrence_recipients_cc",
|
|
492
|
-
"recurrence_recipients_bcc"
|
|
493
|
-
]);
|
|
494
|
-
t === "issue_and_send" && !ne({
|
|
495
|
-
to: i,
|
|
496
|
-
cc: a,
|
|
497
|
-
bcc: o,
|
|
498
|
-
subject: n,
|
|
499
|
-
body: r
|
|
500
|
-
}) && J(!0);
|
|
501
|
-
},
|
|
502
|
-
children: [/* @__PURE__ */ v(f, {
|
|
503
|
-
id: "recurrence_automation_level",
|
|
504
|
-
"aria-invalid": !!Q,
|
|
505
|
-
"aria-describedby": Q ? x : void 0,
|
|
506
|
-
className: "ttw:h-auto! ttw:w-full ttw:py-2.5 ttw:*:data-[slot=select-value]:line-clamp-none",
|
|
507
|
-
children: /* @__PURE__ */ v(p, {})
|
|
508
|
-
}), /* @__PURE__ */ v(l, { children: ee.map(({ value: e, Icon: t }) => /* @__PURE__ */ v(u, {
|
|
509
|
-
value: e,
|
|
510
|
-
children: /* @__PURE__ */ v(le, {
|
|
511
|
-
Icon: t,
|
|
512
|
-
...j.creationModes[e]
|
|
513
|
-
})
|
|
514
|
-
}, e)) })]
|
|
515
|
-
})
|
|
516
|
-
}),
|
|
517
|
-
X && /* @__PURE__ */ y("div", {
|
|
518
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
519
|
-
children: [/* @__PURE__ */ v(r, {
|
|
520
|
-
variant: "body2",
|
|
521
|
-
color: "muted",
|
|
522
|
-
className: "ttw:truncate",
|
|
523
|
-
children: pe
|
|
524
|
-
}), /* @__PURE__ */ v(t, {
|
|
525
|
-
type: "button",
|
|
526
|
-
variant: "link",
|
|
527
|
-
className: "ttw:h-auto ttw:p-0",
|
|
528
|
-
onClick: () => J(!0),
|
|
529
|
-
children: j.setUpEmail
|
|
530
|
-
})]
|
|
531
|
-
}),
|
|
532
|
-
Q && /* @__PURE__ */ v(s, {
|
|
533
|
-
id: x,
|
|
534
|
-
errors: [Q]
|
|
535
|
-
})
|
|
536
|
-
]
|
|
537
|
-
})
|
|
538
|
-
]
|
|
7
|
+
var a = (a, o) => {
|
|
8
|
+
let { api: s, queryClient: c } = t(), { i18n: l } = i();
|
|
9
|
+
return s.finops.postMeasureUnits.useMutation({}, {
|
|
10
|
+
onSuccess: async (e) => {
|
|
11
|
+
await s.finops.getMeasureUnits.invalidateQueries(c), r.success(n(l._("Unit {name} was added to the list", { name: "\0" }), e.name)), a?.();
|
|
12
|
+
},
|
|
13
|
+
onError: async (t) => {
|
|
14
|
+
let n = e(l, t);
|
|
15
|
+
if (n.includes("already exists")) {
|
|
16
|
+
o?.(n);
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
r.error(n);
|
|
20
|
+
}
|
|
539
21
|
});
|
|
540
|
-
}
|
|
541
|
-
className: "ttw:flex ttw:items-center ttw:gap-3",
|
|
542
|
-
children: [/* @__PURE__ */ v(e, { className: "ttw:size-5 ttw:shrink-0 ttw:text-muted-foreground" }), /* @__PURE__ */ y("div", {
|
|
543
|
-
className: "ttw:flex ttw:flex-col ttw:text-left",
|
|
544
|
-
children: [/* @__PURE__ */ v(r, {
|
|
545
|
-
variant: "body2",
|
|
546
|
-
children: t
|
|
547
|
-
}), /* @__PURE__ */ v(r, {
|
|
548
|
-
variant: "body2",
|
|
549
|
-
color: "muted",
|
|
550
|
-
children: n
|
|
551
|
-
})]
|
|
552
|
-
})]
|
|
553
|
-
});
|
|
22
|
+
};
|
|
554
23
|
//#endregion
|
|
555
|
-
export {
|
|
24
|
+
export { a as useCreateMeasureUnit };
|
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { getAPIErrorMessage as e } from "./index27.js";
|
|
2
|
+
import { useMoniteContext as t } from "./index46.js";
|
|
3
|
+
import { messageWithTruncatedName as n } from "./index471.js";
|
|
4
|
+
import { toast as r } from "react-hot-toast";
|
|
5
|
+
import { useLingui as i } from "@lingui/react";
|
|
5
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
var a = (a, o, s) => {
|
|
8
|
+
let { api: c, queryClient: l } = t(), { i18n: u } = i();
|
|
9
|
+
return c.finops.patchMeasureUnitsId.useMutation({ path: { unit_id: a } }, {
|
|
10
|
+
onSuccess: async (e) => {
|
|
11
|
+
await Promise.all([c.finops.getMeasureUnits.invalidateQueries(l), c.finops.getMeasureUnitsId.invalidateQueries({ parameters: { path: { unit_id: a } } }, l)]), r.success(n(u._("Unit {name} was updated", { name: "\0" }), e.name)), o?.();
|
|
12
|
+
},
|
|
13
|
+
onError: (t) => {
|
|
14
|
+
let n = e(u, t);
|
|
15
|
+
if (n.includes("already exists")) {
|
|
16
|
+
s?.(n);
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
r.error(n);
|
|
20
|
+
}
|
|
16
21
|
});
|
|
17
|
-
}
|
|
22
|
+
};
|
|
18
23
|
//#endregion
|
|
19
|
-
export {
|
|
24
|
+
export { a as useUpdateMeasureUnit };
|