@tesouro/embedded-components-react 0.2.24 → 0.2.25
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/lib/ReceivablesWidget.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.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/index119.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +25 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1271 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +8 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +97 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +8 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +57 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +76 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +33 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +31 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +24 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +13 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +121 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +10 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +46 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +43 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +42 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +11 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +152 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +69 -248
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +24 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +3 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +57 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +36 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +76 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +5 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +59 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +397 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +69 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +2 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +406 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +27 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +17 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +18 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +2 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +11 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +22 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +19 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +27 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +113 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +68 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +58 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +197 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +21 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +75 -365
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +28 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +41 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +247 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +180 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +10 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +117 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +84 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +109 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +110 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +55 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +58 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +48 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +35 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +113 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +67 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +185 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +30 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +124 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +54 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +20 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +28 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +45 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +366 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +22 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +17 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +12 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +93 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +101 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +26 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +5 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +214 -7
- 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 +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +146 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +85 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +23 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +183 -54
- 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 +24 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +342 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +300 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +98 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +157 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +264 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +22 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +22 -17
- 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 +56 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +27 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +55 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +17 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +21 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +38 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +14 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +76 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +41 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +59 -20
- 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 +31 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +113 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +21 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +41 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +54 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +491 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +162 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +95 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +97 -2
- 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 +186 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +34 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +48 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +54 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +344 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +2 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +19 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +12 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +21 -73
- 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 +30 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +34 -342
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +28 -294
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +15 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +17 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +11 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +24 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +47 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +30 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- 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 +96 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +45 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +73 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +44 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +10 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +32 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +27 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +42 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +59 -57
- 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 +95 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +107 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +81 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +73 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +43 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +5 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +63 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +63 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +22 -27
- 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 +25 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +127 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +46 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +40 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +31 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +6 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +102 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +21 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +34 -21
- 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 +54 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +39 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +17 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +59 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +88 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +122 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +15 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +38 -289
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +40 -46
- 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 +149 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +19 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +61 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +44 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +185 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +106 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +82 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +288 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +46 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +15 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +86 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +215 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +50 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +50 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +107 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +33 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +158 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +27 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +76 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +43 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +75 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +32 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +19 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +20 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +163 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +131 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +158 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +18 -490
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +59 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +65 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +58 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +4 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +9 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +59 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +21 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +60 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +31 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +125 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +11 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +255 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +92 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +38 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +35 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +122 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +70 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +11 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +7 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +49 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +53 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +34 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +26 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +30 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +65 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +13 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +19 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +14 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +14 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +19 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +30 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +11 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +69 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +25 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +74 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +90 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +10 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +24 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +11 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +102 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +111 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +55 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +15 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +31 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +85 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +22 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +70 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +68 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +36 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +28 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +23 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +49 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +4 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +33 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +19 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +50 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +59 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +28 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +95 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +16 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +75 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +9 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +56 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +72 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +21 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +43 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +35 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +13 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +54 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +67 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +56 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +38 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +82 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +52 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +45 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +70 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +82 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +52 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +49 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +49 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +39 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +18 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +12 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/package.json +1 -1
|
@@ -1,42 +1,100 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import { jsxs as o, Fragment as _, jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { ManualPaymentRecordDetails as k } from "./index431.js";
|
|
3
|
+
import { PaymentRecordForm as E } from "./index432.js";
|
|
4
|
+
import { useMoniteContext as $ } from "./index59.js";
|
|
5
|
+
import { useRootElements as B } from "./index94.js";
|
|
6
|
+
import "@tanstack/react-query";
|
|
7
|
+
import { fromMinorUnits as F, toMinorUnits as H } from "./index121.js";
|
|
8
|
+
import "date-fns";
|
|
9
|
+
import { useEntityUserByAuthToken as L } from "./index77.js";
|
|
10
|
+
import { useCreatePaymentRecord as U } from "./index81.js";
|
|
11
|
+
import { useLingui as A } from "@lingui/react";
|
|
12
|
+
import { Dialog as I, DialogContent as Q, DialogActions as W, Button as m, Box as q } from "@mui/material";
|
|
13
|
+
import { useState as l } from "react";
|
|
14
|
+
const g = {
|
|
15
|
+
amount: 0,
|
|
16
|
+
payment_date: /* @__PURE__ */ new Date(),
|
|
17
|
+
payment_time: /* @__PURE__ */ new Date(),
|
|
18
|
+
created_by: ""
|
|
19
|
+
}, ie = ({
|
|
20
|
+
children: b,
|
|
21
|
+
invoice: t
|
|
22
|
+
}) => {
|
|
23
|
+
const [h, c] = l(!1), [C, r] = l(!1), [e, u] = l(g), {
|
|
24
|
+
i18n: s
|
|
25
|
+
} = A(), {
|
|
26
|
+
root: x
|
|
27
|
+
} = B(), v = () => c(!0), n = () => c(!1), {
|
|
28
|
+
api: p,
|
|
29
|
+
queryClient: y
|
|
30
|
+
} = $(), {
|
|
31
|
+
mutate: D,
|
|
32
|
+
isPending: M
|
|
33
|
+
} = U(), {
|
|
34
|
+
data: f,
|
|
35
|
+
isLoading: R
|
|
36
|
+
} = L(), w = (a) => {
|
|
37
|
+
u({
|
|
38
|
+
...a,
|
|
39
|
+
amount: H(a?.amount ?? 0),
|
|
40
|
+
created_by: f?.id ?? ""
|
|
41
|
+
}), r(!0);
|
|
42
|
+
}, P = () => {
|
|
43
|
+
r(!1), u(g);
|
|
44
|
+
}, S = () => {
|
|
45
|
+
const a = new Date(e.payment_date).setHours(e.payment_time.getHours(), e.payment_time.getMinutes()), j = new Date(a);
|
|
46
|
+
D({
|
|
47
|
+
amount: e?.amount ?? 0,
|
|
48
|
+
currency: t.currency,
|
|
49
|
+
paid_at: j.toISOString(),
|
|
50
|
+
object: {
|
|
51
|
+
id: t.id,
|
|
52
|
+
type: "receivable"
|
|
53
|
+
},
|
|
54
|
+
payment_intent_id: t.id,
|
|
55
|
+
entity_user_id: f?.id,
|
|
56
|
+
status: "succeeded"
|
|
57
|
+
}, {
|
|
58
|
+
onSuccess: () => {
|
|
59
|
+
p.finops.getReceivablesId.invalidateQueries({
|
|
60
|
+
parameters: {
|
|
61
|
+
path: {
|
|
62
|
+
receivable_id: t.id
|
|
63
|
+
}
|
|
26
64
|
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
65
|
+
}, y), p.finops.getReceivables.invalidateQueries(y), n(), P();
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}, d = M || R;
|
|
69
|
+
return ["draft", "paid", "canceled", "deleted", "accepted", "recurring", "expired", "declined", "uncollectible"].includes(t.status) ? null : /* @__PURE__ */ o(_, { children: [
|
|
70
|
+
b({
|
|
71
|
+
openModal: v
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ i(I, { open: h, onClose: n, container: x, "aria-labelledby": "dialog-title", fullWidth: !0, maxWidth: "sm", children: C ? /* @__PURE__ */ o(_, { children: [
|
|
74
|
+
/* @__PURE__ */ i(Q, { sx: {
|
|
75
|
+
p: 4
|
|
76
|
+
}, children: /* @__PURE__ */ i(k, { invoice: t, paymentRecords: e }) }),
|
|
77
|
+
/* @__PURE__ */ o(W, { sx: {
|
|
78
|
+
px: 4,
|
|
79
|
+
pb: 4,
|
|
80
|
+
justifyContent: "space-between"
|
|
81
|
+
}, children: [
|
|
82
|
+
/* @__PURE__ */ i(m, { onClick: n, children: s._("Cancel") }),
|
|
83
|
+
/* @__PURE__ */ o(q, { sx: {
|
|
84
|
+
display: "flex",
|
|
85
|
+
gap: 2
|
|
86
|
+
}, children: [
|
|
87
|
+
/* @__PURE__ */ i(m, { variant: "outlined", disabled: d, onClick: () => r(!1), children: s._("Edit record") }),
|
|
88
|
+
/* @__PURE__ */ i(m, { variant: "contained", disabled: d, onClick: S, children: s._("Confirm") })
|
|
89
|
+
] })
|
|
90
|
+
] })
|
|
91
|
+
] }) : /* @__PURE__ */ i(E, { invoice: t, initialValues: {
|
|
92
|
+
amount: e.amount ? F(e.amount) : 0,
|
|
93
|
+
payment_date: e.payment_date,
|
|
94
|
+
payment_time: e.payment_time
|
|
95
|
+
}, isLoading: d, onCancel: n, onSubmit: w }) })
|
|
96
|
+
] });
|
|
39
97
|
};
|
|
40
98
|
export {
|
|
41
|
-
|
|
99
|
+
ie as RecordManualPaymentModal
|
|
42
100
|
};
|
|
@@ -1,36 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { jsxs as f, jsx as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useCancelRecurrence as v } from "./index419.js";
|
|
3
|
+
import { useGetRecurrenceById as _ } from "./index194.js";
|
|
4
|
+
import { useCurrencies as C } from "./index60.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./index94.js";
|
|
7
|
+
import { useLingui as g, Trans as h } from "@lingui/react";
|
|
8
|
+
import "react-dom";
|
|
9
|
+
import "./index59.js";
|
|
10
|
+
import "@mui/x-data-grid";
|
|
11
|
+
import { ConfirmationModal as b } from "./index306.js";
|
|
12
|
+
import w from "deep-eql";
|
|
13
|
+
import { usePreviousDistinct as y } from "react-use";
|
|
14
|
+
const $ = ({
|
|
15
|
+
invoice: i,
|
|
16
|
+
open: a,
|
|
17
|
+
onClose: r
|
|
18
|
+
}) => {
|
|
6
19
|
const {
|
|
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
|
-
});
|
|
20
|
+
i18n: e
|
|
21
|
+
} = g(), {
|
|
22
|
+
formatCurrencyToDisplay: l
|
|
23
|
+
} = C(), c = i?.recurrence_id ?? "", {
|
|
24
|
+
mutate: m,
|
|
25
|
+
isPending: u
|
|
26
|
+
} = v(c, i.id), {
|
|
27
|
+
data: t
|
|
28
|
+
} = _(c), s = y(t, w), o = (s?.status === "active" && t?.status === "canceled" ? s : t)?.iterations?.filter(({
|
|
29
|
+
status: p
|
|
30
|
+
}) => p === "pending")?.length ?? 0, d = i && o !== void 0 ? l(i.total_amount_with_credit_notes * o, i.currency) : void 0;
|
|
31
|
+
return /* @__PURE__ */ f(b, { open: a && !!i.id, title: e._("Cancel Recurring Invoice"), confirmLabel: e._("Cancel recurrence"), cancelLabel: e._("Close"), onClose: r, onConfirm: () => m(void 0, {
|
|
32
|
+
onSuccess: r
|
|
33
|
+
}), isLoading: u, children: [
|
|
34
|
+
/* @__PURE__ */ n("span", { className: "ttw:inline-block", children: e._("Are you sure you want to cancel this recurring invoice?") }),
|
|
35
|
+
/* @__PURE__ */ n("span", { className: "ttw:inline-block", children: e._("All future iterations of this invoice will be canceled.") }),
|
|
36
|
+
i && o !== void 0 && /* @__PURE__ */ n("span", { className: "ttw:inline-block", children: /* @__PURE__ */ n(h, { id: "ZYrFPL", values: {
|
|
37
|
+
0: o === 1 ? e._("invoice") : e._("invoices"),
|
|
38
|
+
totalPendingInvoices: o,
|
|
39
|
+
pendingInvoicesTotalAmountWithCreditNotes: d
|
|
40
|
+
}, components: {
|
|
41
|
+
0: /* @__PURE__ */ n("strong", {}),
|
|
42
|
+
1: /* @__PURE__ */ n("strong", {})
|
|
43
|
+
} }) }),
|
|
44
|
+
/* @__PURE__ */ n("span", { className: "ttw:inline-block", children: e._("This action can't be undone.") })
|
|
45
|
+
] });
|
|
33
46
|
};
|
|
34
47
|
export {
|
|
35
|
-
|
|
48
|
+
$ as RecurrenceCancelModal
|
|
36
49
|
};
|
|
@@ -1,10 +1,75 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
import { jsx as t, jsxs as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as n } from "./index102.js";
|
|
3
|
+
import * as a from "@radix-ui/react-select";
|
|
4
|
+
import { ChevronDownIcon as i, CheckIcon as w, ChevronUpIcon as d } from "lucide-react";
|
|
5
|
+
function g({
|
|
6
|
+
...e
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ t(a.Root, { "data-slot": "select", ...e });
|
|
9
|
+
}
|
|
10
|
+
function h({
|
|
11
|
+
...e
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ t(a.Value, { "data-slot": "select-value", ...e });
|
|
14
|
+
}
|
|
15
|
+
function v({
|
|
16
|
+
className: e,
|
|
17
|
+
size: s = "default",
|
|
18
|
+
children: o,
|
|
19
|
+
...r
|
|
20
|
+
}) {
|
|
21
|
+
return /* @__PURE__ */ l(a.Trigger, { "data-slot": "select-trigger", "data-size": s, className: n("ttw:border-input ttw:data-[placeholder]:text-muted-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:dark:hover:bg-input/50 ttw:flex ttw:w-fit ttw:items-center ttw:justify-between ttw:gap-2 ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-sm ttw:whitespace-nowrap ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-9 ttw:data-[size=sm]:h-8 ttw:*:data-[slot=select-value]:line-clamp-1 ttw:*:data-[slot=select-value]:flex ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1 ttw:*:data-[slot=select-value]:items-center ttw:*:data-[slot=select-value]:gap-2 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e), ...r, children: [
|
|
22
|
+
o,
|
|
23
|
+
/* @__PURE__ */ t(a.Icon, { asChild: !0, children: /* @__PURE__ */ t(i, { className: "ttw:size-4 ttw:opacity-50" }) })
|
|
24
|
+
] });
|
|
25
|
+
}
|
|
26
|
+
function x({
|
|
27
|
+
className: e,
|
|
28
|
+
children: s,
|
|
29
|
+
position: o = "popper",
|
|
30
|
+
...r
|
|
31
|
+
}) {
|
|
32
|
+
return /* @__PURE__ */ t(a.Portal, { children: /* @__PURE__ */ l(a.Content, { "data-slot": "select-content", className: n("ttw:bg-popover ttw:text-popover-foreground 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:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:relative ttw:z-1300 ttw:max-h-(--radix-select-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-select-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:shadow-md", o === "popper" && "ttw:data-[side=bottom]:translate-y-1 ttw:data-[side=left]:-translate-x-1 ttw:data-[side=right]:translate-x-1 ttw:data-[side=top]:-translate-y-1", e), position: o, ...r, children: [
|
|
33
|
+
/* @__PURE__ */ t(c, {}),
|
|
34
|
+
/* @__PURE__ */ t(a.Viewport, { className: n("ttw:p-1", o === "popper" && "ttw:h-[var(--radix-select-trigger-height)] ttw:w-full ttw:min-w-[var(--radix-select-trigger-width)] ttw:scroll-my-1"), children: s }),
|
|
35
|
+
/* @__PURE__ */ t(u, {})
|
|
36
|
+
] }) });
|
|
37
|
+
}
|
|
38
|
+
function b({
|
|
39
|
+
className: e,
|
|
40
|
+
children: s,
|
|
41
|
+
...o
|
|
42
|
+
}) {
|
|
43
|
+
return /* @__PURE__ */ l(a.Item, { "data-slot": "select-item", className: n("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:w-full ttw:cursor-default ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:py-1.5 ttw:pr-8 ttw:pl-2 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4 ttw:*:[span]:last:flex ttw:*:[span]:last:min-w-0 ttw:*:[span]:last:flex-1 ttw:*:[span]:last:items-center ttw:*:[span]:last:gap-2", e), ...o, children: [
|
|
44
|
+
/* @__PURE__ */ t("span", { className: "ttw:absolute ttw:right-2 ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(a.ItemIndicator, { children: /* @__PURE__ */ t(w, { className: "ttw:size-4" }) }) }),
|
|
45
|
+
/* @__PURE__ */ t(a.ItemText, { children: s })
|
|
46
|
+
] });
|
|
47
|
+
}
|
|
48
|
+
function N({
|
|
49
|
+
className: e,
|
|
50
|
+
...s
|
|
51
|
+
}) {
|
|
52
|
+
return /* @__PURE__ */ t(a.Separator, { "data-slot": "select-separator", className: n("ttw:bg-border ttw:pointer-events-none ttw:-mx-1 ttw:my-1 ttw:h-px", e), ...s });
|
|
53
|
+
}
|
|
54
|
+
function c({
|
|
55
|
+
className: e,
|
|
56
|
+
...s
|
|
57
|
+
}) {
|
|
58
|
+
return /* @__PURE__ */ t(a.ScrollUpButton, { "data-slot": "select-scroll-up-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(d, { className: "ttw:size-4" }) });
|
|
59
|
+
}
|
|
60
|
+
function u({
|
|
61
|
+
className: e,
|
|
62
|
+
...s
|
|
63
|
+
}) {
|
|
64
|
+
return /* @__PURE__ */ t(a.ScrollDownButton, { "data-slot": "select-scroll-down-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(i, { className: "ttw:size-4" }) });
|
|
65
|
+
}
|
|
8
66
|
export {
|
|
9
|
-
|
|
67
|
+
g as Select,
|
|
68
|
+
x as SelectContent,
|
|
69
|
+
b as SelectItem,
|
|
70
|
+
u as SelectScrollDownButton,
|
|
71
|
+
c as SelectScrollUpButton,
|
|
72
|
+
N as SelectSeparator,
|
|
73
|
+
v as SelectTrigger,
|
|
74
|
+
h as SelectValue
|
|
10
75
|
};
|
|
@@ -1,106 +1,46 @@
|
|
|
1
|
-
import { jsx as e
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return /* @__PURE__ */ e(
|
|
38
|
-
|
|
39
|
-
fieldState: {
|
|
40
|
-
error: s
|
|
41
|
-
}
|
|
42
|
-
}) => /* @__PURE__ */ d(T, { variant: "standard", required: !0, fullWidth: !0, error: !!s, children: [
|
|
43
|
-
/* @__PURE__ */ e(B, { MenuProps: {
|
|
44
|
-
container: x
|
|
45
|
-
}, className: "Monite-NakedField Monite-RecipientSelector", "data-testid": `${p.name}-select`, ...p, children: j(r, g).map((l) => /* @__PURE__ */ e(L, { value: l.email, children: /* @__PURE__ */ e(v, { email: l.email ?? "", isDefault: l.is_default }) }, l.id)) }),
|
|
46
|
-
s && /* @__PURE__ */ e(W, { children: s.message })
|
|
47
|
-
] }) });
|
|
48
|
-
}, O = ({
|
|
49
|
-
invoiceId: n,
|
|
50
|
-
control: t,
|
|
51
|
-
isDisabled: i
|
|
52
|
-
}) => {
|
|
53
|
-
const {
|
|
54
|
-
i18n: a
|
|
55
|
-
} = I();
|
|
56
|
-
return /* @__PURE__ */ d(C, { children: [
|
|
57
|
-
/* @__PURE__ */ e(u, { sx: {
|
|
58
|
-
mb: 3
|
|
59
|
-
}, children: /* @__PURE__ */ e(m, { sx: {
|
|
60
|
-
px: 3,
|
|
61
|
-
pt: 1,
|
|
62
|
-
pb: 1,
|
|
63
|
-
"&:last-child": {
|
|
64
|
-
pb: 1
|
|
65
|
-
}
|
|
66
|
-
// last-child is necessary to override default style of the MUI theme
|
|
67
|
-
}, children: /* @__PURE__ */ d(f, { spacing: 2, direction: "row", alignItems: "center", children: [
|
|
68
|
-
/* @__PURE__ */ e(h, { variant: "body2", sx: {
|
|
69
|
-
minWidth: "52px"
|
|
70
|
-
}, children: a._("To") }),
|
|
71
|
-
/* @__PURE__ */ e(k, { invoiceId: n, control: t })
|
|
72
|
-
] }) }) }),
|
|
73
|
-
/* @__PURE__ */ d(u, { children: [
|
|
74
|
-
/* @__PURE__ */ e(m, { sx: {
|
|
75
|
-
px: 3,
|
|
76
|
-
py: 1,
|
|
77
|
-
borderBottomWidth: "1px",
|
|
78
|
-
borderBottomStyle: "solid",
|
|
79
|
-
borderBottomColor: "divider"
|
|
80
|
-
}, children: /* @__PURE__ */ d(f, { spacing: 2, direction: "row", alignItems: "center", children: [
|
|
81
|
-
/* @__PURE__ */ e(h, { variant: "body2", children: a._("Subject") }),
|
|
82
|
-
/* @__PURE__ */ e(c, { name: "subject", control: t, render: ({
|
|
83
|
-
field: r,
|
|
84
|
-
fieldState: {
|
|
85
|
-
error: o
|
|
86
|
-
}
|
|
87
|
-
}) => /* @__PURE__ */ e(b, { id: r.name, "data-testid": `${r.name}-input`, variant: "standard", className: "Monite-NakedField", fullWidth: !0, error: !!o, helperText: o?.message, required: !0, ...r, disabled: i }) })
|
|
88
|
-
] }) }),
|
|
89
|
-
/* @__PURE__ */ e(m, { sx: {
|
|
90
|
-
pl: 3,
|
|
91
|
-
pr: 3,
|
|
92
|
-
pb: 3,
|
|
93
|
-
pt: 1
|
|
94
|
-
}, children: /* @__PURE__ */ e(c, { name: "body", control: t, render: ({
|
|
95
|
-
field: r,
|
|
96
|
-
fieldState: {
|
|
97
|
-
error: o
|
|
98
|
-
}
|
|
99
|
-
}) => /* @__PURE__ */ e(b, { id: r.name, "data-testid": `${r.name}-input`, variant: "standard", className: "Monite-NakedField", fullWidth: !0, error: !!o, helperText: o?.message, required: !0, multiline: !0, rows: 8, ...r, disabled: i }) }) })
|
|
100
|
-
] })
|
|
101
|
-
] });
|
|
102
|
-
};
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as l } from "./index102.js";
|
|
3
|
+
function r({
|
|
4
|
+
className: t,
|
|
5
|
+
...a
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ e("div", { "data-slot": "table-container", className: "ttw:flex-1 ttw:relative ttw:w-0 ttw:min-w-full ttw:overflow-x-auto", children: /* @__PURE__ */ e("table", { "data-slot": "table", className: l("ttw:w-full ttw:caption-bottom ttw:text-sm", t), ...a }) });
|
|
8
|
+
}
|
|
9
|
+
function w({
|
|
10
|
+
className: t,
|
|
11
|
+
...a
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ e("thead", { "data-slot": "table-header", className: l("ttw:[&_tr]:border-b", t), ...a });
|
|
14
|
+
}
|
|
15
|
+
function c({
|
|
16
|
+
className: t,
|
|
17
|
+
...a
|
|
18
|
+
}) {
|
|
19
|
+
return /* @__PURE__ */ e("tbody", { "data-slot": "table-body", className: l("ttw:[&_tr:last-child]:border-0", t), ...a });
|
|
20
|
+
}
|
|
21
|
+
function n({
|
|
22
|
+
className: t,
|
|
23
|
+
...a
|
|
24
|
+
}) {
|
|
25
|
+
return /* @__PURE__ */ e("tr", { "data-slot": "table-row", className: l("ttw:border-b ttw:transition-colors ttw:hover:bg-muted/50 ttw:data-[state=selected]:bg-muted", t), ...a });
|
|
26
|
+
}
|
|
27
|
+
function d({
|
|
28
|
+
className: t,
|
|
29
|
+
...a
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ e("th", { "data-slot": "table-head", className: l("ttw:h-10 ttw:px-2 ttw:text-left ttw:align-middle ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", t), ...a });
|
|
32
|
+
}
|
|
33
|
+
function b({
|
|
34
|
+
className: t,
|
|
35
|
+
...a
|
|
36
|
+
}) {
|
|
37
|
+
return /* @__PURE__ */ e("td", { "data-slot": "table-cell", className: l("ttw:p-2 ttw:align-middle ttw:whitespace-nowrap ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", t), ...a });
|
|
38
|
+
}
|
|
103
39
|
export {
|
|
104
|
-
|
|
105
|
-
|
|
40
|
+
r as Table,
|
|
41
|
+
c as TableBody,
|
|
42
|
+
b as TableCell,
|
|
43
|
+
d as TableHead,
|
|
44
|
+
w as TableHeader,
|
|
45
|
+
n as TableRow
|
|
106
46
|
};
|
|
@@ -1,23 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
id: "organization",
|
|
11
|
-
counterpart_id: t.id,
|
|
12
|
-
email: a,
|
|
13
|
-
is_default: !0,
|
|
14
|
-
first_name: o(t),
|
|
15
|
-
last_name: "",
|
|
16
|
-
is_customer: t.is_customer,
|
|
17
|
-
is_vendor: t.is_vendor
|
|
18
|
-
};
|
|
19
|
-
}, u = (r, t) => r?.length ? r : t ? [t] : [];
|
|
1
|
+
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as o } from "./index102.js";
|
|
3
|
+
import * as r from "@radix-ui/react-label";
|
|
4
|
+
function l({
|
|
5
|
+
className: t,
|
|
6
|
+
...e
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ a(r.Root, { "data-slot": "label", className: o("ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:leading-none ttw:font-medium ttw:select-none ttw:group-data-[disabled=true]:pointer-events-none ttw:group-data-[disabled=true]:opacity-50 ttw:peer-disabled:cursor-not-allowed ttw:peer-disabled:opacity-50", t), ...e });
|
|
9
|
+
}
|
|
20
10
|
export {
|
|
21
|
-
|
|
22
|
-
i as getDefaultContact
|
|
11
|
+
l as Label
|
|
23
12
|
};
|
|
@@ -1,37 +1,22 @@
|
|
|
1
1
|
import { useMoniteContext as n } from "./index59.js";
|
|
2
|
-
import { useLingui as
|
|
2
|
+
import { useLingui as s } from "@lingui/react";
|
|
3
3
|
import { toast as r } from "react-hot-toast";
|
|
4
|
-
const
|
|
4
|
+
const p = () => {
|
|
5
5
|
const {
|
|
6
|
-
i18n:
|
|
7
|
-
} =
|
|
8
|
-
api:
|
|
9
|
-
queryClient:
|
|
6
|
+
i18n: e
|
|
7
|
+
} = s(), {
|
|
8
|
+
api: t,
|
|
9
|
+
queryClient: o
|
|
10
10
|
} = n();
|
|
11
|
-
return
|
|
12
|
-
path: {
|
|
13
|
-
receivable_id: i
|
|
14
|
-
}
|
|
15
|
-
}, {
|
|
11
|
+
return t.finops.deleteCounterpartsId.useMutation(void 0, {
|
|
16
12
|
onSuccess: async () => {
|
|
17
|
-
await
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}, t)]);
|
|
24
|
-
const s = e.finops.getReceivablesId.getQueryData({
|
|
25
|
-
path: {
|
|
26
|
-
receivable_id: i
|
|
27
|
-
}
|
|
28
|
-
}, t);
|
|
29
|
-
r.success(a._("This {type} has been sent", {
|
|
30
|
-
type: s?.type === "credit_note" ? "credit memo" : s?.type
|
|
31
|
-
}));
|
|
13
|
+
await t.finops.getCounterparts.invalidateQueries(o), r.success(e._("Counterpart has been deleted."));
|
|
14
|
+
},
|
|
15
|
+
onError: () => {
|
|
16
|
+
r.error(e._("Failed to delete Counterpart."));
|
|
32
17
|
}
|
|
33
18
|
});
|
|
34
19
|
};
|
|
35
20
|
export {
|
|
36
|
-
|
|
21
|
+
p as useDeleteCounterpart
|
|
37
22
|
};
|
|
@@ -1,59 +1,39 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { jsx as o, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { LoadingSpinner as f } from "./index137.js";
|
|
3
|
+
import { Button as t } from "./index86.js";
|
|
4
|
+
import { Dialog as C, DialogContent as u, DialogHeader as D, DialogTitle as b, DialogDescription as w, DialogFooter as L } from "./index201.js";
|
|
5
|
+
import { useLingui as x } from "@lingui/react";
|
|
6
|
+
const N = ({
|
|
7
|
+
open: e,
|
|
8
|
+
title: l,
|
|
9
|
+
message: s,
|
|
10
|
+
children: c,
|
|
11
|
+
confirmLabel: d,
|
|
12
|
+
cancelLabel: m,
|
|
13
|
+
onClose: a,
|
|
14
|
+
onConfirm: p,
|
|
15
|
+
container: g,
|
|
16
|
+
isLoading: r = !1
|
|
14
17
|
}) => {
|
|
15
18
|
const {
|
|
16
|
-
i18n:
|
|
17
|
-
} =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
body_text: c,
|
|
31
|
-
subject_text: m,
|
|
32
|
-
language: g(),
|
|
33
|
-
type: "receivable"
|
|
34
|
-
});
|
|
35
|
-
}, [a]), /* @__PURE__ */ t("div", { className: "ttw:flex ttw:flex-col ttw:min-h-0 ttw:overflow-hidden ttw:flex-1", children: p ? /* @__PURE__ */ t(s, { children: /* @__PURE__ */ t(B, {}) }) : /* @__PURE__ */ t(v, { children: u ? /* @__PURE__ */ t(s, { children: /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:gap-4", children: [
|
|
36
|
-
/* @__PURE__ */ t(E, { className: "ttw:text-red-500" }),
|
|
37
|
-
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:justify-center ttw:text-center ttw:gap-1 ttw:items-center", children: [
|
|
38
|
-
/* @__PURE__ */ t("h2", { className: "ttw:font-bold ttw:text-base", children: e._("Failed to generate email preview") }),
|
|
39
|
-
/* @__PURE__ */ i("div", { className: "ttw:items-center", children: [
|
|
40
|
-
/* @__PURE__ */ t("p", { className: "ttw:text-sm ttw:font-normal ttw:leading-5", children: e._("Please try to reload.") }),
|
|
41
|
-
/* @__PURE__ */ t("p", { className: "ttw:text-sm ttw:font-normal ttw:leading-5", children: e._("If the error recurs, contact support, please.") })
|
|
42
|
-
] }),
|
|
43
|
-
/* @__PURE__ */ i(_, { variant: "ghost", onClick: x, "data-testid": "reload-preview-button", children: [
|
|
44
|
-
/* @__PURE__ */ t(P, {}),
|
|
45
|
-
e._("Reload")
|
|
19
|
+
i18n: h
|
|
20
|
+
} = x();
|
|
21
|
+
return /* @__PURE__ */ o(C, { open: e, onOpenChange: a, "aria-label": h._("Confirmation dialog"), children: /* @__PURE__ */ n(u, { container: g, showCloseButton: !1, children: [
|
|
22
|
+
/* @__PURE__ */ o(D, { children: /* @__PURE__ */ o(b, { children: l }) }),
|
|
23
|
+
/* @__PURE__ */ o(w, { children: s || c }),
|
|
24
|
+
/* @__PURE__ */ n(L, { children: [
|
|
25
|
+
/* @__PURE__ */ o(t, { onClick: (i) => {
|
|
26
|
+
i.stopPropagation(), a();
|
|
27
|
+
}, variant: "outline", children: m }),
|
|
28
|
+
/* @__PURE__ */ n(t, { onClick: (i) => {
|
|
29
|
+
i.stopPropagation(), p();
|
|
30
|
+
}, disabled: r, variant: "destructive", children: [
|
|
31
|
+
r && /* @__PURE__ */ o(f, { className: "ttw:w-5 ttw:h-5 ttw:border-inherit ttw:border-t-transparent" }),
|
|
32
|
+
d
|
|
46
33
|
] })
|
|
47
34
|
] })
|
|
48
|
-
] }) })
|
|
49
|
-
width: "100%",
|
|
50
|
-
height: "100%",
|
|
51
|
-
marginBottom: "-16px",
|
|
52
|
-
// Margin is necessary to avoid vertical scrollbar on the iframe container element. It's not clear why, but it helps.
|
|
53
|
-
border: 0,
|
|
54
|
-
flex: 1
|
|
55
|
-
} }) }) });
|
|
35
|
+
] }) });
|
|
56
36
|
};
|
|
57
37
|
export {
|
|
58
|
-
|
|
38
|
+
N as ConfirmationModal
|
|
59
39
|
};
|