@tesouro/embedded-components-react 0.7.50 → 0.7.52
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 -25
- package/dist/lib/monite-sdk.d.ts +44 -79
- package/dist/lib/monite-sdk.js +56 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +60 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +52 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +53 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +37 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +71 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +39 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +65 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +158 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +7 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +76 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +78 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +42 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +568 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -568
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +160 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +0 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +16 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +23 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +6 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +39 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +48 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +58 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +27 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +43 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +78 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +2 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +52 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +81 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +119 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +4 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +10 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +122 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +11 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +16 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +62 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +21 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +6 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +72 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +25 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +58 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +19 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +181 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +27 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +61 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +34 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +9 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +42 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +11 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +17 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +34 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +111 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +66 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +196 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +9 -198
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +358 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -351
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +2 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +179 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +95 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +15 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +53 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +43 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +36 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +0 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +56 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +45 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +49 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +82 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +7 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +301 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +27 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +158 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +34 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +3 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +100 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +187 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +116 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +195 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +11 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +12 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +237 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +33 -239
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +142 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +159 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +24 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +16 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +20 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +22 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +79 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +99 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +44 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +26 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +102 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +168 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +4 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +65 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +26 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +208 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +88 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +17 -210
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +153 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +102 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +40 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +4 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +77 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +18 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +129 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +4 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +219 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +34 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +11 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +73 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +181 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +14 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +189 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +100 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +58 -198
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +52 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +91 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +40 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +73 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +81 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +12 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +22 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +44 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +33 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +30 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +95 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +13 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +3 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +69 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +51 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +1 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +46 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +15 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +45 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +63 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +33 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +36 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +19 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +12 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +53 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +23 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +73 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +79 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +8 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +10 -56
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +0 -97
|
@@ -1,36 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./index79.js";
|
|
3
|
-
import { cn as t } from "./index64.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
6
|
-
import * as r from "@radix-ui/react-popover";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js
|
|
8
|
-
function i({ ...e }) {
|
|
9
|
-
return /* @__PURE__ */ n(r.Root, {
|
|
10
|
-
"data-slot": "popover",
|
|
11
|
-
...e
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function a({ ref: e, ...t }) {
|
|
15
|
-
return /* @__PURE__ */ n(r.Trigger, {
|
|
16
|
-
"data-slot": "popover-trigger",
|
|
17
|
-
ref: e,
|
|
18
|
-
...t
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
a.displayName = r.Trigger.displayName;
|
|
22
|
-
function o({ className: i, align: a = "center", sideOffset: o = 4, ...s }) {
|
|
23
|
-
let { root: c } = e();
|
|
24
|
-
return /* @__PURE__ */ n(r.Portal, {
|
|
25
|
-
container: c,
|
|
26
|
-
children: /* @__PURE__ */ n(r.Content, {
|
|
27
|
-
"data-slot": "popover-content",
|
|
28
|
-
align: a,
|
|
29
|
-
sideOffset: o,
|
|
30
|
-
className: t("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:w-72 ttw:origin-(--radix-popover-content-transform-origin) ttw:rounded-md ttw:border ttw:p-4 ttw:shadow-md ttw:outline-hidden", i),
|
|
31
|
-
...s
|
|
32
|
-
})
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { i as Popover, o as PopoverContent, a as PopoverTrigger };
|
|
1
|
+
import "./index286.js";
|
|
@@ -1,142 +1,167 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
1
|
+
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
2
|
+
import "../../shared/data-access/dist/index.js";
|
|
3
|
+
import { getAPIErrorMessage as t } from "./index26.js";
|
|
4
|
+
import { generatePayablesButtonCssVars as n } from "./index42.js";
|
|
5
|
+
import { useMoniteContext as r } from "./index45.js";
|
|
6
|
+
import { useRootElements as i } from "./index76.js";
|
|
7
|
+
import "./index77.js";
|
|
8
|
+
import { useFileInput as a } from "./index79.js";
|
|
9
|
+
import { useComponentSettings as ee } from "./index85.js";
|
|
10
|
+
import "./index87.js";
|
|
11
|
+
import { Dialog as o } from "./index127.js";
|
|
12
|
+
import "./index128.js";
|
|
13
|
+
import { MoniteScopedProviders as s } from "./index153.js";
|
|
14
|
+
import { useUserPermissions as te } from "./index154.js";
|
|
15
|
+
import { AccessRestriction as c } from "./index160.js";
|
|
16
|
+
import "./index163.js";
|
|
17
|
+
import { usePayableCallbacks as l } from "./index200.js";
|
|
18
|
+
import { PayableDetails as u } from "./index270.js";
|
|
19
|
+
import { PayablesTable as ne } from "./index283.js";
|
|
20
|
+
import "./index271.js";
|
|
21
|
+
import "./index284.js";
|
|
22
|
+
import { CreatePayableMenu as d } from "./index286.js";
|
|
23
|
+
import "./index287.js";
|
|
24
|
+
import { useEffect as re, useMemo as ie, useRef as ae, useState as f } from "react";
|
|
25
|
+
import { jsx as p, jsxs as m } from "@emotion/react/jsx-runtime";
|
|
26
|
+
import { toast as h } from "react-hot-toast";
|
|
27
|
+
import { useLingui as g } from "@lingui/react";
|
|
11
28
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js
|
|
12
|
-
var
|
|
13
|
-
let { i18n:
|
|
14
|
-
|
|
29
|
+
var _ = (e) => /* @__PURE__ */ p(s, { children: /* @__PURE__ */ p(v, { ...e }) }), v = ({ pageTitleComponent: s, enableGLCodes: _, initialView: v, initialCounterpartId: y, onSaved: b, onCanceled: x, onSubmitted: S, onRejected: C, onApproved: oe, onReopened: se, onDeleted: ce, onPay: le }) => {
|
|
30
|
+
let { i18n: w } = g(), { api: T, queryClient: E, theme: D } = r(), { componentSettings: O } = ee(), { handleSaved: k, handleCanceled: A, handleSubmitted: j, handleRejected: M, handleApproved: N, handleReopened: P, handleDeleted: F, handlePay: I } = l({
|
|
31
|
+
onSaved: b,
|
|
32
|
+
onCanceled: x,
|
|
33
|
+
onSubmitted: S,
|
|
34
|
+
onRejected: C,
|
|
35
|
+
onApproved: oe,
|
|
36
|
+
onReopened: se,
|
|
37
|
+
onDeleted: ce,
|
|
38
|
+
onPay: le
|
|
39
|
+
}), [L, R] = f({
|
|
40
|
+
invoiceId: void 0,
|
|
41
|
+
open: !1,
|
|
42
|
+
shouldOpenEditMode: !1
|
|
43
|
+
}), z = () => {
|
|
44
|
+
R((e) => ({
|
|
45
|
+
...e,
|
|
46
|
+
open: !1,
|
|
47
|
+
shouldOpenEditMode: !1,
|
|
48
|
+
invoiceId: void 0
|
|
49
|
+
}));
|
|
50
|
+
}, [B, V] = f(!1), [H, U] = f(void 0), W = ae(!1), G = () => {
|
|
51
|
+
V(!1), U(void 0);
|
|
52
|
+
}, { FileInput: ue, openFileInput: de, checkFileError: fe } = a(), K = T.finops.postPayablesUploadFromFile.useMutation({}, {
|
|
53
|
+
onSuccess: () => T.finops.getPayables.invalidateQueries(E),
|
|
54
|
+
onError: () => {}
|
|
55
|
+
}), q = (e) => {
|
|
56
|
+
let n = e instanceof File ? [e] : Array.from(e);
|
|
57
|
+
if (n.length > 10) {
|
|
58
|
+
h.error(w._("You can only upload up to {fileCount} files at a time", { fileCount: 10 }));
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
n.forEach((e) => {
|
|
62
|
+
let n = fe(e);
|
|
63
|
+
if (n) {
|
|
64
|
+
h.error(n);
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
h.promise(K.mutateAsync({ file: e }), {
|
|
68
|
+
loading: w._("Uploading {fileName}", { fileName: e.name }),
|
|
69
|
+
success: w._("Payable {fileName} uploaded successfully", { fileName: e.name }),
|
|
70
|
+
error: (e) => t(w, e)
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
}, J = te(), Y = J.has(e.PayableWriteOrg), X = J.has(e.PayableReadOrg);
|
|
74
|
+
re(() => {
|
|
75
|
+
W.current || v === "create" && Y && (W.current = !0, U(y), V(!0));
|
|
76
|
+
}, [
|
|
77
|
+
v,
|
|
78
|
+
Y,
|
|
79
|
+
y
|
|
80
|
+
]);
|
|
81
|
+
let { root: Z } = i(), Q = "Monite-Payables-Header", $ = _ ?? O?.payables?.enableGLCodes ?? !1, pe = ie(() => n(D.components?.styles?.payables?.button), [D.components?.styles?.payables?.button]);
|
|
82
|
+
return /* @__PURE__ */ m("div", {
|
|
15
83
|
className: "Monite-Payables",
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
84
|
+
style: pe,
|
|
85
|
+
children: [
|
|
86
|
+
s(/* @__PURE__ */ p(d, {
|
|
87
|
+
isCreateAllowed: Y,
|
|
88
|
+
onCreateInvoice: () => {
|
|
89
|
+
U(void 0), V(!0);
|
|
90
|
+
},
|
|
91
|
+
handleFileUpload: q
|
|
92
|
+
})),
|
|
93
|
+
!X && /* @__PURE__ */ p(c, {}),
|
|
94
|
+
X && /* @__PURE__ */ p(ne, {
|
|
95
|
+
initialCounterpartId: v === "create" ? void 0 : y,
|
|
96
|
+
onRowClick: (e) => R({
|
|
97
|
+
open: !0,
|
|
98
|
+
invoiceId: e
|
|
99
|
+
}),
|
|
100
|
+
onPay: I,
|
|
101
|
+
onApproved: N,
|
|
102
|
+
onCanceled: A,
|
|
103
|
+
onSubmitted: j,
|
|
104
|
+
openFileInput: de,
|
|
105
|
+
setIsCreateInvoiceDialogOpen: V,
|
|
106
|
+
openEditDialog: (e) => R({
|
|
107
|
+
open: !0,
|
|
108
|
+
invoiceId: e,
|
|
109
|
+
shouldOpenEditMode: !0
|
|
25
110
|
})
|
|
26
|
-
}),
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
111
|
+
}),
|
|
112
|
+
/* @__PURE__ */ p(ue, {
|
|
113
|
+
"aria-label": w._("Upload payable files"),
|
|
114
|
+
multiple: !0,
|
|
115
|
+
onChange: (e) => {
|
|
116
|
+
let t = e.target.files;
|
|
117
|
+
t && q(t);
|
|
118
|
+
}
|
|
119
|
+
}),
|
|
120
|
+
/* @__PURE__ */ p(o, {
|
|
121
|
+
className: Q + "-Dialog-PayableDetails",
|
|
122
|
+
open: L.open,
|
|
123
|
+
container: Z,
|
|
124
|
+
onClose: z,
|
|
125
|
+
onClosed: z,
|
|
126
|
+
fullScreen: !0,
|
|
127
|
+
children: /* @__PURE__ */ p(u, {
|
|
128
|
+
id: L.invoiceId,
|
|
129
|
+
shouldOpenInEditMode: L.shouldOpenEditMode,
|
|
130
|
+
enableGLCodes: $,
|
|
131
|
+
onClose: z,
|
|
132
|
+
onSaved: k,
|
|
133
|
+
onCanceled: A,
|
|
134
|
+
onSubmitted: j,
|
|
135
|
+
onRejected: M,
|
|
136
|
+
onApproved: N,
|
|
137
|
+
onReopened: P,
|
|
138
|
+
onDeleted: (e) => {
|
|
139
|
+
F?.(e), z(), h(w._("Bill #{payableId} has been deleted", { payableId: e }), { duration: 5e3 });
|
|
33
140
|
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
if (t.length > 10) {
|
|
54
|
-
m.error(y._("You can only upload up to {fileCount} files at a time", { fileCount: 10 })), x(!1);
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
t.forEach((e) => {
|
|
58
|
-
let t = w(e);
|
|
59
|
-
if (t) {
|
|
60
|
-
m.error(t);
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
v(e);
|
|
64
|
-
}), x(!1);
|
|
65
|
-
},
|
|
66
|
-
onClick: C,
|
|
67
|
-
children: /* @__PURE__ */ p("div", {
|
|
68
|
-
className: "ttw:mx-auto ttw:flex ttw:flex-col ttw:items-center ttw:gap-2",
|
|
69
|
-
children: [
|
|
70
|
-
/* @__PURE__ */ f("div", {
|
|
71
|
-
className: "ttw:w-11 ttw:h-11 ttw:rounded-full ttw:bg-primary ttw:flex ttw:items-center ttw:justify-center",
|
|
72
|
-
children: /* @__PURE__ */ f(l, { className: "ttw:text-white ttw:size-5" })
|
|
73
|
-
}),
|
|
74
|
-
/* @__PURE__ */ p("p", {
|
|
75
|
-
className: "ttw:text-sm ttw:font-medium ttw:text-zinc-950",
|
|
76
|
-
children: [
|
|
77
|
-
y._("Drop your files here, or"),
|
|
78
|
-
" ",
|
|
79
|
-
/* @__PURE__ */ f("span", {
|
|
80
|
-
className: "ttw:text-primary ttw:underline",
|
|
81
|
-
children: y._("click to browse")
|
|
82
|
-
})
|
|
83
|
-
]
|
|
84
|
-
}),
|
|
85
|
-
/* @__PURE__ */ f("p", {
|
|
86
|
-
className: "ttw:text-xs ttw:font-normal ttw:text-zinc-500",
|
|
87
|
-
children: y._("PDF, PNG or JPG (max. 20MB)")
|
|
88
|
-
})
|
|
89
|
-
]
|
|
90
|
-
})
|
|
91
|
-
}),
|
|
92
|
-
/* @__PURE__ */ p("div", {
|
|
93
|
-
className: "ttw:flex ttw:flex-col",
|
|
94
|
-
children: [/* @__PURE__ */ f("h3", {
|
|
95
|
-
className: "ttw:text-primary ttw:text-sm ttw:font-semibold",
|
|
96
|
-
children: y._("Send via email")
|
|
97
|
-
}), /* @__PURE__ */ f("p", {
|
|
98
|
-
className: "ttw:text-zinc-500 ttw:font-normal ttw:text-sm",
|
|
99
|
-
children: y._("Email your bills here and they'll appear in your bill pay inbox, ready to review and pay.")
|
|
100
|
-
})]
|
|
101
|
-
}),
|
|
102
|
-
/* @__PURE__ */ p("div", {
|
|
103
|
-
className: "ttw:px-3 ttw:h-14 ttw:border ttw:border-zinc-200 ttw:rounded-lg ttw:flex ttw:items-center ttw:justify-between ttw:gap-6",
|
|
104
|
-
children: [/* @__PURE__ */ f("span", { children: y._("bills@business-banking.com") }), /* @__PURE__ */ p(n, {
|
|
105
|
-
type: "button",
|
|
106
|
-
variant: "ghost",
|
|
107
|
-
size: "sm",
|
|
108
|
-
className: "ttw:text-primary ttw:hover:bg-primary-foreground ttw:hover:text-primary",
|
|
109
|
-
onClick: () => {
|
|
110
|
-
navigator.clipboard.writeText("bills@business-banking.com"), m.success(y._("Email address copied to clipboard"));
|
|
111
|
-
},
|
|
112
|
-
children: [/* @__PURE__ */ f(u, {}), y._("Copy")]
|
|
113
|
-
})]
|
|
114
|
-
}),
|
|
115
|
-
/* @__PURE__ */ p("div", {
|
|
116
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
117
|
-
children: [/* @__PURE__ */ f("h3", {
|
|
118
|
-
className: "ttw:text-sm ttw:font-semibold ttw:text-primary",
|
|
119
|
-
children: y._("Or add bill manually")
|
|
120
|
-
}), /* @__PURE__ */ p(n, {
|
|
121
|
-
onClick: () => {
|
|
122
|
-
x(!1), _();
|
|
123
|
-
},
|
|
124
|
-
className: "ttw:w-fit ttw:bg-primary-foreground ttw:hover:bg-primary-foreground ttw:text-primary",
|
|
125
|
-
children: [/* @__PURE__ */ f(d, {}), y._("Add new bill")]
|
|
126
|
-
})]
|
|
127
|
-
})
|
|
128
|
-
]
|
|
129
|
-
}), /* @__PURE__ */ f(S, {
|
|
130
|
-
"aria-label": y._("Upload payable files"),
|
|
131
|
-
multiple: !0,
|
|
132
|
-
onChange: (e) => {
|
|
133
|
-
let t = e.target.files;
|
|
134
|
-
t && v(t), x(!1);
|
|
141
|
+
onPay: I
|
|
142
|
+
})
|
|
143
|
+
}),
|
|
144
|
+
/* @__PURE__ */ p(o, {
|
|
145
|
+
className: Q + "-Dialog-CreatePayable",
|
|
146
|
+
open: B,
|
|
147
|
+
container: Z,
|
|
148
|
+
onClose: G,
|
|
149
|
+
fullScreen: !0,
|
|
150
|
+
children: /* @__PURE__ */ p(u, {
|
|
151
|
+
shouldOpenInEditMode: !0,
|
|
152
|
+
initialCounterpartId: H,
|
|
153
|
+
enableGLCodes: $,
|
|
154
|
+
onClose: G,
|
|
155
|
+
onSaved: (e) => {
|
|
156
|
+
R({
|
|
157
|
+
open: !0,
|
|
158
|
+
invoiceId: e
|
|
159
|
+
}), G(), k?.(e);
|
|
135
160
|
}
|
|
136
|
-
})
|
|
137
|
-
})
|
|
138
|
-
|
|
161
|
+
})
|
|
162
|
+
})
|
|
163
|
+
]
|
|
139
164
|
});
|
|
140
165
|
};
|
|
141
166
|
//#endregion
|
|
142
|
-
export {
|
|
167
|
+
export { _ as Payables };
|
|
@@ -1 +1,25 @@
|
|
|
1
|
+
import "./index198.js";
|
|
2
|
+
import "./index199.js";
|
|
3
|
+
import "./index200.js";
|
|
4
|
+
import "./index201.js";
|
|
5
|
+
import "./index202.js";
|
|
6
|
+
import "./index203.js";
|
|
7
|
+
import "./index204.js";
|
|
8
|
+
import "./index205.js";
|
|
9
|
+
import "./index206.js";
|
|
10
|
+
import "./index207.js";
|
|
11
|
+
import "./index208.js";
|
|
12
|
+
import "./index209.js";
|
|
13
|
+
import "./index210.js";
|
|
14
|
+
import "./index211.js";
|
|
15
|
+
import "./index212.js";
|
|
16
|
+
import "./index213.js";
|
|
17
|
+
import "./index214.js";
|
|
18
|
+
import "./index215.js";
|
|
19
|
+
import "./index216.js";
|
|
20
|
+
import "./index217.js";
|
|
21
|
+
import "./index270.js";
|
|
22
|
+
import "./index283.js";
|
|
23
|
+
import "./index271.js";
|
|
24
|
+
import "./index284.js";
|
|
1
25
|
import "./index288.js";
|
|
@@ -1,167 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import { getAPIErrorMessage as t } from "./index26.js";
|
|
4
|
-
import { generatePayablesButtonCssVars as n } from "./index42.js";
|
|
5
|
-
import { useMoniteContext as r } from "./index45.js";
|
|
6
|
-
import { useRootElements as i } from "./index78.js";
|
|
7
|
-
import "./index79.js";
|
|
8
|
-
import { useFileInput as a } from "./index81.js";
|
|
9
|
-
import { useComponentSettings as ee } from "./index87.js";
|
|
10
|
-
import "./index89.js";
|
|
11
|
-
import { Dialog as o } from "./index128.js";
|
|
12
|
-
import "./index129.js";
|
|
13
|
-
import { MoniteScopedProviders as s } from "./index155.js";
|
|
14
|
-
import { useUserPermissions as te } from "./index156.js";
|
|
15
|
-
import { AccessRestriction as c } from "./index162.js";
|
|
16
|
-
import "./index165.js";
|
|
17
|
-
import { usePayableCallbacks as l } from "./index202.js";
|
|
18
|
-
import { PayableDetails as u } from "./index272.js";
|
|
19
|
-
import { PayablesTable as ne } from "./index285.js";
|
|
20
|
-
import "./index273.js";
|
|
21
|
-
import "./index286.js";
|
|
22
|
-
import { CreatePayableMenu as d } from "./index288.js";
|
|
23
|
-
import "./index289.js";
|
|
24
|
-
import { useEffect as re, useMemo as ie, useRef as ae, useState as f } from "react";
|
|
25
|
-
import { jsx as p, jsxs as m } from "@emotion/react/jsx-runtime";
|
|
26
|
-
import { toast as h } from "react-hot-toast";
|
|
27
|
-
import { useLingui as g } from "@lingui/react";
|
|
1
|
+
import { Fragment as e } from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
28
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js
|
|
29
|
-
|
|
30
|
-
let
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
open: !1,
|
|
42
|
-
shouldOpenEditMode: !1
|
|
43
|
-
}), z = () => {
|
|
44
|
-
R((e) => ({
|
|
45
|
-
...e,
|
|
46
|
-
open: !1,
|
|
47
|
-
shouldOpenEditMode: !1,
|
|
48
|
-
invoiceId: void 0
|
|
49
|
-
}));
|
|
50
|
-
}, [B, V] = f(!1), [H, U] = f(void 0), W = ae(!1), G = () => {
|
|
51
|
-
V(!1), U(void 0);
|
|
52
|
-
}, { FileInput: ue, openFileInput: de, checkFileError: fe } = a(), K = T.finops.postPayablesUploadFromFile.useMutation({}, {
|
|
53
|
-
onSuccess: () => T.finops.getPayables.invalidateQueries(E),
|
|
54
|
-
onError: () => {}
|
|
55
|
-
}), q = (e) => {
|
|
56
|
-
let n = e instanceof File ? [e] : Array.from(e);
|
|
57
|
-
if (n.length > 10) {
|
|
58
|
-
h.error(w._("You can only upload up to {fileCount} files at a time", { fileCount: 10 }));
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
n.forEach((e) => {
|
|
62
|
-
let n = fe(e);
|
|
63
|
-
if (n) {
|
|
64
|
-
h.error(n);
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
h.promise(K.mutateAsync({ file: e }), {
|
|
68
|
-
loading: w._("Uploading {fileName}", { fileName: e.name }),
|
|
69
|
-
success: w._("Payable {fileName} uploaded successfully", { fileName: e.name }),
|
|
70
|
-
error: (e) => t(w, e)
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
}, J = te(), Y = J.has(e.PayableWriteOrg), X = J.has(e.PayableReadOrg);
|
|
74
|
-
re(() => {
|
|
75
|
-
W.current || v === "create" && Y && (W.current = !0, U(y), V(!0));
|
|
76
|
-
}, [
|
|
77
|
-
v,
|
|
78
|
-
Y,
|
|
79
|
-
y
|
|
80
|
-
]);
|
|
81
|
-
let { root: Z } = i(), Q = "Monite-Payables-Header", $ = _ ?? O?.payables?.enableGLCodes ?? !1, pe = ie(() => n(D.components?.styles?.payables?.button), [D.components?.styles?.payables?.button]);
|
|
82
|
-
return /* @__PURE__ */ m("div", {
|
|
83
|
-
className: "Monite-Payables",
|
|
84
|
-
style: pe,
|
|
85
|
-
children: [
|
|
86
|
-
s(/* @__PURE__ */ p(d, {
|
|
87
|
-
isCreateAllowed: Y,
|
|
88
|
-
onCreateInvoice: () => {
|
|
89
|
-
U(void 0), V(!0);
|
|
90
|
-
},
|
|
91
|
-
handleFileUpload: q
|
|
92
|
-
})),
|
|
93
|
-
!X && /* @__PURE__ */ p(c, {}),
|
|
94
|
-
X && /* @__PURE__ */ p(ne, {
|
|
95
|
-
initialCounterpartId: v === "create" ? void 0 : y,
|
|
96
|
-
onRowClick: (e) => R({
|
|
97
|
-
open: !0,
|
|
98
|
-
invoiceId: e
|
|
99
|
-
}),
|
|
100
|
-
onPay: I,
|
|
101
|
-
onApproved: N,
|
|
102
|
-
onCanceled: A,
|
|
103
|
-
onSubmitted: j,
|
|
104
|
-
openFileInput: de,
|
|
105
|
-
setIsCreateInvoiceDialogOpen: V,
|
|
106
|
-
openEditDialog: (e) => R({
|
|
107
|
-
open: !0,
|
|
108
|
-
invoiceId: e,
|
|
109
|
-
shouldOpenEditMode: !0
|
|
110
|
-
})
|
|
111
|
-
}),
|
|
112
|
-
/* @__PURE__ */ p(ue, {
|
|
113
|
-
"aria-label": w._("Upload payable files"),
|
|
114
|
-
multiple: !0,
|
|
115
|
-
onChange: (e) => {
|
|
116
|
-
let t = e.target.files;
|
|
117
|
-
t && q(t);
|
|
118
|
-
}
|
|
119
|
-
}),
|
|
120
|
-
/* @__PURE__ */ p(o, {
|
|
121
|
-
className: Q + "-Dialog-PayableDetails",
|
|
122
|
-
open: L.open,
|
|
123
|
-
container: Z,
|
|
124
|
-
onClose: z,
|
|
125
|
-
onClosed: z,
|
|
126
|
-
fullScreen: !0,
|
|
127
|
-
children: /* @__PURE__ */ p(u, {
|
|
128
|
-
id: L.invoiceId,
|
|
129
|
-
shouldOpenInEditMode: L.shouldOpenEditMode,
|
|
130
|
-
enableGLCodes: $,
|
|
131
|
-
onClose: z,
|
|
132
|
-
onSaved: k,
|
|
133
|
-
onCanceled: A,
|
|
134
|
-
onSubmitted: j,
|
|
135
|
-
onRejected: M,
|
|
136
|
-
onApproved: N,
|
|
137
|
-
onReopened: P,
|
|
138
|
-
onDeleted: (e) => {
|
|
139
|
-
F?.(e), z(), h(w._("Bill #{payableId} has been deleted", { payableId: e }), { duration: 5e3 });
|
|
140
|
-
},
|
|
141
|
-
onPay: I
|
|
142
|
-
})
|
|
143
|
-
}),
|
|
144
|
-
/* @__PURE__ */ p(o, {
|
|
145
|
-
className: Q + "-Dialog-CreatePayable",
|
|
146
|
-
open: B,
|
|
147
|
-
container: Z,
|
|
148
|
-
onClose: G,
|
|
149
|
-
fullScreen: !0,
|
|
150
|
-
children: /* @__PURE__ */ p(u, {
|
|
151
|
-
shouldOpenInEditMode: !0,
|
|
152
|
-
initialCounterpartId: H,
|
|
153
|
-
enableGLCodes: $,
|
|
154
|
-
onClose: G,
|
|
155
|
-
onSaved: (e) => {
|
|
156
|
-
R({
|
|
157
|
-
open: !0,
|
|
158
|
-
invoiceId: e
|
|
159
|
-
}), G(), k?.(e);
|
|
160
|
-
}
|
|
161
|
-
})
|
|
162
|
-
})
|
|
163
|
-
]
|
|
4
|
+
function r(r, i) {
|
|
5
|
+
let a = r.split("\0");
|
|
6
|
+
return a.length === 1 ? /* @__PURE__ */ t("span", { children: r }) : /* @__PURE__ */ t("span", {
|
|
7
|
+
className: "ttw:flex ttw:min-w-0",
|
|
8
|
+
children: a.map((r, o) => /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("span", {
|
|
9
|
+
className: "ttw:whitespace-pre-wrap",
|
|
10
|
+
children: r
|
|
11
|
+
}), o < a.length - 1 && /* @__PURE__ */ t("span", {
|
|
12
|
+
className: "ttw:min-w-[4ch] ttw:shrink-[9999] ttw:truncate",
|
|
13
|
+
title: i,
|
|
14
|
+
children: i
|
|
15
|
+
})] }, o))
|
|
164
16
|
});
|
|
165
|
-
}
|
|
17
|
+
}
|
|
166
18
|
//#endregion
|
|
167
|
-
export {
|
|
19
|
+
export { r as messageWithTruncatedName };
|
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
import "./index220.js";
|
|
22
|
-
import "./index272.js";
|
|
23
|
-
import "./index285.js";
|
|
24
|
-
import "./index273.js";
|
|
25
|
-
import "./index286.js";
|
|
26
|
-
import "./index290.js";
|
|
1
|
+
import { getAPIErrorMessage as e } from "./index26.js";
|
|
2
|
+
import { useMoniteContext as t } from "./index45.js";
|
|
3
|
+
import { messageWithTruncatedName as n } from "./index290.js";
|
|
4
|
+
import { toast as r } from "react-hot-toast";
|
|
5
|
+
import { useLingui as i } from "@lingui/react";
|
|
6
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js
|
|
7
|
+
var a = (a) => {
|
|
8
|
+
let { api: o, queryClient: s } = t(), { i18n: c } = i();
|
|
9
|
+
return o.finops.postProducts.useMutation(void 0, {
|
|
10
|
+
onSuccess: async (e) => {
|
|
11
|
+
a?.(e), await o.finops.getProducts.invalidateQueries(s), r.success(n(c._("{name} has been added to the list.", { name: "\0" }), e.name));
|
|
12
|
+
},
|
|
13
|
+
onError: (t) => {
|
|
14
|
+
let n = e(c, t, { defaultMessage: "" });
|
|
15
|
+
r.error(n ? c._("Failed to create: {reason}", { reason: n }) : c._("Failed to create"));
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { a as useCreateProduct };
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
3
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js
|
|
4
|
-
|
|
5
|
-
let
|
|
6
|
-
return
|
|
7
|
-
|
|
8
|
-
children: a.map((r, o) => /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("span", {
|
|
9
|
-
className: "ttw:whitespace-pre-wrap",
|
|
10
|
-
children: r
|
|
11
|
-
}), o < a.length - 1 && /* @__PURE__ */ t("span", {
|
|
12
|
-
className: "ttw:min-w-[4ch] ttw:shrink-[9999] ttw:truncate",
|
|
13
|
-
title: i,
|
|
14
|
-
children: i
|
|
15
|
-
})] }, o))
|
|
16
|
-
});
|
|
17
|
-
}
|
|
3
|
+
var t = () => {
|
|
4
|
+
let { api: t } = e();
|
|
5
|
+
return t.finops.getMeasureUnits.useQuery();
|
|
6
|
+
};
|
|
18
7
|
//#endregion
|
|
19
|
-
export {
|
|
8
|
+
export { t as useGetMeasureUnits };
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { useLingui as i } from "@lingui/react";
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { messageWithTruncatedName as t } from "./index290.js";
|
|
3
|
+
import { toast as n } from "react-hot-toast";
|
|
4
|
+
import { useLingui as r } from "@lingui/react";
|
|
6
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js
|
|
7
|
-
var
|
|
8
|
-
let { api:
|
|
9
|
-
return
|
|
10
|
-
onSuccess: async (
|
|
11
|
-
|
|
6
|
+
var i = (i) => {
|
|
7
|
+
let { api: a, queryClient: o } = e(), { i18n: s } = r();
|
|
8
|
+
return a.finops.deleteMeasureUnitsId.useMutation(void 0, {
|
|
9
|
+
onSuccess: async () => {
|
|
10
|
+
i && (await a.finops.getMeasureUnits.invalidateQueries(o), n.success(t(s._("Unit {name} was deleted from the list.", { name: "\0" }), i)));
|
|
12
11
|
},
|
|
13
|
-
onError: (
|
|
14
|
-
|
|
15
|
-
r.error(n ? c._("Failed to create: {reason}", { reason: n }) : c._("Failed to create"));
|
|
12
|
+
onError: (e) => {
|
|
13
|
+
console.error(e), n.error(s._("Failed to delete Unit."));
|
|
16
14
|
}
|
|
17
15
|
});
|
|
18
16
|
};
|
|
19
17
|
//#endregion
|
|
20
|
-
export {
|
|
18
|
+
export { i as useDeleteMeasureUnit };
|