@tesouro/embedded-components-react 0.7.59 → 0.7.60
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 +2 -3
- package/dist/index.css +0 -15
- package/dist/lib/monite-sdk.d.ts +2 -163
- package/dist/lib/monite-sdk.js +41 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +45 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +174 -53
- 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 +2 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +3 -1224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +55 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +73 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +41 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +69 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +168 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +6 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +65 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +77 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +1 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +33 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +57 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +39 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +562 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +23 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +10 -567
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +16 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +69 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +40 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +51 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +58 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +28 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +40 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +77 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +2 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +48 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +81 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +111 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +5 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +12 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +73 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +1 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +124 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +54 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +5 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +15 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +62 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +122 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +31 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +73 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +22 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +59 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +181 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +30 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +0 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +35 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +16 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +18 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +20 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +11 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +24 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +81 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +98 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +42 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +104 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +37 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +171 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +11 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +67 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +203 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +87 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +20 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +19 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +157 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +100 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +43 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +22 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +77 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +18 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +219 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +31 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +34 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +73 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +184 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +14 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +203 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +99 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +64 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +54 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +91 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +33 -174
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +77 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +80 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +21 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +16 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +22 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +22 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +31 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +23 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +31 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +10 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +30 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +72 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +50 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +46 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +14 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +45 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +63 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +38 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +12 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +50 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +10 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +23 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +71 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +79 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +8 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +16 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +3 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +56 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +10 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +37 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +104 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +53 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +50 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +49 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +14 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +17 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +150 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1224 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +0 -2
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import e from "./index263.js";
|
|
2
|
+
import { css as t } from "@emotion/react";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js
|
|
4
|
+
var n = (e, t) => {
|
|
5
|
+
let n = " ".repeat(t);
|
|
6
|
+
return e.split("\n").map((e) => e && n + e).join("\n");
|
|
7
|
+
}, r = (e) => [
|
|
8
|
+
`--ttw-font-family: ${e.typography.fontFamily}`,
|
|
9
|
+
`--ttw-color-primary: ${e.palette.primary.main}`,
|
|
10
|
+
`--ttw-color-primary-foreground: ${e.palette.primary.foreground?.main || e.palette.primary.contrastText}`,
|
|
11
|
+
`--ttw-color-neutral: ${e.palette.neutral.main}`,
|
|
12
|
+
`--ttw-color-secondary: ${e.palette.secondary.main}`,
|
|
13
|
+
`--ttw-color-danger: ${e.palette.error.main}`,
|
|
14
|
+
`--ttw-color-success: ${e.palette.success.main}`,
|
|
15
|
+
`--ttw-color-warning: ${e.palette.warning.main}`,
|
|
16
|
+
`--ttw-color-info: ${e.palette.info.main}`,
|
|
17
|
+
`--ttw-color-text: ${e.palette.text.primary}`
|
|
18
|
+
].join(";\n") + ";", i = (i) => {
|
|
19
|
+
let a = r(i);
|
|
20
|
+
return /*#__PURE__*/ t(":root,:host{", n(a, 6), ";}body{font-family:", i.typography.fontFamily, ";}", e, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:getTailwindTheme;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL2xpYnMvdGVzb3Vyby1lbWJlZGRlZC1jb21wb25lbnRzLXJlYWN0L21vbml0ZS1zZGsvc3JjL2NvcmUvdGhlbWUvdGFpbHdpbmQvdGFpbHdpbmRUaGVtZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFxRFkiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvVGVzb3Vyby5QYXltZW50cy5Gcm9udGVuZHMvVGVzb3Vyby5QYXltZW50cy5Gcm9udGVuZHMvbGlicy90ZXNvdXJvLWVtYmVkZGVkLWNvbXBvbmVudHMtcmVhY3QvbW9uaXRlLXNkay9zcmMvY29yZS90aGVtZS90YWlsd2luZC90YWlsd2luZFRoZW1lLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHRhaWx3aW5kQXBwIGZyb20gJy4uL2FwcC5jc3M/aW5saW5lJztcbmltcG9ydCB7IE1vbml0ZVRoZW1lIH0gZnJvbSAnQC9jb3JlL2NvbnRleHQvTW9uaXRlQ29udGV4dCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbi8qKlxuICogSGVscGVyIGZ1bmN0aW9uIHRvIGluZGVudCBtdWx0aWxpbmUgc3RyaW5nc1xuICogQHBhcmFtIHN0ciAtIFRoZSBzdHJpbmcgdG8gaW5kZW50XG4gKiBAcGFyYW0gc3BhY2VzIC0gTnVtYmVyIG9mIHNwYWNlcyB0byBpbmRlbnRcbiAqIEByZXR1cm5zIEluZGVudGVkIHN0cmluZ1xuICovXG5jb25zdCBpbmRlbnQgPSAoc3RyOiBzdHJpbmcsIHNwYWNlczogbnVtYmVyKTogc3RyaW5nID0+IHtcbiAgY29uc3QgaW5kZW50YXRpb24gPSAnICcucmVwZWF0KHNwYWNlcyk7XG4gIHJldHVybiBzdHJcbiAgICAuc3BsaXQoJ1xcbicpXG4gICAgLm1hcCgobGluZSkgPT4gKGxpbmUgPyBpbmRlbnRhdGlvbiArIGxpbmUgOiBsaW5lKSlcbiAgICAuam9pbignXFxuJyk7XG59O1xuXG4vKipcbiAqIEV4dHJhY3RzIHRoZW1lIHZhbHVlcyBhcyBDU1MgY3VzdG9tIHByb3BlcnRpZXMgc3RyaW5nXG4gKiBUaGlzIGhlbHBlciBleHRyYWN0cyBwcmltaXRpdmUgdmFsdWVzIGJlZm9yZSBwYXNzaW5nIHRvIGVtb3Rpb24ncyBjc3MgdGVtcGxhdGVcbiAqIHRvIGF2b2lkIEplc3QvRW1vdGlvbiBzZXJpYWxpemF0aW9uIGlzc3VlcyB3aXRoIGNvbXBsZXggTVVJIFRoZW1lIG9iamVjdHNcbiAqIEBwYXJhbSB0aGVtZSAtIFRoZSBNb25pdGVUaGVtZSBvYmplY3RcbiAqIEByZXR1cm5zIENTUyBzdHJpbmcgd2l0aCBjdXN0b20gcHJvcGVydGllc1xuICovXG5leHBvcnQgY29uc3QgZ2VuZXJhdGVUaGVtZUNzc1ZhcnMgPSAodGhlbWU6IE1vbml0ZVRoZW1lKTogc3RyaW5nID0+IHtcbiAgY29uc3QgdmFyczogc3RyaW5nW10gPSBbXG4gICAgYC0tdHR3LWZvbnQtZmFtaWx5OiAke3RoZW1lLnR5cG9ncmFwaHkuZm9udEZhbWlseX1gLFxuICAgIGAtLXR0dy1jb2xvci1wcmltYXJ5OiAke3RoZW1lLnBhbGV0dGUucHJpbWFyeS5tYWlufWAsXG4gICAgYC0tdHR3LWNvbG9yLXByaW1hcnktZm9yZWdyb3VuZDogJHt0aGVtZS5wYWxldHRlLnByaW1hcnkuZm9yZWdyb3VuZD8ubWFpbiB8fCB0aGVtZS5wYWxldHRlLnByaW1hcnkuY29udHJhc3RUZXh0fWAsXG4gICAgYC0tdHR3LWNvbG9yLW5ldXRyYWw6ICR7dGhlbWUucGFsZXR0ZS5uZXV0cmFsLm1haW59YCxcbiAgICBgLS10dHctY29sb3Itc2Vjb25kYXJ5OiAke3RoZW1lLnBhbGV0dGUuc2Vjb25kYXJ5Lm1haW59YCxcbiAgICBgLS10dHctY29sb3ItZGFuZ2VyOiAke3RoZW1lLnBhbGV0dGUuZXJyb3IubWFpbn1gLFxuICAgIGAtLXR0dy1jb2xvci1zdWNjZXNzOiAke3RoZW1lLnBhbGV0dGUuc3VjY2Vzcy5tYWlufWAsXG4gICAgYC0tdHR3LWNvbG9yLXdhcm5pbmc6ICR7dGhlbWUucGFsZXR0ZS53YXJuaW5nLm1haW59YCxcbiAgICBgLS10dHctY29sb3ItaW5mbzogJHt0aGVtZS5wYWxldHRlLmluZm8ubWFpbn1gLFxuICAgIGAtLXR0dy1jb2xvci10ZXh0OiAke3RoZW1lLnBhbGV0dGUudGV4dC5wcmltYXJ5fWAsXG4gIF07XG5cbiAgcmV0dXJuIHZhcnMuam9pbignO1xcbicpICsgJzsnO1xufTtcbi8qIGVzbGludC1lbmFibGUgbGluZ3VpL25vLXVubG9jYWxpemVkLXN0cmluZ3MgKi9cblxuLyoqXG4gKiBTZXRzIHRoZSBUYWlsd2luZCBUaGVtZSB2YXJpYWJsZXMgdG8gdGhlIDpyb290IGVsZW1lbnRcbiAqIEJhc2VkIG9uIHRoZSBNb25pdGVUaGVtZSBvYmplY3RcbiAqIEBwYXJhbSB0aGVtZSAtIFRoZSBNb25pdGVUaGVtZSBvYmplY3RcbiAqIEB1c2VzIHRhaWx3aW5kQXBwIC0gVGhlIFRhaWx3aW5kIEFwcCBDU1MgZmlsZVxuICogQHJldHVybnMgVGhlIFRhaWx3aW5kIFRoZW1lIHZhcmlhYmxlc1xuICovXG5leHBvcnQgY29uc3QgZ2V0VGFpbHdpbmRUaGVtZSA9ICh0aGVtZTogTW9uaXRlVGhlbWUpID0+IHtcbiAgY29uc3QgdGhlbWVDc3NWYXJzID0gZ2VuZXJhdGVUaGVtZUNzc1ZhcnModGhlbWUpO1xuXG4gIHJldHVybiBjc3NgXG4gICAgOnJvb3QsXG4gICAgOmhvc3Qge1xuICAgICAgJHtpbmRlbnQodGhlbWVDc3NWYXJzLCA2KX1cbiAgICB9XG5cbiAgICBib2R5IHtcbiAgICAgIGZvbnQtZmFtaWx5OiAke3RoZW1lLnR5cG9ncmFwaHkuZm9udEZhbWlseX07XG4gICAgfVxuXG4gICAgJHt0YWlsd2luZEFwcH1cbiAgYDtcbn07XG4iXX0= */");
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { r as generateThemeCssVars, i as getTailwindTheme };
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { getTailwindTheme as t } from "./index264.js";
|
|
3
|
+
import { useLayoutEffect as n, useMemo as r } from "react";
|
|
4
|
+
import { Fragment as i, jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
5
|
+
import { Global as s } from "@emotion/react";
|
|
6
|
+
import { ThemeProvider as c } from "@mui/material/styles";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js
|
|
8
|
+
var l = ({ children: l, onThemeMounted: u }) => {
|
|
9
|
+
let { theme: d } = e(), f = r(() => t(d), [d]);
|
|
10
|
+
return n(() => {
|
|
11
|
+
u?.();
|
|
12
|
+
}, [u]), /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(s, { styles: f }), /* @__PURE__ */ a(c, {
|
|
13
|
+
theme: d,
|
|
14
|
+
children: l
|
|
15
|
+
})] });
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { l as MoniteThemeProvider };
|
|
@@ -1,24 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import { Box as o } from "@mui/material";
|
|
7
|
-
import { useLingui as s } from "@lingui/react";
|
|
1
|
+
import "./index16.js";
|
|
2
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
3
|
+
import { useCallback as t, useMemo as n } from "react";
|
|
4
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
5
|
+
import { QraftSecureRequestFn as i } from "@openapi-qraft/react/Unstable_QraftSecureRequestFn";
|
|
8
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
7
|
+
var a = 6e4, o = 1e3, s = ({ children: s, APIContext: c }) => {
|
|
8
|
+
let { apiUrl: l, fetchToken: u, queryClient: d, requestFn: f } = e(), p = t(async () => {
|
|
9
|
+
let { access_token: e, expires_in: t } = await u();
|
|
10
|
+
return {
|
|
11
|
+
token: e,
|
|
12
|
+
refreshInterval: Math.max(o, t * 1e3 - a)
|
|
13
|
+
};
|
|
14
|
+
}, [u]), m = n(() => ({
|
|
15
|
+
HTTPBearer: p,
|
|
16
|
+
APPToken: p,
|
|
17
|
+
USERToken: p
|
|
18
|
+
}), [p]);
|
|
19
|
+
return /* @__PURE__ */ r(i, {
|
|
20
|
+
requestFn: f,
|
|
21
|
+
securitySchemes: m,
|
|
22
|
+
children: (e) => /* @__PURE__ */ r(c.Provider, {
|
|
23
|
+
value: {
|
|
24
|
+
queryClient: d,
|
|
25
|
+
baseUrl: l,
|
|
26
|
+
requestFn: e
|
|
27
|
+
},
|
|
28
|
+
children: s
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
};
|
|
23
32
|
//#endregion
|
|
24
|
-
export {
|
|
33
|
+
export { s as MoniteAPIProvider };
|
|
@@ -1 +1,31 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { MoniteQraftContext as e } from "./index16.js";
|
|
2
|
+
import { ContainerCssBaseline as t } from "./index21.js";
|
|
3
|
+
import { MoniteContextProvider as n } from "./index36.js";
|
|
4
|
+
import { EmotionCacheProvider as r } from "./index140.js";
|
|
5
|
+
import { MoniteAPIProvider as i } from "./index266.js";
|
|
6
|
+
import { GlobalToast as a } from "./index262.js";
|
|
7
|
+
import { MoniteThemeProvider as o } from "./index265.js";
|
|
8
|
+
import { jsx as s, jsxs as c } from "@emotion/react/jsx-runtime";
|
|
9
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js
|
|
10
|
+
var l = /* @__PURE__ */ new Set(), u = ({ monite: u, theme: d, componentSettings: f, children: p, locale: m, onThemeMounted: h, userPermissions: g = l }) => /* @__PURE__ */ c(n, {
|
|
11
|
+
monite: u,
|
|
12
|
+
locale: m,
|
|
13
|
+
theme: d,
|
|
14
|
+
componentSettings: f,
|
|
15
|
+
userPermissions: g,
|
|
16
|
+
children: [/* @__PURE__ */ s(r, {
|
|
17
|
+
cacheKey: "monite-css-baseline",
|
|
18
|
+
prebuiltStylesheet: !0,
|
|
19
|
+
children: /* @__PURE__ */ c(o, {
|
|
20
|
+
onThemeMounted: () => {
|
|
21
|
+
h?.();
|
|
22
|
+
},
|
|
23
|
+
children: [/* @__PURE__ */ s(t, { enableColorScheme: !0 }), /* @__PURE__ */ s(a, {})]
|
|
24
|
+
})
|
|
25
|
+
}), /* @__PURE__ */ s(i, {
|
|
26
|
+
APIContext: e,
|
|
27
|
+
children: p
|
|
28
|
+
})]
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { u as MoniteProvider };
|
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
import "./index138.js";
|
|
4
|
-
import "./index170.js";
|
|
5
|
-
import "./index172.js";
|
|
6
|
-
import "./index173.js";
|
|
7
|
-
import "./index190.js";
|
|
8
|
-
import "./index192.js";
|
|
9
|
-
import "./index221.js";
|
|
10
|
-
import "./index231.js";
|
|
11
|
-
import "./index232.js";
|
|
12
|
-
import "./index233.js";
|
|
13
|
-
import "./index246.js";
|
|
14
|
-
import "./index256.js";
|
|
15
|
-
import "./index258.js";
|
|
16
|
-
import "./index263.js";
|
|
17
|
-
import "./index265.js";
|
|
18
|
-
import "./index266.js";
|
|
19
|
-
import "./index174.js";
|
|
20
|
-
import "./index193.js";
|
|
21
|
-
import "./index234.js";
|
|
22
|
-
import "./index267.js";
|
|
1
|
+
import { toast as e } from "react-hot-toast";
|
|
2
|
+
export { e as toast };
|
|
@@ -145,11 +145,6 @@ var n = (n, r, i) => {
|
|
|
145
145
|
textOverflow: "ellipsis",
|
|
146
146
|
"& + .MuiInputAdornment-root": { marginLeft: 0 }
|
|
147
147
|
}
|
|
148
|
-
},
|
|
149
|
-
"&.Monite-SearchField": {
|
|
150
|
-
maxWidth: "400px",
|
|
151
|
-
width: "100%",
|
|
152
|
-
"& label": { color: "secondary.main" }
|
|
153
148
|
}
|
|
154
149
|
}
|
|
155
150
|
} } };
|
|
@@ -1,16 +1,26 @@
|
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { useMemo as t } from "react";
|
|
1
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js
|
|
2
|
-
|
|
3
|
-
let {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
var n = 100, r = (t) => {
|
|
5
|
+
let { api: n } = e();
|
|
6
|
+
return n.finops.getEntityUsersId.useQuery({ path: { entity_user_id: t ?? "" } }, { enabled: !!t });
|
|
7
|
+
}, i = () => {
|
|
8
|
+
let { api: t } = e();
|
|
9
|
+
return t.finops.getEntityUsersMe.useQuery({}, {
|
|
10
|
+
retry: !1,
|
|
11
|
+
staleTime: Infinity,
|
|
12
|
+
refetchOnMount: !1,
|
|
13
|
+
refetchOnWindowFocus: !1
|
|
14
|
+
});
|
|
15
|
+
}, a = ({ entityUserIds: r, enabled: i = !0 }) => {
|
|
16
|
+
let { api: a } = e(), o = t(() => [...r].sort(), [r]), s = a.finops.getEntityUsers.useQuery({ query: {
|
|
17
|
+
id__in: o,
|
|
18
|
+
limit: n
|
|
19
|
+
} }, { enabled: i && o.length > 0 });
|
|
20
|
+
return {
|
|
21
|
+
userNames: t(() => new Map((s.data?.data ?? []).map((e) => [e.id, `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim()]).filter(([, e]) => !!e)), [s.data]),
|
|
22
|
+
isError: s.isError
|
|
6
23
|
};
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
function t(t) {
|
|
10
|
-
return e(t.first_name || "", t.last_name || "") || t.login || "";
|
|
11
|
-
}
|
|
12
|
-
function n(e, n = !1) {
|
|
13
|
-
return n && e.email ? e.email : t(e);
|
|
14
|
-
}
|
|
24
|
+
};
|
|
15
25
|
//#endregion
|
|
16
|
-
export {
|
|
26
|
+
export { i as useEntityUserByAuthToken, r as useEntityUserById, a as useEntityUserNames };
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js
|
|
3
|
-
var t = (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
let { individual: { first_name: t, last_name: n } } = r;
|
|
8
|
-
return e(t, n);
|
|
9
|
-
}
|
|
10
|
-
if (n(r)) {
|
|
11
|
-
let { organization: { legal_name: e } } = r;
|
|
12
|
-
return e;
|
|
13
|
-
}
|
|
14
|
-
return "";
|
|
15
|
-
}
|
|
3
|
+
var t = (t) => {
|
|
4
|
+
let { api: n } = e();
|
|
5
|
+
return n.finops.getApprovalPoliciesId.useQuery({ path: { approval_policy_id: t ?? "" } }, { enabled: !!t });
|
|
6
|
+
};
|
|
16
7
|
//#endregion
|
|
17
|
-
export {
|
|
8
|
+
export { t as useApprovalPolicyById };
|
|
@@ -1,46 +1,8 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
-
import { isIndividualCounterpart as t } from "./index42.js";
|
|
3
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js
|
|
4
|
-
var
|
|
5
|
-
let { api:
|
|
6
|
-
|
|
7
|
-
let e = i.individual;
|
|
8
|
-
return {
|
|
9
|
-
isLoading: !1,
|
|
10
|
-
data: [{
|
|
11
|
-
id: i.id,
|
|
12
|
-
counterpart_id: n ?? "",
|
|
13
|
-
is_default: !0,
|
|
14
|
-
email: e.email,
|
|
15
|
-
first_name: e.first_name,
|
|
16
|
-
is_customer: i.is_customer,
|
|
17
|
-
is_vendor: i.is_vendor,
|
|
18
|
-
last_name: e.last_name,
|
|
19
|
-
phone: e.phone,
|
|
20
|
-
title: e.title
|
|
21
|
-
}]
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
return {
|
|
25
|
-
isLoading: !n || a || s,
|
|
26
|
-
error: c,
|
|
27
|
-
data: o?.data.map((e) => {
|
|
28
|
-
let t = i;
|
|
29
|
-
return {
|
|
30
|
-
id: e.id,
|
|
31
|
-
counterpart_id: n ?? "",
|
|
32
|
-
is_default: e.is_default,
|
|
33
|
-
address: e.address,
|
|
34
|
-
email: e.email,
|
|
35
|
-
first_name: e.first_name,
|
|
36
|
-
is_customer: t?.is_customer,
|
|
37
|
-
is_vendor: t?.is_vendor,
|
|
38
|
-
last_name: e.last_name,
|
|
39
|
-
phone: e.phone,
|
|
40
|
-
title: e.title
|
|
41
|
-
};
|
|
42
|
-
})
|
|
43
|
-
};
|
|
3
|
+
var t = (t) => {
|
|
4
|
+
let { api: n } = e();
|
|
5
|
+
return n.finops.getFilesId.useQuery({ path: { file_id: t ?? "" } }, { enabled: !!t });
|
|
44
6
|
};
|
|
45
7
|
//#endregion
|
|
46
|
-
export {
|
|
8
|
+
export { t as useFileById };
|
|
@@ -1,26 +1,4 @@
|
|
|
1
|
-
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
-
import { useMemo as t } from "react";
|
|
3
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js
|
|
4
|
-
var
|
|
5
|
-
let { api: n } = e();
|
|
6
|
-
return n.finops.getEntityUsersId.useQuery({ path: { entity_user_id: t ?? "" } }, { enabled: !!t });
|
|
7
|
-
}, i = () => {
|
|
8
|
-
let { api: t } = e();
|
|
9
|
-
return t.finops.getEntityUsersMe.useQuery({}, {
|
|
10
|
-
retry: !1,
|
|
11
|
-
staleTime: Infinity,
|
|
12
|
-
refetchOnMount: !1,
|
|
13
|
-
refetchOnWindowFocus: !1
|
|
14
|
-
});
|
|
15
|
-
}, a = ({ entityUserIds: r, enabled: i = !0 }) => {
|
|
16
|
-
let { api: a } = e(), o = t(() => [...r].sort(), [r]), s = a.finops.getEntityUsers.useQuery({ query: {
|
|
17
|
-
id__in: o,
|
|
18
|
-
limit: n
|
|
19
|
-
} }, { enabled: i && o.length > 0 });
|
|
20
|
-
return {
|
|
21
|
-
userNames: t(() => new Map((s.data?.data ?? []).map((e) => [e.id, `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim()]).filter(([, e]) => !!e)), [s.data]),
|
|
22
|
-
isError: s.isError
|
|
23
|
-
};
|
|
24
|
-
};
|
|
2
|
+
var e = /* @__PURE__ */ "AO.AU.AT.BE.BW.BG.CZ.DK.EE.SZ.FR.FI.DE.GR.IE.IL.LS.LR.LU.MZ.NA.NL.PK.PL.ZA.ES.SE.CH.AE.GB.ZW".split(".");
|
|
25
3
|
//#endregion
|
|
26
|
-
export {
|
|
4
|
+
export { e as VAT_SUPPORTED_COUNTRIES };
|
|
@@ -1,8 +1,35 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { VAT_SUPPORTED_COUNTRIES as t } from "./index44.js";
|
|
2
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js
|
|
3
|
-
var
|
|
4
|
-
let { api:
|
|
5
|
-
return
|
|
4
|
+
var n = () => {
|
|
5
|
+
let { api: t } = e();
|
|
6
|
+
return t.finops.getEntityUsersMe.useQuery({}, {
|
|
7
|
+
retry: !1,
|
|
8
|
+
staleTime: Infinity,
|
|
9
|
+
refetchOnMount: !1,
|
|
10
|
+
refetchOnWindowFocus: !1
|
|
11
|
+
});
|
|
12
|
+
}, r = () => {
|
|
13
|
+
let { api: n, entityId: r } = e(), i = n.finops.getEntityUsersMyEntity.useQuery({}, {
|
|
14
|
+
retry: !1,
|
|
15
|
+
staleTime: Infinity,
|
|
16
|
+
refetchOnMount: !1,
|
|
17
|
+
refetchOnWindowFocus: !1
|
|
18
|
+
}), { data: a } = n.finops.getEntitiesIdSettings.useQuery({ path: { entity_id: r } }), s = !!(i.data?.address && t.includes(i.data?.address.country)), c = !!(i.data?.address && i.data?.address.country === "US"), l = a?.receivable_edit_flow === "non_compliant", u = o(i.data);
|
|
19
|
+
return {
|
|
20
|
+
...i,
|
|
21
|
+
entityName: u,
|
|
22
|
+
isNonVatSupported: !s,
|
|
23
|
+
isUSEntity: c,
|
|
24
|
+
isNonCompliantFlow: l
|
|
25
|
+
};
|
|
26
|
+
}, i = (e) => e?.type === "individual", a = (e) => e?.type === "organization", o = (e) => {
|
|
27
|
+
if (!e) return "";
|
|
28
|
+
if (i(e)) {
|
|
29
|
+
let { first_name: t, last_name: n } = e.individual;
|
|
30
|
+
return `${t} ${n}`;
|
|
31
|
+
}
|
|
32
|
+
return a(e) ? e.organization.legal_name : "";
|
|
6
33
|
};
|
|
7
34
|
//#endregion
|
|
8
|
-
export {
|
|
35
|
+
export { o as getEntityName, n as useMe, r as useMyEntity };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { useMoniteContext as e } from "./index36.js";
|
|
2
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js
|
|
3
|
-
var t = (
|
|
4
|
-
let { api: n } = e();
|
|
5
|
-
return
|
|
3
|
+
var t = () => {
|
|
4
|
+
let { api: t, entityId: n } = e();
|
|
5
|
+
return t.finops.patchEntitiesIdSettings.useMutation({ path: { entity_id: n } });
|
|
6
|
+
}, n = (t = !0) => {
|
|
7
|
+
let { api: n, entityId: r } = e();
|
|
8
|
+
return n.finops.getEntitiesIdSettings.useQuery({ path: { entity_id: r } }, { enabled: t });
|
|
6
9
|
};
|
|
7
10
|
//#endregion
|
|
8
|
-
export { t as
|
|
11
|
+
export { n as useEntitySettings, t as usePatchEntitiesIdSettings };
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
1
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js
|
|
2
|
-
var
|
|
3
|
+
var t = (t, n) => {
|
|
4
|
+
let { api: r } = e();
|
|
5
|
+
return r.finops.getReceivablesId.useQuery({ path: { receivable_id: t } }, { enabled: n });
|
|
6
|
+
};
|
|
3
7
|
//#endregion
|
|
4
|
-
export {
|
|
8
|
+
export { t as useGetReceivableById };
|
|
@@ -1,35 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
});
|
|
12
|
-
}, r = () => {
|
|
13
|
-
let { api: n, entityId: r } = e(), i = n.finops.getEntityUsersMyEntity.useQuery({}, {
|
|
14
|
-
retry: !1,
|
|
15
|
-
staleTime: Infinity,
|
|
16
|
-
refetchOnMount: !1,
|
|
17
|
-
refetchOnWindowFocus: !1
|
|
18
|
-
}), { data: a } = n.finops.getEntitiesIdSettings.useQuery({ path: { entity_id: r } }), s = !!(i.data?.address && t.includes(i.data?.address.country)), c = !!(i.data?.address && i.data?.address.country === "US"), l = a?.receivable_edit_flow === "non_compliant", u = o(i.data);
|
|
19
|
-
return {
|
|
20
|
-
...i,
|
|
21
|
-
entityName: u,
|
|
22
|
-
isNonVatSupported: !s,
|
|
23
|
-
isUSEntity: c,
|
|
24
|
-
isNonCompliantFlow: l
|
|
25
|
-
};
|
|
26
|
-
}, i = (e) => e?.type === "individual", a = (e) => e?.type === "organization", o = (e) => {
|
|
27
|
-
if (!e) return "";
|
|
28
|
-
if (i(e)) {
|
|
29
|
-
let { first_name: t, last_name: n } = e.individual;
|
|
30
|
-
return `${t} ${n}`;
|
|
31
|
-
}
|
|
32
|
-
return a(e) ? e.organization.legal_name : "";
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { o as getEntityName, n as useMe, r as useMyEntity };
|
|
1
|
+
import "./index37.js";
|
|
2
|
+
import "./index38.js";
|
|
3
|
+
import "./index39.js";
|
|
4
|
+
import "./index40.js";
|
|
5
|
+
import "./index41.js";
|
|
6
|
+
import "./index42.js";
|
|
7
|
+
import "./index43.js";
|
|
8
|
+
import "./index45.js";
|
|
9
|
+
import "./index46.js";
|
|
10
|
+
import "./index47.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { twMerge as e } from "tailwind-merge";
|
|
2
|
+
import { clsx as t } from "clsx";
|
|
2
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
4
|
+
function n(...n) {
|
|
5
|
+
return e(t(n));
|
|
6
|
+
}
|
|
7
7
|
//#endregion
|
|
8
|
-
export {
|
|
8
|
+
export { n as cn };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cn as e } from "./index49.js";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
3
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
let { api: n, entityId: r } = e();
|
|
8
|
-
return n.finops.getEntitiesIdSettings.useQuery({ path: { entity_id: r } }, { enabled: t });
|
|
9
|
-
};
|
|
4
|
+
var n = ({ children: n, className: r }) => /* @__PURE__ */ t("div", {
|
|
5
|
+
className: e("ttw:flex ttw:items-center ttw:justify-center ttw:h-full ttw:w-full", r),
|
|
6
|
+
children: n
|
|
7
|
+
});
|
|
10
8
|
//#endregion
|
|
11
|
-
export { n as
|
|
9
|
+
export { n as CenteredContentBox };
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js
|
|
3
|
-
var t = (t, n) => {
|
|
4
|
-
let { api: r } = e();
|
|
5
|
-
return r.finops.getReceivablesId.useQuery({ path: { receivable_id: t } }, { enabled: n });
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { t as useGetReceivableById };
|
|
1
|
+
import "./index50.js";
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import "./index45.js";
|
|
8
|
-
import "./index46.js";
|
|
9
|
-
import "./index48.js";
|
|
10
|
-
import "./index49.js";
|
|
11
|
-
import "./index50.js";
|
|
12
|
-
import "./index51.js";
|
|
1
|
+
import { twMerge as e } from "tailwind-merge";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
3
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index52.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,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { CenteredContentBox as e } from "./index50.js";
|
|
2
|
+
import "./index51.js";
|
|
3
|
+
import { LoadingSpinner as t } from "./index52.js";
|
|
4
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
3
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js
|
|
4
|
-
|
|
5
|
-
return e(t(n));
|
|
6
|
-
}
|
|
6
|
+
var r = () => /* @__PURE__ */ n(e, { children: /* @__PURE__ */ n(t, {}) });
|
|
7
7
|
//#endregion
|
|
8
|
-
export {
|
|
8
|
+
export { r as LoadingPage };
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
3
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js
|
|
4
|
-
var n = ({ children: n, className: r }) => /* @__PURE__ */ t("div", {
|
|
5
|
-
className: e("ttw:flex ttw:items-center ttw:justify-center ttw:h-full ttw:w-full", r),
|
|
6
|
-
children: n
|
|
7
|
-
});
|
|
8
|
-
//#endregion
|
|
9
|
-
export { n as CenteredContentBox };
|
|
1
|
+
import "./index53.js";
|
|
@@ -1 +1,21 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { cn as e } from "./index49.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import * as n from "@radix-ui/react-avatar";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js
|
|
6
|
+
function r({ className: r, ...i }) {
|
|
7
|
+
return /* @__PURE__ */ t(n.Root, {
|
|
8
|
+
"data-slot": "avatar",
|
|
9
|
+
className: e("ttw:relative ttw:flex ttw:size-8 ttw:shrink-0 ttw:overflow-hidden ttw:rounded-full", r),
|
|
10
|
+
...i
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function i({ className: r, ...i }) {
|
|
14
|
+
return /* @__PURE__ */ t(n.Fallback, {
|
|
15
|
+
"data-slot": "avatar-fallback",
|
|
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
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { r as Avatar, i as AvatarFallback };
|
|
@@ -1,6 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { cn as e } from "./index49.js";
|
|
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";
|
|
3
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js
|
|
4
|
-
var
|
|
7
|
+
var a = i("ttw:inline-flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:border ttw:px-2 ttw:py-0.5 ttw:text-xs ttw:font-medium ttw:w-fit ttw:whitespace-nowrap ttw:shrink-0 ttw:[&>svg]:size-3 ttw:gap-1 ttw:[&>svg]:pointer-events-none ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:focus-visible:ring-[3px] ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:transition-[color,box-shadow] ttw:overflow-hidden", {
|
|
8
|
+
variants: { variant: {
|
|
9
|
+
default: "ttw:border-transparent ttw:bg-primary ttw:text-primary-foreground ttw:[a&]:hover:bg-primary/90",
|
|
10
|
+
secondary: "ttw:border-transparent ttw:bg-secondary ttw:text-neutral ttw:[a&]:hover:bg-secondary/90",
|
|
11
|
+
destructive: "ttw:border-transparent ttw:bg-destructive ttw:text-white ttw:[a&]:hover:bg-destructive/90 ttw:focus-visible:ring-destructive/20 ttw:dark:focus-visible:ring-destructive/40 ttw:dark:bg-destructive/60",
|
|
12
|
+
outline: "ttw:text-foreground ttw:[a&]:hover:bg-accent ttw:[a&]:hover:text-accent-foreground"
|
|
13
|
+
} },
|
|
14
|
+
defaultVariants: { variant: "default" }
|
|
15
|
+
}), o = i("ttw:rounded-full ttw:box-content! ttw:inline-block", {
|
|
16
|
+
variants: { dotSize: {
|
|
17
|
+
small: "ttw:w-1.5 ttw:h-1.5 ttw:border-2",
|
|
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]
|
|
29
|
+
});
|
|
30
|
+
}
|
|
5
31
|
//#endregion
|
|
6
|
-
export {
|
|
32
|
+
export { s as Badge, a as badgeVariants };
|