@tesouro/embedded-components-react 0.7.58 → 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 +5 -261
- package/dist/lib/monite-sdk.js +46 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +50 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +176 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +48 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +3 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -1224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +2 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +53 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +41 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +69 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +14 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +71 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +170 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +6 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +65 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +1 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +77 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +32 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +1 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +57 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +568 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +0 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +156 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +24 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +10 -567
- 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 +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +16 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +26 -1
- 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 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +41 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +49 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +62 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +27 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +40 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +78 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +2 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +49 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +75 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +113 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +10 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +20 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +77 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +1 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +125 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +11 -5
- 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 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +117 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +29 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +54 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +75 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +26 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +1 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +59 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +20 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +184 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +29 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +3 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +35 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +16 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +5 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +9 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +23 -14
- 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 -21
- 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 +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +81 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +14 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +102 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +42 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +101 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +37 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +171 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +67 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +24 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +212 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +87 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +20 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +160 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +101 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +43 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +11 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +133 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +217 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +31 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +19 -130
- 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 +181 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +196 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +99 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +63 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +53 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +91 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +39 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +72 -177
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +85 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +22 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +17 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +20 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +22 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +28 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +18 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +33 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +29 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +825 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +20 -930
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +68 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +22 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +6 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +4 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +18 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +70 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +15 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +64 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +31 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +53 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +10 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +23 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +69 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +25 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +3 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +2 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +103 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +15 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +153 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1222 -53
- 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 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +0 -2
|
@@ -1,58 +1 @@
|
|
|
1
|
-
import { APPROVAL_REQUEST_CALLS as e, getRuleLabel as t, getRuleName as n } from "./index86.js";
|
|
2
|
-
import { isRoleApprovalCall as r } from "./index89.js";
|
|
3
1
|
import "./index90.js";
|
|
4
|
-
import { useLingui as i } from "@lingui/react";
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js
|
|
6
|
-
var a = ({ approvalPolicy: a }) => {
|
|
7
|
-
let { i18n: o } = i(), s = (t) => {
|
|
8
|
-
if (typeof t != "object" || !t || !("call" in t) || typeof t.call != "string" || t.call !== e.REQUEST_APPROVAL_BY_USERS && !r(t.call) || !("params" in t) || typeof t.params != "object" || t.params === null) return !1;
|
|
9
|
-
let n = t.params;
|
|
10
|
-
return !("user_ids" in n && !Array.isArray(n.user_ids) || "role_ids" in n && !Array.isArray(n.role_ids) || !("required_approval_count" in n) || typeof n.required_approval_count != "number");
|
|
11
|
-
}, c = (e) => typeof e != "object" || !e || !("run_concurrently" in e) || typeof e.run_concurrently != "boolean" || !("all" in e) || !Array.isArray(e.all) ? !1 : e.all.every((e) => s(e) || c(e)), l = (e) => {
|
|
12
|
-
if (!Array.isArray(e) || e.length !== 1) return !1;
|
|
13
|
-
let [t] = e;
|
|
14
|
-
if (typeof t != "object" || !t || !("if" in t) || !("then" in t) || !("else" in t)) return !1;
|
|
15
|
-
let { if: n, then: r, else: i } = t;
|
|
16
|
-
if (typeof n != "object" || !n || !("run_concurrently" in n) || !("all" in n)) return !1;
|
|
17
|
-
let { run_concurrently: a, all: o } = n;
|
|
18
|
-
return typeof a != "boolean" || !Array.isArray(o) || !Array.isArray(r) || !Array.isArray(i) ? !1 : o.every((e) => s(e) || c(e));
|
|
19
|
-
}, u = (t) => t.call === e.REQUEST_APPROVAL_BY_USERS && Array.isArray(t.params.user_ids) && t.params.user_ids.length === 1 && t.params.required_approval_count === 1, d = (t) => t.call === e.REQUEST_APPROVAL_BY_USERS && Array.isArray(t.params.user_ids) && t.params.user_ids.length > 1 && t.params.required_approval_count > 0, f = (e) => r(e.call) && Array.isArray(e.params.role_ids) && e.params.role_ids.length >= 1 && e.params.required_approval_count > 0, p = (e) => !e.run_concurrently && e.all.length > 1 && e.all.every((e) => s(e) && u(e)), m = (e) => n(e, o), h = (e, n) => t(e, o, n);
|
|
20
|
-
return l(a?.script) ? {
|
|
21
|
-
rules: a?.script[0].if.all.reduce((e, t) => {
|
|
22
|
-
if (c(t)) {
|
|
23
|
-
if (p(t)) return {
|
|
24
|
-
...e,
|
|
25
|
-
approval_chain: { chainUserIds: t.all.reduce((e, t) => s(t) && u(t) && t.params.user_ids[0] && t.params.user_ids[0] ? [...e, t.params.user_ids[0]] : e, []) }
|
|
26
|
-
};
|
|
27
|
-
} else if (s(t)) {
|
|
28
|
-
if (u(t)) return {
|
|
29
|
-
...e,
|
|
30
|
-
single_user: { userId: t.params.user_ids[0] }
|
|
31
|
-
};
|
|
32
|
-
if (d(t)) return {
|
|
33
|
-
...e,
|
|
34
|
-
users_from_list: {
|
|
35
|
-
userIds: t.params.user_ids,
|
|
36
|
-
count: t.params.required_approval_count
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
if (f(t)) return {
|
|
40
|
-
...e,
|
|
41
|
-
roles_from_list: {
|
|
42
|
-
roleIds: t.params.role_ids,
|
|
43
|
-
count: t.params.required_approval_count
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
return e;
|
|
48
|
-
}, {}),
|
|
49
|
-
getRuleName: m,
|
|
50
|
-
getRuleLabel: h
|
|
51
|
-
} : {
|
|
52
|
-
rules: void 0,
|
|
53
|
-
getRuleName: m,
|
|
54
|
-
getRuleLabel: h
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
//#endregion
|
|
58
|
-
export { a as useApprovalPolicyScript };
|
|
@@ -1,12 +1,55 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { useRootElements as t } from "./index63.js";
|
|
3
|
+
import "./index64.js";
|
|
4
|
+
import { useState as n } from "react";
|
|
5
|
+
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { Autocomplete as o, CircularProgress as s, FormHelperText as c, TextField as l } from "@mui/material";
|
|
7
|
+
import { useLingui as u } from "@lingui/react";
|
|
8
|
+
import { Controller as d, useFormContext as f } from "react-hook-form";
|
|
2
9
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
var p = ({ control: p, name: m, label: h }) => {
|
|
11
|
+
let { i18n: g } = u(), { api: _ } = e(), { root: v } = t(), { setValue: y } = f(), [b, x] = n(""), { data: S, isLoading: C, refetch: w } = _.finops.getRoles.useQuery({ query: { name: b || void 0 } });
|
|
12
|
+
return /* @__PURE__ */ i(d, {
|
|
13
|
+
control: p,
|
|
14
|
+
name: m,
|
|
15
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(o, {
|
|
16
|
+
...e,
|
|
17
|
+
id: e.name,
|
|
18
|
+
multiple: !0,
|
|
19
|
+
autoComplete: !0,
|
|
20
|
+
includeInputInList: !0,
|
|
21
|
+
filterSelectedOptions: !0,
|
|
22
|
+
noOptionsText: g._("No roles found"),
|
|
23
|
+
slotProps: { popper: { container: v } },
|
|
24
|
+
loading: C,
|
|
25
|
+
options: S?.data || [],
|
|
26
|
+
getOptionKey: (e) => e.id,
|
|
27
|
+
getOptionLabel: (e) => e.name,
|
|
28
|
+
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
29
|
+
filterOptions: (e) => e,
|
|
30
|
+
onInputChange: (e, t) => {
|
|
31
|
+
x(t);
|
|
32
|
+
},
|
|
33
|
+
onChange: (e, t) => {
|
|
34
|
+
y(m, t), w();
|
|
35
|
+
},
|
|
36
|
+
renderInput: (e) => /* @__PURE__ */ i(l, {
|
|
37
|
+
...e,
|
|
38
|
+
label: h,
|
|
39
|
+
error: !!t,
|
|
40
|
+
InputProps: {
|
|
41
|
+
...e.InputProps,
|
|
42
|
+
endAdornment: /* @__PURE__ */ a(r, { children: [C ? /* @__PURE__ */ i(s, {
|
|
43
|
+
color: "inherit",
|
|
44
|
+
size: 20
|
|
45
|
+
}) : null, e.InputProps.endAdornment] })
|
|
46
|
+
}
|
|
47
|
+
})
|
|
48
|
+
}), t && /* @__PURE__ */ i(c, {
|
|
49
|
+
error: !0,
|
|
50
|
+
children: t.message
|
|
51
|
+
})] })
|
|
52
|
+
});
|
|
53
|
+
};
|
|
11
54
|
//#endregion
|
|
12
|
-
export {
|
|
55
|
+
export { p as AutocompleteRoles };
|
|
@@ -1,39 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Badge as t } from "./index61.js";
|
|
3
|
-
import { Skeleton as n } from "./index62.js";
|
|
4
|
-
import { getVariantProps as r } from "./index63.js";
|
|
5
|
-
import { UUserSquare as i } from "./index92.js";
|
|
6
|
-
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js
|
|
8
|
-
var s = ({ roleId: s, variant: c = "default", quoted: l = !1, roleData: u }) => {
|
|
9
|
-
let { api: d } = e(), { data: f, isLoading: p, isError: m } = d.finops.getRolesId.useQuery({ path: { role_id: s } }, { enabled: !u }), h = u ?? f, g = !u && p;
|
|
10
|
-
if (!h && !g && m && s) {
|
|
11
|
-
let { badgeVariant: e, className: n } = r({
|
|
12
|
-
variant: c,
|
|
13
|
-
isError: !0,
|
|
14
|
-
componentType: "role"
|
|
15
|
-
});
|
|
16
|
-
return /* @__PURE__ */ a(t, {
|
|
17
|
-
variant: e,
|
|
18
|
-
className: n,
|
|
19
|
-
children: "N/A"
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
if (!h && !g || !h) return null;
|
|
23
|
-
let { badgeVariant: _, className: v, showIcon: y } = r({
|
|
24
|
-
variant: c,
|
|
25
|
-
isError: !1,
|
|
26
|
-
componentType: "role"
|
|
27
|
-
});
|
|
28
|
-
return /* @__PURE__ */ o(t, {
|
|
29
|
-
variant: _,
|
|
30
|
-
className: v,
|
|
31
|
-
children: [y && /* @__PURE__ */ a(i, {
|
|
32
|
-
width: 24,
|
|
33
|
-
height: 24,
|
|
34
|
-
className: c === "default" ? "ttw:text-[rgb(97,97,97)] ttw:!w-6 ttw:!h-6 ttw:flex-shrink-0" : "ttw:!w-6 ttw:!h-6 ttw:flex-shrink-0"
|
|
35
|
-
}), g ? /* @__PURE__ */ a(n, { className: "ttw:h-4 ttw:w-20" }) : l ? `"${h.name}"` : h.name]
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
//#endregion
|
|
39
|
-
export { s as Role };
|
|
1
|
+
import "./index92.js";
|
|
@@ -1 +1,55 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index36.js";
|
|
2
|
+
import { useRootElements as t } from "./index63.js";
|
|
3
|
+
import "./index64.js";
|
|
4
|
+
import { useDebounce as n } from "./index69.js";
|
|
5
|
+
import { useState as r } from "react";
|
|
6
|
+
import { Fragment as i, jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { Autocomplete as s, CircularProgress as c, FormHelperText as l, TextField as u } from "@mui/material";
|
|
8
|
+
import { useLingui as d } from "@lingui/react";
|
|
9
|
+
import { Controller as f, useFormContext as p } from "react-hook-form";
|
|
10
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js
|
|
11
|
+
var m = ({ control: m, name: h, label: g }) => {
|
|
12
|
+
let { i18n: _ } = d(), { api: v } = e(), { root: y } = t(), { setValue: b } = p(), [x, S] = r(""), C = n(x, 300), { data: w, isLoading: T, refetch: E } = v.finops.getEntityUsers.useQuery({ query: { name__istartswith: C || void 0 } });
|
|
13
|
+
return /* @__PURE__ */ a(f, {
|
|
14
|
+
control: m,
|
|
15
|
+
name: h,
|
|
16
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(s, {
|
|
17
|
+
...e,
|
|
18
|
+
id: e.name,
|
|
19
|
+
autoComplete: !0,
|
|
20
|
+
includeInputInList: !0,
|
|
21
|
+
filterSelectedOptions: !0,
|
|
22
|
+
noOptionsText: _._("No users found"),
|
|
23
|
+
slotProps: { popper: { container: y } },
|
|
24
|
+
loading: T,
|
|
25
|
+
options: w?.data || [],
|
|
26
|
+
getOptionKey: (e) => e.id,
|
|
27
|
+
getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(),
|
|
28
|
+
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
29
|
+
filterOptions: (e) => e,
|
|
30
|
+
onInputChange: (e, t) => {
|
|
31
|
+
S(t);
|
|
32
|
+
},
|
|
33
|
+
onChange: (e, t) => {
|
|
34
|
+
b(h, t), E();
|
|
35
|
+
},
|
|
36
|
+
renderInput: (e) => /* @__PURE__ */ a(u, {
|
|
37
|
+
...e,
|
|
38
|
+
label: g,
|
|
39
|
+
error: !!t,
|
|
40
|
+
InputProps: {
|
|
41
|
+
...e.InputProps,
|
|
42
|
+
endAdornment: /* @__PURE__ */ o(i, { children: [T ? /* @__PURE__ */ a(c, {
|
|
43
|
+
color: "inherit",
|
|
44
|
+
size: 20
|
|
45
|
+
}) : null, e.InputProps.endAdornment] })
|
|
46
|
+
}
|
|
47
|
+
})
|
|
48
|
+
}), t && /* @__PURE__ */ a(l, {
|
|
49
|
+
error: !0,
|
|
50
|
+
children: t.message
|
|
51
|
+
})] })
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
export { m as AutocompleteUser };
|
|
@@ -1,106 +1 @@
|
|
|
1
|
-
import { User as e } from "./index64.js";
|
|
2
|
-
import "./index65.js";
|
|
3
|
-
import { useApprovalPolicyScript as t } from "./index91.js";
|
|
4
|
-
import { Role as n } from "./index93.js";
|
|
5
1
|
import "./index94.js";
|
|
6
|
-
import { useMemo as r } from "react";
|
|
7
|
-
import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
8
|
-
import { Button as o, IconButton as s, Paper as c, Stack as l, Table as u, TableBody as d, TableCell as f, TableHead as p, TableRow as m } from "@mui/material";
|
|
9
|
-
import { useLingui as h } from "@lingui/react";
|
|
10
|
-
import g from "@mui/icons-material/AddCircleOutline";
|
|
11
|
-
import _ from "@mui/icons-material/Delete";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js
|
|
13
|
-
var v = ({ rules: v, usersFromListCount: y, rolesFromListCount: b, onAddRule: x, onEditRule: S, onDeleteRule: C }) => {
|
|
14
|
-
let { i18n: w } = h(), { getRuleLabel: T } = t({}), E = r(() => Object.keys(v).map((t) => {
|
|
15
|
-
let r, a;
|
|
16
|
-
switch (t) {
|
|
17
|
-
case "users_from_list":
|
|
18
|
-
r = T(t, (typeof y == "string" ? parseInt(y) : y) || 0);
|
|
19
|
-
break;
|
|
20
|
-
case "roles_from_list":
|
|
21
|
-
r = T(t, typeof b == "string" ? parseInt(b) : b || 0);
|
|
22
|
-
break;
|
|
23
|
-
default: r = T(t);
|
|
24
|
-
}
|
|
25
|
-
switch (t) {
|
|
26
|
-
case "single_user":
|
|
27
|
-
a = /* @__PURE__ */ i(l, {
|
|
28
|
-
direction: "column",
|
|
29
|
-
spacing: .5,
|
|
30
|
-
sx: { overflow: "hidden" },
|
|
31
|
-
children: v.single_user?.id && /* @__PURE__ */ i(e, { userId: v.single_user?.id }, v.single_user?.id)
|
|
32
|
-
});
|
|
33
|
-
break;
|
|
34
|
-
case "users_from_list":
|
|
35
|
-
a = /* @__PURE__ */ i(l, {
|
|
36
|
-
direction: "column",
|
|
37
|
-
spacing: .5,
|
|
38
|
-
sx: { overflow: "hidden" },
|
|
39
|
-
children: v?.users_from_list?.map((t) => /* @__PURE__ */ i(e, { userId: t.id }, t.id))
|
|
40
|
-
});
|
|
41
|
-
break;
|
|
42
|
-
case "roles_from_list":
|
|
43
|
-
a = /* @__PURE__ */ i(l, {
|
|
44
|
-
direction: "row",
|
|
45
|
-
gap: 1,
|
|
46
|
-
flexWrap: "wrap",
|
|
47
|
-
useFlexGap: !0,
|
|
48
|
-
sx: { "& > *": { flexShrink: 0 } },
|
|
49
|
-
children: v.roles_from_list?.map((e) => /* @__PURE__ */ i(n, { roleId: e.id }, e.id))
|
|
50
|
-
});
|
|
51
|
-
break;
|
|
52
|
-
case "approval_chain": a = /* @__PURE__ */ i(l, {
|
|
53
|
-
direction: "column",
|
|
54
|
-
spacing: .5,
|
|
55
|
-
sx: { overflow: "hidden" },
|
|
56
|
-
children: v?.approval_chain?.map((t) => /* @__PURE__ */ i(e, { userId: t.id }, t.id))
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
key: t,
|
|
61
|
-
label: r,
|
|
62
|
-
value: a
|
|
63
|
-
};
|
|
64
|
-
}), [
|
|
65
|
-
v,
|
|
66
|
-
y,
|
|
67
|
-
T,
|
|
68
|
-
b
|
|
69
|
-
]);
|
|
70
|
-
return /* @__PURE__ */ i(c, {
|
|
71
|
-
variant: "outlined",
|
|
72
|
-
children: /* @__PURE__ */ a(u, { children: [/* @__PURE__ */ i(p, { children: /* @__PURE__ */ a(m, { children: [
|
|
73
|
-
/* @__PURE__ */ i(f, { children: w._("Condition") }),
|
|
74
|
-
/* @__PURE__ */ i(f, { children: w._("Criteria") }),
|
|
75
|
-
/* @__PURE__ */ i(f, {})
|
|
76
|
-
] }) }), /* @__PURE__ */ a(d, { children: [E.length > 0 ? E.map((e) => /* @__PURE__ */ a(m, {
|
|
77
|
-
hover: !0,
|
|
78
|
-
sx: { "&.MuiTableRow-root": { cursor: "pointer" } },
|
|
79
|
-
onClick: () => S(e.key),
|
|
80
|
-
children: [
|
|
81
|
-
/* @__PURE__ */ i(f, { children: e.label }),
|
|
82
|
-
/* @__PURE__ */ i(f, { children: e.value }),
|
|
83
|
-
/* @__PURE__ */ i(f, { children: /* @__PURE__ */ i(s, {
|
|
84
|
-
"aria-label": w._("Delete trigger"),
|
|
85
|
-
onClick: (t) => {
|
|
86
|
-
t.stopPropagation(), C(e.key);
|
|
87
|
-
},
|
|
88
|
-
children: /* @__PURE__ */ i(_, {})
|
|
89
|
-
}) })
|
|
90
|
-
]
|
|
91
|
-
}, e.label)) : /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(f, {
|
|
92
|
-
colSpan: 3,
|
|
93
|
-
children: w._("No rules")
|
|
94
|
-
}) }), /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(f, {
|
|
95
|
-
colSpan: 3,
|
|
96
|
-
children: /* @__PURE__ */ i(o, {
|
|
97
|
-
startIcon: /* @__PURE__ */ i(g, {}),
|
|
98
|
-
onClick: x,
|
|
99
|
-
disabled: !!v.single_user && (v.users_from_list?.length ?? 0) > 0 && (v.roles_from_list?.length ?? 0) > 0 && (v.approval_chain?.length ?? 0) > 0,
|
|
100
|
-
children: w._("Add new rule")
|
|
101
|
-
})
|
|
102
|
-
}) })] })] })
|
|
103
|
-
});
|
|
104
|
-
};
|
|
105
|
-
//#endregion
|
|
106
|
-
export { v as RulesTable };
|
|
@@ -1 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let { first_name: n, last_name: r } = e && typeof e == "object" ? e : {
|
|
4
|
+
first_name: e,
|
|
5
|
+
last_name: t
|
|
6
|
+
};
|
|
7
|
+
return `${n?.trim() ?? ""} ${r?.trim() ?? ""}`.trim();
|
|
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
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { e as getIndividualName, t as getIndividualNameWithFallback, n as getUserDisplayName };
|
|
@@ -1,56 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useRootElements as t } from "./index69.js";
|
|
3
|
-
import "./index70.js";
|
|
4
|
-
import { useDebounce as n } from "./index76.js";
|
|
5
|
-
import { useState as r } from "react";
|
|
6
|
-
import { Fragment as i, jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
-
import { Autocomplete as s, CircularProgress as c, FormHelperText as l, TextField as u } from "@mui/material";
|
|
8
|
-
import { useLingui as d } from "@lingui/react";
|
|
9
|
-
import { Controller as f, useFormContext as p } from "react-hook-form";
|
|
1
|
+
import { getIndividualName as e } from "./index96.js";
|
|
10
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
slotProps: { popper: { container: y } },
|
|
25
|
-
loading: T,
|
|
26
|
-
options: w?.data || [],
|
|
27
|
-
getOptionKey: (e) => e.id,
|
|
28
|
-
getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(),
|
|
29
|
-
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
30
|
-
filterOptions: (e) => e,
|
|
31
|
-
onInputChange: (e, t) => {
|
|
32
|
-
S(t);
|
|
33
|
-
},
|
|
34
|
-
onChange: (e, t) => {
|
|
35
|
-
b(h, t), E();
|
|
36
|
-
},
|
|
37
|
-
renderInput: (e) => /* @__PURE__ */ a(u, {
|
|
38
|
-
...e,
|
|
39
|
-
label: g,
|
|
40
|
-
error: !!t,
|
|
41
|
-
InputProps: {
|
|
42
|
-
...e.InputProps,
|
|
43
|
-
endAdornment: /* @__PURE__ */ o(i, { children: [T ? /* @__PURE__ */ a(c, {
|
|
44
|
-
color: "inherit",
|
|
45
|
-
size: 20
|
|
46
|
-
}) : null, e.InputProps.endAdornment] })
|
|
47
|
-
}
|
|
48
|
-
})
|
|
49
|
-
}), t && /* @__PURE__ */ a(l, {
|
|
50
|
-
error: !0,
|
|
51
|
-
children: t.message
|
|
52
|
-
})] })
|
|
53
|
-
});
|
|
54
|
-
};
|
|
3
|
+
var t = (e) => e.type === "individual", n = (e) => e.type === "organization";
|
|
4
|
+
function r(r) {
|
|
5
|
+
if (!r) return "";
|
|
6
|
+
if (t(r)) {
|
|
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
|
+
}
|
|
55
16
|
//#endregion
|
|
56
|
-
export {
|
|
17
|
+
export { r as getCounterpartName, t as isIndividualCounterpart, n as isOrganizationCounterpart };
|
|
@@ -1 +1,153 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import { z as e } from "zod";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js
|
|
3
|
+
var t = {
|
|
4
|
+
AED: "AED",
|
|
5
|
+
AFN: "AFN",
|
|
6
|
+
ALL: "ALL",
|
|
7
|
+
AMD: "AMD",
|
|
8
|
+
ANG: "ANG",
|
|
9
|
+
AOA: "AOA",
|
|
10
|
+
ARS: "ARS",
|
|
11
|
+
AUD: "AUD",
|
|
12
|
+
AWG: "AWG",
|
|
13
|
+
AZN: "AZN",
|
|
14
|
+
BAM: "BAM",
|
|
15
|
+
BBD: "BBD",
|
|
16
|
+
BDT: "BDT",
|
|
17
|
+
BGN: "BGN",
|
|
18
|
+
BHD: "BHD",
|
|
19
|
+
BIF: "BIF",
|
|
20
|
+
BMD: "BMD",
|
|
21
|
+
BND: "BND",
|
|
22
|
+
BOB: "BOB",
|
|
23
|
+
BRL: "BRL",
|
|
24
|
+
BSD: "BSD",
|
|
25
|
+
BTN: "BTN",
|
|
26
|
+
BWP: "BWP",
|
|
27
|
+
BYN: "BYN",
|
|
28
|
+
BZD: "BZD",
|
|
29
|
+
CAD: "CAD",
|
|
30
|
+
CDF: "CDF",
|
|
31
|
+
CHF: "CHF",
|
|
32
|
+
CLP: "CLP",
|
|
33
|
+
CNY: "CNY",
|
|
34
|
+
COP: "COP",
|
|
35
|
+
CRC: "CRC",
|
|
36
|
+
CVE: "CVE",
|
|
37
|
+
CZK: "CZK",
|
|
38
|
+
DJF: "DJF",
|
|
39
|
+
DKK: "DKK",
|
|
40
|
+
DOP: "DOP",
|
|
41
|
+
DZD: "DZD",
|
|
42
|
+
EGP: "EGP",
|
|
43
|
+
ETB: "ETB",
|
|
44
|
+
EUR: "EUR",
|
|
45
|
+
FJD: "FJD",
|
|
46
|
+
FKP: "FKP",
|
|
47
|
+
GBP: "GBP",
|
|
48
|
+
GEL: "GEL",
|
|
49
|
+
GHS: "GHS",
|
|
50
|
+
GIP: "GIP",
|
|
51
|
+
GMD: "GMD",
|
|
52
|
+
GNF: "GNF",
|
|
53
|
+
GTQ: "GTQ",
|
|
54
|
+
GYD: "GYD",
|
|
55
|
+
HKD: "HKD",
|
|
56
|
+
HNL: "HNL",
|
|
57
|
+
HTG: "HTG",
|
|
58
|
+
HUF: "HUF",
|
|
59
|
+
IDR: "IDR",
|
|
60
|
+
ILS: "ILS",
|
|
61
|
+
INR: "INR",
|
|
62
|
+
IQD: "IQD",
|
|
63
|
+
ISK: "ISK",
|
|
64
|
+
JMD: "JMD",
|
|
65
|
+
JOD: "JOD",
|
|
66
|
+
JPY: "JPY",
|
|
67
|
+
KES: "KES",
|
|
68
|
+
KGS: "KGS",
|
|
69
|
+
KHR: "KHR",
|
|
70
|
+
KMF: "KMF",
|
|
71
|
+
KRW: "KRW",
|
|
72
|
+
KWD: "KWD",
|
|
73
|
+
KYD: "KYD",
|
|
74
|
+
KZT: "KZT",
|
|
75
|
+
LAK: "LAK",
|
|
76
|
+
LBP: "LBP",
|
|
77
|
+
LKR: "LKR",
|
|
78
|
+
LRD: "LRD",
|
|
79
|
+
LSL: "LSL",
|
|
80
|
+
LYD: "LYD",
|
|
81
|
+
MAD: "MAD",
|
|
82
|
+
MDL: "MDL",
|
|
83
|
+
MGA: "MGA",
|
|
84
|
+
MKD: "MKD",
|
|
85
|
+
MMK: "MMK",
|
|
86
|
+
MNT: "MNT",
|
|
87
|
+
MOP: "MOP",
|
|
88
|
+
MUR: "MUR",
|
|
89
|
+
MVR: "MVR",
|
|
90
|
+
MWK: "MWK",
|
|
91
|
+
MXN: "MXN",
|
|
92
|
+
MYR: "MYR",
|
|
93
|
+
MZN: "MZN",
|
|
94
|
+
NAD: "NAD",
|
|
95
|
+
NGN: "NGN",
|
|
96
|
+
NIO: "NIO",
|
|
97
|
+
NOK: "NOK",
|
|
98
|
+
NPR: "NPR",
|
|
99
|
+
NZD: "NZD",
|
|
100
|
+
OMR: "OMR",
|
|
101
|
+
PAB: "PAB",
|
|
102
|
+
PEN: "PEN",
|
|
103
|
+
PGK: "PGK",
|
|
104
|
+
PHP: "PHP",
|
|
105
|
+
PKR: "PKR",
|
|
106
|
+
PLN: "PLN",
|
|
107
|
+
PYG: "PYG",
|
|
108
|
+
QAR: "QAR",
|
|
109
|
+
RON: "RON",
|
|
110
|
+
RSD: "RSD",
|
|
111
|
+
RUB: "RUB",
|
|
112
|
+
RWF: "RWF",
|
|
113
|
+
SAR: "SAR",
|
|
114
|
+
SBD: "SBD",
|
|
115
|
+
SCR: "SCR",
|
|
116
|
+
SEK: "SEK",
|
|
117
|
+
SGD: "SGD",
|
|
118
|
+
SHP: "SHP",
|
|
119
|
+
SLE: "SLE",
|
|
120
|
+
SOS: "SOS",
|
|
121
|
+
SRD: "SRD",
|
|
122
|
+
SSP: "SSP",
|
|
123
|
+
SVC: "SVC",
|
|
124
|
+
SZL: "SZL",
|
|
125
|
+
THB: "THB",
|
|
126
|
+
TJS: "TJS",
|
|
127
|
+
TMT: "TMT",
|
|
128
|
+
TND: "TND",
|
|
129
|
+
TOP: "TOP",
|
|
130
|
+
TRY: "TRY",
|
|
131
|
+
TTD: "TTD",
|
|
132
|
+
TWD: "TWD",
|
|
133
|
+
TZS: "TZS",
|
|
134
|
+
UAH: "UAH",
|
|
135
|
+
UGX: "UGX",
|
|
136
|
+
USD: "USD",
|
|
137
|
+
UYU: "UYU",
|
|
138
|
+
UZS: "UZS",
|
|
139
|
+
VND: "VND",
|
|
140
|
+
VUV: "VUV",
|
|
141
|
+
WST: "WST",
|
|
142
|
+
XAF: "XAF",
|
|
143
|
+
XCD: "XCD",
|
|
144
|
+
XOF: "XOF",
|
|
145
|
+
XPF: "XPF",
|
|
146
|
+
YER: "YER",
|
|
147
|
+
ZAR: "ZAR",
|
|
148
|
+
ZMW: "ZMW"
|
|
149
|
+
};
|
|
150
|
+
Object.values(t);
|
|
151
|
+
var n = e.enum(Object.keys(t));
|
|
152
|
+
//#endregion
|
|
153
|
+
export { n as CurrencyEnumSchema };
|