@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,54 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useMoniteContext as t } from "./index46.js";
|
|
3
|
-
import { useEntitySettings as n, usePatchEntitiesIdSettings as r } from "./index142.js";
|
|
4
|
-
import "./index144.js";
|
|
5
|
-
import { toast as i } from "react-hot-toast";
|
|
6
|
-
import { useLingui as a } from "@lingui/react";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js
|
|
8
|
-
var o = ({ setNameError: o, onTagCreated: s, onTagUpdated: c }) => {
|
|
9
|
-
let { i18n: l } = a(), { api: u, queryClient: d } = t(), { data: f } = n(), { mutateAsync: p } = r(), m = f?.payables_ocr_auto_tagging || [], h = u.finops.postTags.useMutation({}, {
|
|
10
|
-
onSuccess: () => u.finops.getTags.invalidateQueries(d),
|
|
11
|
-
onError: (t) => {
|
|
12
|
-
let n = e(l, t);
|
|
13
|
-
n === "This tag already exists." ? o?.(n) : i.error(n);
|
|
14
|
-
}
|
|
15
|
-
}), g = u.finops.patchTagsId.useMutation(void 0, {
|
|
16
|
-
onSuccess: (e) => {
|
|
17
|
-
Promise.all([u.finops.getTags.invalidateQueries(d), u.finops.getTagsId.invalidateQueries({ parameters: { path: { tag_id: e.id } } }, d)]), c?.(e);
|
|
18
|
-
},
|
|
19
|
-
onError: (t) => {
|
|
20
|
-
i.error(e(l, t));
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
return {
|
|
24
|
-
tagsWithKeywords: Object.fromEntries(m.map((e) => [e.tag_id, e.keywords])),
|
|
25
|
-
inProgress: h.isPending || g.isPending,
|
|
26
|
-
createTag: (e) => h.mutateAsync({ ...e }, { onSuccess: (e) => s?.(e) }),
|
|
27
|
-
updateTag: (e, t) => g.mutateAsync({
|
|
28
|
-
path: { tag_id: e },
|
|
29
|
-
body: t
|
|
30
|
-
}),
|
|
31
|
-
updateOcrAutoTagging: (e, t = []) => {
|
|
32
|
-
let n = m.filter((t) => t.tag_id !== e);
|
|
33
|
-
if (n.length === m.length && !t.length) return;
|
|
34
|
-
let r = t.length ? [...n, {
|
|
35
|
-
tag_id: e,
|
|
36
|
-
keywords: [...new Set(t)],
|
|
37
|
-
enabled: !0
|
|
38
|
-
}] : n;
|
|
39
|
-
r.length && p({
|
|
40
|
-
tax_mode: f.tax_mode,
|
|
41
|
-
payment_priority: f.payment_priority,
|
|
42
|
-
quote_signature_required: f.quote_signature_required,
|
|
43
|
-
receivable_edit_flow: f.receivable_edit_flow,
|
|
44
|
-
allow_purchase_order_autolinking: f.allow_purchase_order_autolinking,
|
|
45
|
-
generate_paid_invoice_pdf: f.generate_paid_invoice_pdf,
|
|
46
|
-
payables_ocr_auto_tagging: r,
|
|
47
|
-
payables_skip_approval_flow: f.payables_skip_approval_flow,
|
|
48
|
-
tax_inclusive_discount_mode: f.tax_inclusive_discount_mode
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
//#endregion
|
|
54
|
-
export { o as useTags };
|
|
1
|
+
import "./index305.js";
|
|
@@ -1,66 +1,160 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { useMoniteContext as e } from "./index46.js";
|
|
2
|
+
import { getCounterpartName as t } from "./index52.js";
|
|
3
|
+
import { useDialog as n } from "./index234.js";
|
|
4
|
+
import "./index235.js";
|
|
5
|
+
import { useApprovalPolicyTrigger as r } from "./index271.js";
|
|
6
|
+
import { User as i } from "./index268.js";
|
|
7
|
+
import "./index269.js";
|
|
8
|
+
import { useApprovalPolicyScript as a } from "./index279.js";
|
|
9
|
+
import { Role as o } from "./index281.js";
|
|
10
|
+
import "./index282.js";
|
|
11
|
+
import { DialogFooter as s } from "./index303.js";
|
|
12
|
+
import "./index304.js";
|
|
13
|
+
import { DialogHeader as c } from "./index305.js";
|
|
14
|
+
import "./index310.js";
|
|
15
|
+
import { Fragment as l, jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
16
|
+
import { toast as f } from "react-hot-toast";
|
|
17
|
+
import { Chip as p, DialogContent as m, Paper as h, Stack as g, Table as _, TableBody as v, TableCell as y, TableHead as b, TableRow as x, Typography as S } from "@mui/material";
|
|
18
|
+
import { Trans as C, useLingui as w } from "@lingui/react";
|
|
7
19
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}),
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
20
|
+
var T = ({ approvalPolicy: T, setIsEdit: E }) => {
|
|
21
|
+
let { i18n: D } = w(), O = n(), { api: k, queryClient: A } = e(), { triggers: j, getTriggerLabel: M, getAmountLabel: N } = r({ approvalPolicy: T }), { rules: P, getRuleLabel: F } = a({ approvalPolicy: T }), { data: I } = k.finops.getCounterparts.useQuery({ query: { id__in: Array.isArray(j?.counterpart_id) ? j.counterpart_id : [] } }, { enabled: !!j?.counterpart_id?.length }), L = k.finops.deleteApprovalPoliciesId.useMutation(void 0, { onSuccess: async () => {
|
|
22
|
+
await Promise.all([k.finops.getApprovalPolicies.invalidateQueries(A), k.finops.getApprovalPoliciesId.invalidateQueries({ parameters: { path: { approval_policy_id: T.id } } }, A)]), f.success(D._("Approval policy has been deleted"));
|
|
23
|
+
} }), R = Object.keys(j).map((e) => {
|
|
24
|
+
let n = M(e), r;
|
|
25
|
+
switch (e) {
|
|
26
|
+
case "was_created_by_user_id":
|
|
27
|
+
Array.isArray(j[e]) && (r = /* @__PURE__ */ u(g, {
|
|
28
|
+
direction: "row",
|
|
29
|
+
gap: 1,
|
|
30
|
+
sx: { flexWrap: "wrap" },
|
|
31
|
+
children: j[e].map((e) => /* @__PURE__ */ u(i, { userId: e }, e))
|
|
32
|
+
}));
|
|
33
|
+
break;
|
|
34
|
+
case "counterpart_id":
|
|
35
|
+
r = /* @__PURE__ */ u(g, {
|
|
36
|
+
direction: "row",
|
|
37
|
+
gap: 1,
|
|
38
|
+
sx: { flexWrap: "wrap" },
|
|
39
|
+
children: I?.data.map((e) => /* @__PURE__ */ u(p, { label: t(e) }, e.id))
|
|
40
|
+
});
|
|
41
|
+
break;
|
|
42
|
+
case "amount":
|
|
43
|
+
r = /* @__PURE__ */ u("p", { children: N(j.amount?.value ?? [], j.amount?.currency ?? "EUR") });
|
|
44
|
+
break;
|
|
45
|
+
default: r = e;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
label: n,
|
|
49
|
+
value: r
|
|
50
|
+
};
|
|
51
|
+
}), z = P && Object.keys(P)?.map((e) => {
|
|
52
|
+
if (!P[e]) return null;
|
|
53
|
+
switch (e) {
|
|
54
|
+
case "single_user": return {
|
|
55
|
+
label: F(e),
|
|
56
|
+
value: /* @__PURE__ */ u(i, { userId: P[e].userId })
|
|
57
|
+
};
|
|
58
|
+
case "users_from_list": return {
|
|
59
|
+
label: F(e, P[e].count),
|
|
60
|
+
value: /* @__PURE__ */ u(g, {
|
|
61
|
+
direction: "column",
|
|
62
|
+
gap: 1,
|
|
63
|
+
sx: { flexWrap: "wrap" },
|
|
64
|
+
children: P[e].userIds?.map((e) => /* @__PURE__ */ u(i, { userId: e }, e))
|
|
65
|
+
})
|
|
66
|
+
};
|
|
67
|
+
case "roles_from_list": return {
|
|
68
|
+
label: F(e),
|
|
69
|
+
value: /* @__PURE__ */ u(g, {
|
|
70
|
+
direction: "row",
|
|
71
|
+
gap: 1,
|
|
72
|
+
sx: { flexWrap: "wrap" },
|
|
73
|
+
children: P[e].roleIds?.map((e) => /* @__PURE__ */ u(o, {
|
|
74
|
+
roleId: e,
|
|
75
|
+
quoted: !0
|
|
76
|
+
}, e))
|
|
77
|
+
})
|
|
78
|
+
};
|
|
79
|
+
case "approval_chain": return {
|
|
80
|
+
label: F(e),
|
|
81
|
+
value: /* @__PURE__ */ u(g, {
|
|
82
|
+
direction: "column",
|
|
83
|
+
spacing: .5,
|
|
84
|
+
children: P[e].chainUserIds?.map((e) => e ? /* @__PURE__ */ u(i, { userId: e }, e) : null)
|
|
85
|
+
})
|
|
86
|
+
};
|
|
87
|
+
}
|
|
43
88
|
});
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
89
|
+
return /* @__PURE__ */ d(l, { children: [
|
|
90
|
+
/* @__PURE__ */ u(c, {
|
|
91
|
+
title: T?.name,
|
|
92
|
+
closeButtonTooltip: D._("Close approval policy details")
|
|
93
|
+
}),
|
|
94
|
+
/* @__PURE__ */ d(m, { children: [
|
|
95
|
+
/* @__PURE__ */ u(S, {
|
|
96
|
+
variant: "h5",
|
|
97
|
+
mt: 2,
|
|
98
|
+
mb: 1,
|
|
99
|
+
children: D._("Description")
|
|
100
|
+
}),
|
|
101
|
+
T?.description && /* @__PURE__ */ u(S, {
|
|
102
|
+
variant: "body1",
|
|
103
|
+
children: T.description
|
|
104
|
+
}),
|
|
105
|
+
/* @__PURE__ */ u(S, {
|
|
106
|
+
variant: "h5",
|
|
107
|
+
mt: 4,
|
|
108
|
+
mb: 1,
|
|
109
|
+
children: D._("Conditions")
|
|
110
|
+
}),
|
|
111
|
+
/* @__PURE__ */ u(S, {
|
|
112
|
+
variant: "body1",
|
|
113
|
+
mb: 1,
|
|
114
|
+
children: /* @__PURE__ */ u(C, {
|
|
115
|
+
id: "INKhSX",
|
|
116
|
+
components: { 0: /* @__PURE__ */ u("strong", {}) }
|
|
117
|
+
})
|
|
118
|
+
}),
|
|
119
|
+
/* @__PURE__ */ u(h, {
|
|
120
|
+
variant: "outlined",
|
|
121
|
+
children: /* @__PURE__ */ d(_, { children: [/* @__PURE__ */ u(b, { children: /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: D._("Condition") }), /* @__PURE__ */ u(y, { children: D._("Criteria") })] }) }), /* @__PURE__ */ u(v, { children: R.length > 0 ? R.map((e) => /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: e.label }), /* @__PURE__ */ u(y, { children: e.value })] }, e.label)) : /* @__PURE__ */ u(x, { children: /* @__PURE__ */ u(y, {
|
|
122
|
+
colSpan: 2,
|
|
123
|
+
children: D._("No conditions")
|
|
124
|
+
}) }) })] })
|
|
125
|
+
}),
|
|
126
|
+
/* @__PURE__ */ u(S, {
|
|
127
|
+
variant: "h5",
|
|
128
|
+
mt: 4,
|
|
129
|
+
mb: 1,
|
|
130
|
+
children: D._("Approval flow")
|
|
131
|
+
}),
|
|
132
|
+
/* @__PURE__ */ u(S, {
|
|
133
|
+
variant: "body1",
|
|
134
|
+
mb: 1,
|
|
135
|
+
children: D._("Who needs to approve the document and how:")
|
|
136
|
+
}),
|
|
137
|
+
/* @__PURE__ */ u(h, {
|
|
138
|
+
variant: "outlined",
|
|
139
|
+
children: /* @__PURE__ */ d(_, { children: [/* @__PURE__ */ u(b, { children: /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: D._("Approval type") }), /* @__PURE__ */ u(y, { children: D._("Users or Roles") })] }) }), /* @__PURE__ */ u(v, { children: z && z.length > 0 ? z.map((e) => /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: e?.label }), /* @__PURE__ */ u(y, { children: e?.value })] }, e?.label)) : /* @__PURE__ */ u(x, { children: /* @__PURE__ */ u(y, {
|
|
140
|
+
colSpan: 2,
|
|
141
|
+
children: D._("No rules")
|
|
142
|
+
}) }) })] })
|
|
143
|
+
})
|
|
144
|
+
] }),
|
|
145
|
+
/* @__PURE__ */ u(s, {
|
|
146
|
+
primaryButton: {
|
|
147
|
+
label: D._("Edit"),
|
|
148
|
+
onClick: () => E(!0)
|
|
149
|
+
},
|
|
150
|
+
deleteButton: {
|
|
151
|
+
onClick: () => {
|
|
152
|
+
L.mutate({ path: { approval_policy_id: T.id } }, { onSuccess: () => O?.onClose?.() });
|
|
153
|
+
},
|
|
154
|
+
isLoading: L.isPending
|
|
155
|
+
}
|
|
156
|
+
})
|
|
157
|
+
] });
|
|
158
|
+
};
|
|
65
159
|
//#endregion
|
|
66
|
-
export {
|
|
160
|
+
export { T as ApprovalPolicyView };
|
|
@@ -1,60 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Button as t } from "./index55.js";
|
|
3
|
-
import { Badge as n } from "./index228.js";
|
|
4
|
-
import * as r from "react";
|
|
5
|
-
import { XIcon as i } from "lucide-react";
|
|
6
|
-
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js
|
|
8
|
-
var s = ({ className: s, value: c, onChange: l, onPendingChange: u, ref: d, ...f }) => {
|
|
9
|
-
let [p, m] = r.useState(""), h = (e) => {
|
|
10
|
-
m(e), u?.(e);
|
|
11
|
-
};
|
|
12
|
-
r.useEffect(() => {
|
|
13
|
-
if (p.includes(",")) {
|
|
14
|
-
let e = /* @__PURE__ */ new Set([...c, ...p.split(",").map((e) => e.trim())]);
|
|
15
|
-
l(Array.from(e)), m(""), u?.("");
|
|
16
|
-
}
|
|
17
|
-
}, [
|
|
18
|
-
p,
|
|
19
|
-
l,
|
|
20
|
-
u,
|
|
21
|
-
c
|
|
22
|
-
]);
|
|
23
|
-
let g = () => {
|
|
24
|
-
let e = p.trim();
|
|
25
|
-
if (e) {
|
|
26
|
-
let t = /* @__PURE__ */ new Set([...c, e]);
|
|
27
|
-
l(Array.from(t)), h("");
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
return /* @__PURE__ */ o("div", {
|
|
31
|
-
className: e("ttw:has-[:focus-visible]:ttw:outline-none ttw:has-[:focus-visible]:ttw:ring-2 ttw:has-[:focus-visible]:ttw:ring-neutral-950 ttw:has-[:focus-visible]:ttw:ring-offset-2 dark:ttw:has-[:focus-visible]:ttw:ring-neutral-300 ttw:min-h-10 ttw:flex ttw:w-full ttw:flex-wrap ttw:gap-2 ttw:rounded-md ttw:border ttw:border-neutral-200 ttw:bg-white ttw:px-3 ttw:py-2 ttw:text-sm ttw:ring-offset-white ttw:disabled:ttw:cursor-not-allowed ttw:disabled:ttw:opacity-50 dark:ttw:border-neutral-800 dark:ttw:bg-neutral-950 dark:ttw:ring-offset-neutral-950", s),
|
|
32
|
-
children: [c.map((e) => /* @__PURE__ */ o(n, {
|
|
33
|
-
variant: "secondary",
|
|
34
|
-
children: [e, /* @__PURE__ */ a(t, {
|
|
35
|
-
variant: "ghost",
|
|
36
|
-
size: "icon",
|
|
37
|
-
className: "ttw:ml-2 ttw:h-3 ttw:w-3",
|
|
38
|
-
onClick: () => {
|
|
39
|
-
l(c.filter((t) => t !== e));
|
|
40
|
-
},
|
|
41
|
-
children: /* @__PURE__ */ a(i, { className: "ttw:w-3" })
|
|
42
|
-
})]
|
|
43
|
-
}, e)), /* @__PURE__ */ a("input", {
|
|
44
|
-
className: "ttw:flex-1 ttw:outline-none ttw:placeholder:ttw:text-neutral-500 dark:ttw:placeholder:ttw:text-neutral-400",
|
|
45
|
-
value: p,
|
|
46
|
-
onChange: (e) => h(e.target.value),
|
|
47
|
-
onKeyDown: (e) => {
|
|
48
|
-
e.key === "Enter" || e.key === "," ? (e.preventDefault(), g()) : e.key === "Backspace" && p.length === 0 && c.length > 0 && (e.preventDefault(), l(c.slice(0, -1)));
|
|
49
|
-
},
|
|
50
|
-
...f,
|
|
51
|
-
onBlur: (e) => {
|
|
52
|
-
g(), f.onBlur?.(e);
|
|
53
|
-
},
|
|
54
|
-
ref: d
|
|
55
|
-
})]
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
s.displayName = "InputTags";
|
|
59
|
-
//#endregion
|
|
60
|
-
export { s as InputTags };
|
|
1
|
+
import "./index311.js";
|
|
@@ -1,169 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { InputTags as w } from "./index312.js";
|
|
12
|
-
import { useEffect as T, useId as E } from "react";
|
|
13
|
-
import { z as D } from "zod";
|
|
14
|
-
import { Fragment as O, jsx as k, jsxs as A } from "@emotion/react/jsx-runtime";
|
|
15
|
-
import { toast as j } from "react-hot-toast";
|
|
16
|
-
import { useLingui as M } from "@lingui/react";
|
|
17
|
-
import { useForm as N } from "react-hook-form";
|
|
18
|
-
import { zodResolver as P } from "@hookform/resolvers/zod";
|
|
1
|
+
import { useApprovalPolicyById as e } from "./index136.js";
|
|
2
|
+
import "./index144.js";
|
|
3
|
+
import { LoadingPage as t } from "./index264.js";
|
|
4
|
+
import "./index265.js";
|
|
5
|
+
import { ApprovalPolicyForm as n } from "./index308.js";
|
|
6
|
+
import "./index309.js";
|
|
7
|
+
import { ApprovalPolicyView as r } from "./index311.js";
|
|
8
|
+
import "./index312.js";
|
|
9
|
+
import { useState as i } from "react";
|
|
10
|
+
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
19
11
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
})
|
|
33
|
-
T(() => {
|
|
34
|
-
let e = [];
|
|
35
|
-
r?.keywords && (Array.isArray(r.keywords) ? e = r.keywords : typeof r.keywords == "string" && (e = r.keywords.split(",").map((e) => e.trim()).filter(Boolean))), K({
|
|
36
|
-
name: r?.name || "",
|
|
37
|
-
category: r?.category || "",
|
|
38
|
-
keywords: e
|
|
39
|
-
});
|
|
40
|
-
}, [K, r]);
|
|
41
|
-
let { createTag: J, updateTag: Y, inProgress: X, updateOcrAutoTagging: Z } = _({
|
|
42
|
-
setNameError: (e) => {
|
|
43
|
-
q("name", {
|
|
44
|
-
type: "custom",
|
|
45
|
-
message: e
|
|
46
|
-
});
|
|
47
|
-
},
|
|
48
|
-
onTagCreated: (e) => {
|
|
49
|
-
j.success(V._("New tag “{createdTagName}” created", { createdTagName: e.name })), D?.(e), R?.(), K();
|
|
50
|
-
},
|
|
51
|
-
onTagUpdated: (e) => {
|
|
52
|
-
r && j.success(r.name === e.name ? V._("Tag “{tagName}” was updated”", { tagName: r.name }) : V._("Tag “{tagName}” renamed to “{updatedTagName}”", {
|
|
53
|
-
tagName: r.name,
|
|
54
|
-
updatedTagName: e.name
|
|
55
|
-
})), I?.(e), R?.(), K();
|
|
56
|
-
}
|
|
57
|
-
}), { root: Q } = n(), $ = `Monite-Form-tag-${E()}`;
|
|
58
|
-
return /* @__PURE__ */ k(O, { children: /* @__PURE__ */ k(i, {
|
|
59
|
-
open: z,
|
|
60
|
-
onOpenChange: R,
|
|
61
|
-
children: /* @__PURE__ */ A(a, {
|
|
62
|
-
container: Q,
|
|
63
|
-
className: "Monite-Payables ttw:w-[600px]",
|
|
64
|
-
children: [
|
|
65
|
-
/* @__PURE__ */ A(c, { children: [/* @__PURE__ */ k(l, { children: r ? V._("Edit tag ”{tagName}”", { tagName: r.name }) : V._("Create new tag") }), /* @__PURE__ */ k(o, {
|
|
66
|
-
className: "ttw:sr-only",
|
|
67
|
-
children: r ? V._("Edit tag ”{tagName}”", { tagName: r.name }) : V._("Create new tag")
|
|
68
|
-
})] }),
|
|
69
|
-
/* @__PURE__ */ k(v, {
|
|
70
|
-
...U,
|
|
71
|
-
children: /* @__PURE__ */ k("form", {
|
|
72
|
-
id: $,
|
|
73
|
-
name: $,
|
|
74
|
-
onSubmit: (e) => {
|
|
75
|
-
e.preventDefault(), e.stopPropagation(), G(async (e) => {
|
|
76
|
-
let { keywords: t, name: n, category: i } = e, a = {
|
|
77
|
-
name: n,
|
|
78
|
-
...i ? { category: i } : {}
|
|
79
|
-
}, o = await (r ? Y(r.id, a) : J(a));
|
|
80
|
-
Z(o.id, t);
|
|
81
|
-
})(e);
|
|
82
|
-
},
|
|
83
|
-
children: /* @__PURE__ */ A("div", {
|
|
84
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:px-6 ttw:pt-8 ttw:pb-6",
|
|
85
|
-
children: [
|
|
86
|
-
/* @__PURE__ */ k(b, {
|
|
87
|
-
name: "name",
|
|
88
|
-
control: W,
|
|
89
|
-
render: ({ field: e }) => /* @__PURE__ */ A(x, { children: [
|
|
90
|
-
/* @__PURE__ */ k(S, { children: V._("Name") }),
|
|
91
|
-
/* @__PURE__ */ k(y, { children: /* @__PURE__ */ k(t, {
|
|
92
|
-
autoFocus: !0,
|
|
93
|
-
...e
|
|
94
|
-
}) }),
|
|
95
|
-
/* @__PURE__ */ k(C, {})
|
|
96
|
-
] })
|
|
97
|
-
}),
|
|
98
|
-
/* @__PURE__ */ k(b, {
|
|
99
|
-
name: "category",
|
|
100
|
-
control: W,
|
|
101
|
-
render: ({ field: e }) => /* @__PURE__ */ A(x, { children: [
|
|
102
|
-
/* @__PURE__ */ k(S, { children: V._("Category") }),
|
|
103
|
-
/* @__PURE__ */ A(u, {
|
|
104
|
-
onValueChange: e.onChange,
|
|
105
|
-
defaultValue: e.value,
|
|
106
|
-
children: [/* @__PURE__ */ k(y, { children: /* @__PURE__ */ k(p, {
|
|
107
|
-
className: "ttw:w-full",
|
|
108
|
-
children: /* @__PURE__ */ k(m, { placeholder: V._("Not set") })
|
|
109
|
-
}) }), /* @__PURE__ */ k(d, { children: g.map((e) => /* @__PURE__ */ k(f, {
|
|
110
|
-
value: e,
|
|
111
|
-
children: h(e, V)
|
|
112
|
-
}, e)) })]
|
|
113
|
-
}),
|
|
114
|
-
/* @__PURE__ */ k(C, {})
|
|
115
|
-
] })
|
|
116
|
-
}),
|
|
117
|
-
/* @__PURE__ */ k(b, {
|
|
118
|
-
name: "keywords",
|
|
119
|
-
control: W,
|
|
120
|
-
render: ({ field: e }) => /* @__PURE__ */ A(x, {
|
|
121
|
-
className: "ttw:flex ttw:flex-col",
|
|
122
|
-
children: [
|
|
123
|
-
/* @__PURE__ */ k(S, { children: V._("Keywords") }),
|
|
124
|
-
/* @__PURE__ */ k(w, {
|
|
125
|
-
...e,
|
|
126
|
-
value: e.value ?? []
|
|
127
|
-
}),
|
|
128
|
-
/* @__PURE__ */ k(C, {})
|
|
129
|
-
]
|
|
130
|
-
})
|
|
131
|
-
})
|
|
132
|
-
]
|
|
133
|
-
})
|
|
134
|
-
})
|
|
135
|
-
}),
|
|
136
|
-
/* @__PURE__ */ A(s, {
|
|
137
|
-
className: "ttw:flex ttw:flex-row ttw:justify-end ttw:gap-2",
|
|
138
|
-
children: [
|
|
139
|
-
r && /* @__PURE__ */ k(e, {
|
|
140
|
-
className: "ttw:mr-auto",
|
|
141
|
-
variant: "destructive",
|
|
142
|
-
size: "lg",
|
|
143
|
-
onClick: () => {
|
|
144
|
-
L?.(r), R?.();
|
|
145
|
-
},
|
|
146
|
-
disabled: !B,
|
|
147
|
-
children: V._("Delete")
|
|
148
|
-
}),
|
|
149
|
-
/* @__PURE__ */ k(e, {
|
|
150
|
-
variant: "ghost",
|
|
151
|
-
size: "lg",
|
|
152
|
-
onClick: R,
|
|
153
|
-
children: V._("Cancel")
|
|
154
|
-
}),
|
|
155
|
-
/* @__PURE__ */ k(e, {
|
|
156
|
-
type: "submit",
|
|
157
|
-
form: $,
|
|
158
|
-
size: "lg",
|
|
159
|
-
disabled: X,
|
|
160
|
-
children: r ? V._("Save") : V._("Create")
|
|
161
|
-
})
|
|
162
|
-
]
|
|
163
|
-
})
|
|
164
|
-
]
|
|
165
|
-
})
|
|
166
|
-
}) });
|
|
12
|
+
var o = ({ id: o, onCreated: s, onUpdated: c }) => {
|
|
13
|
+
let [l, u] = i(!1), { data: d, isLoading: f } = e(o);
|
|
14
|
+
return o && f ? /* @__PURE__ */ a(t, {}) : !l && d ? /* @__PURE__ */ a(r, {
|
|
15
|
+
approvalPolicy: d,
|
|
16
|
+
setIsEdit: u
|
|
17
|
+
}) : l && d ? /* @__PURE__ */ a(n, {
|
|
18
|
+
approvalPolicy: d,
|
|
19
|
+
setIsEdit: u,
|
|
20
|
+
onUpdated: c
|
|
21
|
+
}) : /* @__PURE__ */ a(n, {
|
|
22
|
+
setIsEdit: u,
|
|
23
|
+
onCreated: s
|
|
24
|
+
});
|
|
167
25
|
};
|
|
168
26
|
//#endregion
|
|
169
|
-
export {
|
|
27
|
+
export { o as ApprovalPolicyDetails };
|
|
@@ -1,86 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index212.js";
|
|
3
|
-
import { TagFormModal as t } from "./index313.js";
|
|
4
|
-
import { useTags as n } from "./index308.js";
|
|
5
|
-
import "./index314.js";
|
|
6
|
-
import { useMemo as r, useState as i } from "react";
|
|
7
|
-
import { Fragment as a, jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
8
|
-
import { Autocomplete as c, Button as l, TextField as u } from "@mui/material";
|
|
9
|
-
import { useLingui as d } from "@lingui/react";
|
|
10
|
-
import { createElement as f } from "@emotion/react";
|
|
11
|
-
import p from "@mui/icons-material/Add";
|
|
12
|
-
import { createFilterOptions as m } from "@mui/material/Autocomplete";
|
|
1
|
+
import { createElement as e } from "react";
|
|
13
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
let { i18n: E } = d(), { root: D } = e(), { tagsQuery: O } = n(), [k, A] = i(!1), j = r(() => y ? h(y) : [], [y]), M = r(() => {
|
|
23
|
-
let e = O.data?.data || [], t = y || [], n = [...e];
|
|
24
|
-
return t.forEach((e) => {
|
|
25
|
-
n.find((t) => t.id === e.id) || n.push(e);
|
|
26
|
-
}), h(n);
|
|
27
|
-
}, [O.data?.data, y]), N = (e) => {
|
|
28
|
-
let t = e.map((e) => e.value), n = O.data?.data?.filter((e) => t.includes(e.id)) || [];
|
|
29
|
-
b?.(n);
|
|
30
|
-
}, P = () => {
|
|
31
|
-
A(!0);
|
|
32
|
-
};
|
|
33
|
-
return /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ o(t, {
|
|
34
|
-
open: k,
|
|
35
|
-
onClose: () => A(!1),
|
|
36
|
-
onCreate: (e) => {
|
|
37
|
-
let t = [...y || [], e];
|
|
38
|
-
b?.(t);
|
|
39
|
-
},
|
|
40
|
-
isDeleteAllowed: !1
|
|
41
|
-
}), /* @__PURE__ */ o(c, {
|
|
42
|
-
disabled: m,
|
|
43
|
-
multiple: !0,
|
|
44
|
-
filterSelectedOptions: !0,
|
|
45
|
-
getOptionLabel: (e) => e.label,
|
|
46
|
-
options: M,
|
|
47
|
-
slotProps: { popper: { container: D } },
|
|
48
|
-
isOptionEqualToValue: (e, t) => e.value === t.value,
|
|
49
|
-
value: j,
|
|
50
|
-
onChange: (e, t) => {
|
|
51
|
-
N(t || []);
|
|
52
|
-
},
|
|
53
|
-
filterOptions: (e, t) => {
|
|
54
|
-
let n = v(e, t);
|
|
55
|
-
return n.unshift({
|
|
56
|
-
value: g,
|
|
57
|
-
label: E._("Create new tag")
|
|
58
|
-
}), n;
|
|
59
|
-
},
|
|
60
|
-
renderOption: (e, t) => _(t) ? /* @__PURE__ */ o(l, {
|
|
61
|
-
variant: "text",
|
|
62
|
-
startIcon: /* @__PURE__ */ o(p, {}),
|
|
63
|
-
fullWidth: !0,
|
|
64
|
-
sx: {
|
|
65
|
-
justifyContent: "flex-start",
|
|
66
|
-
px: 2
|
|
67
|
-
},
|
|
68
|
-
onClick: P,
|
|
69
|
-
children: t.label
|
|
70
|
-
}, t.value) : /* @__PURE__ */ f("li", {
|
|
71
|
-
...e,
|
|
72
|
-
key: t.value
|
|
73
|
-
}, t.label),
|
|
74
|
-
renderInput: (e) => /* @__PURE__ */ o(u, {
|
|
75
|
-
...e,
|
|
76
|
-
label: x,
|
|
77
|
-
variant: S,
|
|
78
|
-
fullWidth: !0,
|
|
79
|
-
error: C,
|
|
80
|
-
helperText: w,
|
|
81
|
-
required: T
|
|
82
|
-
})
|
|
83
|
-
})] });
|
|
84
|
-
};
|
|
3
|
+
var t = ({ color: t = "currentColor", size: n, ...r }) => e("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: n,
|
|
6
|
+
height: n,
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: t,
|
|
9
|
+
...r
|
|
10
|
+
}, e("path", { d: "M3.5,6a1,1,0,1,0,1,1A1,1,0,0,0,3.5,6Zm4,2h14a1,1,0,0,0,0-2H7.5a1,1,0,0,0,0,2Zm0,3a1,1,0,1,0,1,1A1,1,0,0,0,7.5,11Zm4,5a1,1,0,1,0,1,1A1,1,0,0,0,11.5,16Zm10-5h-10a1,1,0,0,0,0,2h10a1,1,0,0,0,0-2Zm0,5h-6a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2Z" }));
|
|
85
11
|
//#endregion
|
|
86
|
-
export {
|
|
12
|
+
export { t as UListUiAlt };
|