@tesouro/embedded-components-react 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +46 -28
- package/dist/lib/ReceivablesWidget.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +25 -25
- 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 +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/index11.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/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 +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +10 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +58 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +398 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +69 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +406 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +96 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +7 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +56 -81
- 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 +25 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +35 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +76 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +21 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +12 -27
- 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 +23 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +12 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +12 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +121 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +49 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +46 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +13 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +42 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +15 -197
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +152 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +53 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +70 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +24 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +3 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +60 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +39 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +77 -251
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +5 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +72 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +54 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +196 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +14 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +21 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +75 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +29 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +42 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +7 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +248 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +176 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +11 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +114 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +87 -236
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +100 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +106 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +52 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +60 -30
- 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 +87 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +48 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +22 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +57 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +117 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +74 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +68 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +224 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +124 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +35 -5
- 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 +56 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +26 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +65 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +24 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +8 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +51 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +4 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +20 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +12 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +89 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +22 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +15 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +19 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +20 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +19 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +27 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +113 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +68 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +12 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +25 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +93 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +101 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +17 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +13 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +14 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +100 -11
- 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 +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +2 -37
- 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 +93 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +96 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +191 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +37 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +345 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +301 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +98 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +154 -337
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +259 -295
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +15 -93
- 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 +18 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +137 -258
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +86 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +183 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +51 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +29 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +57 -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 +20 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +21 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +5 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +75 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +32 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +20 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +13 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +80 -73
- 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 +78 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +72 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +21 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +41 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +27 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +39 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +63 -14
- 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 +92 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +110 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +87 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +62 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +49 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +24 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +127 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +44 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +56 -21
- 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 +11 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +65 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +45 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +22 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +188 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +104 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +82 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +74 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +22 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +294 -56
- 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 +45 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +15 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +255 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +149 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +44 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +44 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +205 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +151 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +109 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +51 -31
- 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 +71 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +110 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +42 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +155 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +28 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +26 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +78 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +483 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +164 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -42
- 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 +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +15 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +166 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +124 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +14 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +162 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +61 -41
- 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 +64 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +60 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +6 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +11 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +21 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +61 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +14 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +22 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +34 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +60 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +45 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +40 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +6 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +104 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +21 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +32 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +32 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +57 -255
- 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 +17 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +10 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +23 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +37 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +48 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +93 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +44 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +36 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +17 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +54 -484
- 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 +12 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +86 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +122 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +36 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +37 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +13 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +38 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +39 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +59 -27
- 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 +29 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +113 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +21 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +41 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +53 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +30 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +4 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +125 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +96 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +38 -5
- 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 +34 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +7 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +54 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +15 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +14 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +15 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +48 -26
- 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 +175 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +25 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +32 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +136 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +20 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +72 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +64 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +65 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +66 -22
- 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 +38 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +23 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +17 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +13 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +10 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +74 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +94 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +33 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +14 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +8 -32
- 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 +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +53 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +34 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +23 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +23 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +24 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +37 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +20 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +35 -114
- 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 +123 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +72 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +16 -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 +11 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +32 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +94 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +14 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +75 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +9 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +53 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +68 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +21 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +19 -32
- 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 +49 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +59 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +33 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +43 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +36 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +13 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +16 -16
- 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 +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +66 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +20 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +57 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +36 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +33 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +31 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +29 -21
- 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 +23 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +38 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +85 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +72 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +66 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +36 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +20 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +14 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +14 -55
- 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 +56 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +55 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +29 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +40 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +80 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +48 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +36 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +44 -51
- 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 +69 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +85 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +51 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +50 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +68 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +16 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +135 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +59 -81
- 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/index500.js +51 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +41 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +48 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +36 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +75 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +8 -48
- 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 +1 -1
- 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 +24 -24
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +25 -25
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +0 -10
|
@@ -1,53 +1,226 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
1
|
+
import { toMinorUnits as _ } from "./index122.js";
|
|
2
|
+
import { AllowedCountries as u } from "./index312.js";
|
|
3
|
+
import { CurrencyEnumSchema as l } from "./index313.js";
|
|
4
|
+
import { z as t } from "zod";
|
|
5
|
+
const d = (e) => l, c = (e) => t.object({
|
|
6
|
+
account_holder_name: t.string().min(1, e._("Account holder name is required")),
|
|
7
|
+
account_number: t.string().min(1, e._("Account number is required")),
|
|
8
|
+
bank_name: t.string().optional(),
|
|
9
|
+
routing_number: t.string().min(1, e._("Routing number is required")),
|
|
10
|
+
display_name: t.string().max(200, e._("Display name must be 200 characters or less")).optional()
|
|
11
|
+
}), b = (e) => t.object({
|
|
12
|
+
display_name: t.string().max(200, e._("Display name must be 200 characters or less")).optional().meta({
|
|
13
|
+
title: e._("Display Name")
|
|
14
|
+
}),
|
|
15
|
+
account_holder_name: t.string().optional().meta({
|
|
16
|
+
title: e._("Account Holder Name")
|
|
17
|
+
})
|
|
18
|
+
}).loose(), q = (e, r) => r ? b(e) : c(e), x = (e) => t.object({
|
|
19
|
+
title: t.string().optional().meta({
|
|
20
|
+
title: e._("Title")
|
|
21
|
+
}),
|
|
22
|
+
name: t.string().optional().meta({
|
|
23
|
+
title: e._("Name")
|
|
24
|
+
}),
|
|
25
|
+
surname: t.string().optional().meta({
|
|
26
|
+
title: e._("Surname")
|
|
27
|
+
}),
|
|
28
|
+
email: t.email(e._("Invalid email format")).optional().meta({
|
|
29
|
+
title: e._("Email"),
|
|
30
|
+
description: e._("Email address for notifications and communication")
|
|
31
|
+
}),
|
|
32
|
+
tax_id: t.string().optional().meta({
|
|
33
|
+
title: e._("Tax ID"),
|
|
34
|
+
description: e._("Tax identification number")
|
|
35
|
+
}),
|
|
36
|
+
address_line_1: t.string().min(1, e._("Address line 1 is required")).meta({
|
|
37
|
+
title: e._("Address Line 1"),
|
|
38
|
+
description: e._("Primary address line")
|
|
39
|
+
}),
|
|
40
|
+
address_line_2: t.string().optional().meta({
|
|
41
|
+
title: e._("Address Line 2"),
|
|
42
|
+
description: e._("Secondary address line (optional)")
|
|
43
|
+
}),
|
|
44
|
+
city: t.string().min(1, e._("City is required")).meta({
|
|
45
|
+
title: e._("City")
|
|
46
|
+
}),
|
|
47
|
+
postal_code: t.string().min(1, e._("Postal code is required")).meta({
|
|
48
|
+
title: e._("Postal Code"),
|
|
49
|
+
description: e._("ZIP or postal code")
|
|
50
|
+
}),
|
|
51
|
+
state: t.string().optional().meta({
|
|
52
|
+
title: e._("State"),
|
|
53
|
+
description: e._("State or province (if applicable)")
|
|
54
|
+
}),
|
|
55
|
+
country: t.enum(u).optional().meta({
|
|
56
|
+
title: e._("Country")
|
|
57
|
+
}),
|
|
58
|
+
phone: t.string().optional().meta({
|
|
59
|
+
title: e._("Phone"),
|
|
60
|
+
description: e._("Contact phone number")
|
|
61
|
+
}),
|
|
62
|
+
website: t.url().optional().meta({
|
|
63
|
+
title: e._("Website"),
|
|
64
|
+
description: e._("Company or personal website URL")
|
|
65
|
+
})
|
|
66
|
+
}), D = (e, r) => t.object({
|
|
67
|
+
amount: t.coerce.number({
|
|
68
|
+
error: e._("Amount is required")
|
|
69
|
+
}).meta({
|
|
70
|
+
title: e._("Amount")
|
|
71
|
+
}).min(0, e._("Can't be a negative number")).refine((i) => _(i) <= r, {
|
|
72
|
+
message: e._("Can't be more than the amount due")
|
|
73
|
+
}),
|
|
74
|
+
payment_date: t.date({
|
|
75
|
+
error: e._("Date is required")
|
|
76
|
+
}).meta({
|
|
77
|
+
title: e._("Date")
|
|
78
|
+
}),
|
|
79
|
+
payment_time: t.date({
|
|
80
|
+
error: e._("Time is required")
|
|
81
|
+
}).meta({
|
|
82
|
+
title: e._("Time")
|
|
83
|
+
})
|
|
84
|
+
}), S = (e) => t.object({
|
|
85
|
+
to: t.email().min(1, e._("To is required")).meta({
|
|
86
|
+
title: e._("To")
|
|
87
|
+
}),
|
|
88
|
+
subject: t.string().min(1, e._("Subject is required")).meta({
|
|
89
|
+
title: e._("Subject")
|
|
90
|
+
}),
|
|
91
|
+
body: t.string().min(1, e._("Body is required")).meta({
|
|
92
|
+
title: e._("Body")
|
|
93
|
+
})
|
|
94
|
+
}), p = (e) => {
|
|
95
|
+
const r = t.object({
|
|
96
|
+
id: t.string().optional(),
|
|
97
|
+
quantity: t.number().min(0.1, e._("Quantity is a required field")),
|
|
98
|
+
product_id: t.string().optional(),
|
|
99
|
+
taxable: t.boolean().optional(),
|
|
100
|
+
product: t.object({
|
|
101
|
+
name: t.string().min(1, e._("Name is a required field")).max(100, e._("Product name must be 100 characters or less")),
|
|
102
|
+
description: t.string().optional(),
|
|
103
|
+
price: t.object({
|
|
104
|
+
currency: d(),
|
|
105
|
+
value: t.number()
|
|
106
|
+
}),
|
|
107
|
+
measure_unit_id: t.string().optional(),
|
|
108
|
+
type: t.enum(["product", "service"])
|
|
109
|
+
}),
|
|
110
|
+
tax_rate_value: t.number().min(0, e._("Tax rate must be 0 or greater")).max(100, e._("Tax rate must be 100 or less")).optional()
|
|
111
|
+
});
|
|
112
|
+
return t.array(r).min(1, e._("Please, add at least 1 item to proceed with this invoice"));
|
|
113
|
+
}, o = (e) => t.object({
|
|
114
|
+
counterpart_id: t.string().min(1, e._("Customer is a required field")),
|
|
115
|
+
entity_vat_id_id: t.string().optional(),
|
|
116
|
+
fulfillment_date: t.date().nullable().optional(),
|
|
117
|
+
purchase_order: t.string().optional(),
|
|
118
|
+
terms_and_conditions: t.string().optional(),
|
|
119
|
+
default_billing_address_id: t.string().optional(),
|
|
120
|
+
default_shipping_address_id: t.string().optional(),
|
|
121
|
+
tax_rate: t.string().optional(),
|
|
122
|
+
memo: t.string().optional(),
|
|
123
|
+
payment_terms_id: t.string().min(1, e._("Payment terms is a required field")),
|
|
124
|
+
footer: t.string().optional(),
|
|
125
|
+
line_items: p(e),
|
|
126
|
+
overdue_reminder_id: t.string().nullable().optional(),
|
|
127
|
+
payment_reminder_id: t.string().nullable().optional(),
|
|
128
|
+
tax_mode: t.enum(["exclusive", "inclusive"])
|
|
129
|
+
}), v = (e, r, i) => o(e).extend({
|
|
130
|
+
type: t.string(),
|
|
131
|
+
bank_account_id: r ? t.string().min(1, e._("Choose how to get paid.")) : t.string().optional(),
|
|
132
|
+
bank_account_type: t.enum(["INTERNAL", "EXTERNAL", "BANK_DETAILS"]).optional(),
|
|
133
|
+
...s(e, i).shape
|
|
134
|
+
}).refine((n) => i && n.recurrence_issue_mode === "first_day" ? n.recurrence_start_date && n.recurrence_start_date >= /* @__PURE__ */ new Date() : !0, {
|
|
135
|
+
error: e._("The start date for the recurrence shouldn't be in the past"),
|
|
136
|
+
path: ["recurrence_issue_mode"]
|
|
137
|
+
}), T = (e) => o(e).extend({
|
|
138
|
+
bank_account_id: t.string().optional()
|
|
139
|
+
}), s = (e, r = !0) => t.object({
|
|
140
|
+
recurrence_start_date: r ? t.date().min(1, e._("Recurrence start date is a required field")) : t.string().optional(),
|
|
141
|
+
recurrence_end_date: r ? t.date().min(1, e._("Recurrence end date is a required field")) : t.string().optional(),
|
|
142
|
+
recurrence_issue_mode: r ? t.enum(["first_day", "last_day"]) : t.string().optional(),
|
|
143
|
+
recurrence_subject_text: t.string().optional(),
|
|
144
|
+
recurrence_body_text: t.string().optional()
|
|
145
|
+
}), A = (e, r = !0) => s(e, r).refine((i) => i.recurrence_issue_mode === "first_day" ? i.recurrence_start_date && i.recurrence_start_date >= /* @__PURE__ */ new Date() : !0, {
|
|
146
|
+
error: e._("The start date for the recurrence shouldn't be in the past"),
|
|
147
|
+
path: ["recurrence_issue_mode"]
|
|
148
|
+
}), N = (e) => t.object({
|
|
149
|
+
name: t.string().max(100, e._("Name must be 100 characters or less")).min(1, e._("Name is required")),
|
|
150
|
+
term_final: t.object({
|
|
151
|
+
number_of_days: t.coerce.number().min(1, e._("Number of days is required"))
|
|
152
|
+
}),
|
|
153
|
+
description: t.string().max(250, e._("Description must be 250 characters or less")).optional(),
|
|
154
|
+
term_1: t.object({
|
|
155
|
+
number_of_days: t.preprocess((r) => r === "" || r === void 0 ? null : r, t.coerce.number().int().positive()).nullable(),
|
|
156
|
+
discount: t.preprocess((r) => r === "" || r === void 0 ? null : r, t.coerce.number().min(0)).nullable()
|
|
157
|
+
}).transform((r) => r.number_of_days == null && r.discount == null ? null : r).nullable().optional(),
|
|
158
|
+
term_2: t.object({
|
|
159
|
+
number_of_days: t.preprocess((r) => r === "" || r === void 0 ? null : r, t.coerce.number().int().positive()).nullable(),
|
|
160
|
+
discount: t.preprocess((r) => r === "" || r === void 0 ? null : r, t.coerce.number().min(0)).nullable()
|
|
161
|
+
}).transform((r) => r.number_of_days == null && r.discount == null ? null : r).nullable().optional()
|
|
162
|
+
}).refine((r) => r.term_1?.number_of_days && r.term_final.number_of_days ? r.term_1.number_of_days < r.term_final.number_of_days : !0, {
|
|
163
|
+
message: e._("The number of days in Discount must be less than of Due days"),
|
|
164
|
+
path: ["term_1", "number_of_days"]
|
|
165
|
+
}).refine((r) => r.term_2?.number_of_days && r.term_final.number_of_days ? r.term_2.number_of_days < r.term_final.number_of_days : !0, {
|
|
166
|
+
message: e._("The number of days in Discount must be less than of Due days"),
|
|
167
|
+
path: ["term_2", "number_of_days"]
|
|
168
|
+
}).refine((r) => r.term_2?.number_of_days && r.term_1?.number_of_days ? r.term_2.number_of_days > r.term_1.number_of_days : !0, {
|
|
169
|
+
message: e._("The number of days in Discount 2 must be more than the number of Discount 1 days"),
|
|
170
|
+
path: ["term_2", "number_of_days"]
|
|
171
|
+
}).refine((r) => {
|
|
172
|
+
if (r.term_1) {
|
|
173
|
+
const i = r.term_1.number_of_days !== null, n = r.term_1.discount !== null;
|
|
174
|
+
return i === n;
|
|
175
|
+
}
|
|
176
|
+
return !0;
|
|
177
|
+
}, {
|
|
178
|
+
message: e._("To add a discount you need to fill out all the fields"),
|
|
179
|
+
path: ["term_1", "number_of_days"]
|
|
180
|
+
}).refine((r) => {
|
|
181
|
+
if (r.term_2) {
|
|
182
|
+
const i = r.term_2.number_of_days !== null, n = r.term_2.discount !== null;
|
|
183
|
+
return i === n;
|
|
184
|
+
}
|
|
185
|
+
return !0;
|
|
186
|
+
}, {
|
|
187
|
+
message: e._("To add a discount you need to fill out all the fields"),
|
|
188
|
+
path: ["term_2", "number_of_days"]
|
|
189
|
+
}), m = () => t.object({
|
|
190
|
+
bcc: t.array(t.string()).optional(),
|
|
191
|
+
cc: t.array(t.string()).optional(),
|
|
192
|
+
to: t.array(t.string()).optional()
|
|
193
|
+
}).optional(), a = (e) => t.object({
|
|
194
|
+
days_before: t.int().min(1, e._("Days before must be at least 1")).max(1e4, e._("Days before must be at most 10000")),
|
|
195
|
+
subject: t.string().min(1, e._("Subject is required")),
|
|
196
|
+
body: t.string().min(1, e._("Body is required"))
|
|
197
|
+
}).optional(), y = (e) => t.object({
|
|
198
|
+
days_after: t.int().min(1, e._("Days after must be at least 1")).max(1e4, e._("Days after must be at most 10000")),
|
|
199
|
+
subject: t.string().min(1, e._("Subject is required")),
|
|
200
|
+
body: t.string().min(1, e._("Body is required"))
|
|
201
|
+
}), C = (e) => t.object({
|
|
202
|
+
name: t.string().min(1, e._("Preset Name is required")).max(255, e._("Preset Name must be 255 characters or less")),
|
|
203
|
+
recipients: m(),
|
|
204
|
+
term_1_reminder: a(e),
|
|
205
|
+
term_2_reminder: a(e),
|
|
206
|
+
term_final_reminder: a(e)
|
|
207
|
+
}), P = (e) => t.object({
|
|
208
|
+
name: t.string().min(1, e._("Preset Name is required")).max(255, e._("Preset Name must be 255 characters or less")),
|
|
209
|
+
recipients: m(),
|
|
210
|
+
terms: t.array(y(e)).min(1, e._("At least 1 reminder is required")).max(3, e._("No more than 3 reminders are allowed"))
|
|
211
|
+
});
|
|
51
212
|
export {
|
|
52
|
-
|
|
213
|
+
C as getBeforeDueDateValidationSchema,
|
|
214
|
+
c as getCreateBankAccountSchema,
|
|
215
|
+
v as getCreateInvoiceValidationSchema,
|
|
216
|
+
A as getCreateRecurrenceValidationSchema,
|
|
217
|
+
d as getCurrencyEnum,
|
|
218
|
+
S as getEmailInvoiceDetailsSchema,
|
|
219
|
+
q as getEntityBankAccountValidationSchema,
|
|
220
|
+
x as getEntityProfileValidationSchema,
|
|
221
|
+
P as getOverdueValidationSchema,
|
|
222
|
+
N as getPaymentTermsValidationSchema,
|
|
223
|
+
b as getUpdateBankAccountSchema,
|
|
224
|
+
T as getUpdateInvoiceValidationSchema,
|
|
225
|
+
D as manualPaymentRecordValidationSchema
|
|
53
226
|
};
|
|
@@ -1,12 +1,126 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsx as e, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as I } from "react";
|
|
3
|
+
import { useFormContext as S, Controller as B } from "react-hook-form";
|
|
4
|
+
import * as u from "@radix-ui/react-select";
|
|
5
|
+
import { useUserPermissions as P } from "./index138.js";
|
|
6
|
+
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
7
|
+
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
8
|
+
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
9
|
+
import "@tanstack/react-query";
|
|
10
|
+
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
11
|
+
import { Scope as p } from "../../shared/data-access/dist/lib/scopes.js";
|
|
12
|
+
import { useLingui as $ } from "@lingui/react";
|
|
13
|
+
import { Plus as F, Check as T } from "lucide-react";
|
|
14
|
+
import "react-hot-toast";
|
|
15
|
+
import "./index59.js";
|
|
16
|
+
import { useGetEntityBankAccounts as R } from "./index207.js";
|
|
17
|
+
import { useGetEmbeddedBankAccounts as V } from "./index314.js";
|
|
18
|
+
import { useGetExternalBankAccounts as z } from "./index315.js";
|
|
19
|
+
import "date-fns";
|
|
20
|
+
import "clsx";
|
|
21
|
+
import "tailwind-merge";
|
|
22
|
+
import "@radix-ui/react-dropdown-menu";
|
|
23
|
+
import { Button as v } from "./index86.js";
|
|
24
|
+
import "./index94.js";
|
|
25
|
+
import "react-dom";
|
|
26
|
+
import "@mui/x-data-grid";
|
|
27
|
+
import { Field as L, FieldContent as O, FieldLabel as j, FieldError as D } from "./index164.js";
|
|
28
|
+
import { Select as G, SelectTrigger as M, SelectValue as U, SelectContent as q, SelectItem as K } from "./index282.js";
|
|
29
|
+
const kt = ({
|
|
30
|
+
disabled: k,
|
|
31
|
+
handleOpenBankModal: s
|
|
32
|
+
}) => {
|
|
33
|
+
const {
|
|
34
|
+
i18n: i
|
|
35
|
+
} = $(), {
|
|
36
|
+
control: y,
|
|
37
|
+
setValue: x
|
|
38
|
+
} = S(), {
|
|
39
|
+
data: w
|
|
40
|
+
} = R(), c = P(), g = c.has(p.BankAccountWriteOrg), {
|
|
41
|
+
data: b
|
|
42
|
+
} = V(void 0, c.has(p.BankAccountReadOrg)), {
|
|
43
|
+
data: _
|
|
44
|
+
} = z(void 0, c.has(p.ExternalBankAccountReadOrg)), l = I(() => [...(w?.data ?? []).map((t) => ({
|
|
45
|
+
id: t.id,
|
|
46
|
+
display_name: t.display_name,
|
|
47
|
+
bank_name: t.bank_name,
|
|
48
|
+
account_number: t.account_number,
|
|
49
|
+
account_number_last4: t.account_number_last4,
|
|
50
|
+
isEditable: !0,
|
|
51
|
+
bank_account_type: "BANK_DETAILS"
|
|
52
|
+
})), ...(b?.data ?? []).filter((t) => t.status === "ACTIVE").map((t) => ({
|
|
53
|
+
id: t.id,
|
|
54
|
+
display_name: t.nickname,
|
|
55
|
+
bank_name: null,
|
|
56
|
+
account_number: t.accountNumber,
|
|
57
|
+
account_number_last4: null,
|
|
58
|
+
isEditable: !1,
|
|
59
|
+
bank_account_type: "INTERNAL"
|
|
60
|
+
})), ...(_?.data ?? []).filter((t) => t.accountStatus === "ACTIVE" && t.verificationStatus === "VERIFIED").map((t) => ({
|
|
61
|
+
id: t.id,
|
|
62
|
+
display_name: t.nickname || t.nameOnAccount,
|
|
63
|
+
bank_name: null,
|
|
64
|
+
account_number: t.accountNumber,
|
|
65
|
+
account_number_last4: null,
|
|
66
|
+
isEditable: !1,
|
|
67
|
+
bank_account_type: "EXTERNAL"
|
|
68
|
+
}))], [w, b, _]);
|
|
69
|
+
return /* @__PURE__ */ e(B, { name: "bank_account_id", control: y, render: ({
|
|
70
|
+
field: t,
|
|
71
|
+
fieldState: {
|
|
72
|
+
error: m
|
|
73
|
+
}
|
|
74
|
+
}) => {
|
|
75
|
+
const f = t.value ? l.find((a) => a.id === t.value) : void 0;
|
|
76
|
+
return /* @__PURE__ */ e(L, { children: /* @__PURE__ */ n(O, { children: [
|
|
77
|
+
/* @__PURE__ */ e(j, { htmlFor: "bank_account_id", required: !0, children: i._("Receive payments to") }),
|
|
78
|
+
/* @__PURE__ */ n("div", { className: "ttw:relative", children: [
|
|
79
|
+
/* @__PURE__ */ n(G, { ...t, disabled: k, value: t.value, onValueChange: (a) => {
|
|
80
|
+
if (a === "add_new")
|
|
81
|
+
s();
|
|
82
|
+
else {
|
|
83
|
+
t.onChange(a);
|
|
84
|
+
const r = l.find((d) => d.id === a);
|
|
85
|
+
r && x("bank_account_type", r.bank_account_type);
|
|
86
|
+
}
|
|
87
|
+
}, children: [
|
|
88
|
+
/* @__PURE__ */ e(M, { id: "bank_account_id", className: "ttw:w-full", "aria-invalid": !!m, children: /* @__PURE__ */ e(U, { placeholder: i._("Select bank account") }) }),
|
|
89
|
+
/* @__PURE__ */ n(q, { children: [
|
|
90
|
+
g && /* @__PURE__ */ n(K, { value: "add_new", className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary", children: [
|
|
91
|
+
/* @__PURE__ */ e(F, { className: "ttw:text-primary ttw:hover:text-primary ttw:font-semibold ttw:focus:text-primary" }),
|
|
92
|
+
i._("Add new bank account")
|
|
93
|
+
] }),
|
|
94
|
+
l.map(({
|
|
95
|
+
id: a,
|
|
96
|
+
display_name: r,
|
|
97
|
+
bank_name: d,
|
|
98
|
+
account_number: E,
|
|
99
|
+
account_number_last4: N,
|
|
100
|
+
isEditable: A
|
|
101
|
+
}) => {
|
|
102
|
+
const h = E?.slice(-4) ?? N, C = [r ? "|" : void 0, d, h ? `****${h}` : void 0].filter(Boolean).join(" ");
|
|
103
|
+
return /* @__PURE__ */ n(u.Item, { value: a, className: "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:select-none ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:px-2 ttw:py-1.5 ttw:text-sm ttw:outline-hidden ttw:data-disabled:pointer-events-none ttw:data-disabled:opacity-50", children: [
|
|
104
|
+
/* @__PURE__ */ e(u.ItemText, { asChild: !0, children: /* @__PURE__ */ n("span", { className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:gap-1 ttw:overflow-hidden", children: [
|
|
105
|
+
r && /* @__PURE__ */ e("span", { className: "ttw:truncate", children: r }),
|
|
106
|
+
/* @__PURE__ */ e("span", { className: "ttw:shrink-0 ttw:text-muted-foreground", children: C })
|
|
107
|
+
] }) }),
|
|
108
|
+
/* @__PURE__ */ n("span", { className: "ttw:flex ttw:shrink-0 ttw:items-center ttw:gap-1", children: [
|
|
109
|
+
A && /* @__PURE__ */ e(v, { type: "button", variant: "ghost", size: "sm", className: "ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary/10", asChild: !0, children: /* @__PURE__ */ e("span", { role: "button", tabIndex: 0, onPointerDown: (o) => o.stopPropagation(), onPointerUp: (o) => o.stopPropagation(), onClick: (o) => {
|
|
110
|
+
o.stopPropagation(), s(a);
|
|
111
|
+
}, children: i._("Edit") }) }),
|
|
112
|
+
/* @__PURE__ */ e("span", { className: "ttw:flex ttw:size-3.5 ttw:items-center ttw:justify-center", children: /* @__PURE__ */ e(u.ItemIndicator, { children: /* @__PURE__ */ e(T, { className: "ttw:size-4" }) }) })
|
|
113
|
+
] })
|
|
114
|
+
] }, a);
|
|
115
|
+
})
|
|
116
|
+
] })
|
|
117
|
+
] }),
|
|
118
|
+
f?.isEditable && /* @__PURE__ */ e("div", { className: "ttw:pointer-events-none ttw:absolute ttw:inset-y-0 ttw:right-8 ttw:flex ttw:items-center ttw:gap-1", children: /* @__PURE__ */ e(v, { type: "button", variant: "ghost", size: "sm", className: "ttw:pointer-events-auto ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary/10", onPointerDown: (a) => a.stopPropagation(), onClick: () => s(f.id), children: i._("Edit") }) })
|
|
119
|
+
] }),
|
|
120
|
+
/* @__PURE__ */ e(D, { errors: m ? [m] : [] })
|
|
121
|
+
] }) });
|
|
122
|
+
} });
|
|
123
|
+
};
|
|
7
124
|
export {
|
|
8
|
-
|
|
9
|
-
m as getRateValueForDisplay,
|
|
10
|
-
e as rateMajorToMinor,
|
|
11
|
-
t as rateMinorToMajor
|
|
125
|
+
kt as BankAccountSection
|
|
12
126
|
};
|
|
@@ -1,7 +1,37 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsx as r, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { BeforeDueDateReminderForm as p } from "./index316.js";
|
|
3
|
+
import { OverdueReminderForm as a } from "./index317.js";
|
|
4
|
+
import { useLingui as s } from "@lingui/react";
|
|
5
|
+
import { TriangleAlert as l } from "lucide-react";
|
|
6
|
+
import { Alert as c, AlertDescription as f } from "./index163.js";
|
|
7
|
+
import { Sheet as h, SheetContent as v } from "./index143.js";
|
|
8
|
+
const x = ({
|
|
9
|
+
reminderType: e,
|
|
10
|
+
open: t,
|
|
11
|
+
onCreate: i,
|
|
12
|
+
onClose: o
|
|
13
|
+
}) => {
|
|
14
|
+
const {
|
|
15
|
+
i18n: m
|
|
16
|
+
} = s();
|
|
17
|
+
return /* @__PURE__ */ r(h, { open: t, onOpenChange: () => o(), children: /* @__PURE__ */ d(v, { className: "ttw:overflow-y-auto ttw:p-0 ttw:gap-0", children: [
|
|
18
|
+
t && !e && /* @__PURE__ */ r(c, { variant: "error", icon: /* @__PURE__ */ r(l, {}), children: /* @__PURE__ */ r(f, { children: m._("Invoice Reminder type is not provided") }) }),
|
|
19
|
+
e === "payment" && /* @__PURE__ */ r(p, { onClose: o, onCreate: (n) => {
|
|
20
|
+
if (!e) throw new Error("Reminder type is not provided");
|
|
21
|
+
o(), i?.({
|
|
22
|
+
reminderId: n,
|
|
23
|
+
reminderType: e
|
|
24
|
+
});
|
|
25
|
+
} }),
|
|
26
|
+
e === "overdue" && /* @__PURE__ */ r(a, { onClose: o, onCreate: (n) => {
|
|
27
|
+
if (!e) throw new Error("Reminder type is not provided");
|
|
28
|
+
o(), i?.({
|
|
29
|
+
reminderId: n,
|
|
30
|
+
reminderType: e
|
|
31
|
+
});
|
|
32
|
+
} })
|
|
33
|
+
] }) });
|
|
34
|
+
};
|
|
5
35
|
export {
|
|
6
|
-
|
|
36
|
+
x as CreateInvoiceReminderDialog
|
|
7
37
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a, Fragment as h } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useCounterpartById as Nt } from "./index72.js";
|
|
3
|
-
import { Sheet as V, SheetContent as W, SheetHeader as xt, SheetTitle as Ct, SheetDescription as St, SheetClose as Dt } from "./
|
|
4
|
-
import { LoadingSpinner as Tt } from "./
|
|
3
|
+
import { Sheet as V, SheetContent as W, SheetHeader as xt, SheetTitle as Ct, SheetDescription as St, SheetClose as Dt } from "./index143.js";
|
|
4
|
+
import { LoadingSpinner as Tt } from "./index144.js";
|
|
5
5
|
import { useLingui as At } from "@lingui/react";
|
|
6
6
|
import { getCounterpartName as S } from "./index7.js";
|
|
7
|
-
import { Skeleton as c } from "./
|
|
7
|
+
import { Skeleton as c } from "./index145.js";
|
|
8
8
|
import { useMoniteContext as $t } from "./index59.js";
|
|
9
|
-
import { DropdownMenu as It, DropdownMenuTrigger as Lt, DropdownMenuContent as Bt, DropdownMenuItem as kt } from "./
|
|
9
|
+
import { DropdownMenu as It, DropdownMenuTrigger as Lt, DropdownMenuContent as Bt, DropdownMenuItem as kt } from "./index146.js";
|
|
10
10
|
import { Button as f } from "./index86.js";
|
|
11
11
|
import { MoreVerticalIcon as jt, Trash2 as Mt, X as Rt, EyeOff as Ut, Eye as Et } from "lucide-react";
|
|
12
|
-
import { DeleteCounterpartModal as Pt } from "./
|
|
12
|
+
import { DeleteCounterpartModal as Pt } from "./index147.js";
|
|
13
13
|
import { useState as D, useCallback as Ot, Fragment as zt } from "react";
|
|
14
14
|
import { Typography as i } from "./index87.js";
|
|
15
15
|
import { useCurrencies as Ft } from "./index60.js";
|
|
16
|
-
import { Separator as Vt } from "./
|
|
17
|
-
import { CounterpartContactDetailLine as m } from "./
|
|
16
|
+
import { Separator as Vt } from "./index148.js";
|
|
17
|
+
import { CounterpartContactDetailLine as m } from "./index149.js";
|
|
18
18
|
import "react-hot-toast";
|
|
19
19
|
import "date-fns";
|
|
20
|
-
import { useDeleteCounterpartBank as Wt } from "./
|
|
21
|
-
import { useCounterpartAddressesById as Gt } from "./
|
|
22
|
-
import { useGetCounterpartPayables as Ht } from "./
|
|
23
|
-
import { EditCounterpart as qt } from "./
|
|
24
|
-
import { useUserPermissions as Jt } from "./
|
|
20
|
+
import { useDeleteCounterpartBank as Wt } from "./index150.js";
|
|
21
|
+
import { useCounterpartAddressesById as Gt } from "./index151.js";
|
|
22
|
+
import { useGetCounterpartPayables as Ht } from "./index152.js";
|
|
23
|
+
import { EditCounterpart as qt } from "./index153.js";
|
|
24
|
+
import { useUserPermissions as Jt } from "./index138.js";
|
|
25
25
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
26
26
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
27
27
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -29,20 +29,20 @@ import "@tanstack/react-query";
|
|
|
29
29
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
30
30
|
import { Scope as G } from "../../shared/data-access/dist/lib/scopes.js";
|
|
31
31
|
import { useGetPayablesAnalytics as T } from "./index35.js";
|
|
32
|
-
import { useGetReceivables as Kt } from "./
|
|
33
|
-
import { useGetReceivablesAnalytics as H } from "./
|
|
32
|
+
import { useGetReceivables as Kt } from "./index154.js";
|
|
33
|
+
import { useGetReceivablesAnalytics as H } from "./index155.js";
|
|
34
34
|
import "./index94.js";
|
|
35
35
|
import "react-dom";
|
|
36
36
|
import "@mui/x-data-grid";
|
|
37
37
|
import "react-hook-form";
|
|
38
|
-
import { PayableStatusChip as q } from "./
|
|
39
|
-
import { CounterpartBankSection as Qt } from "./
|
|
40
|
-
import { useCounterpartsBankAccountsList as Xt } from "./
|
|
38
|
+
import { PayableStatusChip as q } from "./index156.js";
|
|
39
|
+
import { CounterpartBankSection as Qt } from "./index157.js";
|
|
40
|
+
import { useCounterpartsBankAccountsList as Xt } from "./index158.js";
|
|
41
41
|
import { MoniteScopedProviders as Yt } from "./index85.js";
|
|
42
42
|
import { InvoiceStatusChip as Zt } from "./index57.js";
|
|
43
|
-
import { CounterpartAddressSection as te } from "./
|
|
44
|
-
import { NotFound as ee } from "./
|
|
45
|
-
import { isBillOverdue as ae } from "./
|
|
43
|
+
import { CounterpartAddressSection as te } from "./index159.js";
|
|
44
|
+
import { NotFound as ee } from "./index160.js";
|
|
45
|
+
import { isBillOverdue as ae } from "./index161.js";
|
|
46
46
|
const Ke = (d) => /* @__PURE__ */ t(Yt, { children: /* @__PURE__ */ t(re, { ...d }) }), re = ({
|
|
47
47
|
counterpartId: d,
|
|
48
48
|
customerType: u,
|
|
@@ -1,58 +1,61 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
variant: "default"
|
|
19
|
-
}
|
|
20
|
-
}), b = ({
|
|
21
|
-
className: r,
|
|
22
|
-
variant: a,
|
|
23
|
-
icon: t,
|
|
24
|
-
children: w,
|
|
25
|
-
ref: n,
|
|
26
|
-
onClose: s,
|
|
27
|
-
...i
|
|
1
|
+
import { jsxs as g, jsx as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { CreateCounterpartDialog as h } from "./index162.js";
|
|
3
|
+
import { CounterpartSelector as b } from "./index318.js";
|
|
4
|
+
import "./index59.js";
|
|
5
|
+
import "@tanstack/react-query";
|
|
6
|
+
import { useCounterpartAddresses as w } from "./index74.js";
|
|
7
|
+
import "date-fns";
|
|
8
|
+
import { useRef as x, useState as m, useEffect as E } from "react";
|
|
9
|
+
import "react-hot-toast";
|
|
10
|
+
import "@lingui/react";
|
|
11
|
+
import { useFormContext as O } from "react-hook-form";
|
|
12
|
+
import { CounterpartDetails as A } from "./index2.js";
|
|
13
|
+
const R = ({
|
|
14
|
+
disabled: c,
|
|
15
|
+
isEditCustomerOpen: i,
|
|
16
|
+
handleOpenEditCustomer: C,
|
|
17
|
+
counterpart: t
|
|
28
18
|
}) => {
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}), r),
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
19
|
+
const {
|
|
20
|
+
watch: p,
|
|
21
|
+
setValue: d
|
|
22
|
+
} = O(), r = x(""), a = p("default_billing_address_id"), o = p("default_shipping_address_id"), {
|
|
23
|
+
data: s
|
|
24
|
+
} = w(t?.id), [u, f] = m(!1), [_, n] = m(!1);
|
|
25
|
+
return E(() => {
|
|
26
|
+
if (s?.data?.length) {
|
|
27
|
+
if (!a) {
|
|
28
|
+
r.current = t?.id;
|
|
29
|
+
const e = t?.default_billing_address_id || (s.data.length === 1 ? s.data[0].id : "");
|
|
30
|
+
d("default_billing_address_id", e);
|
|
31
|
+
}
|
|
32
|
+
if (!o) {
|
|
33
|
+
const e = t?.default_shipping_address_id || "";
|
|
34
|
+
d("default_shipping_address_id", e);
|
|
35
|
+
}
|
|
36
|
+
if (a && r.current !== t?.id) {
|
|
37
|
+
r.current = t?.id;
|
|
38
|
+
const e = t?.default_billing_address_id || (s.data.length === 1 ? s.data[0].id : "");
|
|
39
|
+
d("default_billing_address_id", e);
|
|
40
|
+
}
|
|
41
|
+
if (o && r.current !== t?.id) {
|
|
42
|
+
r.current = t?.id;
|
|
43
|
+
const e = t?.default_shipping_address_id || "";
|
|
44
|
+
d("default_shipping_address_id", e);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}, [s, d, t, a, o]), /* @__PURE__ */ g("div", { className: "ttw:w-full", children: [
|
|
48
|
+
/* @__PURE__ */ l(b, { setIsCreateCounterpartOpened: n, setIsViewCounterpartOpened: (e) => f(e), disabled: c, counterpartAddresses: s }),
|
|
49
|
+
_ && /* @__PURE__ */ l(h, { open: _, onClose: () => {
|
|
50
|
+
n(!1);
|
|
51
|
+
}, onCreate: (e) => {
|
|
52
|
+
n(!1), d("counterpart_id", e);
|
|
53
|
+
}, customerType: "customer" }),
|
|
54
|
+
(i || u) && /* @__PURE__ */ l(A, { counterpartId: t?.id || "", open: i || u, onClose: () => {
|
|
55
|
+
i && C(!1), f(!1);
|
|
56
|
+
}, isEditMode: i, showActionsMenu: !1, customerType: "customer" })
|
|
38
57
|
] });
|
|
39
58
|
};
|
|
40
|
-
b.displayName = "Alert";
|
|
41
|
-
const x = ({
|
|
42
|
-
className: r,
|
|
43
|
-
ref: a,
|
|
44
|
-
...t
|
|
45
|
-
}) => /* @__PURE__ */ e("h3", { ref: a, className: l("ttw:mb-1 ttw:font-medium ttw:leading-none ttw:tracking-tight", r), ...t });
|
|
46
|
-
x.displayName = "AlertTitle";
|
|
47
|
-
const k = ({
|
|
48
|
-
className: r,
|
|
49
|
-
ref: a,
|
|
50
|
-
...t
|
|
51
|
-
}) => /* @__PURE__ */ e("p", { ref: a, className: l("ttw:text-sm ttw:[&_p]:leading-relaxed ttw:font-normal", r), ...t });
|
|
52
|
-
k.displayName = "AlertDescription";
|
|
53
59
|
export {
|
|
54
|
-
|
|
55
|
-
k as AlertDescription,
|
|
56
|
-
x as AlertTitle,
|
|
57
|
-
u as alertVariants
|
|
60
|
+
R as CustomerSection
|
|
58
61
|
};
|