@tesouro/embedded-components-react 0.2.15 → 0.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +0 -13
- 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 +13 -20
- 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 +10 -23
- 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 +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +22 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +24 -9
- 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 +1270 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +32 -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 +99 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +57 -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 +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +72 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +57 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +196 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +14 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +58 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +22 -42
- 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 +82 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +76 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +39 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +6 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +250 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +177 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +110 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +87 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +105 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +105 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +52 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +61 -194
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +88 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +74 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +48 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +6 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +37 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +109 -245
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +68 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +185 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +29 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +117 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +54 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +18 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +27 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +16 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +13 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +12 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +19 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +4 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +5 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +8 -236
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +47 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +19 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +19 -56
- 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 +17 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +92 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +12 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +24 -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 +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +119 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +46 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +10 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +41 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +10 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +150 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +52 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +70 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +3 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +20 -10
- 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 +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +117 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +62 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +12 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +96 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +98 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +17 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +13 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +13 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +101 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +25 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +5 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +214 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +10 -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 +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +2 -2
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +41 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +344 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +301 -42
- 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 +99 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +159 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +262 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +23 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +18 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +2 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +92 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +96 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +192 -63
- 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 +50 -42
- 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 +124 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +44 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +72 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +39 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +44 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +39 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +31 -41
- 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 +6 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +96 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +21 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +32 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +54 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +17 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +26 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +37 -21
- 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 +52 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +93 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +45 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +39 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +17 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +59 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +12 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +92 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +121 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +36 -134
- 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 +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +10 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +38 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +41 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +12 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +17 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +28 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +38 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +61 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +93 -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 +109 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +85 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +159 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +27 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +78 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +61 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +44 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +23 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +182 -97
- 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 +106 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +80 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +287 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +47 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +83 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +219 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +149 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +46 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +48 -96
- 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 +107 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +10 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +19 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +14 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +79 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +75 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +41 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +24 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +21 -13
- 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 +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +17 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +170 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +132 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +161 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +11 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +17 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +61 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +67 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +56 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +6 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +9 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +61 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +21 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +61 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +18 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +39 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +42 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +62 -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 +29 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +113 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +22 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +51 -339
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +61 -297
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +22 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +51 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +26 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +58 -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/index370.js +20 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +482 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +159 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +11 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +255 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +30 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +126 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +96 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +38 -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 +33 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +31 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +19 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +23 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +72 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +96 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +35 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +11 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +100 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +105 -40
- 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 +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +8 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +33 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +59 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +22 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +50 -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 +153 -177
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +64 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +53 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +30 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +33 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +5 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +71 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +67 -13
- 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 +36 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +11 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +85 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +22 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +28 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +23 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +38 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +115 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +18 -105
- 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 +16 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +16 -5
- 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 +72 -32
- 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 +16 -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 +11 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +68 -38
- 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 +42 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +17 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +43 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +34 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +15 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +18 -37
- 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 +48 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +47 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +57 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +29 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +92 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +14 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +74 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +21 -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 +9 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +54 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +69 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +21 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +67 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +38 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +71 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +83 -13
- 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 +54 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +50 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +29 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +34 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +44 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +52 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +17 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +83 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +39 -33
- 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 +11 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +67 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +37 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +46 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +19 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +50 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +52 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +41 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +8 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +16 -16
- 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/data-access/dist/lib/scopes.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +25 -25
- package/package.json +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +0 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +0 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +0 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +0 -10
|
@@ -1,50 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
disabled: d,
|
|
8
|
-
visibleFields: f
|
|
1
|
+
import { useMoniteContext as o } from "./index59.js";
|
|
2
|
+
const a = ({
|
|
3
|
+
counterpart_billing_address_id: e,
|
|
4
|
+
counterpart_country: r,
|
|
5
|
+
counterpart_id: t,
|
|
6
|
+
counterpart_type: n
|
|
9
7
|
}) => {
|
|
10
8
|
const {
|
|
11
|
-
|
|
12
|
-
} =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
/* @__PURE__ */ e(h, { ...r, id: r.name, disabled: d, placeholder: o._("Dear client, as discussed, please find attached our invoice:"), className: "ttw:h-20 ttw:resize-none", "aria-invalid": !!i }),
|
|
24
|
-
/* @__PURE__ */ e(c, { errors: i ? [i] : [] })
|
|
25
|
-
] }) }) }),
|
|
26
|
-
f?.isFooterShown && /* @__PURE__ */ e(n, { name: "footer", control: l, render: ({
|
|
27
|
-
field: r,
|
|
28
|
-
fieldState: {
|
|
29
|
-
error: i
|
|
30
|
-
}
|
|
31
|
-
}) => /* @__PURE__ */ e(a, { children: /* @__PURE__ */ t(s, { children: [
|
|
32
|
-
/* @__PURE__ */ e(m, { htmlFor: r.name, children: o._("Note to customer") }),
|
|
33
|
-
/* @__PURE__ */ e(h, { ...r, id: r.name, disabled: d, placeholder: o._("Add a note to be displayed below the line items"), className: "ttw:h-20 ttw:resize-none", "aria-invalid": !!i }),
|
|
34
|
-
/* @__PURE__ */ e(c, { errors: i ? [i] : [] })
|
|
35
|
-
] }) }) }),
|
|
36
|
-
f?.isTermsAndConditionsShown && /* @__PURE__ */ e(n, { name: "terms_and_conditions", control: l, render: ({
|
|
37
|
-
field: r,
|
|
38
|
-
fieldState: {
|
|
39
|
-
error: i
|
|
40
|
-
}
|
|
41
|
-
}) => /* @__PURE__ */ e(a, { children: /* @__PURE__ */ t(s, { children: [
|
|
42
|
-
/* @__PURE__ */ e(m, { htmlFor: r.name, required: !0, children: o._("Terms and conditions") }),
|
|
43
|
-
/* @__PURE__ */ e(h, { ...r, id: r.name, disabled: d, placeholder: o._("Add text"), className: "ttw:h-20 ttw:resize-none", "aria-invalid": !!i }),
|
|
44
|
-
/* @__PURE__ */ e(c, { errors: i ? [i] : [] })
|
|
45
|
-
] }) }) })
|
|
46
|
-
] });
|
|
9
|
+
api: i
|
|
10
|
+
} = o();
|
|
11
|
+
return i.finops.getReceivablesRequiredFields.useQuery({
|
|
12
|
+
query: {
|
|
13
|
+
counterpart_billing_address_id: e,
|
|
14
|
+
counterpart_country: r,
|
|
15
|
+
counterpart_id: t,
|
|
16
|
+
counterpart_type: n
|
|
17
|
+
}
|
|
18
|
+
}, {
|
|
19
|
+
enabled: !!e && !!t
|
|
20
|
+
});
|
|
47
21
|
};
|
|
48
22
|
export {
|
|
49
|
-
|
|
23
|
+
a as useGetInvoiceRequiredFields
|
|
50
24
|
};
|
|
@@ -1,120 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { InvoiceItemRow as k } from "./index348.js";
|
|
4
|
-
import { InvoiceTotals as B } from "./index349.js";
|
|
5
|
-
import { CUSTOM_ID as O } from "./index350.js";
|
|
6
|
-
import { useLineItemManagement as z } from "./index351.js";
|
|
7
|
-
import { useLingui as W } from "@lingui/react";
|
|
8
|
-
import { Button as J } from "./index86.js";
|
|
9
|
-
import { Field as Q, FieldContent as Y, FieldLabel as H } from "./index155.js";
|
|
10
|
-
import { Typography as m } from "./index87.js";
|
|
11
|
-
import { Plus as K } from "lucide-react";
|
|
12
|
-
import { useCallback as h, useEffect as X, useRef as Z } from "react";
|
|
13
|
-
import { useFormContext as tt, Controller as et } from "react-hook-form";
|
|
14
|
-
import { LoadingSpinner as it } from "./index133.js";
|
|
15
|
-
import { useGetMeasureUnits as rt } from "./index198.js";
|
|
16
|
-
import { InputGroup as at, InputGroupInput as nt, InputGroupAddon as ot } from "./index103.js";
|
|
17
|
-
import { sanitizeTaxRateInput as lt } from "./index352.js";
|
|
18
|
-
import { Separator as st } from "./index137.js";
|
|
19
|
-
const Lt = ({
|
|
20
|
-
defaultCurrency: d = "USD",
|
|
21
|
-
actualCurrency: u = d,
|
|
22
|
-
registerLineItemCleanupFn: c,
|
|
23
|
-
handleOpenCreateProductDialog: I
|
|
24
|
-
}) => {
|
|
25
|
-
const {
|
|
26
|
-
i18n: a
|
|
27
|
-
} = W(), {
|
|
28
|
-
control: _,
|
|
29
|
-
formState: g,
|
|
30
|
-
getValues: w,
|
|
31
|
-
watch: $,
|
|
32
|
-
trigger: v
|
|
33
|
-
} = tt(), N = $("tax_mode") === "inclusive", {
|
|
34
|
-
data: b,
|
|
35
|
-
isLoading: L
|
|
36
|
-
} = rt(), {
|
|
37
|
-
fields: p,
|
|
38
|
-
subtotalPrice: P,
|
|
39
|
-
totalPrice: R,
|
|
40
|
-
totalTaxes: F,
|
|
41
|
-
lineItemErrors: T,
|
|
42
|
-
handleAddRow: U,
|
|
43
|
-
handleRemoveItem: E,
|
|
44
|
-
setValueWithValidationLocal: f,
|
|
45
|
-
cleanUpLineItemsForSubmission: x
|
|
46
|
-
} = z({
|
|
47
|
-
actualCurrency: u,
|
|
48
|
-
defaultCurrency: d,
|
|
49
|
-
isInclusivePricing: N
|
|
50
|
-
}), r = h((t, e) => {
|
|
51
|
-
f(t, e, {
|
|
52
|
-
shouldValidate: !1
|
|
53
|
-
});
|
|
54
|
-
}, [f]);
|
|
55
|
-
X(() => (c?.(x), () => c?.(null)), [c, x]);
|
|
56
|
-
const y = Z(null), {
|
|
57
|
-
generalError: S,
|
|
58
|
-
fieldErrors: A
|
|
59
|
-
} = M(T), C = h((t, e, n) => {
|
|
60
|
-
const l = e.measureUnit?.id, o = e.measureUnit?.name;
|
|
61
|
-
o && !l ? (r(`line_items.${t}.product.measure_unit_id`, ""), r(`line_items.${t}.product.measure_unit_name`, o), r(`line_items.${t}.measure_unit`, {
|
|
62
|
-
name: o,
|
|
63
|
-
id: null
|
|
64
|
-
})) : (l || n) && (r(`line_items.${t}.product.measure_unit_id`, l || n), r(`line_items.${t}.product.measure_unit_name`, void 0), r(`line_items.${t}.measure_unit`, void 0));
|
|
65
|
-
}, [r]), V = h((t, e, n) => {
|
|
66
|
-
const l = e.label ?? "";
|
|
67
|
-
if (r(`line_items.${t}.product.name`, l), e.id !== "" && e.id !== O && n) {
|
|
68
|
-
r(`line_items.${t}.product.price.value`, e.price?.value ?? 0), r(`line_items.${t}.product.price.currency`, u);
|
|
69
|
-
const o = w(`line_items.${t}.product.measure_unit_id`);
|
|
70
|
-
C(t, e, o), r(`line_items.${t}.quantity`, e.smallestAmount ?? 1), r(`line_items.${t}.product.smallest_amount`, e.smallestAmount), r(`line_items.${t}.product.type`, "product"), r(`line_items.${t}.product.description`, e.description ?? ""), v(`line_items.${t}`);
|
|
71
|
-
}
|
|
72
|
-
}, [u, w, r, C, v]);
|
|
73
|
-
return /* @__PURE__ */ s("div", { ref: y, className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
74
|
-
/* @__PURE__ */ s("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
75
|
-
/* @__PURE__ */ i(m, { variant: "h4", children: a._("Products and services") }),
|
|
76
|
-
/* @__PURE__ */ i(m, { variant: "body2", color: "muted", className: "ttw:font-medium", children: a._("Add the products and services on this invoice. You'll have the option to save new items to your inventory.") })
|
|
77
|
-
] }),
|
|
78
|
-
/* @__PURE__ */ i(q, { generalError: g?.errors?.line_items?.root?.message ?? S, fieldErrors: A }),
|
|
79
|
-
/* @__PURE__ */ s("ul", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
80
|
-
/* @__PURE__ */ s("li", { className: "ttw:flex ttw:items-center ttw:gap-2.5 ttw:h-5", children: [
|
|
81
|
-
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:min-w-30 ttw:whitespace-nowrap ttw:inline-flex ttw:flex-1", children: a._("Item name") }),
|
|
82
|
-
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:w-24 ttw:min-w-24", children: a._("Quantity") }),
|
|
83
|
-
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:w-20.5 ttw:min-w-20.5", children: a._("Units") }),
|
|
84
|
-
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:max-w-41 ttw:w-full ttw:min-w-29", children: a._("Price") }),
|
|
85
|
-
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:w-12 ttw:min-w-12", children: a._("Taxable") }),
|
|
86
|
-
p.length > 1 && /* @__PURE__ */ i("div", { className: "ttw:w-10 ttw:min-w-10" })
|
|
87
|
-
] }),
|
|
88
|
-
L ? /* @__PURE__ */ i("li", { className: "ttw:flex ttw:items-center ttw:justify-center ttw:h-9", children: /* @__PURE__ */ i(it, { className: "ttw:w-5 ttw:h-5" }) }) : p.map((t, e) => {
|
|
89
|
-
const n = (o) => w(`line_items.${e}.${o}`), l = (o, j, D) => {
|
|
90
|
-
const G = `line_items.${e}.${o}`;
|
|
91
|
-
f(G, j, D);
|
|
92
|
-
};
|
|
93
|
-
return /* @__PURE__ */ i(k, { field: t, index: e, control: _, errors: g.errors, actualCurrency: u, defaultCurrency: d, measureUnitsData: b, onRequestLineItemValue: n, onLineItemValueChange: l, onRequestOpenCreateProductDialog: I, canRemove: p.length > 1, onUpdateItem: V, onRemoveItem: E, container: y }, t.id);
|
|
94
|
-
})
|
|
95
|
-
] }),
|
|
96
|
-
/* @__PURE__ */ s(J, { type: "button", variant: "ghost", onClick: U, className: "ttw:text-primary ttw:hover:text-primary ttw:w-fit", children: [
|
|
97
|
-
/* @__PURE__ */ i(K, { className: "ttw:size-5 ttw:text-primary" }),
|
|
98
|
-
a._("Add item")
|
|
99
|
-
] }),
|
|
100
|
-
/* @__PURE__ */ i(et, { name: "tax_rate", control: _, render: ({
|
|
101
|
-
field: t
|
|
102
|
-
}) => /* @__PURE__ */ i(Q, { children: /* @__PURE__ */ s(Y, { className: "ttw:flex-row ttw:justify-end", children: [
|
|
103
|
-
/* @__PURE__ */ i(H, { htmlFor: t.name, children: a._("Tax rate") }),
|
|
104
|
-
/* @__PURE__ */ s(at, { className: "ttw:w-28 ttw:has-[>[data-align=inline-end]]:[&>input]:pr-0", children: [
|
|
105
|
-
/* @__PURE__ */ i(nt, { ...t, value: t.value ?? "", id: t.name, className: "ttw:text-right", placeholder: a._("e.g. 6.25"), type: "text", inputMode: "decimal", onChange: (e) => {
|
|
106
|
-
t.onChange(lt(e.target.value));
|
|
107
|
-
}, onBlur: (e) => {
|
|
108
|
-
const n = e.target.value;
|
|
109
|
-
t.onChange(n.endsWith(".") ? n.slice(0, -1) : n), t.onBlur();
|
|
110
|
-
} }),
|
|
111
|
-
/* @__PURE__ */ i(ot, { align: "inline-end", children: "%" })
|
|
112
|
-
] })
|
|
113
|
-
] }) }) }),
|
|
114
|
-
/* @__PURE__ */ i(st, {}),
|
|
115
|
-
/* @__PURE__ */ i(B, { subtotalPrice: P, totalTaxes: F, totalPrice: R, actualCurrency: u, defaultCurrency: d })
|
|
116
|
-
] });
|
|
117
|
-
};
|
|
1
|
+
import { toMinorUnits as r, fromMinorUnits as a } from "./index124.js";
|
|
2
|
+
const s = (o) => a(o), t = (o) => r(o);
|
|
118
3
|
export {
|
|
119
|
-
|
|
4
|
+
t as rateMajorToMinor,
|
|
5
|
+
s as rateMinorToMajor
|
|
120
6
|
};
|
|
@@ -1,72 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { cn as e } from "./index102.js";
|
|
6
|
-
import { useRef as n } from "react";
|
|
7
|
-
import { useGetMeasureUnits as h } from "./index198.js";
|
|
8
|
-
const I = ({
|
|
9
|
-
address: i,
|
|
10
|
-
counterpart: s,
|
|
11
|
-
currency: o,
|
|
12
|
-
invoiceData: w,
|
|
13
|
-
entityData: m,
|
|
14
|
-
paymentTerms: l
|
|
15
|
-
}) => {
|
|
16
|
-
const r = n(null), a = n(null), {
|
|
17
|
-
data: c
|
|
18
|
-
} = h(), f = p(r, a, {
|
|
19
|
-
containerPadding: 96,
|
|
20
|
-
minScale: 1,
|
|
21
|
-
initialDelay: 100,
|
|
22
|
-
useAdaptiveDimensions: !0
|
|
23
|
-
// Enable DPI-aware A4 dimensions
|
|
24
|
-
}), u = {
|
|
25
|
-
address: i,
|
|
26
|
-
counterpart: s,
|
|
27
|
-
currency: o,
|
|
28
|
-
invoiceData: w,
|
|
29
|
-
entityData: m,
|
|
30
|
-
paymentTerms: l,
|
|
31
|
-
measureUnits: c?.data || []
|
|
32
|
-
};
|
|
33
|
-
return /* @__PURE__ */ t("div", { ref: r, className: e(
|
|
34
|
-
// Container layout
|
|
35
|
-
"ttw:flex ttw:overflow-auto ttw:relative",
|
|
36
|
-
"ttw:w-full ttw:h-full ttw:min-h-0",
|
|
37
|
-
"ttw:p-12",
|
|
38
|
-
// 48px padding
|
|
39
|
-
"ttw:bg-gradient-to-br ttw:from-slate-50 ttw:to-slate-200",
|
|
40
|
-
// Force pixel-snapping for zoom stability
|
|
41
|
-
"ttw:[transform:translateZ(0)]"
|
|
42
|
-
), style: {
|
|
43
|
-
justifyContent: "safe center",
|
|
44
|
-
alignItems: "safe center"
|
|
45
|
-
}, children: /* @__PURE__ */ t(v, { ratio: 21 / 29.7, className: e(
|
|
46
|
-
// Maximum width constraints for A4
|
|
47
|
-
"ttw:max-w-[21cm]",
|
|
48
|
-
// Minimum dimensions for proper scaling (A4: 794×1123px = 21cm × 29.7cm)
|
|
49
|
-
"ttw:min-w-[794px] ttw:min-h-[1123px]",
|
|
50
|
-
// Responsive scaling with our adaptive scale hook
|
|
51
|
-
"ttw:transition-transform ttw:duration-200 ttw:ease-in-out",
|
|
52
|
-
// Respect reduced motion preferences
|
|
53
|
-
"motion-reduce:ttw:transition-none",
|
|
54
|
-
"ttw:origin-center",
|
|
55
|
-
// Prevent unwanted shrinking and layout shifts
|
|
56
|
-
"ttw:shrink-0",
|
|
57
|
-
// CSS containment for layout stability
|
|
58
|
-
'ttw:[contain:"layout style"]'
|
|
59
|
-
), style: {
|
|
60
|
-
// Dynamic transform must stay as inline style due to variable
|
|
61
|
-
transform: `scale(${f})`
|
|
62
|
-
}, children: /* @__PURE__ */ t("div", { ref: a, className: e(
|
|
63
|
-
// Full size within aspect ratio container
|
|
64
|
-
"ttw:w-full ttw:h-full",
|
|
65
|
-
"ttw:bg-white ttw:shrink-0",
|
|
66
|
-
"ttw:shadow-md",
|
|
67
|
-
"ttw:overflow-hidden"
|
|
68
|
-
), children: /* @__PURE__ */ t(d, { ...u }) }) }) });
|
|
69
|
-
};
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { CenteredContentBox as r } from "./index242.js";
|
|
3
|
+
import { LoadingSpinner as n } from "./index169.js";
|
|
4
|
+
const m = () => /* @__PURE__ */ o(r, { children: /* @__PURE__ */ o(n, {}) });
|
|
70
5
|
export {
|
|
71
|
-
|
|
6
|
+
m as LoadingPage
|
|
72
7
|
};
|
|
@@ -1,238 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
}), l = (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(), f = (e, r) => r ? l(e) : _(e), q = (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(m).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
|
-
}), x = (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((a) => c(a) <= 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
|
-
}), k = (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: u(),
|
|
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
|
-
}, i = (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
|
-
purchase_order: t.string().optional(),
|
|
117
|
-
terms_and_conditions: t.string().optional(),
|
|
118
|
-
default_billing_address_id: t.string().optional(),
|
|
119
|
-
default_shipping_address_id: t.string().optional(),
|
|
120
|
-
tax_rate: t.string().optional(),
|
|
121
|
-
memo: t.string().optional(),
|
|
122
|
-
payment_terms_id: t.string().min(1, e._("Payment terms is a required field")),
|
|
123
|
-
payment_terms_custom_date: t.date().nullable().optional(),
|
|
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
|
-
}), S = (e, r) => i(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
|
-
...n().shape
|
|
134
|
-
}).superRefine((a, s) => o(a, s, e)), I = (e) => i(e).extend({
|
|
135
|
-
bank_account_id: t.string().optional(),
|
|
136
|
-
// The edit form renders no payment-term picker — terms are fixed at
|
|
137
|
-
// creation and echoed back unchanged. Invoices created with an inline
|
|
138
|
-
// term (e.g. "Due on receipt") carry no saved `payment_terms_id`, so the
|
|
139
|
-
// base schema's `min(1)` requirement would make them fail every later
|
|
140
|
-
// edit. Relax it to optional here.
|
|
141
|
-
payment_terms_id: t.string().optional()
|
|
142
|
-
}), n = () => t.object({
|
|
143
|
-
// `once` isn't part of the API's `RecurrenceFrequency` enum ('day' |
|
|
144
|
-
// 'week' | 'month' | 'quarter' | 'year') — it represents not creating a
|
|
145
|
-
// recurrence at all. The other recurrence fields are optional here and
|
|
146
|
-
// only required (via `refineRecurrenceFields` below) when frequency
|
|
147
|
-
// isn't `once`.
|
|
148
|
-
frequency: t.enum(["once", "day", "week", "month", "quarter", "year"]),
|
|
149
|
-
recurrence_start_date: t.date().optional(),
|
|
150
|
-
recurrence_end_date: t.date().optional(),
|
|
151
|
-
// Holds the deprecated `first_day`/`last_day` values as well as a plain
|
|
152
|
-
// day-of-month string ('1'..'31') from the monthly day-of-month picker —
|
|
153
|
-
// the API's `day_of_month` enum only covers the first two.
|
|
154
|
-
recurrence_issue_mode: t.string().optional(),
|
|
155
|
-
// Day of week selected for a weekly recurrence — only one can be active
|
|
156
|
-
// at a time. Note: the Monite `CreateRecurrencePayload` has no field for
|
|
157
|
-
// this — a weekly recurrence's day is derived from `start_date` alone.
|
|
158
|
-
// This is captured for now so the selection isn't lost; how it maps to
|
|
159
|
-
// the request body still needs to be decided.
|
|
160
|
-
recurrence_days_of_week: t.enum(["mo", "tu", "we", "th", "fr", "sa", "su"]).optional(),
|
|
161
|
-
// Which mutually-exclusive end condition is active — maps to the API's
|
|
162
|
-
// `end_date` vs `max_occurrences`.
|
|
163
|
-
recurrence_end_mode: t.enum(["after", "on"]).optional(),
|
|
164
|
-
recurrence_max_occurrences: t.coerce.number().int().min(1).max(1e3).optional(),
|
|
165
|
-
recurrence_subject_text: t.string().optional(),
|
|
166
|
-
recurrence_body_text: t.string().optional()
|
|
167
|
-
}), o = (e, r, a) => {
|
|
168
|
-
if (!(!e.frequency || e.frequency === "once"))
|
|
169
|
-
switch (e.recurrence_start_date || r.addIssue({
|
|
170
|
-
code: "custom",
|
|
171
|
-
message: a._("Start date is required"),
|
|
172
|
-
path: ["recurrence_start_date"]
|
|
173
|
-
}), e.frequency) {
|
|
174
|
-
case "month":
|
|
175
|
-
e.recurrence_issue_mode || r.addIssue({
|
|
176
|
-
code: "custom",
|
|
177
|
-
message: a._("Day of month is required"),
|
|
178
|
-
path: ["recurrence_issue_mode"]
|
|
179
|
-
}), e.recurrence_max_occurrences || r.addIssue({
|
|
180
|
-
code: "custom",
|
|
181
|
-
message: a._("Number of months is required"),
|
|
182
|
-
path: ["recurrence_max_occurrences"]
|
|
183
|
-
});
|
|
184
|
-
break;
|
|
185
|
-
case "week":
|
|
186
|
-
e.recurrence_days_of_week || r.addIssue({
|
|
187
|
-
code: "custom",
|
|
188
|
-
message: a._("Day of week is required"),
|
|
189
|
-
path: ["recurrence_days_of_week"]
|
|
190
|
-
}), e.recurrence_max_occurrences || r.addIssue({
|
|
191
|
-
code: "custom",
|
|
192
|
-
message: a._("Number of weeks is required"),
|
|
193
|
-
path: ["recurrence_max_occurrences"]
|
|
194
|
-
});
|
|
195
|
-
break;
|
|
196
|
-
case "quarter":
|
|
197
|
-
e.recurrence_max_occurrences || r.addIssue({
|
|
198
|
-
code: "custom",
|
|
199
|
-
message: a._("Number of quarters is required"),
|
|
200
|
-
path: ["recurrence_max_occurrences"]
|
|
201
|
-
});
|
|
202
|
-
break;
|
|
203
|
-
case "year":
|
|
204
|
-
e.recurrence_max_occurrences || r.addIssue({
|
|
205
|
-
code: "custom",
|
|
206
|
-
message: a._("Number of years is required"),
|
|
207
|
-
path: ["recurrence_max_occurrences"]
|
|
208
|
-
});
|
|
209
|
-
break;
|
|
210
|
-
case "day":
|
|
211
|
-
e.recurrence_end_mode ? e.recurrence_end_mode === "after" && !e.recurrence_max_occurrences ? r.addIssue({
|
|
212
|
-
code: "custom",
|
|
213
|
-
message: a._("Number of days is required"),
|
|
214
|
-
path: ["recurrence_max_occurrences"]
|
|
215
|
-
}) : e.recurrence_end_mode === "on" && !e.recurrence_end_date && r.addIssue({
|
|
216
|
-
code: "custom",
|
|
217
|
-
message: a._("End date is required"),
|
|
218
|
-
path: ["recurrence_end_date"]
|
|
219
|
-
}) : r.addIssue({
|
|
220
|
-
code: "custom",
|
|
221
|
-
message: a._("End condition is required"),
|
|
222
|
-
path: ["recurrence_end_mode"]
|
|
223
|
-
});
|
|
224
|
-
break;
|
|
225
|
-
}
|
|
226
|
-
}, A = (e) => n().superRefine((r, a) => o(r, a, e));
|
|
1
|
+
import { useMoniteContext as s } from "./index59.js";
|
|
2
|
+
const n = () => {
|
|
3
|
+
const {
|
|
4
|
+
api: e
|
|
5
|
+
} = s();
|
|
6
|
+
return e.finops.getMeasureUnits.useQuery();
|
|
7
|
+
};
|
|
227
8
|
export {
|
|
228
|
-
|
|
229
|
-
S as getCreateInvoiceValidationSchema,
|
|
230
|
-
A as getCreateRecurrenceValidationSchema,
|
|
231
|
-
u as getCurrencyEnum,
|
|
232
|
-
k as getEmailInvoiceDetailsSchema,
|
|
233
|
-
f as getEntityBankAccountValidationSchema,
|
|
234
|
-
q as getEntityProfileValidationSchema,
|
|
235
|
-
l as getUpdateBankAccountSchema,
|
|
236
|
-
I as getUpdateInvoiceValidationSchema,
|
|
237
|
-
x as manualPaymentRecordValidationSchema
|
|
9
|
+
n as useGetMeasureUnits
|
|
238
10
|
};
|
|
@@ -1,33 +1,49 @@
|
|
|
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
|
-
}
|
|
1
|
+
import { jsxs as e, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as l } from "./index87.js";
|
|
3
|
+
import { useLingui as m } from "@lingui/react";
|
|
4
|
+
import { PaymentSection as c } from "./index325.js";
|
|
5
|
+
import { useFormContext as p, Controller as w } from "react-hook-form";
|
|
6
|
+
import { Field as f, FieldContent as h, FieldLabel as u, FieldError as g } from "./index210.js";
|
|
7
|
+
import { Input as x } from "./index119.js";
|
|
8
|
+
import { RecurrenceSection as b } from "./index326.js";
|
|
9
|
+
import { RemindersSection as y } from "./index275.js";
|
|
10
|
+
const j = ({
|
|
11
|
+
paymentTerms: n,
|
|
12
|
+
disabled: a,
|
|
13
|
+
isPaymentTermsLoading: d
|
|
14
|
+
}) => {
|
|
15
|
+
const {
|
|
16
|
+
i18n: r
|
|
17
|
+
} = m(), {
|
|
18
|
+
control: s
|
|
19
|
+
} = p();
|
|
20
|
+
return /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
21
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
22
|
+
/* @__PURE__ */ t(l, { variant: "h4", children: r._("Billing details") }),
|
|
23
|
+
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:font-medium", children: r._("What are the billing terms?") })
|
|
24
|
+
] }),
|
|
25
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-6", children: [
|
|
26
|
+
/* @__PURE__ */ t(b, {}),
|
|
27
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-start ttw:gap-2.5 ttw:w-full", children: [
|
|
28
|
+
/* @__PURE__ */ t(c, { paymentTerms: n, disabled: a, isLoading: d }),
|
|
29
|
+
/* @__PURE__ */ t(w, { name: "purchase_order", control: s, render: ({
|
|
30
|
+
field: i,
|
|
31
|
+
fieldState: {
|
|
32
|
+
error: o
|
|
33
|
+
}
|
|
34
|
+
}) => /* @__PURE__ */ t(f, { children: /* @__PURE__ */ e(h, { children: [
|
|
35
|
+
/* @__PURE__ */ e(u, { htmlFor: i.name, className: "ttw:text-nowrap", children: [
|
|
36
|
+
r._("PO Number"),
|
|
37
|
+
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
38
|
+
] }),
|
|
39
|
+
/* @__PURE__ */ t(x, { ...i, id: i.name, disabled: a, "aria-invalid": !!o }),
|
|
40
|
+
/* @__PURE__ */ t(g, { errors: o ? [o] : [] })
|
|
41
|
+
] }) }) })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ t(y, { disabled: a })
|
|
44
|
+
] })
|
|
45
|
+
] });
|
|
46
|
+
};
|
|
29
47
|
export {
|
|
30
|
-
|
|
31
|
-
a as RECEIPT_DUE_PAYMENT_TERM,
|
|
32
|
-
n as buildPaymentTermsPayload
|
|
48
|
+
j as BillingSection
|
|
33
49
|
};
|