@tesouro/embedded-components-react 0.2.15 → 0.2.16
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/insights-widget/feature/dist/index10.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +26 -26
- 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/index117.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +23 -22
- 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 +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +10 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +35 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +4 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -10
- 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 +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +1270 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +60 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +398 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +406 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +76 -26
- 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 +6 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +9 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +33 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +31 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +24 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +116 -41
- 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 +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +46 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +46 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +45 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +11 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +144 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +68 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +3 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +61 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +36 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +79 -194
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +57 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +24 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +95 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +98 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +18 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +11 -249
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +10 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +9 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +17 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +19 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +2 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +10 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +18 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +22 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +26 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +107 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +66 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +13 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +12 -236
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +38 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +74 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +54 -55
- 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 +196 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +79 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +252 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +181 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +12 -45
- 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 +115 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +85 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +107 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +107 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +52 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +58 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +87 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +47 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +46 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +111 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +67 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +236 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +30 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +121 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +54 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +63 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +4 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +5 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +6 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +43 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +14 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +92 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +97 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +7 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +34 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +99 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +7 -10
- 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 +7 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +214 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +32 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +47 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +5 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +74 -23
- 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 +32 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +19 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +142 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +86 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +183 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +56 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +29 -44
- 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 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +73 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +44 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +14 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +75 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +86 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +41 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +49 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +62 -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 +155 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +26 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +78 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +62 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +41 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +345 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +297 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +101 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +158 -40
- 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 +264 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +23 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +23 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +18 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +39 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +488 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +163 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +2 -24
- 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 +96 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +96 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +192 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +25 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +127 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +33 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +36 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +43 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +38 -132
- 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 +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +6 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +102 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +31 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +31 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +53 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +18 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +23 -59
- 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 +38 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +49 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +98 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +44 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +17 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +59 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +92 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +119 -95
- 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 +36 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +16 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +9 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +38 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +149 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +19 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +39 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +57 -93
- 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 +29 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +110 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +22 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +41 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +56 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +20 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +14 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +19 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +171 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +132 -12
- 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 +161 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +10 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +61 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +67 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +57 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +8 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +8 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +60 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +21 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +58 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +14 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +18 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +27 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +39 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +63 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +93 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +105 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +65 -2
- 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 +44 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +24 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +185 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +106 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +80 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +283 -296
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +42 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +15 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +79 -260
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +219 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +54 -32
- 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 +15 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +32 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +14 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +18 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +53 -46
- 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 +33 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +31 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +69 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +30 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +5 -16
- 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 +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +127 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +38 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +13 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +32 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +57 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +29 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +72 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +94 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +63 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +13 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +14 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +13 -11
- 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 +20 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +13 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +66 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +21 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +23 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +36 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +96 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +82 -75
- 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 +114 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +17 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +16 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +73 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +16 -39
- 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 +11 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +71 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +66 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +140 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +22 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +70 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +28 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +23 -38
- 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 +38 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +85 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +22 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +13 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +92 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +14 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +74 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +9 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +56 -29
- 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 +68 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +21 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +72 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +81 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +50 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +54 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +50 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +30 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +38 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +46 -15
- 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 +56 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +32 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +52 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +40 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +34 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +51 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +57 -32
- 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 +29 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +66 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +40 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +17 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +81 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +39 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +1 -1
- 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 +9 -9
- 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 +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/package.json +2 -2
|
@@ -1,16 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsxs as a, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { DatePicker as D } from "./index453.js";
|
|
3
|
+
import { FormField as c, FormItem as i, FormLabel as u, FormControl as h, FormMessage as m } from "./index266.js";
|
|
4
|
+
import { Select as p, SelectTrigger as F, SelectValue as M, SelectContent as S, SelectItem as g } from "./index262.js";
|
|
5
|
+
import { useLingui as C } from "@lingui/react";
|
|
6
|
+
import { useFormContext as N } from "react-hook-form";
|
|
7
|
+
const V = ({
|
|
8
|
+
isUpdate: n = !1
|
|
9
|
+
}) => {
|
|
3
10
|
const {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
control: s,
|
|
12
|
+
watch: w,
|
|
13
|
+
setValue: f
|
|
14
|
+
} = N(), {
|
|
15
|
+
i18n: r
|
|
16
|
+
} = C(), _ = w("recurrence_start_date"), o = w("recurrence_issue_mode"), d = _ ? new Date(_) : void 0, v = (e) => {
|
|
17
|
+
if (!o) return !1;
|
|
18
|
+
const l = e.getDate(), x = new Date(e.getFullYear(), e.getMonth() + 1, 0).getDate();
|
|
19
|
+
return o === "first_day" ? l !== 1 : o === "last_day" ? l !== x : !1;
|
|
20
|
+
};
|
|
21
|
+
return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-6", children: [
|
|
22
|
+
/* @__PURE__ */ t(c, { control: s, name: "recurrence_issue_mode", render: ({
|
|
23
|
+
field: e
|
|
24
|
+
}) => /* @__PURE__ */ a(i, { className: "ttw:flex-1", children: [
|
|
25
|
+
/* @__PURE__ */ t(u, { children: r._("Issue at") }),
|
|
26
|
+
/* @__PURE__ */ a(p, { disabled: n, onValueChange: (l) => {
|
|
27
|
+
e.onChange(l), f("recurrence_start_date", void 0), f("recurrence_end_date", void 0);
|
|
28
|
+
}, value: e.value, children: [
|
|
29
|
+
/* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(F, { className: "ttw:w-full", children: /* @__PURE__ */ t(M, { className: "ttw:max-w-4/5 ttw:text-ellipsis ttw:whitespace-nowrap" }) }) }),
|
|
30
|
+
/* @__PURE__ */ a(S, { children: [
|
|
31
|
+
/* @__PURE__ */ t(g, { value: "first_day", children: r._("Start of the month") }),
|
|
32
|
+
/* @__PURE__ */ t(g, { value: "last_day", children: r._("End of the month") })
|
|
33
|
+
] })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ t(m, {})
|
|
36
|
+
] }) }),
|
|
37
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-start ttw:gap-4", children: [
|
|
38
|
+
/* @__PURE__ */ t(c, { control: s, name: "recurrence_start_date", render: ({
|
|
39
|
+
field: e
|
|
40
|
+
}) => /* @__PURE__ */ a(i, { className: "ttw:flex-1", children: [
|
|
41
|
+
/* @__PURE__ */ t(u, { children: r._("Period starts on") }),
|
|
42
|
+
/* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(D, { ...e, selected: e.value ? new Date(e.value) : void 0, onSelect: e.onChange, showOutsideDays: !1, disabled: v, shouldDisableButton: n, startMonth: /* @__PURE__ */ new Date(), endMonth: new Date(2050, 11), ...n && e.value ? {
|
|
43
|
+
defaultMonth: new Date(e.value)
|
|
44
|
+
} : {} }) }),
|
|
45
|
+
/* @__PURE__ */ t(m, {})
|
|
46
|
+
] }) }),
|
|
47
|
+
/* @__PURE__ */ t(c, { control: s, name: "recurrence_end_date", render: ({
|
|
48
|
+
field: e
|
|
49
|
+
}) => /* @__PURE__ */ a(i, { className: "ttw:flex-1", children: [
|
|
50
|
+
/* @__PURE__ */ t(u, { children: r._("Period ends on") }),
|
|
51
|
+
/* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(D, { ...e, selected: e.value ? new Date(e.value) : void 0, onSelect: e.onChange, showOutsideDays: !1, disabled: v, startMonth: d ? new Date(d.getFullYear(), d.getMonth() + 2, 0) : /* @__PURE__ */ new Date(), endMonth: new Date(2050, 11), ...n && e.value ? {
|
|
52
|
+
defaultMonth: new Date(e.value)
|
|
53
|
+
} : {} }) }),
|
|
54
|
+
/* @__PURE__ */ t(m, {})
|
|
55
|
+
] }) })
|
|
56
|
+
] })
|
|
57
|
+
] });
|
|
13
58
|
};
|
|
14
59
|
export {
|
|
15
|
-
|
|
60
|
+
V as RecurrenceFormContent
|
|
16
61
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
const
|
|
1
|
+
import { useMoniteContext as n } from "./index59.js";
|
|
2
|
+
const m = (e) => {
|
|
3
3
|
const {
|
|
4
|
-
api:
|
|
5
|
-
} =
|
|
6
|
-
return
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
label: n
|
|
13
|
-
}))
|
|
4
|
+
api: t
|
|
5
|
+
} = n();
|
|
6
|
+
return t.finops.getPaymentRemindersId.useQuery({
|
|
7
|
+
path: {
|
|
8
|
+
payment_reminder_id: e ?? ""
|
|
9
|
+
}
|
|
10
|
+
}, {
|
|
11
|
+
enabled: !!e
|
|
14
12
|
});
|
|
15
13
|
};
|
|
16
14
|
export {
|
|
17
|
-
|
|
15
|
+
m as useGetPaymentReminderById
|
|
18
16
|
};
|
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
|
|
3
|
-
import { useLingui as a } from "@lingui/react";
|
|
4
|
-
import { toast as o } from "react-hot-toast";
|
|
5
|
-
const c = () => {
|
|
1
|
+
import { useMoniteContext as d } from "./index59.js";
|
|
2
|
+
const n = (e) => {
|
|
6
3
|
const {
|
|
7
|
-
api:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return e.finops.postPaymentReminders.useMutation(void 0, {
|
|
13
|
-
onSuccess: async () => {
|
|
14
|
-
await e.finops.getPaymentReminders.invalidateQueries(s), o.success(r._("Reminder has been added"));
|
|
15
|
-
},
|
|
16
|
-
onError: (t) => {
|
|
17
|
-
o.error(i(r, t));
|
|
4
|
+
api: r
|
|
5
|
+
} = d();
|
|
6
|
+
return r.finops.getOverdueRemindersId.useQuery({
|
|
7
|
+
path: {
|
|
8
|
+
overdue_reminder_id: e ?? ""
|
|
18
9
|
}
|
|
10
|
+
}, {
|
|
11
|
+
enabled: !!e
|
|
19
12
|
});
|
|
20
13
|
};
|
|
21
14
|
export {
|
|
22
|
-
|
|
15
|
+
n as useGetOverdueReminderById
|
|
23
16
|
};
|
|
@@ -11,8 +11,8 @@ import "./index94.js";
|
|
|
11
11
|
import "react-dom";
|
|
12
12
|
import "@mui/x-data-grid";
|
|
13
13
|
import { useComponentSettings as y } from "./index69.js";
|
|
14
|
-
import { useUserPermissions as P } from "./
|
|
15
|
-
import { AccessRestriction as U } from "./
|
|
14
|
+
import { useUserPermissions as P } from "./index137.js";
|
|
15
|
+
import { AccessRestriction as U } from "./index138.js";
|
|
16
16
|
import { Button as w } from "./index86.js";
|
|
17
17
|
import "clsx";
|
|
18
18
|
import "tailwind-merge";
|
|
@@ -1,16 +1,37 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
|
|
1
|
+
import { useMoniteContext as c } from "./index59.js";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { toast as o } from "react-hot-toast";
|
|
4
|
+
const u = (i) => {
|
|
3
5
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
6
|
+
i18n: s
|
|
7
|
+
} = n(), {
|
|
8
|
+
api: e,
|
|
9
|
+
queryClient: a
|
|
10
|
+
} = c();
|
|
11
|
+
return e.finops.postReceivablesIdCancel.useMutation({
|
|
7
12
|
path: {
|
|
8
|
-
|
|
13
|
+
receivable_id: i
|
|
9
14
|
}
|
|
10
15
|
}, {
|
|
11
|
-
|
|
16
|
+
onSuccess: async () => {
|
|
17
|
+
const t = e.finops.getReceivablesId.getQueryData({
|
|
18
|
+
path: {
|
|
19
|
+
receivable_id: i
|
|
20
|
+
}
|
|
21
|
+
}, a);
|
|
22
|
+
t?.type === "invoice" && e.finops.getReceivablesId.setQueryData({
|
|
23
|
+
path: {
|
|
24
|
+
receivable_id: i
|
|
25
|
+
}
|
|
26
|
+
}, {
|
|
27
|
+
...t,
|
|
28
|
+
status: "canceled"
|
|
29
|
+
}, a), await e.finops.getReceivables.invalidateQueries(a), o.success(s._("This {type} has been canceled", {
|
|
30
|
+
type: t?.type === "credit_note" ? "credit memo" : t?.type
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
12
33
|
});
|
|
13
34
|
};
|
|
14
35
|
export {
|
|
15
|
-
|
|
36
|
+
u as useCancelReceivableById
|
|
16
37
|
};
|
|
@@ -1,18 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { toast as a } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as n } from "./index59.js";
|
|
3
|
+
import { useLingui as r } from "@lingui/react";
|
|
4
|
+
const u = (t) => {
|
|
3
5
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
i18n: o
|
|
7
|
+
} = r(), {
|
|
8
|
+
api: e,
|
|
9
|
+
queryClient: i
|
|
10
|
+
} = n();
|
|
11
|
+
return e.finops.deleteReceivablesId.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
receivable_id: t
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: () => {
|
|
17
|
+
const s = e.finops.getReceivablesId.getQueryData({
|
|
18
|
+
path: {
|
|
19
|
+
receivable_id: t
|
|
20
|
+
}
|
|
21
|
+
}, i);
|
|
22
|
+
e.finops.getReceivables.invalidateQueries(i), a.success(o._("This {type} has been deleted", {
|
|
23
|
+
type: s?.type === "credit_note" ? "credit memo" : s?.type
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
14
26
|
});
|
|
15
27
|
};
|
|
16
28
|
export {
|
|
17
|
-
|
|
29
|
+
u as useDeleteReceivableById
|
|
18
30
|
};
|
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
|
|
5
|
-
const c = () => {
|
|
1
|
+
import { toast as c } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as n } from "./index59.js";
|
|
3
|
+
import { useLingui as l } from "@lingui/react";
|
|
4
|
+
const b = (e, t) => {
|
|
6
5
|
const {
|
|
7
|
-
api:
|
|
8
|
-
queryClient:
|
|
9
|
-
} =
|
|
10
|
-
i18n:
|
|
11
|
-
} =
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
api: i,
|
|
7
|
+
queryClient: s
|
|
8
|
+
} = n(), {
|
|
9
|
+
i18n: a
|
|
10
|
+
} = l();
|
|
11
|
+
return i.finops.postReceivablesIdMarkAsUncollectible.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
receivable_id: e
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: async (o) => {
|
|
17
|
+
t?.(e), i.finops.getReceivablesId.setQueryData({
|
|
18
|
+
path: {
|
|
19
|
+
receivable_id: e
|
|
20
|
+
}
|
|
21
|
+
}, o, s), await i.finops.getReceivables.invalidateQueries(s), c.success(a._("Marked as uncollectible"));
|
|
18
22
|
}
|
|
19
23
|
});
|
|
20
24
|
};
|
|
21
25
|
export {
|
|
22
|
-
|
|
26
|
+
b as useMarkAsUncollectibleReceivableById
|
|
23
27
|
};
|
|
@@ -1,15 +1,76 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMoniteContext as h } from "./index59.js";
|
|
3
|
+
import { useCurrencies as y } from "./index60.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./index94.js";
|
|
6
|
+
import { useLingui as f } from "@lingui/react";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import "@tanstack/react-query";
|
|
10
|
+
import "date-fns";
|
|
11
|
+
import { useEntityUserByAuthToken as x } from "./index77.js";
|
|
12
|
+
import "react-hot-toast";
|
|
13
|
+
import { MoniteCard as g } from "./index480.js";
|
|
14
|
+
import _ from "@mui/icons-material/DriveFileRenameOutline";
|
|
15
|
+
import { Box as o, Typography as r, Skeleton as v, Alert as b } from "@mui/material";
|
|
16
|
+
const L = ({
|
|
17
|
+
paymentRecords: i,
|
|
18
|
+
invoice: n
|
|
19
|
+
}) => {
|
|
3
20
|
const {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
21
|
+
i18n: t
|
|
22
|
+
} = f(), {
|
|
23
|
+
locale: c
|
|
24
|
+
} = h(), {
|
|
25
|
+
formatCurrencyToDisplay: s
|
|
26
|
+
} = y(), d = new Date(i.payment_date ?? "").setHours(i.payment_time?.getHours() ?? 0, i.payment_time?.getMinutes() ?? 0), p = t.date(new Date(d), c.dateTimeFormat), {
|
|
27
|
+
data: l,
|
|
28
|
+
isLoading: u
|
|
29
|
+
} = x(), m = `${l?.first_name ?? ""} ${l?.last_name ?? ""}`;
|
|
30
|
+
return /* @__PURE__ */ a(o, { sx: {
|
|
31
|
+
display: "flex",
|
|
32
|
+
flexDirection: "column",
|
|
33
|
+
gap: 3
|
|
34
|
+
}, children: [
|
|
35
|
+
/* @__PURE__ */ a(o, { sx: {
|
|
36
|
+
display: "flex",
|
|
37
|
+
flexDirection: "column",
|
|
38
|
+
gap: 1,
|
|
39
|
+
alignItems: "center",
|
|
40
|
+
textAlign: "center"
|
|
41
|
+
}, children: [
|
|
42
|
+
/* @__PURE__ */ e(o, { sx: {
|
|
43
|
+
borderRadius: "100%",
|
|
44
|
+
backgroundColor: "#F2F2F2",
|
|
45
|
+
width: "44px",
|
|
46
|
+
height: "44px",
|
|
47
|
+
display: "flex",
|
|
48
|
+
justifyContent: "center",
|
|
49
|
+
alignItems: "center"
|
|
50
|
+
}, children: /* @__PURE__ */ e(_, { sx: {
|
|
51
|
+
color: "#707070"
|
|
52
|
+
} }) }),
|
|
53
|
+
/* @__PURE__ */ e(r, { variant: "body1", children: t._("Manual payment record") }),
|
|
54
|
+
/* @__PURE__ */ a(o, { children: [
|
|
55
|
+
/* @__PURE__ */ e(r, { variant: "h2", children: s(i?.amount ?? 0, n.currency) }),
|
|
56
|
+
/* @__PURE__ */ e(r, { variant: "body1", children: t._("from {invoiceCounterpart_name}", {
|
|
57
|
+
invoiceCounterpart_name: n.counterpart_name
|
|
58
|
+
}) })
|
|
59
|
+
] })
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ e(g, { items: [{
|
|
62
|
+
label: t._("Received"),
|
|
63
|
+
value: i.payment_date ? /* @__PURE__ */ e(r, { fontWeight: 500, children: p }) : "—"
|
|
64
|
+
}, {
|
|
65
|
+
label: t._("Reference"),
|
|
66
|
+
value: n.id ? /* @__PURE__ */ e(r, { fontWeight: 500, children: n.id }) : "—"
|
|
67
|
+
}, {
|
|
68
|
+
label: t._("Created by"),
|
|
69
|
+
value: u ? /* @__PURE__ */ e(v, { variant: "text", width: "50%" }) : m ? /* @__PURE__ */ e(r, { fontWeight: 500, children: m }) : "—"
|
|
70
|
+
}] }),
|
|
71
|
+
/* @__PURE__ */ e(b, { severity: "warning", children: /* @__PURE__ */ e(r, { variant: "body2", children: t._("Please, check the details of your payment record. You won't be able to change or delete it after.") }) })
|
|
72
|
+
] });
|
|
12
73
|
};
|
|
13
74
|
export {
|
|
14
|
-
|
|
75
|
+
L as ManualPaymentRecordDetails
|
|
15
76
|
};
|
|
@@ -1,30 +1,99 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsx as e, Fragment as b, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { manualPaymentRecordValidationSchema as g } from "./index211.js";
|
|
3
|
+
import { useCurrencies as y } from "./index60.js";
|
|
4
|
+
import { useMemo as _, useEffect as C } from "react";
|
|
5
|
+
import "./index94.js";
|
|
6
|
+
import { useLingui as F } from "@lingui/react";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
import "./index59.js";
|
|
9
|
+
import "@mui/x-data-grid";
|
|
10
|
+
import { safeZodResolver as v } from "./index248.js";
|
|
11
|
+
import { RHFDatePicker as D } from "./index482.js";
|
|
12
|
+
import { RHFTextField as S } from "./index470.js";
|
|
13
|
+
import { RHFTimePicker as R } from "./index483.js";
|
|
14
|
+
import { DialogTitle as T, DialogContent as P, Grid as i, FormHelperText as k, Button as m, DialogActions as E, CircularProgress as H } from "@mui/material";
|
|
15
|
+
import { useForm as V } from "react-hook-form";
|
|
16
|
+
const Z = ({
|
|
17
|
+
invoice: r,
|
|
18
|
+
initialValues: n,
|
|
19
|
+
isLoading: u,
|
|
20
|
+
onSubmit: s,
|
|
21
|
+
onCancel: c
|
|
22
|
+
}) => {
|
|
5
23
|
const {
|
|
6
|
-
i18n:
|
|
7
|
-
} =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
e.finops.getReceivables.invalidateQueries(i), a.success(o._("This {type} has been deleted", {
|
|
23
|
-
type: s?.type === "credit_note" ? "credit memo" : s?.type
|
|
24
|
-
}));
|
|
25
|
-
}
|
|
24
|
+
i18n: t
|
|
25
|
+
} = F(), {
|
|
26
|
+
formatCurrencyToDisplay: p,
|
|
27
|
+
getSymbolFromCurrency: d
|
|
28
|
+
} = y(), {
|
|
29
|
+
control: a,
|
|
30
|
+
handleSubmit: f,
|
|
31
|
+
reset: l,
|
|
32
|
+
setValue: x
|
|
33
|
+
} = V({
|
|
34
|
+
resolver: v(g(t, r.amount_due)),
|
|
35
|
+
defaultValues: _(() => n ?? {
|
|
36
|
+
amount: 0,
|
|
37
|
+
payment_date: /* @__PURE__ */ new Date(),
|
|
38
|
+
payment_time: /* @__PURE__ */ new Date()
|
|
39
|
+
}, [n])
|
|
26
40
|
});
|
|
41
|
+
C(() => {
|
|
42
|
+
l(n);
|
|
43
|
+
}, [n, l]);
|
|
44
|
+
const h = d(r.currency);
|
|
45
|
+
return /* @__PURE__ */ e(b, { children: /* @__PURE__ */ o("form", { onSubmit: f(s), children: [
|
|
46
|
+
/* @__PURE__ */ e(T, { sx: {
|
|
47
|
+
px: 4,
|
|
48
|
+
pt: 4
|
|
49
|
+
}, variant: "h3", id: "dialog-title", children: t._("Record payment") }),
|
|
50
|
+
/* @__PURE__ */ e(P, { sx: {
|
|
51
|
+
p: 4
|
|
52
|
+
}, children: /* @__PURE__ */ o(i, { container: !0, spacing: 1, children: [
|
|
53
|
+
/* @__PURE__ */ o(i, { item: !0, xs: 12, children: [
|
|
54
|
+
/* @__PURE__ */ e(S, { label: t._("Amount"), name: "amount", placeholder: "0", control: a, type: "number", sx: {
|
|
55
|
+
"::after": {
|
|
56
|
+
content: `"${h}"`,
|
|
57
|
+
position: "absolute",
|
|
58
|
+
right: "16px",
|
|
59
|
+
bottom: 0,
|
|
60
|
+
transform: "translateY(-50%)",
|
|
61
|
+
fontSize: "16px",
|
|
62
|
+
color: "rgba(0,0,0,0.28)",
|
|
63
|
+
pointerEvents: "none"
|
|
64
|
+
}
|
|
65
|
+
}, fullWidth: !0, required: !0 }),
|
|
66
|
+
/* @__PURE__ */ o(k, { children: [
|
|
67
|
+
t._("Enter full amount due of"),
|
|
68
|
+
" ",
|
|
69
|
+
/* @__PURE__ */ e(m, { variant: "text", sx: {
|
|
70
|
+
textDecoration: "underline"
|
|
71
|
+
}, onClick: () => x("amount", r.amount_due / 100), children: p(r.amount_due, r.currency) })
|
|
72
|
+
] })
|
|
73
|
+
] }),
|
|
74
|
+
/* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(D, { label: t._("Date"), name: "payment_date", control: a }) }),
|
|
75
|
+
/* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(R, { label: t._("Time"), name: "payment_time", control: a, sx: {
|
|
76
|
+
"::after": {
|
|
77
|
+
content: '"UTC"',
|
|
78
|
+
position: "absolute",
|
|
79
|
+
right: "16px",
|
|
80
|
+
bottom: 0,
|
|
81
|
+
transform: "translateY(-50%)",
|
|
82
|
+
fontSize: "16px",
|
|
83
|
+
color: "rgba(0,0,0,0.28)",
|
|
84
|
+
pointerEvents: "none"
|
|
85
|
+
}
|
|
86
|
+
}, fullWidth: !0, required: !0 }) })
|
|
87
|
+
] }) }),
|
|
88
|
+
/* @__PURE__ */ o(E, { sx: {
|
|
89
|
+
px: 4,
|
|
90
|
+
pb: 4
|
|
91
|
+
}, children: [
|
|
92
|
+
/* @__PURE__ */ e(m, { autoFocus: !0, onClick: c, children: t._("Cancel") }),
|
|
93
|
+
/* @__PURE__ */ e(m, { variant: "contained", startIcon: u ? /* @__PURE__ */ e(H, { size: 20, color: "warning" }) : null, type: "submit", children: t._("Save") })
|
|
94
|
+
] })
|
|
95
|
+
] }) });
|
|
27
96
|
};
|
|
28
97
|
export {
|
|
29
|
-
|
|
98
|
+
Z as PaymentRecordForm
|
|
30
99
|
};
|
|
@@ -1,27 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
|
|
1
|
+
import { useMoniteContext as c } from "./index59.js";
|
|
2
|
+
import { getAPIErrorMessage as o } from "./index124.js";
|
|
3
|
+
import { useLingui as u } from "@lingui/react";
|
|
4
|
+
import { toast as a } from "react-hot-toast";
|
|
5
|
+
const f = (s, t) => {
|
|
5
6
|
const {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} =
|
|
11
|
-
return
|
|
7
|
+
i18n: i
|
|
8
|
+
} = u(), {
|
|
9
|
+
api: e,
|
|
10
|
+
queryClient: r
|
|
11
|
+
} = c();
|
|
12
|
+
return e.finops.postRecurrencesIdCancel.useMutation({
|
|
12
13
|
path: {
|
|
13
|
-
|
|
14
|
+
recurrence_id: s
|
|
14
15
|
}
|
|
15
16
|
}, {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
onError: (n) => {
|
|
18
|
+
a.error(o(i, n));
|
|
19
|
+
},
|
|
20
|
+
onSuccess: async () => {
|
|
21
|
+
await Promise.all([e.finops.getReceivables.invalidateQueries(r), e.finops.getReceivablesId.invalidateQueries({
|
|
22
|
+
parameters: {
|
|
23
|
+
path: {
|
|
24
|
+
receivable_id: t
|
|
25
|
+
}
|
|
20
26
|
}
|
|
21
|
-
},
|
|
27
|
+
}, r), e.finops.getRecurrencesId.invalidateQueries({
|
|
28
|
+
parameters: {
|
|
29
|
+
path: {
|
|
30
|
+
recurrence_id: s
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}, r)]), a.success(i._("Recurrence has been canceled"));
|
|
22
34
|
}
|
|
23
35
|
});
|
|
24
36
|
};
|
|
25
37
|
export {
|
|
26
|
-
|
|
38
|
+
f as useCancelRecurrence
|
|
27
39
|
};
|
|
@@ -1,14 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { useMemo as g } from "react";
|
|
2
|
+
import { useMoniteContext as k } from "./index59.js";
|
|
3
|
+
const p = (t, u) => {
|
|
3
4
|
const {
|
|
4
|
-
api:
|
|
5
|
-
} = i()
|
|
6
|
-
|
|
5
|
+
api: r
|
|
6
|
+
} = k(), i = !!(t && u), o = i && u === "BANK_DETAILS", c = i && u === "INTERNAL", d = i && u === "EXTERNAL", {
|
|
7
|
+
data: n,
|
|
8
|
+
isLoading: b
|
|
9
|
+
} = r.finops.getBankDetailsId.useQuery({
|
|
7
10
|
path: {
|
|
8
|
-
|
|
11
|
+
bank_account_id: t ?? ""
|
|
9
12
|
}
|
|
10
|
-
}
|
|
13
|
+
}, {
|
|
14
|
+
enabled: o,
|
|
15
|
+
retry: !1
|
|
16
|
+
}), {
|
|
17
|
+
data: e,
|
|
18
|
+
isLoading: m
|
|
19
|
+
} = r.embeddedBanking.getBankAccount.useQuery({
|
|
20
|
+
path: {
|
|
21
|
+
id: t ?? ""
|
|
22
|
+
}
|
|
23
|
+
}, {
|
|
24
|
+
enabled: c,
|
|
25
|
+
retry: !1
|
|
26
|
+
}), {
|
|
27
|
+
data: a,
|
|
28
|
+
isLoading: _
|
|
29
|
+
} = r.embeddedBanking.getExternalBankAccount.useQuery({
|
|
30
|
+
path: {
|
|
31
|
+
id: t ?? ""
|
|
32
|
+
}
|
|
33
|
+
}, {
|
|
34
|
+
enabled: d,
|
|
35
|
+
retry: !1
|
|
36
|
+
}), s = b || m || _;
|
|
37
|
+
return {
|
|
38
|
+
data: g(() => {
|
|
39
|
+
if (n)
|
|
40
|
+
return {
|
|
41
|
+
id: n.id,
|
|
42
|
+
bank_name: n.bank_name,
|
|
43
|
+
account_number: n.account_number,
|
|
44
|
+
routing_number: n.routing_number,
|
|
45
|
+
bank_account_type: "BANK_DETAILS"
|
|
46
|
+
};
|
|
47
|
+
if (e)
|
|
48
|
+
return {
|
|
49
|
+
id: e.id,
|
|
50
|
+
bank_name: null,
|
|
51
|
+
account_number: e.accountNumber,
|
|
52
|
+
routing_number: e.routingNumber,
|
|
53
|
+
bank_account_type: "INTERNAL"
|
|
54
|
+
};
|
|
55
|
+
if (a)
|
|
56
|
+
return {
|
|
57
|
+
id: a.id,
|
|
58
|
+
bank_name: null,
|
|
59
|
+
account_number: a.accountNumber,
|
|
60
|
+
routing_number: a.routingNumber,
|
|
61
|
+
bank_account_type: "EXTERNAL"
|
|
62
|
+
};
|
|
63
|
+
}, [n, e, a]),
|
|
64
|
+
isLoading: s
|
|
65
|
+
};
|
|
11
66
|
};
|
|
12
67
|
export {
|
|
13
|
-
|
|
68
|
+
p as useGetBankAccountById
|
|
14
69
|
};
|