@tesouro/embedded-components-react 0.2.85 → 0.2.87
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.d.ts +4 -0
- package/dist/lib/BillPayWidget.d.ts +4 -0
- package/dist/lib/ReceivablesWidget.js +22 -22
- package/dist/lib/monite-sdk.d.ts +19 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +80 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +107 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +13 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +19 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +9 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +21 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +108 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +69 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +94 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +57 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +9 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +45 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +75 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +54 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +196 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +78 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +29 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +114 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +70 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +191 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +29 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +109 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +131 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +18 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +25 -390
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +183 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +13 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +48 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +118 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +4 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +88 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +6 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +43 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +48 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +394 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +2 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +99 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +7 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +214 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +20 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +42 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +62 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +110 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +86 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +62 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +486 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +163 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +149 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +42 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +62 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +29 -248
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +113 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +53 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +64 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +22 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +53 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +29 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +55 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +16 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +37 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +341 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +296 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +103 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +157 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +267 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +24 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +31 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +73 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +2 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +95 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +96 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +191 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +41 -485
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +21 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +72 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +32 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +18 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +42 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +69 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +35 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +34 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +54 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +344 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +18 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +13 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +13 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +8 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +15 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +28 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +26 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +31 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +33 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +15 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +17 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +241 -336
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +174 -294
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +12 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +18 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +23 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +38 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +56 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +51 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +29 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +98 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +44 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +65 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +22 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +187 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +98 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +81 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +278 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +83 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +221 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +33 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +94 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +71 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +48 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +45 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +160 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +25 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +76 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +27 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +126 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +21 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +18 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +17 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +165 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +129 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +162 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +18 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +60 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +63 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +59 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +6 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +11 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +58 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +75 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +41 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +32 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +53 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +34 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +24 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +123 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +16 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +16 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +22 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +24 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +36 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +71 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +16 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +11 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +30 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +17 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +61 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +33 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +46 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +8 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +65 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +68 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +47 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +152 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +26 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +7 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +51 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +31 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +4 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +127 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +12 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +101 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +19 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +57 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +35 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +40 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +72 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +94 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +75 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +66 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +39 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +32 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +85 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +103 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +110 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +9 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +38 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +8 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +5 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +39 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +29 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +81 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +48 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +36 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +47 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +69 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +82 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +52 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +50 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +70 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +21 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +93 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +75 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +21 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +19 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +48 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +57 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +31 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +40 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +35 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +66 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +40 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +20 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +22 -22
- package/package.json +1 -1
|
@@ -1,184 +1,185 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a, Fragment as h } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { useCounterpartById as
|
|
3
|
-
import { Sheet as
|
|
4
|
-
import { LoadingSpinner as
|
|
5
|
-
import { useLingui as
|
|
6
|
-
import { getCounterpartName as
|
|
2
|
+
import { useCounterpartById as Ct } from "./index70.js";
|
|
3
|
+
import { Sheet as G, SheetContent as q, SheetHeader as St, SheetTitle as Dt, SheetDescription as Tt, SheetClose as $t } from "./index130.js";
|
|
4
|
+
import { LoadingSpinner as At } from "./index131.js";
|
|
5
|
+
import { useLingui as Lt } from "@lingui/react";
|
|
6
|
+
import { getCounterpartName as D } from "./index7.js";
|
|
7
7
|
import { Skeleton as c } from "./index132.js";
|
|
8
|
-
import { useMoniteContext as
|
|
9
|
-
import { DropdownMenu as
|
|
8
|
+
import { useMoniteContext as It } from "./index57.js";
|
|
9
|
+
import { DropdownMenu as kt, DropdownMenuTrigger as Bt, DropdownMenuContent as jt, DropdownMenuItem as Mt } from "./index133.js";
|
|
10
10
|
import { Button as f } from "./index84.js";
|
|
11
|
-
import { MoreVerticalIcon as
|
|
12
|
-
import { DeleteCounterpartModal as
|
|
13
|
-
import { useState as
|
|
11
|
+
import { MoreVerticalIcon as Ut, Trash2 as Et, X as Ot, EyeOff as Pt, Eye as Rt } from "lucide-react";
|
|
12
|
+
import { DeleteCounterpartModal as Ft } from "./index134.js";
|
|
13
|
+
import { useState as T, useCallback as Vt, Fragment as zt } from "react";
|
|
14
14
|
import { Typography as i } from "./index85.js";
|
|
15
|
-
import { useCurrencies as
|
|
16
|
-
import { Separator as
|
|
15
|
+
import { useCurrencies as Wt } from "./index58.js";
|
|
16
|
+
import { Separator as Gt } from "./index135.js";
|
|
17
17
|
import { CounterpartContactDetailLine as m } from "./index136.js";
|
|
18
18
|
import "react-hot-toast";
|
|
19
19
|
import "date-fns";
|
|
20
|
-
import { useDeleteCounterpartBank as
|
|
21
|
-
import { useCounterpartAddressesById as
|
|
22
|
-
import { useGetCounterpartPayables as
|
|
23
|
-
import { EditCounterpart as
|
|
24
|
-
import { useUserPermissions as
|
|
20
|
+
import { useDeleteCounterpartBank as qt } from "./index137.js";
|
|
21
|
+
import { useCounterpartAddressesById as Ht } from "./index138.js";
|
|
22
|
+
import { useGetCounterpartPayables as Kt } from "./index139.js";
|
|
23
|
+
import { EditCounterpart as Qt } from "./index140.js";
|
|
24
|
+
import { useUserPermissions as Xt } from "./index141.js";
|
|
25
25
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
26
26
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
27
27
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
28
28
|
import "@tanstack/react-query";
|
|
29
29
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
30
|
-
import { Scope as
|
|
31
|
-
import { useGetPayablesAnalytics as
|
|
32
|
-
import { useGetReceivables as
|
|
30
|
+
import { Scope as $ } from "../../shared/data-access/dist/lib/scopes.js";
|
|
31
|
+
import { useGetPayablesAnalytics as A } from "./index35.js";
|
|
32
|
+
import { useGetReceivables as Yt } from "./index142.js";
|
|
33
33
|
import { useGetReceivablesAnalytics as H } from "./index143.js";
|
|
34
34
|
import "./index92.js";
|
|
35
35
|
import "react-dom";
|
|
36
36
|
import "@mui/x-data-grid";
|
|
37
37
|
import "react-hook-form";
|
|
38
|
-
import { PayableStatusChip as
|
|
39
|
-
import { CounterpartBankSection as
|
|
40
|
-
import { useCounterpartsBankAccountsList as
|
|
41
|
-
import { MoniteScopedProviders as
|
|
42
|
-
import { InvoiceStatusChip as
|
|
43
|
-
import { CounterpartAddressSection as
|
|
44
|
-
import { NotFound as
|
|
45
|
-
import { isBillOverdue as
|
|
46
|
-
const
|
|
47
|
-
counterpartId:
|
|
38
|
+
import { PayableStatusChip as K } from "./index144.js";
|
|
39
|
+
import { CounterpartBankSection as Zt } from "./index145.js";
|
|
40
|
+
import { useCounterpartsBankAccountsList as Jt } from "./index146.js";
|
|
41
|
+
import { MoniteScopedProviders as te } from "./index83.js";
|
|
42
|
+
import { InvoiceStatusChip as ee } from "./index55.js";
|
|
43
|
+
import { CounterpartAddressSection as ae } from "./index147.js";
|
|
44
|
+
import { NotFound as re } from "./index148.js";
|
|
45
|
+
import { isBillOverdue as ie } from "./index149.js";
|
|
46
|
+
const Ye = (n) => /* @__PURE__ */ t(te, { children: /* @__PURE__ */ t(oe, { ...n }) }), oe = ({
|
|
47
|
+
counterpartId: n,
|
|
48
48
|
customerType: u,
|
|
49
|
-
open:
|
|
50
|
-
isEditMode:
|
|
51
|
-
showActionsMenu:
|
|
52
|
-
onClose: v
|
|
49
|
+
open: L,
|
|
50
|
+
isEditMode: Q = !1,
|
|
51
|
+
showActionsMenu: X = !0,
|
|
52
|
+
onClose: v,
|
|
53
|
+
onPayVendor: I
|
|
53
54
|
}) => {
|
|
54
55
|
const {
|
|
55
56
|
i18n: e
|
|
56
|
-
} =
|
|
57
|
-
locale:
|
|
58
|
-
} =
|
|
57
|
+
} = Lt(), {
|
|
58
|
+
locale: k
|
|
59
|
+
} = It(), y = Xt(), {
|
|
59
60
|
formatCurrencyToDisplay: p
|
|
60
|
-
} =
|
|
61
|
+
} = Wt(), [B, g] = T(!1), [j, Y] = T(!1), [M, b] = T(Q), r = u === "vendor", Z = r && !!I && y.has($.PayableWriteOrg), {
|
|
61
62
|
data: o,
|
|
62
63
|
isLoading: l,
|
|
63
|
-
isFetching:
|
|
64
|
-
} =
|
|
65
|
-
data: Y,
|
|
66
|
-
isLoading: Z
|
|
67
|
-
} = Gt(d), {
|
|
64
|
+
isFetching: J
|
|
65
|
+
} = Ct(n), {
|
|
68
66
|
data: tt,
|
|
69
67
|
isLoading: et
|
|
70
|
-
} =
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} =
|
|
68
|
+
} = Ht(n), {
|
|
69
|
+
data: at,
|
|
70
|
+
isLoading: rt
|
|
71
|
+
} = Jt(n), {
|
|
72
|
+
mutate: it
|
|
73
|
+
} = qt(n), {
|
|
74
|
+
data: ot,
|
|
75
|
+
isLoading: U
|
|
76
|
+
} = A({
|
|
76
77
|
dimension: "counterpart_id",
|
|
77
78
|
metric: "total_amount",
|
|
78
79
|
aggregation_function: "summary",
|
|
79
80
|
status__in: ["new", "approve_in_progress", "waiting_to_be_paid", "partially_paid", "paid"],
|
|
80
|
-
counterpart_id__in: [
|
|
81
|
+
counterpart_id__in: [n]
|
|
81
82
|
}, r), {
|
|
82
|
-
data:
|
|
83
|
-
isLoading:
|
|
84
|
-
} =
|
|
83
|
+
data: nt,
|
|
84
|
+
isLoading: E
|
|
85
|
+
} = A({
|
|
85
86
|
dimension: "counterpart_id",
|
|
86
87
|
metric: "amount_due",
|
|
87
88
|
aggregation_function: "summary",
|
|
88
89
|
status__in: ["new", "approve_in_progress", "waiting_to_be_paid", "partially_paid"],
|
|
89
|
-
counterpart_id__in: [
|
|
90
|
+
counterpart_id__in: [n]
|
|
90
91
|
}, r), {
|
|
91
|
-
data:
|
|
92
|
-
isLoading:
|
|
93
|
-
} =
|
|
92
|
+
data: dt,
|
|
93
|
+
isLoading: st
|
|
94
|
+
} = A({
|
|
94
95
|
dimension: "counterpart_id",
|
|
95
96
|
metric: "total_amount",
|
|
96
97
|
aggregation_function: "summary",
|
|
97
98
|
status__in: ["rejected"],
|
|
98
|
-
counterpart_id__in: [
|
|
99
|
+
counterpart_id__in: [n]
|
|
99
100
|
}, r), {
|
|
100
|
-
data:
|
|
101
|
-
} =
|
|
102
|
-
counterpart_id:
|
|
101
|
+
data: lt
|
|
102
|
+
} = Kt({
|
|
103
|
+
counterpart_id: n,
|
|
103
104
|
sort: "created_at",
|
|
104
105
|
order: "desc",
|
|
105
106
|
limit: 4
|
|
106
107
|
}, r), {
|
|
107
|
-
data:
|
|
108
|
-
isLoading:
|
|
108
|
+
data: ct,
|
|
109
|
+
isLoading: O
|
|
109
110
|
} = H({
|
|
110
111
|
dimension: "counterpart_id",
|
|
111
112
|
metric: "total_amount",
|
|
112
113
|
aggregation_function: "summary",
|
|
113
114
|
type: "invoice",
|
|
114
115
|
status__in: ["issued", "overdue", "partially_paid", "paid"],
|
|
115
|
-
counterpart_id__in: [
|
|
116
|
+
counterpart_id__in: [n]
|
|
116
117
|
}, !r), {
|
|
117
|
-
data:
|
|
118
|
-
isLoading:
|
|
118
|
+
data: mt,
|
|
119
|
+
isLoading: P
|
|
119
120
|
} = H({
|
|
120
121
|
dimension: "counterpart_id",
|
|
121
122
|
metric: "amount_due",
|
|
122
123
|
aggregation_function: "summary",
|
|
123
124
|
type: "invoice",
|
|
124
125
|
status__in: ["issued", "overdue", "partially_paid"],
|
|
125
|
-
counterpart_id__in: [
|
|
126
|
+
counterpart_id__in: [n]
|
|
126
127
|
}, !r), {
|
|
127
|
-
data:
|
|
128
|
-
} =
|
|
129
|
-
counterpart_id:
|
|
128
|
+
data: ut
|
|
129
|
+
} = Yt({
|
|
130
|
+
counterpart_id: n,
|
|
130
131
|
sort: "created_at",
|
|
131
132
|
order: "desc",
|
|
132
133
|
limit: 4
|
|
133
|
-
}, !r),
|
|
134
|
-
return !l && !
|
|
134
|
+
}, !r), N = y.has($.CounterpartWriteOrg), R = y.has($.CounterpartWriteOrg), pt = Vt(() => o && "individual" in o ? [o.individual?.email ?? "-", o.individual?.phone ?? "-"] : [o?.organization?.email ?? "-", o?.organization?.phone ?? "-"], [o]), F = at?.data?.[0], V = r ? nt?.data?.[0]?.metric_value ?? 0 : mt?.data?.[0]?.metric_value ?? 0, z = r ? ot?.data?.[0]?.metric_value ?? 0 : ct?.data?.[0]?.metric_value ?? 0, wt = z - V, ht = r ? E : P, ft = r ? U : O, _t = r ? E || U : O || P, vt = r ? dt?.data?.[0]?.metric_value ?? 0 : 0, yt = r ? st : !1, _ = r ? lt?.data : ut?.data, s = tt?.data?.[0], x = s?.city || "", C = s?.state || "", S = s?.postal_code || "", w = o?.tax_id, gt = w ? j ? w : w.slice(0, 3).padEnd(w.length, "•") : "-", [bt, Nt] = pt();
|
|
135
|
+
return !l && !J && !o ? /* @__PURE__ */ t(G, { open: L, onOpenChange: v, children: /* @__PURE__ */ t(q, { showCloseButton: !0, className: "ttw:gap-0", children: /* @__PURE__ */ t("div", { className: "ttw:w-3/4 ttw:m-auto ttw:p-4", children: /* @__PURE__ */ t(re, { title: e._("{customerType} not found", {
|
|
135
136
|
customerType: u === "vendor" ? "Vendor" : "Customer"
|
|
136
137
|
}), description: e._("Something went wrong while fetching this {customerType}", {
|
|
137
138
|
customerType: u
|
|
138
139
|
}) }) }) }) }) : /* @__PURE__ */ a(h, { children: [
|
|
139
|
-
/* @__PURE__ */ t(
|
|
140
|
-
/* @__PURE__ */ a(
|
|
140
|
+
/* @__PURE__ */ t(G, { open: L, onOpenChange: v, children: /* @__PURE__ */ a(q, { showCloseButton: !1, className: "ttw:gap-0", children: [
|
|
141
|
+
/* @__PURE__ */ a(St, { className: "ttw:pt-6 ttw:pl-6 ttw:pb-7 ttw:flex-row ttw:gap-3 ttw:border-b ttw:border-border", children: [
|
|
141
142
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:w-[85%]", children: [
|
|
142
|
-
/* @__PURE__ */ t(
|
|
143
|
-
/* @__PURE__ */ t(
|
|
144
|
-
createdAt: e.date(o?.created_at,
|
|
143
|
+
/* @__PURE__ */ t(Dt, { asChild: l, className: "ttw:text-2xl", children: l ? /* @__PURE__ */ t(c, { className: "ttw:w-40" }) : D(o) }),
|
|
144
|
+
/* @__PURE__ */ t(Tt, { asChild: l, children: l ? /* @__PURE__ */ t(c, { className: "ttw:w-60" }) : e._("{customerType} · Added {createdAt}", {
|
|
145
|
+
createdAt: e.date(o?.created_at, k.dateFormat),
|
|
145
146
|
customerType: r ? "Vendor" : "Customer"
|
|
146
147
|
}) })
|
|
147
148
|
] }),
|
|
148
149
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-2", children: [
|
|
149
|
-
|
|
150
|
-
/* @__PURE__ */ t(
|
|
151
|
-
/* @__PURE__ */ t(
|
|
152
|
-
/* @__PURE__ */ t(
|
|
150
|
+
X && R && /* @__PURE__ */ a(kt, { children: [
|
|
151
|
+
/* @__PURE__ */ t(Bt, { asChild: !0, children: /* @__PURE__ */ t(f, { type: "button", variant: "outline", className: "ttw:p-2 ttw:size-9 ttw:border-none ttw:bg-muted", children: /* @__PURE__ */ t(Ut, {}) }) }),
|
|
152
|
+
/* @__PURE__ */ t(jt, { align: "end", children: /* @__PURE__ */ a(Mt, { onClick: () => g(!0), variant: "destructive", children: [
|
|
153
|
+
/* @__PURE__ */ t(Et, {}),
|
|
153
154
|
e._("Delete {customerType}", {
|
|
154
155
|
customerType: u
|
|
155
156
|
})
|
|
156
157
|
] }) })
|
|
157
158
|
] }),
|
|
158
|
-
/* @__PURE__ */ t(
|
|
159
|
+
/* @__PURE__ */ t($t, { className: "ttw:size-9 ttw:bg-muted ttw:p-2 ttw:flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:cursor-pointer", children: /* @__PURE__ */ t(Ot, { className: "ttw:size-4" }) })
|
|
159
160
|
] })
|
|
160
161
|
] }),
|
|
161
|
-
l ? /* @__PURE__ */ t("div", { className: "ttw:flex ttw:w-full ttw:h-full ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(
|
|
162
|
+
l ? /* @__PURE__ */ t("div", { className: "ttw:flex ttw:w-full ttw:h-full ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(At, {}) }) : /* @__PURE__ */ a("main", { className: "ttw:p-6 ttw:overflow-auto ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
162
163
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:pb-3", children: [
|
|
163
164
|
/* @__PURE__ */ a("div", { className: "ttw:p-5 ttw:flex ttw:flex-col ttw:gap-4 ttw:bg-muted ttw:rounded-xl", children: [
|
|
164
165
|
/* @__PURE__ */ t(i, { variant: "body2", color: "muted", children: e._("Amount due") }),
|
|
165
|
-
|
|
166
|
+
ht ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(i, { variant: "h1", className: "ttw:font-semibold", children: p(V, "USD") }),
|
|
166
167
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-8", children: [
|
|
167
168
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
168
169
|
/* @__PURE__ */ t(i, { variant: "caption", color: "muted", children: e._("Billed") }),
|
|
169
|
-
|
|
170
|
+
ft ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(i, { variant: "body1", className: "ttw:font-semibold", children: p(z, "USD") })
|
|
170
171
|
] }),
|
|
171
172
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
172
173
|
/* @__PURE__ */ t(i, { variant: "caption", color: "muted", children: r ? e._("Paid") : e._("Received") }),
|
|
173
|
-
|
|
174
|
+
_t ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(i, { variant: "body1", className: "ttw:text-green-600 ttw:font-semibold", children: p(wt, "USD") })
|
|
174
175
|
] }),
|
|
175
176
|
r && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
176
177
|
/* @__PURE__ */ t(i, { variant: "caption", color: "muted", children: e._("Rejected") }),
|
|
177
|
-
|
|
178
|
+
yt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(i, { variant: "body1", className: "ttw:font-semibold", children: p(vt, "USD") })
|
|
178
179
|
] })
|
|
179
180
|
] })
|
|
180
181
|
] }),
|
|
181
|
-
/* @__PURE__ */ t(f, { className: "ttw:px-6 ttw:py-2 ttw:w-60", disabled: !
|
|
182
|
+
/* @__PURE__ */ t(f, { className: "ttw:px-6 ttw:py-2 ttw:w-60", disabled: !Z, onClick: () => I?.(n), children: r ? e._("Send a payment") : e._("Issue an invoice") })
|
|
182
183
|
] }),
|
|
183
184
|
_ && _.length > 0 && /* @__PURE__ */ a("div", { className: "ttw:border-t ttw:border-border ttw:flex ttw:flex-col", children: [
|
|
184
185
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7", children: [
|
|
@@ -190,21 +191,21 @@ const Ke = (d) => /* @__PURE__ */ t(Yt, { children: /* @__PURE__ */ t(re, { ...d
|
|
|
190
191
|
] }),
|
|
191
192
|
/* @__PURE__ */ t(f, { variant: "ghost", className: "ttw:hidden ttw:text-primary ttw:hover:text-primary", children: e._("View all") })
|
|
192
193
|
] }),
|
|
193
|
-
/* @__PURE__ */ t("div", { className: "ttw:border ttw:border-border ttw:rounded-lg ttw:p-4 ttw:flex ttw:flex-col ttw:gap-3", children: _.map((
|
|
194
|
-
const
|
|
195
|
-
return /* @__PURE__ */ a(
|
|
194
|
+
/* @__PURE__ */ t("div", { className: "ttw:border ttw:border-border ttw:rounded-lg ttw:p-4 ttw:flex ttw:flex-col ttw:gap-3", children: _.map((d, xt) => {
|
|
195
|
+
const W = r ? ie(d?.status, d?.due_date) : void 0;
|
|
196
|
+
return /* @__PURE__ */ a(zt, { children: [
|
|
196
197
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-start ttw:justify-between", children: [
|
|
197
198
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
198
|
-
/* @__PURE__ */ t(i, { variant: "h5", className: "ttw:font-medium", children: p(
|
|
199
|
-
/* @__PURE__ */ t(i, { variant: "body2", color:
|
|
199
|
+
/* @__PURE__ */ t(i, { variant: "h5", className: "ttw:font-medium", children: p(d.total_amount ?? 0, d.currency ?? "USD") }),
|
|
200
|
+
/* @__PURE__ */ t(i, { variant: "body2", color: W ? "destructive" : "muted", children: e.date("issued_at" in d ? d.issued_at : d.created_at, k.dateFormat) })
|
|
200
201
|
] }),
|
|
201
202
|
r ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
202
|
-
|
|
203
|
-
/* @__PURE__ */ t(
|
|
204
|
-
] }) : /* @__PURE__ */ t(
|
|
203
|
+
W && /* @__PURE__ */ t(K, { status: d.status, dueDate: "due_date" in d ? d.due_date : void 0, showOverdueBadge: !0 }),
|
|
204
|
+
/* @__PURE__ */ t(K, { status: d.status, dueDate: "due_date" in d ? d.due_date : void 0 })
|
|
205
|
+
] }) : /* @__PURE__ */ t(ee, { status: d.status })
|
|
205
206
|
] }),
|
|
206
|
-
|
|
207
|
-
] },
|
|
207
|
+
xt < _.length - 1 && /* @__PURE__ */ t(Gt, {})
|
|
208
|
+
] }, d.id);
|
|
208
209
|
}) })
|
|
209
210
|
] }),
|
|
210
211
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
@@ -215,57 +216,57 @@ const Ke = (d) => /* @__PURE__ */ t(Yt, { children: /* @__PURE__ */ t(re, { ...d
|
|
|
215
216
|
}) }),
|
|
216
217
|
/* @__PURE__ */ t(i, { variant: "body2", color: "muted", children: r ? e._("Who are you paying?") : e._("Who are you billing?") })
|
|
217
218
|
] }),
|
|
218
|
-
!
|
|
219
|
+
!M && N && /* @__PURE__ */ t(f, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary", onClick: () => b(!0), children: e._("Edit") })
|
|
219
220
|
] }),
|
|
220
|
-
|
|
221
|
+
M && o ? /* @__PURE__ */ t(Qt, { customerType: u, counterpart: o, counterpartAddress: s, handleClose: () => b(!1), onUpdate: () => b(!1) }) : /* @__PURE__ */ a("ul", { className: "ttw:list-none", children: [
|
|
221
222
|
/* @__PURE__ */ t(m, { label: e._("Type"), value: o?.type === "individual" ? "Person" : "Business" }),
|
|
222
|
-
/* @__PURE__ */ t(m, { label: e._("Name"), value:
|
|
223
|
-
/* @__PURE__ */ t(m, { label: e._("Email"), value:
|
|
223
|
+
/* @__PURE__ */ t(m, { label: e._("Name"), value: D(o) }),
|
|
224
|
+
/* @__PURE__ */ t(m, { label: e._("Email"), value: bt }),
|
|
224
225
|
!r && /* @__PURE__ */ t(m, { label: e._("Payment reminders"), value: o?.reminders_enabled ? "Enabled" : "Disabled" }),
|
|
225
|
-
/* @__PURE__ */ t(m, { label: e._("Phone"), value:
|
|
226
|
+
/* @__PURE__ */ t(m, { label: e._("Phone"), value: Nt }),
|
|
226
227
|
/* @__PURE__ */ t(m, { label: e._("Tax ID / {documentType}", {
|
|
227
228
|
documentType: o?.type === "individual" ? "SSN" : "EIN"
|
|
228
229
|
}), value: /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
229
230
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
230
|
-
/* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children:
|
|
231
|
-
w && /* @__PURE__ */ t(f, { onClick: () =>
|
|
232
|
-
/* @__PURE__ */ t(
|
|
231
|
+
/* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: gt }),
|
|
232
|
+
w && /* @__PURE__ */ t(f, { onClick: () => Y((d) => !d), type: "button", size: "sm", variant: "outline", className: "ttw:border-border ttw:h-5 ttw:p-2", children: j ? /* @__PURE__ */ a(h, { children: [
|
|
233
|
+
/* @__PURE__ */ t(Pt, {}),
|
|
233
234
|
e._("Hide")
|
|
234
235
|
] }) : /* @__PURE__ */ a(h, { children: [
|
|
235
|
-
/* @__PURE__ */ t(
|
|
236
|
+
/* @__PURE__ */ t(Rt, {}),
|
|
236
237
|
e._("Show")
|
|
237
238
|
] }) })
|
|
238
239
|
] }),
|
|
239
240
|
/* @__PURE__ */ t(i, { variant: "body2", color: "muted", children: r ? e._("Required only if you'll file a 1099 IRS form for this vendor at year-end.") : e._("Required only if you'll issue a 1099 IRS form at year-end.") })
|
|
240
241
|
] }) }),
|
|
241
|
-
r && /* @__PURE__ */ t(m, { label: e._("Address"), isLast: !0, value: /* @__PURE__ */ t("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children:
|
|
242
|
+
r && /* @__PURE__ */ t(m, { label: e._("Address"), isLast: !0, value: /* @__PURE__ */ t("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: et ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(h, { children: s ? /* @__PURE__ */ a(h, { children: [
|
|
242
243
|
/* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: s?.line1 }),
|
|
243
244
|
s?.line2 && /* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: s.line2 }),
|
|
244
|
-
/* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: `${
|
|
245
|
+
/* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: `${x && x}${x && (C || S) && ","} ${C && C} ${S && S}` }),
|
|
245
246
|
/* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: s?.country })
|
|
246
247
|
] }) : /* @__PURE__ */ t(i, { variant: "body2", className: "ttw:font-medium", children: "-" }) }) }) })
|
|
247
248
|
] })
|
|
248
249
|
] }),
|
|
249
|
-
!r && /* @__PURE__ */ t(
|
|
250
|
+
!r && /* @__PURE__ */ t(ae, { isStandalone: !0, isLoading: l, counterpartAddress: s, customerType: u, counterpartId: o?.id, isUpdateAllowed: N }),
|
|
250
251
|
r && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:border-t ttw:border-border", children: [
|
|
251
252
|
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-6 ttw:pb-7", children: [
|
|
252
253
|
/* @__PURE__ */ t(i, { variant: "body1", className: "ttw:font-medium", children: e._("Accepted payment methods") }),
|
|
253
254
|
/* @__PURE__ */ t(i, { variant: "body2", color: "muted", children: e._("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.") })
|
|
254
255
|
] }),
|
|
255
|
-
/* @__PURE__ */ t(
|
|
256
|
+
/* @__PURE__ */ t(Zt, { counterpartId: o?.id, bankAccount: F, isUpdateAllowed: N, isDeleteAllowed: R, isStandalone: !0, isLoading: rt, onRemoveClick: () => it({
|
|
256
257
|
path: {
|
|
257
|
-
bank_account_id:
|
|
258
|
-
counterpart_id:
|
|
258
|
+
bank_account_id: F?.id || "",
|
|
259
|
+
counterpart_id: n
|
|
259
260
|
}
|
|
260
261
|
}) })
|
|
261
262
|
] })
|
|
262
263
|
] })
|
|
263
264
|
] }) }),
|
|
264
|
-
|
|
265
|
-
v?.(),
|
|
266
|
-
}, onCancel: () =>
|
|
265
|
+
n && B && /* @__PURE__ */ t(Ft, { counterpartId: n, counterpartName: D(o), isOpen: B, onDelete: () => {
|
|
266
|
+
v?.(), g(!1);
|
|
267
|
+
}, onCancel: () => g(!1) })
|
|
267
268
|
] });
|
|
268
269
|
};
|
|
269
270
|
export {
|
|
270
|
-
|
|
271
|
+
Ye as CounterpartDetails
|
|
271
272
|
};
|
|
@@ -1,24 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { Sheet as a, SheetContent as i, SheetHeader as d, SheetTitle as h, SheetDescription as l, SheetFooter as m } from "./index130.js";
|
|
4
|
-
import { useLingui as c } from "@lingui/react";
|
|
5
|
-
import { ManageMeasureUnitsForm as p } from "./index358.js";
|
|
6
|
-
const x = ({
|
|
7
|
-
handleClose: r,
|
|
8
|
-
open: o
|
|
9
|
-
}) => {
|
|
10
|
-
const {
|
|
11
|
-
i18n: t
|
|
12
|
-
} = c();
|
|
13
|
-
return /* @__PURE__ */ e(a, { open: o, onOpenChange: r, children: /* @__PURE__ */ n(i, { side: "right", className: "ttw:gap-0 ttw:p-0", children: [
|
|
14
|
-
/* @__PURE__ */ n(d, { className: "ttw:border-b ttw:border-border", children: [
|
|
15
|
-
/* @__PURE__ */ e(h, { children: t._("Manage measure units") }),
|
|
16
|
-
/* @__PURE__ */ e(l, { hidden: !0, children: t._("Manage measure units") })
|
|
17
|
-
] }),
|
|
18
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex-1 ttw:overflow-y-auto ttw:px-6 ttw:py-4", children: /* @__PURE__ */ e(p, {}) }),
|
|
19
|
-
/* @__PURE__ */ e(m, { className: "ttw:border-t ttw:border-border ttw:flex-row ttw:justify-end", children: /* @__PURE__ */ e(s, { onClick: r, children: t._("Done") }) })
|
|
20
|
-
] }) });
|
|
21
|
-
};
|
|
1
|
+
import { toMinorUnits as r, fromMinorUnits as a } from "./index117.js";
|
|
2
|
+
const s = (o) => a(o), t = (o) => r(o);
|
|
22
3
|
export {
|
|
23
|
-
|
|
4
|
+
t as rateMajorToMinor,
|
|
5
|
+
s as rateMinorToMajor
|
|
24
6
|
};
|
|
@@ -1,24 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const m = (
|
|
5
|
-
const {
|
|
6
|
-
api: e,
|
|
7
|
-
queryClient: n
|
|
8
|
-
} = i(), {
|
|
9
|
-
i18n: t
|
|
10
|
-
} = a();
|
|
11
|
-
return e.finops.postProducts.useMutation(void 0, {
|
|
12
|
-
onSuccess: async (o) => {
|
|
13
|
-
r?.(o), await e.finops.getProducts.invalidateQueries(n), s.success(t._("{name} has been added to the list.", {
|
|
14
|
-
name: o.name
|
|
15
|
-
}));
|
|
16
|
-
},
|
|
17
|
-
onError: () => {
|
|
18
|
-
s.error(t._("Failed to create"));
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
};
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { CenteredContentBox as r } from "./index218.js";
|
|
3
|
+
import { LoadingSpinner as n } from "./index131.js";
|
|
4
|
+
const m = () => /* @__PURE__ */ o(r, { children: /* @__PURE__ */ o(n, {}) });
|
|
22
5
|
export {
|
|
23
|
-
m as
|
|
6
|
+
m as LoadingPage
|
|
24
7
|
};
|
|
@@ -1,29 +1,90 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
1
|
+
import { jsx as e, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as s } from "./index100.js";
|
|
3
|
+
import * as o from "@radix-ui/react-dialog";
|
|
4
|
+
import { XIcon as c } from "lucide-react";
|
|
5
|
+
function x({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(o.Root, { "data-slot": "dialog", ...t });
|
|
9
|
+
}
|
|
10
|
+
function u({
|
|
11
|
+
...t
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ e(o.Portal, { "data-slot": "dialog-portal", ...t });
|
|
14
|
+
}
|
|
15
|
+
function v({
|
|
16
|
+
...t
|
|
17
|
+
}) {
|
|
18
|
+
return /* @__PURE__ */ e(o.Close, { "data-slot": "dialog-close", ...t });
|
|
19
|
+
}
|
|
20
|
+
function g({
|
|
21
|
+
className: t,
|
|
22
|
+
...a
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ e(o.Overlay, { "data-slot": "dialog-overlay", className: s("ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", t), ...a });
|
|
25
|
+
}
|
|
26
|
+
function N({
|
|
27
|
+
className: t,
|
|
28
|
+
children: a,
|
|
29
|
+
showCloseButton: r = !0,
|
|
30
|
+
fullScreen: i = !1,
|
|
31
|
+
container: l = typeof document < "u" ? document.body : null,
|
|
32
|
+
...d
|
|
33
|
+
}) {
|
|
34
|
+
return /* @__PURE__ */ n(u, { container: l, "data-slot": "dialog-portal", children: [
|
|
35
|
+
/* @__PURE__ */ e(g, {}),
|
|
36
|
+
/* @__PURE__ */ n(
|
|
37
|
+
o.Content,
|
|
38
|
+
{
|
|
39
|
+
"data-slot": "dialog-content",
|
|
40
|
+
className: s("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:fixed ttw:top-[50%] ttw:left-[50%] ttw:z-1300 ttw:grid ttw:w-full ttw:max-w-[calc(100%-2rem)] ttw:translate-x-[-50%] ttw:translate-y-[-50%] ttw:gap-4 ttw:rounded-lg ttw:border ttw:p-6 ttw:shadow-lg ttw:duration-200 ttw:sm:max-w-lg", i && "ttw:border-none ttw:rounded-none ttw:h-screen ttw:max-w-screen ttw:sm:max-w-screen", t),
|
|
41
|
+
...d,
|
|
42
|
+
onCloseAutoFocus: (w) => {
|
|
43
|
+
w.preventDefault(), (l ?? document.body).style.pointerEvents = "";
|
|
44
|
+
},
|
|
45
|
+
children: [
|
|
46
|
+
a,
|
|
47
|
+
r && /* @__PURE__ */ n(o.Close, { "data-slot": "dialog-close", className: "ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-accent ttw:data-[state=open]:text-muted-foreground ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:disabled:pointer-events-none ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", children: [
|
|
48
|
+
/* @__PURE__ */ e(c, {}),
|
|
49
|
+
/* @__PURE__ */ e("span", { className: "ttw:sr-only", children: "Close" })
|
|
50
|
+
] })
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
] });
|
|
55
|
+
}
|
|
56
|
+
function b({
|
|
57
|
+
className: t,
|
|
58
|
+
...a
|
|
59
|
+
}) {
|
|
60
|
+
return /* @__PURE__ */ e("div", { "data-slot": "dialog-header", className: s("ttw:flex ttw:flex-col ttw:gap-2 ttw:text-center ttw:sm:text-left", t), ...a });
|
|
61
|
+
}
|
|
62
|
+
function h({
|
|
63
|
+
className: t,
|
|
64
|
+
...a
|
|
65
|
+
}) {
|
|
66
|
+
return /* @__PURE__ */ e("div", { "data-slot": "dialog-footer", className: s("ttw:flex ttw:flex-col-reverse ttw:gap-2 ttw:sm:flex-row ttw:sm:justify-end", t), ...a });
|
|
67
|
+
}
|
|
68
|
+
function y({
|
|
69
|
+
className: t,
|
|
70
|
+
...a
|
|
71
|
+
}) {
|
|
72
|
+
return /* @__PURE__ */ e(o.Title, { "data-slot": "dialog-title", className: s("ttw:text-lg ttw:leading-none ttw:font-semibold", t), ...a });
|
|
73
|
+
}
|
|
74
|
+
function D({
|
|
75
|
+
className: t,
|
|
76
|
+
...a
|
|
77
|
+
}) {
|
|
78
|
+
return /* @__PURE__ */ e(o.Description, { "data-slot": "dialog-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...a });
|
|
79
|
+
}
|
|
26
80
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
81
|
+
x as Dialog,
|
|
82
|
+
v as DialogClose,
|
|
83
|
+
N as DialogContent,
|
|
84
|
+
D as DialogDescription,
|
|
85
|
+
h as DialogFooter,
|
|
86
|
+
b as DialogHeader,
|
|
87
|
+
g as DialogOverlay,
|
|
88
|
+
u as DialogPortal,
|
|
89
|
+
y as DialogTitle
|
|
29
90
|
};
|