@tesouro/embedded-components-react 0.8.7 → 0.9.0
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/README.md +6 -15
- package/dist/index.css +0 -826
- package/dist/index.d.ts +5 -2
- package/dist/lib/ProductsWidget.d.ts +5 -2
- package/dist/lib/ReceivablesWidget.d.ts +5 -0
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index2.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -28
- package/dist/lib/monite-sdk.d.ts +0 -72191
- package/dist/lib/monite-sdk.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +0 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +0 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +0 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +0 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +0 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +0 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +0 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +0 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +0 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +0 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +0 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +0 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +0 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +0 -569
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +0 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +0 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +0 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +0 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +0 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +0 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +0 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index16.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +0 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +0 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index17.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +0 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +0 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +0 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +0 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +0 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index18.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +0 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +0 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index23.js +0 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +0 -828
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +0 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +0 -294
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +0 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +0 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +0 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +0 -2314
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +0 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +0 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index7.js +0 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +0 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +0 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +0 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +0 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +0 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +0 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +0 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +0 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +0 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +0 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +0 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +0 -1224
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index59.js";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js
|
|
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
|
-
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { i as bracketAmount, t as fromMinorUnits, r as fromMinorUnitsWithCurrency, e as toMinorUnits, n as toMinorUnitsWithCurrency };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { getAPIErrorMessage as e } from "./index18.js";
|
|
2
|
-
import { useMoniteContext as t } from "./index36.js";
|
|
3
|
-
import { bracketAmount as n, fromMinorUnitsWithCurrency as r, toMinorUnitsWithCurrency as i } from "./index61.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/index62.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,18 +0,0 @@
|
|
|
1
|
-
import { createContext as e, useContext as t } from "react";
|
|
2
|
-
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js
|
|
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
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { a as RootElementsProvider, i as useRootElements };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index63.js";
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { useRootElements as e } from "./index63.js";
|
|
2
|
-
import "./index64.js";
|
|
3
|
-
import { useId as t, useState as n } from "react";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js
|
|
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
|
-
};
|
|
46
|
-
};
|
|
47
|
-
//#endregion
|
|
48
|
-
export { r as useMenuButton };
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index36.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/index66.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 };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { useEffect as e } from "react";
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js
|
|
3
|
-
var t = (t, n, r) => {
|
|
4
|
-
e(() => {
|
|
5
|
-
let e = window.sessionStorage;
|
|
6
|
-
try {
|
|
7
|
-
let n = e.getItem(t);
|
|
8
|
-
if (n) {
|
|
9
|
-
let e = JSON.parse(n);
|
|
10
|
-
Object.keys(e).forEach((t) => {
|
|
11
|
-
r(t, e[t], {
|
|
12
|
-
shouldValidate: !1,
|
|
13
|
-
shouldDirty: !0,
|
|
14
|
-
shouldTouch: !0
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
} catch (e) {
|
|
19
|
-
console.error(e);
|
|
20
|
-
}
|
|
21
|
-
return () => {
|
|
22
|
-
try {
|
|
23
|
-
let r = n();
|
|
24
|
-
Object.entries(r).length ? e.setItem(t, JSON.stringify(r)) : e.removeItem(t);
|
|
25
|
-
} catch (e) {
|
|
26
|
-
console.error(e);
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
}, [
|
|
30
|
-
n,
|
|
31
|
-
t,
|
|
32
|
-
r
|
|
33
|
-
]);
|
|
34
|
-
};
|
|
35
|
-
//#endregion
|
|
36
|
-
export { t as useFormPersist };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { useEffect as e, useState as t } from "react";
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js
|
|
3
|
-
var n = (n, r, i) => {
|
|
4
|
-
let [a, o] = t(i), [s, c] = t(!1), l = `${n}:${r}`, u = `${n}:${r}:remembered`;
|
|
5
|
-
return e(() => {
|
|
6
|
-
try {
|
|
7
|
-
if (typeof window < "u") {
|
|
8
|
-
let e = window.localStorage.getItem(u) === "true";
|
|
9
|
-
if (c(e), e) {
|
|
10
|
-
let e = window.localStorage.getItem(l);
|
|
11
|
-
o(e ? JSON.parse(e) : i);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
} catch (e) {
|
|
15
|
-
console.error("Error accessing localStorage:", e), o(i);
|
|
16
|
-
}
|
|
17
|
-
}, [
|
|
18
|
-
l,
|
|
19
|
-
u,
|
|
20
|
-
i
|
|
21
|
-
]), [
|
|
22
|
-
a,
|
|
23
|
-
(e) => {
|
|
24
|
-
try {
|
|
25
|
-
let t = e instanceof Function ? e(a) : e;
|
|
26
|
-
o(t), typeof window < "u" && s && window.localStorage.setItem(l, JSON.stringify(t));
|
|
27
|
-
} catch (e) {
|
|
28
|
-
console.error("Error saving to localStorage:", e);
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
s,
|
|
32
|
-
(e) => {
|
|
33
|
-
try {
|
|
34
|
-
c(e), typeof window < "u" && (window.localStorage.setItem(u, String(e)), e ? window.localStorage.setItem(l, JSON.stringify(a)) : window.localStorage.removeItem(l));
|
|
35
|
-
} catch (e) {
|
|
36
|
-
console.error("Error updating remembered state:", e);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
];
|
|
40
|
-
};
|
|
41
|
-
//#endregion
|
|
42
|
-
export { n as useLocalStorageFields };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { useCallback as e, useEffect as t, useRef as n, useState as r } from "react";
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js
|
|
3
|
-
var i = (e, n = 300) => {
|
|
4
|
-
let [i, a] = r(e);
|
|
5
|
-
return t(() => {
|
|
6
|
-
let t = setTimeout(() => {
|
|
7
|
-
a(e);
|
|
8
|
-
}, n);
|
|
9
|
-
return () => {
|
|
10
|
-
clearTimeout(t);
|
|
11
|
-
};
|
|
12
|
-
}, [e, n]), i;
|
|
13
|
-
}, a = (r, i = 300) => {
|
|
14
|
-
let a = n(null), o = e((...e) => {
|
|
15
|
-
a.current && clearTimeout(a.current), a.current = setTimeout(() => {
|
|
16
|
-
r(...e);
|
|
17
|
-
}, i);
|
|
18
|
-
}, [r, i]);
|
|
19
|
-
return t(() => () => {
|
|
20
|
-
a.current && clearTimeout(a.current);
|
|
21
|
-
}, []), o;
|
|
22
|
-
};
|
|
23
|
-
//#endregion
|
|
24
|
-
export { i as useDebounce, a as useDebounceCallback };
|
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index7.js
|
|
2
|
-
var e = {
|
|
3
|
-
listDepartments: { schema: {
|
|
4
|
-
method: "get",
|
|
5
|
-
url: "/identity/v1/departments",
|
|
6
|
-
security: ["APPToken", "USERToken"]
|
|
7
|
-
} },
|
|
8
|
-
createDepartment: { schema: {
|
|
9
|
-
method: "post",
|
|
10
|
-
url: "/identity/v1/departments",
|
|
11
|
-
mediaType: "application/json",
|
|
12
|
-
security: ["APPToken", "USERToken"]
|
|
13
|
-
} },
|
|
14
|
-
getDepartment: { schema: {
|
|
15
|
-
method: "get",
|
|
16
|
-
url: "/identity/v1/departments/{departmentId}",
|
|
17
|
-
security: ["APPToken", "USERToken"]
|
|
18
|
-
} },
|
|
19
|
-
updateDepartment: { schema: {
|
|
20
|
-
method: "put",
|
|
21
|
-
url: "/identity/v1/departments/{departmentId}",
|
|
22
|
-
mediaType: "application/json",
|
|
23
|
-
security: ["APPToken", "USERToken"]
|
|
24
|
-
} },
|
|
25
|
-
deactivateDepartment: { schema: {
|
|
26
|
-
method: "delete",
|
|
27
|
-
url: "/identity/v1/departments/{departmentId}",
|
|
28
|
-
security: ["APPToken", "USERToken"]
|
|
29
|
-
} },
|
|
30
|
-
bulkUpdateDepartmentMembers: { schema: {
|
|
31
|
-
method: "post",
|
|
32
|
-
url: "/identity/v1/departments/{departmentId}/members",
|
|
33
|
-
mediaType: "application/json",
|
|
34
|
-
security: ["APPToken", "USERToken"]
|
|
35
|
-
} },
|
|
36
|
-
assignUserToDepartment: { schema: {
|
|
37
|
-
method: "put",
|
|
38
|
-
url: "/identity/v1/departments/{departmentId}/members/{userId}",
|
|
39
|
-
security: ["APPToken", "USERToken"]
|
|
40
|
-
} },
|
|
41
|
-
removeUserFromDepartment: { schema: {
|
|
42
|
-
method: "delete",
|
|
43
|
-
url: "/identity/v1/departments/{departmentId}/members/{userId}",
|
|
44
|
-
security: ["APPToken", "USERToken"]
|
|
45
|
-
} },
|
|
46
|
-
listLocations: { schema: {
|
|
47
|
-
method: "get",
|
|
48
|
-
url: "/identity/v1/locations",
|
|
49
|
-
security: ["APPToken", "USERToken"]
|
|
50
|
-
} },
|
|
51
|
-
createLocation: { schema: {
|
|
52
|
-
method: "post",
|
|
53
|
-
url: "/identity/v1/locations",
|
|
54
|
-
mediaType: "application/json",
|
|
55
|
-
security: ["APPToken", "USERToken"]
|
|
56
|
-
} },
|
|
57
|
-
getLocation: { schema: {
|
|
58
|
-
method: "get",
|
|
59
|
-
url: "/identity/v1/locations/{locationId}",
|
|
60
|
-
security: ["APPToken", "USERToken"]
|
|
61
|
-
} },
|
|
62
|
-
updateLocation: { schema: {
|
|
63
|
-
method: "put",
|
|
64
|
-
url: "/identity/v1/locations/{locationId}",
|
|
65
|
-
mediaType: "application/json",
|
|
66
|
-
security: ["APPToken", "USERToken"]
|
|
67
|
-
} },
|
|
68
|
-
deactivateLocation: { schema: {
|
|
69
|
-
method: "delete",
|
|
70
|
-
url: "/identity/v1/locations/{locationId}",
|
|
71
|
-
security: ["APPToken", "USERToken"]
|
|
72
|
-
} },
|
|
73
|
-
bulkUpdateLocationMembers: { schema: {
|
|
74
|
-
method: "post",
|
|
75
|
-
url: "/identity/v1/locations/{locationId}/members",
|
|
76
|
-
mediaType: "application/json",
|
|
77
|
-
security: ["APPToken", "USERToken"]
|
|
78
|
-
} },
|
|
79
|
-
assignUserToLocation: { schema: {
|
|
80
|
-
method: "put",
|
|
81
|
-
url: "/identity/v1/locations/{locationId}/members/{userId}",
|
|
82
|
-
security: ["APPToken", "USERToken"]
|
|
83
|
-
} },
|
|
84
|
-
removeUserFromLocation: { schema: {
|
|
85
|
-
method: "delete",
|
|
86
|
-
url: "/identity/v1/locations/{locationId}/members/{userId}",
|
|
87
|
-
security: ["APPToken", "USERToken"]
|
|
88
|
-
} },
|
|
89
|
-
listApplications: { schema: {
|
|
90
|
-
method: "get",
|
|
91
|
-
url: "/identity/v1/oidc-applications",
|
|
92
|
-
security: ["APPToken", "USERToken"]
|
|
93
|
-
} },
|
|
94
|
-
getApplication: { schema: {
|
|
95
|
-
method: "get",
|
|
96
|
-
url: "/identity/v1/oidc-applications/{applicationId}",
|
|
97
|
-
security: ["APPToken", "USERToken"]
|
|
98
|
-
} },
|
|
99
|
-
patchApplicationScopes: { schema: {
|
|
100
|
-
method: "patch",
|
|
101
|
-
url: "/identity/v1/oidc-applications/{applicationId}",
|
|
102
|
-
mediaType: "application/json",
|
|
103
|
-
security: ["APPToken", "USERToken"]
|
|
104
|
-
} },
|
|
105
|
-
disableApplication: { schema: {
|
|
106
|
-
method: "post",
|
|
107
|
-
url: "/identity/v1/oidc-applications/{applicationId}/disable",
|
|
108
|
-
security: ["APPToken", "USERToken"]
|
|
109
|
-
} },
|
|
110
|
-
enableApplication: { schema: {
|
|
111
|
-
method: "post",
|
|
112
|
-
url: "/identity/v1/oidc-applications/{applicationId}/enable",
|
|
113
|
-
security: ["APPToken", "USERToken"]
|
|
114
|
-
} },
|
|
115
|
-
getOrganizations: { schema: {
|
|
116
|
-
method: "get",
|
|
117
|
-
url: "/identity/v1/organizations",
|
|
118
|
-
security: ["APPToken", "USERToken"]
|
|
119
|
-
} },
|
|
120
|
-
createOrganization: { schema: {
|
|
121
|
-
method: "post",
|
|
122
|
-
url: "/identity/v1/organizations",
|
|
123
|
-
mediaType: "application/json",
|
|
124
|
-
security: ["APPToken", "USERToken"]
|
|
125
|
-
} },
|
|
126
|
-
getVisibleOrganizationIds: { schema: {
|
|
127
|
-
method: "get",
|
|
128
|
-
url: "/identity/v1/organizations/visible-ids",
|
|
129
|
-
security: ["APPToken", "USERToken"]
|
|
130
|
-
} },
|
|
131
|
-
getOrganization: { schema: {
|
|
132
|
-
method: "get",
|
|
133
|
-
url: "/identity/v1/organizations/{organizationId}",
|
|
134
|
-
security: ["APPToken", "USERToken"]
|
|
135
|
-
} },
|
|
136
|
-
updateOrganization: { schema: {
|
|
137
|
-
method: "patch",
|
|
138
|
-
url: "/identity/v1/organizations/{organizationId}",
|
|
139
|
-
mediaType: "application/json",
|
|
140
|
-
security: ["APPToken", "USERToken"]
|
|
141
|
-
} },
|
|
142
|
-
disableOrganization: { schema: {
|
|
143
|
-
method: "post",
|
|
144
|
-
url: "/identity/v1/organizations/{organizationId}/disable",
|
|
145
|
-
security: ["APPToken", "USERToken"]
|
|
146
|
-
} },
|
|
147
|
-
disableOrganizationApplications: { schema: {
|
|
148
|
-
method: "post",
|
|
149
|
-
url: "/identity/v1/organizations/{organizationId}/disable-applications",
|
|
150
|
-
security: ["APPToken", "USERToken"]
|
|
151
|
-
} },
|
|
152
|
-
getOrganizationPaymentRails: { schema: {
|
|
153
|
-
method: "get",
|
|
154
|
-
url: "/identity/v1/organizations/{organizationId}/disabled-payment-rails",
|
|
155
|
-
security: ["APPToken", "USERToken"]
|
|
156
|
-
} },
|
|
157
|
-
patchOrganizationPaymentRails: { schema: {
|
|
158
|
-
method: "patch",
|
|
159
|
-
url: "/identity/v1/organizations/{organizationId}/disabled-payment-rails",
|
|
160
|
-
mediaType: "application/json",
|
|
161
|
-
security: ["APPToken", "USERToken"]
|
|
162
|
-
} },
|
|
163
|
-
enableOrganization: { schema: {
|
|
164
|
-
method: "post",
|
|
165
|
-
url: "/identity/v1/organizations/{organizationId}/enable",
|
|
166
|
-
security: ["APPToken", "USERToken"]
|
|
167
|
-
} },
|
|
168
|
-
enableOrganizationApplications: { schema: {
|
|
169
|
-
method: "post",
|
|
170
|
-
url: "/identity/v1/organizations/{organizationId}/enable-applications",
|
|
171
|
-
security: ["APPToken", "USERToken"]
|
|
172
|
-
} },
|
|
173
|
-
uploadOrganizationLogo: { schema: {
|
|
174
|
-
method: "put",
|
|
175
|
-
url: "/identity/v1/organizations/{organizationId}/logo",
|
|
176
|
-
mediaType: "multipart/form-data",
|
|
177
|
-
security: ["APPToken", "USERToken"]
|
|
178
|
-
} },
|
|
179
|
-
deleteOrganizationLogo: { schema: {
|
|
180
|
-
method: "delete",
|
|
181
|
-
url: "/identity/v1/organizations/{organizationId}/logo",
|
|
182
|
-
security: ["APPToken", "USERToken"]
|
|
183
|
-
} },
|
|
184
|
-
getOrganizationApplications: { schema: {
|
|
185
|
-
method: "get",
|
|
186
|
-
url: "/identity/v1/organizations/{organizationId}/oidc-applications",
|
|
187
|
-
security: ["APPToken", "USERToken"]
|
|
188
|
-
} },
|
|
189
|
-
getOrganizationSettings: { schema: {
|
|
190
|
-
method: "get",
|
|
191
|
-
url: "/identity/v1/organizations/{organizationId}/settings",
|
|
192
|
-
security: ["APPToken", "USERToken"]
|
|
193
|
-
} },
|
|
194
|
-
patchOrganizationSettings: { schema: {
|
|
195
|
-
method: "patch",
|
|
196
|
-
url: "/identity/v1/organizations/{organizationId}/settings",
|
|
197
|
-
mediaType: "application/json",
|
|
198
|
-
security: ["APPToken", "USERToken"]
|
|
199
|
-
} },
|
|
200
|
-
listRoles: { schema: {
|
|
201
|
-
method: "get",
|
|
202
|
-
url: "/identity/v1/roles",
|
|
203
|
-
security: ["APPToken", "USERToken"]
|
|
204
|
-
} },
|
|
205
|
-
createRole: { schema: {
|
|
206
|
-
method: "post",
|
|
207
|
-
url: "/identity/v1/roles",
|
|
208
|
-
mediaType: "application/json",
|
|
209
|
-
security: ["APPToken", "USERToken"]
|
|
210
|
-
} },
|
|
211
|
-
getRole: { schema: {
|
|
212
|
-
method: "get",
|
|
213
|
-
url: "/identity/v1/roles/{roleId}",
|
|
214
|
-
security: ["APPToken", "USERToken"]
|
|
215
|
-
} },
|
|
216
|
-
updateRole: { schema: {
|
|
217
|
-
method: "patch",
|
|
218
|
-
url: "/identity/v1/roles/{roleId}",
|
|
219
|
-
mediaType: "application/json",
|
|
220
|
-
security: ["APPToken", "USERToken"]
|
|
221
|
-
} },
|
|
222
|
-
deleteRole: { schema: {
|
|
223
|
-
method: "delete",
|
|
224
|
-
url: "/identity/v1/roles/{roleId}",
|
|
225
|
-
security: ["APPToken", "USERToken"]
|
|
226
|
-
} },
|
|
227
|
-
listRoleMembers: { schema: {
|
|
228
|
-
method: "get",
|
|
229
|
-
url: "/identity/v1/roles/{roleId}/members",
|
|
230
|
-
security: ["APPToken", "USERToken"]
|
|
231
|
-
} },
|
|
232
|
-
bulkUpdateRoleMembers: { schema: {
|
|
233
|
-
method: "post",
|
|
234
|
-
url: "/identity/v1/roles/{roleId}/members",
|
|
235
|
-
mediaType: "application/json",
|
|
236
|
-
security: ["APPToken", "USERToken"]
|
|
237
|
-
} },
|
|
238
|
-
listRolePermissions: { schema: {
|
|
239
|
-
method: "get",
|
|
240
|
-
url: "/identity/v1/roles/{roleId}/permissions",
|
|
241
|
-
security: ["APPToken", "USERToken"]
|
|
242
|
-
} },
|
|
243
|
-
bulkUpdateRolePermissions: { schema: {
|
|
244
|
-
method: "post",
|
|
245
|
-
url: "/identity/v1/roles/{roleId}/permissions",
|
|
246
|
-
mediaType: "application/json",
|
|
247
|
-
security: ["APPToken", "USERToken"]
|
|
248
|
-
} },
|
|
249
|
-
getUserData: { schema: {
|
|
250
|
-
method: "get",
|
|
251
|
-
url: "/identity/v1/user-data/{key}",
|
|
252
|
-
security: ["HTTPBearer"]
|
|
253
|
-
} },
|
|
254
|
-
upsertUserData: { schema: {
|
|
255
|
-
method: "put",
|
|
256
|
-
url: "/identity/v1/user-data/{key}",
|
|
257
|
-
mediaType: "application/json",
|
|
258
|
-
security: ["HTTPBearer"]
|
|
259
|
-
} },
|
|
260
|
-
getUsers: { schema: {
|
|
261
|
-
method: "get",
|
|
262
|
-
url: "/identity/v1/users",
|
|
263
|
-
security: ["APPToken", "USERToken"]
|
|
264
|
-
} },
|
|
265
|
-
createUser: { schema: {
|
|
266
|
-
method: "post",
|
|
267
|
-
url: "/identity/v1/users",
|
|
268
|
-
mediaType: "application/json",
|
|
269
|
-
security: ["APPToken", "USERToken"]
|
|
270
|
-
} },
|
|
271
|
-
getMe: { schema: {
|
|
272
|
-
method: "get",
|
|
273
|
-
url: "/identity/v1/users/me",
|
|
274
|
-
security: ["HTTPBearer"]
|
|
275
|
-
} },
|
|
276
|
-
getUser: { schema: {
|
|
277
|
-
method: "get",
|
|
278
|
-
url: "/identity/v1/users/{id}",
|
|
279
|
-
security: ["APPToken", "USERToken"]
|
|
280
|
-
} },
|
|
281
|
-
updateUser: { schema: {
|
|
282
|
-
method: "patch",
|
|
283
|
-
url: "/identity/v1/users/{id}",
|
|
284
|
-
mediaType: "application/json",
|
|
285
|
-
security: ["APPToken", "USERToken"]
|
|
286
|
-
} },
|
|
287
|
-
disableUser: { schema: {
|
|
288
|
-
method: "post",
|
|
289
|
-
url: "/identity/v1/users/{userId}/disable",
|
|
290
|
-
security: ["APPToken", "USERToken"]
|
|
291
|
-
} },
|
|
292
|
-
enableUser: { schema: {
|
|
293
|
-
method: "post",
|
|
294
|
-
url: "/identity/v1/users/{userId}/enable",
|
|
295
|
-
security: ["APPToken", "USERToken"]
|
|
296
|
-
} }
|
|
297
|
-
};
|
|
298
|
-
//#endregion
|
|
299
|
-
export { e as identityService };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js
|
|
3
|
-
var t = 768;
|
|
4
|
-
function n() {
|
|
5
|
-
let [n, r] = e.useState(void 0);
|
|
6
|
-
return e.useEffect(() => {
|
|
7
|
-
let e = window.matchMedia("(max-width: 767px)"), n = () => {
|
|
8
|
-
r(window.innerWidth < t);
|
|
9
|
-
};
|
|
10
|
-
return e.addEventListener("change", n), r(window.innerWidth < t), () => e.removeEventListener("change", n);
|
|
11
|
-
}, []), !!n;
|
|
12
|
-
}
|
|
13
|
-
//#endregion
|
|
14
|
-
export { n as useIsMobile };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
-
import { useMemo as t } from "react";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js
|
|
4
|
-
var n = () => {
|
|
5
|
-
let { componentSettings: n } = e();
|
|
6
|
-
return {
|
|
7
|
-
componentSettings: n,
|
|
8
|
-
onboardingCallbacks: t(() => ({
|
|
9
|
-
onWorkingCapitalOnboardingComplete: n?.onboarding?.onWorkingCapitalOnboardingComplete,
|
|
10
|
-
onPaymentsOnboardingComplete: n?.onboarding?.onPaymentsOnboardingComplete,
|
|
11
|
-
onComplete: n?.onboarding?.onComplete,
|
|
12
|
-
onContinue: n?.onboarding?.onContinue
|
|
13
|
-
}), [n?.onboarding])
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
//#endregion
|
|
17
|
-
export { n as useComponentSettings };
|