@tesouro/embedded-components-react 0.3.20 → 0.3.23
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 +9 -0
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/monite-sdk.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +42 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +158 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +45 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +4 -64
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +13 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +14 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +56 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +18 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +15 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +61 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +130 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +20 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +38 -69
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +48 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +5 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +71 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +48 -139
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +91 -66
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +34 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +144 -210
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +63 -209
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +21 -103
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +209 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +211 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +104 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +12 -165
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +47 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +29 -99
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +64 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +166 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +34 -243
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +104 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +259 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +4 -145
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +33 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +82 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +155 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +43 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +1 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +8 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +85 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +3 -59
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +19 -120
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +56 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +3 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +3 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +116 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +43 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +19 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +27 -249
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +82 -109
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +47 -206
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +253 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +111 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +6 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +197 -102
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +6 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +114 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +3 -162
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +123 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +163 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +89 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +2 -0
- 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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +16 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +19 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +8 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +36 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +44 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +72 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +99 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +35 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +171 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +134 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +125 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +63 -232
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +248 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +5 -456
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +455 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +13 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +51 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +39 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +143 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +114 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +33 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +18 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +149 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +136 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +31 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +116 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +10 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +50 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +34 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +86 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +1 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +0 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +129 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +105 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +48 -779
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +780 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +84 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +105 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +6 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +14 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +163 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +204 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +82 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +146 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +95 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +46 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +13 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +186 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +41 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +11 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +4 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +219 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +32 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +168 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +192 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +97 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +63 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +46 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +91 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +39 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +63 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +66 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +104 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +72 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index609.js +14 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index610.js +91 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index611.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index612.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index613.js +71 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index614.js +0 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +66 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index616.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index617.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index619.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index620.js +29 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index621.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index622.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index623.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js +1 -1
- package/package.json +1 -1
|
@@ -1,99 +1,160 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
2
|
+
import "../../shared/data-access/dist/index.js";
|
|
3
|
+
import { useMoniteContext as t } from "./index47.js";
|
|
4
|
+
import { useCurrencies as n } from "./index63.js";
|
|
5
|
+
import { Button as r } from "./index56.js";
|
|
6
|
+
import { MoniteScopedProviders as i } from "./index237.js";
|
|
7
|
+
import { Sheet as a, SheetClose as o, SheetContent as s, SheetDescription as c, SheetHeader as l, SheetTitle as u } from "./index50.js";
|
|
8
|
+
import { LoadingSpinner as d } from "./index51.js";
|
|
7
9
|
import "./index52.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import "./
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
10
|
+
import { Skeleton as f } from "./index54.js";
|
|
11
|
+
import { DropdownMenu as p, DropdownMenuContent as m, DropdownMenuItem as h, DropdownMenuTrigger as g } from "./index55.js";
|
|
12
|
+
import { Typography as _ } from "./index62.js";
|
|
13
|
+
import { useUserPermissions as v } from "./index116.js";
|
|
14
|
+
import { NotFound as y } from "./index239.js";
|
|
15
|
+
import { AccessRestriction as b } from "./index247.js";
|
|
16
|
+
import "./index424.js";
|
|
17
|
+
import { useGetProductById as x } from "./index488.js";
|
|
18
|
+
import { ProductDeleteModal as S } from "./index546.js";
|
|
19
|
+
import { ProductEditForm as C } from "./index553.js";
|
|
20
|
+
import { ProductDetailLine as w } from "./index554.js";
|
|
21
|
+
import { useState as T } from "react";
|
|
22
|
+
import { MoreVerticalIcon as E, Trash2 as D, X as O } from "lucide-react";
|
|
23
|
+
import { Fragment as k, jsx as A, jsxs as j } from "@emotion/react/jsx-runtime";
|
|
24
|
+
import { useLingui as M } from "@lingui/react";
|
|
17
25
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js
|
|
18
|
-
var
|
|
19
|
-
let { i18n:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
description: void 0
|
|
26
|
-
}), []), { watch: j, ...M } = x({
|
|
27
|
-
resolver: S(d(T)),
|
|
28
|
-
defaultValues: A
|
|
29
|
-
}), N = j("type"), P = !!j("name")?.trim() && j("pricePerUnit") !== void 0, F = m((e) => {
|
|
30
|
-
e.preventDefault(), e.stopPropagation(), M.handleSubmit((e) => {
|
|
31
|
-
O({ body: {
|
|
32
|
-
name: e.name,
|
|
33
|
-
type: e.type,
|
|
34
|
-
price: {
|
|
35
|
-
value: E(e.pricePerUnit, e.currency) ?? 0,
|
|
36
|
-
currency: e.currency
|
|
37
|
-
},
|
|
38
|
-
description: e.description,
|
|
39
|
-
...e.measureUnitId ? { measure_unit_id: e.measureUnitId } : {}
|
|
40
|
-
} });
|
|
41
|
-
})(e);
|
|
42
|
-
}, [
|
|
43
|
-
O,
|
|
44
|
-
E,
|
|
45
|
-
M.handleSubmit
|
|
46
|
-
]);
|
|
47
|
-
return /* @__PURE__ */ _(r, {
|
|
48
|
-
open: C,
|
|
49
|
-
onOpenChange: n,
|
|
50
|
-
children: /* @__PURE__ */ v(a, {
|
|
26
|
+
var N = (e) => /* @__PURE__ */ A(i, { children: /* @__PURE__ */ A(P, { ...e }) }), P = ({ id: i, open: N, onClose: P, onUpdated: F, onDeleted: I, showActionsMenu: L = !0 }) => {
|
|
27
|
+
let { i18n: R } = M(), { locale: z } = t(), { formatCurrencyToDisplay: B } = n(), [V, H] = T(!1), [U, W] = T(!1), { data: G, isLoading: K, isFetching: q } = x(i), J = G?.type === "product", Y = v(), X = Y.has(e.InvoiceReadOrg), Z = Y.has(e.InvoiceWriteOrg), Q = Y.has(e.InvoiceWriteOrg);
|
|
28
|
+
return X ? !K && !q && !G ? /* @__PURE__ */ A(a, {
|
|
29
|
+
open: N,
|
|
30
|
+
onOpenChange: P,
|
|
31
|
+
children: /* @__PURE__ */ A(s, {
|
|
32
|
+
showCloseButton: !0,
|
|
51
33
|
className: "ttw:gap-0",
|
|
52
|
-
children:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
34
|
+
children: /* @__PURE__ */ A("div", {
|
|
35
|
+
className: "ttw:w-3/4 ttw:m-auto ttw:p-4",
|
|
36
|
+
children: /* @__PURE__ */ A(y, {
|
|
37
|
+
title: R._("Product not found"),
|
|
38
|
+
description: R._("There is no product by provided id: {id}", { id: i })
|
|
39
|
+
})
|
|
40
|
+
})
|
|
41
|
+
})
|
|
42
|
+
}) : /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(a, {
|
|
43
|
+
open: N,
|
|
44
|
+
onOpenChange: P,
|
|
45
|
+
children: /* @__PURE__ */ j(s, {
|
|
46
|
+
showCloseButton: !1,
|
|
47
|
+
className: "ttw:gap-0",
|
|
48
|
+
children: [/* @__PURE__ */ j(l, {
|
|
49
|
+
className: "ttw:pt-6 ttw:pl-6 ttw:pb-7 ttw:flex-row ttw:gap-3 ttw:border-b ttw:border-border",
|
|
50
|
+
children: [/* @__PURE__ */ j("div", {
|
|
51
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:w-[85%]",
|
|
52
|
+
children: [/* @__PURE__ */ A(u, {
|
|
53
|
+
asChild: K,
|
|
56
54
|
className: "ttw:text-2xl",
|
|
57
|
-
children:
|
|
58
|
-
}), /* @__PURE__ */
|
|
59
|
-
|
|
60
|
-
children:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/* @__PURE__ */ _("div", {
|
|
64
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:px-6 ttw:py-8 ttw:overflow-auto",
|
|
65
|
-
children: /* @__PURE__ */ _(b, {
|
|
66
|
-
...M,
|
|
67
|
-
watch: j,
|
|
68
|
-
children: /* @__PURE__ */ _("form", {
|
|
69
|
-
id: D,
|
|
70
|
-
onSubmit: F,
|
|
71
|
-
children: /* @__PURE__ */ _(p, { isLoading: k })
|
|
55
|
+
children: K ? /* @__PURE__ */ A(f, { className: "ttw:w-40" }) : G?.name ?? ""
|
|
56
|
+
}), /* @__PURE__ */ A(c, {
|
|
57
|
+
asChild: K,
|
|
58
|
+
children: K ? /* @__PURE__ */ A(f, { className: "ttw:w-60" }) : R._("{type} · Added {createdAt}", {
|
|
59
|
+
createdAt: R.date(G?.created_at, z.dateFormat),
|
|
60
|
+
type: G?.type === "product" ? "Product" : "Service"
|
|
72
61
|
})
|
|
73
|
-
})
|
|
74
|
-
}),
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
children: [/* @__PURE__ */ _(i, {
|
|
62
|
+
})]
|
|
63
|
+
}), /* @__PURE__ */ j("div", {
|
|
64
|
+
className: "ttw:flex ttw:gap-2",
|
|
65
|
+
children: [L && Q && /* @__PURE__ */ j(p, { children: [/* @__PURE__ */ A(g, {
|
|
78
66
|
asChild: !0,
|
|
79
|
-
children: /* @__PURE__ */
|
|
67
|
+
children: /* @__PURE__ */ A(r, {
|
|
68
|
+
type: "button",
|
|
80
69
|
variant: "outline",
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
children: T._("Cancel")
|
|
70
|
+
className: "ttw:p-2 ttw:size-9 ttw:border-none ttw:bg-muted",
|
|
71
|
+
children: /* @__PURE__ */ A(E, {})
|
|
84
72
|
})
|
|
85
|
-
}), /* @__PURE__ */
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
73
|
+
}), /* @__PURE__ */ A(m, {
|
|
74
|
+
align: "end",
|
|
75
|
+
children: /* @__PURE__ */ j(h, {
|
|
76
|
+
onClick: () => W(!0),
|
|
77
|
+
variant: "destructive",
|
|
78
|
+
children: [/* @__PURE__ */ A(D, {}), R._("Delete product")]
|
|
79
|
+
})
|
|
80
|
+
})] }), /* @__PURE__ */ A(o, {
|
|
81
|
+
className: "ttw:size-9 ttw:bg-muted ttw:p-2 ttw:flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:cursor-pointer",
|
|
82
|
+
children: /* @__PURE__ */ A(O, { className: "ttw:size-4" })
|
|
83
|
+
})]
|
|
84
|
+
})]
|
|
85
|
+
}), K ? /* @__PURE__ */ A("div", {
|
|
86
|
+
className: "ttw:flex ttw:w-full ttw:h-full ttw:items-center ttw:justify-center",
|
|
87
|
+
children: /* @__PURE__ */ A(d, {})
|
|
88
|
+
}) : /* @__PURE__ */ A("main", {
|
|
89
|
+
className: "ttw:p-6 ttw:overflow-auto ttw:flex ttw:flex-col ttw:gap-4",
|
|
90
|
+
children: /* @__PURE__ */ j("div", {
|
|
91
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
92
|
+
children: [/* @__PURE__ */ j("div", {
|
|
93
|
+
className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border",
|
|
94
|
+
children: [/* @__PURE__ */ j("div", {
|
|
95
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
96
|
+
children: [/* @__PURE__ */ A(_, {
|
|
97
|
+
variant: "body1",
|
|
98
|
+
className: "ttw:font-medium",
|
|
99
|
+
children: R._("{type} details", { type: J ? "Product" : "Service" })
|
|
100
|
+
}), /* @__PURE__ */ A(_, {
|
|
101
|
+
variant: "body2",
|
|
102
|
+
color: "muted",
|
|
103
|
+
children: J ? R._("A physical or digital item") : R._("Work or labor you provide")
|
|
104
|
+
})]
|
|
105
|
+
}), !V && Z && /* @__PURE__ */ A(r, {
|
|
106
|
+
type: "button",
|
|
107
|
+
variant: "ghost",
|
|
108
|
+
className: "ttw:text-primary ttw:hover:text-primary",
|
|
109
|
+
onClick: () => H(!0),
|
|
110
|
+
children: R._("Edit")
|
|
111
|
+
})]
|
|
112
|
+
}), V && G ? /* @__PURE__ */ A(C, {
|
|
113
|
+
product: G,
|
|
114
|
+
handleClose: () => H(!1),
|
|
115
|
+
onUpdate: (e) => {
|
|
116
|
+
F?.(e), H(!1);
|
|
117
|
+
}
|
|
118
|
+
}) : /* @__PURE__ */ j("ul", {
|
|
119
|
+
className: "ttw:list-none",
|
|
120
|
+
children: [
|
|
121
|
+
/* @__PURE__ */ A(w, {
|
|
122
|
+
label: R._("{type} name", { type: J ? "Product" : "Service" }),
|
|
123
|
+
value: G?.name ?? "-"
|
|
124
|
+
}),
|
|
125
|
+
/* @__PURE__ */ A(w, {
|
|
126
|
+
label: R._("Price per unit"),
|
|
127
|
+
value: G?.price ? B(G.price.value, G.price.currency) : "-"
|
|
128
|
+
}),
|
|
129
|
+
/* @__PURE__ */ A(w, {
|
|
130
|
+
label: R._("Description"),
|
|
131
|
+
value: G?.description || "-",
|
|
132
|
+
isLast: !0
|
|
133
|
+
})
|
|
134
|
+
]
|
|
92
135
|
})]
|
|
93
136
|
})
|
|
94
|
-
]
|
|
137
|
+
})]
|
|
138
|
+
})
|
|
139
|
+
}), i && U && /* @__PURE__ */ A(S, {
|
|
140
|
+
id: i,
|
|
141
|
+
open: U,
|
|
142
|
+
onClose: () => W(!1),
|
|
143
|
+
onDeleted: (e) => {
|
|
144
|
+
P?.(), I?.(e), W(!1);
|
|
145
|
+
}
|
|
146
|
+
})] }) : /* @__PURE__ */ A(a, {
|
|
147
|
+
open: N,
|
|
148
|
+
onOpenChange: P,
|
|
149
|
+
children: /* @__PURE__ */ A(s, {
|
|
150
|
+
showCloseButton: !0,
|
|
151
|
+
className: "ttw:gap-0",
|
|
152
|
+
children: /* @__PURE__ */ A("div", {
|
|
153
|
+
className: "ttw:w-3/4 ttw:m-auto ttw:p-4",
|
|
154
|
+
children: /* @__PURE__ */ A(b, {})
|
|
155
|
+
})
|
|
95
156
|
})
|
|
96
157
|
});
|
|
97
158
|
};
|
|
98
159
|
//#endregion
|
|
99
|
-
export {
|
|
160
|
+
export { N as ProductDetails };
|
|
@@ -1,46 +1,99 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
1
|
+
import { useCurrencies as e } from "./index63.js";
|
|
2
|
+
import { Button as t } from "./index56.js";
|
|
3
|
+
import "./index217.js";
|
|
4
|
+
import { MoniteScopedProviders as n } from "./index237.js";
|
|
5
|
+
import { Sheet as r, SheetClose as i, SheetContent as a, SheetDescription as o, SheetFooter as s, SheetHeader as c, SheetTitle as l } from "./index50.js";
|
|
6
|
+
import { LoadingSpinner as u } from "./index51.js";
|
|
7
|
+
import "./index52.js";
|
|
8
|
+
import { getProductValidationSchema as d } from "./index478.js";
|
|
9
|
+
import { useCreateProduct as f } from "./index486.js";
|
|
10
|
+
import "./index491.js";
|
|
11
|
+
import { ProductFormContent as p } from "./index552.js";
|
|
12
|
+
import { useCallback as m, useId as h, useMemo as g } from "react";
|
|
13
|
+
import { jsx as _, jsxs as v } from "@emotion/react/jsx-runtime";
|
|
14
|
+
import { useLingui as y } from "@lingui/react";
|
|
15
|
+
import { FormProvider as b, useForm as x } from "react-hook-form";
|
|
16
|
+
import { zodResolver as S } from "@hookform/resolvers/zod";
|
|
12
17
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js
|
|
13
|
-
var
|
|
14
|
-
let
|
|
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
|
-
|
|
18
|
+
var C = (e) => /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(w, { ...e }) }), w = ({ onClose: n, open: C, onCreated: w }) => {
|
|
19
|
+
let { i18n: T } = y(), { formatToMinorUnits: E } = e(), D = `product-form-${h()}`, { mutate: O, isPending: k } = f(w), A = g(() => ({
|
|
20
|
+
name: "",
|
|
21
|
+
type: "product",
|
|
22
|
+
measureUnitId: "",
|
|
23
|
+
pricePerUnit: void 0,
|
|
24
|
+
currency: "USD",
|
|
25
|
+
description: void 0
|
|
26
|
+
}), []), { watch: j, ...M } = x({
|
|
27
|
+
resolver: S(d(T)),
|
|
28
|
+
defaultValues: A
|
|
29
|
+
}), N = j("type"), P = !!j("name")?.trim() && j("pricePerUnit") !== void 0, F = m((e) => {
|
|
30
|
+
e.preventDefault(), e.stopPropagation(), M.handleSubmit((e) => {
|
|
31
|
+
O({ body: {
|
|
32
|
+
name: e.name,
|
|
33
|
+
type: e.type,
|
|
34
|
+
price: {
|
|
35
|
+
value: E(e.pricePerUnit, e.currency) ?? 0,
|
|
36
|
+
currency: e.currency
|
|
37
|
+
},
|
|
38
|
+
description: e.description,
|
|
39
|
+
...e.measureUnitId ? { measure_unit_id: e.measureUnitId } : {}
|
|
40
|
+
} });
|
|
41
|
+
})(e);
|
|
42
|
+
}, [
|
|
43
|
+
O,
|
|
44
|
+
E,
|
|
45
|
+
M.handleSubmit
|
|
46
|
+
]);
|
|
47
|
+
return /* @__PURE__ */ _(r, {
|
|
48
|
+
open: C,
|
|
49
|
+
onOpenChange: n,
|
|
50
|
+
children: /* @__PURE__ */ v(a, {
|
|
51
|
+
className: "ttw:gap-0",
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ v(c, {
|
|
54
|
+
className: "ttw:border-b ttw:border-border",
|
|
55
|
+
children: [/* @__PURE__ */ _(l, {
|
|
56
|
+
className: "ttw:text-2xl",
|
|
57
|
+
children: T._("Add a product or service")
|
|
58
|
+
}), /* @__PURE__ */ _(o, {
|
|
59
|
+
className: "ttw:max-w-130",
|
|
60
|
+
children: T._("Save the products and services you sell so you can quickly add them as line items on invoices.")
|
|
61
|
+
})]
|
|
62
|
+
}),
|
|
63
|
+
/* @__PURE__ */ _("div", {
|
|
64
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:px-6 ttw:py-8 ttw:overflow-auto",
|
|
65
|
+
children: /* @__PURE__ */ _(b, {
|
|
66
|
+
...M,
|
|
67
|
+
watch: j,
|
|
68
|
+
children: /* @__PURE__ */ _("form", {
|
|
69
|
+
id: D,
|
|
70
|
+
onSubmit: F,
|
|
71
|
+
children: /* @__PURE__ */ _(p, { isLoading: k })
|
|
72
|
+
})
|
|
73
|
+
})
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ v(s, {
|
|
76
|
+
className: "ttw:border-t ttw:border-border ttw:flex-row ttw:justify-end",
|
|
77
|
+
children: [/* @__PURE__ */ _(i, {
|
|
78
|
+
asChild: !0,
|
|
79
|
+
children: /* @__PURE__ */ _(t, {
|
|
80
|
+
variant: "outline",
|
|
81
|
+
disabled: k,
|
|
82
|
+
className: "ttw:flex-1 ttw:border-border",
|
|
83
|
+
children: T._("Cancel")
|
|
84
|
+
})
|
|
85
|
+
}), /* @__PURE__ */ v(t, {
|
|
86
|
+
type: "submit",
|
|
87
|
+
form: D,
|
|
88
|
+
className: "ttw:flex-1",
|
|
89
|
+
title: T._("Complete the form to continue"),
|
|
90
|
+
disabled: k || !P,
|
|
91
|
+
children: [k && /* @__PURE__ */ _(u, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }), T._("Save {type}", { type: N })]
|
|
92
|
+
})]
|
|
93
|
+
})
|
|
94
|
+
]
|
|
42
95
|
})
|
|
43
|
-
|
|
96
|
+
});
|
|
44
97
|
};
|
|
45
98
|
//#endregion
|
|
46
|
-
export {
|
|
99
|
+
export { C as CreateProduct };
|
|
@@ -1,4 +1,46 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
1
|
+
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
2
|
+
import "../../shared/data-access/dist/index.js";
|
|
3
|
+
import { MoniteScopedProviders as t } from "./index237.js";
|
|
4
|
+
import { useUserPermissions as n } from "./index116.js";
|
|
5
|
+
import { AccessRestriction as r } from "./index247.js";
|
|
6
|
+
import "./index249.js";
|
|
7
|
+
import { ProductsTable as i } from "./index551.js";
|
|
8
|
+
import { ProductDetails as a } from "./index555.js";
|
|
9
|
+
import { CreateProduct as o } from "./index556.js";
|
|
10
|
+
import { useCallback as s, useState as c } from "react";
|
|
11
|
+
import { Fragment as l, jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js
|
|
13
|
+
var f = (e) => /* @__PURE__ */ u(t, { children: /* @__PURE__ */ u(p, { ...e }) }), p = ({ pageTitleComponent: t }) => {
|
|
14
|
+
let f = n().has(e.InvoiceReadOrg), [p, m] = c(void 0), [h, g] = c(!1), _ = s((e) => {
|
|
15
|
+
m(e);
|
|
16
|
+
}, []), v = s(() => {
|
|
17
|
+
m(void 0);
|
|
18
|
+
}, []), y = s(() => {
|
|
19
|
+
g(!1);
|
|
20
|
+
}, []), b = s(() => {
|
|
21
|
+
g(!0);
|
|
22
|
+
}, []), x = s((e) => {
|
|
23
|
+
m(e);
|
|
24
|
+
}, []);
|
|
25
|
+
return /* @__PURE__ */ d(l, { children: [
|
|
26
|
+
t(/* @__PURE__ */ u(l, {})),
|
|
27
|
+
!f && /* @__PURE__ */ u(r, {}),
|
|
28
|
+
f && /* @__PURE__ */ u(i, {
|
|
29
|
+
onRowClick: _,
|
|
30
|
+
onDeleted: x,
|
|
31
|
+
openCreateModal: b
|
|
32
|
+
}),
|
|
33
|
+
h && /* @__PURE__ */ u(o, {
|
|
34
|
+
open: !0,
|
|
35
|
+
onClose: y,
|
|
36
|
+
onCreated: y
|
|
37
|
+
}),
|
|
38
|
+
!!p && p && /* @__PURE__ */ u(a, {
|
|
39
|
+
id: p,
|
|
40
|
+
open: !0,
|
|
41
|
+
onClose: v
|
|
42
|
+
})
|
|
43
|
+
] });
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
export { f as Products };
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js
|
|
6
|
-
var r = ({ id: r }) => {
|
|
7
|
-
let { data: i, isLoading: a } = e(r);
|
|
8
|
-
return /* @__PURE__ */ t("span", { children: a ? /* @__PURE__ */ t(n, {
|
|
9
|
-
animation: "wave",
|
|
10
|
-
height: 10,
|
|
11
|
-
width: "100%",
|
|
12
|
-
sx: { minWidth: "4em" }
|
|
13
|
-
}) : !!i && `${i?.first_name || ""} ${i?.last_name || ""}` });
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { r as UserCell };
|
|
1
|
+
import "./index551.js";
|
|
2
|
+
import "./index555.js";
|
|
3
|
+
import "./index556.js";
|
|
4
|
+
import "./index557.js";
|
|
@@ -1,27 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
6
|
-
import { toast as i } from "react-hot-toast";
|
|
7
|
-
import { useLingui as a } from "@lingui/react";
|
|
1
|
+
import { useEntityUserById as e } from "./index133.js";
|
|
2
|
+
import "./index142.js";
|
|
3
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import { Skeleton as n } from "@mui/material";
|
|
8
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js
|
|
9
|
-
var
|
|
10
|
-
let {
|
|
11
|
-
return /* @__PURE__ */
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
onClose: o,
|
|
18
|
-
onConfirm: () => {
|
|
19
|
-
p.mutate(void 0, { onSuccess: () => {
|
|
20
|
-
i.success(l._("Tag “{tagName}” was deleted", { tagName: t.name })), o?.(), s?.(t.id);
|
|
21
|
-
} });
|
|
22
|
-
},
|
|
23
|
-
isLoading: p.isPending
|
|
24
|
-
});
|
|
6
|
+
var r = ({ id: r }) => {
|
|
7
|
+
let { data: i, isLoading: a } = e(r);
|
|
8
|
+
return /* @__PURE__ */ t("span", { children: a ? /* @__PURE__ */ t(n, {
|
|
9
|
+
animation: "wave",
|
|
10
|
+
height: 10,
|
|
11
|
+
width: "100%",
|
|
12
|
+
sx: { minWidth: "4em" }
|
|
13
|
+
}) : !!i && `${i?.first_name || ""} ${i?.last_name || ""}` });
|
|
25
14
|
};
|
|
26
15
|
//#endregion
|
|
27
|
-
export {
|
|
16
|
+
export { r as UserCell };
|
|
@@ -1 +1,27 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
+
import { MoniteScopedProviders as t } from "./index237.js";
|
|
3
|
+
import { ConfirmationModal as n } from "./index59.js";
|
|
4
|
+
import "./index60.js";
|
|
5
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { toast as i } from "react-hot-toast";
|
|
7
|
+
import { useLingui as a } from "@lingui/react";
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js
|
|
9
|
+
var o = (e) => /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(s, { ...e }) }), s = ({ tag: t, onClose: o, onDelete: s, modalOpened: c }) => {
|
|
10
|
+
let { i18n: l } = a(), u = t?.id, { api: d, queryClient: f } = e(), p = d.finops.deleteTagsId.useMutation({ path: { tag_id: u ?? "" } }, { onSuccess: () => (d.finops.getTagsId.removeQueries({ parameters: { path: { tag_id: u } } }, f), d.finops.getTags.invalidateQueries(f)) });
|
|
11
|
+
return /* @__PURE__ */ r(n, {
|
|
12
|
+
open: c,
|
|
13
|
+
title: l._("Delete “{tagName}” tag?", { tagName: t.name }),
|
|
14
|
+
message: l._("This action can’t be undone."),
|
|
15
|
+
confirmLabel: l._("Delete"),
|
|
16
|
+
cancelLabel: l._("Cancel"),
|
|
17
|
+
onClose: o,
|
|
18
|
+
onConfirm: () => {
|
|
19
|
+
p.mutate(void 0, { onSuccess: () => {
|
|
20
|
+
i.success(l._("Tag “{tagName}” was deleted", { tagName: t.name })), o?.(), s?.(t.id);
|
|
21
|
+
} });
|
|
22
|
+
},
|
|
23
|
+
isLoading: p.isPending
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { o as ConfirmDeleteModal };
|