@tesouro/embedded-components-react 0.7.57 → 0.7.58
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 -28
- package/dist/lib/monite-sdk.d.ts +2376 -4041
- package/dist/lib/monite-sdk.js +53 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +58 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1222 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +176 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +5 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +17 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +5 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +3 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +38 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +11 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +50 -1222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +65 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +167 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +6 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +76 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +75 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +32 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +56 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +564 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +1 -569
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +159 -0
- 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 +22 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +18 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +27 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +162 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +6 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +39 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +48 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +58 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +27 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +43 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +78 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index16.js +3 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +2 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +52 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +81 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +109 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +4 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +10 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index17.js +59 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +122 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +16 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +62 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index18.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +22 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +6 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +54 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +73 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +25 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +58 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +19 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +182 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +27 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +8 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +5 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +15 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +23 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +81 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +97 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +1 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +96 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +102 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +166 -193
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +67 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +24 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +209 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +89 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index23.js +23 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +153 -354
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +104 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +4 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +20 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +5 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +10 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +129 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +5 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +5 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +221 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +76 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +175 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +204 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +93 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +63 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +54 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +92 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +37 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +77 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +80 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +16 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +28 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +30 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +28 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +2 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +156 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +57 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +929 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +67 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +14 -930
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +43 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +8 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +4 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +1 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +49 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +11 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +45 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +37 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +31 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +53 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +12 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +23 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +69 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +8 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +25 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +3 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +2 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +103 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +0 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +0 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +0 -242
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +0 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +0 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +0 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +0 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +0 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +0 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +0 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +0 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +0 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +0 -97
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { cn as e } from "./index54.js";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
3
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js
|
|
4
|
-
function n(...
|
|
5
|
-
return
|
|
4
|
+
function n({ className: n, ...r }) {
|
|
5
|
+
return /* @__PURE__ */ t("div", {
|
|
6
|
+
"data-slot": "skeleton",
|
|
7
|
+
className: e("ttw:bg-accent ttw:animate-pulse ttw:rounded-md", n),
|
|
8
|
+
...r
|
|
9
|
+
});
|
|
6
10
|
}
|
|
7
11
|
//#endregion
|
|
8
|
-
export { n as
|
|
12
|
+
export { n as Skeleton };
|
|
@@ -1,9 +1,72 @@
|
|
|
1
|
-
import { cn as e } from "./index62.js";
|
|
2
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
3
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
var e = ({ variant: e, isError: r = !1, componentType: i, showAvatar: a = !1, showUsersAsEmail: o = !1, className: s = "" }) => {
|
|
3
|
+
if (r) {
|
|
4
|
+
let t = `ttw:text-muted-foreground ${s}`;
|
|
5
|
+
return i === "user" && e !== "badge" ? {
|
|
6
|
+
useBadge: !1,
|
|
7
|
+
badgeVariant: "outline",
|
|
8
|
+
className: t,
|
|
9
|
+
showAvatar: !1,
|
|
10
|
+
showIcon: !1
|
|
11
|
+
} : {
|
|
12
|
+
useBadge: !0,
|
|
13
|
+
badgeVariant: "outline",
|
|
14
|
+
className: t,
|
|
15
|
+
showAvatar: !1,
|
|
16
|
+
showIcon: !1
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
return i === "user" ? t(e, a, o, s) : n(e, s);
|
|
20
|
+
};
|
|
21
|
+
function t(e, t, n, r) {
|
|
22
|
+
switch (e) {
|
|
23
|
+
case "badge": return {
|
|
24
|
+
useBadge: !0,
|
|
25
|
+
badgeVariant: "secondary",
|
|
26
|
+
className: `ttw:gap-1 ttw:px-2 ttw:py-1 ${r}`,
|
|
27
|
+
showAvatar: t,
|
|
28
|
+
showIcon: !1
|
|
29
|
+
};
|
|
30
|
+
case "cell": return {
|
|
31
|
+
useBadge: !1,
|
|
32
|
+
badgeVariant: "secondary",
|
|
33
|
+
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ttw:overflow-hidden ttw:text-ellipsis ttw:whitespace-nowrap ttw:block ${n ? "ttw:text-blue-600" : ""} ${r}`,
|
|
34
|
+
showAvatar: !1,
|
|
35
|
+
showIcon: !1
|
|
36
|
+
};
|
|
37
|
+
default: return {
|
|
38
|
+
useBadge: !1,
|
|
39
|
+
badgeVariant: "secondary",
|
|
40
|
+
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ${r}`,
|
|
41
|
+
showAvatar: !1,
|
|
42
|
+
showIcon: !1
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
function n(e, t) {
|
|
47
|
+
switch (e) {
|
|
48
|
+
case "filled": return {
|
|
49
|
+
useBadge: !0,
|
|
50
|
+
badgeVariant: "secondary",
|
|
51
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-gray-100 ttw:text-gray-800 ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-lg ttw:px-4 ttw:py-1 ${t}`,
|
|
52
|
+
showAvatar: !1,
|
|
53
|
+
showIcon: !1
|
|
54
|
+
};
|
|
55
|
+
case "outlined": return {
|
|
56
|
+
useBadge: !0,
|
|
57
|
+
badgeVariant: "outline",
|
|
58
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:text-sm ttw:font-medium ttw:whitespace-nowrap ttw:rounded ttw:px-2 ttw:py-1 ttw:gap-1 ${t}`,
|
|
59
|
+
showAvatar: !1,
|
|
60
|
+
showIcon: !0
|
|
61
|
+
};
|
|
62
|
+
default: return {
|
|
63
|
+
useBadge: !0,
|
|
64
|
+
badgeVariant: "secondary",
|
|
65
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-[rgb(248,248,255)] ttw:text-[rgb(55,55,255)] ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-[7.98px] ttw:px-2 ttw:py-[7px] ttw:gap-2 ttw:transition-colors ${t}`,
|
|
66
|
+
showAvatar: !1,
|
|
67
|
+
showIcon: !0
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}
|
|
8
71
|
//#endregion
|
|
9
|
-
export {
|
|
72
|
+
export { e as getVariantProps };
|
|
@@ -1 +1,54 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useEntityUserById as e } from "./index45.js";
|
|
2
|
+
import "./index53.js";
|
|
3
|
+
import { Avatar as t, AvatarFallback as n } from "./index60.js";
|
|
4
|
+
import { Badge as r } from "./index61.js";
|
|
5
|
+
import { Skeleton as i } from "./index62.js";
|
|
6
|
+
import { getVariantProps as a } from "./index63.js";
|
|
7
|
+
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js
|
|
9
|
+
var c = ({ userId: c, user: l, variant: u = "text", showUsersAsEmail: d = !1, showAvatar: f = !1, className: p = "" }) => {
|
|
10
|
+
let { data: m, isLoading: h, isError: g } = e(l ? void 0 : c), _ = l || m;
|
|
11
|
+
if (!_ && !h && g && c) {
|
|
12
|
+
let { useBadge: e, badgeVariant: t, className: n } = a({
|
|
13
|
+
variant: u,
|
|
14
|
+
isError: !0,
|
|
15
|
+
componentType: "user",
|
|
16
|
+
className: p
|
|
17
|
+
});
|
|
18
|
+
return e ? /* @__PURE__ */ o(r, {
|
|
19
|
+
variant: t,
|
|
20
|
+
className: n,
|
|
21
|
+
children: "N/A"
|
|
22
|
+
}) : /* @__PURE__ */ o("span", {
|
|
23
|
+
className: n,
|
|
24
|
+
children: "N/A"
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
if (!_ && !h) return null;
|
|
28
|
+
let v = _ ? `${_.first_name ?? ""} ${_.last_name ?? ""}`.trim() : "", y = _ ? `${_.first_name?.[0] ?? ""}${_.last_name?.[0] ?? ""}`.toUpperCase() : "", b = d && _?.email ? _.email : v || _?.email || "";
|
|
29
|
+
if (h) return /* @__PURE__ */ o(i, { className: "ttw:h-4 ttw:w-20" });
|
|
30
|
+
let { useBadge: x, badgeVariant: S, className: C, showAvatar: w } = a({
|
|
31
|
+
variant: u,
|
|
32
|
+
isError: !1,
|
|
33
|
+
componentType: "user",
|
|
34
|
+
showAvatar: f,
|
|
35
|
+
showUsersAsEmail: d,
|
|
36
|
+
className: p
|
|
37
|
+
});
|
|
38
|
+
return x ? /* @__PURE__ */ s(r, {
|
|
39
|
+
variant: S,
|
|
40
|
+
className: C,
|
|
41
|
+
children: [w && /* @__PURE__ */ o(t, {
|
|
42
|
+
className: "ttw:w-4 ttw:h-4",
|
|
43
|
+
children: /* @__PURE__ */ o(n, {
|
|
44
|
+
className: "ttw:text-xs ttw:font-medium",
|
|
45
|
+
children: y
|
|
46
|
+
})
|
|
47
|
+
}), b]
|
|
48
|
+
}) : /* @__PURE__ */ o("span", {
|
|
49
|
+
className: C,
|
|
50
|
+
children: b
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
//#endregion
|
|
54
|
+
export { c as User };
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js
|
|
4
|
-
var n = ({ className: n }) => /* @__PURE__ */ t("div", { className: e("ttw:w-8 ttw:h-8 ttw:rounded-full ttw:border-3 ttw:border-primary ttw:border-t-transparent ttw:animate-spin", n) });
|
|
5
|
-
//#endregion
|
|
6
|
-
export { n as LoadingSpinner };
|
|
1
|
+
import "./index64.js";
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
import { CenteredContentBox as e } from "./index63.js";
|
|
2
|
-
import "./index64.js";
|
|
3
|
-
import { LoadingSpinner as t } from "./index65.js";
|
|
4
|
-
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
5
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js
|
|
6
|
-
var
|
|
2
|
+
var e = (e, t = 2) => Math.round(e * 10 ** t), t = (e, t = 2) => e / 10 ** t, n = (t, n, r) => {
|
|
3
|
+
let i = r?.[n];
|
|
4
|
+
if (!i) return null;
|
|
5
|
+
let a = typeof t == "string", o = a ? Number(t) : t;
|
|
6
|
+
return !Number.isFinite(o) || a && t.trim() === "" ? null : e(o, i.minor_units);
|
|
7
|
+
}, r = (e, n, r) => {
|
|
8
|
+
let i = r?.[n];
|
|
9
|
+
if (!i || !Number.isFinite(e)) return null;
|
|
10
|
+
let a = t(e, i.minor_units);
|
|
11
|
+
return Number(a.toFixed(i.minor_units));
|
|
12
|
+
}, i = (e, t) => {
|
|
13
|
+
let n = e.formatToParts(t), r = (e) => e.type !== "currency" && e.type !== "literal", i = n.findIndex(r);
|
|
14
|
+
if (i === -1) return e.format(t);
|
|
15
|
+
let a = n.length - 1;
|
|
16
|
+
for (; a > i && !r(n[a]);) a--;
|
|
17
|
+
let o = (e) => e.map((e) => e.value).join("");
|
|
18
|
+
return `${o(n.slice(0, i))}(${o(n.slice(i, a + 1))})${o(n.slice(a + 1))}`;
|
|
19
|
+
};
|
|
7
20
|
//#endregion
|
|
8
|
-
export { r as
|
|
21
|
+
export { i as bracketAmount, t as fromMinorUnits, r as fromMinorUnitsWithCurrency, e as toMinorUnits, n as toMinorUnitsWithCurrency };
|
|
@@ -1 +1,49 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { getAPIErrorMessage as e } from "./index18.js";
|
|
2
|
+
import { useMoniteContext as t } from "./index37.js";
|
|
3
|
+
import { bracketAmount as n, fromMinorUnitsWithCurrency as r, toMinorUnitsWithCurrency as i } from "./index66.js";
|
|
4
|
+
import { useCallback as a, useEffect as o } from "react";
|
|
5
|
+
import { toast as s } from "react-hot-toast";
|
|
6
|
+
import { useLingui as c } from "@lingui/react";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js
|
|
8
|
+
var l = () => {
|
|
9
|
+
let { locale: l, api: u } = t(), { data: d, isSuccess: f, isError: p, error: m } = u.finops.getInternalCurrencies.useQuery(), { i18n: h } = c();
|
|
10
|
+
o(() => {
|
|
11
|
+
p && s.error(e(h, m));
|
|
12
|
+
}, [
|
|
13
|
+
p,
|
|
14
|
+
m,
|
|
15
|
+
h
|
|
16
|
+
]);
|
|
17
|
+
let g = (e) => typeof e != "string" || !d || !d[e] ? e : d[e]?.symbol, _ = a((e, t) => r(e, t, d), [d]), v = a((e, t) => i(e, t, d), [d]);
|
|
18
|
+
return {
|
|
19
|
+
currencyList: d,
|
|
20
|
+
getSymbolFromCurrency: g,
|
|
21
|
+
formatCurrencyToDisplay: a((e, t, r = !0, i = !1) => {
|
|
22
|
+
let a = Number(e), o = _(a, t);
|
|
23
|
+
if (o === null) return null;
|
|
24
|
+
if (r && d && d[t]) {
|
|
25
|
+
let e = new Intl.NumberFormat(l.currencyNumberFormat.localeCode, {
|
|
26
|
+
style: "currency",
|
|
27
|
+
currencyDisplay: l.currencyNumberFormat.display === "symbol" ? "narrowSymbol" : l.currencyNumberFormat.display,
|
|
28
|
+
currency: t
|
|
29
|
+
});
|
|
30
|
+
return i && o < 0 ? n(e, Math.abs(o)) : e.format(o);
|
|
31
|
+
}
|
|
32
|
+
return new Intl.NumberFormat(l.currencyNumberFormat.localeCode, {
|
|
33
|
+
style: "decimal",
|
|
34
|
+
minimumFractionDigits: 2,
|
|
35
|
+
maximumFractionDigits: 2
|
|
36
|
+
}).format(o);
|
|
37
|
+
}, [
|
|
38
|
+
d,
|
|
39
|
+
_,
|
|
40
|
+
l.currencyNumberFormat.display,
|
|
41
|
+
l.currencyNumberFormat.localeCode
|
|
42
|
+
]),
|
|
43
|
+
formatToMinorUnits: v,
|
|
44
|
+
formatFromMinorUnits: _,
|
|
45
|
+
isSuccess: f
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { l as useCurrencies };
|
|
@@ -1,21 +1,13 @@
|
|
|
1
|
-
import { cn as e } from "./index62.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import * as n from "@radix-ui/react-avatar";
|
|
5
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
className: e("ttw:bg-muted ttw:flex ttw:size-full ttw:items-center ttw:justify-center ttw:rounded-full", r),
|
|
17
|
-
...i
|
|
18
|
-
});
|
|
19
|
-
}
|
|
2
|
+
var e = (e, t) => Object.keys(t).includes(e), t = (t, n) => t === void 0 || t === !0 ? n : t === !1 ? Object.keys(n).reduce((e, t) => ({
|
|
3
|
+
...e,
|
|
4
|
+
[t]: !1
|
|
5
|
+
}), {}) : typeof t == "object" && !Array.isArray(t) && t !== null ? Object.keys(n).reduce((n, r) => {
|
|
6
|
+
let i = r.charAt(4).toLowerCase() + r.slice(5), a = t[i];
|
|
7
|
+
return e(i, t) && typeof a == "boolean" ? {
|
|
8
|
+
...n,
|
|
9
|
+
[r]: a
|
|
10
|
+
} : n;
|
|
11
|
+
}, {}) : n;
|
|
20
12
|
//#endregion
|
|
21
|
-
export {
|
|
13
|
+
export { t as useOptionalFields };
|
|
@@ -1,32 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import { Slot as r } from "@radix-ui/react-slot";
|
|
5
|
-
import { cva as i } from "class-variance-authority";
|
|
1
|
+
import { createContext as e, useContext as t } from "react";
|
|
2
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
6
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
medium: "ttw:w-2 ttw:h-2 ttw:border-[3px]",
|
|
19
|
-
large: "ttw:w-2.5 ttw:h-2.5 ttw:border-4"
|
|
20
|
-
} },
|
|
21
|
-
defaultVariants: { dotSize: "medium" }
|
|
22
|
-
});
|
|
23
|
-
function s({ className: i, variant: s, showBadgeBackground: c = !0, asChild: l = !1, dotSize: u, showDot: d = !1, showDotBorder: f, dotClassName: p, children: m, ...h }) {
|
|
24
|
-
return /* @__PURE__ */ n(l ? r : "span", {
|
|
25
|
-
"data-slot": "badge",
|
|
26
|
-
className: e(a({ variant: s }), !c && "ttw:bg-transparent! ttw:border-transparent! ttw:p-0!", i),
|
|
27
|
-
...h,
|
|
28
|
-
children: [d && /* @__PURE__ */ t("span", { className: e(o({ dotSize: u }), !f && "ttw:border-none", p) }), m]
|
|
4
|
+
var r = e({
|
|
5
|
+
styles: void 0,
|
|
6
|
+
root: void 0
|
|
7
|
+
}), i = () => t(r), a = ({ children: e, elements: t }) => {
|
|
8
|
+
let a = i();
|
|
9
|
+
return /* @__PURE__ */ n(r.Provider, {
|
|
10
|
+
value: {
|
|
11
|
+
...a,
|
|
12
|
+
...t
|
|
13
|
+
},
|
|
14
|
+
children: e
|
|
29
15
|
});
|
|
30
|
-
}
|
|
16
|
+
};
|
|
31
17
|
//#endregion
|
|
32
|
-
export {
|
|
18
|
+
export { a as RootElementsProvider, i as useRootElements };
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js
|
|
4
|
-
function n({ className: n, ...r }) {
|
|
5
|
-
return /* @__PURE__ */ t("div", {
|
|
6
|
-
"data-slot": "skeleton",
|
|
7
|
-
className: e("ttw:bg-accent ttw:animate-pulse ttw:rounded-md", n),
|
|
8
|
-
...r
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { n as Skeleton };
|
|
1
|
+
import "./index69.js";
|
|
@@ -1,72 +1,48 @@
|
|
|
1
|
+
import { useRootElements as e } from "./index69.js";
|
|
2
|
+
import "./index70.js";
|
|
3
|
+
import { useId as t, useState as n } from "react";
|
|
1
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
var r = () => {
|
|
6
|
+
let { root: r } = e(), [i, a] = n({
|
|
7
|
+
element: null,
|
|
8
|
+
open: !1
|
|
9
|
+
}), o = `Monite-Button-${t()}`, s = `Monite-Menu-${t()}`, c = (e) => {
|
|
10
|
+
e.preventDefault(), e.stopPropagation(), a({
|
|
11
|
+
element: e.currentTarget,
|
|
12
|
+
open: !0
|
|
13
|
+
});
|
|
14
|
+
}, l = (e) => {
|
|
15
|
+
e && "preventDefault" in e && (e.preventDefault(), e.stopPropagation()), a((e) => ({
|
|
16
|
+
...e,
|
|
17
|
+
open: !1
|
|
18
|
+
}));
|
|
19
|
+
}, u = {
|
|
20
|
+
id: o,
|
|
21
|
+
"aria-controls": i.open ? s : void 0,
|
|
22
|
+
"aria-expanded": i.open ? "true" : void 0,
|
|
23
|
+
"aria-haspopup": "menu",
|
|
24
|
+
tabIndex: 0,
|
|
25
|
+
onClick: c,
|
|
26
|
+
onKeyDown: (e) => {
|
|
27
|
+
e.defaultPrevented || (e.key === "ArrowDown" || e.key === "ArrowUp") && (e.preventDefault(), a({
|
|
28
|
+
element: e.currentTarget,
|
|
29
|
+
open: !0
|
|
30
|
+
}));
|
|
31
|
+
}
|
|
32
|
+
}, d = {
|
|
33
|
+
id: s,
|
|
34
|
+
anchorEl: i.element,
|
|
35
|
+
open: i.open,
|
|
36
|
+
container: r,
|
|
37
|
+
onClose: l,
|
|
38
|
+
onClick: l
|
|
39
|
+
};
|
|
40
|
+
return {
|
|
41
|
+
open: i.open,
|
|
42
|
+
menuProps: d,
|
|
43
|
+
buttonProps: u,
|
|
44
|
+
closeMenu: l
|
|
45
|
+
};
|
|
20
46
|
};
|
|
21
|
-
function t(e, t, n, r) {
|
|
22
|
-
switch (e) {
|
|
23
|
-
case "badge": return {
|
|
24
|
-
useBadge: !0,
|
|
25
|
-
badgeVariant: "secondary",
|
|
26
|
-
className: `ttw:gap-1 ttw:px-2 ttw:py-1 ${r}`,
|
|
27
|
-
showAvatar: t,
|
|
28
|
-
showIcon: !1
|
|
29
|
-
};
|
|
30
|
-
case "cell": return {
|
|
31
|
-
useBadge: !1,
|
|
32
|
-
badgeVariant: "secondary",
|
|
33
|
-
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ttw:overflow-hidden ttw:text-ellipsis ttw:whitespace-nowrap ttw:block ${n ? "ttw:text-blue-600" : ""} ${r}`,
|
|
34
|
-
showAvatar: !1,
|
|
35
|
-
showIcon: !1
|
|
36
|
-
};
|
|
37
|
-
default: return {
|
|
38
|
-
useBadge: !1,
|
|
39
|
-
badgeVariant: "secondary",
|
|
40
|
-
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ${r}`,
|
|
41
|
-
showAvatar: !1,
|
|
42
|
-
showIcon: !1
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
function n(e, t) {
|
|
47
|
-
switch (e) {
|
|
48
|
-
case "filled": return {
|
|
49
|
-
useBadge: !0,
|
|
50
|
-
badgeVariant: "secondary",
|
|
51
|
-
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-gray-100 ttw:text-gray-800 ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-lg ttw:px-4 ttw:py-1 ${t}`,
|
|
52
|
-
showAvatar: !1,
|
|
53
|
-
showIcon: !1
|
|
54
|
-
};
|
|
55
|
-
case "outlined": return {
|
|
56
|
-
useBadge: !0,
|
|
57
|
-
badgeVariant: "outline",
|
|
58
|
-
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:text-sm ttw:font-medium ttw:whitespace-nowrap ttw:rounded ttw:px-2 ttw:py-1 ttw:gap-1 ${t}`,
|
|
59
|
-
showAvatar: !1,
|
|
60
|
-
showIcon: !0
|
|
61
|
-
};
|
|
62
|
-
default: return {
|
|
63
|
-
useBadge: !0,
|
|
64
|
-
badgeVariant: "secondary",
|
|
65
|
-
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-[rgb(248,248,255)] ttw:text-[rgb(55,55,255)] ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-[7.98px] ttw:px-2 ttw:py-[7px] ttw:gap-2 ttw:transition-colors ${t}`,
|
|
66
|
-
showAvatar: !1,
|
|
67
|
-
showIcon: !0
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
47
|
//#endregion
|
|
72
|
-
export {
|
|
48
|
+
export { r as useMenuButton };
|
|
@@ -1,54 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import { Badge as r } from "./index69.js";
|
|
5
|
-
import { Skeleton as i } from "./index70.js";
|
|
6
|
-
import { getVariantProps as a } from "./index71.js";
|
|
7
|
-
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import { useRef as e, useState as t } from "react";
|
|
2
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { useLingui as r } from "@lingui/react";
|
|
8
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
className: "ttw:w-4 ttw:h-4",
|
|
43
|
-
children: /* @__PURE__ */ o(n, {
|
|
44
|
-
className: "ttw:text-xs ttw:font-medium",
|
|
45
|
-
children: y
|
|
46
|
-
})
|
|
47
|
-
}), b]
|
|
48
|
-
}) : /* @__PURE__ */ o("span", {
|
|
49
|
-
className: C,
|
|
50
|
-
children: b
|
|
51
|
-
});
|
|
5
|
+
var i = 20, a = [
|
|
6
|
+
"application/pdf",
|
|
7
|
+
"image/jpeg",
|
|
8
|
+
"image/png"
|
|
9
|
+
], o = [
|
|
10
|
+
"image/png",
|
|
11
|
+
"image/jpeg",
|
|
12
|
+
"image/gif"
|
|
13
|
+
], s = 10, c = ({ acceptedFormats: o = a, maxFileSizeInMB: s = i } = {}) => {
|
|
14
|
+
let { i18n: c } = r(), l = e({ node: null }), u = e(o);
|
|
15
|
+
u.current = o;
|
|
16
|
+
let [d] = t(() => ({ ref: e, ...t }) => /* @__PURE__ */ n("input", {
|
|
17
|
+
type: "file",
|
|
18
|
+
className: "ttw:sr-only",
|
|
19
|
+
accept: u.current.join(","),
|
|
20
|
+
ref: (t) => {
|
|
21
|
+
typeof e == "function" ? e(t) : e && (e.current = t), l.current.node = t;
|
|
22
|
+
},
|
|
23
|
+
...t
|
|
24
|
+
})), f = () => {
|
|
25
|
+
l?.current?.node && (l.current.node.value = "");
|
|
26
|
+
}, p = 1048576 * s;
|
|
27
|
+
return {
|
|
28
|
+
FileInput: d,
|
|
29
|
+
openFileInput: () => {
|
|
30
|
+
l.current.node?.click();
|
|
31
|
+
},
|
|
32
|
+
checkFileError: (e) => e ? o.includes(e.type) ? e.size > p ? c._("File {fileName} size exceeds {maxFileSizeInMB} MB limit.", {
|
|
33
|
+
fileName: e.name,
|
|
34
|
+
maxFileSizeInMB: s
|
|
35
|
+
}) : null : c._("Unsupported file type for {fileName}", { fileName: e.name }) : c._("No file provided"),
|
|
36
|
+
resetInput: f
|
|
37
|
+
};
|
|
52
38
|
};
|
|
53
39
|
//#endregion
|
|
54
|
-
export { c as
|
|
40
|
+
export { s as LOGO_MAX_FILE_SIZE_IN_MB, o as LOGO_SUPPORTED_FORMATS, a as OCR_SUPPORTED_FORMATS, c as useFileInput };
|
|
@@ -1 +1,66 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index37.js";
|
|
2
|
+
import { useEffect as t, useRef as n } from "react";
|
|
3
|
+
import { flushSync as r } from "react-dom";
|
|
4
|
+
import { useGridApiRef as i } from "@mui/x-data-grid";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js
|
|
6
|
+
var a = 250, o = 300;
|
|
7
|
+
function s(t) {
|
|
8
|
+
let { api: n } = e(), r = !!n.finops.getCounterpartsId.useIsFetching({
|
|
9
|
+
infinite: !1,
|
|
10
|
+
exact: !1,
|
|
11
|
+
predicate: (e) => !!t?.some(({ counterpart_id: t }) => !e.state.isInvalidated && t === e.queryKey[1].path.counterpart_id)
|
|
12
|
+
});
|
|
13
|
+
return !t || r;
|
|
14
|
+
}
|
|
15
|
+
function c(e, a, s, c) {
|
|
16
|
+
let l = i(), u = n(!1), d = n(null);
|
|
17
|
+
return t(() => {
|
|
18
|
+
let t = l.current, n = [];
|
|
19
|
+
return e && e.length && t && t.autosizeColumns && t.getRowsCount() && t.getCellElement(e[0].id, t.getAllColumns()[0].field) && a.length > 0 && !s && !u.current && !d.current && n.push(window.setTimeout(() => {
|
|
20
|
+
r(() => {
|
|
21
|
+
n.push(window.setTimeout(async () => {
|
|
22
|
+
let e = t.getAllColumns();
|
|
23
|
+
await t.autosizeColumns({
|
|
24
|
+
includeHeaders: !0,
|
|
25
|
+
includeOutliers: !0,
|
|
26
|
+
expand: !0
|
|
27
|
+
}), e.forEach((e) => {
|
|
28
|
+
let n = t.getColumn(e.field);
|
|
29
|
+
n?.width && e?.width && (n.width < e.width || n.width > 600) && t.setColumnWidth(e.field, e.width);
|
|
30
|
+
});
|
|
31
|
+
let n = t.getColumn("document_id");
|
|
32
|
+
n && (n?.width || 0) > o && t.setColumnWidth("document_id", o), u.current = !0;
|
|
33
|
+
}, 1));
|
|
34
|
+
});
|
|
35
|
+
}, 1)), () => {
|
|
36
|
+
n.forEach(window.clearTimeout);
|
|
37
|
+
};
|
|
38
|
+
}, [
|
|
39
|
+
l,
|
|
40
|
+
e,
|
|
41
|
+
a,
|
|
42
|
+
s
|
|
43
|
+
]), t(() => {
|
|
44
|
+
let e = l.current, t = `Monite-DataGridColumns-${c}-2`, n = localStorage.getItem(t);
|
|
45
|
+
if (n && e && d.current != a) {
|
|
46
|
+
let t = JSON.parse(n);
|
|
47
|
+
for (let n of t) typeof e.setColumnWidth == "function" ? e.setColumnWidth(n.field, n.width) : console.warn("setColumnWidth is not a function on the grid object");
|
|
48
|
+
d.current = a;
|
|
49
|
+
}
|
|
50
|
+
return () => {
|
|
51
|
+
if (e && typeof e.getAllColumns == "function" && (d.current || u.current)) {
|
|
52
|
+
let n = e.getAllColumns().map(({ field: e, width: t }) => ({
|
|
53
|
+
field: e,
|
|
54
|
+
width: t
|
|
55
|
+
}));
|
|
56
|
+
localStorage.setItem(t, JSON.stringify(n));
|
|
57
|
+
} else e ? typeof e.getAllColumns != "function" && console.warn("getAllColumns is not a function on the grid object.") : console.warn("Grid object is not defined.");
|
|
58
|
+
};
|
|
59
|
+
}, [
|
|
60
|
+
l,
|
|
61
|
+
c,
|
|
62
|
+
a
|
|
63
|
+
]), l;
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
export { a as defaultCounterpartColumnWidth, s as useAreCounterpartsLoading, c as useAutosizeGridColumns };
|