@tesouro/embedded-components-react 0.7.47 → 0.7.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +0 -23
- package/dist/lib/monite-sdk.d.ts +51 -182
- package/dist/lib/monite-sdk.js +71 -77
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartsTable.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/counterparts.js +233 -88
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/labels.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +75 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +10 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +36 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +1 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +102 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +51 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +1 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +49 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +1 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +53 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +1 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +151 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +52 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +70 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +11 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +68 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +172 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +73 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +76 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +33 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +1 -446
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +55 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +41 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +565 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +156 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +10 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +16 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +26 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +1 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +93 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +23 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +15 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +71 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +27 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +5 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +37 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +48 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +54 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +28 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +39 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +78 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +4 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +2 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +79 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +121 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +17 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +77 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +1 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +121 -292
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +17 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +120 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +21 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +6 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +37 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +55 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +71 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +26 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +57 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +19 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +185 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +3 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +64 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +30 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +31 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +10 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +8 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +18 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +14 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +16 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +13 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +15 -564
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +114 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +62 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +195 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +38 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +17 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +5 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +359 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +89 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +14 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +182 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +98 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +37 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +1 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +53 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +44 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +33 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +1 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +158 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +54 -176
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +47 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +49 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +85 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +7 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +304 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +1 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +20 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +157 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +34 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +31 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +101 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +186 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +131 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +208 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +238 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +1 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +131 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +165 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +26 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +19 -356
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +16 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +9 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +22 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +83 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +14 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +101 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +171 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +11 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +4 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +66 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +25 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +210 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +87 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +154 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +104 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +42 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +69 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +19 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +5 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +11 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +130 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +6 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +6 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +219 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +31 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +32 -238
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +73 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +179 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +194 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +102 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +64 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +53 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +91 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +83 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +1 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +46 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +28 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +15 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +87 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +8 -1
- 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 +14 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +44 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +32 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +70 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +6 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +8 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +5 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +4 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +72 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +54 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +49 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +18 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +48 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +63 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +33 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +24 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +51 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +71 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +80 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +8 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +27 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +16 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +3 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +55 -53
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +0 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +0 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +0 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +0 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +0 -97
|
@@ -1,100 +1,55 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { twMerge as o } from "tailwind-merge";
|
|
8
|
-
import { Fragment as s, jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { useRootElements as t } from "./index78.js";
|
|
3
|
+
import "./index79.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";
|
|
9
7
|
import { useLingui as u } from "@lingui/react";
|
|
8
|
+
import { Controller as d, useFormContext as f } from "react-hook-form";
|
|
10
9
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js
|
|
11
|
-
var
|
|
12
|
-
let { i18n:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
})
|
|
47
|
-
|
|
48
|
-
}), b && m && /* @__PURE__ */ c(e, {
|
|
49
|
-
type: "button",
|
|
50
|
-
variant: "ghost",
|
|
51
|
-
className: "ttw:text-primary ttw:p-0 ttw:hover:text-primary ttw:hover:underline ttw:w-fit ttw:hover:bg-transparent",
|
|
52
|
-
onClick: () => y(!0),
|
|
53
|
-
children: _._("Edit")
|
|
54
|
-
})]
|
|
55
|
-
}), /* @__PURE__ */ c("div", {
|
|
56
|
-
className: o("ttw:flex ttw:items-start ttw:rounded-lg", b ? "ttw:border-none" : "ttw:border ttw:border-border ttw:p-3"),
|
|
57
|
-
children: b ? /* @__PURE__ */ l("div", {
|
|
58
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
59
|
-
children: [
|
|
60
|
-
/* @__PURE__ */ c(t, {
|
|
61
|
-
variant: "body2",
|
|
62
|
-
className: "ttw:font-medium",
|
|
63
|
-
children: p?.line1
|
|
64
|
-
}),
|
|
65
|
-
p?.line2 && /* @__PURE__ */ c(t, {
|
|
66
|
-
variant: "body2",
|
|
67
|
-
className: "ttw:font-medium",
|
|
68
|
-
children: p.line2
|
|
69
|
-
}),
|
|
70
|
-
/* @__PURE__ */ c(t, {
|
|
71
|
-
variant: "body2",
|
|
72
|
-
className: "ttw:font-medium",
|
|
73
|
-
children: `${x && x}${x && (S || C) && ","} ${S && S} ${C && C}`
|
|
74
|
-
}),
|
|
75
|
-
/* @__PURE__ */ c(t, {
|
|
76
|
-
variant: "body2",
|
|
77
|
-
className: "ttw:font-medium",
|
|
78
|
-
children: p?.country
|
|
79
|
-
})
|
|
80
|
-
]
|
|
81
|
-
}) : /* @__PURE__ */ l("div", {
|
|
82
|
-
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
83
|
-
children: [/* @__PURE__ */ c(t, {
|
|
84
|
-
variant: "body2",
|
|
85
|
-
className: "ttw:leading-5",
|
|
86
|
-
children: _._("No address on file")
|
|
87
|
-
}), /* @__PURE__ */ l(e, {
|
|
88
|
-
type: "button",
|
|
89
|
-
variant: "ghost",
|
|
90
|
-
className: "ttw:text-primary ttw:hover:text-primary/70 ttw:w-fit ttw:px-0 ttw:has-[>svg]:px-0 ttw:py-2 ttw:hover:bg-transparent",
|
|
91
|
-
onClick: () => y(!0),
|
|
92
|
-
disabled: h,
|
|
93
|
-
children: [/* @__PURE__ */ c(a, {}), _._("Add address")]
|
|
94
|
-
})]
|
|
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
|
+
}
|
|
95
47
|
})
|
|
96
|
-
})
|
|
48
|
+
}), t && /* @__PURE__ */ i(c, {
|
|
49
|
+
error: !0,
|
|
50
|
+
children: t.message
|
|
51
|
+
})] })
|
|
97
52
|
});
|
|
98
53
|
};
|
|
99
54
|
//#endregion
|
|
100
|
-
export {
|
|
55
|
+
export { p as AutocompleteRoles };
|
|
@@ -1,262 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Typography as t } from "./index62.js";
|
|
3
|
-
import { Label as n } from "./index87.js";
|
|
4
|
-
import { Field as r, FieldContent as i, FieldDescription as a, FieldError as o, FieldLabel as s } from "./index88.js";
|
|
5
|
-
import { CounterpartBankSection as c } from "./index97.js";
|
|
6
|
-
import { CounterpartAddressSection as l } from "./index107.js";
|
|
7
|
-
import { RadioGroup as u, RadioGroupItem as d } from "./index90.js";
|
|
8
|
-
import { Checkbox as f } from "./index98.js";
|
|
9
|
-
import { useRef as p } from "react";
|
|
10
|
-
import { twMerge as m } from "tailwind-merge";
|
|
11
|
-
import { jsx as h, jsxs as g } from "@emotion/react/jsx-runtime";
|
|
12
|
-
import { useLingui as _ } from "@lingui/react";
|
|
13
|
-
import { Controller as v, useFormContext as y } from "react-hook-form";
|
|
14
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js
|
|
15
|
-
var b = ({ handleChangeCounterpartType: b, counterpartType: x, isLoading: S, customerType: C, isEditMode: w }) => {
|
|
16
|
-
let { i18n: T } = _(), { control: E } = y(), D = p(null), O = C === "vendor";
|
|
17
|
-
return /* @__PURE__ */ g("div", {
|
|
18
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
19
|
-
ref: D,
|
|
20
|
-
children: [
|
|
21
|
-
/* @__PURE__ */ g("div", {
|
|
22
|
-
className: m("ttw:flex ttw:flex-col ttw:gap-1.5", w && "ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border"),
|
|
23
|
-
children: [/* @__PURE__ */ h(t, {
|
|
24
|
-
variant: "body1",
|
|
25
|
-
className: "ttw:font-medium",
|
|
26
|
-
children: w ? T._("Editing {customerType} details", { customerType: C }) : T._("{customerType} details", { customerType: O ? "Vendor" : "Customer" })
|
|
27
|
-
}), !w && /* @__PURE__ */ h(t, {
|
|
28
|
-
variant: "body2",
|
|
29
|
-
color: "muted",
|
|
30
|
-
children: O ? T._("Who are you paying?") : T._("Who are you billing?")
|
|
31
|
-
})]
|
|
32
|
-
}),
|
|
33
|
-
!w && /* @__PURE__ */ g("div", {
|
|
34
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
35
|
-
children: [/* @__PURE__ */ h(s, { children: T._("{customerType} type", { customerType: O ? "Vendor" : "Customer" }) }), /* @__PURE__ */ g(u, {
|
|
36
|
-
className: "ttw:flex",
|
|
37
|
-
value: x,
|
|
38
|
-
disabled: S,
|
|
39
|
-
onValueChange: (e) => b?.(e),
|
|
40
|
-
children: [/* @__PURE__ */ g("div", {
|
|
41
|
-
className: m("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", x === "organization" && "ttw:bg-primary/10 ttw:border-primary/30"),
|
|
42
|
-
children: [/* @__PURE__ */ h(d, {
|
|
43
|
-
value: "organization",
|
|
44
|
-
id: "organization",
|
|
45
|
-
className: m(x === "organization" ? "ttw:bg-primary" : "ttw:bg-white"),
|
|
46
|
-
dotClassName: m(x === "organization" && "ttw:fill-white"),
|
|
47
|
-
disabled: S
|
|
48
|
-
}), /* @__PURE__ */ g(n, {
|
|
49
|
-
htmlFor: "organization",
|
|
50
|
-
className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5",
|
|
51
|
-
children: [/* @__PURE__ */ h(t, {
|
|
52
|
-
variant: "body2",
|
|
53
|
-
className: "ttw:leading-3.5",
|
|
54
|
-
children: T._("Business")
|
|
55
|
-
}), /* @__PURE__ */ h(t, {
|
|
56
|
-
variant: "caption",
|
|
57
|
-
color: "muted",
|
|
58
|
-
children: T._("A company or organization")
|
|
59
|
-
})]
|
|
60
|
-
})]
|
|
61
|
-
}), /* @__PURE__ */ g("div", {
|
|
62
|
-
className: m("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", x === "individual" && "ttw:bg-primary/10 ttw:border-primary/30"),
|
|
63
|
-
children: [/* @__PURE__ */ h(d, {
|
|
64
|
-
value: "individual",
|
|
65
|
-
id: "individual",
|
|
66
|
-
className: m(x === "individual" ? "ttw:bg-primary" : "ttw:bg-white"),
|
|
67
|
-
dotClassName: m(x === "individual" && "ttw:fill-white"),
|
|
68
|
-
disabled: S
|
|
69
|
-
}), /* @__PURE__ */ g(n, {
|
|
70
|
-
htmlFor: "individual",
|
|
71
|
-
className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5",
|
|
72
|
-
children: [/* @__PURE__ */ h(t, {
|
|
73
|
-
variant: "body2",
|
|
74
|
-
className: "ttw:leading-3.5",
|
|
75
|
-
children: T._("Person")
|
|
76
|
-
}), /* @__PURE__ */ h(t, {
|
|
77
|
-
variant: "caption",
|
|
78
|
-
color: "muted",
|
|
79
|
-
children: T._("An individual or contractor")
|
|
80
|
-
})]
|
|
81
|
-
})]
|
|
82
|
-
})]
|
|
83
|
-
})]
|
|
84
|
-
}),
|
|
85
|
-
x === "individual" ? /* @__PURE__ */ g("div", {
|
|
86
|
-
className: "ttw:flex ttw:gap-4",
|
|
87
|
-
children: [/* @__PURE__ */ h(v, {
|
|
88
|
-
name: "firstName",
|
|
89
|
-
control: E,
|
|
90
|
-
render: ({ field: t, fieldState: { error: n } }) => /* @__PURE__ */ h(r, { children: /* @__PURE__ */ g(i, { children: [
|
|
91
|
-
/* @__PURE__ */ h(s, {
|
|
92
|
-
htmlFor: t.name,
|
|
93
|
-
children: T._("First name")
|
|
94
|
-
}),
|
|
95
|
-
/* @__PURE__ */ h(e, {
|
|
96
|
-
className: w ? "ttw:bg-white" : "",
|
|
97
|
-
id: t.name,
|
|
98
|
-
...t,
|
|
99
|
-
disabled: S,
|
|
100
|
-
"aria-invalid": !!n || void 0
|
|
101
|
-
}),
|
|
102
|
-
/* @__PURE__ */ h(o, { errors: [n] })
|
|
103
|
-
] }) })
|
|
104
|
-
}), /* @__PURE__ */ h(v, {
|
|
105
|
-
name: "lastName",
|
|
106
|
-
control: E,
|
|
107
|
-
render: ({ field: t, fieldState: { error: n } }) => /* @__PURE__ */ h(r, { children: /* @__PURE__ */ g(i, { children: [
|
|
108
|
-
/* @__PURE__ */ h(s, {
|
|
109
|
-
htmlFor: t.name,
|
|
110
|
-
children: T._("Last name")
|
|
111
|
-
}),
|
|
112
|
-
/* @__PURE__ */ h(e, {
|
|
113
|
-
id: t.name,
|
|
114
|
-
...t,
|
|
115
|
-
className: w ? "ttw:bg-white" : "",
|
|
116
|
-
disabled: S,
|
|
117
|
-
"aria-invalid": !!n || void 0
|
|
118
|
-
}),
|
|
119
|
-
/* @__PURE__ */ h(o, { errors: [n] })
|
|
120
|
-
] }) })
|
|
121
|
-
})]
|
|
122
|
-
}) : /* @__PURE__ */ h(v, {
|
|
123
|
-
name: "companyName",
|
|
124
|
-
control: E,
|
|
125
|
-
render: ({ field: t, fieldState: { error: n } }) => /* @__PURE__ */ h(r, { children: /* @__PURE__ */ g(i, { children: [
|
|
126
|
-
/* @__PURE__ */ h(s, {
|
|
127
|
-
htmlFor: t.name,
|
|
128
|
-
children: T._("Business name")
|
|
129
|
-
}),
|
|
130
|
-
/* @__PURE__ */ h(e, {
|
|
131
|
-
id: t.name,
|
|
132
|
-
...t,
|
|
133
|
-
className: w ? "ttw:bg-white" : "",
|
|
134
|
-
disabled: S,
|
|
135
|
-
"aria-invalid": !!n || void 0
|
|
136
|
-
}),
|
|
137
|
-
/* @__PURE__ */ h(o, { errors: [n] })
|
|
138
|
-
] }) })
|
|
139
|
-
}),
|
|
140
|
-
/* @__PURE__ */ g("div", {
|
|
141
|
-
className: m("ttw:flex ttw:gap-4", O ? "ttw:flex-row" : "ttw:flex-col"),
|
|
142
|
-
children: [
|
|
143
|
-
/* @__PURE__ */ h(v, {
|
|
144
|
-
name: "email",
|
|
145
|
-
control: E,
|
|
146
|
-
render: ({ field: t, fieldState: { error: n } }) => /* @__PURE__ */ h(r, { children: /* @__PURE__ */ g(i, { children: [
|
|
147
|
-
/* @__PURE__ */ h(s, {
|
|
148
|
-
htmlFor: t.name,
|
|
149
|
-
children: T._("Email")
|
|
150
|
-
}),
|
|
151
|
-
/* @__PURE__ */ h(e, {
|
|
152
|
-
id: t.name,
|
|
153
|
-
...t,
|
|
154
|
-
className: w ? "ttw:bg-white" : "",
|
|
155
|
-
disabled: S,
|
|
156
|
-
"aria-invalid": !!n || void 0
|
|
157
|
-
}),
|
|
158
|
-
/* @__PURE__ */ h(o, { errors: [n] })
|
|
159
|
-
] }) })
|
|
160
|
-
}),
|
|
161
|
-
!O && /* @__PURE__ */ h(v, {
|
|
162
|
-
name: "remindersEnabled",
|
|
163
|
-
control: E,
|
|
164
|
-
render: ({ field: e }) => /* @__PURE__ */ h(r, {
|
|
165
|
-
orientation: "horizontal",
|
|
166
|
-
children: /* @__PURE__ */ g(i, {
|
|
167
|
-
className: "ttw:flex-row",
|
|
168
|
-
children: [/* @__PURE__ */ h(f, {
|
|
169
|
-
id: e.name,
|
|
170
|
-
ref: e.ref,
|
|
171
|
-
checked: e.value,
|
|
172
|
-
onCheckedChange: e.onChange,
|
|
173
|
-
onBlur: e.onBlur,
|
|
174
|
-
disabled: S
|
|
175
|
-
}), /* @__PURE__ */ h(s, {
|
|
176
|
-
htmlFor: e.name,
|
|
177
|
-
className: "ttw:font-normal ttw:leading-4",
|
|
178
|
-
children: T._("Send reminders to this email when an invoice is approaching its due date")
|
|
179
|
-
})]
|
|
180
|
-
})
|
|
181
|
-
})
|
|
182
|
-
}),
|
|
183
|
-
/* @__PURE__ */ h(v, {
|
|
184
|
-
name: "phone",
|
|
185
|
-
control: E,
|
|
186
|
-
render: ({ field: n, fieldState: { error: a } }) => /* @__PURE__ */ h(r, { children: /* @__PURE__ */ g(i, { children: [
|
|
187
|
-
/* @__PURE__ */ g(s, {
|
|
188
|
-
htmlFor: n.name,
|
|
189
|
-
className: "ttw:gap-1",
|
|
190
|
-
children: [T._("Phone"), /* @__PURE__ */ h(t, {
|
|
191
|
-
variant: "body2",
|
|
192
|
-
color: "muted",
|
|
193
|
-
className: "ttw:leading-snug",
|
|
194
|
-
children: T._("(optional)")
|
|
195
|
-
})]
|
|
196
|
-
}),
|
|
197
|
-
/* @__PURE__ */ h(e, {
|
|
198
|
-
id: n.name,
|
|
199
|
-
...n,
|
|
200
|
-
className: w ? "ttw:bg-white" : "",
|
|
201
|
-
disabled: S,
|
|
202
|
-
"aria-invalid": !!a || void 0
|
|
203
|
-
}),
|
|
204
|
-
/* @__PURE__ */ h(o, { errors: [a] })
|
|
205
|
-
] }) })
|
|
206
|
-
})
|
|
207
|
-
]
|
|
208
|
-
}),
|
|
209
|
-
/* @__PURE__ */ h(v, {
|
|
210
|
-
name: "tax_id",
|
|
211
|
-
control: E,
|
|
212
|
-
render: ({ field: n, fieldState: { error: c } }) => /* @__PURE__ */ h(r, { children: /* @__PURE__ */ g(i, { children: [
|
|
213
|
-
/* @__PURE__ */ g(s, {
|
|
214
|
-
htmlFor: n.name,
|
|
215
|
-
className: "ttw:gap-1",
|
|
216
|
-
children: [T._("Tax ID / {documentType}", { documentType: x === "individual" ? "SSN" : "EIN" }), /* @__PURE__ */ h(t, {
|
|
217
|
-
variant: "body2",
|
|
218
|
-
color: "muted",
|
|
219
|
-
className: "ttw:leading-snug",
|
|
220
|
-
children: T._("(optional)")
|
|
221
|
-
})]
|
|
222
|
-
}),
|
|
223
|
-
/* @__PURE__ */ h(e, {
|
|
224
|
-
id: n.name,
|
|
225
|
-
...n,
|
|
226
|
-
className: w ? "ttw:bg-white" : "",
|
|
227
|
-
placeholder: T._("e.g., {example}", { example: x === "individual" ? "034-56-78890" : "12-3456789" }),
|
|
228
|
-
disabled: S,
|
|
229
|
-
"aria-invalid": !!c || void 0
|
|
230
|
-
}),
|
|
231
|
-
/* @__PURE__ */ h(a, { children: O ? T._("Required only if you'll file a 1099 IRS form for this vendor at year-end.") : T._("Required only if you'll issue a 1099 IRS form at year-end.") }),
|
|
232
|
-
/* @__PURE__ */ h(o, { errors: [c] })
|
|
233
|
-
] }) })
|
|
234
|
-
}),
|
|
235
|
-
(O || !w) && /* @__PURE__ */ h(l, {
|
|
236
|
-
isLoading: S,
|
|
237
|
-
customerType: C,
|
|
238
|
-
isStandalone: !1
|
|
239
|
-
}),
|
|
240
|
-
O && !w && /* @__PURE__ */ g("div", {
|
|
241
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
242
|
-
children: [/* @__PURE__ */ g("div", {
|
|
243
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-6 ttw:pb-7",
|
|
244
|
-
children: [/* @__PURE__ */ h(t, {
|
|
245
|
-
variant: "body1",
|
|
246
|
-
className: "ttw:font-medium",
|
|
247
|
-
children: T._("Accepted payment methods")
|
|
248
|
-
}), /* @__PURE__ */ h(t, {
|
|
249
|
-
variant: "body2",
|
|
250
|
-
color: "muted",
|
|
251
|
-
children: T._("How and where will the money be sent. Don't have these yet? No problem. You can save this vendor and add their payment details later - you just won't be able to send payments until you do.")
|
|
252
|
-
})]
|
|
253
|
-
}), /* @__PURE__ */ h(c, {
|
|
254
|
-
isLoading: S,
|
|
255
|
-
isStandalone: !1
|
|
256
|
-
})]
|
|
257
|
-
})
|
|
258
|
-
]
|
|
259
|
-
});
|
|
260
|
-
};
|
|
261
|
-
//#endregion
|
|
262
|
-
export { b as CounterpartFormContent };
|
|
1
|
+
import "./index107.js";
|
|
@@ -1,185 +1,55 @@
|
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { useRootElements as t } from "./index78.js";
|
|
3
|
+
import "./index79.js";
|
|
4
|
+
import { useDebounce as n } from "./index85.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
10
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
ee: "ee",
|
|
46
|
-
fo: "fo",
|
|
47
|
-
fj: "fj",
|
|
48
|
-
fi: "fi",
|
|
49
|
-
fr: "fr",
|
|
50
|
-
fy: "fy",
|
|
51
|
-
ff: "ff",
|
|
52
|
-
gd: "gd",
|
|
53
|
-
gl: "gl",
|
|
54
|
-
lg: "lg",
|
|
55
|
-
ka: "ka",
|
|
56
|
-
de: "de",
|
|
57
|
-
el: "el",
|
|
58
|
-
kl: "kl",
|
|
59
|
-
gn: "gn",
|
|
60
|
-
gu: "gu",
|
|
61
|
-
ht: "ht",
|
|
62
|
-
ha: "ha",
|
|
63
|
-
he: "he",
|
|
64
|
-
hz: "hz",
|
|
65
|
-
hi: "hi",
|
|
66
|
-
ho: "ho",
|
|
67
|
-
hu: "hu",
|
|
68
|
-
io: "io",
|
|
69
|
-
ig: "ig",
|
|
70
|
-
id: "id",
|
|
71
|
-
ia: "ia",
|
|
72
|
-
ie: "ie",
|
|
73
|
-
iu: "iu",
|
|
74
|
-
ik: "ik",
|
|
75
|
-
ga: "ga",
|
|
76
|
-
it: "it",
|
|
77
|
-
ja: "ja",
|
|
78
|
-
jv: "jv",
|
|
79
|
-
kn: "kn",
|
|
80
|
-
kr: "kr",
|
|
81
|
-
ks: "ks",
|
|
82
|
-
kk: "kk",
|
|
83
|
-
km: "km",
|
|
84
|
-
ki: "ki",
|
|
85
|
-
rw: "rw",
|
|
86
|
-
ky: "ky",
|
|
87
|
-
kv: "kv",
|
|
88
|
-
kg: "kg",
|
|
89
|
-
ko: "ko",
|
|
90
|
-
kj: "kj",
|
|
91
|
-
ku: "ku",
|
|
92
|
-
lo: "lo",
|
|
93
|
-
la: "la",
|
|
94
|
-
lv: "lv",
|
|
95
|
-
li: "li",
|
|
96
|
-
ln: "ln",
|
|
97
|
-
lt: "lt",
|
|
98
|
-
lu: "lu",
|
|
99
|
-
lb: "lb",
|
|
100
|
-
mk: "mk",
|
|
101
|
-
mg: "mg",
|
|
102
|
-
ms: "ms",
|
|
103
|
-
ml: "ml",
|
|
104
|
-
mt: "mt",
|
|
105
|
-
gv: "gv",
|
|
106
|
-
mi: "mi",
|
|
107
|
-
mr: "mr",
|
|
108
|
-
mh: "mh",
|
|
109
|
-
mn: "mn",
|
|
110
|
-
na: "na",
|
|
111
|
-
nv: "nv",
|
|
112
|
-
nd: "nd",
|
|
113
|
-
nr: "nr",
|
|
114
|
-
ng: "ng",
|
|
115
|
-
ne: "ne",
|
|
116
|
-
no: "no",
|
|
117
|
-
nb: "nb",
|
|
118
|
-
nn: "nn",
|
|
119
|
-
ii: "ii",
|
|
120
|
-
oc: "oc",
|
|
121
|
-
oj: "oj",
|
|
122
|
-
om: "om",
|
|
123
|
-
os: "os",
|
|
124
|
-
pi: "pi",
|
|
125
|
-
ps: "ps",
|
|
126
|
-
fa: "fa",
|
|
127
|
-
pl: "pl",
|
|
128
|
-
pt: "pt",
|
|
129
|
-
pa: "pa",
|
|
130
|
-
qu: "qu",
|
|
131
|
-
ro: "ro",
|
|
132
|
-
rm: "rm",
|
|
133
|
-
rn: "rn",
|
|
134
|
-
ru: "ru",
|
|
135
|
-
se: "se",
|
|
136
|
-
sm: "sm",
|
|
137
|
-
sg: "sg",
|
|
138
|
-
sa: "sa",
|
|
139
|
-
sc: "sc",
|
|
140
|
-
sr: "sr",
|
|
141
|
-
sn: "sn",
|
|
142
|
-
sd: "sd",
|
|
143
|
-
si: "si",
|
|
144
|
-
sk: "sk",
|
|
145
|
-
sl: "sl",
|
|
146
|
-
so: "so",
|
|
147
|
-
st: "st",
|
|
148
|
-
es: "es",
|
|
149
|
-
su: "su",
|
|
150
|
-
sw: "sw",
|
|
151
|
-
ss: "ss",
|
|
152
|
-
sv: "sv",
|
|
153
|
-
tl: "tl",
|
|
154
|
-
ty: "ty",
|
|
155
|
-
tg: "tg",
|
|
156
|
-
ta: "ta",
|
|
157
|
-
tt: "tt",
|
|
158
|
-
te: "te",
|
|
159
|
-
th: "th",
|
|
160
|
-
bo: "bo",
|
|
161
|
-
ti: "ti",
|
|
162
|
-
to: "to",
|
|
163
|
-
ts: "ts",
|
|
164
|
-
tn: "tn",
|
|
165
|
-
tr: "tr",
|
|
166
|
-
tk: "tk",
|
|
167
|
-
tw: "tw",
|
|
168
|
-
ug: "ug",
|
|
169
|
-
uk: "uk",
|
|
170
|
-
ur: "ur",
|
|
171
|
-
uz: "uz",
|
|
172
|
-
ve: "ve",
|
|
173
|
-
vi: "vi",
|
|
174
|
-
vo: "vo",
|
|
175
|
-
wa: "wa",
|
|
176
|
-
cy: "cy",
|
|
177
|
-
wo: "wo",
|
|
178
|
-
xh: "xh",
|
|
179
|
-
yi: "yi",
|
|
180
|
-
yo: "yo",
|
|
181
|
-
za: "za",
|
|
182
|
-
zu: "zu"
|
|
183
|
-
});
|
|
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
|
+
};
|
|
184
54
|
//#endregion
|
|
185
|
-
export {
|
|
55
|
+
export { m as AutocompleteUser };
|